:root{--bbrt-bg:#000000;--bbrt-card:#111318;--bbrt-card-2:#1a1d24;--bbrt-text:#efe1e1;--bbrt-accent:#d02d33;--bbrt-accent-dark:#78181a;--bbrt-border:rgba(255,255,255,.08);--bbrt-shadow:0 12px 30px rgba(0,0,0,.35)}
.bbrt-calendar-wrap,.bbrt-streak-card,.bbrt-stat-card,.bbrt-modal-dialog{color:var(--bbrt-text)}
.bbrt-calendar-wrap{background:var(--bbrt-bg);padding:24px;border-radius:28px;box-shadow:var(--bbrt-shadow);width:100%;max-width:none}
.bbrt-calendar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.bbrt-calendar-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.bbrt-calendar-toggle{display:inline-flex;background:var(--bbrt-card-2);border-radius:999px;padding:4px;gap:4px}
.bbrt-toggle-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;color:var(--bbrt-text);text-decoration:none;font-weight:600}
.bbrt-toggle-btn.is-active,.bbrt-toggle-btn:hover{background:var(--bbrt-accent-dark);color:#fff}
.bbrt-calendar-title{margin:0;font-size:clamp(28px,4vw,44px);color:var(--bbrt-text)}
.bbrt-calendar-subtitle{margin:6px 0 0;color:rgba(239,225,225,.72)}
.bbrt-calendar-nav{display:flex;gap:10px}
.bbrt-nav-btn{display:inline-flex;width:44px;height:44px;border-radius:999px;align-items:center;justify-content:center;background:var(--bbrt-card-2);color:var(--bbrt-text);text-decoration:none;font-size:28px}
.bbrt-nav-btn:hover{background:var(--bbrt-accent-dark);color:#fff}
.bbrt-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;width:100%}
.bbrt-calendar-weekdays{margin-bottom:8px}
.bbrt-weekday{padding:10px 8px;color:rgba(239,225,225,.65);font-weight:600;text-align:center}
.bbrt-weekday:first-child{color:var(--bbrt-accent)}
.bbrt-day{min-height:140px;background:var(--bbrt-card);border:1px solid var(--bbrt-border);border-radius:18px;padding:8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;overflow:hidden;position:relative}
.bbrt-day[disabled]{opacity:.45}
.bbrt-day.has-books{cursor:pointer}
.bbrt-day.has-books:hover{border-color:rgba(208,45,51,.4);transform:translateY(-1px)}
.bbrt-day-number{font-size:24px;line-height:1;color:var(--bbrt-text);position:relative;z-index:5}
.bbrt-day-empty .bbrt-day-number{opacity:0}
.bbrt-day-books{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;width:100%;flex:1;min-height:0;position:relative;padding-top:8px}
.bbrt-book-stack{display:block;position:relative;width:100%;flex:1;min-height:0}
.bbrt-stack-book{position:absolute;bottom:0;left:0;width:68%;max-width:112px;aspect-ratio:2/3;border-radius:8px;overflow:visible;box-shadow:0 10px 18px rgba(0,0,0,.35);background:transparent}
.bbrt-stack-book img,.bbrt-book-fallback{width:100%;height:100%;object-fit:contain;border-radius:8px;background:transparent}
.bbrt-book-fallback{display:flex;align-items:center;justify-content:center;font-weight:700;background:#222}
.bbrt-stack-book-1{z-index:3;left:0;bottom:0}
.bbrt-stack-book-2{z-index:2;left:16%;bottom:12px}
.bbrt-stack-book-3{z-index:1;left:30%;bottom:24px}
.bbrt-day-rating{font-size:18px;line-height:1;color:#8ec7ff;text-align:left;letter-spacing:.5px;width:100%;white-space:nowrap;overflow:hidden;text-shadow:0 1px 4px rgba(0,0,0,.5);position:relative;z-index:5}
.bbrt-modal[hidden]{display:none}
.bbrt-modal{position:fixed;inset:0;z-index:99999}
.bbrt-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7)}
.bbrt-modal-dialog{position:relative;background:var(--bbrt-card-2);max-width:740px;margin:8vh auto;padding:24px;border-radius:24px;box-shadow:var(--bbrt-shadow);max-height:84vh;overflow:auto}
.bbrt-modal-close{position:absolute;top:12px;right:12px;border:0;background:transparent;color:var(--bbrt-text);font-size:32px;cursor:pointer}
.bbrt-modal-body{display:grid;gap:14px;margin-top:16px}
.bbrt-modal-item,.bbrt-modal-single{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center;padding:12px;border-radius:16px;background:#12151b;color:var(--bbrt-text);text-decoration:none}
.bbrt-modal-item:hover,.bbrt-modal-single:hover{background:#191d25}
.bbrt-modal-item img,.bbrt-modal-single img,.bbrt-cover-placeholder{width:72px;height:108px;object-fit:cover;border-radius:10px;background:#222}
.bbrt-modal-copy h4,.bbrt-modal-single h4{margin:0 0 6px;font-size:20px}
.bbrt-modal-copy p,.bbrt-modal-single p{margin:6px 0 0;color:rgba(239,225,225,.75)}
.bbrt-stars{letter-spacing:1px;color:#8ec7ff;font-size:1em}
.bbrt-streak-card{display:grid;gap:18px;padding:24px;border-radius:28px;background:var(--bbrt-card-2);box-shadow:var(--bbrt-shadow)}
.bbrt-streak-head{display:flex;align-items:center;gap:16px}
.bbrt-streak-fire{font-size:54px;line-height:1}
.bbrt-streak-title{font-size:clamp(28px,4vw,44px);font-weight:800;line-height:1.05}
.bbrt-streak-days{font-size:clamp(24px,3vw,34px);color:rgba(239,225,225,.8)}
.bbrt-streak-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.bbrt-streak-dot-wrap{text-align:center}
.bbrt-streak-dot{display:inline-flex;align-items:center;justify-content:center;width:58px;height:82px;border-radius:12px;border:2px solid rgba(239,225,225,.2);font-size:28px;line-height:1;color:transparent;background:rgba(0,0,0,.08);overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.bbrt-streak-dot.is-active{border-color:rgba(239,225,225,.32);background:rgba(0,0,0,.1)}
.bbrt-streak-day-label{display:block;margin-top:8px;font-size:16px;color:rgba(239,225,225,.75)}
.bbrt-streak-dot img{width:100%;height:100%;object-fit:cover;display:block}
.bbrt-streak-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:22px;font-weight:700;color:var(--bbrt-text)}
.bbrt-streak-dot-wrap.is-today .bbrt-streak-day-label{color:#2f5f8a;font-weight:700}

.bbrt-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bbrt-stat-card{background:var(--bbrt-card);padding:20px;border-radius:22px;box-shadow:var(--bbrt-shadow)}
.bbrt-stat-value{display:block;font-size:clamp(24px,4vw,40px);font-weight:800;margin-top:10px}
.bbrt-calendar-view-week .bbrt-day{min-height:220px}
.bbrt-calendar-view-week .bbrt-stack-book{width:74%;max-width:none}
.bbrt-calendar-view-week .bbrt-stack-book-2{left:12%;bottom:16px}
.bbrt-calendar-view-week .bbrt-stack-book-3{left:24%;bottom:32px}
@media (max-width:991px){.bbrt-day{min-height:132px}.bbrt-stack-book{width:72%;max-width:none}.bbrt-stack-book-2{left:14%;bottom:10px}.bbrt-stack-book-3{left:26%;bottom:20px}.bbrt-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbrt-calendar-title{font-size:32px}.bbrt-day-number{font-size:20px}.bbrt-calendar-view-week .bbrt-day{min-height:180px}}
@media (max-width:767px){.bbrt-calendar-wrap{padding:16px;border-radius:24px}.bbrt-calendar-header{flex-direction:column}.bbrt-calendar-controls{width:100%;justify-content:space-between}.bbrt-calendar-grid{gap:4px}.bbrt-weekday{font-size:14px;padding:8px 2px}.bbrt-day{min-height:126px;padding:5px;border-radius:14px;gap:4px}.bbrt-day-number{font-size:16px}.bbrt-day-books{gap:4px;padding-top:8px}.bbrt-book-stack{min-height:76px}.bbrt-stack-book{width:82%;max-width:none;border-radius:6px}.bbrt-stack-book img,.bbrt-book-fallback{border-radius:6px}.bbrt-stack-book-2{left:10%;bottom:8px}.bbrt-stack-book-3{left:20%;bottom:16px}.bbrt-day-rating{font-size:16px;letter-spacing:.3px}.bbrt-stats-grid{grid-template-columns:1fr 1fr}.bbrt-modal-dialog{margin:4vh 12px;padding:20px}.bbrt-modal-item,.bbrt-modal-single{grid-template-columns:58px 1fr}.bbrt-modal-item img,.bbrt-modal-single img,.bbrt-cover-placeholder{width:58px;height:86px}.bbrt-streak-card{padding:18px}.bbrt-streak-head{gap:12px}.bbrt-streak-fire{font-size:44px}.bbrt-streak-dot{width:44px;height:62px;font-size:20px;border-width:2px}.bbrt-streak-day-label{font-size:13px}.bbrt-calendar-view-week .bbrt-day{min-height:160px}}
