.state-illustration{display:block;flex:none;width:144px;height:144px;object-fit:contain}@media(max-width:620px)and (max-height:740px){.content-state .state-illustration,.notebook-empty .state-illustration{width:112px;height:112px}}.azai-loading-art{display:block;flex:none;width:144px;height:144px;max-width:100%}.azai-loading-art img{display:block;width:100%;height:100%;object-fit:contain}.azai-loading-art-small{width:72px;height:72px}.azai-loading-art-large{width:192px;height:192px}.azai-loading-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);text-align:center;font-size:var(--mobile-text-secondary);line-height:1.5;color:inherit}.azai-loading-indicator>span{overflow-wrap:anywhere}.azai-loading-indicator-compact{gap:var(--space-1)}@media(max-width:620px)and (max-height:740px){.azai-loading-art-regular{width:112px;height:112px}}.content-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-5);padding:var(--space-8) var(--space-4);text-align:center;color:var(--ink)}.content-state-art{flex:none;width:112px;height:96px}.content-state-copy{min-width:0;max-width:28rem}.content-state-copy h3{margin:0;font-size:var(--mobile-text-body);font-weight:550;line-height:1.5;overflow-wrap:anywhere}.content-state-copy p{margin:var(--space-2) 0 0;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:1.65;overflow-wrap:anywhere}.content-state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2)}.content-state-actions>:is(button,a){min-height:var(--touch-target);padding:var(--space-2) var(--space-4);font-size:var(--mobile-text-secondary)}.content-state-error-art{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--wash);color:var(--muted)}.content-state-compact{align-items:stretch;gap:var(--space-2);padding:var(--space-3) var(--space-4);text-align:left;border:1px solid var(--line-soft);border-radius:var(--radius-md);background:var(--wash)}.content-state-compact .content-state-actions{justify-content:flex-start}.content-state-compact .content-state-copy h3{font-size:var(--mobile-text-secondary)}.content-state-compact .content-state-actions>:is(button,a){padding-left:0}@media(max-width:620px)and (max-height:740px){.content-state-empty{gap:var(--space-3);padding-top:var(--space-6);padding-bottom:var(--space-6)}.content-state-empty .content-state-art{width:84px;height:72px}}.markdown.markdown{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:inherit}.markdown.markdown :where(p,ul,ol,blockquote,pre,table,hr){margin:0}.markdown.markdown :where(ul,ol,blockquote,pre,table,hr){margin-block:var(--space-2)}.markdown.markdown :where(p,li){font-size:inherit;line-height:inherit;white-space:normal}.markdown.markdown :where(h1,h2,h3,h4,h5,h6){margin:var(--space-4) 0 var(--space-2);font-weight:600;line-height:1.4;color:inherit;letter-spacing:normal}.markdown.markdown h1{font-size:1.4em}.markdown.markdown h2{font-size:1.25em}.markdown.markdown h3{font-size:1.12em}.markdown.markdown :where(h4,h5,h6){font-size:1em}.markdown.markdown :where(ul,ol){padding-left:1.5em;list-style-position:outside}.markdown.markdown ul{list-style-type:disc}.markdown.markdown ol{list-style-type:decimal}.markdown.markdown li{margin:0;padding:0}.markdown.markdown li>:where(ul,ol){margin-block:.2em}.markdown.markdown blockquote{display:block;margin-inline:0;border-left:3px solid var(--quote-line);padding:.15em .75em;font-size:inherit;color:inherit}.markdown.markdown blockquote strong{color:inherit;font-weight:650}.markdown.markdown a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}html[data-input-modality=keyboard] .markdown.markdown a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.markdown.markdown code,.markdown-inline code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;padding:.12em .3em;border-radius:4px;background:color-mix(in srgb,currentColor 7%,transparent);white-space:break-spaces}.markdown.markdown pre{max-width:100%;overflow:auto;overscroll-behavior-x:contain;padding:.75em;border-radius:8px;background:color-mix(in srgb,currentColor 6%,transparent);white-space:pre}.markdown.markdown pre code{display:block;width:max-content;min-width:100%;padding:0;background:none;white-space:pre;overflow-wrap:normal}.markdown-table-scroll{min-width:0;touch-action:pan-x pan-y pinch-zoom;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin-block:.65em}.markdown.markdown table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.9em;margin:0}.markdown.markdown :where(th,td){border:1px solid var(--line-soft);padding:.4em .65em;text-align:start;min-width:5em;max-width:20em}.markdown.markdown th{font-weight:650;background:color-mix(in srgb,currentColor 5%,transparent)}.markdown.markdown .task-list-item{list-style-type:none}.markdown.markdown .task-list-item input{display:inline-block;width:.95em;height:.95em;min-height:0;margin:0 .45em 0 -1.4em;padding:0;vertical-align:baseline;accent-color:var(--accent)}.markdown.markdown hr{border:0;border-top:1px solid var(--line-soft)}.markdown.markdown>:first-child,.markdown.markdown blockquote>:first-child{margin-top:0}.markdown.markdown>:last-child,.markdown.markdown blockquote>:last-child{margin-bottom:0}.markdown-inline{overflow-wrap:anywhere;white-space:normal}.markdown-inline code{white-space:normal}.markdown-image-label{color:inherit;opacity:.75}.app-dialog{padding:0;border:0;width:min(var(--dialog-width),calc(100% - var(--space-8)));max-height:calc(var(--visual-viewport-height, 100dvh) - var(--space-8));border-radius:var(--radius-xl);background:var(--paper);color:var(--ink);box-shadow:var(--shadow-lg)}.app-dialog::backdrop{background:var(--dialog-backdrop)}.app-dialog-alert{width:min(var(--dialog-alert-width),calc(100% - var(--space-8)))}.app-dialog-surface{min-width:0}.app-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);border-bottom:1px solid var(--line)}.app-dialog-heading h2{margin:0;font-size:var(--mobile-text-module);line-height:var(--mobile-leading-module);font-weight:600}.app-dialog-heading .icon-button{width:var(--touch-target);height:var(--touch-target);flex-shrink:0}.app-dialog-content{padding:var(--space-4)}.app-dialog-footer{flex:none}.app-dialog-content form{display:grid;gap:var(--space-4)}.app-dialog-content .mood-panel{padding:0}.form-sheet-fields{min-width:0;margin:0;padding:0;border:0}.dialog-description{margin:0 0 var(--space-4);color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.dialog-actions{display:flex;justify-content:flex-end;gap:var(--space-3)}.dialog-actions>button{flex:1;min-height:var(--touch-target)}.app-dialog .dialog-destructive{background:var(--danger);color:var(--on-danger)}@media(hover:hover)and (pointer:fine){.app-dialog .dialog-destructive:hover:not(:disabled){background:var(--danger)}}.app-dialog-alert .app-dialog-heading{justify-content:center;border:0;padding-bottom:0}.app-dialog-alert .dialog-description{text-align:center}html[data-layout=mobile] .app-dialog[open]{position:fixed;inset:var(--visual-viewport-offset-top, 0px) 0 auto;display:flex;align-items:flex-end;justify-content:center;width:100%;max-width:none;height:var(--visual-viewport-height, 100dvh);max-height:none;margin:0;padding:max(var(--space-3),env(safe-area-inset-top)) var(--space-2) max(var(--space-2),env(safe-area-inset-bottom));border-radius:0;box-shadow:none;background:transparent}html[data-layout=mobile] .app-dialog-surface{display:flex;flex-direction:column;width:100%;max-width:var(--dialog-width);max-height:100%;overflow:hidden;border-radius:24px;background:var(--paper);box-shadow:var(--shadow-lg)}html[data-layout=mobile] .app-dialog-heading{flex:none}html[data-layout=mobile] .app-dialog-content{min-height:0;overflow-y:auto;overscroll-behavior:contain}html[data-layout=mobile] .app-dialog-alert[open]{align-items:center}html[data-layout=mobile] .app-dialog-center[open]{align-items:center;padding-block:max(var(--space-3),env(safe-area-inset-top),env(safe-area-inset-bottom))}html[data-layout=mobile] .app-dialog-alert .app-dialog-surface{max-width:var(--dialog-alert-width)}html[data-layout=mobile] .app-dialog-content :is(.notebook-create-card,.knowledge-card.editing,.date-settings){margin:0;padding:0;border:0;background:transparent;box-shadow:none}html[data-layout=mobile] .app-dialog-content :is(.section-title,.date-settings>h2){display:none}html[data-layout=mobile] .app-dialog-content :is(.knowledge-actions,.date-form-actions){position:sticky;bottom:calc(-1 * var(--space-4));z-index:1;margin:0 calc(-1 * var(--space-4)) calc(-1 * var(--space-4));padding:var(--space-4);background:var(--paper);border-top:1px solid var(--line)}html[data-layout=mobile] .app-dialog-content .field :is(input,textarea,select){font-size:var(--mobile-text-body)}html[data-layout=mobile] .app-dialog-sheet .app-dialog-surface{transition:transform .2s ease-out}html[data-layout=mobile] .app-dialog-sheet .app-dialog-surface.is-dragging{transition:none}html[data-layout=mobile] .app-dialog-sheet :is(.app-dialog-heading,.app-dialog-grabber){touch-action:none}.app-dialog-grabber{flex:none;width:36px;height:5px;border-radius:3px;background:var(--line-strong);margin:8px auto 2px}@media(prefers-reduced-motion:reduce){html[data-layout=mobile] .app-dialog-sheet .app-dialog-surface{transition:none}}.page-dialog{position:fixed;inset:0;width:min(660px,calc(100vw - 48px));height:min(880px,calc(100dvh - 48px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);overflow:hidden;box-shadow:var(--shadow-lg)}.page-dialog[open]{display:flex;flex-direction:column}.page-dialog::backdrop{background:var(--device-shadow)}.page-dialog .editor-nav{box-sizing:border-box;flex:none;display:flex;align-items:center;justify-content:space-between;height:var(--inner-nav-height);min-height:var(--inner-nav-height);padding:0 var(--inner-nav-inset);border-bottom:1px solid var(--line-soft)}.page-dialog .editor-nav button{min-width:var(--back-target-size);min-height:var(--back-target-size);border:0;box-shadow:none}.editor-save{padding:8px 12px;border-radius:12px;color:var(--accent);background:var(--accent-soft);font-family:inherit;font-size:1rem;font-weight:600}.editor-save:disabled{color:var(--muted);background:var(--wash)}.page-dialog .editor-scroll{flex:1;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 16px max(24px,env(safe-area-inset-bottom));scroll-padding-block:24px}.editor-fields,.page-dialog fieldset{min-width:0;margin:0;padding:0;border:0}.editor-fields[hidden]{display:none}.editor-context{font-size:var(--mobile-text-title);line-height:var(--mobile-leading-title);font-weight:600;letter-spacing:-.025em;margin:0 0 16px}.page-dialog .notebook-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.page-dialog .notebook-create-card,.page-dialog .knowledge-card.editing,.page-dialog .date-settings{margin:0;padding:0;width:100%;background:transparent;border:0;box-shadow:none}.page-dialog .field{min-width:0;font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.page-dialog input,.page-dialog textarea,.page-dialog select{min-width:0;max-width:100%;color:var(--ink);font-family:inherit;font-size:1rem;background:var(--paper)}.page-dialog input:not([type=radio]):not([type=checkbox]),.page-dialog textarea,.page-dialog select{box-sizing:border-box;width:100%;min-height:44px}.page-dialog input::placeholder,.page-dialog textarea::placeholder{color:var(--muted)}.page-dialog input::-webkit-date-and-time-value{min-width:0;text-align:left}.page-dialog input::-webkit-datetime-edit{min-width:0;padding:0}.page-dialog .writing-surface textarea{min-height:240px;padding:8px 2px;border:0;border-bottom:1px solid transparent;border-radius:0;line-height:var(--mobile-leading-body);resize:vertical}.page-dialog .writing-surface input{border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:1.25rem;font-weight:550}.editor-choice-field{border:1px solid var(--line-soft);border-radius:16px;background:var(--canvas);overflow:hidden}.editor-choice-field>small{display:block;padding:0 16px 12px;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.editor-setting{display:flex;align-items:center;gap:12px;width:100%;min-height:var(--mobile-row-height);padding:12px 16px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title)}.editor-setting .setting-value{margin-left:auto;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);text-align:right;overflow-wrap:anywhere}.editor-setting>svg{flex:none;color:var(--muted)}.editor-choices{display:grid;border-top:1px solid var(--line-soft)}.editor-choices .choice-option{display:block}.page-dialog .editor-choices .choice-option span{min-height:var(--mobile-row-height);padding:12px 16px;justify-content:flex-start;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:transparent;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title)}.editor-choices .choice-option input:checked+span:after{content:"✓";margin-left:auto;color:var(--accent)}.page-dialog .date-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.page-dialog .anniversary-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;padding:16px 0;gap:12px;border-top:1px solid var(--line-soft)}.page-dialog .anniversary-edit-row>.field:first-child{grid-column:1 / -1}.page-dialog .anniversary-edit-row .date-source{grid-column:1 / -1}.page-dialog :is(p,h2,h3,label,legend,small){overflow-wrap:anywhere}.page-dialog :is(.form-error,.date-error){color:var(--danger);line-height:1.6}.page-dialog .date-settings-help{font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);color:var(--muted)}html[data-layout=mobile] .page-dialog{inset:var(--visual-viewport-offset-top, 0px) 0 auto;width:100%;height:var(--visual-viewport-height, 100dvh);margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);border:0;border-radius:0;box-shadow:none}html[data-layout=mobile] .app-shell:has(.page-dialog[open]) .bottom-nav.mobile-nav{display:none}@media(max-width:350px){.page-dialog .editor-scroll{padding-inline:16px}}.date-picker-field{position:relative;display:grid;gap:8px;min-width:0}.date-picker-label{color:var(--ink);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);font-weight:500}.date-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:var(--mobile-control-input);padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);text-align:left}.date-picker-trigger>span{min-width:0;overflow-wrap:anywhere}.date-picker-trigger>svg{flex:none;color:var(--muted)}.date-picker-trigger.is-empty{color:var(--muted)}.date-picker-field input.date-picker-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%);overflow:hidden;pointer-events:none}.app-dialog-picker{width:min(100%,440px)}.app-dialog-picker .app-dialog-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.app-dialog-picker .app-dialog-heading button{display:none}.app-dialog-picker .app-dialog-content{padding:0}.app-dialog-picker .app-dialog-surface{background:var(--paper);color:var(--ink);border-radius:18px;overflow:hidden}.date-picker-panel{width:100%;padding:0 16px max(12px,env(safe-area-inset-bottom));background:var(--paper)}.date-picker-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;gap:8px}.date-picker-toolbar strong{font-size:var(--mobile-text-nav-title);line-height:var(--mobile-leading-nav-title);font-weight:600}.date-picker-toolbar button,.date-picker-options button{min-height:44px;border:0;background:transparent;color:var(--muted);padding:0 8px;font:inherit}.date-picker-toolbar button:last-child{color:var(--accent)}.date-picker-toolbar button:disabled{opacity:.35}.date-wheels{display:flex;position:relative;margin:6px 0 12px}.date-wheels:after{content:"";pointer-events:none;position:absolute;top:88px;left:0;right:0;height:44px;border-block:1px solid var(--line-soft)}.date-wheel{flex:1;min-width:0;height:220px;overflow-y:auto;scrollbar-width:none;scroll-snap-type:y mandatory;overflow-anchor:none;overscroll-behavior:contain;touch-action:pan-y}.date-wheel::-webkit-scrollbar{display:none}.date-wheel-option{display:block;width:100%;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink);font-size:20px;font-weight:400;font-variant-numeric:tabular-nums;scroll-snap-align:center}.date-picker-summary{margin:8px 0;text-align:center;color:var(--muted);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.date-picker-options{display:flex;justify-content:space-between}@media(max-width:640px){.app-dialog-picker{margin:auto 0 0;width:100%;max-width:none}.app-dialog-picker .app-dialog-surface{border-radius:18px 18px 0 0}}html[data-layout=mobile] .app-dialog-picker[open]{padding:0}html[data-layout=mobile] .app-dialog-picker .app-dialog-surface{max-width:440px;border-radius:18px 18px 0 0;background:var(--paper)}.notebook-dates{margin:0}.date-keepsake{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:12px;margin:4px 0;align-items:stretch}.date-keepsake .date-card{min-width:0;min-height:155px;padding:0;border:0;position:relative;text-align:left;color:var(--ink);border-radius:var(--radius-md);box-shadow:0 3px 5px var(--card-shadow);background:var(--paper);overflow:visible}.date-keepsake .date-main{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.date-main .calendar-bind{flex:none;height:18px;border-radius:var(--radius-md) var(--radius-md) 0 0;background:var(--accent-soft);border-bottom:1px solid var(--line-soft);position:relative}.calendar-bind:before,.calendar-bind:after{content:"";position:absolute;top:-4px;width:4px;height:10px;border-radius:4px;background:var(--quote-line)}.calendar-bind:before{left:28px}.calendar-bind:after{right:28px}.together-inner{position:relative;padding:12px 16px 10px;width:100%;min-width:0}.date-keepsake .date-eyebrow{font-size:13px;color:var(--muted);margin:0;line-height:1.45}.together-number{display:flex;gap:7px;align-items:baseline;margin:1px 0 9px;flex-wrap:wrap}.together-number strong{font-size:48px;font-weight:550;line-height:1.12;letter-spacing:-2px;font-family:ui-rounded,-apple-system,BlinkMacSystemFont,sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.together-number.is-long-count{gap:4px}.together-number.is-long-count strong{font-size:clamp(24px,7.5vw,36px);letter-spacing:-1px}.together-number span{font-size:15px}.date-foot{padding-top:9px;border-top:1px dashed var(--line);color:var(--muted);font-size:13px;line-height:1.3;overflow-wrap:anywhere}.date-keepsake .date-next{background:var(--note-lilac);padding:16px 14px 13px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;border-radius:var(--radius-md)}.date-main .calendar-bind,.together-inner,.date-next>:not(.date-background){position:relative;z-index:1}.anniversary-top{display:flex;justify-content:space-between;gap:4px;align-items:center}.date-next h3{font-size:17px;line-height:1.45;font-weight:600;margin:6px 0;overflow-wrap:anywhere}.anniversary-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:15px;color:var(--muted)}.anniversary-bottom b{color:var(--accent);font-size:18px;font-weight:650}.anniversary-bottom svg{height:16px;width:16px;flex:none}.anniversary-same-day{font-size:13px;line-height:1.45;color:var(--muted);margin-top:6px}.date-keepsake .empty-date-title{font-size:17px;line-height:1.45;font-weight:550;margin:10px 0}.empty-date-action{font-size:15px;color:var(--accent)}.together-inner.date-unavailable{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px}.date-unavailable small{font-size:13px;color:var(--muted)}.date-background{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:0}.date-background svg{position:absolute;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.date-main .date-background{top:18px}.date-main .date-background svg{width:96px;height:102px;right:0;top:0;color:var(--accent);opacity:.15}.date-background .path-wash{stroke:var(--clay);stroke-width:19;opacity:.7}.date-background .steps{fill:currentColor;stroke:none}.date-next .date-background svg{width:100px;height:104px;right:-3px;top:43px;color:var(--accent);opacity:1;stroke-opacity:.19}.date-background .gift-wash{fill:var(--clay);stroke:none;opacity:1;fill-opacity:.28}[data-theme=dark] .date-main .date-background svg{opacity:.17}[data-theme=dark] .date-next .date-background svg{opacity:1;stroke-opacity:.16}[data-theme=dark] .date-background .path-wash{opacity:.18}[data-theme=dark] .date-background .gift-wash{fill-opacity:.08}.date-settings{padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--paper-90)}.date-settings h2{margin:0;font-size:var(--mobile-text-title);line-height:var(--mobile-leading-title)}.date-settings h3{font-size:var(--mobile-text-module);line-height:var(--mobile-leading-module)}.date-settings-help{color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.date-settings fieldset{padding:0;margin:0;border:0;min-width:0}.date-settings .field input{min-width:0;max-width:100%;box-sizing:border-box}.date-list-heading{display:flex;align-items:center;justify-content:space-between}.date-list-heading span{color:var(--muted);font-size:var(--text-sm)}.anniversary-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:14px}.anniversary-edit-row .field{margin:0;min-width:0}.anniversary-edit-row .icon-button{margin:0}.anniversary-edit-row>.field,.anniversary-date-field{grid-column:1 / -1}.anniversary-edit-row>.anniversary-remove{grid-column:2;justify-self:end}.date-form-actions{display:flex;gap:10px;margin-top:24px}.date-error{color:var(--danger)}@media(max-width:600px){.anniversary-edit-row{grid-template-columns:minmax(0,1fr) auto}.anniversary-edit-row .field:first-child{grid-column:1 / -1}.anniversary-edit-row input{width:100%}}.date-source{font-size:var(--text-sm);color:var(--muted);grid-column:1 / -1;margin:8px 0}.date-source summary{cursor:pointer}.date-source p{white-space:pre-wrap;overflow-wrap:anywhere}.date-proposal{padding:16px;margin-top:12px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg)}.date-proposal p{font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.date-proposal .date-form-actions{margin-top:12px;flex-wrap:wrap}.anniversary-date-field{min-width:0}.date-settings-details{margin-top:18px;color:var(--muted);font-size:.8125rem;line-height:1.7}.date-settings-details summary{display:list-item;min-height:44px;padding-block:10px;cursor:pointer}.date-settings-details p{margin-top:0}.date-error{font-size:var(--mobile-text-secondary);line-height:1.5}.date-error :is(.soft-button,.text-button){min-height:var(--touch-target);min-width:var(--touch-target);font-size:var(--mobile-text-secondary)}.action-sheet{position:fixed;inset:auto 0 0;width:min(440px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - env(safe-area-inset-top) - 24px);margin:auto auto 0;padding:0 0 max(12px,env(safe-area-inset-bottom));border:0;background:transparent;color:var(--ink);overflow-y:auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.action-sheet::backdrop{background:#0006}.action-sheet-group,.action-sheet-cancel{border-radius:16px;background:var(--paper)}.action-sheet-group{overflow:hidden}.action-sheet header{padding:16px;text-align:center}.action-sheet h2{margin:0;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title);font-weight:600;overflow-wrap:anywhere}.action-sheet header p{margin:4px 0 0;color:var(--muted);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.action-sheet button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:var(--mobile-row-height);padding:12px 16px;border:0;border-radius:0;color:var(--accent);background:var(--paper);font:inherit;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title)}.action-sheet-group button{border-top:1px solid var(--line-soft)}.action-sheet button.is-danger{color:var(--danger)}.action-sheet .action-sheet-cancel{margin-top:8px;border-radius:16px;font-weight:600}.action-sheet button:active{background:var(--accent-soft)}.context-actions{position:fixed;inset:auto;margin:0;padding:0;border:0;max-width:none;max-height:none;background:transparent;color:var(--ink);overflow:hidden;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.context-actions::backdrop{background:transparent}.context-actions button{border:0;font-family:inherit;cursor:pointer}:where(html[data-input-modality=keyboard]) .context-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.context-actions .field-error{color:var(--danger);font-size:.8125rem;line-height:1.6}.context-surface{position:absolute;width:252px;border-radius:16px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 30px var(--device-shadow),0 2px 8px var(--device-shadow)}.context-scroll{max-height:inherit;overflow-y:auto;overscroll-behavior:contain;border-radius:inherit}.context-heading{display:flex;align-items:center;gap:2px;padding-left:12px;min-height:44px}.context-heading .message-action-meta{flex:1;min-width:0;margin:0;color:var(--muted);font-size:.6875rem;line-height:1.5;overflow-wrap:anywhere}.context-close{display:grid;place-items:center;margin-left:auto;flex:0 0 44px;width:44px;height:44px;background:transparent;color:var(--muted);border-radius:12px}.context-message .context-surface{width:160px;border-radius:12px}.context-message .message-action-buttons{display:flex;padding:4px;gap:0}.context-message .context-action{flex:1;min-width:44px;min-height:52px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;color:var(--ink);border-radius:8px;font-size:.8125rem;line-height:18px}.context-message .context-action svg{width:18px;height:18px}.context-action:active{background:var(--wash)}@media(hover:hover)and (pointer:fine){.context-action:hover,.context-close:hover{background:var(--wash)}}.context-scroll>.field-error{padding:0 14px 12px;margin:0}.context-arrow{position:absolute;width:10px;height:10px;margin-left:-5px;background:var(--paper);transform:rotate(45deg);pointer-events:none}.context-surface[data-side=above] .context-arrow{bottom:-6px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.context-surface[data-side=below] .context-arrow{top:-6px;border-left:1px solid var(--line);border-top:1px solid var(--line)}.context-record .context-heading{height:36px;min-height:36px;margin-bottom:-4px}.context-record .context-close{height:44px}.context-record .context-action{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:50px;padding:12px 16px;background:transparent;color:var(--ink);font-size:.9375rem;text-align:left}.context-record .context-action+.context-action{border-top:1px solid var(--line-soft)}.context-record .context-action.is-danger{color:var(--danger)}.context-record .context-action:active{background:var(--wash)}@media(hover:hover)and (pointer:fine){.context-record .context-action:hover{background:var(--wash)}}@media(forced-colors:active){.context-surface{border:1px solid CanvasText}.context-arrow{display:none}}.tab-page-header{box-sizing:border-box;position:sticky;top:0;z-index:2;display:flex;flex:none;align-items:center;height:58px;min-height:58px;padding:0 16px;background:var(--paper)}.tab-page-header h1{margin:0;font-size:var(--mobile-text-title);line-height:var(--mobile-leading-title);font-weight:600}.dg-chat-card{display:block;width:min(304px,100%);box-sizing:border-box;margin:12px auto;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);text-decoration:none}.dg-chat-main{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px}.dg-chat-art{flex:0 0 76px;width:76px;height:76px;object-fit:contain}.dg-chat-copy{min-width:0}.dg-chat-status{display:block;color:var(--accent-strong);font-size:11px;line-height:1.5}.dg-chat-card strong{display:block;margin:3px 0 5px;font-size:17px;line-height:1.4}.dg-chat-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.dg-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:11px;line-height:1.5}.dg-chat-cta{display:inline-flex;align-items:center;gap:5px;color:var(--accent-strong);font-size:12px;font-weight:600}.dg-chat-card[data-status=completed] .dg-chat-status,.dg-chat-card[data-status=cancelled] .dg-chat-status{color:var(--muted)}.dg-chat-card:active{background:var(--wash)}:where(html[data-input-modality=keyboard]) .dg-chat-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.cupid-chat-card{display:block;width:min(304px,100%);box-sizing:border-box;margin:12px auto;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);text-decoration:none}.cupid-chat-main{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px}.cupid-chat-art{flex:0 0 76px;width:76px;height:76px;object-fit:contain}.cupid-chat-copy{min-width:0}.cupid-chat-status{display:block;color:var(--accent-strong);font-size:11px;line-height:1.5}.cupid-chat-card strong{display:block;margin:3px 0 5px;font-size:17px;line-height:1.4}.cupid-chat-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.cupid-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:11px;line-height:1.5}.cupid-chat-cta{display:inline-flex;align-items:center;gap:5px;color:var(--accent-strong);font-size:12px;font-weight:600}.cupid-chat-card[data-status=ended] .cupid-chat-status{color:var(--muted)}.cupid-chat-card:active{background:var(--wash)}:where(html[data-input-modality=keyboard]) .cupid-chat-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.custom-sticker-scroll{max-height:min(292px,38dvh);overflow-y:auto;overscroll-behavior:contain;padding:10px 0}.custom-sticker-panel{min-width:0}.custom-sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.custom-sticker-cell{display:flex;align-items:center;justify-content:center;width:100%;min-width:44px;min-height:44px;aspect-ratio:1;padding:6px;border:0;border-radius:12px;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.custom-sticker-cell:disabled{opacity:.5;cursor:default}:where(html[data-input-modality=keyboard]) .custom-sticker-cell:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.custom-sticker-add{border:1px dashed currentColor;opacity:.65}.custom-sticker-image{display:block;object-fit:contain;background:transparent;-webkit-user-drag:none}.custom-sticker-status{margin:12px 0 0;font-size:13px;line-height:1.5;text-align:center;opacity:.75}.custom-sticker-status p{margin:0 0 6px}.custom-sticker-status button{min-width:44px;min-height:44px}.custom-sticker-preview{width:120px;height:120px;margin:0 auto 16px}.chat-media-tools{position:relative;min-width:0}.room-chat-bar>form,.message-composer:has(.chat-media-tools){padding:12px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:0 8px 26px #4b342312}.message-composer:has(.chat-media-tools) .composer-tools{gap:6px;margin-bottom:12px;flex-wrap:wrap}.chat-media-tools .composer-row{grid-template-columns:minmax(0,1fr) repeat(3,44px);align-items:end;gap:8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.chat-media-tools .composer-row textarea{box-sizing:border-box;width:100%;min-width:0;height:44px;min-height:44px;max-height:124px;line-height:22px;overflow-y:hidden;color:var(--ink);resize:none;font-size:1rem;padding:10px 14px;border:1px solid var(--check-line);border-radius:22px;background:var(--paper);scrollbar-width:thin}.chat-media-tools .composer-row textarea:not([aria-invalid=true]):focus{border-color:var(--input-focus-border)}.chat-media-tools .composer-row textarea::placeholder{color:var(--muted)}.chat-media-action,.chat-media-tools .send-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--check-line);border-radius:50%;background:var(--wash);color:var(--ink);box-shadow:none;transition:background .15s,border-color .15s}.chat-media-action[aria-expanded=true]{border-color:var(--coral);background:var(--coral-soft);color:var(--coral-deep)}@media(hover:hover)and (pointer:fine){.chat-media-action:hover:not(:disabled){border-color:var(--coral);background:var(--coral-soft);color:var(--coral-deep)}}:where(html[data-input-modality=keyboard]) .chat-media-action:focus-visible,:where(html[data-input-modality=keyboard]) .chat-emoji-picker button:focus-visible,:where(html[data-input-modality=keyboard]) .chat-attachment-panel button:focus-visible{outline:2px solid var(--coral);outline-offset:3px}.chat-media-tools .send-button{border-color:transparent;background:var(--accent);color:var(--on-accent)}@media(hover:hover)and (pointer:fine){.chat-media-tools .send-button:hover:not(:disabled){background:var(--accent-strong)}}.chat-media-tools .send-button:disabled{opacity:1;background:var(--line);color:var(--muted)}.chat-emoji-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin-top:12px;padding:12px 0 0;border-top:1px solid var(--line);max-height:200px;overflow-y:auto;overscroll-behavior:contain}.chat-emoji-picker button{display:grid;place-items:center;padding:0;min-height:40px;border:0;border-radius:12px;background:transparent;font-size:26px}@media(hover:hover)and (pointer:fine){.chat-emoji-picker button:hover{background:var(--surface-sunken)}}.chat-attachment-panel{display:flex;gap:20px;margin-top:12px;padding:16px 8px 4px;border-top:1px solid var(--line)}.chat-attachment-panel>button{display:grid;justify-items:center;gap:8px;padding:0;border:0;background:transparent;color:var(--muted);font-size:13px}.chat-attachment-panel>button>span{display:grid;place-items:center;width:64px;height:60px;border-radius:18px;background:var(--surface-sunken);color:var(--ink)}@media(hover:hover)and (pointer:fine){.chat-attachment-panel>button:hover>span{background:var(--coral-soft)}}.chat-image-draft{display:flex;align-items:center;gap:10px;margin:4px 0 14px}.chat-image-draft img{width:auto;height:auto;max-width:100px;max-height:72px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:var(--wash)}.chat-image-draft button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}.chat-media-status,.chat-media-error{margin:10px 4px 2px;font-size:13px;color:var(--muted)}.chat-media-error{color:var(--danger)}@media(max-width:600px){.room-chat-bar>form,.message-composer:has(.chat-media-tools){padding:10px;border-radius:22px}.chat-media-tools .composer-row{gap:6px}.chat-media-tools .composer-row textarea{padding-inline:12px}.chat-emoji-picker{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}}.chat-image-button{display:grid;place-items:center;width:fit-content;min-width:44px;min-height:44px;padding:0;border:0;background:var(--wash);max-width:100%;border-radius:3px 13px 13px;overflow:hidden}.chat-image-button img:not(.azai-loading-image){display:block;width:auto;height:auto;max-width:min(230px,100%);max-height:320px;object-fit:contain}.chat-image-dialog{position:fixed;inset:var(--visual-viewport-offset-top, 0px) 0 auto;width:100%;max-width:none;height:var(--visual-viewport-height, 100dvh);max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#fff;overflow:hidden;box-sizing:border-box}.chat-image-dialog[open]{display:flex}.chat-image-dialog::backdrop{background:#000}.chat-image-dialog>button{position:absolute;top:calc(env(safe-area-inset-top) + (var(--inner-nav-height) - var(--back-target-size)) / 2);display:grid;place-items:center;width:var(--back-target-size);height:var(--back-target-size);padding:0;border:0;border-radius:50%;background:#0006;color:#fff;z-index:2}.chat-image-dialog>button[hidden]{display:none}.chat-image-dialog>.chat-image-close{left:calc(env(safe-area-inset-left) + var(--inner-nav-inset));border-radius:0;background:transparent}.chat-image-dialog>.chat-image-more{right:8px}.chat-image-surface{position:relative;flex:1;min-height:0;width:100%;display:grid;place-items:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.chat-image-surface img:not(.azai-loading-image){display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;-webkit-user-drag:none;-webkit-touch-callout:none}.chat-image-surface .chat-image-full-loading{position:absolute}:where(html[data-input-modality=keyboard]) .chat-image-dialog button:focus-visible{outline:2px solid #fff;outline-offset:2px}.chat-image-menu-layer{position:absolute;inset:0;z-index:3}.chat-image-menu-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:#0006}.chat-image-menu{position:absolute;left:8px;right:8px;bottom:0;padding:0 0 max(8px,env(safe-area-inset-bottom));color:#fff}.chat-image-menu-actions,.chat-image-menu-cancel{overflow:hidden;border-radius:14px;background:#242426}.chat-image-menu button:not(.chat-image-menu-backdrop){display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;border:0;background:transparent;color:#fff;font-size:17px}.chat-image-menu button:disabled{color:#999}.chat-image-menu>button.chat-image-menu-cancel{margin-top:8px;background:#242426;font-weight:600}.chat-image-menu p{margin:0;padding:0 20px 16px;color:#ffb5ac;font-size:14px;text-align:center}.chat-image-toast{position:absolute;z-index:4;left:50%;bottom:max(32px,env(safe-area-inset-bottom));transform:translate(-50%);max-width:calc(100% - 32px);margin:0;padding:10px 18px;border-radius:24px;color:#fff;background:#303033ed;font-size:14px;text-align:center;pointer-events:none}@media(max-width:780px){.room-chat-bar .chat-media-tools{scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom))}}.chat-image-full-state{display:grid;justify-items:center;gap:var(--space-3);max-width:100%;padding:var(--space-6) var(--space-4);color:var(--media-ink);text-align:center}.chat-image-full-state p{margin:0;font-size:var(--mobile-text-body);line-height:1.5}.chat-image-full-state p+p{font-size:var(--mobile-text-secondary)}.chat-image-full-state button{min-width:var(--touch-target);min-height:var(--touch-target);padding:var(--space-2) var(--space-4);border:1px solid currentColor;border-radius:var(--radius-sm);background:transparent;color:var(--media-ink);font-size:var(--mobile-text-secondary)}.chat-image-full-loading{margin:var(--space-4);color:var(--media-ink);font-size:var(--mobile-text-secondary);line-height:1.5}.chat-image-reload{display:grid;justify-items:center;gap:var(--space-2);max-width:230px;min-height:var(--touch-target);padding:var(--space-3);border:1px solid var(--line);border-radius:3px 13px 13px;background:var(--wash);color:var(--muted);font-size:var(--mobile-text-secondary);text-align:center}.chat-image-reload .chat-image-failure-art{width:80px;height:80px}.chat-image-full-state .chat-image-full-failure-art{width:144px;height:144px;max-width:100%}.chat-expression-panel{--expression-content-height: min(292px, 38dvh);margin-top:12px;border-top:1px solid var(--line)}.chat-expression-panel>:is(.chat-emoji-picker,.custom-sticker-scroll,.chat-sticker-grid){box-sizing:border-box;height:var(--expression-content-height);max-height:none;overflow-y:auto;overscroll-behavior:contain;align-content:start}.chat-expression-tabs{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.chat-expression-tabs>button{display:flex;align-items:center;justify-content:center;width:48px;height:44px;padding:4px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted)}.chat-expression-tabs>button[aria-selected=true]{background:var(--ai-soft);border-color:var(--accent);color:var(--ink)}.chat-expression-tabs img{width:36px;height:36px;object-fit:contain}.chat-expression-panel .chat-emoji-picker{margin-top:0;border:0}.chat-sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 6px;max-height:min(292px,38dvh);overflow-y:auto;overscroll-behavior:contain;padding:8px 0}.chat-sticker-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:80px;padding:4px;border:0;border-radius:12px;background:transparent;color:var(--muted)}.chat-sticker-grid img{display:block;width:min(100%,96px);height:auto;aspect-ratio:1;object-fit:contain}.chat-sticker-caption{font-size:11px;line-height:1.4}.chat-sticker-grid>button:disabled{opacity:.5}.chat-sticker-fallback{display:grid;place-items:center;min-height:60px;font-size:13px;color:var(--muted)}@media(hover:hover)and (pointer:fine){.chat-sticker-grid>button:hover:not(:disabled){background:var(--surface-sunken)}}:where(html[data-input-modality=keyboard]) .chat-expression-panel button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.chat-management-page,.management-name-editor{--management-canvas: #f1eff6;--management-line: #e3dfeb;background:var(--paper)}.chat-management-page .editor-scroll,.management-name-editor .editor-scroll{background:var(--management-canvas)}[data-theme=dark] :is(.chat-management-page,.management-name-editor){--management-canvas: var(--canvas);--management-line: var(--line)}.page-dialog.chat-management-page .editor-nav{justify-content:flex-start;gap:4px;min-height:55px;padding:5px 8px;background:var(--paper);border-color:var(--management-line)}.chat-management-page .editor-header-title{margin:0;font-size:17px;line-height:24px;font-weight:600}.page-dialog.chat-management-page .editor-scroll{padding:16px 14px max(28px,env(safe-area-inset-bottom))}.chat-management{display:grid;gap:14px}.management-card{overflow:hidden;min-width:0;border:1px solid var(--management-line);border-radius:14px;background:var(--paper)}.management-members{display:flex;gap:16px;padding:16px 14px}.management-member{display:flex;flex-direction:column;align-items:center;gap:8px;width:60px;min-width:0}.management-member strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:var(--muted);font-size:12px;line-height:18px;font-weight:400}.management-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid var(--management-line);border-radius:50%;overflow:hidden;font-size:17px}.management-avatar.avatar-ai{border-radius:14px}.management-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover}.management-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:13px 15px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:16px;line-height:24px}.management-row+.management-row,.management-switch{border-top:1px solid var(--management-line)}.management-row>span:first-child{flex:none}.management-row-value{margin-left:auto;min-width:0;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:15px}.management-row>svg{flex:none;color:var(--muted)}.management-row:active{background:var(--wash)}.management-row:disabled{opacity:.6;cursor:default}.management-switch{display:flex;gap:12px;justify-content:space-between;align-items:center;min-height:52px;padding:4px 15px;font-size:16px;line-height:24px;cursor:pointer}.management-switch-target{display:grid;place-items:center;flex:none;min-width:46px;min-height:44px}.chat-management .management-switch input{appearance:none;flex:none;width:46px;min-width:46px;height:27px;margin:0;border:0;background:var(--check-line);border-radius:30px;position:relative;cursor:pointer}.management-switch input:before{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .16s ease}.chat-management .management-switch input:checked{background:var(--accent)}.management-switch input:checked:before{transform:translate(19px)}.management-switch input:disabled{opacity:.5;cursor:default}.page-dialog.management-name-editor .editor-nav{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;min-height:55px;padding:5px 12px;background:var(--paper);border-color:var(--management-line)}.management-name-editor .editor-header-title{margin:0;text-align:center;font-size:17px;line-height:24px;font-weight:600}.management-name-editor .editor-save{background:none;padding:0 8px}.page-dialog.management-name-editor .editor-scroll{padding:22px 20px max(26px,env(safe-area-inset-bottom))}.management-name-input{padding:15px;background:var(--paper);border-radius:13px}.page-dialog.management-name-editor input{min-height:44px;padding:0;border:0;background:transparent}.management-name-count{display:block;color:var(--muted);text-align:right;font-size:12px;line-height:18px}.management-name-hint{margin:10px 4px 0;color:var(--muted);font-size:12px;line-height:19px}.management-name-cancel{display:block;min-height:44px;padding:0 12px;margin:18px auto 0;color:var(--muted);background:transparent;border:0}@media(prefers-reduced-motion:reduce){.management-switch input:before{transition:none}}@media(forced-colors:active){.chat-management .management-switch input{appearance:auto}.management-switch input:before{display:none}}.tarot-card{--tarot-w: 200px;--tarot-h: 320px;--tarot-radius: 12px;display:block;width:var(--tarot-w);height:var(--tarot-h);padding:0;border:none;background:transparent;perspective:1200px;-webkit-perspective:1200px;flex-shrink:0}.tarot-card--lg{--tarot-w: 240px;--tarot-h: 384px;--tarot-radius: 14px}.tarot-card--md{--tarot-w: 200px;--tarot-h: 320px}.tarot-card--sm{--tarot-w: 140px;--tarot-h: 224px;--tarot-radius: 10px}.tarot-card--xs{--tarot-w: 100px;--tarot-h: 160px;--tarot-radius: 8px}.tarot-card--library{--tarot-radius: 8px;width:100%;height:auto;aspect-ratio:300 / 527;flex-shrink:1}.tarot-library .tarot-card__side{box-shadow:0 2px 10px #00000059}.tarot-library .tarot-card--library:hover .tarot-card__side{box-shadow:0 4px 16px #00000073,0 0 0 1px color-mix(in srgb,var(--tarot-glow, #8b7cf6) 35%,transparent)}.tarot-card__scene{transform-style:preserve-3d;-webkit-transform-style:preserve-3d;width:100%;height:100%;position:relative}.tarot-card__inner{width:100%;height:100%;position:relative;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transform:rotateY(0);transition:transform .65s cubic-bezier(.4,0,.2,1)}.tarot-card--face-up .tarot-card__inner{transform:rotateY(180deg)}.tarot-card__side{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:rotateY(0) translateZ(1px);border-radius:var(--tarot-radius);overflow:hidden;box-shadow:0 2px 4px #0006,0 12px 32px #00000073,inset 0 1px #ffffff0f}.tarot-card__side--face{transform:rotateY(180deg) translateZ(1px)}.tarot-card--interactive{cursor:pointer}.tarot-card--interactive:hover .tarot-card__side{box-shadow:0 4px 8px #0006,0 16px 40px #00000080,0 0 0 1px color-mix(in srgb,var(--tarot-glow, #8b7cf6) 40%,transparent),inset 0 1px #ffffff14}.tarot-card-back{width:100%;height:100%;position:relative;background:linear-gradient(160deg,#12101a,#0a0810,#14101c);color:#9d8ef8}.tarot-card-back__pattern{position:absolute;inset:0;width:100%;height:100%}.tarot-card-back__brand{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;z-index:1}.tarot-card-back__mark{color:#c9b07a;line-height:0;filter:drop-shadow(0 0 8px rgba(201,176,122,.4))}.tarot-card-back__name{font-family:var(--ds-font-display);font-size:.85rem;font-weight:600;letter-spacing:.28em;color:#ececf1e6}.tarot-card-back__name-en{font-size:.5rem;letter-spacing:.32em;text-transform:uppercase;color:#9d8ef899}.tarot-card--xs .tarot-card-back__name,.tarot-card--xs .tarot-card-back__name-en{display:none}.tarot-card-face{width:100%;height:100%;position:relative;box-sizing:border-box;padding:6px;background:linear-gradient(145deg,#1c1824,#0e0c12)}.tarot-card-face--reversed{transform:rotate(180deg)}.tarot-card-face--reversed .tarot-card-face__plate{box-shadow:inset 0 0 0 1px #dc646459,inset 0 0 24px #b43c3c14}.tarot-card-face__plate{position:relative;width:100%;height:100%;border-radius:calc(var(--tarot-radius) - 4px);overflow:hidden;background:radial-gradient(ellipse 80% 60% at 50% 35%,var(--tarot-accent-soft) 0%,transparent 65%),linear-gradient(180deg,#1a1620,#100e14);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tarot-accent) 30%,transparent)}.tarot-card-face__ornament{position:absolute;inset:0;width:100%;height:100%;color:var(--tarot-accent);pointer-events:none}.tarot-card-face__corner{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1}.tarot-card-face__corner--tl{top:10px;left:10px}.tarot-card-face__corner--br{bottom:10px;right:10px;transform:rotate(180deg)}.tarot-card-face__index{font-family:var(--ds-font-display);font-size:.72rem;font-weight:700;color:var(--tarot-accent);text-align:center}.tarot-card-face__corner .tarot-suit-icon{width:11px;height:auto;color:var(--tarot-accent);opacity:.92}.tarot-card-face__art{position:absolute;inset:12px 8px 10px;display:flex;align-items:center;justify-content:center;z-index:2}.tarot-card-face__plate{background:#0a0810}.tarot-card-face__scene{width:100%;height:100%;display:flex;align-items:stretch;justify-content:stretch;border-radius:calc(var(--tarot-radius) - 6px);overflow:hidden;background:#0a0810}.tarot-rws-art{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit}.tarot-rws-art__img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;-webkit-user-select:none;user-select:none}.tarot-rws-art__vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb,var(--art-sky-top) 55%,transparent) 0%,transparent 22%),linear-gradient(0deg,color-mix(in srgb,var(--art-sky-bottom) 70%,transparent) 0%,transparent 28%),radial-gradient(ellipse 90% 80% at 50% 45%,transparent 40%,rgba(8,6,14,.45) 100%);mix-blend-mode:multiply;opacity:.85}.tarot-rws-art__frame{position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--art-gold) 50%,transparent),inset 0 0 12px color-mix(in srgb,var(--art-accent) 18%,transparent)}.tarot-card-face--library{padding:0;background:transparent}.tarot-card-face--library .tarot-card-face__plate{background:transparent;box-shadow:none;border-radius:var(--tarot-radius)}.tarot-card-face--library .tarot-card-face__art{inset:0}.tarot-card-face--library .tarot-card-face__scene{border-radius:var(--tarot-radius);background:#ece6dc}.tarot-rws-art--bare .tarot-rws-art__img{object-fit:contain;background:#ece6dc}.tarot-card-face__medallion{display:flex;align-items:center;justify-content:center;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 35%,rgba(255,255,255,.06) 0%,transparent 50%),radial-gradient(circle,color-mix(in srgb,var(--tarot-accent) 8%,transparent) 0%,transparent 70%);border:1.5px solid color-mix(in srgb,var(--tarot-accent) 45%,transparent);box-shadow:inset 0 0 20px color-mix(in srgb,var(--tarot-accent) 12%,transparent),0 0 16px var(--tarot-glow)}.tarot-card-face__medallion .tarot-suit-icon{width:52%;height:auto;max-height:68%;color:var(--tarot-accent);filter:drop-shadow(0 2px 8px rgba(0,0,0,.35))}.tarot-card-face__medallion--major,.tarot-card-face__sigil{display:none}.tarot-card-face__pips{position:relative;width:100%;height:100%}.tarot-card-face__pip{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;color:var(--tarot-accent);width:20%;height:24%;max-width:32px;max-height:40px}.tarot-card-face__pip .tarot-suit-icon{width:100%;height:auto;max-height:100%;color:var(--tarot-accent);filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}.tarot-card-face--wands{--tarot-tint: rgba(212, 160, 84, .06)}.tarot-card-face--cups{--tarot-tint: rgba(94, 184, 201, .06)}.tarot-card-face--swords{--tarot-tint: rgba(154, 168, 196, .06)}.tarot-card-face--pentacles{--tarot-tint: rgba(201, 176, 122, .06)}.tarot-card-face--major{--tarot-tint: rgba(184, 171, 248, .06)}.tarot-card--lg .tarot-card-face__index{font-size:.82rem}.tarot-card--lg .tarot-card-face__corner .tarot-suit-icon{width:13px}.tarot-card--lg .tarot-card-face__pip{max-width:36px;max-height:44px}.tarot-card--sm .tarot-card-face{padding:4px}.tarot-card--sm .tarot-card-face__art{inset:12px 6px 10px}.tarot-card--sm .tarot-card-face__index{font-size:.55rem}.tarot-card--sm .tarot-card-face__corner .tarot-suit-icon{width:8px}.tarot-card--sm .tarot-card-face__pip{max-width:22px;max-height:28px}.tarot-card--xs .tarot-card-face{padding:3px}.tarot-card--xs .tarot-card-face__art{inset:10px 6px 8px}.tarot-card--xs .tarot-card-face__index{font-size:.42rem}.tarot-card--xs .tarot-card-face__corner .tarot-suit-icon{width:6px}.tarot-card--xs .tarot-card-face__pip{max-width:14px;max-height:18px}.tarot-card--xs .tarot-card-face__medallion{border-width:1px}.tarot-suit-icon{display:block}@media(max-width:768px){.tarot-card--lg{--tarot-w: 200px;--tarot-h: 320px}}@media(max-width:480px){.tarot-card--lg,.tarot-card--md{--tarot-w: 180px;--tarot-h: 288px}}.divination-theme{--ds-font-display: "Cormorant Garamond", "Noto Serif SC", Georgia, "Times New Roman", serif;--ds-font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--ds-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;--ds-bg-void: #09090c;--ds-bg-base: #0f0f14;--ds-bg-elevated: #16161e;--ds-bg-surface: rgba(255, 255, 255, .04);--ds-surface: rgba(255, 255, 255, .06);--ds-surface-raised: rgba(255, 255, 255, .08);--ds-surface-hover: rgba(255, 255, 255, .1);--ds-surface-active: rgba(255, 255, 255, .12);--ds-text-primary: #ececf1;--ds-text-secondary: #9b9ba8;--ds-text-muted: #656575;--ds-text-inverse: #0f0f14;--ds-accent: #8b7cf6;--ds-accent-hover: #9d8ef8;--ds-accent-deep: #6d5fd4;--ds-accent-muted: rgba(139, 124, 246, .14);--ds-accent-border: rgba(139, 124, 246, .42);--ds-accent-violet: var(--ds-accent);--ds-accent-violet-deep: var(--ds-accent-deep);--ds-accent-rose: #c4a8e8;--ds-accent-rose-deep: var(--ds-accent-deep);--ds-accent-cyan: #6eb8d4;--ds-accent-gold: #c9b07a;--ds-accent-amber: #b8a066;--ds-gradient-primary: linear-gradient(135deg, #b8abf8 0%, #8b7cf6 100%);--ds-gradient-primary-soft: var(--ds-accent-muted);--ds-gradient-aurora: linear-gradient( 160deg, rgba(139, 124, 246, .1) 0%, rgba(110, 184, 212, .05) 60%, transparent 100% );--ds-gradient-glass: linear-gradient( 145deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100% );--ds-border: rgba(255, 255, 255, .09);--ds-border-strong: rgba(255, 255, 255, .14);--ds-border-glow: var(--ds-accent-border);--ds-shadow-xs: 0 1px 2px rgba(0, 0, 0, .25);--ds-shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);--ds-shadow-md: 0 4px 20px rgba(0, 0, 0, .35);--ds-shadow-lg: 0 12px 40px rgba(0, 0, 0, .45);--ds-shadow-glow: none;--ds-shadow-glow-rose: none;--ds-radius-sm: 8px;--ds-radius-md: 12px;--ds-radius-lg: 16px;--ds-radius-xl: 20px;--ds-radius-2xl: 24px;--ds-radius-full: 9999px;--ds-space-xs: .25rem;--ds-space-sm: .5rem;--ds-space-md: 1rem;--ds-space-lg: 1.5rem;--ds-space-xl: 2rem;--ds-space-2xl: 3rem;--ds-space-3xl: 4rem;--ds-ease-out: cubic-bezier(.16, 1, .3, 1);--ds-duration-fast: .15s;--ds-duration-normal: .22s;--ds-duration-slow: .4s;--ds-blur-sm: 8px;--ds-blur-md: 14px;--ds-blur-lg: 20px;--ds-control-h: 40px;--ds-control-h-sm: 34px;--ds-chip-h: 72px;--shell-sidebar-width: 260px;--shell-content-width: 900px;--color-bg: var(--ds-bg-base);--color-bg-secondary: var(--ds-bg-elevated);--color-bg-card: var(--ds-surface-raised);--color-text: var(--ds-text-primary);--color-text-secondary: var(--ds-text-secondary);--color-accent: var(--ds-accent);--color-major: var(--ds-accent-deep);--color-wands: var(--ds-accent-amber);--color-cups: var(--ds-accent-cyan);--color-swords: #b0b0bc;--color-pentacles: var(--ds-accent-gold);--color-border: var(--ds-border);--shadow: var(--ds-shadow-md);--shadow-hover: var(--ds-shadow-lg)}@font-face{font-family:Cormorant Garamond;font-style:italic;font-weight:500;font-display:swap;src:url(/app/assets/divination/fonts/cormorant-garamond-italic-500.ttf) format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:500;font-display:swap;src:url(/app/assets/divination/fonts/cormorant-garamond-normal-500.ttf) format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:600;font-display:swap;src:url(/app/assets/divination/fonts/cormorant-garamond-normal-600.ttf) format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:700;font-display:swap;src:url(/app/assets/divination/fonts/cormorant-garamond-normal-700.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:300;font-display:swap;src:url(/app/assets/divination/fonts/outfit-normal-300.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:400;font-display:swap;src:url(/app/assets/divination/fonts/outfit-normal-400.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:500;font-display:swap;src:url(/app/assets/divination/fonts/outfit-normal-500.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:600;font-display:swap;src:url(/app/assets/divination/fonts/outfit-normal-600.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:700;font-display:swap;src:url(/app/assets/divination/fonts/outfit-normal-700.ttf) format("truetype")}.divination-page{width:min(100% - 40px,900px);margin:24px auto;padding:24px clamp(20px,5vw,64px) 20px;min-height:calc(100dvh - 120px);border:1px solid var(--ds-border);border-radius:24px;background:var(--ds-bg-base);color:var(--ds-text-primary);font-family:var(--ds-font-body)}.divination-theme a{color:inherit;text-decoration:none}.divination-theme button{font:inherit;cursor:pointer}.divination-theme button:disabled{cursor:default;opacity:.42}:where(html[data-input-modality=keyboard]) .divination-theme :is(button,a):focus-visible{outline:2px solid var(--ds-accent);outline-offset:5px}.divination-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:24px;color:var(--ds-text-secondary);font-size:12px}.divination-nav a{display:inline-flex;align-items:center;gap:6px;padding:8px 0;color:var(--ds-text-primary);font-size:14px}.divination-intro{text-align:center;margin:16px 0 28px}.divination-page h1{font:500 32px/1.3 var(--ds-font-display);letter-spacing:.1em;margin:8px 0 12px;color:var(--ds-text-primary)}.divination-page h2{font:500 21px/1.5 var(--ds-font-display);color:var(--ds-text-primary)}.divination-intro>p:last-child,.divination-ritual>p,.divination-select>p{font-size:14px;color:var(--ds-text-secondary)}.divination-eyebrow{margin:0 0 14px;font-size:12px;letter-spacing:.08em;color:var(--ds-accent)}.divination-game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:36px 0}.divination-game-choice{display:flex;flex-direction:column;align-items:center;padding:24px 20px;border:1px solid var(--ds-border);border-radius:20px;background:var(--ds-gradient-aurora);text-align:center;transition:border-color .2s,transform .2s}@media(hover:hover)and (pointer:fine){.divination-game-choice:hover{border-color:var(--ds-accent-border);transform:translateY(-3px)}}.divination-game-choice>.oracle-vessel,.divination-cover-deck{height:220px;width:200px;display:grid;place-items:center}.divination-cover-deck .tarot-card{--tarot-w: 120px;--tarot-h: 192px;transform:rotate(7deg)}.divination-game-choice h2{margin:16px 0 6px}.divination-game-choice p{margin:0 0 24px;color:var(--ds-text-secondary);font-size:13px;line-height:1.7}.divination-game-choice>span{margin-top:auto;color:var(--ds-accent);font-size:14px}.divination-game-choice.qian{background:linear-gradient(160deg,rgba(82,119,100,.18),transparent)}.divination-steps{padding:0;margin:0 0 32px;list-style:none;display:flex;justify-content:center;gap:28px;font-size:12px;color:var(--ds-text-secondary)}.divination-steps li{display:flex;align-items:center;gap:7px}.divination-steps li span{width:24px;height:24px;display:grid;place-items:center;background:var(--ds-surface);border-radius:50%}.divination-steps [aria-current=step]{color:var(--ds-accent)}.divination-steps [aria-current=step] span{background:var(--ds-accent-muted)}.divination-spreads{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 28px}.divination-spreads button,.divination-categories button{border:1px solid var(--ds-border);border-radius:12px;background:var(--ds-bg-elevated);color:var(--ds-text-secondary);min-height:52px;padding:14px 12px}.divination-spreads button{display:grid;gap:8px;text-align:left;padding:18px}.divination-spreads strong{font-size:17px;color:var(--ds-text-primary);font-weight:500}.divination-spreads span{font-size:12px}.divination-spreads button[aria-pressed=true],.divination-categories button[aria-pressed=true]{color:var(--ds-text-primary);background:var(--ds-accent-muted);border-color:var(--ds-accent)}.divination-direction h2{font-size:16px;margin-bottom:16px}.divination-categories{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.divination-categories button{font-size:14px}.divination-intent-art{min-height:250px;display:grid;place-items:center;padding:26px 0}.divination-intent-art>.oracle-vessel{height:220px;width:240px}.divination-intent-art>.tarot-card{--tarot-w: 120px;--tarot-h: 192px}.divination-primary{min-height:48px;border:1px solid var(--ds-accent-border);border-radius:12px;padding:14px 20px;width:100%;background:var(--ds-accent);color:#fff;display:flex;justify-content:center;align-items:center;gap:8px;font-size:14px}@media(hover:hover)and (pointer:fine){.divination-primary:hover:not(:disabled){background:var(--ds-accent-deep)}}.divination-ritual,.divination-select{text-align:center}.divination-ritual h2,.divination-select h2{margin:30px 0 8px}.divination-vessel-button{display:block;padding:0;width:min(300px,100%);margin:30px auto 12px;border:none;background:transparent}.oracle-vessel{position:relative;display:block;width:100%;height:auto;overflow:visible}.oracle-flying-stick{opacity:0;transform-box:fill-box;transform-origin:center bottom}.divination-vessel-stage{position:relative;isolation:isolate}.divination-vessel-stage .oracle-vessel{filter:drop-shadow(0 12px 16px rgba(88,49,22,.12))}.divination-vessel-glow{position:absolute;inset:18% 8% auto;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(118,184,145,.18),transparent 68%);pointer-events:none;opacity:.55}.divination-vessel-stage.is-idle .oracle-vessel{animation:divination-vessel-float 4s ease-in-out infinite}.divination-vessel-stage.is-idle .divination-vessel-glow{animation:divination-aura-pulse 3.4s ease-in-out infinite}.divination-vessel-stage.is-revealing .oracle-flying-stick{animation:divination-stick-reveal .7s cubic-bezier(.2,.85,.2,1) forwards}.divination-vessel-stage.is-revealing .divination-vessel-glow{animation:divination-aura-reveal .6s ease-out forwards}.divination-hold{touch-action:none;user-select:none;-webkit-user-select:none;background:linear-gradient(to right,#527764 var(--hold-progress),#253b31 var(--hold-progress));border-color:#527764}@media(hover:hover)and (pointer:fine){.divination-hold:hover:not(:disabled){background:linear-gradient(to right,#527764 var(--hold-progress),#253b31 var(--hold-progress))}}.divination-hold-hint{min-height:22px;font-size:12px}.divination-vessel-stage.is-shaking .oracle-vessel{animation:divination-shake .3s ease-in-out infinite;transform-origin:50% 85%}.divination-card-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:470px;margin:28px auto 0}.divination-card-slots>div{display:grid;gap:12px;color:var(--ds-text-secondary);font-size:13px}.divination-card-slots.is-single{max-width:150px;grid-template-columns:1fr}.divination-slot{border:1px dashed var(--ds-accent-border);aspect-ratio:5/8;border-radius:12px}.divination-slot .tarot-card{width:100%;height:100%}.divination-fan{position:relative;height:320px;margin:8px auto 0;width:100%}.divination-fan>button{position:absolute;left:calc(50% - 60px);bottom:80px;width:120px;height:192px;padding:0;background:none;border:0;transform-origin:50% 155%;transform:rotate(var(--fan-angle));transition:transform .2s,opacity .2s}.divination-fan>button>.tarot-card{width:100%;height:100%}:where(html[data-input-modality=keyboard]) .divination-fan>button:focus-visible{transform:rotate(var(--fan-angle)) translateY(-22px);z-index:12}@media(hover:hover)and (pointer:fine){.divination-fan>button:hover:not(:disabled){transform:rotate(var(--fan-angle)) translateY(-22px);z-index:12}}.divination-fan>button:disabled{opacity:0;pointer-events:none}.divination-saving{min-height:400px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;text-align:center;color:var(--ds-text-secondary)}.divination-saving>div:has(>.oracle-vessel){width:240px}.divination-saving .divination-primary{width:auto}.divination-result-heading{text-align:center;margin:10px 0 32px}.divination-result-heading p{color:var(--ds-text-secondary);font-size:12px}.divination-result-body{padding:24px;border:1px solid var(--ds-border);border-radius:20px;background:var(--ds-gradient-aurora)}.divination-result-body>.divination-eyebrow{text-align:center;margin-bottom:24px}.divination-cards-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.divination-cards-result.is-single{grid-template-columns:minmax(0,210px);justify-content:center}.divination-card-result{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}.divination-card-result>.tarot-card{width:100%;height:auto;aspect-ratio:5/8;margin-bottom:16px}.divination-position{color:var(--ds-accent-gold);font-size:13px;margin-bottom:12px}.divination-card-result strong{color:var(--ds-text-primary);font-size:15px;font-weight:500}.divination-card-result small{color:var(--ds-text-secondary);font-size:12px;margin-top:4px}.divination-card-result>p{font-size:12px;line-height:1.7;color:var(--ds-text-secondary)}.divination-reading-copy{color:var(--ds-text-secondary);line-height:1.9;font-size:14px}.divination-reading-copy h3{color:var(--ds-text-primary);font-size:15px;font-weight:500;margin:28px 0 10px}.divination-reading-copy p{margin:0 0 12px}.divination-reading-copy section{border-top:1px solid var(--ds-border);margin-top:24px}.divination-advice{color:var(--ds-accent-rose)}.divination-stick-heading{display:flex;align-items:center;justify-content:center;gap:12px}.divination-stick-heading h2{margin:0;font:500 28px var(--ds-font-display);color:var(--ds-text-primary)}.divination-stick-heading>span{color:var(--level-color);border:1px solid var(--level-color);border-radius:30px;padding:3px 10px;font-size:12px}.divination-stick-result>h3{text-align:center;font-size:14px;color:var(--ds-text-secondary);font-weight:400}.divination-poem{display:grid;justify-content:center;gap:8px;text-align:center;font:500 18px/1.8 var(--ds-font-display);color:var(--ds-accent-gold);padding:16px 0}.divination-result-actions{display:grid;gap:16px;margin-top:28px;text-align:center}.divination-chat-link{color:var(--ds-text-secondary)!important;font-size:14px}.divination-again,.divination-ai-hint{font-size:12px;color:var(--ds-text-secondary)!important;margin:0}.divination-footer{text-align:center;font-size:11px;color:var(--ds-text-secondary);margin:36px 0 8px}.divination-error{color:#f5b5b5;font-size:14px}.divination-reading-copy h4{margin:18px 0 6px;font-size:13px;color:var(--ds-text-primary);font-weight:500}.divination-daily-poem{white-space:pre-line;text-align:center;color:var(--ds-accent-gold);padding:0 10px 16px}.divination-timing{color:var(--ds-accent-rose);padding:12px 16px;background:var(--ds-surface);border-radius:10px}.divination-aspects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.divination-aspects article{border:1px solid var(--ds-border);border-radius:12px;padding:14px}.divination-aspects h4{margin-top:0;color:var(--ds-accent-gold)}.divination-aspects p{margin-bottom:0}.divination-yiji{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.divination-yiji>section{margin:0;border:0}.divination-yiji>section:first-child h3{color:#a4ceac}.divination-yiji>section:last-child h3{color:var(--ds-accent-rose)}.divination-yiji ul,.divination-action-steps{padding-left:20px}.divination-yiji li,.divination-action-steps li{margin-bottom:8px}.divination-more-reading{border-top:1px solid var(--ds-border);padding-top:18px;margin-top:24px}.divination-more-reading summary{cursor:pointer;color:var(--ds-accent);padding:10px 0 18px}.divination-position-hint{font-size:11px;color:var(--ds-text-secondary);margin:-6px 0 14px}.divination-card-result.is-present{border-radius:12px;background:#8b7cf614;outline:1px solid var(--ds-accent-border);outline-offset:5px}.divination-card-en{font-size:11px;color:var(--ds-text-secondary);margin:6px 0}.divination-card-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.divination-card-tags small{font-size:11px;color:var(--ds-text-secondary)}.divination-result-body:not(.is-compact) .divination-card-tags small{border:1px solid var(--ds-border);border-radius:12px;padding:2px 7px}.divination-keywords{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:12px}.divination-keywords>span{color:var(--ds-text-secondary);font-size:11px;line-height:1.7;padding:2px 6px;background:var(--ds-surface);border-radius:5px}.divination-synthesis{border:1px solid var(--ds-accent-border)!important;border-radius:14px;background:var(--ds-accent-muted);padding:0 18px 12px}.divination-tarot-reveal{position:fixed;z-index:40;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:24px;background:#090812f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);isolation:isolate}.divination-magic-circle{position:absolute;z-index:-1;width:min(75vw,480px);aspect-ratio:1;border:1px solid var(--ds-accent-border);border-radius:50%;box-shadow:0 0 50px #8b7cf640;animation:divination-orbit 8s linear infinite}.divination-magic-circle:before,.divination-magic-circle:after{content:"";position:absolute;inset:12%;border:1px solid var(--ds-accent-border);border-radius:50%;transform:rotate(45deg)}.divination-magic-circle:after{inset:26%;border-radius:50%}.divination-reveal-cards{width:min(100%,760px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.divination-reveal-cards.is-single{max-width:220px;grid-template-columns:1fr}.divination-reveal-cards>div{min-width:0;display:flex;flex-direction:column;align-items:center}.divination-reveal-cards .tarot-card{width:100%;height:auto;aspect-ratio:5/8}.divination-reveal-name{min-height:36px;margin-top:18px;color:var(--ds-text-primary);text-align:center;font-size:13px}.divination-reveal-status{color:var(--ds-text-secondary);font-size:14px}@keyframes divination-orbit{to{transform:rotate(360deg)}}.divination-chat-result{width:min(100%,272px);margin:14px auto 0}.divination-chat-card{display:block;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);overflow:hidden}.divination-chat-summary{padding:14px}.divination-chat-summary>.divination-eyebrow{margin:0 0 12px;color:var(--muted);font-size:11px;line-height:1.5;letter-spacing:0}.divination-chat-summary strong{display:block;color:var(--ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.divination-chat-summary small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5}.chat-qian-summary{display:grid;gap:12px}.chat-qian-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-qian-number{color:var(--ink);font-size:18px;font-weight:600;line-height:1.5}.chat-qian-level{padding:3px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12px;line-height:1.5}.chat-qian-poem{display:grid;gap:6px;margin:0;padding:12px 0 2px;border-top:1px solid var(--line);color:var(--ink);text-align:center;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.chat-tarot-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.chat-tarot-card{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}.chat-tarot-card>.tarot-card{flex:none;width:min(100%,60px);height:auto;aspect-ratio:5 / 8;border-radius:8px}.chat-tarot-summary.is-single{grid-template-columns:minmax(0,1fr)}.chat-tarot-summary.is-single .chat-tarot-card{flex-direction:row;gap:14px;text-align:left}.chat-tarot-summary.is-single .chat-tarot-card>.tarot-card{width:54px}.divination-card-link{border-top:1px solid var(--line);min-height:40px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.divination-chat-activity{max-width:100%;margin:8px auto 18px;padding:0 12px;font-size:12px;line-height:1.7;color:var(--muted);text-align:center;overflow-wrap:anywhere}.divination-chat-activity a{color:inherit;text-decoration:none}@media(hover:hover)and (pointer:fine){.divination-chat-activity a:hover{text-decoration:underline}}.divination-entry{display:inline-flex;align-items:center;gap:5px;text-decoration:none}@keyframes divination-shake{0%,to{transform:translate(0) rotate(0)}25%{transform:translate(-5px,1px) rotate(-2.8deg)}50%{transform:translate(5px,-1px) rotate(2.8deg)}75%{transform:translate(-3px) rotate(-1.6deg)}}@keyframes divination-vessel-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes divination-aura-pulse{0%,to{transform:scale(.92);opacity:.4}50%{transform:scale(1.1);opacity:.85}}@keyframes divination-aura-reveal{0%{transform:scale(1);opacity:.8}to{transform:scale(1.4);opacity:0}}@keyframes divination-stick-reveal{0%{opacity:0;transform:translateY(50px) rotate(-6deg) scale(.8)}30%{opacity:1}to{opacity:1;transform:translateY(-78px) rotate(5deg) scale(1)}}@media(max-width:600px){.divination-page{width:100%;margin:0;padding:12px 18px 24px;border-radius:0;border:0;min-height:calc(100dvh - 116px)}.divination-game-choices{gap:12px}.divination-game-choice{padding:16px 12px}.divination-game-choice>.oracle-vessel,.divination-cover-deck{width:100%;height:168px}.divination-cover-deck .tarot-card{--tarot-w: 82px;--tarot-h: 131px}.divination-cover-deck .tarot-card-back__name{font-size:10px}.divination-cover-deck .tarot-card-back__name-en{display:none}.divination-game-choice h2{font-size:19px}.divination-game-choice p{font-size:12px}.divination-steps{gap:18px}.divination-spreads{gap:8px}.divination-spreads button{padding:16px 12px}.divination-spreads strong{font-size:16px}.divination-categories button{padding:12px 6px;font-size:13px}.divination-fan{height:280px}.divination-fan>button{left:calc(50% - 43px);width:86px;height:138px;bottom:70px}.divination-fan .tarot-card-back__name{font-size:10px}.divination-fan .tarot-card-back__name-en{display:none}.divination-card-slots{gap:12px}.divination-result-body{padding:20px 12px}.divination-cards-result{gap:10px}.divination-card-result strong{font-size:13px}.divination-card-result>p{font-size:11px}.divination-page .divination-poem{font-size:17px}.divination-aspects,.divination-yiji{grid-template-columns:1fr}.divination-yiji{gap:0}.divination-tarot-reveal{padding:18px}.divination-reveal-cards{gap:12px}.divination-reveal-name{font-size:11px}.divination-reveal-cards:not(.is-single) .tarot-card-back__name{font-size:10px}.divination-reveal-cards:not(.is-single) .tarot-card-back__name-en{display:none}}@media(prefers-reduced-motion:reduce){.divination-theme *,.divination-theme *:before,.divination-theme *:after{animation:none!important;transition:none!important}}.daily-tarot{text-align:center}.daily-tarot-date{color:var(--ds-accent-gold);font-size:14px;min-height:20px}.daily-tarot-card{border:0;padding:0;margin:32px auto;display:block;background:transparent;border-radius:14px}.daily-tarot-card .tarot-card{--tarot-w: 170px;--tarot-h: 272px}.divination-theme .daily-tarot-card:disabled{opacity:1}.daily-tarot-caption{color:var(--ds-text-secondary);min-height:24px;margin-bottom:40px}.divination-game-choice.daily{background:linear-gradient(150deg,rgba(190,155,87,.15),transparent)}.divination-game-choice.woodfish{background:linear-gradient(150deg,rgba(150,88,49,.18),transparent)}.divination-game-choice .game-choice-description{margin:0;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:1.5}.divination-read-state{display:grid;justify-items:center;gap:var(--space-3);padding:var(--space-6) var(--space-4);font-size:var(--mobile-text-body);text-align:center}.divination-read-state :is(button,a){min-height:var(--touch-target);display:inline-flex;align-items:center;justify-content:center;font-size:var(--mobile-text-secondary)}.home-memory-invitation{margin:var(--space-5) 0 var(--space-4);color:var(--ink)}.home-memory-invitation-body{margin-left:var(--space-10)}.home-memory-invitation-body>p:not(.home-memory-error){margin:0;padding:var(--space-3);border-radius:var(--radius-md);background:var(--ai-soft);color:var(--ink);font-size:var(--mobile-text-body);line-height:1.65}.home-memory-topics{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-2)}.home-memory-topics button{display:flex;align-items:center;gap:var(--space-2);min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:inherit;font-size:var(--mobile-text-secondary);text-align:left}.home-memory-topics button:first-child{background:var(--accent-soft);color:var(--accent)}.home-memory-later,.home-memory-more{display:flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--touch-target);padding:0 var(--space-3);border:0;background:transparent;color:var(--muted);font:inherit;font-size:var(--mobile-text-caption)}.home-memory-later{margin:var(--space-1) auto 0}.home-memory-more{margin-top:var(--space-2);padding-left:0;color:var(--accent);font-size:var(--mobile-text-secondary)}.home-memory-saved-date{display:flex;align-items:center;gap:var(--space-3);min-height:var(--touch-target);margin-top:var(--space-4);padding:var(--space-3);border-radius:var(--radius-sm);background:var(--note-lilac);color:var(--ink);text-decoration:none}.home-memory-saved-date>span{flex:1;min-width:0;overflow-wrap:anywhere}.home-memory-saved-date>span>strong,.home-memory-saved-date>span>small{display:block}.home-memory-saved-date strong{font-size:var(--mobile-text-secondary);font-weight:500}.home-memory-saved-date small{margin-top:var(--space-1);color:var(--muted);font-size:var(--mobile-text-caption)}.home-memory-saved-date svg{color:var(--accent);flex-shrink:0}.home-memory-error{font-size:var(--mobile-text-secondary);line-height:1.5;color:var(--danger)}.home-memory-invitation button:disabled{opacity:.55;cursor:default}:where(html[data-input-modality=keyboard]) .home-memory-invitation :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.message-notebook-link{display:flex;align-items:center;gap:var(--space-2);width:fit-content;min-height:var(--touch-target);margin-top:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent);text-decoration:none;font-size:var(--mobile-text-secondary)}:where(html[data-input-modality=keyboard]) .message-notebook-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-page{width:100%;max-width:1080px;height:calc(100dvh - 68px);margin:0 auto;padding:0 24px;display:flex;flex-direction:column;overflow:hidden}.chat-page[hidden]{display:none}.chat-panel{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--canvas)}.chat-heading{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line-soft);background:var(--paper)}.room-identity{display:flex;align-items:center;gap:12px;min-width:0}.room-identity>div{min-width:0}.room-identity h2{margin:0;font-size:1.0625rem;font-weight:600;line-height:24px;letter-spacing:-.025em;overflow-wrap:anywhere}.room-identity p{margin:4px 0 0;font-size:.75rem;color:var(--muted);overflow-wrap:anywhere}.couple-avatars{display:flex;flex:none;padding-right:2px}.chat-avatar{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;overflow:hidden;font-size:.75rem}.couple-avatars .chat-avatar+.chat-avatar{margin-left:-12px;transform:translateY(7px)}.chat-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-partner{color:var(--clay-ink);background:var(--clay-soft)}.avatar-self{color:var(--accent);background:var(--avatar-green)}.avatar-ai{color:var(--ai-ink);background:var(--ai-soft)}.chat-panel .message-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:8px 12px 20px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.chat-panel .message-list:has(>.content-state-loading){display:flex;flex-direction:column;padding-block:0}.chat-panel .message-list>.content-state-loading{margin-block:auto}@media(max-height:480px){.chat-panel .message-list>.content-state-loading{gap:var(--space-2);padding-block:var(--space-2)}.chat-panel .message-list>.content-state-loading .azai-loading-art{width:72px;height:72px}}.day-divider{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:.75rem;margin:12px 0 20px;line-height:18px}.day-divider>span{display:none}.chat-message{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;margin-top:16px;padding-right:12px;scroll-margin:16px}.chat-message.grouped{margin-top:7px}.chat-message .message-avatar{padding-top:3px}.chat-message .avatar-mention{position:relative;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;overflow:visible;font-size:.6875rem;line-height:1.1;letter-spacing:0}.chat-message .avatar-mention:after{content:"";position:absolute;inset:-6px;border-radius:50%;background:transparent}.chat-message .avatar-mention img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.chat-message .message-content{position:relative;width:fit-content;max-width:100%;min-width:0}.message-bubble{background:var(--partner-bubble);color:var(--ink);border:1px solid var(--partner-line);box-shadow:none;padding:9px 12px;border-radius:5px 18px 18px;font-size:var(--mobile-text-body);font-weight:400;line-height:1.5;overflow-wrap:anywhere;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-x pan-y pinch-zoom}.message-bubble :is(a,pre,.markdown-table-scroll){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.message-bubble .markdown.markdown :where(p,ul,ol,li){margin-block:0}.message-bubble .markdown.markdown :where(ul,ol){padding-left:1.15em}.message-bubble .markdown.markdown strong{font-weight:600}.chat-message.self .markdown{--ink: var(--self-ink);--muted: var(--self-ink);--accent: var(--self-ink);--accent-strong: var(--self-ink)}.chat-message.is-located .message-bubble{outline:2px solid var(--accent);outline-offset:2px}.message-bubble>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.self{grid-template-columns:minmax(0,1fr) 32px;padding:0 0 0 26px}.chat-message.self .message-avatar{grid-column:2;grid-row:1}.chat-message.self .message-content{grid-column:1;grid-row:1;justify-self:end}.chat-message.self>.message-content{max-width:88%}.message-self-avatar{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;overflow:hidden;font-size:.6875rem;line-height:1.1;letter-spacing:0}.message-self-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.chat-message.self .chat-image-button{border-radius:13px 3px 13px 13px}.chat-message.self .message-bubble{color:var(--self-ink);background:var(--self-bubble);border-color:transparent;border-radius:18px 5px 18px 18px}.chat-message .message-reply{display:block;width:100%;min-height:44px;margin:3px 0 7px;padding:3px 8px;border:0;border-left:2px solid var(--quote-line);border-radius:6px;background:var(--wash);color:var(--muted);text-align:left;font-size:.8125rem;line-height:20px}.message-reply strong{color:var(--ink);font-weight:600}.message-reply>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble.with-photo{padding:5px;overflow:hidden}.message-bubble.with-photo>.markdown{padding:5px 8px 6px}.chat-message.ai .message-bubble{background:var(--ai-bubble);color:var(--ink);border-color:var(--ai-line)}.chat-message .message-bubble.with-sticker{width:152px;max-width:100%;padding:0;border:0;background:transparent;box-shadow:none}.message-bubble.with-sticker>img{display:block;width:152px;height:152px;max-width:100%;object-fit:contain}.message-author{display:flex;gap:7px;align-items:center;margin:0 0 4px;color:var(--muted);font-size:.75rem;line-height:18px}.ai-identity span{padding:0 3px;border:1px solid var(--ai-line);border-radius:3px;background:var(--ai-bubble);font-size:.5625rem;line-height:10px;font-weight:600;color:var(--accent-strong)}.chat-message .message-mention{display:block;margin-bottom:5px;color:var(--accent);font-size:.75rem}.chat-empty{min-height:220px;display:grid;place-content:center;text-align:center;color:var(--muted);padding:24px 12px}.chat-empty strong{color:var(--ink);font-size:1.0625rem;font-weight:550}.load-earlier{display:block;margin:0 auto;min-height:44px;padding:8px 14px;border:0;border-radius:22px;color:var(--muted);background:var(--wash);font-size:.8125rem}.chat-system-notice{margin:20px 0;padding:4px 12px;color:var(--muted);font-size:.75rem;line-height:1.6;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere}.failed-message{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;color:var(--danger);font-size:.8125rem;overflow-wrap:anywhere}.failed-message button{flex:none;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:6px 10px;background:var(--paper);color:var(--danger)}.chat-panel .message-composer{position:relative;flex:none;z-index:10;margin:0;padding:2px 12px 8px;border:0;border-radius:0;background:var(--paper);box-shadow:none}.chat-panel .composer-tools{display:flex;align-items:center;min-height:32px;gap:3px;margin:0 0 2px;padding:0}.chat-panel .composer-tool-pill{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 9px;font-weight:500;box-shadow:none;border:0;border-radius:12px;background:transparent;color:var(--accent);font-size:.8125rem;text-decoration:none}.chat-panel .composer-tool-pill:after{content:"";position:absolute;inset:-12px -3px 0;background:transparent}@media(hover:hover)and (pointer:fine){.chat-panel .composer-tool-pill:hover{background:var(--accent-soft)}}.chat-panel .reply-preview{display:flex;align-items:center;gap:9px;margin:0;padding:2px 0 8px 8px;border:0;background:transparent;color:var(--muted);font-size:.75rem}.chat-panel .reply-preview>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-panel .reply-preview button{display:grid;place-items:center;flex:0 0 44px;height:44px;border:0;padding:0;border-radius:12px;color:var(--muted);background:transparent}html[data-layout=mobile] .app-shell .chat-page{height:100%;padding:0}html[data-layout=mobile] .chat-heading{padding-block:0}html[data-layout=mobile] .room-identity p{margin-top:0;line-height:18px}html[data-layout=mobile] .chat-panel{height:100%}.chat-panel .message-composer:has(textarea:focus) .composer-tools,.chat-panel .message-composer:has(.chat-media-tools[data-panel-open=true]) .composer-tools,html[data-keyboard-open=true] .chat-panel .composer-tools{display:none}.chat-panel .message-composer .composer-tools{gap:3px;margin:0 0 2px}.chat-panel .composer-tool-pill+.composer-tool-pill{position:relative;margin-left:5px}.chat-panel .composer-tool-pill+.composer-tool-pill:before{content:"";position:absolute;left:-5px;width:1px;height:14px;background:var(--line-soft)}.chat-panel .composer-row textarea{background:var(--canvas);border-color:var(--line)}.chat-panel .chat-media-action{background:var(--paper);border-color:var(--line);color:var(--muted)}.chat-panel .chat-media-action[aria-expanded=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.chat-jump-slot{position:relative;flex:none;height:0;z-index:11}.chat-jump-latest{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--accent);box-shadow:0 2px 8px var(--card-shadow)}.day-divider time{padding:3px 10px;border-radius:20px;background:var(--wash)}.chat-message.ai.chat-thinking .message-bubble{display:flex;align-items:center;gap:8px;color:var(--muted)}.chat-thinking-dots{display:inline-flex;align-items:center;gap:3px}.chat-thinking-dots i{width:4px;height:4px;border-radius:50%;background:currentColor;animation:chat-thinking-breathe 1.35s ease-in-out infinite}.chat-thinking-dots i:nth-child(2){animation-delay:.18s}.chat-thinking-dots i:nth-child(3){animation-delay:.36s}@keyframes chat-thinking-breathe{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.chat-thinking-dots i{animation:none;opacity:.75}}.couple-quiz-message .message-content{width:min(100%,380px);min-width:0}.couple-quiz-card{padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);overflow-wrap:anywhere}.couple-quiz-card header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;align-items:baseline}.couple-quiz-card header span,.couple-quiz-card .quiz-muted{font-size:12px;color:var(--muted)}.couple-quiz-card h3{font-size:17px;line-height:1.5;margin:16px 0 10px}.couple-quiz-card p{font-size:14px;line-height:1.6;margin:10px 0;white-space:pre-wrap}.couple-quiz-card button{min-height:44px;max-width:100%;border-radius:12px;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}.quiz-options{display:grid;gap:8px;margin:12px 0}.quiz-options button{text-align:left;border:1px solid var(--line);background:var(--paper);color:var(--ink)}.quiz-options button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.couple-quiz-card .quiz-primary{width:100%;margin-top:8px;background:var(--accent);color:var(--on-accent)}.couple-quiz-card button:disabled{opacity:.5;cursor:default}:where(html[data-input-modality=keyboard]) .couple-quiz-card button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quiz-result{padding:12px;border-radius:12px;background:var(--accent-soft)}.quiz-result strong,.quiz-score strong{color:var(--accent)}.quiz-score{font-size:18px;margin:18px 0}.quiz-host{margin-top:12px}.couple-quiz-card .quiz-cancel{margin-top:8px;color:var(--muted);background:transparent;font-size:12px}.quiz-chat-letter{position:relative;padding-top:4px}.quiz-chat-letter>img{float:right;width:80px;height:80px;object-fit:contain;margin:4px -3px 4px 8px}.quiz-chat-letter h3{font-size:16px}.quiz-chat-letter p{color:var(--muted)}.quiz-chat-open{display:flex;justify-content:space-between;align-items:center;min-height:44px;clear:both;border-top:1px solid var(--line);margin-top:12px;padding-top:10px;color:var(--ink);font-size:14px;text-decoration:none}.quiz-chat-progress{display:flex;flex-wrap:wrap;gap:6px 12px;clear:both;font-size:12px;color:var(--muted)}.welcome-home{--welcome-card-inset: 16px;width:100%;max-width:440px;color:var(--ink)}.welcome-home-ticket{position:relative;overflow:visible;padding:0;border:0;border-radius:16px;background:var(--paper);box-shadow:var(--shadow-sm);animation:welcome-receipt-arrive .52s cubic-bezier(.2,.8,.2,1) both}.welcome-home-hero{position:relative;height:clamp(80px,min(48vw,calc(100dvh - 490px)),184px);margin:0;overflow:hidden;border-radius:16px 16px 0 0;background:var(--note-lilac)}.welcome-home-paired .welcome-home-hero{height:clamp(76px,min(44vw,calc(100dvh - 510px)),172px)}.welcome-home-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% 48%}.welcome-home-photo-labels{position:absolute;inset:12px 12px auto;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.welcome-home-photo-labels>span{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:4px 8px;border-radius:6px;background:#2a2331b8;color:#fff;font-size:12px;font-weight:600;line-height:1.3}.welcome-home-photo-labels svg{flex:none}.welcome-home-greeting{padding:12px var(--welcome-card-inset) 7px}.welcome-home-greeting h3{margin:0;color:var(--ink);font-size:24px;font-weight:700;letter-spacing:-.03em;line-height:1.3;overflow-wrap:anywhere}.welcome-home-greeting p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.welcome-home-greeting .welcome-home-nowrap{white-space:nowrap}.welcome-home-birthday{display:flex;align-items:center;gap:6px;min-height:24px;margin:0 var(--welcome-card-inset) 2px;color:var(--clay-ink);font-size:13px;line-height:1.5}.welcome-home-birthday svg{flex:none}.welcome-home-perforation{position:relative;margin:7px 0 0;border-top:1px dashed var(--line)}.welcome-home-perforation:before,.welcome-home-perforation:after{position:absolute;top:-6px;width:12px;height:12px;border-radius:50%;background:var(--canvas);content:""}.welcome-home-perforation:before{left:-6px}.welcome-home-perforation:after{right:-6px}.welcome-home-receipt-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:5px var(--welcome-card-inset);color:var(--muted);font-size:12px;line-height:1.4}.welcome-home-resident{display:flex;min-width:0;align-items:center;gap:8px;color:var(--ink);font-weight:600}.welcome-home-residents{display:flex;min-width:0;align-items:center;gap:8px}.welcome-home-residents .welcome-home-resident{gap:5px}.welcome-home-resident>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.welcome-home-resident .welcome-home-avatar{display:grid;flex:none;place-items:center;width:24px;height:24px;overflow:hidden;border:1px solid var(--paper);border-radius:50%;font-size:12px}.welcome-home-resident .welcome-home-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.welcome-home-receipt-footer time{flex:none;font-variant-numeric:tabular-nums}.welcome-home-actions{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px 16px 6px}.welcome-home-actions>:is(button,a){display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;gap:7px;padding:5px 4px;border:0;border-radius:8px;background:transparent;color:var(--accent);font:inherit;font-size:14px;font-weight:600;line-height:1.35;text-align:center;text-decoration:none;cursor:pointer}.welcome-home-actions>:is(button,a) svg{flex:none}.welcome-home-actions>:is(button,a) span{min-width:0;overflow-wrap:anywhere}html[data-input-modality=keyboard] .welcome-home :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:2px}@keyframes welcome-receipt-arrive{0%{transform:translateY(6px)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.welcome-home-ticket{animation:none}}@media(max-height:700px){.welcome-home-greeting{padding-top:10px;padding-bottom:5px}.welcome-home-perforation{margin-top:5px}.welcome-home-paired .welcome-home-hero{height:clamp(72px,min(42vw,calc(100dvh - 510px)),156px)}}.welcome-home-message{margin:12px 0 8px;padding-right:0}.welcome-home-message>.message-content{width:100%}.welcome-home-message .message-avatar .assistant-avatar{display:block;width:32px;height:32px;border-radius:50%;object-fit:contain}.welcome-home-message .welcome-home{--welcome-card-inset: 12px;margin:0;max-width:none}.welcome-home-message .welcome-home-ticket{border:1px solid var(--ai-line);border-radius:5px 16px 16px;box-shadow:none}.welcome-home-message .welcome-home-hero,.welcome-home-message .welcome-home-paired .welcome-home-hero{height:clamp(84px,min(40vw,calc(100dvh - 540px)),156px);border-radius:4px 15px 0 0}.welcome-home-message .welcome-home-greeting h3{font-size:22px}.welcome-home-message .welcome-home-photo-labels{inset:10px 10px auto}.welcome-home-message .welcome-home-receipt-footer{flex-wrap:wrap;row-gap:4px}.welcome-home-message .welcome-home-residents{flex-shrink:0}.welcome-home-message .welcome-home-actions{padding-inline:10px}.welcome-home-avatar-blue{background:var(--note-blue)}.welcome-home-avatar-coral{background:var(--note-mint)}.welcome-home-message .welcome-home-residents{max-width:100%;flex-wrap:wrap}.welcome-home-message .welcome-home-resident{max-width:100%}.welcome-home-message .welcome-home-resident>span:last-child{overflow-wrap:anywhere;white-space:normal;text-overflow:clip}.welcome-home-message .welcome-home-receipt-footer time{white-space:normal}.legacy-birthday-anchor{display:block;height:0;overflow:hidden;scroll-margin:16px}.welcome-home-guide{color:var(--ink)}.welcome-home-guide-hero{display:block;width:100%;height:auto;border-radius:var(--radius-md)}.welcome-home-guide-tagline{width:fit-content;margin:var(--space-5) auto var(--space-3);padding:var(--space-1) var(--space-2);border-radius:var(--radius-xs);background:var(--note-mint);font-size:var(--mobile-text-secondary)}.welcome-home-guide h2{margin:var(--space-4) 0 var(--space-3);text-align:center;font-size:var(--mobile-text-title);line-height:1.5;overflow-wrap:anywhere}.welcome-home-guide-intro{margin:0 0 var(--space-4);color:var(--muted);text-align:center;font-size:var(--mobile-text-body);line-height:1.6}.welcome-home-guide-status{padding:var(--space-3);background:var(--accent-soft);color:var(--ink);border-radius:var(--radius-sm);font-size:var(--mobile-text-secondary);line-height:1.6}.welcome-home-guide-cards{display:grid;gap:var(--space-3)}.welcome-home-guide-card{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4);background:var(--canvas);border-radius:var(--radius-md)}.welcome-home-guide-card h3{margin:var(--space-1) 0 var(--space-2);color:var(--ink);font-size:var(--mobile-text-body);line-height:1.5}.welcome-home-guide-card p{margin:0;color:var(--muted);font-size:var(--mobile-text-body);line-height:1.6}.welcome-home-guide-label{color:var(--accent);font-size:var(--mobile-text-small);font-weight:600}.welcome-home-sticker{width:128px;height:128px;flex-shrink:0;background-image:url(/app/assets/azai-stickers-kgExu7dt.webp);background-size:200% 200%;background-repeat:no-repeat;background-color:var(--note-lilac);border:var(--space-1) solid var(--paper);border-radius:var(--radius-lg);transform:rotate(-3deg);box-shadow:var(--shadow-xs)}.welcome-home-guide-card:nth-child(2n) .welcome-home-sticker{transform:rotate(3deg)}.welcome-home-sticker-0{background-position:left top}.welcome-home-sticker-1{background-position:right top}.welcome-home-sticker-2{background-position:left bottom}.welcome-home-sticker-3{background-position:right bottom}.welcome-home-guide-note{display:flex;justify-content:center;align-items:center;gap:var(--space-3);margin:var(--space-6) 0;color:var(--muted);font-size:var(--mobile-text-body);line-height:1.5}.welcome-home-guide-note strong{color:var(--ink)}.welcome-home-guide-close{width:100%;-webkit-appearance:none;appearance:none}.welcome-home-guide-close svg{flex:none}@media(max-width:600px){.welcome-home-guide-card{flex-direction:column;align-items:stretch}.welcome-home-sticker{align-self:center}}.notebook-page.world-page{width:100%;min-height:100%;max-width:1080px;margin:0 auto;padding:0 24px 32px;background:var(--paper)}.notebook-page.world-page>.tab-page-header{margin-inline:-24px}.notebook-page .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%}.notebook-sections{display:flex;gap:24px;align-items:center;min-height:44px;border-bottom:1px solid var(--line-soft);margin:var(--space-1) 0 var(--space-3);padding:0}.notebook-sections>button{display:flex;align-items:center;gap:var(--space-2);position:relative;min-height:44px;padding:0 0 var(--space-2);border:0;border-radius:0;background:transparent;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title);color:var(--muted);font-weight:400}.notebook-sections>button[aria-pressed=true]{color:var(--ink);font-weight:550}.notebook-sections>button[aria-pressed=true]:after{content:"";height:3px;border-radius:4px;background:var(--accent);position:absolute;bottom:3px;left:0;width:28px}.notebook-pending-dot{position:absolute;top:4px;right:-8px;width:6px;height:6px;border-radius:50%;background:var(--attention-dot)}.notebook-panel[hidden]{display:none}.notebook-page.world-page:has(>.notebook-panel:not([hidden])>.content-state-loading){display:flex;flex-direction:column;min-height:calc(100dvh - 68px)}.notebook-panel:not([hidden]):has(>.content-state-loading){display:flex;flex:1;flex-direction:column}.notebook-panel>.content-state-loading{flex:1;justify-content:center;min-height:220px}html[data-layout=mobile] .notebook-page.world-page:has(>.notebook-panel:not([hidden])>.content-state-loading){min-height:100%}.record-sections{container-type:inline-size}.notebook-page .record-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;padding-top:var(--space-2);align-items:stretch}.notebook-page article.knowledge-card{--record-paper: #f9e0e7;--record-ink: #583d4b;--record-muted: #785769;position:relative;display:flex;min-width:0;min-height:0;padding:0;border:1px solid transparent;border-radius:16px;background:var(--record-paper);box-shadow:0 3px 9px #00000008;overflow:visible}.notebook-page article.knowledge-card[data-tone=mint]{--record-paper: #e0f1e9;--record-ink: #34554c;--record-muted: #527165}.notebook-page article.knowledge-card[data-tone=blue]{--record-paper: #e6eafb;--record-ink: #424e70;--record-muted: #5c6785}.notebook-page article.knowledge-card[data-tone=butter]{--record-paper: #f0e1d2;--record-ink: #594739;--record-muted: #76624f}[data-theme=dark] .notebook-page article.knowledge-card{--record-paper: #46333e;--record-ink: #f6eaf0;--record-muted: #d4c3cc}[data-theme=dark] .notebook-page article.knowledge-card[data-tone=mint]{--record-paper: #2c423b;--record-ink: #e9f3eb;--record-muted: #c0d2c6}[data-theme=dark] .notebook-page article.knowledge-card[data-tone=blue]{--record-paper: #303c53;--record-ink: #e9eff8;--record-muted: #c2cedf}[data-theme=dark] .notebook-page article.knowledge-card[data-tone=butter]{--record-paper: #463b32;--record-ink: #f6f0df;--record-muted: #d9ceb2}@media(hover:hover)and (pointer:fine){.notebook-page article.knowledge-card:hover{border-color:var(--record-muted)}}.notebook-page article.knowledge-card.is-wide{grid-column:1 / -1}.notebook-page article.knowledge-card.conflict{outline:1px solid var(--check-line)}.note-tape{position:absolute;width:32px;height:9px;top:-4px;left:calc(50% - 16px);border-radius:1px;background:var(--record-muted);opacity:.15;pointer-events:none}.shared-notebook .note-tape{width:52px;height:16px;top:-6px;left:calc(50% - 26px)}.knowledge-open{display:flex;flex-direction:column;width:100%;min-width:0;padding:20px 13px 14px;border:0;border-radius:inherit;background:transparent;color:var(--record-ink);text-align:left;font-size:.875rem}.knowledge-open h2{flex-shrink:0;max-height:calc(2 * var(--mobile-leading-list-title));font-size:var(--mobile-text-list-title);font-weight:600;line-height:var(--mobile-leading-list-title);margin:0 0 var(--space-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.025em;overflow-wrap:anywhere}.knowledge-excerpt{flex-shrink:0;margin:0;height:calc(4 * var(--mobile-leading-secondary));display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:var(--record-muted);font-size:1em;line-height:var(--mobile-leading-secondary);white-space:pre-wrap;overflow-wrap:anywhere}.record-meta{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin-top:auto;padding-top:var(--space-2);color:var(--record-muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption);gap:2px}.record-meta>span{text-align:left}.shared-notebook .record-meta{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:0 7px;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.record-meta-divider{color:var(--record-muted);font-style:normal}.knowledge-card.is-wide .knowledge-open{padding:var(--space-4);font-size:var(--mobile-text-list-title)}.knowledge-card.is-wide .knowledge-excerpt{height:calc(3 * var(--mobile-leading-secondary));-webkit-line-clamp:3}.knowledge-card.is-wide .record-meta{flex-direction:row;justify-content:space-between;gap:8px}@container (min-width: 656px){.notebook-page .record-list{gap:20px 18px}.notebook-page:not(.shared-notebook) .knowledge-open,.notebook-page:not(.shared-notebook) .knowledge-card.is-wide .knowledge-open{padding:24px;font-size:1rem}.notebook-page:not(.shared-notebook) .knowledge-excerpt{height:calc(3 * var(--mobile-leading-body));line-height:var(--mobile-leading-body);-webkit-line-clamp:3}.notebook-page:not(.shared-notebook) .record-meta{flex-direction:row;justify-content:space-between;gap:8px}}.knowledge-reading-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.knowledge-reading-top .knowledge-kind{background:transparent;padding:0;color:var(--muted);font-size:.75rem;font-weight:500}.knowledge-reading-title{margin:var(--space-2) 0;font-size:var(--mobile-text-reader-title);font-weight:600;line-height:var(--mobile-leading-reader-title)}.knowledge-reading-content{margin:0 0 var(--space-4);color:var(--ink);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.notebook-reading .knowledge-meta{margin:0 0 var(--space-4);padding:0;color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.knowledge-sources{border-top:1px solid var(--line-soft);padding-top:8px;color:var(--muted)}.knowledge-sources summary{min-height:44px;padding-block:12px;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.knowledge-sources .claim-list>div{display:grid;gap:6px;padding:12px;margin-top:8px;background:var(--wash);border-radius:12px;font-size:.8125rem;line-height:1.7;white-space:pre-wrap}.editor-note{margin:16px 0;color:var(--muted);font-size:.8125rem;line-height:1.7}.reminder-group{position:relative;border:0;border-radius:var(--radius-lg);background:var(--paper);box-shadow:0 3px 5px var(--card-shadow);padding:6px 12px 6px 3px}.reminder-group:before{content:"";position:absolute;top:-7px;left:calc(50% - 22px);width:44px;height:13px;background:var(--tape);transform:rotate(-4deg);opacity:.75;pointer-events:none}.shared-notebook .reminder-group{border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:none;padding:6px 12px 6px 3px}.shared-notebook .reminder-group:before{display:none}.reminder-row{position:relative;overflow:hidden}.reminder-row-content{position:relative;display:flex;align-items:center;gap:3px;min-height:var(--mobile-row-multiline);padding:var(--space-3) 0;background:var(--paper);touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:transform .2s ease}.reminder-row-content.is-dragging{transition:none}.reminder-swipe-actions{position:absolute;inset:0 0 0 auto;display:flex}.reminder-swipe-actions[aria-hidden=true]{visibility:hidden}.reminder-swipe-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:72px;min-height:56px;padding:12px 3px;border:0;border-radius:0;background:var(--accent-soft);color:var(--accent);font:inherit;font-size:13px}.reminder-swipe-actions button:nth-child(2){background:var(--wash);color:var(--muted)}.reminder-swipe-actions button.is-danger{background:var(--danger);color:var(--paper)}.reminder-accessible-actions{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0}.reminder-accessible-actions:focus-visible{position:static;width:auto;height:auto;min-height:44px;overflow:visible;clip-path:none;padding:8px;background:var(--accent-soft);color:var(--accent)}@media(prefers-reduced-motion:reduce){.reminder-row-content{transition:none}}.reminder-row+.reminder-row{border-top:1px solid var(--line-soft)}.reminder-row-body{min-width:0;flex:1}.reminder-open{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;color:var(--ink);text-align:left;font:inherit}.reminder-open>p{color:var(--muted);font-size:var(--mobile-text-compact);margin:2px 0 0;line-height:var(--mobile-leading-compact);overflow-wrap:anywhere}.reminder-open .reminder-note-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;margin:2px 0 0}.reminder-reading>p{color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.reminder-reading>.reminder-time{color:var(--accent)}.reminder-reading>.reminder-time.is-due{color:var(--attention-dot)}.reminder-check{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:0;border-radius:50%;background:transparent;color:var(--accent)}.reminder-check>span{display:block;border:1.5px solid var(--check-line);width:21px;height:21px;border-radius:50%}@media(hover:hover)and (pointer:fine){.reminder-check:hover>span{border-color:var(--accent);background:var(--accent-soft)}}.reminder-edit-link{display:block;width:100%;min-width:0;text-align:left;border:0;background:transparent;color:var(--ink);padding:0}.reminder-edit-link>h4{margin:0;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title);font-weight:550;overflow-wrap:anywhere}.reminder-row-body>p{color:var(--muted);font-size:var(--mobile-text-compact);margin:var(--space-1) 0 0;line-height:var(--mobile-leading-compact);overflow-wrap:anywhere}.reminder-row .reminder-time{color:var(--accent);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.reminder-row .reminder-recipient{font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);margin-top:1px}.reminder-row .reminder-time.is-due{color:var(--attention-dot)}.reminder-row .form-error{color:var(--danger)}.reminder-history{margin-top:24px}.reminder-history>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:5px 2px;color:var(--muted);font-size:.8125rem;cursor:pointer;list-style:none}.reminder-history>summary::-webkit-details-marker{display:none}.reminder-history summary b{font-weight:400;margin-left:6px}.reminder-history[open] summary>svg{transform:rotate(180deg)}.reminder-row:is(.completed,.canceled) h4{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--check-line)}.shared-reminder-history{--history-text: color-mix(in srgb, var(--muted) 62%, var(--paper) 38%);margin-top:8px}.personal-reminder-history{--history-text: color-mix(in srgb, var(--muted) 62%, var(--paper) 38%)}.notebook-page :is(.shared-reminder-history,.personal-reminder-history)>summary{color:var(--history-text)}.notebook-page :is(.shared-reminder-history,.personal-reminder-history)>summary svg{color:var(--history-text)}.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-open,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-open>p,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-edit-link,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-note-preview,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-list-meta,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-time,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-time.is-due,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-recipient,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-list-divider,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-list-extra,.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row .reminder-check{color:var(--history-text)}.notebook-page :is(.shared-reminder-history,.personal-reminder-history) .reminder-row:is(.completed,.canceled) .reminder-edit-link>h4{color:var(--history-text)}.reminder-list-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;margin:2px 0 0;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.reminder-list-divider{color:var(--line)}.reminder-list-extra{margin:var(--space-1) 0 0;color:var(--muted);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);overflow-wrap:anywhere}.reminder-list-meta .reminder-recipient{margin:0}.reminders-empty{display:flex;align-items:center;flex-direction:column;gap:16px;padding:48px 0;color:var(--muted)}.reminders-empty h4{margin:0;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title);font-weight:500}.notebook-page .notebook-action-notice{background:var(--wash);color:var(--ink);border:0;border-radius:14px;padding:14px;font-size:.8125rem;line-height:1.7}.notebook-page .notebook-empty{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:0;padding:64px 8px;border:0;border-radius:0;background:transparent;box-shadow:none}.notebook-empty h3{font-size:var(--mobile-text-body);font-weight:550;margin:0}.notebook-empty>p{max-width:26rem;margin:var(--space-2) 0 var(--space-5);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);color:var(--muted)}.notebook-panel>.content-state{margin-block:var(--space-4)}html[data-layout=mobile] .notebook-page{padding:0 16px 32px}html[data-layout=mobile] .notebook-page.world-page>.tab-page-header{margin-inline:-16px}.knowledge-excerpt.is-standalone{color:var(--record-ink);margin-top:0}.notebook-page{--reminder-check-size:var(--space-4);--reminder-compact-inner-gap:var(--space-1);--reminder-compact-outer-gap:calc(2 * var(--reminder-compact-inner-gap));--reminder-compact-leading:var(--mobile-leading-compact)}.notebook-page .reminder-check>:is(span,svg){width:var(--reminder-check-size);height:var(--reminder-check-size)}.notebook-page.personal-notebook{width:100%;max-width:none;min-height:100%;margin:0;padding:0;background:var(--canvas)}html[data-layout=mobile] .notebook-page.personal-notebook{padding:0}.personal-notebook-topbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:var(--space-1);height:var(--inner-nav-height);padding:0 var(--inner-nav-inset);border-bottom:1px solid var(--line-soft);background:var(--paper)}.personal-notebook-topbar .icon-button{display:grid;place-items:center;color:var(--ink);text-decoration:none}.personal-notebook-topbar h1{margin:0;font-size:var(--mobile-text-nav-title);line-height:var(--mobile-leading-nav-title);font-weight:600}.personal-notebook-body{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-3) var(--space-4) var(--space-8)}.personal-reminders,.personal-reminder-history{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper)}.personal-notebook .reminder-group{padding:0 var(--space-3) 0 3px;border-radius:0;background:transparent;box-shadow:none}.personal-notebook .reminder-group:before{display:none}.personal-notebook .reminder-row-content{min-height:calc(2 * var(--reminder-compact-leading) + var(--reminder-compact-inner-gap) + 2 * var(--reminder-compact-outer-gap));padding:var(--reminder-compact-outer-gap) 0}.personal-notebook .reminder-note-preview,.personal-notebook .reminder-row .reminder-recipient{display:none}.personal-notebook .reminder-row .reminder-time{margin-top:var(--reminder-compact-inner-gap);color:var(--muted);line-height:var(--reminder-compact-leading)}.personal-notebook .reminder-row .reminder-time.is-due{color:var(--attention-dot)}.personal-notebook .reminder-row h4{font-size:var(--mobile-text-list-title);line-height:var(--reminder-compact-leading)}.personal-reminder-more{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:0;border-top:1px solid var(--line-soft);background:transparent;color:var(--accent);font-size:var(--mobile-text-secondary);font-weight:500}.personal-empty{margin:0;padding:var(--space-5) var(--space-4);color:var(--muted);font-size:var(--mobile-text-secondary)}.personal-reminder-history>summary{display:flex;align-items:center;justify-content:space-between;min-height:var(--touch-target);padding:var(--space-3) var(--space-4);list-style:none;cursor:pointer;font-size:var(--mobile-text-module);line-height:var(--mobile-leading-module)}.personal-reminder-history>summary::-webkit-details-marker{display:none}.personal-reminder-history>summary svg{color:var(--muted);transform:rotate(-90deg)}.personal-reminder-history[open]>summary{border-bottom:1px solid var(--line-soft)}.personal-reminder-history[open]>summary svg{transform:none}.personal-notebook .reminder-swipe-actions[aria-hidden=true]{visibility:hidden}.conversation-list-page{display:flex;flex-direction:column;min-height:100%;background:var(--paper)}.conversation-list-scroll{flex:1;min-height:0;padding:4px 0;overflow:auto}.conversation-list-scroll:has(>.content-state-loading){display:flex;flex-direction:column}.conversation-list-scroll>.content-state-loading{flex:1;justify-content:center;min-height:220px}.conversation-row{display:flex;align-items:center;gap:12px;width:100%;min-height:84px;padding:12px 16px;border:0;border-bottom:1px solid var(--line-soft);background:var(--paper);color:var(--ink);text-align:left}.conversation-avatar{position:relative;display:grid;flex:none;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.conversation-avatar img{border-radius:50%}.conversation-avatar-couple{background:transparent}.conversation-avatar-couple .couple-avatars{transform:translateY(-3px)}.conversation-row-main{display:block;flex:1;min-width:0}.conversation-row-main>span:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.conversation-row-main strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body)}.conversation-row-main small{flex:none;color:var(--muted);font-size:var(--mobile-text-caption)}.conversation-preview{display:block;overflow:hidden;margin-top:3px;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);text-overflow:ellipsis;white-space:nowrap}.conversation-unread-dot{position:absolute;top:0;right:0;z-index:1;width:8px;height:8px;border-radius:50%;background:var(--attention-dot);box-shadow:0 0 0 2px var(--paper)}.conversation-back{flex:none}.chat-heading:has(.conversation-back){gap:8px}.chat-heading .room-identity{flex:1;min-width:0}.chat-heading .room-identity h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading-actions a[aria-label=个人小本本] svg{width:22px;height:22px}.chat-heading-actions{display:flex;align-items:center;flex:none}.chat-message-stage{position:relative;display:flex;flex:1;min-height:0}.chat-scope-note{position:absolute;inset:10px 12px auto;z-index:2;display:flex;align-items:center;gap:8px;margin:0;padding:11px 12px;border:1px solid var(--ai-line);border-radius:10px;background:var(--ai-bubble);color:var(--accent);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);font-weight:600;pointer-events:none}.chat-message-stage:has(.chat-scope-note) .message-list{padding-top:calc(var(--chat-scope-note-height, 44px) + 20px)}.chat-scope-note svg{flex:none}.chat-scope-note span{min-width:0;overflow-wrap:anywhere}.app-shell .chat-panel .message-composer{padding-top:var(--space-2);padding-bottom:var(--space-2)}@media(max-width:350px){.conversation-row{padding:10px}}.public-info-shell{position:fixed;inset:0;z-index:40;overflow-y:auto;overscroll-behavior:contain;background:var(--canvas);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.privacy-inner-page>.privacy-nav{display:flex;align-items:center;width:min(100%,680px);margin-inline:auto;padding-inline:var(--inner-nav-inset)}.privacy-inner-page .public-info-back{color:var(--accent)}.privacy-inner-page>.public-info-page{padding-top:16px}.public-info-page{box-sizing:border-box;width:100%;max-width:680px;margin:0 auto;padding:max(var(--space-5),env(safe-area-inset-top)) var(--space-4) max(var(--space-8),env(safe-area-inset-bottom));color:var(--ink);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);overflow-wrap:anywhere}.public-info-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-6)}.public-info-nav a,.public-info-actions a{display:inline-flex;align-items:center;min-height:44px}.public-info-back{justify-content:center}.public-info-page .public-info-back{text-decoration:none}.public-info-page a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}:where(html[data-input-modality=keyboard]) .public-info-page a:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:var(--radius-xs)}.public-info-page h1{margin:0;font-size:var(--mobile-text-title);line-height:var(--mobile-leading-title);font-weight:600}.privacy-inner-page:has(>.public-info-page>.azai-loading-indicator){display:flex;flex-direction:column;min-height:100%}.privacy-inner-page>.public-info-page:has(>.azai-loading-indicator){display:flex;flex-direction:column;flex:1}.public-info-page>.azai-loading-indicator{flex:1}.privacy-inner-page>.privacy-nav{flex:none}.public-info-page h2{margin:0 0 var(--space-2);font-size:var(--mobile-text-module);line-height:var(--mobile-leading-module);font-weight:600}.public-info-page p{margin:var(--space-2) 0}.public-info-eyebrow,.public-info-meta{color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.public-info-section{margin-top:var(--space-4);padding:var(--space-4);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg)}.public-info-section ul{padding-left:var(--space-5);margin:var(--space-3) 0}.public-info-section li+li{margin-top:var(--space-3)}.public-info-section>:last-child{margin-bottom:0}.public-info-providers{margin:var(--space-4) 0}.public-info-providers dt{font-weight:600;margin-top:var(--space-3)}.public-info-providers dd{margin:0}.public-info-email{-webkit-user-select:text;user-select:text;font-weight:600}.public-info-actions{display:flex;flex-wrap:wrap;gap:var(--space-3) var(--space-5)}.agreement-check{display:flex;align-items:flex-start;gap:8px;margin:14px 0;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);text-align:left}.agreement-check input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin-top:2px}.entry-agreement{font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption);color:var(--muted);text-align:left}.entry-agreement a{text-decoration:underline}.scene-tree-pet{position:absolute;aspect-ratio:1;pointer-events:none}.juanjuan-trigger{display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:45%;background:transparent;box-shadow:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where(html[data-input-modality=keyboard]) .juanjuan-trigger:focus-visible{outline:2px solid var(--accent, #d8785e);outline-offset:2px}.juanjuan-sprite{display:block;width:100%;height:100%;pointer-events:none;background:var(--pet-sprite) 0 0 / 200% 100% no-repeat;transform-origin:50% 85%;animation:juanjuan-idle 10s step-end infinite,juanjuan-breathe 4s ease-in-out infinite;animation-delay:var(--pet-idle-delay, 0s),0s}.scene-tree-pet[data-reaction=meow] .juanjuan-sprite,.scene-tree-pet[data-reaction=silent] .juanjuan-sprite{animation:none;background-position:100% 0}.juanjuan-response{position:absolute;left:95%;top:35%;width:max-content;max-width:180px;padding:5px 9px;border-radius:12px;background:var(--surface, #fffaf4);color:var(--text, #3b3530);font-size:12px;line-height:1.5;box-shadow:0 3px 12px #49382015;pointer-events:none}.juanjuan-response:empty{display:none}@keyframes juanjuan-idle{0%,68%,88%,to{background-position:0 0}70%,86%{background-position:100% 0}}@keyframes juanjuan-breathe{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.018)}}@media(prefers-reduced-motion:reduce){.juanjuan-sprite{animation:none}}.scene-cabinet-curtain{position:absolute;display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.scene-cabinet-curtain img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;visibility:hidden}.scene-cabinet-curtain[data-curtain=open] img{visibility:visible}:where(html[data-input-modality=keyboard]) .scene-cabinet-curtain:focus-visible{outline:2px solid var(--coral);outline-offset:3px}.room-loading-state{display:grid;place-content:center;flex:1;min-height:280px;width:100%;background:var(--canvas)}.home-room-stage:has(>.room-loading-state){display:flex;flex-direction:column}.home-room-stage>.room-loading-state{min-height:max(280px,55dvh)}html[data-layout=mobile] .home-room-stage>.room-loading-state{min-height:0}.home-page>.content-state-compact{margin:var(--space-3) var(--space-4)}.notification-page{max-width:660px;margin:0 auto;padding:16px 16px 32px;color:var(--ink)}.app-shell>main:has(>.notification-page-loading){display:flex;flex-direction:column;min-height:calc(100dvh - 68px)}.app-shell>main:has(>.notification-page-loading)>.native-back{flex:none;align-self:flex-start}.notification-page-loading{display:flex;flex:1;align-items:center;justify-content:center;width:100%;padding-block:0}.notification-page-loading>.notification-preferences{display:none}html[data-layout=mobile] .notification-page.notification-page-loading{padding-block:0}.notification-preferences{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper)}.notification-preferences label{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;min-height:var(--mobile-row-height);border-bottom:1px solid var(--line);cursor:pointer;font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title)}.notification-preferences label:last-child{border-bottom:0}.notification-preferences strong{font-weight:500}.notification-preferences input{width:22px;height:22px;margin:0;accent-color:var(--accent);flex-shrink:0}.notification-entry{display:grid;place-items:center;text-decoration:none}:is(.chat-message,.reminder-row):target{outline:2px solid var(--accent);outline-offset:3px}.notification-status{margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper)}.notification-status p{margin:0;line-height:var(--mobile-leading-secondary);font-size:var(--mobile-text-secondary)}.notification-status button{min-height:var(--mobile-control-secondary);margin-top:var(--space-2);padding:7px var(--space-4);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:8px}.flow-root{--flow-display: 26px;--flow-page-glow: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 54%);--flow-tap-min: 44px;--flow-control-gap: .75rem;--flow-block-gap: 1.5rem;--flow-section-gap: 2rem;--flow-art-width: 280px;box-sizing:border-box;display:flex;flex-direction:column;container-type:size;width:min(100%,440px);height:var(--visual-viewport-height, 100dvh);min-height:0;margin:0 auto;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);overflow:hidden;color:var(--ink);background:var(--paper)}.flow-root *,.flow-root *:before,.flow-root *:after{box-sizing:border-box}.flow-root button{font:inherit;cursor:pointer}.flow-root input,.flow-root select{font:inherit}.flow-root .flow-screen{display:flex;flex:1;min-height:0;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;background:var(--paper)}.flow-root .flow-screen::-webkit-scrollbar{width:0;height:0}:where(html[data-input-modality=keyboard]) .flow-root .flow-screen :is(button,a,input[type=checkbox]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.flow-root .flow-screen input:not([type=checkbox]):focus-visible,.flow-root .flow-screen select:focus-visible{outline:none;box-shadow:none}.flow-root .flow-body,.flow-root .flow-fields,.flow-root .flow-actions{display:grid;gap:var(--flow-control-gap);min-width:0}.flow-root .flow-body{padding:0 16px}.flow-root .flow-body+.flow-body{padding-top:var(--flow-block-gap)}.flow-root .flow-center{align-content:center;text-align:center}.flow-root .flow-title{margin:0;font-size:var(--mobile-text-reader-title);line-height:var(--mobile-leading-reader-title);font-weight:600;letter-spacing:-.02em}.flow-root .flow-sub{margin:0;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.flow-root .flow-foot{display:grid;gap:var(--flow-control-gap);margin-top:auto;padding:var(--flow-block-gap) 16px 24px}.flow-root .flow-screen input{caret-color:var(--accent)}.flow-root .flow-screen ::selection{color:var(--ink);background:var(--accent-soft)}@media(min-width:721px){.flow-root{border-inline:1px solid var(--line-soft)}}.flow-screen{display:flex;flex:1;min-height:0;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;background:var(--paper)}.flow-screen::-webkit-scrollbar{width:0;height:0}:where(html[data-input-modality=keyboard]) .flow-screen :is(button,a,input[type=checkbox]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.flow-body,.flow-fields,.flow-actions{display:grid;gap:var(--flow-control-gap);min-width:0}.flow-body{display:grid;gap:var(--flow-control-gap);padding:0 16px}.flow-body+.flow-body{padding-top:var(--flow-block-gap)}.flow-center{align-content:center;text-align:center}.flow-title{margin:0;font-size:var(--mobile-text-reader-title);line-height:var(--mobile-leading-reader-title);font-weight:600;letter-spacing:-.02em}.flow-sub{margin:0;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.flow-foot{display:grid;gap:var(--flow-control-gap);margin-top:auto;padding:var(--flow-block-gap) 16px 24px}.flow-auth{padding-bottom:24px}.flow-auth-content{display:flex;flex:none;flex-direction:column;gap:var(--flow-section-gap);width:100%;margin-block:auto;padding-top:24px}.flow-auth-content>.flow-foot{margin-top:calc(var(--flow-control-gap) - var(--flow-section-gap));padding-top:0;padding-bottom:0}.product-screen>.flow-back{flex:none}.flow-welcome{background:var(--flow-page-glow)}.flow-hero{display:grid;flex:none;justify-items:center;gap:16px;padding:0 16px;text-align:center}.flow-art{position:relative;flex:none;width:min(var(--flow-art-width),100%);aspect-ratio:280 / 164;overflow:hidden}.flow-art img{position:absolute;left:50%;top:50%;width:var(--art-image-width);max-width:none;height:auto;transform:translate(calc(-1 * var(--art-center-x)),calc(-1 * var(--art-center-y)))}.flow-art--welcome{--art-image-width: 92.86%;--art-center-x: 50.07%;--art-center-y: 49.95%}.flow-art--start{--art-image-width: 62.86%;--art-center-x: 50.41%;--art-center-y: 47.7%}.flow-art--create{--art-image-width: 100%;--art-center-x: 53.31%;--art-center-y: 49.91%}.flow-art--join{--art-image-width: 84.29%;--art-center-x: 49.17%;--art-center-y: 48.25%}.flow-hero-copy{display:grid;justify-items:center;gap:var(--flow-control-gap)}.flow-hero-copy h1{margin:0;font-size:var(--flow-display);line-height:1.28;font-weight:650;letter-spacing:-.025em}.flow-hero-note{margin:0;color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.flow-form{flex:none;margin-top:0}.flow-actions{gap:8px}.flow-error{margin:0;color:var(--danger);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.flow-body>input,.flow-fields>input,.flow-inline-inputs input,.flow-two select,.flow-input-lg{width:100%;min-height:var(--mobile-control-input);padding:0 12px;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:var(--paper);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);outline:none;transition:border-color .14s ease}.flow-body input::placeholder,.flow-input-lg::placeholder{color:var(--muted)}.flow-body>input:focus,.flow-fields>input:focus,.flow-two select:focus,.flow-input-lg:focus{border-color:var(--accent)}.flow-inline-inputs{display:flex;min-width:0;gap:8px}.flow-inline-inputs input{flex:1;min-width:0}.flow-inline-inputs input:focus{border-color:var(--accent)}@media(forced-colors:active){.flow-body>input:focus,.flow-fields>input:focus,.flow-inline-inputs input:focus,.flow-two select:focus,.flow-input-lg:focus{border-color:Highlight}}.flow-ghost-inline{flex:none;min-height:var(--mobile-control-input);padding:0 12px;border:1px solid var(--line);border-radius:16px;color:var(--accent-strong);background:var(--paper);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);white-space:nowrap;transition:transform .12s ease}.flow-ghost-inline:active{transform:scale(.97)}.flow-ghost-inline:disabled{color:var(--muted)}.flow-cred-switch{justify-self:center;min-height:44px;padding:0 12px;border:0;color:var(--accent-strong);background:transparent;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);white-space:nowrap}.flow-input-lg{text-align:center}.flow-two{display:grid;grid-template-columns:1fr 1fr;gap:var(--flow-control-gap)}.flow-two select{text-align:center;padding-inline:12px 8px}.flow-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--mobile-control-primary);padding:0 20px;border:0;border-radius:999px;color:var(--on-accent);background:var(--accent-strong);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);font-weight:600;letter-spacing:-.01em;box-shadow:inset 0 1px #ffffff2e;transition:transform .12s ease,background-color .14s ease}.flow-cta:active{transform:scale(.975);background:var(--accent)}.flow-cta:disabled{opacity:.4;transform:none}.flow-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--flow-tap-min);padding:0 16px;border:1px solid var(--line);border-radius:999px;color:var(--accent-strong);background:var(--paper);font-size:14px;transition:transform .12s ease,border-color .14s ease}.flow-ghost:active{transform:scale(.97)}.flow-ghost.on{border-color:var(--accent);background:var(--accent-soft)}.flow-link{min-height:var(--flow-tap-min);padding:0 8px;border:0;border-radius:999px;color:var(--accent-strong);background:transparent;font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.flow-back{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;min-height:var(--back-target-size);margin:8px 0 0 8px;padding:0 8px;border:0;border-radius:999px;color:var(--muted);background:transparent;font-size:14px}.flow-choice{display:flex;align-items:center;gap:13px;width:100%;min-height:76px;padding:14px 16px;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:var(--paper);text-align:left;transition:transform .14s ease,border-color .14s ease}.flow-choice:active{transform:scale(.985);border-color:var(--accent)}.flow-choice-mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:14px}.flow-choice-mark.lilac{color:var(--accent);background:var(--accent-soft)}.flow-choice-mark.clay{color:var(--clay-ink);background:var(--clay-soft)}.flow-choice-copy{display:grid;flex:1;gap:3px;min-width:0}.flow-choice-copy strong{font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);font-weight:600}.flow-choice-copy small{color:var(--muted);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact)}.flow-choice>svg{flex:none;color:var(--muted)}.flow-start{background:var(--flow-page-glow)}.flow-start .flow-back{flex:none}.flow-start-content{display:grid;flex:none;gap:var(--flow-section-gap);margin-block:auto;padding:24px 16px 32px}.flow-start-heading{display:grid;justify-items:center;gap:12px;text-align:center}.flow-start-heading .flow-art{margin-bottom:4px}.flow-start-heading .flow-title{font-size:var(--flow-display);line-height:1.28}.flow-start-heading .flow-sub{max-width:280px}.flow-start-choices{display:grid;gap:var(--flow-control-gap);min-width:0}.flow-start .flow-choice{min-height:104px;padding:20px 16px;gap:12px;border-color:var(--line);background:var(--paper)}.flow-start .flow-choice-mark{width:44px;height:44px;border-radius:999px}.flow-start .flow-choice-mark.lilac{background:var(--accent-soft)}.flow-start .flow-choice-mark.clay{background:var(--clay-soft)}.flow-start .flow-choice-copy{gap:8px}.flow-start .flow-choice-copy small{max-width:22em}.flow-start .flow-choice>svg{color:var(--accent-strong)}@media(hover:hover)and (pointer:fine){.flow-start .flow-choice:hover{border-color:var(--accent)}}.flow-preview{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--line-soft);border-radius:20px;background:var(--accent-soft)}.flow-agree{display:flex;align-items:center;gap:8px;min-height:var(--flow-tap-min);cursor:pointer;color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.flow-agree input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent)}.flow-policy-name{color:var(--accent-strong);text-decoration:none}.flow-invite{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:0 14px;border:1px solid var(--line-soft);border-radius:20px;background:var(--wash);text-align:left}.flow-invite span{color:var(--muted);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);white-space:nowrap}.flow-invite strong{display:inline-flex;align-items:center;gap:4px;color:var(--accent-strong);font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);font-weight:600;white-space:nowrap}.flow-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 0}.flow-dots{display:flex;gap:6px}.flow-dots span{width:7px;height:7px;border-radius:999px;background:var(--line);transition:background-color .2s ease}.flow-dots span.current{width:20px;background:var(--accent)}.flow-dots span.done{background:var(--accent)}.flow-guide-progress{display:flex;align-items:center;gap:12px}.flow-guide-back{display:grid;place-items:center;width:44px;height:44px;margin-left:-8px;padding:0;border:0;color:var(--muted);background:transparent;border-radius:999px}.flow-guide-back:disabled{visibility:hidden}.flow-pills{display:flex;gap:var(--flow-control-gap)}.flow-pill{display:flex;justify-content:center;align-items:center;gap:8px;flex:1;min-height:var(--mobile-control-primary);border:1px solid var(--line);border-radius:999px;color:var(--ink);background:var(--paper);font-size:var(--mobile-text-body);transition:transform .12s ease,border-color .14s ease}.flow-pill:active{transform:scale(.98)}.flow-pill.on{border-color:var(--accent);color:var(--accent-strong);background:var(--accent-soft);font-weight:600}.flow-avatar{display:grid;gap:16px;justify-items:center}.flow-avatar-face{display:grid;place-items:center;width:96px;height:96px;border-radius:999px;color:var(--clay-ink);background:var(--clay-soft);font-size:34px;font-weight:600}.flow-avatar-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--flow-control-gap)}.flow-avatar-face{overflow:hidden}.flow-avatar-face img{width:100%;height:100%;object-fit:cover}.flow-dims{display:grid;gap:var(--flow-control-gap)}.flow-dim{display:grid;grid-template-columns:1fr 1fr;gap:var(--flow-control-gap)}.flow-dim-opt{display:grid;gap:3px;min-height:64px;align-content:center;padding:10px;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:var(--paper);text-align:center;transition:transform .12s ease,border-color .14s ease,background-color .14s ease}.flow-dim-opt:active{transform:scale(.975)}.flow-dim-opt strong{display:flex;align-items:center;justify-content:center;gap:4px;font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);font-weight:600}.flow-dim-opt small{color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.flow-dim-opt.on{border-color:var(--accent);background:var(--accent-soft)}.flow-dim-opt.on strong{color:var(--accent-strong)}.flow-type{display:grid;justify-items:center;gap:4px;min-height:52px;align-content:center;padding:8px 0;color:var(--muted);font-size:var(--mobile-text-caption)}.flow-type span{color:var(--muted);font-size:var(--mobile-text-secondary);font-weight:600;letter-spacing:.02em;transition:color .22s ease}.flow-type.on span{color:var(--accent-strong);font-size:var(--flow-display);letter-spacing:.06em}.flow-spring{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:flex-start;padding-top:clamp(24px,6cqh,48px);padding-bottom:24px;overflow-y:auto;animation:flow-in .34s cubic-bezier(.22,1,.36,1) both}@keyframes flow-in{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}.flow-keyboard{flex:none;display:grid;grid-template-rows:repeat(4,1fr);gap:7px;height:min(300px,50%);padding:10px 8px 24px;background:var(--wash);border-top:1px solid var(--line-soft)}.flow-kb-row{display:flex;gap:6px}.flow-kb-row span{flex:1;min-height:0;border-radius:7px;background:var(--paper);box-shadow:0 1px #30244312}.flow-kb-row span.wide{flex:3}@media(max-width:720px){.flow-root .flow-auth{--flow-art-width: 196px;--flow-section-gap: 16px;padding-bottom:12px}.flow-root .flow-auth-content{margin-block:0;padding-top:12px}.flow-root .flow-auth .flow-hero{gap:12px}.flow-root .flow-auth .flow-hero-copy h1{font-size:var(--mobile-text-reader-title)}.flow-root .flow-auth .flow-hero-note{display:none}}html[data-keyboard-open=true] .flow-root .flow-guide>.flow-foot{flex:none;margin-top:0;padding-top:0;padding-bottom:12px}@media(prefers-reduced-motion:reduce){.flow-spring{animation:none}.flow-cta,.flow-ghost,.flow-ghost-inline,.flow-choice,.flow-pill,.flow-dim-opt{transition:none}.flow-cta:active,.flow-ghost:active,.flow-ghost-inline:active,.flow-choice:active,.flow-pill:active,.flow-dim-opt:active{transform:none}.flow-dots span,.flow-type,.flow-type span{transition:none}}@container (max-height: 620px){.flow-start-content{gap:24px;padding-block:16px}.flow-auth-content{padding-top:16px}}.flow-root .flow-agree{gap:7px;flex-wrap:wrap}.flow-root .flow-agree a{color:var(--accent-strong);text-underline-offset:3px}.flow-root .flow-form .flow-otp-note{margin:0;color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption)}.flow-root .flow-avatar-face .protected-image{width:100%;height:100%;object-fit:cover}.agreement-toast-stack{pointer-events:none}.ai-mode-toast.agreement-toast{justify-content:center;color:#fff;background:#18181bd1}.app-dialog-fullscreen{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#fff}.app-dialog-fullscreen .app-dialog-surface{height:100%;max-height:none;border-radius:0;background:#000}.app-dialog-fullscreen .app-dialog-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.app-dialog-fullscreen .app-dialog-heading button{display:none}.app-dialog-fullscreen .app-dialog-content{height:100%;max-height:none;padding:0;overflow:hidden}.avatar-cropper{height:100%;min-height:0;display:flex;flex-direction:column;background:#000;color:#fff;padding-top:env(safe-area-inset-top)}.avatar-cropper-stage{flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;padding:24px 22px}.avatar-cropper-preview{position:relative;width:min(calc(100vw - 44px),calc(100dvh - 230px),640px);aspect-ratio:1;flex:none}.avatar-cropper-original{position:absolute;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}.avatar-cropper-preview canvas{position:relative;z-index:1;display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.avatar-cropper-preview canvas:active{cursor:grabbing}.avatar-cropper-frame{position:absolute;z-index:2;inset:0;border:1px solid #fff;box-shadow:0 0 0 200vmax #000b;pointer-events:none}.avatar-cropper-frame i{position:absolute;display:block;width:14px;height:14px;border:0 solid #fff}.avatar-cropper-frame .tl{top:-3px;left:-3px;border-width:4px 0 0 4px}.avatar-cropper-frame .tr{top:-3px;right:-3px;border-width:4px 4px 0 0}.avatar-cropper-frame .bl{bottom:-3px;left:-3px;border-width:0 0 4px 4px}.avatar-cropper-frame .br{bottom:-3px;right:-3px;border-width:0 4px 4px 0}.avatar-cropper-frame .tm,.avatar-cropper-frame .bm{left:calc(50% - 7px);height:4px;background:#fff}.avatar-cropper-frame .tm{top:-3px}.avatar-cropper-frame .bm{bottom:-3px}.avatar-cropper-frame .ml,.avatar-cropper-frame .mr{top:calc(50% - 7px);width:4px;background:#fff}.avatar-cropper-frame .ml{left:-3px}.avatar-cropper-frame .mr{right:-3px}.avatar-cropper-loading{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.avatar-cropper-tools,.avatar-cropper-actions{display:flex;align-items:center;justify-content:space-between;flex:none;padding:12px 22px}.avatar-cropper-tools{min-height:64px}.avatar-cropper-actions{min-height:88px;padding-block:20px max(20px,env(safe-area-inset-bottom));margin-top:12px;border-top:1px solid #111}.avatar-cropper button{display:grid;place-items:center;min-height:44px;min-width:44px;padding:0;color:#fff;background:transparent;border:0;font:inherit;font-size:18px}.avatar-cropper button:disabled{color:#555}.avatar-cropper .form-error{padding-inline:22px}html[data-layout=mobile] .app-dialog-fullscreen[open]{padding:0;background:#000}html[data-layout=mobile] .app-dialog-fullscreen .app-dialog-surface{max-width:none;border-radius:0;background:#000}html[data-layout=mobile] .app-dialog-fullscreen .app-dialog-content{overflow:hidden}.avatar-cropper-range:focus-visible{position:absolute;left:22px;bottom:154px;width:calc(100% - 44px);height:44px;margin:0;padding:0;clip-path:none;clip:auto;overflow:visible;z-index:3;accent-color:#fff}.mood-avatar{position:relative;border:0;cursor:pointer;flex-shrink:0;overflow:visible}.mood-avatar-badge{position:absolute;right:-7px;bottom:-5px;width:20px;height:20px;display:grid;place-items:center;background:var(--paper);border-radius:var(--radius-pill);font-size:15px;line-height:1}.mood-dialog{padding:0;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--paper);color:var(--ink);width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 40px);box-shadow:var(--shadow-lg)}.mood-dialog::backdrop{background:var(--backdrop)}.mood-panel{padding:24px}.mood-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.mood-panel h2{font-size:21px;margin:0}.mood-panel fieldset{border:0;padding:0;margin:0;min-width:0}.mood-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px}.mood-presets button{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-md);padding:12px 3px;background:var(--surface-input);color:var(--ink);font-size:var(--text-sm);cursor:pointer}.mood-presets button span{font-size:25px}.mood-presets button.selected{border-color:var(--coral);background:var(--coral-soft)}.mood-inputs{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px}.mood-inputs .field{margin:0;min-width:0}.mood-inputs input{width:100%;min-width:0;box-sizing:border-box}.mood-emoji-input input{text-align:center}.mood-meta{display:flex;justify-content:space-between;margin-top:9px;color:var(--muted);font-size:var(--text-sm)}.mood-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:24px}.mood-actions .text-button{margin-right:auto}.scene-message-bubble.scene-custom-mood{max-width:170px;display:inline-flex;align-items:center;gap:5px;font-size:var(--text-md);line-height:1.4;white-space:normal;overflow-wrap:anywhere}.scene-custom-mood .mood-symbol{font-size:22px;flex-shrink:0}.scene-custom-mood .mood-text{font-size:var(--text-md)}@media(max-width:600px){.mood-panel{padding:20px}.mood-inputs input{font-size:16px}.scene-message-bubble.scene-custom-mood{max-width:135px}}.app-dialog.account-dialog{--dialog-width: 480px;width:min(480px,calc(100% - 32px))}.account-dialog .app-dialog-heading{padding:16px 20px 12px;border-bottom:0}.account-dialog .app-dialog-heading h2{color:var(--ink);font-size:20px;line-height:1.4;font-weight:600}.account-dialog .app-dialog-content{padding:0 20px 20px;color:var(--ink);font-size:14px;line-height:1.6}.account-dialog .app-dialog-content form.account-form{display:grid;gap:0;min-width:0;margin:0}.account-dialog p,.account-dialog h3,.account-dialog ul{margin:0}.account-intro,.account-delete-rules,.account-verification{display:grid;min-width:0}.account-intro{gap:4px;margin-bottom:24px}.account-form>.account-field{margin-bottom:16px}.account-code-group+.account-agreement-check{margin-top:4px}.account-form>.account-primary-button{margin-top:12px}.account-description{color:var(--ink);font-size:15px;line-height:1.55}.account-help{color:var(--muted);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.account-field{display:grid;gap:8px;min-width:0;color:var(--ink);font-size:14px;line-height:1.45;font-weight:500}.account-field input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-input, var(--paper));color:var(--ink);font:inherit;font-size:16px;line-height:1.4}.account-field input::placeholder{color:var(--muted);opacity:1}.account-field input:disabled{opacity:.68}.account-dialog .account-field input:focus{outline:none;box-shadow:none}.account-dialog .account-field input:not([aria-invalid=true]):focus{border-color:var(--input-focus-border)}.account-code-group{display:grid;gap:8px;min-width:0}.account-code-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,max-content);align-items:end;gap:8px;min-width:0}.account-code-field{min-width:0}.account-code-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:116px;min-height:48px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--accent-strong);font:inherit;font-size:14px;line-height:1.35;white-space:nowrap;cursor:pointer}.account-code-button:disabled{opacity:.58;cursor:not-allowed}.account-feedback{display:grid;gap:3px;min-width:0}.account-feedback:empty{display:none}.account-status,.account-error,.account-method-loading,.account-method-error p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.account-status,.account-method-loading{color:var(--muted)}.account-error,.account-method-error p{color:var(--danger)}.account-agreement-check,.account-confirm-check{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;min-width:0;min-height:44px;box-sizing:border-box;padding-block:10px;color:var(--ink);font-size:14px;line-height:1.55;font-weight:400;cursor:pointer}.account-agreement-check input,.account-confirm-check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent)}.account-agreement-check a{margin-inline:4px;color:var(--accent-strong);text-decoration:underline;text-underline-offset:2px}.app-dialog.account-dialog .account-primary-button{width:100%;min-height:48px;padding:10px 16px;border-radius:12px;background:var(--accent-strong);color:var(--on-accent);font-size:15px;line-height:1.4;font-weight:600;box-shadow:none;cursor:pointer;transition:background-color var(--dur-fast),opacity var(--dur-fast)}.app-dialog.account-dialog .account-primary-button:disabled{cursor:not-allowed}.app-dialog.account-dialog .account-primary-button.is-danger{background:var(--danger);color:var(--on-danger)}.account-delete-rules{gap:12px;margin-bottom:20px;color:var(--muted);font-size:14px;line-height:1.58}.account-delete-lead{color:var(--ink);font-size:16px;line-height:1.5;font-weight:600}.account-delete-rules ul{display:grid;gap:8px;padding-left:20px}.account-delete-rules li{padding-left:1px;overflow-wrap:anywhere}.account-delete-backup{color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.account-verification{gap:0;padding-top:16px;border-top:1px solid var(--line-soft)}.account-verification h3{color:var(--ink);font-size:14px;line-height:1.45;font-weight:600}.account-dialog .account-verification h3{margin-bottom:12px}.account-verification>.account-field{margin-bottom:16px}.account-verification+.account-confirm-check{margin-top:4px}.account-method-error{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.account-method-error p{flex:1}.account-retry-button{flex:none;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--accent-strong);font:inherit;font-size:14px;cursor:pointer}.account-retry-button:disabled{opacity:.58;cursor:not-allowed}@media(hover:hover)and (pointer:fine){.account-code-button:hover:not(:disabled),.account-retry-button:hover:not(:disabled){background:var(--canvas)}.app-dialog.account-dialog .account-primary-button:hover:not(:disabled){min-height:48px;border-radius:12px;font-size:15px;transform:none;background:var(--accent-strong);filter:brightness(.94)}.app-dialog.account-dialog .account-primary-button.is-danger:hover:not(:disabled){background:var(--danger);filter:brightness(.94)}}@media(max-width:380px){.account-dialog .app-dialog-heading{padding:16px 16px 12px}.account-dialog .app-dialog-content{padding:0 16px 16px}}@media(max-width:350px){.account-code-row{grid-template-columns:minmax(0,1fr) minmax(108px,max-content);gap:6px}.account-code-button{min-width:108px;padding-inline:8px;font-size:13px}}@media(max-width:320px){.account-dialog .app-dialog-heading,.account-dialog .app-dialog-content{padding-inline:16px}}@media(max-height:560px)and (max-width:700px){.account-dialog .app-dialog-content{overscroll-behavior:contain}}@media(prefers-reduced-motion:reduce){.account-primary-button{transition:none}}.me-page{max-width:var(--dialog-width);margin:0 auto;padding:4px 16px 28px;min-height:100%;background:var(--paper)}.me-page>.tab-page-header{margin:0 -16px 4px}.me-profile{display:flex;align-items:center;gap:13px;min-width:0;padding:2px 3px 24px}.me-profile-copy{min-width:0}.me-profile-copy p{margin:4px 0 0;color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption);overflow-wrap:anywhere}.me-section{margin:0 0 22px}.me-section-label{margin:0 0 9px;padding-left:2px;color:var(--muted);font-size:13px;line-height:20px;font-weight:500}.me-group{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.me-row{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0 15px;border:0;background:transparent;color:var(--ink);font-size:15px;line-height:22px;text-align:left;text-decoration:none}.me-row>span{flex:1;min-width:0}.me-row small{display:block;margin-top:var(--space-1);color:var(--muted);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.me-row>svg{flex:none;color:var(--muted)}.me-row:active{background:var(--wash)}.me-row+.me-row{border-top:1px solid var(--line-soft)}.me-row>.me-row-value{flex:0 1 auto;color:var(--muted);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:20px}.me-logout{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;width:100%;padding:0 12px;margin-top:8px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--muted);font-size:15px;line-height:22px}.me-notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);color:var(--ink);background:var(--success-soft);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}.me-avatar{position:relative;display:grid;place-items:center;flex:none;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--clay-soft);color:var(--clay-ink);font-size:17px}.me-avatar img{display:block;width:48px;height:48px;max-width:100%;object-fit:cover;border-radius:50%}.me-avatar-edit{position:absolute;bottom:-3px;right:-3px;display:grid;place-items:center;width:20px;height:20px;border:2px solid var(--paper);border-radius:50%;background:var(--accent);color:var(--on-accent)}.me-nickname{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:18px;line-height:25px;font-weight:600}.cupid-page{position:fixed;inset:0;z-index:40;overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);color:#efdad0;background:#1f1620;color-scheme:dark}.cupid-navbar{flex:0 0 52px;display:flex;position:relative;align-items:center;gap:4px;padding:0 10px;width:min(100%,460px);margin:0 auto}.cupid-navbar button,.cupid-navbar a{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:#e7d6ce;font:inherit;font-size:13px;text-decoration:none}.cupid-navbar button:disabled{opacity:.35}.cupid-navbar a[aria-disabled=true]{opacity:.35}.cupid-navbar>button{width:44px;flex:none}.cupid-navbar>button:nth-of-type(2){margin-left:auto}.cupid-navbar .cupid-exit{width:66px;flex:none}.cupid-navbar-title{position:absolute;left:50%;transform:translate(-50%);width:calc(100% - 254px);line-height:1.35;pointer-events:none;text-align:center;font-size:13px;letter-spacing:.1em;color:#d8bfb4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cupid-content{flex:1;min-height:0;position:relative;width:100%}.cupid-frame{display:block;width:100%;height:100%;border:0;background:#1f1620}.cupid-lobby{position:absolute;inset:0;display:grid;place-items:center;padding:20px 24px;overflow-y:auto;color:#efdad0;background:#1f1620}.cupid-lobby button,.cupid-connection button{font:inherit;color:#efdad0;min-height:44px;padding:10px 18px;border:1px solid #e8c07d55;border-radius:24px;background:#ffffff08}.cupid-lobby button:disabled{opacity:.5}.cupid-lobby-card{text-align:center;width:min(100%,340px)}.cupid-lobby-heart{display:block;font-size:68px;line-height:1;margin-bottom:22px;color:#e8c07d;text-shadow:0 0 36px #f47c5955}.cupid-lobby-card h1{font-size:23px;font-weight:500;letter-spacing:.06em;margin:0}.cupid-lobby-card p{margin:16px 0;color:#c9a89f;font-size:14px;line-height:1.8}.cupid-lobby-members{display:flex;justify-content:center;gap:42px;margin:28px 0}.cupid-lobby-members>div{display:flex;flex-direction:column;align-items:center;gap:9px;max-width:125px}.cupid-lobby-members span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:1px solid #e8c07d44;background:#352633;color:#bba0a1;font-size:21px}.cupid-lobby-members span.present{background:#d79276;color:#341f27;box-shadow:0 0 0 3px #e8c07d22}.cupid-lobby-members strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.cupid-lobby-members small{color:#ae9394;font-size:12px}.cupid-lobby-actions{display:grid;gap:12px}.cupid-lobby button.cupid-primary{background:#e8c07d;color:#35222c;border:0;font-weight:600}.cupid-lobby-actions>button:last-child{border:0;background:transparent;color:#bba0a1}.cupid-connection{position:absolute;bottom:8px;left:8px;right:8px;border-radius:12px;padding:8px 12px;background:#382331;color:#fff3e8;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}:where(html[data-input-modality=keyboard]) .cupid-page :is(button,a):focus-visible{outline:2px solid #e8c07d;outline-offset:2px}.woodfish-game{text-align:center}.woodfish-stage{position:relative;display:grid;place-items:center;min-height:320px}.woodfish-button{display:grid;place-items:center;width:min(300px,100%);min-height:260px;padding:70px 0 30px;border:0;background:transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.woodfish-art{position:relative;display:block;width:240px;height:140px}.woodfish-floats{position:absolute;inset:0;pointer-events:none}.woodfish-floats>span{position:absolute;top:80px;color:var(--ds-accent-gold);font-size:20px;white-space:nowrap;animation:duo-merit-float 1.2s ease-out forwards}@keyframes duo-merit-float{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-70px)}}.woodfish-hint{color:var(--ds-text-secondary);font-size:14px}.woodfish-sound{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:12px auto 24px;padding:10px 16px;background:transparent;border:1px solid var(--ds-border);border-radius:24px;color:var(--ds-text-secondary)}.divination-woodfish-cover{display:flex;align-items:center;justify-content:center;height:220px;width:200px}.divination-woodfish-cover .woodfish-art{flex-shrink:0;transform:scale(.68)}.woodfish-body{display:block;position:relative;width:240px;height:140px;background:linear-gradient(135deg,#8b4513,sienna 30%,#8b4513 70%,#654321);border-radius:120px;box-shadow:inset 0 -30px 50px #0006,inset 0 10px 20px #ffffff1a,0 15px 40px #0009;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3));transition:all .15s;overflow:hidden}.woodfish-strike .woodfish-body{animation:duo-woodfish-knock .2s ease-out}@keyframes duo-woodfish-knock{0%{transform:scale(1) translateY(0)}30%{transform:scale(.98) translateY(3px)}60%{transform:scale(1.02) translateY(-2px)}to{transform:scale(1) translateY(0)}}.woodfish:active .woodfish-body{transform:scale(.97);box-shadow:inset 0 -30px 50px #00000080,inset 0 10px 20px #ffffff1a,0 8px 20px #000000b3}.woodfish-top{position:absolute;top:0;left:0;right:0;height:70px;background:linear-gradient(135deg,sienna,#8b4513,#654321);border-radius:120px 120px 0 0;box-shadow:inset 0 8px 20px #0000004d}.woodfish-bottom{position:absolute;bottom:0;left:0;right:0;height:70px;background:linear-gradient(135deg,#654321,#8b4513,sienna);border-radius:0 0 120px 120px}.woodfish-mouth{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100px;height:20px;background:#0009;border-radius:0 0 50px 50px;box-shadow:inset 0 8px 15px #000000b3,0 2px 5px #0000004d;border:2px solid rgba(101,67,33,.8)}.woodfish-pattern{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100px;height:100px;border:4px solid rgba(139,69,19,.6);border-radius:50%;box-shadow:0 0 0 20px #8b451366,0 0 0 35px #8b45134d,0 0 0 50px #8b451333}.woodfish-body:before{content:"";position:absolute;top:20px;left:50%;transform:translate(-50%);width:180px;height:2px;background:linear-gradient(90deg,transparent 0%,rgba(101,67,33,.5) 20%,rgba(101,67,33,.5) 80%,transparent 100%);border-radius:1px}.woodfish-body:after{content:"";position:absolute;bottom:20px;left:50%;transform:translate(-50%);width:180px;height:2px;background:linear-gradient(90deg,transparent 0%,rgba(101,67,33,.5) 20%,rgba(101,67,33,.5) 80%,transparent 100%);border-radius:1px}.woodfish-stick{position:absolute;top:-30px;right:100px;display:flex;flex-direction:column;align-items:center;transform-origin:top center;transform:rotate(-30deg);transition:transform .15s ease-out;z-index:5;pointer-events:none}.woodfish-strike .woodfish-stick{animation:duo-woodfish-stick-strike .2s ease-out}@keyframes duo-woodfish-stick-strike{0%{transform:rotate(-30deg) translateY(0)}50%{transform:rotate(0) translateY(80px)}to{transform:rotate(-30deg) translateY(0)}}.woodfish:active .woodfish-stick{transform:rotate(0) translateY(80px)}.woodfish-stick-handle{width:10px;height:100px;background:linear-gradient(180deg,#654321,#8b4513,sienna);border-radius:5px;box-shadow:0 3px 8px #0006,inset 2px 0 5px #ffffff1a,inset -2px 0 5px #0003;position:relative;order:2}.woodfish-stick-handle:before{content:"";position:absolute;inset:0 2px;background:repeating-linear-gradient(90deg,transparent,transparent 3px,rgba(101,67,33,.3) 3px,rgba(101,67,33,.3) 5px);border-radius:5px}.woodfish-stick-head{width:32px;height:32px;background:radial-gradient(circle at 30% 30%,sienna,#8b4513,#654321);border-radius:50%;box-shadow:0 4px 10px #00000080,inset 0 -8px 15px #0006,inset 0 3px 8px #ffffff1a;margin-bottom:-8px;border:2px solid rgba(101,67,33,.8);position:relative;order:1}.woodfish-stick-head:before{content:"";position:absolute;top:25%;left:30%;width:8px;height:8px;background:#ffffff4d;border-radius:50%;filter:blur(2px)}@media(prefers-reduced-motion:reduce){.woodfish-game *,.woodfish-game *:before,.woodfish-game *:after{animation:none!important;transition:none!important}}@media(max-width:370px){.woodfish-button .woodfish-art{transform:scale(.85)}}@media(max-width:600px){.divination-woodfish-cover{width:100%;height:168px}.divination-woodfish-cover .woodfish-art{transform:scale(.5)}}.woodfish-current{display:grid;gap:6px;margin:24px auto 0;color:var(--ds-text-secondary);font-size:13px}.woodfish-current strong{font-size:38px;line-height:1.2;font-weight:500;color:var(--ds-accent-gold);font-variant-numeric:tabular-nums}.woodfish-game .woodfish-stage{min-height:260px}.woodfish-stats{max-width:520px;margin:4px auto 28px;padding:20px;border:1px solid var(--ds-border);border-radius:20px;background:var(--ds-bg-elevated);text-align:left}.woodfish-stats-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.woodfish-game .woodfish-stats h2{margin:0;font-size:14px;font-weight:500;color:var(--ds-text-secondary)}.woodfish-stats-heading>span{color:var(--ds-accent-gold);font-size:12px;white-space:nowrap}.woodfish-total{display:flex;align-items:baseline;gap:9px;margin:18px 0;color:var(--ds-text-secondary);font-size:12px}.woodfish-total strong{color:var(--ds-text-primary);font-size:30px;font-weight:500;font-variant-numeric:tabular-nums}.woodfish-members{display:flex;padding-top:16px;border-top:1px solid var(--ds-border)}.woodfish-members>div{flex:1;min-width:0;display:grid;gap:6px;padding:0 14px;text-align:center}.woodfish-members>div+div{border-left:1px solid var(--ds-border)}.woodfish-member-name{overflow-wrap:anywhere;color:var(--ds-text-secondary);font-size:13px}.woodfish-members strong{color:var(--ds-text-primary);font-size:21px;font-weight:500;font-variant-numeric:tabular-nums}.woodfish-members small{color:var(--ds-text-secondary);font-size:11px}.woodfish-sync{color:var(--ds-text-secondary);font-size:12px;line-height:1.6}.woodfish-sync button{margin-left:8px;padding:6px;border:0;background:transparent;color:var(--ds-accent-gold)}.woodfish-tap-hint{margin:var(--space-2) 0;color:var(--muted);font-size:var(--mobile-text-secondary);text-align:center}.woodfish-sync{font-size:var(--mobile-text-secondary)}.woodfish-sync button{min-height:var(--touch-target);min-width:var(--touch-target);margin-left:var(--space-2);padding:var(--space-2);font-size:var(--mobile-text-secondary)}.divination-page.game-layout{display:flex;flex-direction:column;position:relative;isolation:isolate;container:game / size;height:min(850px,calc(100dvh - 100px));min-height:0;width:min(100% - 40px,720px);padding:0;overflow:hidden;--game-on-accent: #1c152e}.divination-page.game-layout:is(.scene-qian,.scene-tarot,.scene-daily){--ds-bg-base: #21192f;--ds-bg-elevated: #30253f;--ds-text-primary: #f7ecdd;--ds-text-secondary: #d7c4cc;--ds-text-muted: #a995ad;--ds-border: #d9b88729;--ds-accent: #d8b574;--ds-accent-hover: #edc78a;--ds-accent-muted: #d8b57422;--ds-accent-border: #d8b57460;--game-on-accent: #332031;background:var(--ds-bg-base);color:var(--ds-text-primary)}.divination-page.game-layout.scene-qian{--ds-bg-base: #51312a;--ds-bg-elevated: #69443a;--ds-text-secondary: #e9c9ab;--ds-accent: #e3bb7e;--ds-accent-hover: #f1d19d;--game-on-accent: #4f2820}.divination-page.game-layout.scene-daily{--ds-bg-base: #e9dac0;--ds-bg-elevated: #f6ead6;--ds-text-primary: #514135;--ds-text-secondary: #76614e;--ds-text-muted: #8a7660;--ds-border: #73583630;--ds-accent: #987544;--ds-accent-hover: #ac8959;--game-on-accent: #fff6e7}.game-layout:is(.scene-qian,.scene-tarot,.scene-daily) .game-content{padding:0}.game-layout .game-scene-stage{position:relative;height:clamp(210px,34cqh,330px);width:100%;overflow:hidden}.game-layout .game-scene-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%}.game-layout .game-scene-stage:after{content:"";position:absolute;inset:auto 0 0;height:30%;background:linear-gradient(transparent,var(--ds-bg-base));pointer-events:none}.game-layout .game-scene-prop{position:absolute;z-index:1;inset:38% 20% 3%;display:flex;align-items:flex-end;justify-content:center}.game-layout .game-scene-prop>.oracle-vessel,.game-layout .game-scene-prop>.divination-vessel-stage{width:100%;height:100%;min-height:0;max-width:210px;margin:0}.game-layout .game-scene-prop .oracle-vessel{height:100%;min-height:0}.game-layout .game-scene-body{position:relative;padding:0 20px 24px}.game-layout:is(.scene-qian,.scene-tarot,.scene-daily) .divination-nav{background:color-mix(in srgb,var(--ds-bg-base) 88%,transparent);border-bottom-color:#d8b57420}.game-layout:is(.scene-qian,.scene-tarot,.scene-daily) .game-controls{background:var(--ds-bg-base);border-top-color:#d8b57420}.game-layout:is(.scene-qian,.scene-tarot,.scene-daily) .divination-primary{border-radius:28px;box-shadow:0 4px 14px #0002}.game-layout:is(.scene-qian,.scene-tarot,.scene-daily)[data-phase=result] .game-scene-body{margin-top:-46px}.game-layout.scene-daily:not([data-phase=result]) .game-scene-body{margin-top:-55px}.game-layout.scene-qian[data-phase=result] .game-scene-prop{opacity:.7}:where(html[data-input-modality=keyboard]) .game-layout:is(.scene-qian,.scene-tarot,.scene-daily) :is(button,a):focus-visible{outline:2px solid var(--ds-accent);outline-offset:4px}.game-layout .divination-nav{box-sizing:border-box;flex:none;display:grid;grid-template-columns:var(--back-target-size) minmax(0,1fr) var(--back-target-size);align-items:center;gap:8px;height:var(--inner-nav-height);min-height:var(--inner-nav-height);padding:0 var(--inner-nav-inset);border-bottom:1px solid var(--ds-border)}.game-layout .divination-nav>:first-child{justify-self:start;display:inline-flex;align-items:center;gap:4px;width:var(--back-target-size);min-height:var(--back-target-size);justify-content:center;padding:0;font-size:.8125rem;color:var(--ds-text-secondary);background:none;border:0}.game-layout .divination-nav h1{margin:0;font:550 1.0625rem/1.4 var(--ds-font-body);letter-spacing:0;text-align:center}.game-layout .game-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px 20px}.game-layout .divination-read-state:has(>.azai-loading-indicator){min-height:100%;align-content:center}.game-layout .game-controls{flex:none;padding:10px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--ds-border);background:var(--ds-bg-base);max-height:50%;overflow-y:auto}.game-layout .divination-footer{flex:none;margin:0;padding:8px 12px max(10px,env(safe-area-inset-bottom));font-size:.75rem}.game-layout .divination-primary{color:var(--game-on-accent);border-color:var(--ds-accent);font-size:.9375rem;padding:12px 16px}@media(hover:hover)and (pointer:fine){.game-layout .divination-primary:hover:not(:disabled){background:var(--ds-accent-hover)}}.game-layout .divination-hold{--hold-progress: 0%;background:linear-gradient(to right,var(--ds-accent-hover) var(--hold-progress),var(--ds-accent) var(--hold-progress))}@media(hover:hover)and (pointer:fine){.game-layout .divination-hold:hover:not(:disabled){--hold-progress: 0%;background:linear-gradient(to right,var(--ds-accent-hover) var(--hold-progress),var(--ds-accent) var(--hold-progress))}}.game-layout .divination-game-choices{margin:8px 0;gap:16px}.game-layout .divination-game-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:16px 10px;border-radius:20px;border:1px solid #efdbad30;background:var(--ds-bg-elevated);color:var(--ds-text-primary);overflow:hidden}.game-layout .divination-game-choice h2{margin:12px 0 4px;font:550 1rem/1.5 var(--ds-font-body)}.game-layout .divination-game-choice>.oracle-vessel,.game-layout .divination-cover-deck,.game-layout .divination-woodfish-cover{height:106px;width:100%;min-height:0;flex:0 0 106px;overflow:hidden}.game-layout .divination-cover-deck .tarot-card{--tarot-w: 58px;--tarot-h: 93px}.game-layout .divination-cover-deck.is-daily{transform:none;display:flex;justify-content:center;align-items:center;padding:2px 0}.game-layout .divination-game-choice .daily-card-cover{width:76px;height:102px;max-height:100%}.game-layout .daily-card-cover{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px #15152b24)}.game-layout .divination-woodfish-cover .woodfish-art{transform:scale(.48)}.game-layout .divination-game-choice>.oracle-vessel{padding:8px 0;width:88px;max-width:88px;align-self:center}.game-layout .divination-intent-art{min-height:0;height:clamp(94px,22cqh,180px);padding:4px 0}.game-layout .divination-intent-art>.oracle-vessel{width:100%;height:100%;min-height:0;max-width:180px;overflow:hidden}.game-layout .divination-intent-art .divination-cover-deck{height:100%}.game-layout .divination-intent-art>.tarot-card{--tarot-w: 84px;--tarot-h: 134px}.game-layout .divination-spreads{margin:12px 0 18px;gap:10px}.game-layout .divination-spreads button{padding:12px;gap:5px;min-height:64px}.game-layout .divination-spreads strong{font-size:.9375rem}.game-layout .divination-categories{gap:8px}.game-layout .divination-categories button{min-height:44px;padding:10px 6px;font-size:.875rem}.game-layout .divination-spreads button,.game-layout .divination-categories button{border-color:var(--ds-text-muted)}.game-layout .divination-spreads button[aria-pressed=true],.game-layout .divination-categories button[aria-pressed=true]{border-color:var(--ds-accent);box-shadow:inset 0 0 0 1px var(--ds-accent)}.game-layout .divination-direction h2{font:500 .875rem/1.5 var(--ds-font-body);margin:0 0 10px}.game-layout .divination-ritual h2,.game-layout .divination-select h2{font:500 1.0625rem/1.5 var(--ds-font-body);margin:12px 0 10px}.game-layout .divination-vessel-button{width:min(260px,70%);height:clamp(180px,43cqh,360px);margin:12px auto}.game-layout .divination-vessel-button .oracle-vessel{height:100%}.game-layout .divination-ritual .divination-intent-art{height:clamp(170px,29cqh,250px)}.game-layout .divination-ritual .divination-intent-art>.tarot-card{--tarot-w: 132px;--tarot-h: 211px}.game-layout .divination-saving{min-height:120px;height:auto;gap:20px;padding:20px 0}.game-layout .divination-saving .oracle-vessel{max-height:45cqh}.game-layout .divination-card-slots{max-width:310px;margin:16px auto;gap:24px}.game-layout .divination-card-slots>div{gap:6px}.game-layout .divination-card-slots.is-single{max-width:82px}.game-layout .divination-slot{height:clamp(84px,16cqh,126px);aspect-ratio:auto}.game-layout .divination-fan{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;max-width:480px;height:auto;gap:12px;margin:8px auto 0;padding:12px 4px 18px;overflow:visible}.game-layout .divination-fan>button{position:relative;inset:auto;grid-column:span 2;min-width:44px;min-height:44px;width:100%;height:auto;aspect-ratio:5 / 8;transform:none;border-radius:12px}.game-layout .divination-fan>button:nth-child(9){grid-column:3 / span 2}:where(html[data-input-modality=keyboard]) .game-layout .divination-fan>button:focus-visible{transform:translateY(-4px)}@media(hover:hover)and (pointer:fine){.game-layout .divination-fan>button:hover:not(:disabled){transform:translateY(-4px)}}.game-layout .divination-fan>button:disabled{opacity:.28}.game-layout .divination-fan .tarot-card-back__name-en{display:none}.game-layout .divination-fan .tarot-card-back__name{font-size:10px}.game-layout .divination-tarot-reveal{position:relative;inset:auto;min-height:0;padding:16px 0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.game-layout .divination-reveal-cards{gap:12px}.game-layout .divination-reveal-cards.is-single{max-width:170px}.game-layout .divination-reveal-name{font-size:.75rem;margin-top:12px}.game-layout .divination-result-heading{margin:0 0 12px}.game-layout .divination-result-actions{margin:0;gap:4px}.game-layout .game-result-links{display:flex;align-items:center;justify-content:center;gap:12px}.game-layout .divination-again,.game-layout .divination-chat-link{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:6px;background:transparent;border:0;font-size:.8125rem}.game-layout .divination-result-body{padding:24px 16px;background:var(--ds-bg-elevated);border:1px solid var(--ds-border);border-radius:18px;box-shadow:0 12px 35px #0002}.game-layout.scene-qian .divination-result-body{--ds-text-primary: #59372b;--ds-text-secondary: #79523e;--ds-text-muted: #947459;--ds-bg-elevated: #f4e5c9;--ds-border: #ad845536;--ds-accent: #a95d41;--ds-accent-gold: #96563a;--ds-accent-muted: #b07e4a0e;color:var(--ds-text-primary);border-radius:4px 4px 14px 14px;border:1px solid #be965969;background:linear-gradient(90deg,#ad805012,transparent 8%,transparent 92%,#ad805012),#f4e5c9}.game-layout.scene-qian .divination-poem{padding:20px 0;border-block:1px solid #a66d3b30}.game-layout.scene-qian .divination-stick-heading h2{color:#97553c}.game-layout.scene-tarot .divination-result-body{background:#30253ee8;border-color:#e3bb7e40}.game-layout.scene-tarot .divination-reading-copy>section{padding:16px 0;border-bottom:1px solid #e3bb7e20}.game-layout.scene-tarot .divination-position{color:#e2c48e}.game-layout .divination-result-body.is-compact{border:0;background:transparent;padding:0}.game-layout .divination-result-body.is-compact .divination-cards-result.is-single{grid-template-columns:110px}.game-layout .divination-result-body.is-compact .divination-cards-result{gap:12px;max-width:320px;margin:auto}.game-layout .divination-result-body.is-compact .divination-position{margin-bottom:8px}.game-layout .divination-result-body>.divination-eyebrow{margin-bottom:14px}.game-layout .divination-aspects,.game-layout .divination-yiji{grid-template-columns:1fr}.game-layout .divination-cards-result{gap:10px}.game-layout .divination-cards-result.is-single{grid-template-columns:150px}.game-layout .daily-tarot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;gap:20px}.game-layout .daily-tarot-card{margin:8px 0}.game-layout .daily-tarot-card>.daily-card-cover{width:clamp(160px,29cqh,220px);height:clamp(240px,43.5cqh,330px)}.game-layout .daily-tarot-card .tarot-card{--tarot-w: clamp(130px, 24cqh, 190px);--tarot-h: clamp(208px, 38.4cqh, 304px)}.game-layout .daily-tarot-caption{margin:0;font-size:.875rem}.game-layout .woodfish-session{display:flex;justify-content:space-between;align-items:center;gap:12px}.game-layout .woodfish-current{margin:0;text-align:left}.game-layout .woodfish-current strong{font-size:2rem}.game-layout .woodfish-stage{min-height:0;height:clamp(180px,35cqh,290px)}.game-layout .woodfish-button{min-height:0;height:100%;padding:30px 0 0}.game-layout .woodfish-sound{min-height:44px;margin:0;color:var(--ds-text-secondary)}.game-layout .woodfish-stats{margin:0 auto;padding:14px 12px;width:100%;border-radius:14px}.game-layout .woodfish-total{margin:0 0 12px;flex-wrap:wrap;gap:8px}.game-layout .woodfish-total strong{font-size:1.5rem;overflow-wrap:anywhere}.game-layout .woodfish-total small{margin-left:auto;font-size:.8125rem}.game-layout .woodfish-members{padding-top:12px}.game-layout .woodfish-members>div{gap:4px;padding:0 8px}.game-layout .woodfish-members strong{font-size:1.125rem;overflow-wrap:anywhere}.game-layout .woodfish-members small{font-size:.8125rem}.game-layout .game-intent{padding:0 0 8px}.game-layout .intent-intro{margin:0 0 18px;text-align:center}.game-layout .intent-intro h2{margin:0;font:500 1.25rem/1.5 var(--ds-font-display);color:var(--ds-text-primary);letter-spacing:.08em}.game-layout .game-intent .divination-categories{gap:4px 8px}.game-layout .game-intent .divination-categories button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:72px;padding:8px 5px;border:1px solid transparent;border-radius:14px;background:transparent;transition:background .16s,border-color .16s}.game-layout .intent-medallion{display:grid;place-items:center;width:32px;height:28px;color:var(--ds-text-secondary)}.game-layout .intent-category-label{color:var(--ds-text-primary);font-size:.8125rem}.game-layout .game-intent .divination-categories button[aria-pressed=true]{border-color:#e3bb7e70;background:#e3bb7e12;box-shadow:none}.game-layout .game-intent .divination-categories button[aria-pressed=true] .intent-medallion{color:var(--ds-accent)}.game-layout .intent-check{position:absolute;right:5px;top:5px;color:var(--ds-accent)}.game-layout .game-intent .divination-spreads{margin:0 0 18px}.game-layout .game-intent .divination-spreads button{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:5px;row-gap:5px;min-height:84px;padding:10px 12px;border:1px solid transparent;border-radius:14px;min-width:0;align-content:center;background:#e3bb7e08}.game-layout .game-intent .divination-spreads button[aria-pressed=true]{border-color:#e3bb7e70;box-shadow:none;background:#e3bb7e16}.game-layout .game-intent .divination-spreads button>span:not(.spread-motif){grid-column:1 / -1;font-size:.6875rem;white-space:nowrap}.game-layout .spread-motif{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;width:50px;color:#ead7a5;pointer-events:none}.game-layout .spread-motif i{position:relative;display:grid;place-items:center;width:31px;height:49px;border:1px solid #d7c399;border-radius:5px;font-style:normal;background:radial-gradient(ellipse at 50% 25%,#9181bc,#4e4976);box-shadow:0 3px 5px #0002}.game-layout .spread-motif i:before{content:"";position:absolute;inset:3px;border:1px solid #ead7a55c;border-radius:3px}.game-layout .spread-motif i span{font-size:20px}.game-layout .spread-motif.is-three i{flex:0 0 25px;width:25px;height:42px;margin-left:-12px;transform:rotate(-12deg)}.game-layout .spread-motif.is-three i:first-child{margin-left:0}.game-layout .spread-motif.is-three i:nth-child(2){transform:translateY(-4px)}.game-layout .spread-motif.is-three i:last-child{transform:rotate(12deg)}.game-layout .intent-tarot .divination-categories button:last-child{grid-column:2}@container game (max-height: 700px){.game-layout .game-scene-stage{height:30cqh;min-height:180px}.game-layout .intent-intro{margin-bottom:12px}.game-layout .game-intent .divination-categories button{min-height:64px;padding:6px 5px}.game-layout .game-intent .divination-spreads{margin-bottom:12px}}@container game (max-width: 340px){.game-layout .spread-motif{width:38px}}.game-layout .woodfish-sync,.game-layout .game-status{font-size:.8125rem;line-height:1.7}html[data-layout=mobile] .app-shell>main:has(.game-layout){overflow:hidden}html[data-layout=mobile] .divination-page.game-layout,.phone-shell .divination-page.game-layout{width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:0;padding:0}@container game (max-height: 650px){.game-layout .game-content{padding-top:10px;padding-bottom:10px}.game-layout .divination-card-slots{margin:10px auto}.game-layout .divination-intent-art{height:100px}.game-layout .divination-intent-art .tarot-card{--tarot-w: 58px;--tarot-h: 93px}.game-layout .divination-ritual .divination-intent-art{height:250px}.game-layout .divination-ritual .divination-intent-art>.tarot-card{--tarot-w: 120px;--tarot-h: 192px}}@container game (max-width: 320px){.game-layout .divination-game-choices{grid-template-columns:1fr}.game-layout .divination-categories{grid-template-columns:repeat(2,1fr)}.game-layout .game-content{padding-inline:12px}}@media(forced-colors:active){.game-layout .divination-primary{border:1px solid ButtonText}.game-layout button[aria-pressed=true]{outline:2px solid Highlight}}.game-layout .quiz-gallery-choice{grid-column:1 / -1;display:flex;flex-direction:column;align-items:stretch;gap:0;text-align:left;padding:12px 10px;background:linear-gradient(125deg,var(--ds-accent-muted),var(--ds-bg-elevated))}.quiz-gallery-choice>img{width:100%;height:clamp(96px,19cqh,150px);object-fit:cover;flex:none;border-radius:14px}.quiz-gallery-choice .game-choice-note{margin:6px 0 0;font-size:11px;line-height:1.6;color:var(--ds-text-secondary)}.quiz-gallery-tag,.quiz-kicker{color:var(--ds-text-secondary);font-size:11px;letter-spacing:.08em}.quiz-gallery-tag{display:inline-block;border:1px solid var(--ds-border);padding:4px 8px;border-radius:20px}.game-layout .quiz-gallery-choice h2{margin:12px 0 4px}.couple-quiz-game{--quiz-warm: var(--ds-accent-muted)}.quiz-page-inner{max-width:520px;margin:0 auto;padding-bottom:max(18px,env(safe-area-inset-bottom));color:var(--ds-text-primary)}.quiz-letter-hero{display:flex;flex-direction:column-reverse;align-items:center;text-align:center;gap:6px;padding:8px 0 24px}.quiz-letter-hero img{width:220px;height:148px;object-fit:cover;border-radius:28px;box-shadow:0 8px 28px #0000000d}.quiz-letter-hero h2{margin:10px 0 8px;font:550 24px/1.5 var(--ds-font-display);letter-spacing:.02em}.quiz-letter-hero p{margin:0;font-size:13px;line-height:1.7;color:var(--ds-text-secondary)}.quiz-letter-hero.is-small{flex-direction:row;text-align:left;gap:8px;padding:10px 0 18px}.quiz-letter-hero.is-small>div{flex:1;min-width:0}.quiz-letter-hero.is-small img{width:95px;height:86px;border-radius:22px}.quiz-letter-hero.is-small h2{font-size:19px;margin:7px 0}.quiz-intro,.quiz-question-sheet,.quiz-summary-letter,.quiz-revealed-answers>section{background:var(--ds-bg-elevated);border:1px solid var(--ds-border);border-radius:20px;padding:22px}.quiz-intro h3,.quiz-quiet-state h3{font-size:17px;line-height:1.6;margin:0 0 12px}.quiz-intro p,.quiz-quiet-state p,.quiz-summary-letter p{font-size:14px;line-height:1.9;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.quiz-promise{display:flex;align-items:center;gap:8px;color:var(--ds-text-secondary);font-size:12px;padding:12px 0 0}.quiz-page-inner .quiz-page-note{color:var(--ds-text-secondary);font-size:12px;line-height:1.8}.quiz-page-primary,.quiz-page-secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;padding:12px 16px;border-radius:14px;font-size:14px;text-decoration:none;text-align:center;line-height:1.5}.quiz-page-primary{background:var(--ds-accent);color:#1c152e;border:1px solid transparent;font-weight:600;margin-top:18px}.quiz-page-secondary{background:var(--ds-bg-elevated);color:var(--ds-text-primary);border:1px solid var(--ds-border);margin-top:12px}.quiz-page-inner button:disabled{opacity:.45;cursor:default}:where(html[data-input-modality=keyboard]) .quiz-page-inner button:focus-visible,:where(html[data-input-modality=keyboard]) .quiz-page-inner a:focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}.quiz-envelope-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.quiz-envelope-pair>div{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;border:1px solid var(--ds-border);border-radius:18px;padding:14px 8px;background:var(--ds-bg-elevated)}.quiz-envelope-pair strong{max-width:100%;overflow-wrap:anywhere;font-size:13px}.quiz-envelope-pair>div>span:last-child{font-size:11px;color:var(--ds-text-secondary)}.quiz-envelope-icon{position:relative;display:grid;place-items:center;width:48px;height:40px;margin-bottom:4px;color:var(--ds-text-secondary);background:var(--quiz-warm);border-radius:10px}.quiz-envelope-icon>svg+svg{position:absolute;bottom:4px;right:4px;background:var(--ds-bg-elevated);border-radius:50%}.is-sealed .quiz-envelope-icon{color:var(--ds-text-primary)}.quiz-page-steps{display:flex;justify-content:center;gap:10px;margin:4px 0 18px}.quiz-page-steps button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ds-bg-elevated);color:var(--ds-text-secondary);border:1px solid var(--ds-border)}.quiz-page-steps button[aria-current=step]{background:var(--quiz-warm);border-color:var(--ds-accent);color:var(--ds-text-primary)}.quiz-question-number{color:var(--ds-text-secondary);font-size:11px;letter-spacing:.06em;margin:0 0 14px}.quiz-role{display:inline-block;font-size:12px;line-height:1.8;color:var(--ds-text-primary);background:var(--quiz-warm);padding:5px 9px;border-radius:8px}.quiz-question-sheet h3{font-size:20px;line-height:1.6;margin:18px 0}.quiz-page-options{display:grid;gap:10px}.quiz-page-options button{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px;background:var(--ds-bg-base);color:var(--ds-text-primary);border:1px solid var(--ds-border);border-radius:13px;font-size:14px;line-height:1.6;text-align:left}.quiz-page-options button>span:first-child{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:8px;background:var(--ds-bg-elevated);color:var(--ds-text-secondary);font-size:11px}.quiz-page-options button>svg{margin-left:auto;flex:none}.quiz-page-options button[aria-pressed=true]{border-color:var(--ds-accent);background:var(--quiz-warm)}.quiz-locked{display:flex;align-items:center;gap:8px;background:var(--quiz-warm);padding:14px;border-radius:12px;font-size:14px}.quiz-quiet-state{text-align:center;padding:22px 14px}.quiz-quiet-state>svg{color:var(--ds-text-secondary);margin-bottom:16px}.quiz-quiet-state>a:not([class]){display:block;min-height:44px;padding:14px;color:var(--ds-text-secondary);font-size:13px}.quiz-page-end{display:block;min-height:44px;background:transparent;color:var(--ds-text-secondary);font-size:12px;border:0;margin:18px auto 0;padding:10px 16px}.quiz-page-end.is-confirming{color:var(--danger);font-weight:600}.quiz-summary-letter{border-radius:4px 20px 20px;background:linear-gradient(145deg,var(--quiz-warm),var(--ds-bg-elevated));margin-bottom:20px}.quiz-revealed-answers{display:grid;gap:14px;margin-bottom:22px}.quiz-revealed-answers h3{margin:14px 0;font-size:17px;line-height:1.7}.quiz-revealed-answers p{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.7;margin:12px 0 0}.quiz-revealed-answers p>span{font-size:11px;color:var(--ds-text-secondary)}.quiz-revealed-answers p strong{font-weight:500}.quiz-page-error{border:1px solid var(--ds-border);border-radius:14px;padding:14px;font-size:13px;line-height:1.7;margin-top:18px}@media(max-width:400px){.quiz-question-sheet,.quiz-intro,.quiz-summary-letter,.quiz-revealed-answers>section{padding:18px}.game-layout .quiz-gallery-choice{padding:12px 10px;gap:0}.quiz-gallery-choice>img{height:clamp(84px,16cqh,120px)}}@media(prefers-reduced-motion:reduce){.couple-quiz-game *,.quiz-gallery-choice{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@container game (max-height: 700px){.quiz-letter-hero.is-small{padding:2px 0 10px}.quiz-letter-hero.is-small img{width:68px;height:62px;border-radius:18px}.quiz-letter-hero.is-small h2{font-size:17px;margin:4px 0}.quiz-page-steps{margin:0 0 10px;gap:8px}.quiz-page-steps button{width:38px;height:38px}.quiz-question-sheet h3{font-size:17px;margin:10px 0}.quiz-page-options button{min-height:46px}.quiz-question-sheet .quiz-page-primary{margin-top:12px}}@media(max-width:600px){.quiz-letter-hero.is-small{padding:4px 0 14px}.quiz-letter-hero.is-small img{width:80px;height:74px}.quiz-envelope-pair{gap:10px;margin-bottom:14px}.quiz-envelope-pair>div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 8px;align-items:center;padding:12px 10px}.quiz-envelope-icon{grid-row:1 / 3;width:32px;height:34px;margin:0}.quiz-envelope-icon>svg:first-child{width:22px}.quiz-envelope-pair strong{font-size:12px}.quiz-page-steps{margin-bottom:14px}.quiz-question-sheet h3{margin:12px 0;font-size:18px}.quiz-page-options{gap:8px}.quiz-page-options button{min-height:48px;padding:10px}.quiz-question-sheet .quiz-page-primary{margin-top:14px}}.quiz-page-options button>.markdown-inline{min-width:0;flex:1}.quiz-summary-letter>.markdown{font-size:14px;line-height:1.9;margin:12px 0}@font-face{font-family:Qian Pixel;src:url(/app/assets/divination/fonts/fusion-pixel-12px-monospaced-zh_hans.otf.woff2) format("woff2");font-weight:400 700;font-display:swap}.divination-page.qian-pixel-page{--qian-ink: #583326;--qian-paper: #fcf1d4;--qian-gold: #efcd7c;--qian-red: #a83f4c;display:flex;flex-direction:column;width:min(100% - 40px,600px);height:min(900px,calc(100dvh - 100px));min-height:0;padding:0;margin:20px auto;overflow:hidden;isolation:isolate;color:var(--qian-paper);background:#842d2c;border:0;border-radius:0;box-shadow:0 4px #572926;font-family:Qian Pixel,monospace;font-synthesis:none;letter-spacing:0}.qian-pixel-page :is(button,a){font:inherit;letter-spacing:0;-webkit-tap-highlight-color:transparent}:where(html[data-input-modality=keyboard]) .qian-pixel-page :is(button,a):focus-visible{outline:3px solid #f5d688;outline-offset:5px}.qian-pixel-page :is(h1,h2,h3,p){letter-spacing:0}.qian-pixel-page .intent-intro{display:none}.qian-pixel-nav{display:flex;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px 12px;background:#f7e6c4}.qian-pixel-page .qian-pixel-nav h1{margin:0;font:24px/1.2 Qian Pixel,monospace;color:#842d2c}.qian-pixel-nav h1 span{display:block;margin-top:8px;color:#86613b;font-size:12px}.qian-pixel-exit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:2px solid #895837;color:#583326;background:#fff1d5;text-decoration:none;box-shadow:3px 3px #d3aa73;font-size:12px!important}.qian-pixel-steps{flex:none;display:flex;justify-content:center;padding:10px 24px 14px;margin:0;list-style:none;gap:28px;font-size:12px;color:#92744e;background:#f7e6c4}.qian-pixel-steps li{display:flex;align-items:center;gap:6px}.qian-pixel-steps li span{border-bottom:3px solid #d5bb8f;padding:0 2px 3px}.qian-pixel-steps .is-reached{color:#8c392a}.qian-pixel-steps .is-reached span{border-color:#c49135}.qian-pixel-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.qian-pixel-scene{position:relative;height:clamp(300px,46dvh,410px);width:100%;overflow:hidden;background:#f7e6c4}.qian-pixel-page:is([data-phase=ritual],[data-phase=saving],[data-phase=revealing]) .qian-pixel-scene{height:clamp(340px,57dvh,480px)}.qian-pixel-garden{position:absolute;inset:0;width:100%;height:100%}.qian-pixel-stage{position:absolute;height:70%;aspect-ratio:3 / 4;bottom:18%;left:50%;transform:translate(-50%)}.qian-pixel-stage .divination-vessel-stage{width:100%;height:100%;margin:0;border:0;padding:0;background:none}.qian-pixel-vessel{display:block;width:100%;height:100%;overflow:visible;image-rendering:pixelated}.qian-pixel-flying-stick{transform:translateY(calc(54px - var(--qian-lift, 0) * 85px));transform-origin:60px 90px;transition:transform .12s linear}.is-lifting .qian-pixel-bundle{animation:qian-pixel-rustle .4s steps(2,end) infinite;transform-origin:60px 90px}.is-flying .qian-pixel-flying-stick{transition:none;animation:qian-pixel-flight .16s cubic-bezier(.12,.15,.45,1) forwards}.is-shaking .qian-pixel-vessel{animation:qian-pixel-shake .32s steps(2,end) infinite;transform-origin:50% 88%}.is-revealing .qian-pixel-flying-stick{animation:qian-pixel-reveal .7s steps(9,end) forwards}.qian-pixel-smoke{animation:qian-pixel-smoke 3s steps(4,end) infinite}.qian-pixel-body{padding:20px 24px 12px;text-align:center}.qian-pixel-page .qian-pixel-body>h2{margin:0 0 18px;color:var(--qian-paper);font:18px/1.5 Qian Pixel,monospace}.qian-pixel-page .divination-direction h2{display:none}.qian-pixel-page .divination-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qian-pixel-page .intent-category{display:flex;position:relative;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:48px;padding:8px;color:#f9e5bc;border:2px solid #c88870;border-radius:0;background:#91444a;box-shadow:3px 3px #562b32;font-size:18px}.qian-pixel-page .intent-category[aria-pressed=true]{color:#583326;border-color:#f7dda1;background:#efcd7c;box-shadow:3px 3px #572926}.qian-pixel-page .intent-medallion{display:flex}.qian-pixel-page .intent-category-icon{width:18px;height:18px;stroke-width:2}.qian-pixel-page .intent-check{position:absolute;right:2px;top:2px;width:9px;height:9px}.qian-pixel-page .divination-ritual h2{display:none}.qian-pixel-page .divination-hold-hint{color:#f0d0b1;font-size:12px;line-height:1.8;margin:0;min-height:42px}.qian-pixel-page .divination-hold-hint.is-ready{color:#f5d688}.qian-pixel-selected{margin:0 0 12px;color:#f5d688;font-size:12px}.qian-pixel-page .divination-saving{display:block;min-height:0;padding:0;height:auto}.qian-pixel-page .divination-saving p{color:#f0d0b1;font-size:12px}.qian-pixel-page .qian-pixel-controls{flex:none;padding:16px 24px 22px;background:#842d2c;border:0}.qian-pixel-page .divination-primary,.qian-pixel-again{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;width:100%;padding:10px 12px;color:#583326;background:#efcd7c;border:2px solid #f9dfa2;border-radius:0;box-shadow:4px 4px #572926;font-size:18px;line-height:1.7;text-decoration:none}.qian-pixel-page .divination-primary:disabled{opacity:.5;cursor:default}.qian-pixel-page .divination-primary:not(:disabled):active,.qian-pixel-again:active{transform:translate(2px,2px);box-shadow:2px 2px #572926}.qian-pixel-page .divination-primary.divination-hold{background:linear-gradient(to right,#f7dea1 var(--hold-progress),#e7bd67 var(--hold-progress));touch-action:none}.qian-pixel-page .divination-error{color:#ffe1ce;font-size:12px;line-height:1.8}.qian-pixel-page[data-phase=result] .qian-pixel-body{padding:22px 30px}.qian-pixel-result{position:relative;padding:24px 20px 20px;border:3px solid #513e32;background:var(--qian-paper);color:#4b3a30;box-shadow:0 0 0 3px #e8c581,7px 7px #572926;clip-path:polygon(0 12px,12px 12px,12px 0,calc(100% - 12px) 0,calc(100% - 12px) 12px,100% 12px,100% calc(100% - 12px),calc(100% - 12px) calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,12px calc(100% - 12px),0 calc(100% - 12px))}.qian-pixel-result:before{content:"";position:absolute;inset:6px;border:1px solid #b59052;pointer-events:none}.qian-pixel-result-mark{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 16px;color:#9b3a42;border:2px solid #9b3a42;font-size:18px}.qian-pixel-result-category{margin:0 0 12px;font-size:12px;color:#756341}.qian-pixel-page .qian-pixel-result h2{margin:0 0 14px;color:#4b3a30;font:24px/1.3 Qian Pixel,monospace}.qian-pixel-result h2 strong{font-weight:400}.qian-pixel-level{display:inline-block;padding:5px 16px;background:#a83f4c;color:#fff0c5;font-size:12px}.qian-pixel-divider{position:relative;height:5px;border-block:1px solid #b59052;margin:22px 0}.qian-pixel-page .qian-pixel-result h3{margin:0 0 16px;color:#8b3840;font:18px/1.5 Qian Pixel,monospace;overflow-wrap:anywhere}.qian-pixel-poem{font-size:18px;line-height:1.8;overflow-wrap:anywhere}.qian-pixel-poem p{margin:6px 0}.qian-pixel-note{margin:0;font-size:12px;color:#756341}.qian-pixel-page .divination-result-actions{display:grid;grid-template-columns:minmax(108px,.85fr) minmax(0,1.45fr);gap:12px}.qian-pixel-page .divination-result-actions .divination-primary{color:#fff0d2;background:#a83f4c;border-color:#e59279}.qian-pixel-page .divination-result-actions :is(button,a){font-size:12px}.qian-pixel-page .divination-result-actions svg{flex-shrink:0}.qian-pixel-again{background:#f5ebcf;border-color:#fff5d8;white-space:nowrap}.qian-pixel-page .divination-result-actions .divination-error{grid-column:1 / -1;margin:0}@media(hover:hover)and (pointer:fine){.qian-pixel-page .divination-primary:hover:not(:disabled){background-color:#f7dda1}.qian-pixel-page .divination-result-actions .divination-primary:hover:not(:disabled){background:#ba4d56}.qian-pixel-page .intent-category:hover{border-color:#f7dda1}}@media(max-width:700px){.divination-page.qian-pixel-page{width:100%;height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;margin:0;box-shadow:none}.qian-pixel-nav{padding:14px 20px 10px}.qian-pixel-body{padding-inline:20px}.qian-pixel-page .qian-pixel-controls{padding:14px 20px 20px}.qian-pixel-page[data-phase=result] .qian-pixel-body{padding:20px 24px}}@media(max-height:740px){.qian-pixel-scene{height:260px}.qian-pixel-page:is([data-phase=ritual],[data-phase=saving],[data-phase=revealing]) .qian-pixel-scene{height:320px}.qian-pixel-body{padding-top:14px}.qian-pixel-result{padding-block:16px}.qian-pixel-result-mark{margin-bottom:12px}.qian-pixel-divider{margin-block:16px}}@keyframes qian-pixel-shake{0%,to{transform:rotate(-5deg) translate(-2px)}50%{transform:rotate(5deg) translate(2px)}}@keyframes qian-pixel-reveal{0%{transform:translateY(54px)}to{transform:translateY(-55px)}}@keyframes qian-pixel-flight{0%{transform:translateY(-31px)}to{transform:translateY(-160px)}}@keyframes qian-pixel-rustle{0%,to{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}@keyframes qian-pixel-smoke{0%,to{opacity:.5;transform:translateY(2px)}50%{opacity:1;transform:translateY(-6px)}}@media(prefers-reduced-motion:reduce){.qian-pixel-page *,.qian-pixel-page *:before{animation:none!important;transition:none!important}}.divination-page.game-layout.scene-gallery{--street-sky: #151529;--street-ink: #f9dfab;--ds-bg-base: var(--street-sky);--ds-text-primary: var(--street-ink);--ds-text-secondary: #d3bed0;--ds-border: #524358;--ds-accent: #f2ce86;background:var(--street-sky);color:var(--street-ink);font-family:Qian Pixel,monospace}.game-layout.scene-gallery .divination-nav{position:relative;z-index:2;background:var(--street-sky);border-bottom:0;padding:0 var(--inner-nav-inset)}.game-layout.scene-gallery .divination-nav h1{color:#f9dfab;font:20px/1.4 Qian Pixel,monospace;letter-spacing:2px}.game-layout.scene-gallery .divination-nav>a{color:#f9dfab;background:transparent;border:0;border-radius:0;box-shadow:none}.game-layout.scene-gallery .game-content{padding:0;scrollbar-width:thin;scrollbar-color:#635369 #151529}.game-layout.scene-gallery .game-scene-body{padding:0}.pixel-street{position:relative;isolation:isolate;overflow:hidden;background:var(--street-sky);padding:0 0 max(28px,env(safe-area-inset-bottom))}.pixel-street:before{content:"";position:absolute;z-index:-1;inset:100px 0 0;background-color:#242339;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' shape-rendering='crispEdges'%3E%3Cpath fill='%232c2a41' d='M2 2h40v19H2zM46 1h47v20H46zM-12 25h39v20h-39zM31 26h45v18H31zM80 25h29v20H80zM1 49h45v20H1zM50 50h43v18H50zM-8 73h31v20H-8zM27 74h41v19H27zM72 73h34v21H72z'/%3E%3Cpath fill='%23343049' d='M3 3h36v2H3zM48 2h40v2H48zM32 27h39v2H32zM3 50h40v2H3zM28 75h34v2H28z'/%3E%3Cpath fill='%231d2134' d='M39 17h3v4H2v-2h37zM74 40h2v4H32v-2h42zM42 64h3v5H2v-2h40zM64 88h4v5H28v-2h36z'/%3E%3C/svg%3E");background-size:128px 128px;image-rendering:pixelated;-webkit-mask-image:linear-gradient(transparent,#000 100px);mask-image:linear-gradient(transparent,#000 100px)}.pixel-street:after{content:"";position:absolute;z-index:-1;inset:110px 0 0;pointer-events:none;background:linear-gradient(90deg,#111b29b3,transparent 18%,transparent 82%,#111b29b3)}.street-intro{position:relative;height:108px;text-align:center;padding-top:8px;box-sizing:border-box}.street-moon{display:block;width:30px;height:30px;margin:0 auto 6px;filter:drop-shadow(0 0 12px #edc88833)}.game-layout.scene-gallery .street-intro h2{margin:0;color:#fae0ad;font:20px/1.4 Qian Pixel,monospace}.street-intro>p{margin:7px 0 0;color:#b2a8bd;font:12px/1.5 Qian Pixel,monospace}.street-lights{position:absolute;top:calc(100% - 8px);left:-5%;width:110%;display:flex;justify-content:space-between;height:26px}.street-lights i{position:relative;width:6px;height:7px;background:#f9d590;box-shadow:0 0 10px #ecc06c66,0 -3px #524656}.street-shops{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;max-width:640px;margin:0 auto;padding:0 10px}.street-block{position:relative;min-width:0;padding-bottom:24px}.street-shop{position:relative;display:block;width:100%;aspect-ratio:1;color:#ffe4b0;text-decoration:none;-webkit-tap-highlight-color:transparent}.street-storefront{position:absolute;inset:0;background-image:url(/app/illustrations/games/pixel-street-shops-v1.webp);background-size:300% 200%;background-repeat:no-repeat;image-rendering:pixelated;mix-blend-mode:lighten;pointer-events:none}.street-sprite-drawing{background-position:0 0}.street-sprite-qian{background-position:50% 0}.street-sprite-tarot{background-position:100% 0}.street-sprite-daily{background-position:0 100%}.street-sprite-woodfish{background-position:50% 100%}.street-sprite-cupid{background-image:url(/app/illustrations/games/pixel-cupid-shop-v1.webp);background-size:100% 100%;background-position:center;transform:translateY(3%)}.game-layout.scene-gallery .street-shop-sign{position:absolute;z-index:1;left:23%;top:var(--shop-sign-top, 24%);width:54%;margin:0;display:flex;align-items:center;justify-content:center;height:12%;color:#ffe4b0;font:clamp(16px,4.6vw,20px)/1 "Qian Pixel",monospace;letter-spacing:0;text-shadow:2px 2px #492c40;white-space:nowrap}.street-shop-enter{position:absolute;z-index:1;left:50%;top:68%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;gap:4px;min-height:28px;padding:0 7px;border:2px solid #ab8767;border-radius:2px;background:#211b2feb;box-shadow:0 3px #111426;color:#ffe3ad;font:12px/1.4 Qian Pixel,monospace;white-space:nowrap}.street-shop-note{position:absolute;z-index:1;bottom:-23px;left:0;width:100%;text-align:center;color:#e4ccbf;font:12px/1.5 Qian Pixel,monospace;text-shadow:1px 2px 0 #161528}.street-qian-vessel{position:absolute;z-index:1;left:64%;top:49%;width:17%;height:23%;pointer-events:none}.street-side-plant,.street-side-lantern{position:absolute;pointer-events:none;z-index:1}.street-side-plant{width:22px;left:-10px;bottom:24px}.street-side-lantern{width:14px;right:-10px;bottom:10px}.street-block:nth-child(2n) .street-side-plant{left:auto;right:-10px;transform:scaleX(-1)}.street-block:nth-child(2n) .street-side-lantern{display:none}.street-lantern-light{animation:street-lantern-glow 4s steps(2,end) infinite}.street-end{display:flex;align-items:center;justify-content:center;gap:12px;height:36px;color:#a79291}.street-end>span{display:block;height:2px;width:28px;background:#5d4c5d}:where(html[data-input-modality=keyboard]) .street-shop:focus-visible{outline:3px solid #ffe4b0;outline-offset:-14px}a.street-shop:active .street-shop-enter{transform:translate(-50%,2px);box-shadow:none;background:#4c3244}@media(hover:hover)and (pointer:fine){a.street-shop:hover .street-shop-enter{background:#51394a;border-color:#f9d590}}@media(min-width:600px){.street-shops{padding-inline:24px;column-gap:24px}}@media(max-width:360px){.street-shop-note{font-size:12px}.street-intro{height:104px}}@keyframes street-lantern-glow{0%,to{opacity:1}50%{opacity:.72}}@media(prefers-reduced-motion:reduce){.street-lantern-light{animation:none}}.street-shop-daily,.street-shop-woodfish,.street-shop-cupid{--shop-sign-top: 21%}html[data-layout=mobile]:has(.scene-tarot),html[data-layout=mobile] body:has(.scene-tarot),html[data-layout=mobile] .app-shell:has(.scene-tarot){background:#21192f}.game-layout.scene-tarot .tarot-exit{position:absolute;z-index:20;top:12px;right:16px;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 12px;border:1px solid #dfc69955;border-radius:22px;background:#21192fbd;color:#f7ecdd;text-decoration:none;font-size:13px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.game-layout.scene-tarot .game-controls{border:0;padding:12px 20px 18px}.game-layout.scene-tarot .game-scene-stage{height:clamp(175px,31cqh,300px);min-height:0}.game-layout.scene-tarot .game-scene-body{padding:0 18px 16px}.game-layout.scene-tarot .game-intent .divination-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-layout.scene-tarot .game-intent .divination-categories button{min-height:67px;border:1px solid #ddbe8330;border-radius:12px;background:#160f2266;gap:5px}.game-layout.scene-tarot .intent-tarot .divination-categories button:last-child{grid-column:auto}.game-layout.scene-tarot .intent-medallion{color:#d8b574}.game-layout.scene-tarot .intent-category-label{font-size:12px;white-space:nowrap}.game-layout.scene-tarot .game-intent .divination-categories button[aria-pressed=true]{background:#d8b57420;border-color:#d8b574}.game-layout.scene-tarot:is([data-phase=select],[data-phase=saving],[data-phase=revealing]) .game-scene-stage{height:clamp(120px,24cqh,205px)}.game-layout.scene-tarot .divination-select h2{margin:8px 0 4px}.game-layout.scene-tarot .divination-select>p{margin:0;font-size:12px;color:var(--ds-text-secondary)}.game-layout.scene-tarot{--draw-card-width: clamp(64px, 22cqw, 110px);--draw-card-height: calc(var(--draw-card-width) * 527 / 300);--draw-card-radius: calc(var(--draw-card-width) * .06)}.game-layout.scene-tarot .tarot-card{--tarot-radius: var(--draw-card-radius);width:var(--draw-card-width);height:var(--draw-card-height);aspect-ratio:300 / 527;flex-shrink:0}.game-layout.scene-tarot .divination-card-slots{margin:12px auto 0}.game-layout.scene-tarot .divination-card-slots>div{justify-items:center}.game-layout.scene-tarot .divination-slot{width:var(--draw-card-width);height:var(--draw-card-height);aspect-ratio:300 / 527;border:0;border-radius:var(--draw-card-radius);outline:1px dashed var(--ds-accent-border);outline-offset:-1px}.game-layout.scene-tarot .divination-fan{--fan-card-width: var(--draw-card-width);display:block;position:relative;width:calc(100% + 24px);max-width:620px;height:clamp(182px,29cqh,245px);margin:34px -12px 0;padding:0}.game-layout.scene-tarot .divination-fan>button{position:absolute;left:calc(50% + var(--fan-position) * (50% - var(--fan-card-width) * .82));top:calc(20px + var(--fan-drop));bottom:auto;width:var(--fan-card-width);height:var(--draw-card-height);min-height:0;transform-origin:center;transform:translate(-50%) rotate(var(--fan-angle));transition:transform .2s ease,opacity .2s ease}.game-layout.scene-tarot .divination-fan>button:disabled{opacity:0}:where(html[data-input-modality=keyboard]) .game-layout.scene-tarot .divination-fan>button:focus-visible{transform:translate(-50%) rotate(var(--fan-angle)) translateY(-16px);z-index:12}@media(hover:hover)and (pointer:fine){.game-layout.scene-tarot .divination-fan>button:hover:not(:disabled){transform:translate(-50%) rotate(var(--fan-angle)) translateY(-16px);z-index:12}}.game-layout.scene-tarot:is([data-phase=saving],[data-phase=revealing],[data-phase=result]) .game-scene-stage{height:clamp(100px,22cqh,185px)}.game-layout.scene-tarot:is([data-phase=saving],[data-phase=revealing],[data-phase=result]) .game-scene-body{margin:0;padding:0 18px 16px}.tarot-result{text-align:center}.tarot-result>h2{margin:0 0 28px;color:#f0dfb7;font:600 24px/1.5 var(--ds-font-display);letter-spacing:.16em}.game-layout.scene-tarot .divination-card-slots,.tarot-result-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;width:100%;max-width:540px;margin-inline:auto}.tarot-result-cards{margin-block:0}.game-layout.scene-tarot .divination-card-slots.is-single,.tarot-result-cards.is-single{grid-template-columns:minmax(0,190px);max-width:540px;justify-content:center}.tarot-result-card{min-width:0}.tarot-result-position{margin:0 0 12px;color:#e2c48e;font-size:15px}.tarot-result-card .tarot-card{margin-inline:auto}.tarot-result-card h3{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:3px;margin:14px 0 6px;color:#f0dfb7;font-size:15px;line-height:1.6}.tarot-result-card h3 small{font-size:12px;color:#d8b574;white-space:nowrap}.tarot-result-card h3 .is-reversed{color:#e59c8c}.tarot-result-keywords{word-break:keep-all;overflow-wrap:anywhere;margin:0;color:#d8b574;font-size:12px;line-height:1.8}.tarot-result-keywords>span{display:block}.game-layout.scene-tarot .divination-result-actions{gap:6px}.game-layout.scene-tarot .divination-again{color:#c3adc7;text-decoration:underline;text-underline-offset:4px}@container game (max-height: 650px){.game-layout.scene-tarot .game-scene-stage{height:26cqh}.game-layout.scene-tarot:is([data-phase=select],[data-phase=saving],[data-phase=revealing]) .game-scene-stage{height:20cqh}.game-layout.scene-tarot .intent-intro h2{font-size:17px}.game-layout.scene-tarot .game-intent .divination-spreads button{min-height:72px;padding:8px 10px}.game-layout.scene-tarot .game-intent .divination-categories button{min-height:59px}.game-layout.scene-tarot .game-scene-body{padding-bottom:8px}.game-layout.scene-tarot:is([data-phase=saving],[data-phase=revealing],[data-phase=result]) .game-scene-stage{height:18cqh}.tarot-result-position{margin-bottom:8px;font-size:13px}.tarot-result-card h3{margin-top:10px;font-size:13px}.tarot-result>h2{margin-bottom:16px;font-size:21px}}@media(prefers-reduced-motion:reduce){.game-layout.scene-tarot .divination-fan>button{transition:none}}@container game (max-width: 340px){.game-layout.scene-tarot .divination-card-slots,.tarot-result-cards{gap:16px}.tarot-result-card h3{font-size:12px}.tarot-result-card h3 small{font-size:10px}}.game-layout.scene-tarot .tarot-card-back{border-radius:var(--tarot-radius);background:linear-gradient(150deg,#403052,#251a35 65%,#362640);color:#e1bc7d;box-shadow:inset 0 0 0 2px #d8ac6e,inset 0 0 0 5px #35233e,inset 0 0 0 6px #d8ac6e88}.game-layout.scene-tarot .tarot-card-back__pattern{color:#f0ca8a;opacity:1}.game-layout.scene-tarot .tarot-card-back__brand{color:#f0ca8a}.game-layout.scene-tarot .tarot-card-back__name,.game-layout.scene-tarot .tarot-card-back__name-en{display:none}.tarot-result-card h3>span{white-space:nowrap}.tarot-result-actions-placeholder{height:98px}.dg-page{--dg-ink:#544334;--dg-muted:#948171;--dg-accent:#bf7951;max-width:760px;margin:0 auto;min-height:100%;padding:18px 18px calc(32px + env(safe-area-inset-bottom));color:var(--dg-ink);background:radial-gradient(ellipse at 0 0,#f7e7d4,transparent 65%),#faf6ee}.dg-page button,.dg-page input{font:inherit}.dg-page button{cursor:pointer;min-height:44px;border:1px solid #e5d8c8;border-radius:14px;background:#fffaf1;color:var(--dg-ink);padding:9px 15px}.dg-page button:disabled{opacity:.5;cursor:default}:where(html[data-input-modality=keyboard]) .dg-page :is(button,a,input[type=range]):focus-visible{outline:3px solid #6b95c7;outline-offset:3px}.dg-guess input:not([aria-invalid=true]):focus{border-color:var(--dg-accent)}.dg-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dg-muted)}.dg-header a{color:inherit;text-decoration:none;min-height:44px;display:flex;align-items:center;font-size:14px}.dg-header>span:last-child{font-size:26px}.dg-title{text-align:center;padding:24px 0 22px}.dg-eyebrow{font-size:10px;letter-spacing:2px;color:#a4886d}.dg-title h1{font-size:32px;letter-spacing:4px;margin:8px 0}.dg-title p,.dg-waiting>p,.dg-finished>p,.dg-choose p{color:var(--dg-muted);font-size:14px;line-height:1.8}.dg-waiting,.dg-finished,.dg-choose{text-align:center;background:#fffcf6;border:1px solid #e9ddcd;border-radius:26px;padding:28px 18px;box-shadow:0 8px 30px #84684609}.dg-waiting h2,.dg-finished h2,.dg-choose h2{font-size:21px;margin:10px 0}.dg-paper-icon{display:inline-flex;width:72px;height:72px;border-radius:22px;align-items:center;justify-content:center;background:#f2e5d3;color:#b77b55;font-size:48px;transform:rotate(-6deg)}.dg-members{display:flex;justify-content:center;gap:44px;margin:28px 0}.dg-members>div{display:flex;flex-direction:column;align-items:center;gap:9px;max-width:130px}.dg-members strong{font-size:14px;overflow-wrap:anywhere}.dg-members small{font-size:11px;color:#a28d7c}.dg-avatar{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#eee8e0;color:#b3a695;font-size:22px;border:3px solid #fff;box-shadow:0 0 0 1px #e2d6c7}.dg-avatar.present{background:#efe0bd;color:#7a633f;box-shadow:0 0 0 2px #c8b686}.dg-page .dg-primary,.dg-primary{display:inline-flex;align-items:center;justify-content:center;background:#b77954;color:#fffaf4;border:0;border-radius:15px;min-height:46px;padding:12px 22px;text-decoration:none;font-size:14px;font-weight:600}.dg-waiting .dg-primary{width:100%;margin-top:12px}.dg-page .dg-text-button{display:block;margin:10px auto 0;border:0;background:transparent;color:#998370}.dg-azai{padding:12px;border-radius:14px;background:#f8f1e6;font-size:12px!important}.dg-round{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 2px;color:#96806a;font-size:12px}.dg-round strong{color:#8b704e;background:#eee2ce;border-radius:12px;padding:9px 12px;min-width:54px;text-align:center}.dg-round strong.urgent{color:#bf6553;background:#f5e0d9}.dg-choose{padding:44px 18px}.dg-choose>span{font-size:36px;color:#c5a678}.dg-choices{display:grid;gap:12px;margin-top:26px}.dg-choices button{background:#f5ecdd;font-weight:600;font-size:18px;min-height:56px}.dg-word{text-align:center;padding:12px}.dg-word span{font-size:12px;color:#9c8671}.dg-word h2{margin:6px 0 10px;font-size:23px;letter-spacing:3px}.dg-canvas-wrap{position:relative;background:#fffdf8;border:1px solid #e4d6c5;border-radius:18px;overflow:hidden;box-shadow:0 5px 16px #8e73570b}.dg-canvas{width:100%;height:auto;display:block;aspect-ratio:800/450}.dg-canvas.is-drawing{touch-action:none;cursor:crosshair}.dg-tools{padding:13px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-top:1px dashed #e3d5c2;background:#faf2e6}.dg-colors{display:flex;gap:5px}.dg-page .dg-colors button{padding:0;width:36px;height:44px;min-height:44px;border-radius:14px;border:5px solid #faf2e6;box-shadow:none}.dg-page .dg-colors button.selected{outline:2px solid #b9a184;outline-offset:-2px}.dg-tool-actions{display:flex;gap:6px}.dg-tool-actions button{font-size:12px;padding:8px 10px!important}.dg-guess{display:flex;gap:9px;margin:16px 0}.dg-guess input{color:var(--dg-ink);min-width:0;flex:1;border:1px solid #e5d8c8;border-radius:15px;padding:13px;background:#fffcf6;font-size:16px}.dg-guess .dg-primary{flex-shrink:0;padding:12px 18px}.dg-drawer-hint{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:13px 0}.dg-drawer-hint p{font-size:12px;line-height:1.8;color:#97816b}.dg-drawer-hint button{flex-shrink:0;font-size:12px}.dg-guesses{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.dg-guesses span{background:#ede6db;border-radius:12px;padding:7px 12px;font-size:13px;overflow-wrap:anywhere}.dg-guesses .matched{background:#e1ebd7;color:#587346}.dg-turn-result{text-align:center;padding:18px;border-radius:18px;background:#e9ecd9;color:#67754e}.dg-turn-result p{font-size:12px}.dg-pause{padding:18px;border:1px solid #e0cba9;border-radius:18px;background:#f7ead5;text-align:center}.dg-pause p{font-size:13px;line-height:1.7;color:#a08462}.dg-finished ol{padding:0;list-style:none;margin:24px 0}.dg-finished li{display:flex;justify-content:space-between;gap:8px;padding:16px 3px;border-bottom:1px dashed #e7dccd;font-size:13px}.dg-finished li>span{color:#9a846e}.dg-finished .dg-primary{margin-top:14px}.dg-error{font-size:13px;color:#a45d46;background:#f9e6dc;border-radius:13px;margin:10px 0;padding:12px;line-height:1.6}.dg-error button{margin-left:10px}.dg-sync{font-size:11px;color:#a58e73;display:block;padding:5px 12px}.dg-loading{text-align:center;color:#9c8671;padding:30px}@media(min-width:600px){.dg-page{padding:24px 32px 48px}.dg-title{padding-top:32px}.dg-waiting,.dg-finished{max-width:490px;margin:auto}.dg-choices{grid-template-columns:repeat(3,1fr)}.dg-canvas{min-height:300px}}@media(prefers-reduced-motion:reduce){.dg-page *{scroll-behavior:auto}}.dg-page{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.dg-page input{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.dg-guess{scroll-margin-block:12px}[data-theme] .divination-page.dg-game{--ds-border:#e5d8c8;--ds-text-primary:#544334;--ds-text-secondary:#948171;background:radial-gradient(ellipse at 8% 35%,#f7e7d4aa,transparent 70%),#faf6ee}.dg-game .game-content{padding:10px 12px 18px;background:radial-gradient(ellipse at 0 0,#f7e7d4,transparent 65%),#faf6ee}.dg-game .dg-page{max-width:760px;min-height:0;margin:0 auto;padding:0;background:none}.dg-game .dg-round{padding:4px 2px 8px}.dg-game .dg-word{padding:5px 8px 8px}.dg-game .dg-word h2{font-size:20px;margin:4px 0 2px}.dg-game .dg-canvas{aspect-ratio:4/3;min-height:0}.dg-game .dg-tools{padding:9px;gap:8px}.dg-game .dg-drawer-hint{margin:8px 0}.dg-game .dg-guess{margin:10px 0}.dg-guess-feedback{display:grid;gap:4px;margin:10px 0 0;padding:11px 13px;border-radius:12px;background:#f7e2d4;color:#8e4728;font-size:13px;line-height:1.5;border-left:3px solid #ba7650}.dg-guess-feedback span{font-size:12px;overflow-wrap:anywhere}.dg-game .dg-finished{max-width:560px;padding:24px 16px;margin:4px auto}.dg-game .dg-finished h2{font-size:20px}.dg-game .dg-finished ol{margin:22px 0}.dg-game .dg-finished li{display:grid;grid-template-columns:64px minmax(0,1fr) 86px;gap:10px;align-items:center;text-align:left}.dg-game .dg-finished li strong{min-width:0;overflow-wrap:anywhere;text-align:center}.dg-game .dg-finished li>span:last-child{text-align:right;white-space:nowrap}.dg-game.dg-on-board .game-content{display:flex;flex-direction:column;padding:8px 10px 10px}.dg-game.dg-on-board .dg-page{display:flex;flex-direction:column;flex:1;width:100%;min-height:0}.dg-game.dg-on-board .dg-play{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}.dg-game.dg-on-board .dg-round,.dg-game.dg-on-board .dg-word,.dg-game.dg-on-board .dg-answer,.dg-game.dg-on-board .dg-drawer-hint,.dg-game.dg-on-board .dg-turn-result{flex:none}.dg-game.dg-on-board .dg-word{padding:4px 6px 8px}.dg-game .dg-word-hint{font-size:12px;line-height:1.5;color:#948171;margin:4px 0 0;letter-spacing:0}.dg-game.dg-on-board .dg-canvas-wrap{flex:1;min-height:220px;display:flex;flex-direction:column;background:#eee5d7;border-radius:14px}.dg-canvas-stage{container-type:size;flex:1;min-height:120px;display:grid;place-items:center;overflow:hidden}.dg-game .dg-canvas{width:min(100cqw,100cqh);height:auto;aspect-ratio:1;min-height:0;background:#fffdf8}.dg-game .dg-tools{flex:none;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:4px 6px;border-top:1px solid #e3d5c2}.dg-game .dg-colors{width:100%;display:flex;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}.dg-game .dg-colors::-webkit-scrollbar{display:none}.dg-game .dg-colors button{width:44px;height:44px;min-width:44px;min-height:44px;flex:none;border-width:7px;border-radius:50%}.dg-game .dg-tool-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.dg-game .dg-tool-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:0;font-size:13px;padding:6px 4px!important;border-radius:10px;white-space:nowrap}.dg-game .dg-tool-actions button.active{background:#ead8bf;border-color:#c4a580;color:#705234}.dg-brush-dot{display:inline-block;border-radius:50%;background:currentColor;flex:none}.dg-game .dg-drawer-hint{justify-content:flex-end;margin:5px 0 0}.dg-game .dg-drawer-hint button{min-height:40px;padding:5px 12px}.dg-game.dg-on-board .dg-guesses{max-height:42px;overflow:auto;margin:5px 0;flex:none}@media(max-height:600px){.dg-game.dg-on-board .dg-canvas-wrap{min-height:170px}.dg-game.dg-on-board .dg-word,.dg-game.dg-on-board .dg-round{padding:2px}.dg-game .dg-word-hint{margin:1px 0}}.dg-game .dg-canvas-wrap>.dg-sync{position:absolute;top:5px;right:5px;pointer-events:none;background:#fffdf8dd;border-radius:8px}.dg-game .dg-canvas-wrap>.dg-error{position:absolute;top:4px;left:4px;right:4px;margin:0;z-index:1}.dg-players{display:flex;justify-content:space-between;gap:16px;flex:none;padding:2px 4px 6px}.dg-player{display:flex;align-items:center;gap:8px;min-width:0;max-width:48%}.dg-player:last-child{flex-direction:row-reverse;text-align:right}.dg-player>div{display:grid;gap:3px;min-width:0}.dg-player strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dg-player small{font-size:10px;color:#837469;line-height:1.4}.dg-player small.drawing{color:#986435}.dg-player small.guessing{color:#4b8067}.dg-player-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:#eedfc9;color:#735339;overflow:hidden;font-size:16px}.dg-player-avatar img{width:100%;height:100%;object-fit:cover}.dg-game .dg-round{padding:2px 4px 5px;font-size:11px}.dg-game .dg-round strong{min-width:48px;padding:6px 10px;font-size:13px}.dg-game .dg-word{display:flex;align-items:center;justify-content:center;gap:6px 12px;flex-wrap:wrap}.dg-game .dg-word>span{font-size:11px}.dg-game .dg-word h2{font-size:22px;margin:0;line-height:1.4}.dg-game .dg-word-hint{width:100%;font-size:11px;line-height:1.3;margin:0}.dg-game .dg-answer{flex:none;margin-top:6px}.dg-game .dg-conversation{flex:none;border:1px solid #e6d8c4;border-radius:12px;background:#fffaf1;padding:6px 9px;color:#685242;min-width:0;margin-top:6px}.dg-answer>.dg-conversation{margin-top:0}.dg-conversation header{display:flex;align-items:center;gap:5px;height:22px;font-size:11px}.dg-conversation header>span{margin-left:auto;color:#9a8876;font-size:10px}.dg-conversation-log{height:72px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-user-select:text;user-select:text}.dg-line{display:flex;gap:7px;align-items:baseline;margin:2px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.dg-line>strong{color:#a37245;font-size:10px;flex:none;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dg-line>span{min-width:0}.dg-line-guess>strong{color:#4f7898}.dg-line-miss>span{color:#a55236;font-weight:550}.dg-line-success>span{color:#3e7b59;font-weight:600}.dg-game .dg-tool-actions{grid-template-columns:minmax(92px,1fr) repeat(3,48px);align-items:center;gap:5px}.dg-width-control{min-width:0;display:flex;align-items:center;gap:8px;padding:0 7px;height:44px;color:#735339}.dg-width-control input[type=range]{width:100%;min-width:0;min-height:44px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;accent-color:#af7950;touch-action:pan-x;cursor:pointer}.dg-width-control .dg-brush-dot{min-width:6px;flex:none}.dg-game .dg-tool-actions button{flex-direction:column;gap:2px;padding:3px!important;font-size:9px;height:44px}.dg-game .dg-guess{margin:6px 0 0}.dg-game .dg-drawer-hint{margin:4px 0 0}.dg-game .dg-turn-result{padding:8px;font-size:12px}.dg-game .dg-turn-result p{margin:3px 0}@media(max-height:600px){.dg-game.dg-on-board .dg-canvas-wrap{min-height:120px}.dg-players{padding-bottom:2px}.dg-player-avatar{width:26px;height:26px}.dg-player strong{font-size:11px}.dg-conversation-log{height:54px}.dg-game .dg-word h2{font-size:18px}.dg-game .dg-conversation{padding:3px 7px}}.dg-width-control input[type=range]{appearance:none;-webkit-appearance:none;outline:none}.dg-width-control input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:9px;background:#dfcfb8;border:0}.dg-width-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-9.5px;border:2px solid #b5845a;border-radius:50%;background:#fffaf1;box-shadow:0 1px 4px #6e4a2526}.dg-width-control input[type=range]::-moz-range-track{height:5px;border-radius:9px;background:#dfcfb8}.dg-width-control input[type=range]::-moz-range-thumb{width:22px;height:22px;border:2px solid #b5845a;border-radius:50%;background:#fffaf1}:where(html[data-input-modality=keyboard]) .dg-width-control input[type=range]:focus-visible{outline:2px solid #af7950;outline-offset:1px;border-radius:8px}.game-layout.dg-game .divination-nav{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:12px;padding:2px 14px;border:0;background:transparent;box-shadow:none}.game-layout.dg-game .divination-nav h1{color:#948171;font-size:13px;font-weight:500;text-align:left}.game-layout.dg-game .divination-nav>.dg-exit{width:auto;min-width:64px;min-height:44px;padding:0 12px;border:1px solid #ceae8c;border-radius:12px;background:transparent;color:#7f6b59;font-size:12px;text-decoration:none}.dg-game .game-content{background:transparent}.dg-game .dg-waiting{padding:18px 10px 28px;max-width:460px;margin:0 auto;text-align:center}.dg-azai-art{display:block;object-fit:contain;margin:0 auto;max-width:100%;filter:drop-shadow(0 12px 14px #b8956f15)}.dg-waiting-art{width:220px;height:210px}.dg-game .dg-waiting h2{font-size:22px;line-height:1.5;margin:16px 0 8px}.dg-game .dg-waiting>p{font-size:13px;line-height:1.7}.dg-game .dg-members{margin:24px 0 18px}.dg-game .dg-azai{margin:20px 0;font-size:13px}.dg-game .dg-finished{padding:8px 8px 24px;margin:0 auto}.dg-result-art{width:180px;height:170px}.dg-game .dg-finished h2{margin:10px 0 8px;font-size:22px}.dg-game .dg-finished>p{margin:6px 0;font-size:13px;line-height:1.7}.dg-game .dg-finished ol{margin:16px 0 22px;padding:0 8px}.dg-game .dg-finished li{padding:13px 0;grid-template-columns:56px minmax(0,1fr) 70px;gap:6px}.dg-result-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px}.dg-game .dg-result-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;margin:0;width:100%;font-size:14px;padding:10px 8px}.dg-secondary{border:1px solid #ceae8c;border-radius:14px;background:#fffaf0;color:#795c42}.dg-game .dg-finished>.dg-result-note{font-size:12px;margin:12px 0;color:#948171}.dg-pause-dialog{width:min(340px,calc(100% - 36px));box-sizing:border-box;margin:auto;padding:24px 22px 18px;border:1px solid #dac2a4;border-radius:24px;color:#544334;background:#fffaf1;box-shadow:0 20px 70px #33251930;text-align:center;max-height:calc(100dvh - 40px);overflow:auto}.dg-pause-dialog::backdrop{background:#30271f60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dg-pause-art{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 12px}.dg-pause-dialog h2{font-size:19px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.dg-pause-dialog>p{font-size:13px;line-height:1.8;margin:10px 0 22px;color:#948171}.dg-pause-dialog>.dg-primary{width:100%;font-size:14px;min-height:46px}.dg-pause-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px;margin-top:8px}.dg-pause-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 2px;font-size:12px;color:#8a725b;background:none;border:0;text-decoration:none}.dg-pause-dialog button:disabled,.dg-result-actions button:disabled{opacity:.5;cursor:default}@media(max-height:700px){.dg-waiting-art{width:170px;height:160px}.dg-result-art{width:140px;height:130px}.dg-game .dg-waiting{padding-top:6px}.dg-game .dg-members{margin:18px 0 12px}.dg-game .dg-finished li{padding:10px 0}}.dg-game .dg-round>strong{height:32px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 10px}.dg-choice-art{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 12px}@media(max-height:700px){.dg-choice-art{width:76px;height:76px;margin-bottom:6px}}@media(forced-colors:active){.dg-guess input:not([aria-invalid=true]):focus{border-color:Highlight}}:root,[data-theme=light]{color-scheme:light;--workbench: #efedf5;--workbench-paper: #f7f5fb;--canvas: #f8f7fc;--paper: #ffffff;--ink: #302d43;--muted: #625b73;--accent: #7252ae;--accent-strong: #604195;--on-accent: #ffffff;--accent-soft: #ebe4f6;--avatar-green: #e6def4;--self-bubble: #7252ae;--self-ink: #ffffff;--partner-bubble: #ffffff;--partner-line: #e3e1e8;--ai-bubble: #f0ebf8;--ai-line: #ded2ef;--clay: #c4dcd1;--clay-soft: #e3eee8;--clay-ink: #3d6255;--ai-soft: #f1eef7;--ai-ink: #60576f;--wash: #eeebf4;--line: #d8d2e3;--line-soft: #e9e5ef;--quote-line: #81758f;--check-line: #82758f;--attention-dot: #ff3b30;--danger: #a33d54;--on-danger: #ffffff;--note-lilac: #eee7f8;--note-mint: #e5efe9;--note-blue: #e6eef7;--tape: #d9cee9;--device-line: #d7d0e3;--device-shadow: #30244314;--card-shadow: #3024430a;--backdrop: #19102566}[data-theme=dark]{color-scheme:dark;--workbench: #13121d;--workbench-paper: #201d2d;--canvas: #1c1929;--paper: #272334;--ink: #f1ecfa;--muted: #c0b5d1;--accent: #c2a5ee;--accent-strong: #d2bdf4;--on-accent: #281b3b;--accent-soft: #383046;--avatar-green: #443357;--self-bubble: #7352a5;--self-ink: #ffffff;--partner-bubble: #35333b;--partner-line: #48454e;--ai-bubble: #302740;--ai-line: #504060;--clay: #759e8d;--clay-soft: #2b403b;--clay-ink: #b1d7c5;--ai-soft: #282332;--ai-ink: #ccc0dc;--wash: #312b40;--line: #51465f;--line-soft: #383044;--quote-line: #a397b5;--check-line: #a99abf;--attention-dot: #ff3b30;--danger: #f3a5b6;--on-danger: #381820;--note-lilac: #362d46;--note-mint: #2a3935;--note-blue: #2b3445;--tape: #554660;--device-line: #43394f;--device-shadow: #05030b55;--card-shadow: #05030b22;--backdrop: #08050c99}:root{--inner-nav-height: 58px;--inner-nav-inset: 8px;--back-target-size: 44px;--mobile-text-body: 1rem;--mobile-leading-body: 1.5rem;--mobile-text-list-title: .9375rem;--mobile-leading-list-title: 1.375rem;--mobile-text-secondary: .875rem;--mobile-leading-secondary: 1.375rem;--mobile-text-compact: .8125rem;--mobile-leading-compact: 1.25rem;--mobile-text-caption: .75rem;--mobile-leading-caption: 1.125rem;--mobile-text-small: var(--mobile-text-caption);--mobile-text-module: 1rem;--mobile-leading-module: 1.5rem;--mobile-text-nav-title: 1.0625rem;--mobile-leading-nav-title: 1.5rem;--mobile-text-title: 1.25rem;--mobile-leading-title: 1.75rem;--mobile-text-reader-title: 1.375rem;--mobile-leading-reader-title: 1.875rem;--mobile-control-primary: 44px;--mobile-control-secondary: 40px;--mobile-control-compact: 32px;--mobile-control-input: 44px;--mobile-row-height: 52px;--mobile-row-multiline: 64px}[data-theme] .game-layout{--ds-bg-void: var(--canvas);--ds-bg-base: var(--canvas);--ds-bg-elevated: var(--paper);--ds-bg-surface: var(--wash);--ds-surface: var(--wash);--ds-surface-raised: var(--wash);--ds-surface-hover: var(--accent-soft);--ds-surface-active: var(--accent-soft);--ds-text-primary: var(--ink);--ds-text-secondary: var(--muted);--ds-text-muted: var(--check-line);--ds-text-inverse: var(--on-accent);--ds-accent: var(--accent);--ds-accent-hover: var(--accent-strong);--ds-accent-deep: var(--accent-strong);--ds-accent-muted: var(--accent-soft);--ds-accent-border: var(--accent);--ds-accent-rose: var(--accent-strong);--ds-accent-gold: var(--muted);--ds-accent-cyan: var(--clay-ink);--ds-border: var(--line);--ds-border-strong: var(--check-line);--ds-gradient-primary: linear-gradient(var(--accent), var(--accent));--ds-gradient-aurora: var(--accent-soft);--game-on-accent: var(--on-accent);--ds-font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif}[data-theme] .game-layout .divination-game-choice.qian{background:var(--note-mint)}[data-theme] .game-layout .divination-game-choice.tarot{background:var(--note-lilac)}[data-theme] .game-layout .divination-game-choice.daily{background:var(--note-blue)}[data-theme] .game-layout .divination-game-choice.woodfish{background:var(--accent-soft)}[data-theme] .game-layout .divination-error,[data-theme] .game-layout .woodfish-sync{color:var(--danger)}[data-theme] .game-layout .divination-yiji>section:first-child h3{color:var(--clay-ink)}[data-theme] .game-layout .divination-stick-heading>span{color:var(--clay-ink);border-color:currentColor}[data-theme] .game-layout .tarot-card{--ds-accent-gold: #e2cc97;--ds-accent: #c2a5ee;--ds-text-secondary: #c8bfd7;--ds-text-primary: #f1ecfa;--ds-bg-base: #1c1929;--ds-bg-elevated: #272334;--ds-gradient-primary: linear-gradient(#c2a5ee, #c2a5ee)}:root{font-family:Inter,ui-rounded,SF Pro Rounded,PingFang SC,system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg);--bg: var(--canvas);--paper-70: color-mix(in srgb, var(--paper) 70%, transparent);--paper-80: color-mix(in srgb, var(--paper) 80%, transparent);--paper-90: color-mix(in srgb, var(--paper) 94%, transparent);--paper-96: color-mix(in srgb, var(--paper) 96%, transparent);--ink-900: var(--accent);--ink-800: var(--accent-strong);--line-strong: var(--check-line);--coral: var(--accent);--coral-deep: var(--accent-strong);--coral-soft: var(--accent-soft);--blue: var(--clay);--blue-deep: var(--clay-ink);--success: var(--clay-ink);--success-soft: var(--clay-soft);--danger-soft: color-mix(in srgb, var(--danger) 12%, var(--paper));--surface-input: var(--paper);--input-focus-border: var(--accent-strong);--surface-sunken: var(--wash);--text-2xs: 10px;--text-xs: 12px;--text-sm: 13px;--text-md: 14px;--text-body: 15px;--radius-xs: 8px;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 18px;--radius-xl: 26px;--radius-2xl: 32px;--radius-pill: 999px;--shadow-xs: 0 2px 10px rgba(69, 55, 45, .07);--shadow-sm: 0 10px 28px rgba(65, 50, 39, .06);--shadow-md: 0 16px 40px rgba(54, 42, 34, .11);--shadow-lg: 0 24px 64px rgba(66, 51, 40, .1);--shadow-button: 0 10px 22px rgba(59, 53, 48, .12);--page-max: 1120px;--control-sm: 30px;--control-md: 38px;--control-lg: 42px;--control-input: 44px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--touch-target: 44px;--mobile-muted: var(--muted);--mobile-accent: var(--accent);--mobile-danger: var(--danger);--mobile-switch-width: 52px;--mobile-switch-height: 32px;--mobile-switch-thumb: 26px;--mobile-tab-height: 56px;--mobile-avatar-size: 64px;--mobile-scene-height: 533px;--dialog-width: 520px;--dialog-alert-width: 320px;--dialog-backdrop: var(--backdrop);--media-backdrop: #211a17;--media-ink: #fffdf9;--ease-out: cubic-bezier(.2, .8, .2, 1);--dur-fast: .16s ease;--dur-base: .2s ease}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);font-weight:400}html{background:var(--bg);scrollbar-gutter:stable}body{color:var(--ink);background:var(--canvas)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}:where(html:not([data-input-modality=keyboard]) :focus){outline:none}:where(html[data-input-modality=keyboard]) :is(button,a,summary,[tabindex]:not(input):not(textarea):not(select),input[type=button],input[type=submit],input[type=reset],input[type=image],input[type=file],input[type=checkbox],input[type=radio],input[type=range],input[type=color]):focus-visible{outline:3px solid rgba(220,120,94,.24);outline-offset:2px}:where(:is(input,textarea,select):not(:where([type=button],[type=submit],[type=reset],[type=image],[type=file],[type=checkbox],[type=radio],[type=range],[type=color],[type=hidden]))):focus{outline:none}:where(:is(input,textarea,select):not(:where([type=button],[type=submit],[type=reset],[type=image],[type=file],[type=checkbox],[type=radio],[type=range],[type=color],[type=hidden]))):not([aria-invalid=true]):focus{border-color:var(--input-focus-border)}@media(forced-colors:active){:root{--input-focus-border: Highlight}}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.13em;font-size:var(--text-sm);font-weight:700;color:var(--accent)}.form-error{margin:0;color:var(--danger);font-size:var(--text-md);line-height:var(--mobile-leading-secondary)}.with-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-button{min-height:var(--mobile-control-primary);border:0;border-radius:10px;padding:10px 16px;background:var(--ink-900);color:var(--on-accent);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);font-weight:500;box-shadow:var(--shadow-button);transition:transform var(--dur-fast),background var(--dur-fast),opacity var(--dur-fast)}@media(hover:hover)and (pointer:fine){.primary-button:hover:not(:disabled){transform:translateY(-1px);background:var(--ink-800)}}.primary-button:disabled{opacity:.5;cursor:wait;transform:none}.primary-button.compact{min-height:var(--mobile-control-primary);padding:8px 14px}.soft-button{min-height:var(--mobile-control-secondary);border:1px solid var(--line-strong);border-radius:8px;padding:7px 14px;color:var(--ink);background:var(--paper-80);font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);font-weight:500;transition:transform var(--dur-fast),background var(--dur-fast),border-color var(--dur-fast)}@media(hover:hover)and (pointer:fine){.soft-button:hover:not(:disabled){transform:translateY(-1px);border-color:var(--line-strong);background:var(--paper)}}.text-button{border:0;background:transparent;color:var(--accent);min-height:var(--mobile-control-compact);padding:5px 10px;border-radius:8px;font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);transition:background var(--dur-fast),color var(--dur-fast)}@media(hover:hover)and (pointer:fine){.text-button:hover{background:var(--wash);color:var(--accent-strong)}}.text-button.danger{color:var(--danger)}@media(hover:hover)and (pointer:fine){.text-button.danger:hover{background:var(--danger-soft);color:var(--danger)}}.icon-button{width:var(--touch-target);height:var(--touch-target);display:grid;place-items:center;border:0;border-radius:var(--radius-sm);color:var(--muted);background:transparent;transition:color var(--dur-fast),background var(--dur-fast)}@media(hover:hover)and (pointer:fine){.icon-button:hover{color:var(--ink);background:var(--wash)}}.page-toolbar>.soft-button,.page-toolbar>.primary-button.compact{min-height:var(--mobile-control-secondary)}.page-toolbar>.primary-button.compact{min-height:var(--mobile-control-primary)}.page-toolbar>.soft-button,.page-toolbar>.primary-button.compact{display:inline-flex;align-items:center;justify-content:center;padding-top:0;padding-bottom:0}.field{display:grid;gap:8px;font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary);font-weight:500}.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select,.knowledge-card.editing input,.knowledge-card.editing select{width:100%;min-height:var(--mobile-control-input);border:1px solid var(--line);border-radius:var(--radius-md);padding:9px 12px;background:var(--surface-input);color:var(--ink);font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body);outline:none;transition:border-color var(--dur-fast),background var(--dur-fast)}.field input:not([type=checkbox]):not([type=radio]),.field select,.knowledge-card.editing input,.knowledge-card.editing select{min-height:var(--mobile-control-input)}.field small{color:var(--muted);font-weight:400;line-height:var(--mobile-leading-secondary);font-size:var(--mobile-text-secondary)}:is(.field,.knowledge-card.editing,.page-dialog) :is(input,textarea,select):not(:where([type=button],[type=submit],[type=reset],[type=image],[type=file],[type=checkbox],[type=radio],[type=range],[type=color],[type=hidden])):not([aria-invalid=true]):focus{border-color:var(--input-focus-border)}:where(html[data-input-modality=keyboard]) .field input:focus,:where(html[data-input-modality=keyboard]) .field textarea:focus,:where(html[data-input-modality=keyboard]) .field select:focus,:where(html[data-input-modality=keyboard]) .knowledge-card.editing input:focus,:where(html[data-input-modality=keyboard]) .knowledge-card.editing textarea:focus,:where(html[data-input-modality=keyboard]) .knowledge-card.editing select:focus{background:var(--paper)}.notebook-create-card textarea{min-height:96px;resize:vertical}.knowledge-card.editing textarea{resize:vertical}select{appearance:none;-webkit-appearance:none;cursor:pointer}.field select,.knowledge-card.editing select{padding-right:40px;background:var(--surface-input) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23827a72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;background-size:10px 6px}:where(html[data-input-modality=keyboard]) .field select:focus,:where(html[data-input-modality=keyboard]) .knowledge-card.editing select:focus{background:var(--paper) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23cf654f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;background-size:10px 6px}html:has(.loading-screen){overflow:hidden;scrollbar-gutter:auto}.loading-screen{position:fixed;inset:0;overflow:hidden;background:#fdfaf3}.loading-splash{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}@media(min-aspect-ratio:1/1),(min-width:768px){.loading-splash{object-fit:contain}}.loading-status{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.boot-failure-art{margin:0 auto}.entry-page{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(390px,.8fr);padding:18px;gap:18px}.entry-visual,.entry-card{border:1px solid var(--line);border-radius:var(--radius-2xl);overflow:hidden}.entry-visual{position:relative;min-height:calc(100dvh - 36px);display:block;background:#eee8df}.entry-visual:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(35,29,24,.06),transparent 35%)}.entry-visual img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.86) contrast(.96)}.entry-visual-copy{position:absolute;z-index:2;left:clamp(24px,4vw,52px);top:clamp(24px,5vw,58px);display:grid;gap:5px;color:var(--ink-900)}.entry-visual-mark{width:34px;height:34px;display:grid;place-items:center;margin-bottom:5px;border-radius:var(--radius-md);color:var(--on-accent);background:#d9775e}.entry-visual-copy strong{font-size:clamp(22px,3vw,36px);letter-spacing:-.03em}.entry-visual-copy p{margin:0;color:#73685f;font-size:var(--text-md)}.entry-card{padding:clamp(34px,5vw,68px);display:flex;justify-content:center;flex-direction:column;background:var(--paper-90)}.entry-card h1{margin:7px 0 28px;font-size:clamp(31px,3.6vw,47px);letter-spacing:-.04em;line-height:1.08}.entry-form{display:grid;gap:18px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:var(--wash);padding:4px;border-radius:var(--radius-md);margin-bottom:22px}.mode-switch button{min-height:var(--control-md);padding:0 10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-weight:600;transition:background var(--dur-fast),color var(--dur-fast)}.mode-switch button.active{background:var(--paper);color:var(--ink);box-shadow:var(--shadow-xs)}.app-shell{min-height:100dvh;padding-bottom:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,56px);border-bottom:1px solid var(--line);background:var(--paper-90);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);position:sticky;top:0;z-index:5}.topbar-brand,.topbar-user,.topbar>div{display:flex;align-items:center;gap:10px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:var(--radius-md);color:var(--on-accent);background:linear-gradient(145deg,#e58a6f,var(--coral-deep));box-shadow:0 8px 20px #cf654f38}.brand-copy{display:grid;gap:1px;line-height:1.1}.brand-copy strong{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-body)}.brand-copy small{color:var(--muted);font-size:var(--text-2xs);letter-spacing:.08em}.topbar-user{color:var(--muted);font-size:var(--text-md)}.user-avatar{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:var(--coral-soft);font-size:var(--text-sm);font-weight:700}.bottom-nav{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper-70);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.desktop-nav{position:absolute;left:50%;bottom:auto;transform:translate(-50%);z-index:1}.mobile-nav{display:none}.bottom-nav a{min-width:88px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:var(--radius-md);text-decoration:none;color:var(--muted);font-size:var(--text-sm);transition:color var(--dur-fast),background var(--dur-fast),box-shadow var(--dur-fast)}.bottom-nav a svg{flex:0 0 auto}.bottom-nav a span{font-size:inherit}@media(hover:hover)and (pointer:fine){.bottom-nav a:hover{color:var(--ink)}}.bottom-nav a.active{color:var(--ink);background:var(--paper);box-shadow:var(--shadow-xs)}.app-toast-stack{position:fixed;z-index:20;top:82px;right:clamp(16px,4vw,48px);width:min(390px,calc(100vw - 32px));display:grid;gap:10px}.reminder-toast,.ai-mode-toast{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:var(--radius-lg);color:var(--on-accent);background:var(--ink-900);box-shadow:var(--shadow-md)}.ai-mode-toast{justify-content:space-between}.ai-mode-toast>span{line-height:1.45}.ai-mode-toast>button{flex:0 0 auto;border:0;padding:6px 8px;border-radius:var(--radius-sm);color:inherit;background:transparent;font-size:20px}@media(hover:hover)and (pointer:fine){.ai-mode-toast>button:hover{background:#ffffff1f}}.reminder-toast>button{border:0;color:inherit;background:transparent}.reminder-toast-body{flex:1;display:grid;gap:4px;text-align:left;padding:4px 0}.reminder-toast-body small{color:#ffffffad;font-size:var(--text-sm)}.reminder-toast>button:last-child{padding:6px 8px;font-size:20px;border-radius:var(--radius-sm)}@media(hover:hover)and (pointer:fine){.reminder-toast>button:last-child:hover{background:#ffffff1f}}.home-page{max-width:var(--page-max);margin:0 auto;padding:28px 40px 56px}.home-page-heading{display:flex;align-items:center;gap:var(--space-2)}.home-page-heading h1{margin:0;font-size:var(--mobile-text-body)}.home-page-heading .icon-button{min-width:var(--touch-target);min-height:var(--touch-target);color:var(--coral-deep);text-decoration:none}.home-room-layout{position:relative}.home-room-stage{position:relative;padding-bottom:0}.room-scene-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-2xl);background:#f7f7f7;box-shadow:var(--shadow-lg)}.room-viewport{width:100%;overflow:hidden}.room-world{position:relative;width:100%;min-width:760px;aspect-ratio:1536 / 1077;isolation:isolate;background:#f7f7f7}.scene-layer{position:absolute;display:block;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}.scene-tight-layer{object-fit:contain}.scene-stage-asset{pointer-events:none}.scene-actor-art{appearance:none;overflow:visible;margin:0;padding:0;border:0;background:transparent;object-fit:contain;pointer-events:auto;cursor:pointer}.scene-actor-art img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.scene-actor-anchor{pointer-events:none}.scene-actor-anchor{position:absolute;z-index:40;width:var(--actor-width);height:auto;aspect-ratio:var(--actor-aspect);transform:translate(-50%,-100%) scale(var(--actor-scale, 1));transform-origin:50% 100%}.scene-actor-anchor.departed{opacity:0;pointer-events:none}.scene-actor-anchor>i{position:absolute;right:8%;bottom:7%;width:9px;height:9px;border-radius:50%;border:2px solid white;background:#aaa39a;box-shadow:0 2px 8px #2a26222e}.scene-actor-anchor>i.online{background:var(--success)}.scene-ai{position:absolute;width:7.8%;aspect-ratio:480 / 340;transform:translate(-50%,-92%);transform-origin:50% 92%;pointer-events:none;transition-property:left,top;transition-duration:0ms;transition-timing-function:linear}.scene-ai-trigger{position:absolute;z-index:2;inset:0;appearance:none;margin:0;padding:0;border:0;background:transparent;pointer-events:auto;cursor:pointer}:where(html[data-input-modality=keyboard]) .scene-ai-trigger:focus-visible{outline:2px solid rgba(215,127,102,.72);outline-offset:5px;border-radius:50%}.scene-ai-trigger:disabled{cursor:default}.scene-ai .scene-message-bubble{pointer-events:auto}.scene-ai.walking{transition-duration:var(--ai-walk-ms)}.scene-ai-sprite{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;transform:scaleX(var(--ai-facing, 1));transform-origin:50% 82%}.scene-ai-shadow{position:absolute;z-index:1;left:19%;bottom:3%;width:62%;height:12%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(83,76,70,.24) 0%,rgba(83,76,70,.1) 48%,transparent 76%);filter:blur(2px);transform:rotate(-2deg)}.scene-action-hotspot{position:absolute;z-index:3;border:0;border-radius:0;color:#675d53;background:transparent;cursor:default}.scene-action-hotspot[data-asset-hit=true]{cursor:pointer}:where(html[data-input-modality=keyboard]) .scene-action-hotspot:focus-visible{outline:2px solid rgba(215,127,102,.6);outline-offset:2px}.scene-action-hotspot:disabled{cursor:wait}.scene-message-bubble{position:absolute;z-index:9;left:50%;bottom:calc(100% + 16px);width:max-content;max-width:190px;transform:translate(-50%);display:grid;gap:3px;padding:8px 10px;border:1px solid rgba(62,53,45,.1);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-lg) 5px;color:var(--ink);background:var(--paper-96);box-shadow:0 10px 28px #2e272229;text-align:left;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);animation:scene-bubble-in .22s ease-out both}.scene-message-bubble:after{content:"";position:absolute;left:50%;bottom:-6px;width:11px;height:11px;background:inherit;border-right:1px solid rgba(62,53,45,.08);border-bottom:1px solid rgba(62,53,45,.08);transform:translate(-50%) rotate(45deg)}.scene-message-bubble small{color:var(--muted);font-size:var(--text-2xs);font-weight:700}.scene-message-bubble span{font-size:var(--text-xs);line-height:1.4;overflow-wrap:anywhere}button.scene-message-bubble{cursor:pointer}.scene-ai .scene-message-bubble{bottom:calc(100% + 10px)}.scene-board-bubble{z-index:100;bottom:auto;max-width:220px;transform:translate(-50%,-100%);color:#5b472b;background:#fff4c4f7}.scene-board-bubble small{color:#8b6a2f}.scene-activity-bubble{--activity-bubble-x: 0%;bottom:calc(100% + 12px);min-width:42px;max-width:none;display:flex;justify-content:center;padding:7px 9px;border-radius:18px 18px 18px 6px;font-size:21px;line-height:1;pointer-events:none;transform-origin:0 100%;animation:scene-activity-bubble 3.2s ease-in-out infinite both;will-change:opacity,transform}.scene-activity-bubble:after{display:none}.scene-activity-bubble.coral{--activity-bubble-x: -100%;border-radius:18px 18px 6px;animation-delay:-1.1s;transform-origin:100% 100%}.scene-activity-bubble>span{font-size:21px;line-height:1}.waiting-at-door{position:absolute;z-index:4;right:5%;top:34%;max-width:110px;padding:8px 10px;border:1px dashed rgba(91,76,62,.2);border-radius:var(--radius-md);color:#92877c;background:#fffdfab3;font-size:var(--text-2xs);text-align:center}.scene-note-hotspot{position:absolute;z-index:6;border:0;border-radius:var(--radius-lg);background:transparent;cursor:pointer}.scene-mobile-tabs,.scene-offscreen-notice{display:none}.room-chat-bar{position:absolute;z-index:50;left:50%;bottom:24px;width:min(760px,calc(100% - 64px));margin:0;transform:translate(-50%);padding:0;border:0;background:transparent}.room-chat-bar form{display:block}.room-chat-bar>p{margin:6px 10px 2px 24px;color:var(--danger);font-size:var(--text-xs)}.invite-card{margin-top:12px;border:1px solid var(--line);border-radius:24px;background:var(--paper-80);box-shadow:var(--shadow-sm);padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.invite-card h2{margin:6px 0;font-size:20px}.invite-card p:not(.eyebrow){margin:0;color:var(--muted);font-size:var(--text-md)}.invite-code-actions{display:grid;gap:10px;flex:0 1 280px;width:280px;max-width:100%;min-width:0}.invite-code{background:var(--paper-80);border:1px solid var(--line);color:var(--ink-900);padding:12px 14px;border-radius:var(--radius-md);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;line-height:1.5;text-align:center;letter-spacing:.04em;font-weight:700;-webkit-user-select:all;user-select:all;overflow-wrap:anywhere}.chat-page,.notebook-page{width:100%;max-width:1080px;margin:0 auto}.notebook-page{padding:24px 32px 44px}.page-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:18px}.ai-mode-pill{min-height:32px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);padding:6px 11px;background:var(--paper);color:var(--ink);font-size:var(--text-sm);font-weight:700;line-height:1;box-shadow:var(--shadow-xs);transition:border-color var(--dur-fast),background var(--dur-fast),color var(--dur-fast),transform var(--dur-fast)}@media(hover:hover)and (pointer:fine){.ai-mode-pill:hover:not(:disabled){transform:translateY(-1px);border-color:#dc785e73}}.ai-mode-pill[aria-pressed=true]{border-color:#dc785e66;background:var(--coral-soft);color:var(--coral-deep)}.ai-mode-pill:disabled{cursor:wait;opacity:.55}.composer-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:6px;border:1px solid var(--line);border-radius:var(--radius-2xl);background:var(--paper);box-shadow:var(--shadow-md)}.composer-row textarea{resize:none;height:40px;min-height:40px;max-height:120px;border:0;outline:0;border-radius:var(--radius-lg);padding:9px 14px;background:var(--surface-sunken);line-height:1.45;font:inherit;font-size:var(--text-body);transition:background var(--dur-fast)}.composer-row:has(textarea:not([aria-invalid=true]):focus){border-color:var(--input-focus-border)}:where(html[data-input-modality=keyboard]) .composer-row textarea:focus{background:var(--paper)}.send-button{width:40px;height:40px;min-width:40px;display:grid;place-items:center;border:0;border-radius:var(--radius-lg);padding:0;background:var(--ink-900);color:var(--on-accent);font-weight:700;transition:transform var(--dur-fast),background var(--dur-fast),opacity var(--dur-fast)}@media(hover:hover)and (pointer:fine){.send-button:hover:not(:disabled){transform:translateY(-1px);background:var(--ink-800)}}.send-button:disabled{opacity:.4;cursor:default}.reply-preview{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:8px 11px;border-radius:var(--radius-sm);background:#f3efea;color:var(--muted);font-size:var(--text-xs)}.reply-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-preview button{border:0;background:transparent;color:var(--muted);border-radius:var(--radius-xs);padding:4px 6px}.message-composer .form-error{margin-top:8px}.notebook-empty{min-height:430px;border:1px dashed rgba(80,70,58,.16);border-radius:var(--radius-xl);display:grid;place-content:center;justify-items:center;gap:10px;padding:40px 32px;text-align:center;color:var(--muted);background:linear-gradient(145deg,#fffdfac2,#f8f2e9b8);box-shadow:inset 0 1px #ffffffe6}.notebook-empty-art{width:112px;height:104px;margin-bottom:12px;overflow:visible}.notebook-empty-art-back{fill:var(--coral-soft);stroke:var(--line)}.notebook-empty-art-page{fill:var(--paper);stroke:var(--line-strong);stroke-width:1.2}.notebook-empty-art-lines{stroke:var(--line-strong);stroke-width:2;stroke-linecap:round}.notebook-empty-art-heart{fill:var(--coral-soft);stroke:var(--coral);stroke-width:1.5;stroke-linejoin:round}.notebook-empty strong{color:var(--ink);font-size:20px}.notebook-empty span{max-width:500px;line-height:1.65;font-size:var(--text-md)}.notebook-action-notice{margin:-5px 0 16px;padding:11px 14px;border:1px solid rgba(86,122,94,.13);border-radius:var(--radius-md);color:#55705b;background:var(--success-soft);font-size:var(--text-sm);animation:scene-bubble-in .2s ease-out both}.notebook-memory-status p{margin:4px 0;line-height:1.65}.notebook-memory-details{margin-top:8px}.notebook-memory-details summary{cursor:pointer;padding:8px 0}.notebook-memory-details ul{list-style:none;margin:0;padding:0}.notebook-memory-details li{padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.notebook-memory-details blockquote{margin:8px 0;padding-left:10px;border-left:2px solid var(--line-strong);color:var(--ink)}.notebook-create-card{margin-bottom:18px;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--paper-90);box-shadow:var(--shadow-sm)}.notebook-create-card .knowledge-actions{margin-top:14px}.notebook-create-card .knowledge-actions>.text-button{min-height:var(--mobile-control-secondary)}.notebook-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-title h2{margin:0;font-size:var(--mobile-text-module);line-height:var(--mobile-leading-module);font-weight:600}.section-title span{color:var(--muted);font-size:var(--text-xs)}.knowledge-badges{display:flex;gap:6px;flex-wrap:wrap}.knowledge-badges span{padding:4px 7px;border-radius:var(--radius-xs);background:var(--wash);color:var(--muted);font-size:var(--text-xs)}.knowledge-subject{margin:0 0 10px;color:var(--muted);font-size:var(--text-sm)}.claim-list{display:grid;gap:8px;margin-top:10px}.claim-list span{color:var(--muted);line-height:1.45}.knowledge-card.editing{display:grid;gap:16px}@keyframes breathe{50%{transform:scale(.8);opacity:.6}}@keyframes scene-bubble-in{0%{opacity:0}to{opacity:1}}@keyframes scene-activity-bubble{0%,12%,to{opacity:0;transform:translate(var(--activity-bubble-x)) translateY(6px) scale(.58)}24%{opacity:1;transform:translate(var(--activity-bubble-x)) translateY(0) scale(1.08)}32%,68%{opacity:1;transform:translate(var(--activity-bubble-x)) translateY(0) scale(1)}82%{opacity:0;transform:translate(var(--activity-bubble-x)) translateY(-4px) scale(.82)}}@media(prefers-reduced-motion:reduce){.scene-actor-art,.scene-actor-anchor img,.scene-message-bubble{animation:none!important}.scene-ai{transition:none!important}}@media(max-width:920px){.brand-copy small,.topbar-user-name{display:none}.bottom-nav a{min-width:72px}.entry-page{grid-template-columns:minmax(0,1fr) minmax(350px,.85fr)}}@media(max-width:780px){body{background:var(--canvas)}html:has(.home-page),html:has(.chat-page:not([hidden])),body:has(.home-page),body:has(.chat-page:not([hidden])){height:100%;overflow:hidden}.app-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.topbar{height:58px;padding:0 14px}.brand-mark{width:31px;height:31px;border-radius:var(--radius-md)}.brand-copy strong{max-width:180px;font-size:var(--text-md)}.user-avatar{width:28px;height:28px}.icon-button{width:30px;height:30px}.desktop-nav{display:none}.mobile-nav{display:flex}.bottom-nav{position:fixed;z-index:18;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translate(-50%);width:calc(100% - 24px);padding:5px;border-radius:18px;background:var(--paper-90);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.bottom-nav a{min-width:0;flex:1;padding:9px 8px;border-radius:13px}.bottom-nav a.active{color:var(--on-accent);background:var(--ink-900);box-shadow:none}.home-page{height:calc(var(--visual-viewport-height, 100dvh) - var(--mobile-topbar-height, 58px) - env(safe-area-inset-bottom));display:flex;flex-direction:column;padding:12px 16px 16px;overflow:hidden}.home-room-stage{flex:1;min-height:0;overflow-y:auto;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.chat-page{height:calc(var(--visual-viewport-height, 100dvh) - var(--mobile-topbar-height, 58px) - 58px - env(safe-area-inset-bottom));padding:12px 16px 8px}.notebook-page{padding:20px 16px 24px}.page-toolbar{margin-bottom:14px}.soft-button{padding:10px 12px}.room-scene-card{margin-inline:0;border-radius:24px;box-shadow:var(--shadow-lg)}.scene-mobile-tabs{display:flex;align-items:center;gap:5px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--paper-90)}.scene-mobile-tabs button{border:0;border-radius:var(--radius-pill);padding:7px 11px;color:var(--muted);background:#eee9e2;font-size:var(--text-xs)}.scene-mobile-tabs button.active{color:var(--on-accent);background:var(--ink-900)}.scene-mobile-tabs small{margin-left:auto;color:#9b948b;font-size:var(--text-2xs)}.scene-offscreen-notice{position:absolute;z-index:12;top:74px;display:grid;grid-template-columns:auto auto;align-items:center;gap:0 6px;min-width:104px;padding:8px 10px;border:1px solid rgba(67,57,48,.12);border-radius:14px;color:var(--ink);background:var(--paper-96);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:scene-bubble-in .2s ease-out both}.scene-offscreen-notice.left{left:8px}.scene-offscreen-notice.right{right:8px}.scene-offscreen-notice>span{grid-row:1 / 3;color:var(--coral-deep);font-size:18px}.scene-offscreen-notice strong{font-size:var(--text-xs);line-height:1.2}.scene-offscreen-notice small{color:var(--muted);font-size:var(--text-2xs);line-height:1.2}.room-viewport{height:533px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;touch-action:pan-x}.room-viewport::-webkit-scrollbar{display:none}.room-world{width:760px;min-width:760px;scroll-snap-align:center}.room-chat-bar{position:relative;left:auto;bottom:auto;width:100%;margin:12px 0 0;transform:none}.room-chat-bar:focus-within{bottom:auto}.invite-card{align-items:stretch;flex-direction:column}.invite-code-actions{flex-basis:auto;width:100%}.message-list{padding:8px 4px 24px}.message{width:92%;padding-left:36px}.message.mine{padding-right:36px}.reply-button{opacity:1}.composer-tools{min-height:44px;margin-bottom:8px}.ai-mode-pill{min-height:44px;padding:6px 12px}.composer-row textarea{height:40px;min-height:40px;padding:9px 12px;font-size:var(--text-md)}.send-button{width:40px;height:40px;min-width:40px}.knowledge-grid,.notebook-form-grid{grid-template-columns:1fr}.knowledge-card{min-height:0}.reminder-item{grid-template-columns:auto 1fr}.reminder-actions{grid-column:2;justify-content:start}.entry-page{display:grid;grid-template-columns:1fr;padding:10px}.entry-visual{display:none}.entry-card{min-height:calc(100dvh - 20px);border-radius:24px;padding:28px 22px}.app-toast-stack{top:68px}}@media(max-width:1024px),(hover:none)and (pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea:not([readonly]),select:not([multiple]){font-size:16px}}@media(max-width:430px){.brand-copy strong{max-width:130px}}.mention-picker-card{position:absolute;left:0;right:0;bottom:calc(100% + 8px);z-index:100;width:100%;max-height:260px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);box-shadow:var(--shadow-lg);animation:mention-picker-pop-in .18s ease-out}@keyframes mention-picker-pop-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.mention-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:0 4px;font-size:var(--text-sm);font-weight:600;color:var(--muted)}.mention-picker-header button{width:24px;height:24px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;transition:background var(--dur-fast),color var(--dur-fast)}@media(hover:hover)and (pointer:fine){.mention-picker-header button:hover{background:var(--surface-sunken);color:var(--ink)}}.mention-picker-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.mention-picker-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--ink);font-size:var(--text-body);text-align:left;cursor:pointer;transition:background var(--dur-fast)}@media(hover:hover)and (pointer:fine){.mention-picker-item:hover{background:var(--surface-sunken)}}.mention-picker-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-pill);font-weight:700;font-size:var(--text-body);color:var(--on-accent);flex-shrink:0}.mention-picker-avatar.coral{background:var(--coral)}.mention-picker-avatar.blue{background:var(--blue)}.mention-picker-avatar.ai{background:var(--ink-900)}.mention-picker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-picker-badge{padding:3px 8px;border-radius:var(--radius-xs);background:var(--surface-sunken);color:var(--muted);font-size:var(--text-xs);font-weight:600}@media(max-width:640px){.mention-picker-card{padding:10px;border-radius:var(--radius-md)}.mention-picker-avatar{width:34px;height:34px}}@media(max-width:780px){html[data-layout=mobile] .entry-page{padding-top:max(var(--space-3),env(safe-area-inset-top));padding-bottom:max(var(--space-3),env(safe-area-inset-bottom))}}.reminder-toast{max-height:min(200px,40dvh);overflow:hidden}.reminder-toast-body{min-width:0;min-height:0;overflow:hidden}.reminder-toast-body>span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.reminder-toast-body>strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reminder-toast>button:last-child,.ai-mode-toast>button,.mention-picker-header button{min-width:var(--touch-target);min-height:var(--touch-target);flex-shrink:0}.bottom-nav a,.me-page button,.notebook-page :is(.knowledge-open,.reminder-row button){touch-action:manipulation}.mention-picker-card{--mention-safe-top: env(safe-area-inset-top, 0px);--mention-safe-bottom: env(safe-area-inset-bottom, 0px);display:flex;flex-direction:column;overflow:hidden}.mention-picker-header{flex:none}.mention-picker-header button{display:grid;place-items:center}.mention-picker-list{min-height:0;overflow-y:auto;overscroll-behavior:contain}.mention-empty{margin:0;padding:var(--space-3);color:var(--muted);font-size:var(--mobile-text-secondary);line-height:1.6}.mention-picker-item{min-height:var(--touch-target)}.mention-picker-list [aria-selected=true] .mention-picker-item{background:var(--surface-sunken)}.me-row{touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.nav-item-icon{position:relative;display:flex;flex:0 0 auto}.nav-attention-dot{position:absolute;top:-1px;right:-3px;width:7px;height:7px;border-radius:50%;background:var(--attention-dot);box-shadow:0 0 0 1.5px var(--paper)}.composer-tools{gap:8px;flex-wrap:wrap}.composer-tool-pill{min-height:32px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);padding:6px 11px;background:var(--paper);color:var(--ink);font-size:var(--text-sm);font-weight:700;line-height:1;box-shadow:var(--shadow-xs);transition:border-color var(--dur-fast),background var(--dur-fast),transform var(--dur-fast)}@media(hover:hover)and (pointer:fine){.composer-tool-pill:hover:not(:disabled){transform:translateY(-1px);border-color:#dc785e73;background:var(--coral-soft)}}.reminder-preset-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.reminder-preset-heading h2{margin:4px 0 6px;font-size:24px;letter-spacing:-.02em}.reminder-preset-heading>div>span{color:var(--muted);font-size:var(--text-md)}.reminder-preset-list{display:grid;gap:12px}.reminder-preset-card{width:100%;min-height:80px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--line);border-radius:var(--radius-lg);padding:14px 18px;text-align:left;background:var(--paper);color:var(--ink);box-shadow:var(--shadow-xs);transition:transform var(--dur-fast),border-color var(--dur-fast),background var(--dur-fast)}:where(html[data-input-modality=keyboard]) .reminder-preset-card:focus-visible{border-color:var(--accent);background:var(--accent-soft)}@media(hover:hover)and (pointer:fine){.reminder-preset-card:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}}:where(html[data-input-modality=keyboard]) .reminder-preset-card:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent)}.reminder-preset-card:disabled{cursor:wait;opacity:.64}.reminder-preset-emoji{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(220,120,94,.14);border-radius:50%;background:var(--coral-soft);font-size:24px}.reminder-preset-copy{min-width:0;display:grid;gap:4px}.reminder-preset-copy strong{font-size:var(--text-body)}.reminder-preset-copy small{overflow:hidden;color:var(--muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.reminder-preset-add{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(220,120,94,.28);border-radius:50%;color:var(--coral-deep);background:var(--coral-soft)}.reminder-manage-link{width:fit-content;display:block;margin:16px auto 0;padding:8px 12px;border-radius:var(--radius-pill);color:var(--muted);font-size:var(--text-sm);font-weight:700}@media(hover:hover)and (pointer:fine){.reminder-manage-link:hover{color:var(--ink);background:var(--surface-sunken)}}@media(max-width:700px){.composer-tool-pill{min-height:44px;padding:6px 12px}.reminder-preset-heading{margin-bottom:16px}.reminder-preset-heading h2{font-size:22px}.reminder-preset-card{min-height:72px;gap:12px;padding:12px 14px}.reminder-preset-emoji{width:42px;height:42px;font-size:21px}}html[data-layout=mobile]{--mobile-topbar-height: 0px;--mobile-tab-space: calc(var(--mobile-tab-height) + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;scrollbar-gutter:auto}html[data-layout=mobile]:has(.app-shell),html[data-layout=mobile] body:has(.app-shell),html[data-layout=mobile] #root:has(.app-shell){height:100%;overflow:hidden}html[data-layout=mobile] body{background:var(--bg)}html[data-layout=mobile] :is(button,[role=button],summary,label:has(input:is([type=radio],[type=checkbox])),.app-shell a:not(.markdown a,.knowledge-reading-content a,.public-info-page a),.public-info-back,.public-info-nav a,.public-info-actions a){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}html[data-layout=mobile] .app-shell{position:fixed;inset:var(--visual-viewport-offset-top, 0px) 0 auto;display:flex;flex-direction:column;height:var(--visual-viewport-height, 100dvh);min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) var(--mobile-tab-space) env(safe-area-inset-left);background:var(--bg);overflow:hidden}html[data-layout=mobile] .app-shell.app-inner-page{padding-bottom:env(safe-area-inset-bottom)}html[data-layout=mobile][data-keyboard-open=true] .app-shell.app-inner-page{padding-bottom:0}html[data-layout=mobile] .app-shell:has(:is(.chat-page:not([hidden]),.me-page,.tab-page-header)){background:var(--paper)}html[data-layout=mobile] .app-shell:has(.personal-notebook){background:var(--paper)}html[data-layout=mobile] .app-shell>main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}html[data-platform=ios] :is(.game-layout .game-content,.public-info-shell){overscroll-behavior-x:auto}html[data-layout=mobile] .app-shell:has(:is(.home-page,.chat-page:not([hidden])))>main{overflow:hidden}html[data-layout=mobile] .app-shell .bottom-nav.mobile-nav{display:flex;position:absolute;inset:auto 0 0;width:100%;height:var(--mobile-tab-space);padding:var(--space-1) var(--space-3) env(safe-area-inset-bottom);transform:none;opacity:1;pointer-events:auto;border:0;border-top:1px solid var(--line-soft);border-radius:0;background:var(--paper);box-shadow:none;-webkit-backdrop-filter:blur(var(--space-5));backdrop-filter:blur(var(--space-5))}html[data-layout=mobile] .bottom-nav.mobile-nav a{display:flex;flex:1;flex-direction:column;justify-content:center;gap:2px;min-width:0;min-height:var(--touch-target);padding:0;border-radius:var(--radius-md);color:var(--muted);font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption);font-weight:500;background:transparent;box-shadow:none;-webkit-tap-highlight-color:transparent}html[data-layout=mobile] .bottom-nav.mobile-nav a svg{width:22px;height:22px}html[data-layout=mobile] .bottom-nav.mobile-nav a.active{color:var(--coral-deep);background:transparent;font-weight:650}html[data-layout=mobile] .bottom-nav.mobile-nav a:active{background:transparent}@media(hover:hover)and (pointer:fine){html[data-layout=mobile] .bottom-nav.mobile-nav a:hover{background:transparent}}html[data-layout=mobile][data-keyboard-open=true]{--mobile-tab-space: 0px}html[data-layout=mobile][data-keyboard-open=true] .app-shell .bottom-nav.mobile-nav{display:none}html[data-layout=mobile] .app-shell:has(:is(.notification-page,.divination-page,.home-page)){padding-bottom:env(safe-area-inset-bottom)}html[data-layout=mobile] .app-shell:has(:is(.notification-page,.divination-page,.home-page)) .bottom-nav.mobile-nav{display:none}html[data-layout=mobile] .native-back{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);min-width:var(--touch-target);min-height:var(--touch-target);margin-left:var(--space-3);padding:var(--space-2);color:var(--coral-deep);text-decoration:none;font-size:var(--mobile-text-body)}.inner-page-nav{box-sizing:border-box;flex:none;height:var(--inner-nav-height);min-height:var(--inner-nav-height);padding-inline:var(--inner-nav-inset)}.page-back-button{box-sizing:border-box;display:inline-flex;flex:0 0 var(--back-target-size);align-items:center;justify-content:center;width:var(--back-target-size);height:var(--back-target-size);min-width:var(--back-target-size);min-height:var(--back-target-size);margin:0;padding:0;border:0;background:transparent;box-shadow:none;text-decoration:none}@media(hover:hover)and (pointer:fine){.page-back-button:hover,.icon-button.page-back-button:hover{background:transparent}}html[data-layout=mobile] .native-back.page-back-button{margin:0;padding:0}html[data-layout=mobile] .app-toast-stack{top:calc(env(safe-area-inset-top) + var(--space-2));left:var(--space-3);right:var(--space-3);width:auto;transform:none}html[data-layout=mobile] :is(.icon-button,.reply-button){min-height:var(--touch-target)}html[data-layout=mobile] .icon-button{min-width:var(--touch-target)}html[data-layout=mobile] .primary-button{min-height:var(--mobile-control-primary)}html[data-layout=mobile] .soft-button{min-height:var(--mobile-control-secondary)}html[data-layout=mobile] .field :is(input,textarea,select){font-size:var(--mobile-text-body)}html[data-layout=mobile] .app-shell .home-page{display:flex;flex-direction:column;height:100%;max-width:none;margin:0;padding:0}html[data-layout=mobile] .home-room-layout{display:flex;flex-direction:column;flex:1;min-height:0}html[data-layout=mobile] .home-page .home-room-stage{flex:1;min-height:0;padding:0;overflow-y:auto}html[data-layout=mobile] .room-scene-card{display:flex;flex-direction:column;min-height:100%;margin:0;border:0;border-radius:0;box-shadow:none}html[data-layout=mobile] .scene-mobile-tabs{flex:none;gap:var(--space-1);padding:var(--space-2) var(--space-4);border:0;background:var(--bg)}html[data-layout=mobile] .scene-mobile-tabs button{min-height:var(--touch-target);padding:var(--space-2) var(--space-4);border-radius:var(--radius-pill);font-size:var(--mobile-text-secondary);background:transparent}html[data-layout=mobile] .scene-mobile-tabs button.active{color:var(--coral-deep);background:var(--coral-soft)}html[data-layout=mobile] .scene-mobile-tabs small{font-size:var(--mobile-text-caption)}html[data-layout=mobile] .room-viewport{display:flex;align-items:center;flex:1;min-height:var(--mobile-scene-height);height:auto}html[data-layout=mobile] .room-world{flex-shrink:0}html[data-layout=mobile] .home-room-layout>.room-chat-bar{flex:none;position:relative;inset:auto;width:100%;margin:0;padding:var(--space-2) var(--space-3);transform:none;background:var(--bg)}html[data-layout=mobile] .home-page>.invite-card{flex:none;margin:var(--space-3);padding:var(--space-4)}html[data-layout=mobile] .room-chat-bar>form{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}html[data-layout=mobile] .chat-media-tools .composer-row{grid-template-columns:minmax(0,1fr) repeat(2,var(--touch-target));gap:var(--space-1)}html[data-layout=mobile] .room-chat-bar .chat-media-tools{scroll-margin-bottom:0}html[data-layout=mobile] .composer-assistant-entry{display:flex;align-items:center;gap:var(--space-2);min-height:var(--touch-target);margin:calc(-1 * var(--space-1)) 0 var(--space-1);padding:var(--space-2);border:0;background:transparent;color:var(--muted);font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .composer-assistant-entry>span:first-of-type{color:var(--ink);font-weight:600}html[data-layout=mobile] .chat-attachment-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);padding:var(--space-4) var(--space-2)}html[data-layout=mobile] .chat-attachment-panel>:is(button,a){display:grid;justify-items:center;gap:var(--space-2);min-height:var(--touch-target);border:0;padding:0;background:transparent;color:var(--muted);text-decoration:none;font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .chat-attachment-panel>:is(button,a)>span{display:grid;place-items:center;width:var(--mobile-avatar-size);height:var(--mobile-avatar-size);border-radius:var(--radius-lg);background:var(--paper);color:var(--ink)}html[data-layout=mobile] .chat-emoji-picker button{min-height:var(--touch-target)}html[data-layout=mobile] .assistant-settings{display:grid;gap:var(--space-5)}html[data-layout=mobile] .assistant-settings .ai-mode-pill{min-height:var(--touch-target);justify-content:center}html[data-layout=mobile] .notebook-empty{min-height:0;padding:var(--space-8) var(--space-5);border:0;background:transparent}html[data-layout=mobile] .notebook-empty-art{width:var(--mobile-avatar-size);height:auto;margin-bottom:var(--space-4)}html[data-layout=mobile] .notebook-empty strong{font-size:var(--mobile-text-body)}html[data-layout=mobile] .notebook-empty>span{font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .notification-page{padding:var(--space-3) var(--space-4) var(--space-6);font-size:var(--mobile-text-body)}html[data-layout=mobile] .notification-preferences{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);box-shadow:none}html[data-layout=mobile] .notification-preferences{overflow:hidden}html[data-layout=mobile] .notification-preferences label{min-height:var(--mobile-row-height);gap:var(--space-4);padding:10px var(--space-4)}html[data-layout=mobile] .notification-preferences label:last-child{border-bottom:0}html[data-layout=mobile] .notification-preferences strong{font-weight:500}html[data-layout=mobile] .notification-preferences input{appearance:none;position:relative;width:var(--mobile-switch-width);height:var(--mobile-switch-height);margin:0;border:0;border-radius:var(--radius-pill);background:var(--muted);transition:background var(--dur-fast);cursor:pointer}html[data-layout=mobile] .notification-preferences input:before{content:"";position:absolute;top:calc((var(--mobile-switch-height) - var(--mobile-switch-thumb)) / 2);left:calc((var(--mobile-switch-height) - var(--mobile-switch-thumb)) / 2);width:var(--mobile-switch-thumb);height:var(--mobile-switch-thumb);border-radius:50%;background:var(--paper);transition:transform var(--dur-fast)}html[data-layout=mobile] .notification-preferences input:checked{background:var(--coral-deep)}html[data-layout=mobile] .notification-preferences input:checked:before{transform:translate(calc(var(--mobile-switch-width) - var(--mobile-switch-height)))}html[data-layout=mobile] .notification-preferences input:disabled{opacity:.5;cursor:wait}html[data-layout=mobile] .field{font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}html[data-layout=mobile] :is(.knowledge-content,.date-empty){font-size:var(--mobile-text-body);line-height:var(--mobile-leading-body)}html[data-layout=mobile] .reminder-copy>strong{font-size:var(--mobile-text-list-title);line-height:var(--mobile-leading-list-title)}html[data-layout=mobile] :is(.field small,.form-error,.dialog-description,.date-settings-help,.date-card-label,.date-source,.knowledge-subject){font-size:var(--mobile-text-secondary);line-height:var(--mobile-leading-secondary)}html[data-layout=mobile] :is(.soft-button,.reminder-actions button,.reminder-history>summary){font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .primary-button{font-size:var(--mobile-text-body)}html[data-layout=mobile] .text-button{font-size:var(--mobile-text-compact)}html[data-layout=mobile] .section-title h2{font-size:var(--mobile-text-body)}html[data-layout=mobile] :is(.knowledge-meta,.knowledge-badges span,.knowledge-kind,.section-title>span,.chat-system-notice){font-size:var(--mobile-text-caption);line-height:var(--mobile-leading-caption);color:var(--muted)}html[data-layout=mobile] .reminder-item small{font-size:var(--mobile-text-compact);line-height:var(--mobile-leading-compact);color:var(--muted)}html[data-layout=mobile] .field{min-width:0}html[data-layout=mobile] .field :is(input,textarea,select){max-width:100%}html[data-layout=mobile] :is(.reply-preview button,.chat-image-draft button,.failed-message button,.date-source summary,.knowledge-card summary,.reminder-history>summary){min-width:var(--touch-target);min-height:var(--touch-target)}html:where([data-input-modality=keyboard])[data-layout=mobile] :is(button,a,summary,[tabindex]:not(input):not(textarea):not(select),input[type=button],input[type=submit],input[type=reset],input[type=image],input[type=file],input[type=checkbox],input[type=radio],input[type=range],input[type=color]):focus-visible{outline:2px solid var(--coral-deep);outline-offset:2px}html[data-layout=mobile] .divination-page{min-height:100%;padding-top:0}html[data-layout=mobile] .divination-nav{height:var(--inner-nav-height);min-height:var(--inner-nav-height);padding-block:0}html[data-layout=mobile] .divination-nav a{display:inline-flex;align-items:center;min-height:var(--touch-target)}html[data-layout=mobile] .divination-nav>span{display:none}html[data-layout=mobile] .divination-intro{padding:var(--space-4) 0;margin:0}html[data-layout=mobile] .divination-intro .divination-eyebrow{display:none}html[data-layout=mobile] .divination-intro h1{font-size:var(--mobile-text-title);margin:0 0 var(--space-2)}html[data-layout=mobile] .divination-game-choice{min-height:0;padding:var(--space-4);gap:var(--space-3);border-radius:var(--radius-lg)}html[data-layout=mobile] .divination-game-choice h2{font-size:var(--mobile-text-body)}html[data-layout=mobile] .divination-game-choice p{font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .divination-game-choice>span{margin-top:var(--space-2);font-size:var(--mobile-text-secondary)}html[data-layout=mobile] .chat-image-dialog[open]{display:flex;inset:var(--visual-viewport-offset-top, 0px) 0 auto;width:100%;max-width:none;height:var(--visual-viewport-height, 100dvh);max-height:none;margin:0;padding:0;border-radius:0;background:#000}html[data-layout=mobile] .chat-image-dialog>button{top:max(var(--space-2),env(safe-area-inset-top));width:var(--touch-target);height:var(--touch-target);color:#fff}html[data-layout=mobile] .chat-image-dialog img{max-width:100%;max-height:100%}@media(prefers-reduced-motion:reduce){html[data-layout=mobile] :is(.app-dialog,.bottom-nav,.chat-media-action,.notification-preferences input),html[data-layout=mobile] .notification-preferences input:before{transition:none;animation:none}}@media(forced-colors:active){html[data-layout=mobile] .notification-preferences input{appearance:auto;width:var(--touch-target);height:var(--touch-target)}html[data-layout=mobile] .notification-preferences input:before{display:none}}.notification-page-header{display:flex;align-items:center;gap:8px}.notification-page-header h1{margin:0;font-size:var(--mobile-text-nav-title);line-height:var(--mobile-leading-nav-title)}.choice-field{min-width:0;margin:0;padding:0;border:0}.choice-field legend{margin-bottom:10px;padding:0;color:var(--ink);font-size:14px;font-weight:600}.choice-options{display:flex;flex-wrap:wrap;gap:8px}.choice-option{position:relative;min-width:0;max-width:100%;cursor:pointer}.choice-option input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.choice-option span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-input);color:var(--muted);font-size:14px;line-height:1.4;overflow-wrap:anywhere}.choice-option input:checked+span{border-color:var(--coral);color:var(--coral-deep);background:var(--coral-soft);font-weight:600}:where(html[data-input-modality=keyboard]) .choice-option input:focus-visible+span{outline:2px solid var(--coral-deep);outline-offset:2px}.choice-option input:disabled+span{opacity:.55;cursor:default}.choice-field>small{display:block;margin-top:8px;color:var(--muted);line-height:1.6}.app-dialog{overflow-x:hidden;overscroll-behavior-x:none}.app-dialog-surface,.app-dialog-content{min-width:0;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}.app-dialog-content{touch-action:pan-y}.app-dialog-content :is(form,fieldset,.field,.notebook-form-grid,.anniversary-edit-row){min-width:0;max-width:100%}.app-dialog-content :is(input:not([type=radio]):not([type=checkbox]),textarea,select){box-sizing:border-box;min-width:0;max-width:100%;width:100%}.app-dialog-content input::-webkit-date-and-time-value{min-width:0;text-align:left}.app-dialog-content input::-webkit-datetime-edit{min-width:0;padding:0}.app-dialog-content :is(p,h2,h3,label,legend,small){overflow-wrap:anywhere}html[data-layout=mobile] .app-dialog-content .notebook-form-grid{grid-template-columns:minmax(0,1fr)}html[data-layout=mobile] .anniversary-edit-row{grid-template-columns:minmax(0,1fr) 44px}html[data-layout=mobile] .anniversary-edit-row>.field:first-child{grid-column:1 / -1}.date-month-only{min-height:44px;gap:8px}.date-month-only input{accent-color:var(--coral-deep)}.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}@media(prefers-reduced-motion:reduce){.app-dialog{scroll-behavior:auto}}html[data-layout=mobile] .app-shell>main{min-width:0;max-width:100%;overflow-x:hidden}html[data-layout=mobile] :is(.app-shell>main:not(:has(.home-page)),.entry-page,.page-dialog .editor-scroll,.page-dialog textarea,.app-dialog-content,.app-dialog-content textarea,.context-scroll,.chat-panel .message-list,.chat-emoji-picker,.chat-media-tools textarea,.mention-picker-card,.game-layout .game-content,.game-layout .game-controls,.public-info-shell){min-width:0;max-width:100%;overflow-x:hidden;touch-action:pan-y pinch-zoom}html[data-layout=mobile] .page-dialog :is(.editor-subpage,.editor-choices,.editor-setting>span){min-width:0;max-width:100%;overflow-wrap:anywhere}html[data-layout=mobile] .page-dialog .editor-choices{grid-template-columns:minmax(0,1fr)}html[data-layout=mobile] .chat-image-surface{touch-action:none}.assistant-avatar{display:block;flex-shrink:0;max-width:100%;border-radius:50%;object-fit:cover}
