@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.resize{resize:both}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-4{gap:calc(var(--spacing) * 4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.italic{font-style:italic}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}}.card-dialog{border:1px solid var(--line);background:var(--panel);width:min(820px,100% - 14.4px);max-height:90dvh;color:var(--text);border-radius:10.8px;margin:auto;padding:14.4px;position:fixed;inset:0;overflow-y:auto}.card-dialog::backdrop{background:#090714cc}.picker-header{justify-content:space-between;align-items:flex-start;gap:7.2px;padding-bottom:9.6px;display:flex}.picker-header h2{margin:0}.picker-tools{flex-wrap:wrap;align-items:end;gap:7.2px;padding-top:9.6px;display:flex}.picker-tools .field{flex:114px;margin-bottom:4.8px}.picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7.2px;margin:9.6px 0;display:grid}.card-choice{border:2px solid var(--line);cursor:pointer;overflow-wrap:anywhere;border-radius:7.2px;flex-direction:column;gap:3.6px;min-width:0;padding:7.2px;display:flex;position:relative}.card-choice.is-selected{border-color:var(--accent);background:var(--bg)}.card-choice input{width:13.2px;height:13.2px;accent-color:var(--accent);position:absolute;top:7.2px;right:7.2px}.card-choice:focus-within{outline:3px solid var(--accent);outline-offset:3px}.card-face{min-height:66px;color:var(--accent);flex-direction:column;justify-content:space-between;padding-right:13.2px;display:flex}.card-symbol{text-align:center;font-size:21.6px}.card-secondary{color:var(--muted);font-size:8.4px;line-height:1.4}.picker-footer{background:var(--panel);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:7.2px;padding:9.6px 0;display:flex;position:sticky;bottom:-14.4px}.picker-footer .button{margin-top:0}.empty-results{text-align:center;padding:19.2px 0}.draw-list{gap:7.2px;margin:12px 0;padding:0;list-style:none;display:grid}.draw-item{background:var(--bg);border:1px solid var(--line);border-radius:7.2px;padding:9.6px}.draw-heading{align-items:center;gap:7.2px;margin-bottom:9.6px;display:flex}.draw-heading>div{flex:1;min-width:0}.orientation{color:var(--accent);white-space:nowrap;font-size:8.4px}.draw-actions{flex-wrap:wrap;gap:4.8px;display:flex}.draw-item .field{font-size:8.4px}.draw-item .notice .button+.button{margin-left:4.8px}@media(max-width:520px){.card-dialog{width:calc(100% - 9.6px);max-height:94dvh;padding:9.6px}.picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.picker-footer{bottom:-9.6px}.card-face{min-height:48px}.draw-heading{gap:4.8px}}.field{flex-direction:column;gap:4.8px;margin-bottom:12px;font-size:9px;display:flex}.field input,.field textarea,.field select{border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:6px;min-height:27.6px;padding:7.2px;font-size:9.6px}.field textarea{resize:vertical}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23968aaa' stroke-width='2'%3E%3Cpath d='m4 6 5 5 5-5'/%3E%3C/svg%3E");background-position:right 7.2px center;background-repeat:no-repeat;padding-right:21.6px}.editor-fields{min-width:0}.section-heading{justify-content:space-between;align-items:center;gap:7.2px;margin-top:14.4px;display:flex}.section-heading h2{margin:0}.section-heading .button,.question-panel .button,.editor-actions .button{margin-top:0}.question-panel{border-inline-start:3px solid var(--accent);overflow-wrap:anywhere}.question-meta{color:var(--accent);justify-content:space-between;align-items:center;gap:4.8px;margin-bottom:7.2px;font-size:8.4px;display:flex}.parent-label{color:var(--muted);margin-bottom:7.2px;font-size:8.4px}.text-button{min-height:26.4px;color:var(--accent);padding:3.6px 6px;text-decoration:underline}.editor-actions{flex-wrap:wrap;gap:7.2px;margin-top:14.4px;display:flex}.notice{border:1px solid var(--accent);background:var(--panel);overflow-wrap:anywhere;border-radius:7.2px;margin-top:12px;padding:12px}.notice a{padding:4.8px;text-decoration:underline;display:inline-block}.reading-list{margin-top:14.4px;padding:0;list-style:none}.reading-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:9.6px;padding:14.4px 0;display:flex}.reading-row h2{overflow-wrap:anywhere;font-size:12.6px}.reading-row>div{min-width:0}.reading-row .badge{flex-shrink:0}.reading-row time{color:var(--muted);font-size:8.4px}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}button:disabled{opacity:.55;cursor:wait}:root{color-scheme:dark;--bg:#151427;--panel:#201e35;--text:#f3effc;--muted:#b9b2cc;--line:#3b3654;--accent:#bfa5f2;--button:#d3bcff;--button-text:#27183e;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif}:root[data-theme=light]{color-scheme:light;--bg:#f5f4fb;--panel:#fff;--text:#29223c;--muted:#665c79;--line:#ded7eb;--accent:#68439b;--button:#68439b;--button-text:#fff}*{box-sizing:border-box}body{min-width:320px;margin:0;font-size:9.6px;line-height:1.7}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{text-decoration:none}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.shell{max-width:880px;margin:auto;padding:14.4px 14.4px 66px}header{border-bottom:1px solid var(--line);padding-bottom:19.2px}.brand{align-items:center;gap:6px;font-family:Georgia,serif;font-size:13.8px;display:flex}.brand svg{color:var(--accent)}.badge{color:var(--muted);border:1px solid var(--line);border-radius:18px;padding:3px 7.2px;font-size:7.2px}main{min-height:65vh;padding-top:21.6px}h1{margin:4.8px 0 8.4px;font-size:18px;line-height:1.3}h2{margin:0 0 7.2px;font-size:13.8px}.eyebrow{letter-spacing:.15em;color:var(--accent);font-size:7.2px}.muted{color:var(--muted)}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;margin-top:16.8px;padding:19.2px}.empty{text-align:center;padding:24px 14.4px}.orbit{width:56.4px;height:56.4px;color:var(--accent);border:1px solid var(--line);border-radius:50%;place-items:center;margin:0 auto 15.6px;display:grid;position:relative}.orbit span{background:var(--panel);position:absolute;top:0;right:1px}.button{background:var(--button);min-height:27.6px;color:var(--button-text);border-radius:6px;justify-content:center;align-items:center;gap:4.8px;margin-top:14.4px;padding:6px 13.2px;font-weight:600;display:inline-flex}.secondary{border:1px solid var(--line);color:var(--text);background:0 0}.small-title{font-size:10.8px}.deck-grid{grid-template-columns:repeat(4,1fr);gap:7.2px;display:grid}.deck{border:1px solid var(--line);text-align:center;border-radius:7.2px;flex-direction:column;align-items:center;gap:4.8px;padding:8.4px 6px;font-size:8.4px;display:flex}.deck span{color:var(--accent);font-size:15.6px}nav{z-index:10;border:1px solid var(--line);background:var(--panel);width:min(100%,880px);padding:7.2px 7.2px max(7.2px,env(safe-area-inset-bottom));border-bottom:0;border-radius:10.8px 10.8px 0 0;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}nav a{min-width:48px;min-height:28.8px;color:var(--muted);flex-direction:column;align-items:center;gap:2.4px;font-size:8.4px;display:flex}nav a.active{color:var(--accent)}footer{text-align:center;color:var(--muted);padding-top:20.4px;font-size:7.2px}fieldset{border:0;margin-bottom:14.4px;padding:0}legend{margin-bottom:7.2px}.segmented{gap:4.8px;display:flex}.segmented button{border:1px solid var(--line);min-height:28.8px;color:var(--text);background:0 0;border-radius:6px;flex:1}.segmented button[aria-pressed=true]{background:var(--button);color:var(--button-text);border-color:var(--button)}.skip{position:absolute;top:-60px}.skip:focus{background:var(--panel);z-index:20;padding:4.8px;top:4.8px}@media(max-width:520px){.shell{padding:12px 9.6px 66px}.deck-grid{grid-template-columns:repeat(2,1fr)}.panel{padding:14.4px 12px}h1{font-size:16.8px}}.delete-dialog{width:min(32rem,100vw - 2rem);margin:auto}.delete-dialog::backdrop{background:#0000008c}.delete-trigger{min-height:26.4px;color:var(--muted);font:inherit;white-space:nowrap;background:0 0;border:0;padding:4.8px 2.4px;font-size:7.2px}.delete-trigger:hover{color:var(--text);text-decoration:underline}.reading-list>li{border-bottom:1px solid var(--line);align-items:center;gap:9.6px;display:flex}.reading-list .reading-row{border-bottom:0;flex:1;min-width:0}.reading-delete{flex-shrink:0}@media(max-width:520px){.reading-list>li{gap:6px}.reading-list .reading-row{gap:4.8px}}.card-artwork{object-fit:contain;border-radius:2.4px;width:100%;height:auto;display:block}.card-artwork.is-reversed{transform:rotate(180deg)}.card-face:has(.card-artwork){background:0 0;padding:0}.draw-artwork{text-align:center;width:min(108px,60%);margin:0 auto 9.6px}:root,body{font-size:9.6px}.shell{max-width:880px}h1{font-size:18px}h3{font-size:12px}.badge,.eyebrow,.card-secondary,.orientation,.question-meta,.parent-label,.reading-row time,footer{font-size:9px}.button svg{width:12px;height:12px}nav a{min-height:30px;font-size:9px}nav{padding-bottom:max(7px,env(safe-area-inset-bottom))}.button,.text-button,.delete-trigger{min-height:28px}.card-dialog{width:min(820px,100% - 12px);padding:10px}.picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.card-choice{border-width:1px;border-radius:5px;gap:3px;padding:4px}.card-choice strong{font-size:9.6px;line-height:1.35}.card-choice input{z-index:1;width:13px;height:13px;top:5px;right:5px}.card-face{aspect-ratio:2/3;justify-content:center;min-height:0;padding:0}.card-face .card-artwork{object-fit:contain;height:100%}.picker-footer{padding:8px 0;bottom:-10px}.picker-tools .field{flex-basis:110px}.journal-sheet{background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-top:12px;padding:14px}.journal-header{padding:0 0 12px}.journal-header h2{margin:8px 0 4px;font-size:18px}.journal-date{color:var(--muted);margin-bottom:8px;font-size:9px;display:block}.journal-tools{justify-content:flex-end;gap:6px;padding-top:5px;display:flex}.journal-entry{border:0;border-inline-start:1px solid var(--line);overflow-wrap:anywhere;background:0 0;border-radius:0;margin-top:6px;padding:8px 0 10px 8px}.journal-entry+.journal-entry{border-top:1px solid var(--line)}.journal-entry-title{margin:0}.journal-toggle{text-align:start;align-items:baseline;gap:6px;width:100%;min-height:28px;padding:4px 0;font-size:12px;font-weight:600;display:flex}.journal-toggle>span:nth-child(2){flex:1;min-width:0}.journal-level{color:var(--muted);white-space:nowrap;font-size:9px;font-weight:400}.journal-entry-body{padding-top:4px}.journal-interpretation{margin-top:8px;line-height:1.8}.journal-entry .question-meta{margin:0 0 6px}.draw-list-gallery{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:8px;margin:8px 0}.draw-list-gallery .draw-item{background:0 0;border:0;min-width:0;padding:0}.draw-list-gallery .draw-artwork{width:100%;max-width:72px;margin:0 0 5px}.draw-list-gallery .draw-heading{flex-wrap:wrap;gap:3px;margin:0;display:flex}.draw-list-gallery .draw-heading>div{flex-basis:100%;order:-1}.draw-list-gallery .badge{border:0;padding:0}.draw-list-gallery .card-secondary{display:none}.draw-list-gallery .preserve-text{margin-top:4px;font-size:9px}.draw-list-editable .draw-item{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;min-height:105px;padding:8px 8px 8px 70px;position:relative}.draw-list-editable .draw-artwork{width:56px;margin:0;position:absolute;top:8px;left:0}.draw-list-editable .field{margin-bottom:8px}.editor-fields>.panel{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;margin:0;padding:0 0 12px}@media(min-width:640px){.picker-grid,.draw-list-gallery{grid-template-columns:repeat(6,minmax(0,1fr))}}.shell>header{border:0;padding-bottom:10px}.shell>header .badge{display:none}.diary-page-heading{justify-content:space-between;align-items:center;margin:4px 0 18px;display:flex}.diary-page-heading h1{margin:0}.compose-link,.icon-control,.favorite-button{min-width:30px;min-height:30px;color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.compose-link{color:var(--accent);border:1px solid var(--line);border-radius:50%}.diary-search input{background:var(--panel);border:0;border-radius:6px}.diary-list{margin-top:6px}.diary-list>li{align-items:center;gap:8px}.diary-list .reading-row{justify-content:flex-start;align-items:flex-start;gap:14px;padding:18px 0}.diary-list .reading-row h2{margin:0 0 5px;font-family:inherit;font-size:13px}.diary-list .diary-date{flex:0 0 42px;padding-top:2px;font-size:9px}.diary-list .reading-row>div{flex:1}.diary-excerpt{color:var(--muted);-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;margin:0 0 6px;display:-webkit-box;overflow:hidden}.diary-status{color:var(--muted);font-size:9px}.diary-row-actions{flex-direction:column;align-items:center;display:flex}.favorite-button[aria-pressed=true]{color:var(--accent)}.diary-empty{color:var(--muted);text-align:center;margin:36px 0;line-height:1.8}nav{padding:8px 10px max(8px,env(safe-area-inset-bottom));border:0;border-radius:0;gap:4px}nav a{text-align:center;border-radius:18px;flex-direction:row;flex:1;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:8px 3px}nav a.active{background:var(--line)}.journal-meta-row{align-items:center;gap:8px;display:flex}.month-heading{justify-content:space-between;align-items:center;margin:12px 0;display:flex}.month-heading h2{margin:0;font-family:inherit;font-size:14px}.month-weekdays,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.month-weekdays{color:var(--muted);text-align:center;margin-bottom:8px}.month-day{border:1px solid #0000;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:58px;font-size:11px;display:flex}.month-day.is-today>span:first-child{color:var(--accent);font-weight:700}.moon-phase{width:16px;height:16px;color:var(--accent);display:block}.entry-dot{background:0 0;border-radius:50%;width:3px;height:3px}.entry-dot.has-entries{background:var(--accent)}.calendar-caption{color:var(--muted);text-align:center;margin:14px 0 24px;font-size:9px}.day-heading{font:inherit;border-top:1px solid var(--line);padding-top:12px;font-weight:600}.journal-toolbar{align-items:center;gap:4px;display:flex}.journal-toolbar button{border:1px solid var(--line);min-width:28px;min-height:28px;color:var(--muted);border-radius:4px;padding:4px 8px}.journal-toolbar button[aria-pressed=true]{color:var(--text);background:var(--line)}.journal-editor{gap:6px}.journal-preview{border:1px solid var(--line);border-radius:6px;min-height:90px;padding:8px}.journal-text{overflow-wrap:anywhere;line-height:1.8}.journal-text p{white-space:pre-wrap;margin:6px 0}.journal-text ul,.journal-text ol{list-style:revert;padding-inline-start:18px}.journal-text blockquote{border-inline-start:2px solid var(--line);color:var(--muted);padding-inline-start:8px}.journal-text pre{white-space:pre-wrap}.orientation-buttons{border:1px solid var(--line);border-radius:5px;display:inline-flex;overflow:hidden}.orientation-buttons button{min-width:42px;min-height:28px;color:var(--muted);padding:5px 10px}.orientation-buttons button[aria-pressed=true]{color:var(--button-text);background:var(--button)}.settings{background:0 0;border:0;padding:0}.settings fieldset{border-bottom:1px solid var(--line);padding:12px 0}:root{--bg:#151321;--panel:#201d30;--surface:#2b273d;--text:#eee9f5;--muted:#a39aaf;--line:#3b354c;--accent:#c5a8ee;--button:#c5a8ee}:root[data-theme=light]{--bg:#f7f5fa;--panel:#fff;--surface:#eee8f4;--text:#29223c;--muted:#756880;--line:#dfd7e8;--accent:#7951a6;--button:#7951a6}body{font-size:14px;line-height:1.6}.shell{max-width:780px;padding:20px 20px 96px}.shell>header{padding-bottom:12px}.brand{color:var(--muted);gap:6px;font:600 16px/1.4 Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.brand svg{width:16px;height:16px}main{padding-top:4px}h1,h2{font-family:inherit}h1{letter-spacing:-.025em;font-size:24px;font-weight:650}h2{font-size:18px}.diary-page-heading{gap:12px;margin:4px 0 16px}.page-heading-actions{align-items:center;gap:12px;display:flex}.record-total{color:var(--muted);white-space:nowrap;font-size:12px}.compose-link{background:var(--button);min-width:36px;min-height:36px;color:var(--button-text);border:0}.field{gap:8px;font-size:13px}.field input,.field textarea,.field select{min-height:40px;padding:10px 12px;font-size:14px}.diary-search{margin-bottom:12px;position:relative}.diary-search>svg{color:var(--muted);position:absolute;top:13px;left:12px}.diary-search input{background:var(--panel);border:0;border-radius:12px;padding-left:36px}.record-filters{gap:8px;margin-bottom:8px;padding-bottom:8px;display:flex;overflow-x:auto}.record-filters button{border:1px solid var(--line);color:var(--muted);border-radius:20px;flex-shrink:0;padding:6px 10px;font-size:12px}.record-filters button[aria-pressed=true]{background:var(--surface);border-color:var(--surface);color:var(--accent)}.diary-list{margin:0;display:block}.diary-list>li.diary-list-item{border:0;margin:0 0 12px;padding:0;display:block}.diary-group-date{color:var(--muted);margin:20px 0 12px;font-size:12px;display:block}.record-card{background:var(--panel);border-radius:16px;position:relative}.diary-list .reading-row{border:0;flex-direction:column;align-items:stretch;gap:8px;padding:16px;display:flex}.record-context{color:var(--accent);padding-right:32px;font-size:12px}.diary-list .reading-row h2{margin:0;padding-right:28px;font-size:18px;line-height:1.4}.diary-row-actions{position:absolute;top:8px;right:8px}.favorite-button{min-width:36px;min-height:36px}.record-preview{align-items:center;gap:12px;min-width:0;display:flex}.record-thumbnails{flex-shrink:0;gap:4px;display:flex}.record-thumbnails>span{background:var(--surface);border-radius:4px;justify-content:center;align-items:center;width:34px;height:54px;display:flex;overflow:hidden}.record-thumbnails .card-artwork{object-fit:cover;width:100%;height:100%}.record-preview-copy{min-width:0}.record-card-names{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.diary-excerpt{margin:0;font-size:13px}.record-footer{color:var(--muted);justify-content:space-between;align-items:center;margin-top:4px;font-size:12px;display:flex}.reading-row .record-footer time{font-size:inherit}nav{background:var(--bg);border-top:1px solid var(--line);width:min(100%,780px);padding:8px 12px max(8px,env(safe-area-inset-bottom))}nav a{flex-direction:column;justify-content:center;gap:4px;min-height:48px;padding:6px;font-size:12px}nav svg{width:18px;height:18px}nav a.active{color:var(--accent);background:0 0}.diary-empty{background:var(--panel);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:260px;margin:20px 0;padding:24px;display:flex}.diary-empty>svg{color:var(--accent);margin-bottom:16px}.diary-empty h2{color:var(--text);margin-bottom:8px;font-size:18px}.diary-empty p{max-width:280px;margin:0;font-size:14px}.button{border-radius:8px;min-height:36px;padding:8px 14px}.month-heading{margin:8px 0 12px}.month-heading h2{font-size:16px}.month-weekdays{margin-bottom:4px;font-size:12px}.month-grid{gap:2px 4px}.month-day{border-radius:10px;gap:1px;min-height:50px;font-size:13px;line-height:1.3;position:relative}.month-day .moon-phase{width:24px;height:24px;color:var(--text);opacity:.85}.month-day.has-records{background:var(--panel);font-weight:650}.month-day.has-records .entry-dot{width:4px;height:4px}.month-day[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.month-day .entry-dot{position:absolute;top:6px;right:6px}.calendar-caption{margin:10px 0 16px;font-size:11px}.month-viewport{touch-action:pan-y;overflow:hidden}.month-viewport.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.month-track{will-change:transform;width:300%;display:flex}.month-panel{box-sizing:border-box;flex:0 0 33.3333%;min-width:0;padding:1px 2px}.day-heading{margin-bottom:12px;padding-top:12px;font-size:14px}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin:0;padding:16px;display:flex}.setting-row:last-child{border-bottom:0}.setting-label{align-items:center;gap:8px;font-size:14px;display:flex}.setting-label svg{color:var(--muted)}.settings-group{background:var(--panel);border-radius:14px;overflow:hidden}.setting-row .segmented{background:var(--bg);border-radius:8px;gap:2px;padding:3px}.setting-row .segmented button{border:0;min-width:48px;min-height:30px;padding:4px 8px;font-size:12px}.storage-note{color:var(--muted);gap:10px;margin-top:24px;display:flex}.storage-note>svg{flex-shrink:0;margin-top:3px}.storage-note h2{margin-bottom:4px;font-size:13px;font-weight:500}.storage-note p{margin:0;font-size:12px;line-height:1.7}.question-meta,.parent-label,.orientation,.diary-status{font-size:12px}.journal-toolbar button{min-height:32px;font-size:13px}.journal-entry h2,.question-panel h2{font-size:18px}.card-choice{padding:6px;font-size:12px}.card-secondary{font-size:10px}.draw-list-gallery .preserve-text{font-size:12px}@media(max-width:520px){.shell{padding:16px 16px 96px}.brand{font-size:15px}h1{font-size:24px}.diary-list .reading-row{padding:14px}}@media(max-width:360px){.shell{padding-inline:12px}.record-preview{gap:8px}.record-thumbnails>span{width:28px;height:44px}.setting-row{gap:8px;padding:14px 12px}}.backup-settings{margin-top:24px}.backup-settings>h2{margin-bottom:6px;font-size:16px}.backup-settings>p{margin:0 0 12px;font-size:12px}.backup-action{width:100%;color:var(--text);text-align:left}.backup-action>span:last-child{color:var(--muted);font-size:11px}.backup-settings .notice p{margin:4px 0 8px;font-size:13px}.calendar-caption+.day-heading+p.diary-empty{min-height:100px;padding:16px}.diary-list .reading-row h2{font-weight:600}.diary-excerpt{font-size:14px}body{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.app-steps{display:block}.app-steps p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.app-steps p+p{margin-top:6px}.app-row .text-button{flex-shrink:0;font-size:12px}html{min-height:calc(100% + env(safe-area-inset-top))}.question-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.question-actions .delete-trigger{margin-left:auto}:root{--serif:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC","Noto Serif CJK SC",Georgia,serif}.entry-topbar{justify-content:space-between;align-items:center;margin:-6px -8px 2px;display:flex}.icon-link{width:44px;height:44px;color:var(--muted);justify-content:center;align-items:center;display:inline-flex}.entry-actions{align-items:center;gap:4px;display:flex}.entry-actions .favorite-button{min-width:44px;min-height:44px}.pill-link{background:var(--surface);min-height:40px;color:var(--text);border-radius:999px;align-items:center;padding:0 16px;font-size:13px;display:inline-flex}.entry{flex-direction:column;display:flex}.entry-header{flex-direction:column;gap:10px;padding:8px 12px 22px;display:flex}.entry-date{color:var(--muted);align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.entry-date .moon-phase{width:15px;height:15px;color:var(--accent);flex-shrink:0}.entry-title{font-family:var(--serif);overflow-wrap:anywhere;margin:0;font-size:26px;font-weight:700;line-height:1.3}.entry-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chip{background:var(--panel);color:var(--muted);border-radius:999px;padding:3px 10px;font-size:12px;line-height:1.5}.chip-accent{background:var(--surface);color:var(--accent)}.section-label{letter-spacing:.08em;color:var(--muted);margin:0 0 6px;font-family:inherit;font-size:12px;font-weight:400}.entry-notes{padding:0 12px 24px}.entry .journal-text{font-size:15px;line-height:1.85}.entry .journal-text p{margin:0 0 8px}.entry .journal-text p:last-child{margin-bottom:0}.entry .journal-tools{padding:0 4px 6px}.question-cards{flex-direction:column;gap:14px;display:flex}.question-card{background:var(--panel);overflow-wrap:anywhere;border-radius:18px;flex-direction:column;gap:12px;padding:18px 16px 20px;display:flex}.question-card-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.question-number{font-family:var(--serif);letter-spacing:.12em;color:var(--accent);font-size:13px}.question-card-title,.follow-up-title{margin:0}.entry .journal-toggle{width:100%;min-height:44px;color:var(--text);text-align:start;font-family:var(--serif);background:0 0;border:0;justify-content:space-between;align-items:flex-start;gap:10px;padding:2px 0;font-size:19px;font-weight:500;line-height:1.5;display:flex}.entry .follow-up .journal-toggle{min-height:40px;font-size:16px}.toggle-text{flex:1;min-width:0}.journal-toggle .chevron{color:var(--muted);flex-shrink:0;margin-top:6px;transition:transform .15s}.journal-toggle[aria-expanded=false] .chevron{transform:rotate(-90deg)}.question-card-body,.follow-up-body{flex-direction:column;gap:14px;display:flex}.spread{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.spread-card{text-align:center;flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex}.spread-art{width:100%;max-width:88px}.spread-art .card-artwork{border-radius:6px}.spread-art .card-symbol{aspect-ratio:3/5;background:var(--surface);color:var(--muted);border-radius:6px;justify-content:center;align-items:center;display:flex}.spread-name{font-size:12px;line-height:1.35}.spread-reversed{color:var(--accent);font-size:11px}.spread-note{color:var(--muted);text-align:start;margin:2px 0 0;font-size:11px}.spread-small{grid-template-columns:repeat(5,minmax(0,1fr))}.spread-small .spread-art{max-width:60px}.follow-up{background:var(--surface);border-radius:14px;flex-direction:column;gap:6px;padding:14px;display:flex}.follow-up .journal-text{font-size:14px}.follow-up-label{letter-spacing:.06em;color:var(--accent);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.follow-up-label .chip{letter-spacing:0}.entry-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:28px 12px 8px;font-size:12px;display:flex}.entry-footer .delete-trigger{min-height:44px;color:var(--muted);font-size:12px;text-decoration:underline}@media(min-width:640px){.entry-title{font-size:30px}.spread{grid-template-columns:repeat(6,minmax(0,1fr))}.spread-small{grid-template-columns:repeat(8,minmax(0,1fr))}}.quick-entry-link{background:var(--panel);color:var(--text);border-radius:16px;flex-direction:column;gap:4px;margin:8px 0 16px;padding:16px;display:flex}.quick-entry-link strong{font-family:var(--serif);color:var(--accent);font-size:17px}.quick-entry-link span{color:var(--muted);font-size:13px}.quick-help{margin:-4px 0 14px;font-size:13px}.quick-editor{background:var(--panel);border-radius:18px;flex-direction:column;gap:10px;padding:14px;display:flex}.quick-editor>label{color:var(--muted);font-size:12px}.quick-editor textarea{background:var(--bg);width:100%;min-height:300px;color:var(--text);font:inherit;resize:vertical;border:0;border-radius:12px;padding:12px;font-size:15px;line-height:1.75}.quick-markers,.quick-ai,.quick-options{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.quick-markers button,.quick-options button:not(.text-button){background:var(--surface);min-height:36px;color:var(--text);font:inherit;border:0;border-radius:999px;padding:0 12px;font-size:13px}.quick-ai .button{gap:6px;min-height:40px;margin-top:0}.quick-ai .text-button{align-items:center;gap:4px;display:inline-flex}.quick-privacy,.quick-message,.quick-hint{margin:0;font-size:12px}.quick-message{color:var(--accent)}.quick-manual{min-height:120px!important;font-size:12px!important}.quick-result{margin-top:24px}.quick-result-heading{justify-content:space-between;align-items:baseline;gap:8px;padding:0 4px 10px;display:flex}.quick-result-heading h2{font-family:var(--serif);margin:0;font-size:18px;font-weight:500}.quick-result-heading span{color:var(--muted);font-size:12px}.quick-cards{flex-direction:column;gap:10px;display:flex}.quick-card{background:var(--panel);overflow-wrap:anywhere;border-radius:16px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.quick-child{background:var(--surface);margin-inline-start:14px}.quick-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.quick-system select{border:1px solid var(--line);background:var(--bg);min-height:32px;color:var(--text);font:inherit;border-radius:8px;padding:2px 8px;font-size:12px}.quick-title{font-family:var(--serif);font-size:18px}.quick-question{font-family:var(--serif);font-size:16px;line-height:1.5}.quick-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.quick-chip{background:var(--surface);border-radius:8px;padding:4px 10px;font-size:13px}.quick-child .quick-chip{background:var(--panel)}.quick-chip-open{width:100%;color:var(--text);background:0 0;border:1px dashed #d8a35c;flex-direction:column;gap:6px;display:flex}.quick-chooser input{border:1px solid var(--line);background:var(--bg);width:100%;min-height:36px;color:var(--text);font:inherit;border-radius:8px;padding:4px 10px;font-size:13px}.quick-warning{color:#d8a35c;margin:0;font-size:13px}:root[data-theme=light] .quick-warning{color:#8a5a12}:root[data-theme=light] .quick-chip-open{border-color:#a8701f}.quick-snippet{color:var(--muted);white-space:pre-wrap;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.7;display:-webkit-box;overflow:hidden}.quick-actions{margin-top:20px}.quick-ai-box{background:var(--surface);border-radius:14px;flex-direction:column;gap:8px;padding:14px;display:flex}.quick-ai-title{font-family:var(--serif);color:var(--accent);margin:0;font-size:15px}.quick-ai-help{margin:0;font-size:12px;line-height:1.6}.quick-nocards{flex-direction:column;gap:6px;display:flex}.setting-select{background:var(--bg);min-height:32px;color:var(--text);font:inherit;border:0;border-radius:8px;padding:2px 8px;font-size:12px}.card-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}html:has(dialog[open]),html:has(dialog[open]) body{overflow:hidden}.library-card{font:inherit;color:var(--text);text-align:left;background:0 0}.library-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.library-card .card-face{padding-right:0}.library-viewer{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:8px 0 4px;display:flex}.library-large{width:min(300px,70vw)}.library-large .card-artwork{border-radius:8px;width:100%}.library-large .card-symbol{color:var(--accent);padding:48px 0;font-size:48px;display:block}.library-viewer h3{margin:4px 0 0;font-size:18px}.library-viewer p{margin:0;font-size:14px}.library-nav{justify-content:center;align-items:center;gap:16px;margin-top:8px;font-size:14px;display:flex}.library-nav .button{justify-content:center;align-items:center;min-width:44px;min-height:44px;margin-top:0;padding:0;display:inline-flex}.library-nav .button svg{width:18px;height:18px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
