@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&family=Noto+Serif+Thai:wght@400;500;600;700&display=swap";@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{--tw-border-style:solid;--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}::backdrop{--tw-border-style:solid;--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: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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance: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}.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}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.hidden{display:none}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);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}.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,)}}:root{--paper:#f3f5f8;--surface:#fff;--ink:#26364d;--muted:#6c7c91;--line:#dde4ee;--accent:#4b6d9a;--wash:#e7edf5;--danger:#ab4a50}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{background:var(--paper);color:var(--ink);margin:0;font-family:Noto Sans Thai,Tahoma,sans-serif;font-size:14px;line-height:1.75}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button,input,textarea,select{outline-offset:4px}:is(button:focus-visible,a:focus-visible){outline:2px solid var(--accent);outline-offset:4px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}svg{flex-shrink:0}a,button{transition:background .15s,color .15s,border-color .15s}a:hover{color:var(--accent)}button:disabled:hover{box-shadow:none}.brand{letter-spacing:1.7px;align-items:center;gap:10px;font-size:11px;font-weight:600;display:flex}.brand span{letter-spacing:0;color:var(--muted);font-size:11px;font-weight:400}.quiet{align-items:center;gap:9px;font-size:12px;display:inline-flex}.eyebrow{letter-spacing:2px;color:var(--accent);font-size:10px;font-weight:500}.primary,.secondary-button{border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 16px;font-size:12px;font-weight:500;display:inline-flex}.primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.primary:hover:not(:disabled){color:#fff;background:#3c5b85;border-color:#3c5b85}.secondary-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.secondary-button:hover:not(:disabled){background:var(--wash);color:var(--accent);border-color:#b4c4d9}.admin-shell{min-height:100vh}.admin-header{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:20px;max-width:1160px;margin:auto;padding:24px 30px;display:flex}.admin-main{max-width:1160px;margin:0 auto;padding:30px 30px 60px}.admin-heading{background:var(--surface);border:1px solid var(--line);border-radius:15px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding:23px 25px;display:flex}.admin-heading h1{margin:5px 0;font-size:26px;line-height:1.6}.admin-heading p{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.admin-actions{flex-wrap:wrap;gap:9px;display:flex}.admin-grid{grid-template-columns:255px minmax(0,1fr);align-items:start;gap:22px;display:grid}.admin-sidebar{background:var(--surface);border:1px solid var(--line);border-radius:15px;min-width:0;padding:13px}.side-item{text-align:left;width:100%;color:var(--muted);overflow-wrap:anywhere;border:1px solid #0000;border-radius:9px;align-items:center;gap:11px;padding:12px 10px;font-size:12px;display:flex}.side-item svg{min-width:17px}.side-item.chosen{background:var(--wash);color:var(--accent);border-color:#d7e2ee}.side-item:hover:not(:disabled){color:var(--accent);background:#f0f4f9}.side-item small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.side-heading{color:var(--muted);justify-content:space-between;align-items:center;margin:24px 9px 8px;font-size:10px;display:flex}.side-heading span{background:var(--paper);border-radius:20px;padding:1px 7px}.add-book{border-style:dashed;width:100%;margin-top:16px}.backup{color:var(--muted);align-items:center;gap:8px;padding:18px 9px 7px;font-size:10px;display:flex}.editor{background:var(--surface);border:1px solid var(--line);border-radius:15px;min-width:0;padding:26px}.editor fieldset{border:0;min-width:0;margin:0;padding:0}.editor-title{border-bottom:1px solid var(--line);margin-bottom:23px;padding-bottom:19px}.editor-title h2{font-size:20px}.editor-title p{color:var(--muted);margin-top:6px;font-size:11px}.editor label:not(.checkbox-row):not(.upload-control){color:#50627c;flex-direction:column;gap:7px;margin-bottom:18px;font-size:12px;display:flex}.editor input:not([type=checkbox]):not([type=file]),.editor textarea,.editor select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfe;border-radius:8px;padding:10px 12px;font-size:14px;transition:border-color .15s,box-shadow .15s}.editor input::placeholder,.editor textarea::placeholder{color:#8b98ab}.editor input:focus,.editor textarea:focus,.editor select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #4b6d9a14}.editor textarea{resize:vertical}.field-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.image-field{align-items:center;gap:20px;margin:23px 0 18px;display:flex}.image-field img,.image-placeholder{object-fit:cover;background:var(--wash);border:1px solid var(--line);border-radius:12px;width:78px;height:78px}.image-placeholder{color:var(--accent);place-items:center;display:grid}.image-field .book-preview{border-radius:7px;width:85px;height:125px}.upload-control{border:1px solid var(--line);cursor:pointer;background:var(--surface);color:var(--accent);border-radius:8px;align-items:center;gap:9px;padding:9px 14px;font-size:12px;display:flex;position:relative;overflow:hidden}.upload-control:hover{background:var(--wash);border-color:#b4c4d9}.upload-control input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-control:focus-within{outline:2px solid var(--accent);outline-offset:3px}.help{color:var(--muted);margin-top:7px;font-size:11px}.form-section{border-top:1px solid var(--line);margin:25px 0 16px;padding-top:20px;font-size:15px}.checkbox-row{align-items:center;gap:10px;margin-top:24px;font-size:12px;display:flex}.checkbox-row input{width:18px;height:18px;accent-color:var(--accent)}.edit-bottom{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-top:25px;padding-top:20px;display:flex}.edit-bottom>div{align-items:center;gap:8px;display:flex}.icon-button{min-width:36px;min-height:36px;padding:8px}.delete{color:var(--danger);border-radius:7px;align-items:center;gap:7px;padding:8px 10px;font-size:12px;display:flex}.delete:hover{background:#fbf0f1}.editor-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:25px;padding-top:20px;display:flex}.editor-foot>span{color:var(--muted);font-size:11px}.notice{border:1px solid var(--line);border-radius:9px;align-items:center;gap:10px;margin-bottom:20px;padding:12px 16px;font-size:12px;display:flex}.success{color:#3d608a;background:#eaf1fa;border-color:#d4e2f2}.error{color:#a3464d;background:#fbf0f1;border-color:#eed7da}.setup-box{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:15px;max-width:700px;margin:25px auto;padding:45px 25px}.setup-box>svg{color:var(--accent);background:var(--wash);box-sizing:content-box;border-radius:50%;margin:0 auto 18px;padding:18px}.setup-box h2{font-size:23px}.setup-box p{color:var(--muted);margin:14px 0 22px;font-size:13px}.setup-box .help{margin:22px 0 0;font-size:11px}.preview-banner{z-index:5;background:var(--accent);color:#fff;justify-content:space-between;align-items:center;gap:15px;padding:12px 25px;font-size:12px;display:flex;position:sticky;top:0;box-shadow:0 2px 10px #26364d12}.preview-banner button{color:var(--accent);background:#fff;border-radius:7px;padding:8px 14px;font-size:11px}.denied,.state-panel{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:15px;max-width:620px;margin:65px auto;padding:40px 30px}.denied h1,.state-panel h1{font-size:25px}.denied p,.state-panel p{color:var(--muted);margin:15px 0 22px;font-size:13px}.denied a{color:var(--accent)}.state-page{padding:0 20px}.state-icon{background:var(--wash);width:68px;height:68px;color:var(--accent);border-radius:50%;place-items:center;margin:0 auto 20px;display:grid}.state-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.state-panel .eyebrow{margin-bottom:7px}.loading-icon{animation:1.2s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.delete-dialog{border:1px solid var(--line);background:var(--surface);width:min(440px,100% - 32px);max-height:calc(100% - 40px);color:var(--ink);border-radius:15px;margin:auto;padding:28px;position:fixed;inset:0;box-shadow:0 20px 80px #26364d22}.delete-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#26364d66}.delete-dialog .state-icon{color:var(--danger);background:#fbf0f1;width:50px;height:50px;margin:0 0 18px}.delete-dialog h2{font-size:21px}.delete-dialog p{color:var(--muted);overflow-wrap:anywhere;margin:12px 0 24px;font-size:12px}.dialog-actions{justify-content:flex-end;gap:9px;display:flex}.danger-button{background:var(--danger);border-color:var(--danger)}.danger-button:hover:not(:disabled){background:#913d43;border-color:#913d43}@media (max-width:1000px){.admin-grid{grid-template-columns:220px minmax(0,1fr)}.admin-heading{align-items:flex-start}.admin-actions{justify-content:flex-end}.admin-heading h1{font-size:24px}}@media (max-width:650px){.admin-main{padding:22px 16px 45px}.admin-header{padding:20px 17px}.admin-header .brand{letter-spacing:1px;gap:8px;font-size:9px}.admin-header .brand span{display:none}.admin-header .quiet{font-size:11px}.admin-heading{flex-direction:column;gap:17px;padding:20px}.admin-heading h1{font-size:25px}.admin-actions{justify-content:flex-start;width:100%}.admin-actions>.primary{flex:1}.admin-grid{grid-template-columns:1fr;gap:16px}.admin-sidebar{flex-wrap:wrap;gap:7px;padding:13px;display:flex}.side-heading{width:100%;margin:9px 5px 3px}.side-item{border-color:var(--line);width:auto;max-width:100%;padding:10px;font-size:11px}.side-item small{font-size:9px}.add-book{width:auto;margin:4px 0 0}.backup{padding:13px 5px}.editor{padding:20px 16px}.editor-title h2{font-size:20px}.field-pair{grid-template-columns:1fr;gap:10px}.editor input:not([type=checkbox]):not([type=file]),.editor textarea,.editor select{font-size:16px}.primary,.secondary-button{min-height:43px}.preview-banner{padding:10px 15px;font-size:11px}.preview-banner button{white-space:nowrap;min-height:38px}.setup-box h2{font-size:21px}.setup-box{padding:32px 20px}.image-field{flex-wrap:wrap;gap:14px}.editor-foot{align-items:flex-start}.editor-foot>span{max-width:65%}.state-panel,.denied{margin:35px auto;padding:30px 22px}.state-panel h1,.denied h1{font-size:23px}.delete-dialog{padding:24px}.checkbox-row{min-height:36px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important;animation:none!important}}.sheets-main{max-width:1000px}.sheets-section{margin-bottom:22px}.sheet-status{background:var(--wash);color:var(--accent);border-radius:10px;align-items:flex-start;gap:14px;padding:17px;display:flex}.sheet-status strong{font-size:14px}.sheet-status p{color:var(--muted);margin-top:4px;font-size:12px}.sheet-stats{grid-template-columns:1fr 1fr;gap:18px;margin:22px 0;display:grid}.sheet-stats dt{color:var(--muted);font-size:11px}.sheet-stats dd{margin:5px 0 0;font-size:13px}.sheet-buttons{flex-wrap:wrap;gap:9px;display:flex}.sheet-instructions{margin:0 0 18px;padding-left:22px;font-size:13px;line-height:2}.sheet-instructions li{margin-bottom:8px;padding-left:4px}.sheet-mode-note{background:var(--wash);border-radius:8px;padding:9px}.sheets-link{margin-top:6px}@media (max-width:650px){.sheet-stats{grid-template-columns:1fr}.sheet-instructions{font-size:12px}.sheet-mode-note{width:100%}}.r-footer-links{margin-left:auto}.book-section-heading{align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.section-number{background:var(--wash);width:32px;height:32px;color:var(--accent);border-radius:10px;flex-shrink:0;place-items:center;font-size:11px;font-weight:600;display:grid}.book-section-heading h3{font-size:16px}.book-section-heading p{color:var(--muted);margin-top:3px;font-size:11px}.book-basics{padding-bottom:26px}.book-basics-grid{grid-template-columns:140px minmax(0,1fr);gap:24px;display:grid}.book-cover-large{aspect-ratio:2/3;object-fit:cover;border:1px solid var(--line);background:var(--wash);border-radius:10px;width:140px}.book-cover-empty{color:var(--accent);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px;display:flex}.book-cover-editor .upload-control{justify-content:center;margin-top:12px;padding:8px;font-size:11px}.book-cover-editor .help{text-align:center;font-size:10px}.book-main-fields{min-width:0}.legacy-genre{background:var(--paper);color:var(--muted);border-radius:8px;padding:10px 12px;font-size:11px}.legacy-genre span{font-size:10px}.platform-editor{border-top:1px solid var(--line);margin-bottom:24px;padding-top:25px}.platform-tabs{gap:8px;margin-bottom:18px;display:flex}.platform-tabs>button{border:1px solid var(--line);text-align:left;min-width:0;color:var(--muted);background:var(--paper);border-radius:10px;flex-wrap:wrap;flex:1;align-items:center;gap:7px;padding:12px 10px;font-size:12px;display:flex}.platform-tabs>button[aria-selected=true]{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#eaf0f8}.platform-tabs img{object-fit:contain;width:20px;height:20px}.platform-tabs>button>span{width:100%;margin-left:27px;font-size:9px}.platform-panel{border:1px solid var(--line);background:#fbfcfe;border-radius:12px;padding:20px}.choice-field{margin:20px 0}.choice-caption{color:#50627c;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:12px;display:flex}.choice-caption>span{color:var(--muted);white-space:nowrap;font-size:10px}.editor .choice-caption>label{font-weight:600;margin:0!important}.choice-options{flex-wrap:wrap;align-content:flex-start;gap:6px;max-height:190px;padding:10px 1px 2px;display:flex;overflow:auto}.choice-options>button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:7px;padding:6px 10px;font-size:11px}.choice-options>button[aria-pressed=true]{color:var(--accent);background:var(--wash);border-color:#9bb1cc}.choice-options>button:disabled{opacity:.4}.chosen-tags{flex-wrap:wrap;gap:7px;margin:0 0 10px;padding:0;list-style:none;display:flex}.chosen-tags>li{overflow-wrap:anywhere;background:#edf2f8;border:1px solid #ccdaeb;border-radius:7px;align-items:center;gap:6px;max-width:100%;padding:5px 7px;font-size:11px;display:flex}.tag-order{color:var(--muted);font-size:9px}.chosen-tags>li>div{gap:2px;display:flex}.chosen-tags button{min-width:24px;min-height:26px;color:var(--accent);border-radius:4px;place-items:center;display:grid}.chosen-tags button:hover{background:#d7e2ef}.tag-entry{gap:8px;display:flex}.tag-entry input{min-width:0}.tag-entry .secondary-button{white-space:nowrap}.field-error{color:var(--danger);margin-top:7px;font-size:11px}.r-book-categories{width:100%;color:var(--r-sub);margin-bottom:9px;font-size:10px;line-height:1.8}.r-book-categories span{color:var(--r-accent);margin-right:4px;font-weight:600}@media (max-width:650px){.book-basics-grid{grid-template-columns:100px minmax(0,1fr);gap:15px}.book-cover-large{width:100px}.platform-tabs{gap:6px}.platform-tabs>button{gap:5px;padding:10px 7px;font-size:10px}.platform-tabs>button>span{margin-left:0;font-size:8px}.platform-tabs img{width:18px;height:18px}.platform-panel{padding:15px 12px}.choice-options{max-height:220px}.choice-options>button{min-height:36px}.chosen-tags button{min-width:28px;min-height:30px}.tag-entry .secondary-button{padding:8px;font-size:11px}.book-main-fields input{min-width:0}.book-section-heading h3{font-size:15px}}@media (max-width:390px){.book-basics-grid{grid-template-columns:1fr}.book-cover-editor{grid-template-columns:100px 1fr;align-items:center;gap:12px;display:grid}.book-cover-large{grid-row:1/3}.book-cover-editor .help{align-self:start}.book-cover-editor .upload-control{align-self:end;margin:0}.platform-tabs>button{justify-content:center}.platform-tabs>button>span{text-align:center}}.reading-link-field>span{align-items:center;gap:8px;display:flex}.reading-link-field img{object-fit:contain;width:23px;height:23px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}.reading-library{--r-paper:#f3f5f8;--r-surface:#fff;--r-ink:#26364d;--r-sub:#6c7c91;--r-line:#dde4ee;--r-accent:#4b6d9a;--r-wash:#e7edf5;background:var(--r-paper);min-height:100vh;color:var(--r-ink);font:14px/1.75 Noto Sans Thai,Tahoma,sans-serif}.reading-library .r-container{max-width:1060px;margin:auto;padding:0 32px 30px}.reading-library h1,.reading-library h2,.reading-library h3{font-family:inherit}.reading-library a:hover{color:var(--r-accent)}:is(.reading-library a:focus-visible,.reading-library button:focus-visible){outline-color:var(--r-accent)}.reading-library .r-top{color:var(--r-sub);justify-content:space-between;align-items:center;gap:20px;padding:24px 0;display:flex}.reading-library .r-brand{letter-spacing:1.7px;align-items:center;gap:9px;font-size:11px;font-weight:600;display:inline-flex}.reading-library .r-jump{align-items:center;gap:5px;font-size:11px;display:inline-flex}.reading-library .r-profile{background:var(--r-surface);border:1px solid var(--r-line);border-radius:15px;justify-content:space-between;align-items:center;gap:28px;margin:6px 0 32px;padding:25px;display:flex}.reading-library .r-identity{align-items:center;gap:20px;min-width:0;display:flex}.reading-library .r-avatar{border:1px solid var(--r-line);background:var(--r-paper);width:96px;height:96px;color:var(--r-accent);border-radius:50%;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.reading-library .r-avatar img{object-fit:cover;width:100%;height:100%}.reading-library .r-profile h1{letter-spacing:-.4px;overflow-wrap:anywhere;font-size:25px;font-weight:600;line-height:1.6}.reading-library .r-profile p{color:var(--r-sub);white-space:pre-line;overflow-wrap:anywhere;margin-top:6px;font-size:12px;line-height:1.9}.reading-library .r-follow{background:var(--r-accent);border:1px solid var(--r-accent);color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-size:12px;display:inline-flex}.reading-library .r-follow:hover{color:#fff;background:#3c5b85;border-color:#3c5b85}.reading-library .r-collection{scroll-margin-top:22px}.reading-library .r-collection-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.reading-library .r-collection-head h2{font-size:21px;font-weight:600}.reading-library .r-search{color:var(--r-sub);border-bottom:1px solid var(--r-line);align-items:center;gap:9px;padding:7px 0;display:flex}.reading-library .r-search input{width:190px;min-width:0;color:var(--r-ink);background:0 0;border:0;font-size:12px}.reading-library .r-search input::placeholder{color:var(--r-sub)}.reading-library .r-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 20px;display:flex}.reading-library .r-filters{flex-wrap:wrap;gap:7px;display:flex}.reading-library .r-filters button{color:var(--r-sub);border:1px solid #0000;border-radius:30px;padding:6px 15px;font-size:12px}.reading-library .r-filters button[aria-pressed=true]{background:var(--r-surface);border-color:var(--r-line);color:var(--r-accent)}.reading-library .r-filters button:hover{color:var(--r-accent);background:var(--r-wash)}.reading-library .r-count{color:var(--r-sub);font-size:11px}.reading-library .r-demo-note{color:var(--r-sub);background:var(--r-wash);border-radius:7px;margin-bottom:17px;padding:10px 13px;font-size:11px}.reading-library .r-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;display:grid}.reading-library .r-card{border:1px solid var(--r-line);background:var(--r-surface);border-radius:15px;grid-template-columns:106px minmax(0,1fr);gap:18px;min-width:0;padding:17px;transition:border-color .18s,box-shadow .18s;display:grid}.reading-library .r-card:hover{border-color:#a9bbd2;box-shadow:0 5px 16px #4b6d9a0d}.reading-library .r-card:last-child:nth-child(odd):not(:only-child){grid-column:1/-1}.reading-library .r-cover{aspect-ratio:2/3;color:#f3ead2;background:#365346;border-radius:5px;align-self:start;width:100%;overflow:hidden}.reading-library .r-cover img{object-fit:contain;width:100%;height:100%}.reading-library .r-cover:has(img){background:var(--r-wash)}.reading-library .r-cover-1{color:#f2e6fa;background:#514564}.reading-library .r-cover-2{color:#fff0dc;background:#a16e4a}.reading-library .r-cover-type{text-align:center;border:1px solid #d9d0a763;flex-direction:column;justify-content:space-around;align-items:center;gap:5px;height:calc(100% - 14px);margin:7px;padding:10px 6px;display:flex}.reading-library .r-cover-type>span{letter-spacing:.9px;font-size:5px}.reading-library .r-cover-type strong{font-family:Noto Serif Thai,serif;font-size:12px;font-weight:500;line-height:1.8}.reading-library .r-cover-type small{opacity:.8;font-size:7px}.reading-library .r-book-info{flex-direction:column;align-items:flex-start;min-width:0;padding:1px 0;display:flex}.reading-library .r-genre{color:var(--r-sub);margin-bottom:4px;font-size:10px}.reading-library .r-book-info h3{overflow-wrap:anywhere;margin-bottom:8px;font-size:16px;font-weight:600;line-height:1.65}.reading-library .r-status{color:var(--r-accent);align-items:center;gap:5px;font-size:10px;display:inline-flex}.reading-library .r-status:before{content:"";background:currentColor;border-radius:50%;width:4px;height:4px}.reading-library .r-status.r-complete{color:#57806b}.reading-library .r-blurb{color:var(--r-sub);white-space:pre-line;overflow-wrap:anywhere;margin-top:8px;margin-bottom:10px;font-size:11px;line-height:1.9}.reading-library .r-platforms{flex-wrap:wrap;gap:6px;width:100%;max-width:385px;margin-top:auto;padding-top:10px;display:flex}.reading-library .r-platforms a,.reading-library .r-platforms>span{border:1px solid var(--r-line);white-space:nowrap;border-radius:5px;flex:1 0 auto;justify-content:center;align-items:center;gap:4px;min-height:33px;padding:7px 8px;font-size:10px;display:inline-flex}.reading-library .r-platforms a:hover{border-color:var(--r-accent);background:var(--r-wash);color:var(--r-accent)}.reading-library .r-platforms>span{color:var(--r-sub);border-style:dashed}.reading-library .r-no-links{color:var(--r-sub);margin-top:auto;font-size:11px}.reading-library .r-empty{text-align:center;color:var(--r-sub);padding:55px 20px}.reading-library .r-empty svg{margin:0 auto 16px}.reading-library .r-empty h3{font-size:17px}.reading-library .r-empty p{margin-top:7px;font-size:12px}.reading-library .r-footer{border-top:1px solid var(--r-line);max-width:none;color:var(--r-sub);justify-content:space-between;align-items:center;gap:15px;margin:28px 0 0;padding:18px 0 0;font-size:10px;display:flex}.reading-library .r-footer>div,.reading-library .r-footer a{align-items:center;gap:7px;display:inline-flex}.reading-library .r-footer .r-footer-links{flex-wrap:wrap;justify-content:flex-end;gap:15px}@media (max-width:800px) and (min-width:641px){.reading-library .r-card{grid-template-columns:88px minmax(0,1fr);gap:13px;padding:14px}.reading-library .r-book-info h3{font-size:14px}.reading-library .r-follow{padding:10px 12px;font-size:11px}.reading-library .r-profile{gap:18px;padding:20px}.reading-library .r-profile h1{font-size:22px}}@media (max-width:640px){.reading-library .r-container{padding:0 17px 25px}.reading-library .r-top{padding:20px 0}.reading-library .r-brand{letter-spacing:1px;font-size:9px}.reading-library .r-jump{font-size:10px}.reading-library .r-profile{margin:3px 0 27px;padding:19px;display:block}.reading-library .r-identity{align-items:flex-start;gap:15px}.reading-library .r-avatar{width:72px;height:72px}.reading-library .r-profile h1{font-size:21px}.reading-library .r-profile p{font-size:11px}.reading-library .r-follow{gap:6px;min-height:40px;margin:15px 0 0 69px;padding:9px 10px;font-size:10px}.reading-library .r-follow svg{width:13px;height:13px}.reading-library .r-collection-head{flex-direction:column;align-items:stretch;gap:13px}.reading-library .r-collection-head h2{font-size:20px}.reading-library .r-search input{width:100%;font-size:16px}.reading-library .r-tools{gap:10px;margin:16px 0}.reading-library .r-filters button{min-height:38px;padding:6px 12px;font-size:11px}.reading-library .r-count{font-size:10px}.reading-library .r-grid{grid-template-columns:1fr;gap:13px}.reading-library .r-card{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px}.reading-library .r-card:last-child:nth-child(odd):not(:only-child){grid-column:auto}.reading-library .r-book-info h3{font-size:14px}.reading-library .r-blurb{font-size:11px}.reading-library .r-platforms{gap:5px}.reading-library .r-platforms a,.reading-library .r-platforms>span{min-height:36px;padding:7px 6px;font-size:9px}.reading-library .r-platforms svg{width:10px;height:10px}.reading-library .r-cover-type strong{font-size:11px}.reading-library .r-cover-type>svg{width:20px;height:20px}.reading-library .r-cover-type>span{font-size:4px}.reading-library .r-footer{flex-direction:column;align-items:flex-start;gap:13px}.reading-library .r-footer .r-footer-links{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.reading-library *{transition:none}}.reading-library .r-brand{letter-spacing:.2px;font-size:13px}.reading-library .r-identity{flex:1}.reading-library .r-socials{flex-shrink:0}.reading-library .r-social-heading{color:var(--r-sub);margin-bottom:10px;font-size:11px;display:block}.reading-library .r-social-list{flex-wrap:wrap;gap:12px;display:flex}.reading-library .r-social{color:var(--r-sub);flex-direction:column;align-items:center;gap:6px;min-width:44px;font-size:9px;display:flex}.reading-library .r-social-icon{border:1px solid var(--r-line);background:var(--r-paper);width:44px;height:44px;color:var(--r-accent);border-radius:14px;place-items:center;transition:background .18s,transform .18s;display:grid}.reading-library .r-social:hover .r-social-icon{background:var(--r-wash);border-color:#a9bbd2;transform:translateY(-2px)}.reading-library .r-social-facebook .r-social-icon{color:#4267a1}.reading-library .r-social-youtube .r-social-icon{color:#bc5353}.reading-library .r-social-inkrealm .r-social-icon{color:#b47741}.reading-library .r-social-mynovel .r-social-icon{color:#438f9c}@media (max-width:900px){.reading-library .r-profile{flex-wrap:wrap}.reading-library .r-socials{margin-left:116px}}@media (max-width:640px){.reading-library .r-brand{letter-spacing:.2px;font-size:12px}.reading-library .r-socials{border-top:1px solid var(--r-line);margin:18px 0 0;padding-top:15px}.reading-library .r-social-list{gap:12px}}.reading-library .r-social-icon img{object-fit:contain;width:26px;height:26px;display:block}.reading-library .r-social-pending{cursor:default}.reading-library .r-social-pending small{color:var(--r-sub);font-size:8px;line-height:1}.reading-library .r-profile{grid-template-columns:minmax(0,1fr) auto;display:grid}.reading-library .r-identity{width:100%;min-width:0}.reading-library .r-profile-copy{min-width:0}.reading-library .r-socials{min-width:0;max-width:100%;margin-left:0}@media (max-width:1050px){.reading-library .r-profile{grid-template-columns:minmax(0,1fr);gap:20px}.reading-library .r-socials{margin-left:116px}}@media (max-width:640px){.reading-library .r-profile{gap:17px;padding:16px}.reading-library .r-socials{width:100%;margin:0;padding-top:15px}.reading-library .r-social-list{gap:8px}.reading-library .r-identity{align-items:flex-start}.reading-library .r-social{min-width:44px}}@media (max-width:360px){.reading-library .r-social-list{gap:4px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html{scrollbar-gutter:stable}html .theme-choice{color:var(--ink);flex-shrink:0;position:relative}html .theme-choice .theme-trigger{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 10px;font-size:12px;display:inline-flex}html .theme-choice .theme-popup{z-index:100;border:1px solid var(--line);background:var(--surface);width:174px;color:var(--ink);border-radius:10px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px #00000025}html .theme-choice .theme-popup[hidden]{display:none}html .theme-choice .theme-popup button{text-align:left;width:100%;min-height:40px;color:var(--ink);border-radius:6px;align-items:center;gap:9px;padding:8px 10px;font-size:12px;display:flex}html .theme-choice .theme-popup button>span{display:inline!important}html .theme-choice .theme-popup button:hover,html .theme-choice .theme-popup button[aria-checked=true]{background:var(--wash);color:var(--accent)}html .theme-choice .theme-check{margin-left:auto}.reading-library .r-top{justify-content:space-between;align-items:center;gap:16px;display:flex}@media (max-width:640px){html .theme-choice .theme-trigger{width:36px;padding:7px}html .theme-choice .theme-trigger .theme-label,.a-admin .a-top-actions>a>span{display:none}.a-admin .a-top-actions{gap:12px}}html .theme-choice .theme-native{display:none}html .theme-choice[data-native-picker=true] .theme-trigger,html .theme-choice[data-native-picker=true] .theme-popup{display:none!important}html .theme-choice[data-native-picker=true] .theme-native{border:1px solid var(--line);background:var(--surface);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ink);border-radius:8px;justify-content:center;align-items:center;margin:0;display:inline-flex;position:relative}html .theme-choice .theme-native select{opacity:0;cursor:pointer;-webkit-appearance:auto;appearance:auto;width:100%;height:100%;margin:0;padding:0;font-size:16px;position:absolute;inset:0}html .theme-choice .theme-native:focus-within{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:700px),(pointer:coarse){html .theme-choice .theme-trigger{width:44px;min-width:44px;min-height:44px;padding:8px}html .theme-choice .theme-trigger .theme-label{display:none}html .theme-choice .theme-popup button{min-height:44px;font-size:14px}}html .theme-choice{width:104px}html .theme-choice .theme-trigger,html .theme-choice[data-native-picker=true] .theme-native{width:100%;height:44px;min-height:44px}html .theme-choice .theme-trigger .theme-label{text-align:center;flex:1}html .theme-choice[data-native-picker=true] .theme-native{gap:7px;padding:7px 10px}@media (max-width:700px),(pointer:coarse){html .theme-choice{width:44px}html .theme-choice .theme-native .theme-label{display:none}}:root[data-theme=dark]{--paper:#151617;--surface:#202224;--ink:#e9eaed;--muted:#a7adb7;--line:#35393e;--accent:#99b8de;--wash:#2c3541;--danger:#f0a3ac}:root[data-theme=dark] .primary{color:#e9eaed}:root[data-theme=dark] .primary:hover:not(:disabled){color:#e9eaed;background:#99b8de;border-color:#35393e}:root[data-theme=dark] .secondary-button:hover:not(:disabled),:root[data-theme=dark] .side-item.chosen{border-color:#35393e}:root[data-theme=dark] .side-item:hover:not(:disabled){background:#2c3541}:root[data-theme=dark] .editor label:not(.checkbox-row):not(.upload-control){color:#a7adb7}:root[data-theme=dark] .editor input:not([type=checkbox]):not([type=file]),:root[data-theme=dark] .editor textarea,:root[data-theme=dark] .editor select{background:#202224}:root[data-theme=dark] .editor input::placeholder,:root[data-theme=dark] .editor textarea::placeholder{color:#a7adb7}:root[data-theme=dark] .editor input:focus,:root[data-theme=dark] .editor textarea:focus,:root[data-theme=dark] .editor select:focus{box-shadow:0 0 0 3px #00000014}:root[data-theme=dark] .upload-control:hover{border-color:#35393e}:root[data-theme=dark] .delete:hover{background:#36262b}:root[data-theme=dark] .success{color:#99b8de;background:#2c3541;border-color:#35393e}:root[data-theme=dark] .error{color:#f0a3ac;background:#36262b;border-color:#35393e}:root[data-theme=dark] .preview-banner{color:#e9eaed;box-shadow:0 2px 10px #00000012}:root[data-theme=dark] .preview-banner button{background:#202224}:root[data-theme=dark] .delete-dialog{box-shadow:0 20px 80px #0002}:root[data-theme=dark] .delete-dialog::backdrop{background:#0006}:root[data-theme=dark] .delete-dialog .state-icon{background:#36262b}:root[data-theme=dark] .danger-button:hover:not(:disabled){background:#36262b;border-color:#35393e}:root[data-theme=dark] .platform-tabs>button[aria-selected=true]{background:#2c3541}:root[data-theme=dark] .platform-panel{background:#202224}:root[data-theme=dark] .choice-caption{color:#a7adb7}:root[data-theme=dark] .choice-options>button{background:#202224}:root[data-theme=dark] .choice-options>button[aria-pressed=true]{border-color:#35393e}:root[data-theme=dark] .chosen-tags>li{background:#2c3541;border:1px solid #35393e}:root[data-theme=dark] .chosen-tags button:hover{background:#99b8de}:root[data-theme=dark] .reading-library{--r-paper:#151617;--r-surface:#202224;--r-ink:#e9eaed;--r-sub:#a7adb7;--r-line:#35393e;--r-accent:#99b8de;--r-wash:#2c3541}:root[data-theme=dark] .reading-library .r-follow{color:#e9eaed}:root[data-theme=dark] .reading-library .r-follow:hover{color:#e9eaed;background:#99b8de;border-color:#35393e}:root[data-theme=dark] .reading-library .r-card:hover{border-color:#35393e;box-shadow:0 5px 16px #0000000d}:root[data-theme=dark] .reading-library .r-cover,:root[data-theme=dark] .reading-library .r-cover-1,:root[data-theme=dark] .reading-library .r-cover-2{color:#e9eaed;background:#99b8de}:root[data-theme=dark] .reading-library .r-cover-type{border:1px solid #00000063}:root[data-theme=dark] .reading-library .r-status.r-complete{color:#a3c8b2}:root[data-theme=dark] .reading-library .r-social:hover .r-social-icon{border-color:#35393e}:root[data-theme=dark] .reading-library .r-social-facebook .r-social-icon{color:#99b8de}:root[data-theme=dark] .reading-library .r-social-youtube .r-social-icon{color:#f0a3ac}:root[data-theme=dark] .reading-library .r-social-inkrealm .r-social-icon,:root[data-theme=dark] .reading-library .r-social-mynovel .r-social-icon{color:#a7adb7}:root[data-theme=dark] .b-search{background:#202224}:root[data-theme=dark] .b-search:focus-within{box-shadow:0 0 0 2px #00000015}:root[data-theme=dark] .b-card{background:linear-gradient(155deg,#2c3541 0%,#181a1c 42%,#202224 78%);border:1px solid #35393e;box-shadow:0 9px 26px #00000010,0 1px 3px #00000008}:root[data-theme=dark] .b-cover{background:#2c3541;outline:1px solid #00000070;box-shadow:0 14px 22px -7px #0006,0 3px 7px #0000001c}:root[data-theme=dark] .b-bottom{border-top:1px solid #35393e}:root[data-theme=dark] .b-status.b-complete{color:#a3c8b2}:root[data-theme=dark] .b-status.b-paused{color:#a7adb7}:root[data-theme=dark] .b-links a{background:#202224;border:1px solid #35393e;box-shadow:0 2px 4px #00000008}:root[data-theme=dark] .b-cover-art{border:1px solid #0000003b}:root[data-theme=dark] .b-sort-trigger{background:#202224}:root[data-theme=dark] .b-sort-trigger[aria-expanded=true]{border-color:#35393e;box-shadow:0 0 0 3px #000}:root[data-theme=dark] .b-sort-popup{background:#202224;box-shadow:0 10px 28px #00000020}:root[data-theme=dark] .b-sort-popup>button:hover{background:#181a1c}:root[data-theme=dark] .b-sort-popup>button[aria-checked=true]{background:#2c3541}:root[data-theme=dark] .a-admin{--a-muted:#a7adb7;background:#181a1c}:root[data-theme=dark] .a-admin .a-cover-preview,:root[data-theme=dark] .a-admin .a-book-open>img{background:#2c3541}:root[data-theme=dark] .a-sheet-card{background:#202224}:root[data-theme=dark] .a-sheet-heading p,:root[data-theme=dark] .a-sheet-guide ol,:root[data-theme=dark] .a-sheet-advanced ol{color:#a7adb7}:root[data-theme=dark] .a-nav [aria-current=page],:root[data-theme=dark] .a-nav>button:hover,:root[data-theme=dark] .a-nav>a:hover{background:#2c3541}:root[data-theme=dark] .a-sync-state{color:#a7adb7}:root[data-theme=dark] .a-section-top h1>span{background:#2c3541}:root[data-theme=dark] .a-list-surface,:root[data-theme=dark] .a-search{background:#202224}:root[data-theme=dark] .a-search:focus-within{box-shadow:0 0 0 2px #00000012}:root[data-theme=dark] .a-search input::placeholder{color:#a7adb7}:root[data-theme=dark] .a-filter-selects select{color:#a7adb7;background:#202224}:root[data-theme=dark] .a-filter-summary{background:#181a1c}:root[data-theme=dark] .a-table-scroll{scrollbar-color:#99b8de transparent}:root[data-theme=dark] .a-table th{background:#202224}:root[data-theme=dark] .a-table td{border-bottom:1px solid #35393e}:root[data-theme=dark] .a-table tbody tr:hover{background:#181a1c}:root[data-theme=dark] .a-table .a-order-cell,:root[data-theme=dark] .a-mini-cover{color:#a7adb7}:root[data-theme=dark] .a-status{color:#99b8de;background:#2c3541}:root[data-theme=dark] .a-status.complete{color:#a3c8b2;background:#2c3541}:root[data-theme=dark] .a-status.paused{color:#a7adb7;background:#2c3541}:root[data-theme=dark] .a-visibility{color:#a7adb7}:root[data-theme=dark] .a-visibility:before,:root[data-theme=dark] .a-visibility.visible:before{background:#99b8de}:root[data-theme=dark] .a-channel-list>span:not(.a-no-channel){background:#202224;border:1px solid #35393e}:root[data-theme=dark] .a-no-channel,:root[data-theme=dark] .a-edit{color:#a7adb7}:root[data-theme=dark] .a-edit:hover,:root[data-theme=dark] .a-pagination select{background:#202224}:root[data-theme=dark] .a-list-empty,:root[data-theme=dark] .a-cover-empty,:root[data-theme=dark] .a-saved-note{color:#a7adb7}:root[data-theme=dark] .a-savebar{background:#202224;border:1px solid #35393e;box-shadow:0 5px 24px #0000001c}:root[data-theme=dark] .a-dirty-dot{background:#99b8de}:root[data-theme=dark] .a-admin .secondary-button:disabled{color:#a7adb7;background:#181a1c;border-color:#35393e}:root[data-theme=dark] .s-feedback .notice{box-shadow:0 4px 20px #00000018}:root[data-theme=dark] .s-list,:root[data-theme=dark] .s-detail,:root[data-theme=dark] .s-list-filters select{background:#202224}:root[data-theme=dark] .s-novel:hover{background:#181a1c}:root[data-theme=dark] .s-novel[aria-current=true]{background:#2c3541;border-color:#35393e}:root[data-theme=dark] .s-novel img,:root[data-theme=dark] .s-no-cover{background:#2c3541}:root[data-theme=dark] .s-no-cover{color:#a7adb7}:root[data-theme=dark] .s-cover-frame{background:#2c3541}:root[data-theme=dark] .s-detail-save,:root[data-theme=dark] .s-meta-footer{background:#202224}:root[data-theme=dark] .s-platform-tabs button[aria-pressed=true]{background:#2c3541;border-color:#35393e}:root[data-theme=dark] .s-meta-error{color:#f0a3ac}@media (max-width:700px){:root[data-theme=dark] .s-detail-save,:root[data-theme=dark] .s-meta-footer{box-shadow:0 -4px 12px #00000008}}:root[data-theme=dark] .s-field-card{background:#202224}:root[data-theme=dark] .s-copy:hover{background:#2c3541}:root[data-theme=dark] .a-admin .s-field-card>input,:root[data-theme=dark] .s-tagbox{background:#202224}:root[data-theme=dark] .s-tagbox:focus-within{border-color:#35393e;box-shadow:0 0 0 2px #00000010}:root[data-theme=dark] .s-tag-chip{background:#2c3541}:root[data-theme=dark] .s-tag-chip>button{color:#a7adb7}:root[data-theme=dark] .s-tag-chip>button:hover{background:#2c3541}:root[data-theme=dark] .s-story-document,:root[data-theme=dark] .a-admin .editor textarea.s-story-input,:root[data-theme=dark] .s-detail>.s-book-tools,:root[data-theme=dark] .s-book-tools .a-order-control input,:root[data-theme=dark] .i-sidebar,:root[data-theme=dark] .i-panel{background:#202224}:root[data-theme=dark] .i-menu button[aria-current=page],:root[data-theme=dark] .i-menu button:hover{background:#2c3541}:root[data-theme=dark] .i-source textarea,:root[data-theme=dark] .i-footer{background:#202224}:root[data-theme=dark] .i-warning{color:#a7adb7}:root[data-theme=dark] .i-files pre{background:#181a1c}:root[data-theme=dark] .i-service-icon{background:#2c3541}:root[data-theme=dark] .i-service p.i-status{color:#a3c8b2}:root[data-theme=dark] .a-admin.admin-shell .a-detail.s-profile-panel{background:#202224}@media (max-width:700px){:root[data-theme=dark] .a-admin.admin-shell .i-footer,:root[data-theme=dark] .a-admin.admin-shell .s-detail-save,:root[data-theme=dark] .a-admin.admin-shell .s-meta-footer{background:#202224}:root[data-theme=dark] .a-admin.admin-shell>.a-topbar,:root[data-theme=dark] .a-admin.admin-shell>.a-nav{background:#181a1c}}:root[data-theme=dark] .crop-dialog{color:#99b8de;background:#202224;border:1px solid #35393e;box-shadow:0 24px 80px #00000040}:root[data-theme=dark] .crop-dialog::backdrop{background:#0009}:root[data-theme=dark] .crop-dialog header{border-bottom:1px solid #35393e}:root[data-theme=dark] .crop-dialog header p{color:#a7adb7}:root[data-theme=dark] .crop-dialog .secondary-button{color:#99b8de;background:#202224;border:1px solid #35393e}:root[data-theme=dark] .crop-dialog .primary{color:#e9eaed;background:#99b8de;border:1px solid #35393e}:root[data-theme=dark] .crop-stage{background:#2c3541;outline:1px solid #35393e}:root[data-theme=dark] .crop-grid{background:linear-gradient(90deg,#0000 calc(33.33% - .5px),#00000070 33.33%,#0000 calc(33.33% + .5px) calc(66.66% - .5px),#00000070 66.66%,#0000 calc(66.66% + .5px)),linear-gradient(#0000 calc(33.33% - .5px),#00000070 33.33%,#0000 calc(33.33% + .5px) calc(66.66% - .5px),#00000070 66.66%,#0000 calc(66.66% + .5px));box-shadow:inset 0 0 0 1px #00000080}:root[data-theme=dark] .crop-ratio{color:#99b8de}:root[data-theme=dark] .crop-controls output{color:#a7adb7}:root[data-theme=dark] .crop-controls input[type=range]{accent-color:#99b8de}:root[data-theme=dark] .crop-controls p{color:#a7adb7}:root[data-theme=dark] .crop-dialog footer{background:#202224;border-top:1px solid #35393e}:root[data-theme=dark] .crop-error{color:#f0a3ac}:is(:root[data-theme=dark] .crop-dialog button:focus-visible,:root[data-theme=dark] .crop-dialog input:focus-visible){outline:2px solid #35393e}:root[data-theme=dark] .primary,:root[data-theme=dark] .reading-library .r-follow{color:#15202f}:root[data-theme=dark] .primary:hover:not(:disabled),:root[data-theme=dark] .reading-library .r-follow:hover{color:#15202f;background:#b1c9e7;border-color:#b1c9e7}:root[data-theme=dark] .danger-button{color:#fff;background:#b94c5a;border-color:#b94c5a}:root[data-theme=dark] .danger-button:hover:not(:disabled){color:#fff;background:#a33f4c;border-color:#a33f4c}:root[data-theme=dark] .a-admin{background:#151617}:root[data-theme=dark] .b-card{background:#202224;border-color:#35393e}:root[data-theme=dark] .b-cover{background:#181a1c;outline-color:#35393e}:root[data-theme=dark] .b-cover-placeholder{color:#e9eaed;background:#2c3541}:root[data-theme=dark] .b-cover-art{border-color:#99b8de55}:root[data-theme=dark] :where(input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select){color:#e9eaed;background-color:#181a1c}:root[data-theme=dark] :is(.b-search,.s-search,.a-search,.s-tagbox) input,:root[data-theme=dark] .a-admin .editor .s-tagbox input.s-tag-input{background:0 0}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#a7adb7;opacity:1}:root[data-theme=dark] .preview-banner{color:#15202f}:root[data-theme=dark] .crop-dialog .primary{color:#15202f;background:#99b8de;border-color:#99b8de}.novel-page{max-width:1040px;margin:auto;padding:24px 24px 56px}.novel-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.novel-brand,.novel-back{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.novel-brand{font-weight:600}.novel-back{min-height:36px;margin-bottom:18px}.novel-sheet{background:var(--surface);border:1px solid var(--line);border-radius:16px;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:28px;display:grid}.novel-cover{aspect-ratio:3/4;background:var(--wash);color:var(--muted);border-radius:9px;align-self:start;place-items:center;display:grid;overflow:hidden}.novel-cover img{object-fit:contain;width:100%;height:100%}.novel-intro{min-width:0}.novel-translator{color:var(--muted);margin:0 0 8px;font-size:12px}.novel-intro h1{overflow-wrap:anywhere;margin:0 0 14px;font-size:25px;line-height:1.6}.novel-facts{flex-wrap:wrap;gap:8px;margin-bottom:22px;display:flex}.novel-facts span{background:var(--wash);color:var(--accent);border-radius:6px;padding:4px 10px;font-size:11px}.novel-reading h2,.novel-synopsis h2{margin-bottom:12px;font-size:16px}.novel-reading>div{flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}.novel-reading a{min-width:156px;min-height:44px}.novel-reading img{object-fit:contain;width:24px;height:24px}.novel-copy-link{white-space:nowrap;width:148px;min-width:148px;min-height:44px}.novel-synopsis{border-top:1px solid var(--line);grid-column:1/-1;min-width:0;padding-top:24px}.novel-synopsis>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2.1}.novel-link-editor{border-bottom:1px solid var(--line);min-width:0;margin-bottom:26px;padding-bottom:24px}.novel-link-editor h2{margin-bottom:8px}.novel-link-prefix{color:var(--muted);overflow-wrap:anywhere;margin-top:16px;font-size:11px;display:block}.novel-link-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.novel-link-actions>.primary{width:148px;min-width:148px;min-height:44px}.a-admin .novel-link-actions>button{white-space:nowrap;height:44px;min-height:44px}.novel-link-editor .help{min-height:20px}.novel-link-state{min-height:24px;color:var(--muted);margin-top:9px;font-size:11px}.b-cover-link{z-index:1;position:absolute;inset:0}.b-cover-link:focus-visible{outline-offset:-4px}.b-copy h3 a:hover{color:var(--r-accent)}@media (max-width:640px){.novel-page{padding:12px 12px 30px}.novel-top{margin-bottom:14px}.novel-back{margin-bottom:12px}.novel-sheet{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px 16px}.novel-cover{width:180px;max-width:100%;margin:auto}.novel-intro h1{font-size:21px}.novel-reading>div{grid-template-columns:minmax(0,1fr);display:grid}.novel-reading a{width:100%;min-width:0}.novel-synopsis{padding-top:20px}.novel-link-actions>*{flex:1;min-width:0!important}.a-admin .novel-link-actions{grid-template-columns:minmax(0,1fr);display:grid}.a-admin .novel-link-actions>button{width:100%}}
