@font-face{font-family:RinconHand;src:url('./assets/kalam-bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.catalog-search{border:1px solid #dacee7;background:#f4ebfb;border-radius:14px;padding:13px;margin:0 0 20px}.catalog-search summary{cursor:pointer;font-size:13px;font-weight:650;min-height:28px}.catalog-search p,.catalog-search small{font-size:11px;color:#796587;line-height:1.6}.catalog-search p{margin:10px 0}.catalog-query{display:flex;gap:8px;align-items:center}.catalog-query input{min-width:0;margin:0}.catalog-query button{background:#835b9a;color:#fff;border-radius:10px;padding:10px 14px}.catalog-result{display:flex;width:100%;align-items:center;text-align:left;gap:10px;padding:10px 0;border-bottom:1px solid #ddd0e5}.catalog-result img{object-fit:contain;background:#fff9ee;border-radius:5px;flex-shrink:0}.catalog-result>span:first-of-type{flex:1;min-width:0}.catalog-result b{font-size:12px;display:block;overflow-wrap:anywhere}.catalog-result small{display:block;margin-top:4px}.catalog-credit{font-size:11px}.catalog-credit a{text-decoration:underline}.share-link{display:flex;align-items:center;min-height:44px;background:#e4eee1;border:1px solid #bfd1b8;padding:10px 16px;border-radius:12px;color:#315c39;font-size:13px}.clubs-panel{max-width:1050px}.clubs-panel>p{font-size:13px;color:#7a6479}.club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.club-intro{display:grid;grid-template-columns:180px 1fr;grid-column:1/-1;gap:25px;background:#fff0ce;border:1px solid #e9d6aa;border-radius:22px;padding:24px;align-items:center}.club-intro>img{width:100%;height:230px;object-fit:cover;border-radius:15px;transform:rotate(-3deg);box-shadow:4px 5px 0 #e9cba3}.club-intro h3{font-size:32px}.club-intro p{font-size:14px;color:#806875}.club-intro .primary{display:inline-block;font-size:13px}.club-empty{grid-column:1/-1;text-align:center;background:#f5eafa;padding:35px 20px;border-radius:22px;border:1px dashed #d8bee3}.club-empty h3{font-size:30px;margin:15px 0 8px}.club-empty p{max-width:370px;margin:0 auto;color:#8a708c;font-size:13px}.club-card{display:flex;gap:18px;padding:18px;background:#f9e7e1;border:1px solid #e9d1ca;border-radius:20px;text-align:left;align-items:center}.club-card:nth-child(2n){background:#f1e6f8;border-color:#dec9e7}.club-card img{width:70px;height:105px;object-fit:cover;border-radius:8px;flex-shrink:0;box-shadow:3px 3px 0 #94738d33}.club-card>span{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}.club-card b{font:700 27px/1.2 var(--serif);color:#754569}.club-card span span{font-size:13px}.club-card small{font-size:11px;color:#907286}.club-heading{display:flex;gap:22px;align-items:center;margin:15px 0 20px}.club-heading img{object-fit:cover;border-radius:12px;flex-shrink:0;transform:rotate(-3deg)}.club-heading h2{font-size:36px;overflow-wrap:anywhere}.club-heading p{margin:5px 0;font-size:16px}.club-heading small{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#866c81}.club-section{padding:24px;background:#fffdf9;border:1px solid #e7d8dc;border-radius:20px;margin:24px 0}.club-section h3{font-size:30px;margin-bottom:15px}.club-section .muted{font-size:12px;color:#90758a}.club-review{border-bottom:1px solid #eadce5;padding:18px 0}.club-review>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.club-review>div>span{color:#a66a34;white-space:nowrap;letter-spacing:1px}.club-review p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin:12px 0}.club-review summary{cursor:pointer;font-size:13px;color:#8c5484;min-height:44px;display:flex;align-items:center}.club-review small{font-size:11px;color:#aa617a}.club-review .danger{margin-left:15px}.club-write{margin-top:18px;padding:14px;background:#f8eef6;border-radius:14px}.club-write>summary{cursor:pointer;font-weight:650;font-size:13px;min-height:30px}.clubs-panel form label{display:block;margin:15px 0;font-size:13px}.clubs-panel form .checkbox{display:flex}.clubs-panel form p{font-size:12px;line-height:1.6;color:#8b6c83}.club-write form .primary{width:100%}.challenge-times h4{font-size:14px;color:#856277;margin:22px 0 10px}.club-time{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ede1e5;font-size:12px}.club-time>div{flex:1;min-width:0;overflow-wrap:anywhere}.club-time small{display:block;font-size:10px;color:#9a7f90;margin-top:5px}.club-time strong{font-variant-numeric:tabular-nums;padding:8px;background:#e8edf8;border-radius:9px;color:#5b7293}.club-manage{display:flex;justify-content:space-between;gap:20px;margin:25px 0}.live-area{padding:24px;background:#ede5f7;border:1px solid #d8c6e7;border-radius:22px;margin:22px 0}.live-area h3{font-size:30px;margin-bottom:12px}.live-area>p{font-size:13px;color:#82658c}.live-area .timer-face{margin:20px 0 10px}.live-freshness{text-align:center;font-size:11px!important}.live-finished{padding:12px;border-radius:12px;background:#fff9e9;color:#8b6e3e!important}.player-chips{display:flex;gap:8px;flex-wrap:wrap}.player-chips span{padding:7px 12px;border-radius:20px;background:#fff9e8;font-size:12px;color:#856150}.player-chips span:nth-child(2n){background:#ffe0dc;color:#90545f}.player-chips span:nth-child(3n){background:#dcecf6;color:#4b6f86}.live-area [data-club-action]{border:1px solid #c7abd7;padding:10px 16px;border-radius:12px;background:#faf4ff;color:#77518a}.clubs-panel .detail-actions>button:not(.primary){padding:10px 14px;border:1px solid #dac7df;border-radius:12px;background:#fff9fc;font-size:12px}body[data-view=clubs] .stats{display:none}#share-dialog p{font-size:13px;color:#83687c}#share-text{font-size:14px;line-height:1.6}
@media(max-width:620px){.club-grid{grid-template-columns:1fr;gap:14px}.club-intro{grid-template-columns:90px 1fr;gap:18px;padding:20px}.club-intro>img{height:150px}.club-intro h3{font-size:28px}.club-intro p{font-size:12px}.club-intro .primary{font-size:11px}.clubs-panel>.section-heading h2{font-size:28px}.clubs-panel>.section-heading .primary{font-size:11px;padding:10px 12px;white-space:nowrap}.club-heading{gap:16px}.club-heading img{width:70px;height:100px}.club-heading h2{font-size:29px}.club-heading p{font-size:14px}.club-section,.live-area{padding:18px}.club-section h3{font-size:28px}.club-time{gap:8px}.club-time .danger{font-size:10px}.club-manage{gap:12px}.club-write>summary{font-size:12px}.club-manage .danger{font-size:10px}.live-area .timer-face{font-size:40px}.club-review>div{font-size:12px}.club-review>div>span{letter-spacing:0}}
:root{--paper:#fffaf2;--ink:#403047;--muted:#746375;--green:#814563;--line:#e9dcd9;--serif:RinconHand,'Segoe Print',cursive;--coral:#f6b7a7;--lilac:#e9dcf5;--blue:#dcecf5;--yellow:#ffedba}
body{background:var(--paper)}h1,h2,h3{font-weight:700;letter-spacing:0;line-height:1.25;color:#633c62}h1 em{font-style:normal;color:#b65263;font-weight:700}h2{font-size:30px}h3{font-size:24px}.primary{background:#854460;border-radius:14px;font-weight:650;box-shadow:0 3px 0 #68344b;padding:12px 18px}.primary:hover:not(:disabled){background:#70374f}.text-button{color:#814563;font-weight:600}.eyebrow{color:#8b5f77;letter-spacing:1.5px;font-size:10px}
.sidebar{background:#faf0ec;border-color:#ecd8d4}.brand{gap:10px;letter-spacing:0;font-weight:700;font-size:29px;color:#713951}.brand small{font-size:8px;color:#886e79}.sidebar nav{margin-top:42px;gap:11px}.nav-button{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 13px;color:#614e63;border-radius:16px}.nav-button img{width:30px;height:30px;flex-shrink:0}.nav-button.active{background:#eadcf3;color:#633f72}.nav-button:nth-child(2).active{background:#ffe1d5}.nav-button:nth-child(3).active{background:#dcecf6}.nav-button:nth-child(4).active{background:#ffedbd}.nav-button:nth-child(5).active{background:#eadcf3}.sidebar-bottom p{font-weight:700;color:#977384}.sidebar-bottom a{border-color:#e4cecb;color:#7a5c6c}
.topbar{background:#fffaf2;border-color:#eddfd5}.topbar-actions button{color:#743e68;border-color:#dbc9dc;background:#f2e8f6;font-size:12px}.topbar-actions a{background:#fff0ce;color:#715735;border-color:#eeddba}.mobile-brand{font-weight:700;color:#71445e;gap:7px}.mobile-brand img{border-radius:0}.topbar .topbar-label{color:#856c81;letter-spacing:1.5px}
main{padding-top:30px}.welcome{background:#f9e9dd;border:1px solid #ead5ca;border-radius:26px;overflow:hidden;min-height:0;gap:0;box-shadow:0 5px 0 #eddace66}.welcome>div:first-child{width:50%;padding:28px 30px}.welcome h1{font-size:clamp(34px,3.2vw,49px);letter-spacing:-.5px;line-height:1.2;margin-bottom:14px}.welcome .eyebrow{font-size:9px;margin-bottom:14px}.welcome>div>p:last-child{font-size:13px;color:#73566b;line-height:1.7;margin-bottom:0}.welcome-art{display:block;width:50%;height:300px;object-fit:cover;align-self:stretch;object-position:45% center}.save-strip{font-size:10px;padding:15px 2px;color:#796776}.status-dot{background:#b68ebd}.save-strip button{font-size:11px}.onboarding{border:0;background:none;margin:0 0 22px;padding:0;gap:8px;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.onboarding span{padding:9px 13px;border-radius:30px;background:#f9e7e2;font-size:11px;color:#76505e}.onboarding span:nth-child(2){background:#f1e5f8;color:#735885}.onboarding span:nth-child(3){background:#e4eff5;color:#476c7d}.onboarding b{color:inherit}
.discover{margin:10px 0 30px}.discover .section-heading{margin-bottom:15px}.discover h2{font-size:30px}.hand-note{font:700 18px var(--serif);color:#a66d7e;transform:rotate(-5deg)}.discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.discovery-grid button{padding:0;border:1px solid #e8cdc6;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;text-align:left;background:#ffe3d8;box-shadow:0 4px 0 #e3ccc34d;transition:transform .2s}.discovery-grid button:hover{transform:translateY(-3px)}.discovery-grid button:nth-child(2){background:#eee1f5;border-color:#d8c5e0}.discovery-grid button:nth-child(3){background:#e1eef7;border-color:#c9dce8}.discovery-grid button:nth-child(4){background:#ffedc1;border-color:#e8d6aa}.discovery-grid img{width:100%;height:140px;object-fit:cover;object-position:center 50%}.discovery-grid span{padding:12px 12px 13px;display:block}.discovery-grid b{display:block;font:700 21px/1.25 var(--serif);color:#694257}.discovery-grid small{display:block;font-size:10px;color:#73596a;margin-top:3px}
.stats{background:none;border:0;padding:0;gap:12px;margin:25px 0 32px;grid-template-columns:repeat(3,1fr)}.stats>div{position:relative;border:1px solid #e9d4cf;border-radius:17px;background:#fce7e1;padding:14px 18px!important;gap:4px}.stats>div:nth-child(2){background:#e7eff8;border-color:#d0dfec}.stats>div:nth-child(3){background:#f3e9f7;border-color:#e0d1e7}.stats>div>img{position:absolute;top:14px;right:14px}.stats strong{font-size:30px;font-weight:700;line-height:1.25}.stats span{font-size:11px;line-height:1.4;color:#735c70}.stats .stats-note{display:none}.content-grid{gap:26px}.library-count{font-size:11px;color:#856a7e}.filter-tabs button{color:#806b7e}.filter-tabs button.selected{background:#e9ddf3;color:#6a437d}.search-label input{border-color:#dccddc}.book-card{border-radius:18px;border-color:#e8dad3;background:#fffdf8}.book-card:nth-child(4n+2){background:#fbf6ff}.book-card:nth-child(4n+3){background:#f4fafe}.book-card:nth-child(4n+4){background:#fffaf0}.cover-space{border-radius:12px;background:#f1e8e5}.book-card h3{font-size:23px;line-height:1.3}.book-tag{background:#fff8ecf2;color:#725165;font-size:9px}.book-card .author{color:#796479}.quick-session{color:#854563;border-color:#eadbd9;font-size:12px;font-weight:600}.last-played{color:#877383}.book-card .progress-caption{font-size:10px}progress::-webkit-progress-value{background:#b38bc4}progress::-moz-progress-bar{background:#b38bc4}.empty-shelf{background:#fff3e5;border:1px dashed #dec9bd;border-radius:20px;min-height:220px}.empty-icon{color:#b68ec0}.empty-shelf h3{font-size:29px}.empty-shelf p{color:#82677a;font-size:13px}
.timer-panel{border-radius:22px;background:#eee2f6;border:1px solid #d9c4e5;padding:24px}.timer-panel h2{font-size:29px;color:#69437e;margin-top:18px}.timer-panel>p{color:#786283;font-size:13px}.timer-panel .eyebrow{color:#7e5b8c}.timer-panel select{background:#fffafc;border-color:#d7c3de;color:#674570;font-size:14px;border-radius:12px}.timer-panel label{color:#674570;font-size:12px}.timer-face{font-family:var(--sans);font-size:38px;font-weight:650;letter-spacing:-1.5px;color:#6b4381}.timer-panel .timer-hint{color:#81658f;font-size:11px}.timer-footer{border-color:#d9c3e3;color:#926da3;font-weight:700;font-style:normal;font-size:18px}.timer-actions button{color:#724c80;font-size:12px}.timer-start{background:#80569d;box-shadow:0 3px 0 #62417c}.timer-start:hover:not(:disabled){background:#6f458d}.active-timer{background:#80569d;border-radius:16px}.journal-panel{margin-top:14px}.journal-row{border-color:#eadcdd}.journal-date{background:#f4e5ee;color:#8e587a;border-radius:12px;padding:8px 3px}.journal-date strong{font-size:28px;font-weight:700}.journal-body h3{font:700 23px var(--serif);color:#6d4666}.journal-time{background:#e5edf7;color:#527189}.journal-body p{color:#7a6577;font-size:13px}.journal-body a{color:#925473}.page-footer{border-color:#e8dadd;color:#907789}
.assistant-panel{background:#fff8e9;border-color:#eedcb7;border-radius:22px}.assistant-intro{border-color:#ecdfc5}.assistant-intro h2{color:#926a38}.assistant-intro>img{background:#ffecb7;padding:5px}.chat-message.companion{background:#f5e8fb}.chat-message.you{background:#fbe3d8}.chat-form{background:#fff8e9}.chat-suggestions button{border-color:#e4d6b7;background:#fffdf5}.chat-form .primary{background:#996a42;box-shadow:none}.chat-footnote{color:#8a745b}
dialog{background:#fffaf3;border-radius:23px;border-color:#e8d8d7}dialog::backdrop{background:#4d345663}.dialog-heading h2{font-size:30px}dialog input,dialog select,dialog textarea{border-color:#deceda;border-radius:11px;background:#fffefb}dialog label{color:#6b5067}.category-covers button{background:#f6e3e0;border-radius:12px}.category-covers button:nth-child(2){background:#efe1f4}.category-covers button:nth-child(3){background:#e2eef8}.category-covers button:nth-child(4){background:#ffedc4}.category-covers button[aria-pressed=true]{border-color:#9c68a3;background:#ecd9f1}.photo-options .photo-button{border-color:#dcc5d4;background:#f9edf5;color:#7a4b6b;border-radius:12px}.toast{background:#79435f}.entry-details{border-color:#e6d5e0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#7b559e}
body:not([data-view]),body[data-view=home]{--home:1}body[data-view]:not([data-view=home]) .welcome-art{display:none}body[data-view]:not([data-view=home]) .welcome{min-height:0;background:none;border:0;border-radius:0;box-shadow:none}body[data-view]:not([data-view=home]) .welcome>div:first-child{width:100%;padding:0 0 15px}body[data-view]:not([data-view=home]) .welcome h1{font-size:38px}
@media(max-width:1150px){.welcome>div:first-child{padding:23px}.welcome h1{font-size:37px}.welcome-art{height:300px}.discovery-grid{gap:10px}.discovery-grid b{font-size:19px}.discovery-grid span{padding:10px}.discovery-grid img{height:125px}}
@media(max-width:850px) and (min-width:621px){.sidebar>.brand img{width:38px}.nav-button{justify-content:center;padding:10px 4px}.welcome-art{width:45%;height:280px}.welcome>div:first-child{width:55%;padding:20px}.welcome h1{font-size:33px}.discovery-grid b{font-size:17px}.discovery-grid small{font-size:9px}.stats>div>img{width:24px;height:24px}.content-grid{grid-template-columns:minmax(0,1fr) 240px}.stats>div{padding:12px!important}.stats strong{font-size:26px}}
@media(max-width:620px){main{padding:18px 16px 0}.sidebar{background:#fffaf5f5;border-top:1px solid #e8d4df;height:calc(72px + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom)}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:5px 0}.nav-button{font:500 9px var(--sans);line-height:1.3;gap:3px;min-height:57px;padding:5px 2px;border-radius:13px;color:#6d526b}.nav-button img{width:27px;height:27px}.topbar{padding:9px 16px}.topbar .mobile-brand{font:700 25px var(--serif);line-height:1;gap:5px}.mobile-brand img{width:29px;height:29px}.topbar-actions a{max-width:130px;font-size:10px}.topbar-actions button{font-size:10px}.welcome{display:flex;flex-direction:column;min-height:0;border-radius:22px;position:relative}.welcome>div:first-child{width:100%;padding:23px 23px 17px;z-index:auto}.welcome h1{font-size:37px;line-height:1.16;margin:0 0 10px;letter-spacing:0}.welcome .eyebrow{font-size:8px;max-width:none;margin-bottom:12px}.welcome>div>p:last-child{font-size:12px;max-width:none;line-height:1.6}.welcome-art{position:static;width:100%;height:175px;object-position:center 59%;border-radius:0;opacity:1;transform:none}.save-strip{font-size:9px;line-height:1.5;padding:12px 2px}.onboarding{gap:6px;margin:0 0 25px}.onboarding span{font-size:9px;padding:8px 10px}.onboarding b{margin-right:3px}.discover{margin:0 0 25px}.discover h2{font-size:27px}.discover .eyebrow{font-size:8px;margin-bottom:5px}.hand-note{display:none}.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discovery-grid img{height:116px}.discovery-grid span{padding:10px 12px}.discovery-grid b{font-size:22px}.discovery-grid small{font-size:10px;margin-top:0}.stats{gap:8px;margin:20px 0 27px}.stats>div{padding:12px 10px!important;border-radius:15px;gap:4px}.stats>div>img{position:static;width:26px;height:26px;margin-bottom:4px}.stats strong{font-size:28px;line-height:1.1}.stats span{font-size:9px}.content-grid{gap:25px}.section-heading h2{font-size:29px}.section-heading .primary{font-size:12px}.book-card{padding:10px;border-radius:15px}.book-card h3{font-size:22px}.cover-space{height:180px;border-radius:10px;margin-bottom:12px}.quick-session{font-size:11px}.book-card .progress-caption{font-size:9px}.book-card .author{font-size:11px}.last-played{font-size:10px}.filter-tabs button{font-size:12px;padding:8px 10px}.search-label{width:118px}.timer-panel{padding:24px;border-radius:22px}.timer-panel h2{font-size:32px}.timer-face{font-size:46px}.timer-panel>p{font-size:13px}.timer-panel .timer-hint{font-size:12px}.timer-footer{font-size:20px}.timer-actions button{font-size:13px}.journal-panel .section-heading h2{font-size:27px}.journal-body h3{font-size:23px}.journal-date{width:40px}.journal-time{font-size:10px}dialog{border-radius:24px 24px 0 0}.workspace{padding-bottom:calc(84px + env(safe-area-inset-bottom))}body[data-view]:not([data-view=home]) .welcome h1{font-size:35px}.active-timer{bottom:calc(82px + env(safe-area-inset-bottom))}.toast{bottom:calc(90px + env(safe-area-inset-bottom))}.has-timer .toast{bottom:calc(146px + env(safe-area-inset-bottom))}.page-footer{font-size:10px}}
@media(max-width:360px){.topbar .mobile-brand{font-size:22px}.mobile-brand img{width:26px;height:26px}.topbar-actions a{font-size:9px;padding:8px}.topbar-actions button{font-size:9px;padding:8px}.welcome h1{font-size:33px}.welcome>div:first-child{padding:20px}.discovery-grid b{font-size:20px}.cover-space{height:157px}.book-card h3{font-size:20px}.nav-button{font-size:8px}.onboarding span{font-size:8px;padding:7px 9px}.search-label{width:95px}.filter-tabs button{padding:8px}.section-heading h2{font-size:27px}}
