:root{--paper:#fff9ee;--canvas:#f3ead7;--ink:#29231f;--muted:#655b52;--yellow:#ffc83d;--purple:#c9bdf2;--green:#a8bc7a;--coral:#ee927f;--teal:#76bbb1;--focus:#51428a;--line:#d8ccb9;font-family:-apple-system,BlinkMacSystemFont,'PingFang TC','Noto Sans TC','Microsoft JhengHei',sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;box-shadow:none!important;background:#e7ded0!important;color:var(--muted)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.skip{position:absolute;top:-80px}.skip:focus{top:10px;background:white;padding:15px;z-index:20}header{border-bottom:2px solid var(--ink);background:var(--paper);position:relative;z-index:2}.header-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:22px 40px;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;white-space:nowrap}.logo-icon{width:39px;height:42px;transform:rotate(-8deg);background:var(--yellow);border:2px solid;box-shadow:2px 2px 0;border-radius:5px;display:grid;place-items:center}.header-nav{display:flex;gap:28px;align-items:center}.nav-link{border:0;background:none;font-weight:600;padding:12px 2px}.nav-link.active{border-bottom:3px solid}.icon{width:22px;height:22px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-btn{border:2px solid;background:var(--paper);border-radius:10px;width:46px;height:46px;display:inline-grid;place-items:center}.avatar{border:1.5px solid;border-radius:50%;width:36px;height:36px;display:inline-grid;place-items:center;background:var(--purple);font-size:14px;font-weight:700;flex-shrink:0}.avatars{display:flex;padding-left:4px}.avatars .avatar{margin-left:-4px;border:2px solid var(--paper)}.profile-btn{display:flex;align-items:center;gap:8px;border:0;background:none;padding:0}.demo-tag{font:11px/1.2 ui-monospace,monospace;border:1px solid;padding:4px 6px;border-radius:4px;background:var(--paper);letter-spacing:.08em}.main-wrap{max-width:1200px;margin:auto;padding:48px 40px 70px}.eyebrow{font-size:12px;font-family:ui-monospace,monospace;letter-spacing:.15em;text-transform:uppercase;display:flex;align-items:center;gap:8px}.eyebrow:before{content:'';width:7px;height:7px;background:var(--ink);border-radius:50%}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:16px 0 30px}h1{font-size:38px;line-height:1.3;margin:0 0 12px;letter-spacing:0}h2{font-size:23px;line-height:1.4}h3{font-size:20px;line-height:1.5}.muted{color:var(--muted)}p{line-height:1.7}.page-heading p{margin:0;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--yellow);border:2px solid var(--ink);border-radius:9px;box-shadow:3px 3px 0 var(--ink);min-height:48px;padding:11px 20px;font-weight:700;transition:transform 120ms,box-shadow 120ms;white-space:normal}.btn.secondary{background:var(--paper);box-shadow:2px 2px 0}.btn.small{padding:8px 14px;font-size:14px;min-height:44px}.btn.danger{background:#a3312f;color:white;border-color:var(--ink)}.btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0}.text-btn{border:0;background:transparent;padding:12px 4px;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-weight:600}.shelf-heading{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 14px;margin-bottom:28px;font-size:14px}.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 26px}.book-card{display:block;border:2px solid var(--ink);border-radius:13px;box-shadow:4px 4px 0;background:var(--paper);overflow:hidden;transition:transform 140ms}.book-card:hover{transform:translateY(-3px)}.cover{height:215px;position:relative;overflow:hidden;background:var(--cover);border-bottom:2px solid}.cover:before{content:'';position:absolute;left:17px;top:0;bottom:0;width:9px;border-left:1px solid #29231f55;border-right:1px solid #29231f55;background:#fff3}.cover-tag{position:absolute;top:18px;left:37px;border:1.5px solid;border-radius:3px;background:var(--paper);padding:5px 10px;font-size:11px;letter-spacing:.13em;transform:rotate(-3deg)}.cover-number{position:absolute;bottom:15px;right:17px;font:12px ui-monospace,monospace}.cover-art{position:absolute;left:50%;top:52%;transform:translate(-45%,-40%);width:170px;height:140px}.book-info{padding:20px}.book-info h2{font-size:21px;margin:0 0 7px}.book-desc{font-size:14px;margin:0 0 22px;color:var(--muted);min-height:24px}.book-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.latest{font-size:12px;color:var(--muted);margin-top:12px}.new-dot{display:inline-block;width:6px;height:6px;background:#51428a;border-radius:50%;margin-right:7px}.create-card{border:2px dashed #958573;border-radius:13px;min-height:355px;background:#f3ead750;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.create-card .plus{font-size:38px;border:2px solid;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:var(--paper);margin-bottom:10px}.create-card h2{margin:12px 0 0}.create-card p{color:var(--muted);font-size:14px;margin-bottom:0}.shelf-note{display:flex;gap:14px;margin-top:32px;border-top:1px solid var(--line);padding-top:22px;font-size:14px;color:var(--muted);align-items:center}.shelf-note .icon{flex-shrink:0}footer{max-width:1120px;margin:0 auto;padding:24px 0;display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}footer span:first-child{font-weight:800;color:var(--ink)}footer button{background:none;border:0;color:inherit}dialog{border:2px solid var(--ink);border-radius:16px;box-shadow:6px 6px 0 var(--ink);padding:0;background:var(--paper);width:min(560px,calc(100% - 32px));max-height:90dvh}dialog::backdrop{background:#29231f66}.dialog-head{background:var(--purple);padding:12px 20px;border-bottom:2px solid;display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font-size:16px;margin:0}.dialog-head button{border:0;background:none;padding:10px}.dialog-content{padding:25px}.dialog-content h3{margin-top:0}.field{display:block;margin-bottom:20px}.field>span{display:block;font-size:14px;font-weight:600;margin-bottom:8px}input,textarea,select{border:2px solid;border-radius:8px;background:var(--paper);padding:12px;width:100%;font-size:16px}textarea{resize:vertical;min-height:130px;line-height:1.75}.actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.notice{border:1px solid #c8b9a5;background:var(--canvas);padding:12px 15px;border-radius:8px;font-size:14px;line-height:1.65}.error{color:#a3312f;font-size:14px}.swatches{display:flex;gap:12px}.swatch{width:44px;height:44px;border:2px solid;border-radius:50%;background:var(--color)}.swatch.selected{outline:3px solid var(--focus);outline-offset:3px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:14px 22px;background:var(--ink);color:var(--paper);border-radius:8px;z-index:20;max-width:calc(100% - 32px);display:none;font-size:14px}#toast.show{display:block}@media(min-width:1500px){.main-wrap{padding-top:60px}}@media(max-width:800px){.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{padding:18px 24px}.header-nav{gap:16px}.main-wrap{padding:32px 24px 50px}footer{margin:0 24px}.brand{font-size:21px}.page-heading h1{font-size:32px}}@media(max-width:540px){.header-inner{padding:14px 16px;gap:8px}.brand{font-size:20px;gap:8px}.logo-icon{width:30px;height:34px}.header-nav{gap:10px}.header-nav>.nav-link,.profile-name,.demo-tag{display:none}.main-wrap{padding:26px 16px 40px}.page-heading{align-items:flex-start;margin-top:14px;gap:12px;flex-wrap:wrap}.page-heading h1{font-size:30px}.page-heading p{font-size:14px}.page-heading .btn{padding:10px 14px}.books-grid{gap:22px}.cover{height:175px}.cover-art{width:145px;height:120px}.book-info{padding:16px}.book-info h2{font-size:18px}.book-desc{font-size:13px}.latest{font-size:12px}.book-bottom{flex-wrap:wrap}.create-card{min-height:305px}.cover-tag{left:31px;font-size:10px}footer{margin:0 16px;flex-wrap:wrap}.shelf-heading{margin-bottom:22px}}@media(max-width:439px){.books-grid{grid-template-columns:1fr}.cover{height:170px}.book-card{display:grid;grid-template-columns:112px 1fr;min-height:187px}.cover{height:100%;border-bottom:0;border-right:2px solid}.cover:before{left:8px;width:5px}.cover-art{width:110px;height:100px}.cover-tag{top:14px;left:23px;padding:4px;font-size:9px}.cover-number{bottom:10px;font-size:10px}.book-info{padding:17px 14px}.book-info h2{font-size:18px}.book-desc{margin-bottom:15px}.latest{line-height:1.5}.create-card{min-height:170px}.create-card .plus{width:45px;height:45px;font-size:28px;margin:0}.create-card h2{font-size:18px}.page-heading>.btn{font-size:14px}.header-nav .icon-btn{width:42px;height:44px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.back-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;margin-bottom:20px;font-size:14px}.book-hero{display:grid;grid-template-columns:170px 1fr auto;align-items:center;gap:28px;padding:28px 0 35px;border-bottom:2px solid;margin-bottom:30px}.mini-cover{height:160px;position:relative;border:2px solid;border-radius:10px;box-shadow:4px 4px 0;background:var(--cover)}.mini-cover .cover-art{width:145px;height:130px}.book-hero h1{font-size:32px;margin-bottom:8px}.book-hero p{margin:0 0 15px}.hero-actions{display:flex;flex-direction:column;gap:14px}.post-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:48px}.post-list{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.section-heading h2{margin:0}.post-row{padding:25px 0;border-bottom:1px solid var(--line)}.post-row:first-of-type{padding-top:14px}.byline{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted)}.byline strong{color:var(--ink);font-weight:600}.post-row h2{font-size:23px;margin:15px 0 8px}.post-row p{margin:0 0 14px;white-space:pre-line;color:var(--muted)}.post-link{display:block}.post-link:hover h2{text-decoration:underline;text-underline-offset:5px}.row-end{display:flex;justify-content:space-between;font-size:14px}.side-note{align-self:start;background:var(--canvas);border:1.5px solid;border-radius:10px;padding:20px;position:relative;margin-top:10px}.side-note:before{content:'';position:absolute;width:65px;height:20px;background:#c9bdf2b0;top:-10px;left:35%;transform:rotate(-4deg)}.side-note h3{font-size:18px}.side-note p{font-size:14px}.draft-link{display:flex;gap:12px;align-items:center;background:#ebe2fa;border:1.5px solid;border-radius:8px;padding:15px;margin-bottom:25px;font-size:14px}.reading-wrap{max-width:760px;margin:auto;padding:36px 40px 64px}.reading-article h1{font-size:32px;line-height:1.5;margin:25px 0}.reading-body{font-size:18px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.reading-article{padding-bottom:32px;border-bottom:2px solid}.reading-meta{display:flex;justify-content:space-between;gap:10px;align-items:center}.article-label{display:inline-block;border:1.5px solid;padding:6px 12px;background:var(--cover);border-radius:5px;margin:0 0 20px;font-size:13px}.reply-section{padding-top:25px}.reply-row{border-bottom:1px solid var(--line);padding:20px 0}.reply-row p{margin:10px 0 0 47px;white-space:pre-wrap;overflow-wrap:anywhere}.reply-form{padding-top:24px}.reply-form .actions{margin-top:12px;justify-content:space-between}.reply-count{font-size:14px;color:var(--muted);font-weight:400}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:35px}.choice{background:var(--paper);border:2px solid;box-shadow:4px 4px 0;border-radius:14px;padding:30px 24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start}.choice:hover{background:#f3ead780}.choice .choice-icon{display:grid;place-items:center;width:70px;height:70px;border:2px solid;border-radius:14px;background:var(--cover);margin-bottom:25px}.choice-icon .icon{width:32px;height:32px}.choice h2{margin:0 0 10px}.choice p{color:var(--muted);font-size:15px;margin:0 0 30px;flex:1}.choice>.icon{align-self:flex-end}.center-note{font-size:14px;color:var(--muted);margin-top:28px}.editor-wrap{max-width:820px;margin:auto;padding:30px 30px 60px}.editor-paper{border:2px solid;border-radius:12px;box-shadow:4px 4px 0;background:var(--paper);overflow:hidden}.window-bar{background:var(--purple);border-bottom:2px solid;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.window-dots{display:flex;gap:5px}.window-dots i{width:6px;height:6px;border:1px solid;border-radius:50%}.editor-fields{padding:28px}.editor-fields textarea{min-height:300px;font-size:18px;line-height:1.8}.editor-fields input{font-weight:700;font-size:22px}.editor-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;flex-wrap:wrap}.pill{font-size:13px;border:1px solid;padding:5px 9px;border-radius:5px;background:var(--canvas)}.save-status{font-size:13px;color:var(--muted)}.editor-actions{display:flex;justify-content:space-between;gap:20px;margin-top:24px;align-items:center}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.photo-item{position:relative}.photo-item img,.post-photos img{max-width:100%;border:2px solid;border-radius:7px}.photo-item img{height:110px;width:100%;object-fit:cover}.photo-item button{position:absolute;right:4px;top:4px;background:var(--paper);border:1px solid;width:32px;height:32px;border-radius:50%}.post-photos{display:grid;gap:15px;margin:22px 0}.post-photos a{display:block}.recorder{text-align:center;padding:35px 20px;border:2px solid;border-radius:12px;background:#ebe2fa;box-shadow:4px 4px 0;margin:24px 0}.record-control{width:86px;height:86px;border:2px solid;border-radius:50%;box-shadow:4px 4px 0;background:var(--yellow);display:inline-grid;place-items:center}.record-control .icon{width:35px;height:35px}.record-control.recording{background:#a3312f;color:white}.record-time{font-variant-numeric:tabular-nums;font-size:32px;font-weight:700;margin:18px 0 8px}.recorder p{margin:10px 0}.recorder audio{width:min(100%,350px);margin:20px 0 5px}.voice-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.voice-intro{font-size:14px;color:var(--muted)}.empty{padding:60px 20px;text-align:center;border:1.5px dashed #aa9d8a;border-radius:12px}.empty>.icon{width:45px;height:45px}.empty p{color:var(--muted)}.member-row,.notification-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.member-row>div{flex:1}.member-row small{display:block;margin-top:5px;color:var(--muted)}.notification-row{align-items:flex-start}.notification-row div{flex:1}.notification-row p{margin:0}.badge{font-size:12px;padding:3px 7px;background:var(--canvas);border:1px solid;border-radius:4px}.draft-list{margin:30px 0}.draft-list a{margin-bottom:12px}.preview-notice{background:#ebe2fa;padding:14px 18px;border:1.5px solid;border-radius:8px;margin-bottom:25px}.tabs{display:flex;gap:16px;border-bottom:1px solid var(--line);margin:18px 0}.tabs button{padding:12px 4px;border:0;background:none}.tabs button.active{border-bottom:3px solid;font-weight:700}.profile-summary{display:flex;gap:16px;align-items:center;margin-bottom:25px}.profile-summary>.avatar{width:65px;height:65px;font-size:26px}.notice a{color:var(--focus);text-decoration:underline}.notebook-divider{height:12px;background:repeating-linear-gradient(90deg,transparent 0 14px,var(--ink) 14px 16px,transparent 16px 28px);opacity:.3;margin-top:35px}@media(max-width:800px){.book-hero{grid-template-columns:130px 1fr;gap:22px}.mini-cover{height:135px}.hero-actions{grid-column:1/-1;flex-direction:row;justify-content:space-between}.post-layout{grid-template-columns:1fr}.side-note{display:none}.choice-grid{gap:15px}.choice{padding:22px 17px}.choice h2{font-size:20px}.voice-columns{grid-template-columns:1fr}.voice-columns .recorder{margin-top:0}}@media(max-width:540px){.book-hero{grid-template-columns:86px 1fr;gap:17px;padding-top:0}.mini-cover{height:110px}.mini-cover .cover-art{width:90px;height:95px}.book-hero h1{font-size:25px}.book-hero p{font-size:14px}.hero-actions{flex-wrap:wrap}.reading-wrap{padding:24px 20px 45px}.reading-article h1{font-size:27px}.reading-body{font-size:18px}.reading-meta{align-items:flex-start;flex-wrap:wrap}.choice-grid{grid-template-columns:1fr;margin-top:22px}.choice{display:grid;grid-template-columns:54px 1fr 24px;column-gap:16px;padding:22px 18px;align-items:center}.choice .choice-icon{width:54px;height:54px;grid-row:1/3;margin:0}.choice h2{margin:0 0 5px}.choice p{grid-column:2;grid-row:2;margin:0;font-size:14px}.choice>.icon{grid-column:3;grid-row:1/3;align-self:center}.editor-wrap{padding:22px 16px 45px}.editor-fields{padding:20px 16px}.editor-actions{flex-wrap:wrap}.editor-actions>.btn{flex:1}.window-bar{padding:10px 14px}.reply-form .actions{gap:8px}.photo-grid{grid-template-columns:repeat(2,1fr)}.book-hero .avatar{width:29px;height:29px;font-size:12px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.login-card{padding:32px 24px;border:2px solid;border-radius:14px;box-shadow:4px 4px 0;background:var(--paper);text-align:center;margin:30px 0}.login-card #google-button{display:flex;justify-content:center;min-height:44px;margin-top:24px}.login-card #login-status{font-size:14px;color:var(--muted)}.color-options{border:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}.color-options legend{font-size:14px;margin-bottom:12px}.color-options label{position:relative;cursor:pointer}.color-options input{position:absolute;opacity:0;width:1px}.color-options span{display:block;padding:10px;border:2px solid;border-radius:8px}.color-options input:checked+span{outline:3px solid var(--focus);outline-offset:3px}.color-options input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}
.private-photo-reading{display:grid;gap:24px;margin:28px 0}.private-photo-reading figure{margin:0}.private-photo-reading img{display:block;width:100%;height:auto;max-height:85vh;object-fit:contain;background:var(--canvas);border:2px solid var(--ink);border-radius:10px}.private-photo-reading .text-btn{color:#a3312f}.photo-item img{background:var(--canvas)}
