/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--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;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--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,ui-sans-serif, system-ui, 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;-webkit-text-decoration:inherit;-webkit-text-decoration: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{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{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.flex{display:flex}.hidden{display:none}.table{display:table}.rounded{border-radius:.25rem}.blur{--tw-blur:blur(8px);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,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}:root{--ink:#0b0a14;--ink-soft:#12101f;--panel:#171426;--panel-light:#1e1a30;--line:#ebe6ff1c;--line-strong:#ebe6ff30;--text:#f7f3ee;--muted:#a7a0b7;--muted-strong:#c8c1d5;--moon:#d7ccff;--violet:#a99af3;--violet-dark:#7564d8;--cream:#f1e7d5;--green:#92d8bc;--yellow:#e7ce7a;--danger:#f08e9f;--radius-sm:12px;--radius-md:18px;--radius-lg:28px;--shadow:0 24px 80px #02020861}*{box-sizing:border-box}html{background:var(--ink);scroll-behavior:smooth;min-width:320px}body{background:radial-gradient(circle at 70% -10%, #5d4aa030, transparent 32rem), var(--ink);color:var(--text);font-family:var(--font-geist-sans), Arial, sans-serif;min-height:100dvh;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}button,select,input[type=range]{touch-action:manipulation}label:has(input[type=file]){touch-action:manipulation}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--violet);outline-offset:2px}.app-shell{min-height:100dvh}.main-content{width:100%;padding:0 18px 118px}.mobile-header{min-height:78px;padding-top:env(safe-area-inset-top);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;display:flex}.mobile-backup-reminder{border:1px solid var(--line-strong);min-width:0;min-height:42px;color:var(--muted-strong);cursor:pointer;background:#ffffff06;border-radius:999px;align-items:center;gap:8px;padding:0 13px;display:inline-flex}.mobile-backup-reminder strong{letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.mobile-backup-reminder:disabled{cursor:wait;opacity:.72}.backup-status-dot{background:var(--muted);border-radius:50%;flex:none;width:7px;height:7px}.mobile-backup-reminder.backup-pending{color:#ead894;background:#e7ce7a17;border-color:#e7ce7a52}.mobile-backup-reminder.backup-pending .backup-status-dot{background:var(--yellow);box-shadow:0 0 9px #e7ce7a6b}.mobile-backup-reminder.backup-done{color:#a8e2cb;background:#92d8bc17;border-color:#92d8bc52}.mobile-backup-reminder.backup-done .backup-status-dot{background:var(--green);box-shadow:0 0 9px #92d8bc6b}.mobile-devices-button{border:1px solid var(--line-strong);cursor:pointer;background:#ffffff06;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.mobile-devices-button span{font-size:20px;line-height:1}.brand{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0;display:inline-flex}.brand strong{color:var(--text);letter-spacing:-.5px;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500;display:block}.brand small{color:var(--muted);letter-spacing:.05em;margin-top:1px;font-size:10px;display:block}.brand-moon,.empty-moon,.no-cover-moon{background:var(--moon);border-radius:50%;flex:none;display:inline-block;position:relative;box-shadow:0 0 25px #c7b8ff38}.brand-moon{width:31px;height:31px}.brand-moon:after,.empty-moon:after,.no-cover-moon:after{content:"";background:var(--ink);border-radius:50%;position:absolute}.brand-moon:after{inset:-3px -3px 6px 10px}.modal-header>button{border:1px solid var(--line);background:var(--panel);width:42px;height:42px;color:var(--muted-strong);cursor:pointer;border-radius:50%;place-items:center;font-size:22px;display:grid}.desktop-sidebar{display:none}.eyebrow{color:var(--violet);letter-spacing:.22em;margin:0 0 15px;font-size:10px;font-weight:700}.eyebrow span{vertical-align:middle;background:currentColor;width:16px;height:1px;margin-right:8px;display:inline-block}.primary-button,.secondary-button,.delete-button{cursor:pointer;border-radius:999px;min-height:47px;padding:0 19px;font-size:13px;font-weight:700}.primary-button{background:var(--cream);color:#191520;border:1px solid #0000;box-shadow:0 10px 35px #e6d4b51f}.primary-button:hover{background:#fff8ea}.primary-button span{margin-right:5px;font-size:17px}.secondary-button{border:1px solid var(--line-strong);color:var(--text);background:0 0}.delete-button{color:var(--danger);background:#f08e9f12;border:1px solid #f08e9f40}button:disabled{cursor:not-allowed;opacity:.45}.library-section{padding:24px 0 20px}.section-heading{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:25px;display:flex}.section-heading .eyebrow{margin-bottom:7px}.section-heading h2,.modal-header h2{letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:400}.section-heading>span{color:var(--muted);white-space:nowrap;font-size:11px}.toolbar{z-index:12;top:env(safe-area-inset-top);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0b0a14e0;border-bottom:1px solid #ebe6ff12;grid-template-columns:1fr 1fr;gap:8px;margin:0 -8px 12px;padding:8px;display:grid;position:sticky;box-shadow:0 10px 24px #0403092e}.search-box{grid-column:1/-1;position:relative}.search-box span{color:var(--muted);font-size:22px;position:absolute;top:50%;left:15px;transform:translateY(-53%)rotate(-15deg)}.search-box input,.toolbar select,.field input,.field select,.field textarea,.category-manager-row>input:not([type=color]){border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:48px;color:var(--text);background:#ffffff09}.search-box input{min-height:42px;padding:0 15px 0 44px}.toolbar select{min-height:42px;color:var(--muted-strong);padding:0 32px 0 13px;font-size:11px}select option{background:var(--panel);color:var(--text)}input::placeholder,textarea::placeholder{color:#746e80}.category-chips{scrollbar-width:none;gap:7px;padding:3px 0 19px;display:flex;overflow-x:auto}.category-chips::-webkit-scrollbar{display:none}.category-chips button{border:1px solid var(--line);min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;flex:none;align-items:center;gap:7px;padding:0 12px;font-size:11px;display:inline-flex}.category-chips button.active{color:var(--text);background:#a99af31f;border-color:#a99af366}.category-chips button span{border-radius:50%;width:7px;height:7px}.category-chips .new-chip{color:var(--violet);border-style:dashed}.works-grid,.loading-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;display:grid}.work-card{border:1px solid var(--line);background:var(--panel);border-radius:19px;min-width:0;overflow:hidden;box-shadow:0 12px 35px #0000001f}.cover-wrap{aspect-ratio:.72;background:#201b30;position:relative;overflow:hidden}.cover-wrap>img{object-fit:cover;width:100%;height:100%}.cover-wrap:after{content:"";pointer-events:none;background:linear-gradient(#0000,#07050da3);height:27%;position:absolute;inset:auto 0 0}.no-cover{width:100%;height:100%;color:var(--muted);cursor:pointer;background:radial-gradient(circle at 50% 37%,#a99af329,#0000 35%),#1b1729;border:0;flex-direction:column;justify-content:center;align-items:center;display:flex}.no-cover-moon{width:42px;height:42px;box-shadow:none;background:#79708e;margin-bottom:13px}.no-cover-moon:after{background:#1b1729;inset:-4px -5px 7px 14px}.no-cover small{text-transform:uppercase;letter-spacing:.12em;font-size:10px}.no-cover b{color:var(--moon);margin-top:5px;font-size:10px}.status-pill{z-index:2;letter-spacing:.06em;text-transform:uppercase;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0914b8;border:1px solid #ffffff2b;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:9.5px;font-weight:700;display:inline-flex;position:absolute;top:10px;left:9px}.status-in_progress{color:var(--green)}.status-completed{color:var(--yellow)}.status-discarded{color:var(--danger)}.cover-category{z-index:3;max-width:calc(100% - 82px);min-height:26px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0914b8;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:5px;padding:0 8px;font-size:9.5px;font-weight:700;display:inline-flex;position:absolute;top:8px;right:8px;overflow:hidden}.cover-category i{border-radius:50%;flex:none;width:7px;height:7px}.cover-meta{z-index:2;pointer-events:none;justify-content:space-between;align-items:flex-end;gap:8px;display:flex;position:absolute;bottom:9px;left:9px;right:9px}.cover-counts{color:#fff;min-height:26px;font-family:var(--font-geist-mono), monospace;text-shadow:0 1px 8px #000000d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0914c2;border:1px solid #ffffff2b;border-radius:999px;flex-direction:column;gap:2px;padding:5px 7px;display:flex}.cover-counts small{letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:650}.cover-counts strong{letter-spacing:.04em;font-size:11px;font-weight:700}.work-card-body{padding:13px 11px 11px}.card-title-row h3{letter-spacing:-.025em;text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:37px;margin:0 0 4px;font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:500;line-height:1.15;display:-webkit-box;overflow:hidden}.rating-display{min-height:23px;color:var(--cream);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0914c2;border:1px solid #ffffff2b;border-radius:999px;align-items:center;gap:3px;padding:0 7px;font-size:9px;font-weight:700;display:inline-flex}.rating-display span{color:var(--yellow)}.progress-track{background:#ffffff14;border-radius:99px;height:3px;margin-top:14px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--violet);height:100%;transition:width .22s;display:block}.progress-actions{gap:5px;margin-top:10px;display:flex}.progress-actions button{border:1px solid var(--line);min-width:29px;min-height:31px;color:var(--muted-strong);cursor:pointer;background:#ffffff09;border-radius:9px;padding:0 7px;font-size:10px}.progress-actions .advance-button{color:var(--moon);background:#a99af31c;flex:1}.progress-actions .jump-button{color:var(--moon);font-size:13px}.progress-actions .edit-button{min-width:36px;color:var(--text)}.progress-actions .edit-button,.video-actions .edit-button{justify-content:center;align-items:center;gap:4px;display:inline-flex}.progress-actions .edit-button span,.video-actions .edit-button span{font-size:12px}.video-actions{gap:5px;margin-top:12px;display:flex}.video-actions .edit-button,.video-open-button{border:1px solid var(--line);min-height:31px;color:var(--text);cursor:pointer;background:#ffffff09;border-radius:9px;padding:0 12px;font-size:10px}.video-open-button{color:var(--moon);background:#a99af31c;flex:1;justify-content:center;align-items:center;font-weight:700;text-decoration:none;display:inline-flex}.video-open-button:hover{background:#a99af32b;border-color:#a99af359}.progress-modal{max-width:420px}.progress-jump-form{gap:16px;padding-top:22px;display:grid}.progress-position-fields{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.progress-position-fields input,.progress-position-fields select{min-height:48px}.progress-position-fields input{font-size:18px;font-weight:700}.progress-jump-hint{margin:0;line-height:1.45}.progress-jump-actions{grid-template-columns:1fr 1.35fr;gap:9px;display:grid}.progress-jump-actions button{min-height:45px}.loading-card{aspect-ratio:.55;border:1px solid var(--line);background:linear-gradient(100deg, #ffffff06 15%, #ffffff12 35%, #ffffff06 55%), var(--panel);background-size:200% 100%;border-radius:19px;animation:1.5s infinite shimmer}@keyframes shimmer{to{background-position-x:-200%}}.empty-state{border:1px dashed var(--line-strong);border-radius:var(--radius-lg);text-align:center;background:#ffffff05;flex-direction:column;justify-content:center;align-items:center;min-height:380px;padding:50px 25px;display:flex}.empty-moon{width:74px;height:74px;margin-bottom:27px}.empty-moon:after{inset:-8px -10px 12px 29px}.empty-state .eyebrow{margin-bottom:10px}.empty-state h3{max-width:460px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:400}.empty-state>p:not(.eyebrow){max-width:420px;color:var(--muted);margin:13px 0 23px;font-size:13px;line-height:1.6}.error-moon{background:var(--danger)}.mobile-bottom-nav{z-index:20;right:10px;bottom:max(10px, env(safe-area-inset-bottom));border:1px solid var(--line-strong);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#141120e6;border-radius:22px;grid-template-columns:1fr 1.2fr;min-height:69px;padding:7px;display:grid;position:fixed;left:10px;box-shadow:0 20px 55px #0000006b}.mobile-bottom-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:9px;display:flex}.mobile-bottom-nav button span{font-size:19px}.mobile-bottom-nav .mobile-add{background:var(--cream);color:#191520;font-weight:700}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#040309c7;justify-content:center;align-items:flex-end;padding-top:20px;display:flex;position:fixed;inset:0}.modal-sheet{width:100%;max-height:calc(100dvh - 18px);padding:9px 18px max(28px, env(safe-area-inset-bottom));border:1px solid var(--line-strong);background:var(--ink-soft);box-shadow:var(--shadow);border-bottom:0;border-radius:27px 27px 0 0;overflow-y:auto}.modal-handle{background:var(--line-strong);border-radius:99px;width:39px;height:4px;margin:2px auto 15px}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:9px 0 23px;display:flex}.modal-header .eyebrow{margin-bottom:6px}.modal-header>button{flex:none;font-size:27px;font-weight:300}.work-form{grid-template-columns:1fr 1fr;gap:17px 10px;padding-top:22px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field>span,.cover-fieldset>legend,.structure-fieldset>legend,.categories-fieldset legend,.metadata-import>legend{color:var(--muted-strong);letter-spacing:.025em;font-size:10px;font-weight:600}.field input,.field select,.field textarea{padding:0 13px;font-size:13px}.field textarea{resize:vertical;min-height:108px;padding-top:12px}.field small,.field-hint{color:var(--muted);margin:0;font-size:9px;line-height:1.45}.field-wide{grid-column:1/-1}.status-rating-row{grid-template-columns:minmax(0,1fr) minmax(118px,.72fr);gap:10px;display:grid}.status-rating-row.rating-only{grid-template-columns:minmax(0,1fr)}.rating-number-input{text-align:center;font-weight:700}.field small.rating-input-error{color:var(--danger)}.structure-fieldset,.cover-fieldset,.categories-fieldset,.metadata-import{border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffff05;margin:0;padding:16px}.structure-fieldset>legend,.cover-fieldset>legend,.categories-fieldset legend,.metadata-import>legend{padding:0 7px}.video-toggle{border:1px solid var(--line);border-radius:var(--radius-md);cursor:pointer;background:#ffffff05;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:15px 16px;display:grid}.video-toggle input{width:16px;height:16px;accent-color:var(--violet);margin:0}.video-toggle span{color:var(--text);font-size:11px;font-weight:700}.video-toggle small{color:var(--muted);grid-column:2;margin-top:3px;font-size:9px;line-height:1.45}.metadata-import-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.metadata-import-row input{width:100%;min-width:0;min-height:42px;padding:0 13px;font-size:12px}.metadata-import-row .secondary-button{white-space:nowrap;min-height:42px;padding:0 12px}.metadata-import .field-hint{margin-top:9px}.metadata-message{color:var(--moon);margin:7px 0 0;font-size:9px;line-height:1.45}.season-inputs{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px;display:grid}.upload-box{border:1px dashed var(--line-strong);border-radius:var(--radius-sm);min-height:126px;color:var(--muted);text-align:center;cursor:pointer;background:#a99af309;flex-direction:column;justify-content:center;align-items:center;padding:14px;display:flex}.upload-box input{opacity:0;width:1px;height:1px;position:absolute}.upload-box>span{color:var(--violet);font-size:25px}.upload-box b{color:var(--text);word-break:break-word;margin-top:4px;font-size:11px}.upload-box small{color:var(--muted);margin-top:4px;font-size:8px}.auto-cover-hint{color:var(--moon);margin:10px 0 0;font-size:9px;line-height:1.45}.text-danger{color:var(--danger);cursor:pointer;background:0 0;border:0;margin-top:13px;padding:0;font-size:10px}.category-choices{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.category-choices button{border:1px solid var(--line);min-height:34px;color:var(--muted);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:0 11px;font-size:10px;display:inline-flex}.category-choices button.selected{color:var(--text);background:#a99af31a;border-color:#a99af366}.category-choices button span{border-radius:50%;width:7px;height:7px}.form-footer{justify-content:space-between;align-items:center;gap:12px;padding-top:7px;display:flex}.form-footer>div{gap:8px;display:flex}.new-category-form{border-bottom:1px solid var(--line);gap:14px;padding:22px 0;display:grid}.new-category-color{color:var(--muted-strong);flex-direction:column;gap:7px;font-size:10px;font-weight:600;display:flex}.category-manager-list{gap:8px;padding:18px 0 5px;display:grid}.category-order-hint{color:var(--muted);margin:17px 0 -6px;font-size:9px;line-height:1.45}.category-manager-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff05;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px;display:grid}.category-color-input{cursor:pointer;background:0 0;border:0;border-radius:50%;width:31px;height:31px;padding:0;overflow:hidden}.category-color-input::-webkit-color-swatch-wrapper{padding:0}.category-color-input::-webkit-color-swatch{border:2px solid var(--ink-soft);border-radius:50%}.new-category-color .category-color-input{width:48px;height:48px}.category-manager-row>input:not([type=color]){min-height:38px;padding:0 10px;font-size:11px}.category-manager-row>span{color:var(--muted);white-space:nowrap;font-size:9px}.category-manager-row button{cursor:pointer;border-radius:8px;min-height:32px}.category-order-buttons{grid-column:1;grid-template-columns:1fr 1fr;gap:5px;display:grid}.category-order-buttons button{border:1px solid var(--line);min-width:31px;color:var(--moon);background:#a99af312;padding:0;font-size:14px}.category-order-buttons button:disabled{cursor:default;opacity:.28}.save-category{border:1px solid var(--line);color:var(--moon);background:#a99af31a;grid-column:2;font-size:9px}.delete-category{color:var(--danger);background:#f08e9f0d;border:1px solid #f08e9f33;grid-column:3}.category-empty{color:var(--muted);text-align:center;padding:45px 20px;font-size:11px}.category-empty .no-cover-moon{margin:0 auto 14px;display:block}.backup-panel{border-radius:var(--radius-md);background:#a99af30e;border:1px solid #a99af338;gap:17px;margin-top:17px;padding:20px;display:grid}.backup-panel .eyebrow{margin-bottom:7px}.backup-panel h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.backup-panel p:not(.eyebrow){color:var(--muted);margin:8px 0 0;font-size:10px;line-height:1.55}.backup-actions{gap:8px;display:grid}.backup-actions button,.backup-actions label{text-align:center;cursor:pointer;justify-content:center;align-items:center;min-height:42px;margin:0;display:inline-flex}.backup-actions input{display:none}.backup-actions .backup-disabled{cursor:wait;opacity:.55}.devices-intro p,.devices-note{color:var(--muted);margin:8px 0 0;font-size:10px;line-height:1.55}.devices-modal{max-width:680px}.devices-intro{justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 0 15px;display:flex}.devices-intro p{max-width:450px;margin:0}.devices-refresh{color:var(--moon);cursor:pointer;background:0 0;border:0;flex:none;padding:5px 0;font-size:10px;font-weight:700}.devices-refresh:disabled{cursor:wait;opacity:.55}.device-list{gap:9px;display:grid}.device-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff06;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:14px;display:grid}.device-icon{width:38px;height:38px;color:var(--moon);background:#a99af314;border:1px solid #a99af340;border-radius:12px;place-items:center;font-size:20px;display:grid}.device-copy{min-width:0}.device-copy>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.device-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.device-copy b{color:var(--green);text-transform:uppercase;background:#8ee8be1a;border-radius:999px;padding:3px 7px;font-size:8px}.device-copy>span,.device-copy small{color:var(--muted);margin-top:4px;font-size:9px;line-height:1.35;display:block}.revoke-device{min-height:34px;color:var(--danger);cursor:pointer;background:#f08e9f0e;border:1px solid #f08e9f33;border-radius:9px;grid-column:1/-1;font-size:9px;font-weight:700}.revoke-device:disabled{cursor:wait;opacity:.55}.devices-message{border:1px dashed var(--line);border-radius:var(--radius-sm);min-height:150px;color:var(--muted);text-align:center;place-items:center;padding:25px;font-size:11px;display:grid}.devices-message-error{color:var(--danger)}.devices-message-error p{margin:0 0 14px}.devices-note{border-top:1px solid var(--line);margin:15px 0 0;padding-top:14px}.toast{z-index:80;top:max(18px, env(safe-area-inset-top));border:1px solid var(--line-strong);background:var(--cream);color:#18141f;width:max-content;max-width:calc(100vw - 32px);min-height:45px;box-shadow:var(--shadow);border-radius:999px;align-items:center;gap:9px;padding:0 16px;font-size:11px;font-weight:700;animation:.18s ease-out toast-in;display:flex;position:fixed;left:50%;transform:translate(-50%)}.toast span{color:var(--violet-dark)}.login-page{min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));background:radial-gradient(circle at 78% 16%, #a99af324, transparent 28rem), radial-gradient(circle at 12% 92%, #6a529b1f, transparent 25rem), var(--ink);place-items:center;display:grid;overflow:hidden}.session-check-card{border:1px solid var(--line-strong);text-align:center;background:#12101feb;border-radius:28px;align-content:center;place-items:center;gap:13px;width:min(100%,320px);min-height:220px;padding:30px;display:grid;box-shadow:0 35px 120px #0000006b}.session-check-card .brand-moon{width:52px;height:52px}.session-check-card strong{font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.session-check-card small{color:var(--muted);font-size:10px}.login-card{border:1px solid var(--line-strong);background:#12101fe6;border-radius:30px;width:min(100%,980px);min-height:min(720px,100dvh - 36px);display:grid;position:relative;overflow:hidden;box-shadow:0 35px 120px #0000007a}.login-visual{border-bottom:1px solid var(--line);background:radial-gradient(circle at 58% 42%,#a99af326,#0000 35%),linear-gradient(145deg,#151126,#0b0a14);min-height:235px;position:relative;overflow:hidden}.login-crescent{background:var(--moon);border-radius:50%;width:132px;height:132px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 45px #d7ccff47,0 0 110px #a99af31f}.login-crescent:after{content:"";background:#0f0d1a;border-radius:50%;position:absolute;inset:-8px -10px 19px 48px}.login-orbit{border:1px solid #d7ccff21;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-18deg)}.orbit-one{width:270px;height:118px}.orbit-two{width:390px;height:175px;transform:translate(-50%,-50%)rotate(28deg)}.login-star{color:var(--cream);text-shadow:0 0 14px #f1e7d580;position:absolute}.star-one{font-size:14px;top:23%;left:22%}.star-two{color:var(--violet);font-size:10px;bottom:24%;right:19%}.login-content{flex-direction:column;justify-content:center;padding:35px 25px 31px;display:flex}.login-brand{align-items:center;gap:10px;margin-bottom:39px;display:inline-flex}.login-brand strong{font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.login-content h1{letter-spacing:-.055em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(37px,10vw,55px);font-weight:400;line-height:.99}.login-content h1 em{color:var(--moon);font-weight:400}.login-copy{max-width:430px;color:var(--muted);margin:17px 0 26px;font-size:12px;line-height:1.6}.login-form{gap:15px;display:grid}.login-form .field input{background:#ffffff0b;min-height:53px}.login-button{width:100%;min-height:52px;margin-top:3px}.login-error{color:var(--danger);background:#f08e9f12;border:1px solid #f08e9f33;border-radius:10px;margin:-3px 0 0;padding:10px 12px;font-size:10px;line-height:1.4}.login-private{color:var(--muted);align-items:center;gap:8px;margin:22px 0 0;font-size:9px;display:flex}.sidebar-foot{text-align:left;cursor:pointer;background:0 0;border:0;width:100%}.sidebar-access{gap:4px;display:grid}.sidebar-device-button{width:100%;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0}.sidebar-device-button:hover,.sidebar-foot:hover{color:var(--text)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}@media (width>=600px){.main-content{padding-left:28px;padding-right:28px}.toolbar{grid-template-columns:minmax(240px,1fr) repeat(2,auto)}.search-box{grid-column:auto}.toolbar select{min-width:145px}.works-grid,.loading-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}.modal-sheet{max-width:820px;padding-left:28px;padding-right:28px}.categories-modal{max-width:620px}.new-category-form{grid-template-columns:1fr auto auto;align-items:end}.category-manager-row{grid-template-columns:auto 1fr auto auto auto auto}.backup-panel{grid-template-columns:minmax(0,1fr) auto;align-items:center}.device-row{grid-template-columns:auto minmax(0,1fr) auto}.revoke-device{grid-column:auto;min-width:100px;padding:0 12px}.backup-actions{min-width:175px}.save-category,.delete-category,.category-order-buttons{grid-column:auto}.login-content{padding:48px 50px 43px}}@media (width>=960px){.app-shell{grid-template-columns:255px minmax(0,1fr);display:grid}.desktop-sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a0912b8;flex-direction:column;height:100dvh;padding:31px 24px 25px;display:flex;position:sticky;top:0}.sidebar-add{width:100%;margin:41px 0 35px}.side-nav{flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;overflow-y:auto}.side-nav-heading{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:9px;font-weight:700;display:flex}.side-nav-heading button{color:var(--muted);cursor:pointer;background:0 0;border:0}.side-nav>button{min-height:42px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:0 11px;font-size:11px;display:grid}.side-nav>button.active{border-color:var(--line);color:var(--text);background:#ffffff0a}.side-nav b{font-family:var(--font-geist-mono), monospace;font-size:9px;font-weight:400}.category-dot{border-radius:50%;width:7px;height:7px}.sidebar-access{border-top:1px solid var(--line);padding-top:13px}.sidebar-foot,.sidebar-device-button{min-height:30px;color:var(--muted);align-items:center;gap:8px;padding:0;font-size:9px;display:flex}.sync-light{background:var(--green);width:6px;height:6px;box-shadow:0 0 10px var(--green);border-radius:50%}.mobile-header,.mobile-bottom-nav{display:none}.main-content{max-width:1450px;padding:0 clamp(35px,5vw,82px) 70px}.library-section{padding-top:26px}.section-heading h2{font-size:34px}.category-chips{padding-bottom:27px}.works-grid,.loading-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}.work-card-body{padding:17px 15px 14px}.card-title-row h3{min-height:43px;font-size:19px}.progress-actions button{min-height:36px;font-size:10px}.modal-backdrop{align-items:center;padding:30px}.modal-sheet{border-bottom:1px solid var(--line-strong);border-radius:var(--radius-lg);max-height:calc(100dvh - 60px)}.modal-handle{display:none}.login-card{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)}.login-visual{border-right:1px solid var(--line);border-bottom:0;min-height:100%}.login-crescent{width:210px;height:210px}.orbit-one{width:430px;height:190px}.orbit-two{width:600px;height:270px}.login-content{padding:65px 58px}}@media (width>=1280px){.works-grid,.loading-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@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}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
