
*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,-apple-system,"Malgun Gothic",sans-serif;color:#341b36;background:radial-gradient(ellipse at 20% 20%,#ffecf4,transparent 48%),#f7f2f8}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:focus-visible{outline:3px solid #ac45a2}main{width:min(100%,530px);margin:auto;min-height:100vh;background:#fff;padding:22px clamp(16px,4vw,28px) 112px;box-shadow:0 0 70px #692b6910}header,.row,.pair,nav,.people,.chips{display:flex;align-items:center}header,.row{justify-content:space-between;gap:10px}header{border-bottom:1px solid #f2e7f0;padding-bottom:15px}.brand{font-size:24px;font-weight:900;letter-spacing:-2px}.brand i{display:inline-block;width:21px;height:20px;border:3px solid #c65cbc;border-radius:3px 9px 3px 6px;transform:rotate(-12deg);margin-right:9px;vertical-align:-1px}.muted,small{color:#795f78;font-size:13px}.preview{color:#794371;background:#f8edf6;border-radius:16px;padding:4px 10px;font-size:13px}h1{font-size:30px;letter-spacing:-1.8px;margin:22px 0 14px}h2{font-size:19px;letter-spacing:-.9px;margin:21px 0 10px}p{margin:7px 0}.people{gap:13px;overflow:auto;padding:3px 0 9px;scrollbar-width:thin}.people button{padding:0;font-size:13px;white-space:nowrap}.avatar{margin:0 auto 4px;border:2px solid white;outline:1.5px solid #df8bcc;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:22px}.hero{border-radius:22px;background:#f7e6f1;position:relative;overflow:hidden;padding:22px 19px;margin-top:14px}.shelf{min-height:143px;display:flex;align-items:center;justify-content:space-between;gap:6px}.cover{flex:none;width:90px;height:127px;position:relative;background:repeating-radial-gradient(ellipse at 120% 68%,transparent 0 7px,#ea92c869 8px 9px,transparent 10px 14px),#491e48;color:#ffcee8;border-left:5px solid #2e152e;box-shadow:5px 8px 0 #d5b1ca;transform:rotate(7deg);border-radius:2px 5px 5px 2px;padding:9px;text-align:left}.cover b{font:italic 68px/.95 Georgia;display:block}.cover small{color:#fff;font-size:12px}.title{font-size:clamp(26px,7vw,35px);letter-spacing:-2px;margin:6px 0}.pill,.chip{font-size:14px;background:#fff9;border-radius:20px;padding:5px 10px}.primary{background:#51204f;color:white;font-weight:750;width:100%;margin-top:14px;border-radius:24px;min-height:46px}.list{border-top:1px solid #eee3ed}.item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;text-align:left;border-bottom:1px solid #f0e8ee}.item b{font-size:15px}.sub{font-size:14px;color:#795f78}.card{background:#faf4f9;padding:15px;border-radius:15px;margin:10px 0}.link{color:#88467d;font-size:14px;min-height:44px}.date{background:#f8e8f3;color:#703a68;border-radius:12px;padding:7px 11px;text-align:center;font-weight:800}.pair{gap:11px}.chips{gap:6px;flex-wrap:wrap}.chip{background:#f8edf7}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,530px);background:#fffefefa;border-top:1px solid #ebdfeb;padding:6px 10px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}nav button{min-width:70px;min-height:49px;font-size:13px;color:#776175}nav span{display:block;font-size:20px;line-height:24px}nav .active{background:#f8e2f4;color:#632457;border-radius:17px;font-weight:750}dialog{width:min(92vw,440px);max-height:84dvh;border:0;padding:21px;border-radius:22px;color:inherit;box-shadow:0 20px 90px #31102d33}dialog::backdrop{background:#2d172c66}dialog h2{margin:0}.close{font-size:20px;min-width:44px;min-height:44px}label{display:block;margin:12px 0}input,select,textarea{display:block;border:1px solid #d9c6d5;border-radius:10px;padding:9px;width:100%;margin-top:5px;background:white}textarea{min-height:90px}.prose{white-space:pre-wrap;overflow-wrap:anywhere}.filter{border-radius:18px;padding:8px 13px;background:#f7f0f6;margin-right:5px}.on{background:#50204d;color:white}a{color:#723768}button:hover{filter:brightness(.97)}@media(max-width:360px){.people{gap:10px}.hero{padding:14px}.cover{width:73px;height:112px}}
.checkrow{display:flex;gap:12px;align-items:center;border-bottom:1px solid #efe4ee;margin:0;padding:12px 2px;cursor:pointer}.checkrow small{display:block}.checkrow input{margin-left:auto;width:23px;height:23px;accent-color:#823776}.thumb{width:34px;height:48px;object-fit:cover;border-radius:3px}.cover .thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.num{font-size:14px;color:#71586c;font-variant-numeric:tabular-nums}.num strong{display:inline-block;min-width:47px;text-align:center;background:#f4e3f0;border-radius:18px;color:#652753}.checkrow:has(:checked){background:#fcf7fb}.booklogo{font-size:24px}.hero{background:linear-gradient(120deg,#f4eaf1,#ede2eb 80%);border:1px solid #e6d9e1}.primary{background:#493047}.brand{color:#452c40}.avatar{outline-color:#cba9bc;overflow:hidden}.avatar img{height:100%;width:100%;object-fit:cover}.item .avatar{width:29px;height:29px;font-size:15px;margin:0}.quote{border-left:2px solid #b18ba0;padding-left:12px;color:#65495c;white-space:pre-wrap}.live{background:#65304a;color:white;border-radius:16px;padding:7px 14px}.paper{background:#f7f0f2;border-radius:4px 15px 15px 15px;padding:14px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.board{display:flex;gap:5px}.board button{flex:1;font-size:14px}.board .on{background:#54384e}.mineCounts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.mineCounts button{border-radius:14px;background:#f6eff5;padding:10px;text-align:left;color:#593450}.mineCounts strong{display:block;font-size:21px}.medals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.medals button{background:#f8edf3;border:1px solid #ead8e5;border-radius:12px;padding:7px 4px;font-size:12px;line-height:1.3;min-height:49px;overflow-wrap:anywhere}.medals span{display:block;font-size:16px}.block{display:block}.journalRow .link{min-height:0;white-space:nowrap}
[hidden]{display:none!important}
progress{width:100%;accent-color:#823776}
.entries{list-style:none;padding:0;margin:0}
.entries li{padding:10px 0;border-bottom:1px solid #f2e7f0}
#notice{min-height:1.5em;overflow-wrap:anywhere}
textarea{width:100%;min-height:8em;overflow-wrap:anywhere}
button:disabled{opacity:.6;cursor:wait}
