:root{--pink:#fbe3e8;--red:#b20730;--plum:#57062d;--cream:#fffaf2;--amber:#ffe4a2;--line:#eac6c8}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--plum);font-family:Arial,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button,a{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8a2c9b;outline-offset:4px}aside{width:224px;position:fixed;inset:0 auto 0 0;padding:32px 20px;background:linear-gradient(140deg,#f9d7df,#fce8e8);border-right:1px solid var(--line)}.brand{text-decoration:none;display:block;text-align:center;font:bold 40px Georgia}.brand span{display:block;color:var(--red);font-size:46px}.brand small{display:block;font:12px Arial;letter-spacing:4px;margin-top:9px}nav{display:grid;gap:12px;margin-top:65px}nav a{padding:16px 13px;border-radius:15px;text-decoration:none;font:20px Georgia}nav a.active{background:#f4b6c8;color:#780029}.aside-note{position:absolute;bottom:40px;font:24px/1.5 Georgia}.aside-note span{font:italic 16px Georgia}main{margin-left:224px;padding:28px 34px;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}header>span,.eyebrow{font-size:11px;letter-spacing:3px;font-weight:bold;color:var(--red)}.search{border:1px solid #c85776;border-radius:30px;padding:10px 18px;display:flex;gap:10px}.search input{border:0;outline:0;background:transparent;min-width:180px;width:100%;color:var(--plum)}h1,h2,h3{font-family:Georgia,serif;letter-spacing:-1px}h1{font-size:clamp(42px,5vw,75px);line-height:1.02;margin:15px 0 12px}h2{font-size:32px;margin:28px 0 16px}h3{font-size:23px;line-height:1.15}.subtitle{font:italic 22px Georgia;margin:0 0 26px}.hero{display:grid;grid-template-columns:1.05fr 1fr;background:linear-gradient(120deg,#ffe8ab,#ffd4bf);border-radius:26px;overflow:hidden;min-height:300px}.hero-copy{padding:30px}.hero h2{font-size:clamp(30px,3.1vw,48px);margin:24px 0;max-width:500px}.pill,.button{display:inline-block;border-radius:24px;padding:12px 20px;border:1px solid #d9849b;text-decoration:none;background:#fff6ee;color:var(--plum)}.button{background:var(--red);color:white;border-color:var(--red);font-weight:bold}.hero-art{display:grid;place-items:center;position:relative;overflow:hidden;background:repeating-linear-gradient(90deg,#e8758f33 0 30px,#fbadbf33 30px 60px)}.hero-art svg{width:90%;height:290px}.hero-art .caption{position:absolute;bottom:16px;font:italic 17px Georgia}.intro{max-width:760px;line-height:1.7}.shelves{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.shelves a{border:1px solid var(--line);background:var(--pink);border-radius:24px;padding:12px 20px;text-decoration:none}.shelves a:nth-child(even){background:var(--amber)}.shelves a.selected{background:var(--plum);color:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{border:1px solid var(--line);border-radius:22px;padding:13px;background:#fff4ee;display:flex;flex-direction:column;overflow:hidden}.cover{height:180px;display:grid;place-items:center;border-radius:14px;background:#f5bace;color:#a60937;overflow:hidden}.cover svg{width:100%;height:100%}.card:nth-child(3n+2) .cover{background:#ffe1a3}.card:nth-child(3n) .cover{background:#e4c9ef;color:#6f285b}.card h3{margin:18px 0 10px}.card p{line-height:1.6;font-size:14px;margin:6px 0}.card .small{font-size:11px;letter-spacing:1px;color:#7e4662}.card .actions{display:flex;gap:8px;justify-content:space-between;margin-top:auto;padding-top:18px}.card button{border:1px solid #dca3b1;border-radius:30px;padding:10px 15px;color:var(--red);background:transparent}.card .open{background:var(--red);color:white;border:0}.status{padding:9px 12px;border-radius:12px;background:#f6e9dc;font-size:12px;display:inline-block}.box{background:#ffeff2;border:1px solid var(--line);padding:24px;border-radius:22px;margin:18px 0}.box p,.box li{line-height:1.7}.box a{color:var(--red)}.list{display:grid;gap:14px}.list a{text-decoration:none}.row{display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line);padding:18px 0}.row span{font-size:13px;color:#80536a}.empty{padding:40px;background:var(--pink);border-radius:24px;font:23px Georgia}.controls{display:flex;gap:14px;flex-wrap:wrap}footer{font-size:12px;line-height:1.8;color:#8a5b70;margin:60px 0 20px}dialog{max-width:900px;width:92vw;max-height:90vh;border:1px solid var(--line);border-radius:25px;padding:35px;color:var(--plum);background:var(--cream)}dialog::backdrop{background:#370b2d99}.close{position:sticky;top:0;float:right;width:40px;height:40px;border:0;border-radius:50%;background:var(--pink);color:var(--red);font-size:30px}.source{white-space:pre-wrap;font:17px/1.85 Georgia;overflow-wrap:anywhere}.source-note{font-size:13px;line-height:1.6}.outline{line-height:1.8}.outline li{margin:8px 0}.banner{background:var(--pink);padding:16px 22px;border-radius:18px;font-size:14px;line-height:1.6;margin:20px 0}.draft-label{font-size:12px;letter-spacing:1px}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--plum);color:white;padding:15px 24px;border-radius:20px;display:none;z-index:5}@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}aside{width:190px;padding:25px 12px}main{margin-left:190px;padding:24px}.brand{font-size:32px}.hero-copy{padding:24px}}@media(max-width:700px){aside{position:static;width:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:28px}.brand span{display:inline;font-size:30px;margin-right:10px}.brand small{display:inline;font-size:9px;letter-spacing:2px;margin-left:12px}nav{display:flex;justify-content:center;gap:3px;margin-top:18px;flex-wrap:wrap}nav a{font:14px Arial;padding:10px}.aside-note{display:none}main{margin:0;padding:20px}header{display:block}header>span{display:none}.search{width:100%}h1{font-size:48px}.subtitle{font-size:19px}.hero{grid-template-columns:1fr}.hero-art{min-height:220px}.hero-art svg{height:220px}.grid{grid-template-columns:1fr}.cover{height:210px}.row{align-items:flex-start;flex-direction:column;gap:8px}dialog{padding:22px}.card h3{font-size:26px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.reader-label{display:block;margin-top:30px}.reader-title{font-size:clamp(35px,4vw,58px);max-width:1050px;line-height:1.1}.back{display:inline-block;margin:12px 0;color:var(--red)}.reading-layout{display:flex;align-items:flex-start;gap:30px;margin:30px 0}.thesis-reader{max-width:780px;min-width:0;font:19px/1.85 Georgia,serif;background:#fffcf7;border:1px solid #f0d9d6;border-radius:22px;padding:36px;flex:1;overflow-wrap:anywhere}.thesis-reader h3{font:700 28px/1.35 Georgia;margin:35px 0 22px;scroll-margin-top:22px}.thesis-reader p{margin:0 0 22px;white-space:pre-line}.chapter-list{flex:0 0 210px;position:sticky;top:20px;max-height:80vh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--pink)}.chapter-list summary{font:bold 19px Georgia;cursor:pointer}.chapter-list button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;padding:12px 0;color:var(--plum);font-size:13px;line-height:1.5}.table-wrap{overflow:auto;margin:25px 0}table{border-collapse:collapse;font:14px/1.6 Arial}td{border:1px solid var(--line);padding:12px;vertical-align:top;min-width:130px}.document-title{font:italic 22px Georgia;max-width:850px}.field{display:grid;gap:10px;margin:25px 0;font-weight:bold}.field input,.field textarea,.field select{padding:15px;border:1px solid #cf91a7;border-radius:13px;background:#fffcf9;color:var(--plum);max-width:100%;width:100%}.field textarea{font:17px/1.7 Georgia;resize:vertical}.field select{max-width:230px}.file-button{cursor:pointer}.shelves .selected{background:var(--plum);color:#fff}#draft-form{max-width:950px}.source-note a{color:var(--red)}@media(max-width:1000px){.reading-layout{display:block}.chapter-list{position:static;max-height:250px;margin-bottom:20px}.thesis-reader{max-width:100%}}@media(max-width:700px){.thesis-reader{padding:22px;font-size:18px}.controls .button,.controls .pill{padding:11px 14px}.reader-title{font-size:38px}}

body{padding-bottom:170px}.audio-room{background:#fbe5ec;border:1px solid #dca6b6;border-radius:24px;padding:28px;margin:25px 0}.audio-room h2{margin-top:8px}.audio-room details{margin-top:22px}.audio-room summary{cursor:pointer;font-weight:700}.audio-chapters{padding-left:24px}.audio-chapters button{display:flex;justify-content:space-between;gap:20px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #ddb3c1;border-radius:0;padding:13px 5px;color:#5b2544}.audio-chapters small{white-space:nowrap}#audio-player[hidden]{display:none}#audio-player{position:fixed;z-index:30;bottom:16px;left:260px;right:24px;background:#fff6ef;border:2px solid #7a284d;border-radius:25px;box-shadow:0 8px 35px #5b254433;padding:17px 23px;display:flex;align-items:center;gap:22px;color:#54243d}.playing-title{display:flex;flex-direction:column;gap:3px;width:28%;min-width:130px}.playing-title a{color:inherit}.playing-title>span:last-child{font-size:12px}.transport{flex:1}.play-buttons{display:flex;justify-content:center;align-items:center;gap:8px}.play-buttons button{padding:8px 10px}.play-buttons button:disabled{opacity:.35;cursor:default}.seek-label{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:10px}.seek-label input{flex:1;min-width:70px;accent-color:#b20730}.seek-label span{white-space:nowrap}.speed-label{font-size:12px;display:flex;flex-direction:column;gap:5px}.speed-label select{padding:7px;border:1px solid #c67f9a;border-radius:10px;background:#fff}.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}@media(max-width:850px){#audio-player{left:12px;right:12px;bottom:8px;gap:10px;padding:12px;flex-wrap:wrap}.playing-title{width:calc(100% - 80px);order:0}.speed-label{order:1;flex:1;align-items:flex-end}.transport{order:2;flex-basis:100%}body{padding-bottom:230px}.audio-room{padding:20px}}

.readalong{margin:28px 0;border:1px solid #dfb7c6;border-radius:22px;padding:22px;background:#fffaf5}.readalong>summary{font-family:Georgia,serif;font-size:23px;cursor:pointer;color:#6b284a}.readalong[open]>summary{margin-bottom:22px}.audio-room{background:linear-gradient(125deg,#f9d4e4,#fff0dd)}.audio-room h2{font-size:clamp(27px,3vw,40px)}
