.tbb-pr-locked-page{box-sizing:border-box;max-width:1100px;margin:24px auto 36px;padding:0 16px;color:var(--ink,#382a22)}
.tbb-pr-locked-page *,.tbb-pr-overlay *{box-sizing:border-box}
.tbb-pr-preview{display:flex;align-items:center;gap:24px;background:var(--card,#fffcf8);border:1px solid #e8ccb4;border-radius:15px;padding:24px;min-height:230px}
.tbb-pr-cover{width:140px;height:198px;border-radius:10px;object-fit:cover;flex:0 0 140px}
.tbb-pr-preview-info{min-width:0;flex:1}
.tbb-pr-eyebrow{display:inline-block;color:#b57544;font-size:11px;font-weight:800;letter-spacing:1px}
.tbb-pr-preview h1{font-size:clamp(21px,3vw,29px);line-height:1.38;margin:9px 0 12px;color:inherit}
.tbb-pr-preview p{font-size:14px;line-height:1.7;color:var(--muted,#806d5f)}
.tbb-pr-preview .tbb-pr-small a{color:#b57446}
.tbb-pr-open-btn{background:#ffe6d0;border:1px solid #d8996a;border-radius:20px;color:#754628;font-size:14px;font-weight:800;padding:12px 20px;cursor:pointer}
.tbb-pr-open-btn:hover{background:#f4c8a6}
.tbb-pr-overlay[hidden],.tbb-pr-feedback[hidden]{display:none!important}
.tbb-pr-overlay{position:fixed;z-index:2147480000;inset:0;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:18px;background:rgba(32,23,19,.68);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.tbb-pr-dialog{position:relative;width:min(100%,490px);max-height:calc(100vh - 36px);overflow:auto;border-radius:21px;background:#fffcf8;border:1px solid #e8ccb4;box-shadow:0 20px 70px rgba(17,11,7,.28);padding:33px 27px 27px;text-align:center;color:#382a22;outline:none}
.tbb-pr-close{position:absolute;top:9px;right:12px;border:0;background:transparent;color:#947e70;font-size:29px;line-height:1;cursor:pointer;padding:7px}
.tbb-pr-close:hover{color:#60371f}
.tbb-pr-crown{display:flex;align-items:center;justify-content:center;width:61px;height:61px;margin:0 auto 12px;border-radius:50%;background:#ffe6d0;font-size:29px}
.tbb-pr-dialog h2{margin:0 8px 12px;color:#382a22;font-size:21px;font-weight:800;line-height:1.35}
.tbb-pr-dialog #tbb-pr-subtitle{margin:0 auto 23px;max-width:405px;color:#806d5f;font-size:13.5px;line-height:1.75}
.tbb-pr-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tbb-pr-btn{min-height:49px;padding:10px 9px;display:flex;align-items:center;justify-content:center;border:1px solid #d8996a;border-radius:13px;cursor:pointer;font-weight:800;font-size:12.7px;line-height:1.35;white-space:normal;transition:background .2s,border-color .2s}
.tbb-pr-btn-member{background:#fff5e8;color:#865333}
.tbb-pr-btn-pay{background:#ffe3c9;color:#7c4e32}
.tbb-pr-btn:hover{background:#f2c4a2}
.tbb-pr-btn:disabled{opacity:.6;cursor:wait}
.tbb-pr-feedback{margin-top:16px;border:1px solid #eac5a7;background:#fff5e8;color:#8b5130;text-align:left;padding:13px 14px;border-radius:12px;font-size:13px;line-height:1.6}
.tbb-pr-feedback a{font-weight:800;color:#a96031;text-decoration:underline}
.tbb-pr-footnote{margin:18px 0 0;color:#9b8272;font-size:11.5px;line-height:1.5}
body.dark .tbb-pr-preview{background:#302721;border-color:#6c5140;color:#f6ece4}
body.dark .tbb-pr-preview p{color:#c6b4a7}
body.dark .tbb-pr-dialog{background:#302721;border-color:#80604c;color:#f6ece4}
body.dark .tbb-pr-dialog h2{color:#f6ece4}
body.dark .tbb-pr-dialog #tbb-pr-subtitle,body.dark .tbb-pr-footnote{color:#c6b4a7}
body.dark .tbb-pr-crown{background:#443126}
body.dark .tbb-pr-btn-member,body.dark .tbb-pr-btn-pay{background:#443126;color:#f0b78b;border-color:#80604c}
body.dark .tbb-pr-btn:hover{background:#674733}
body.dark .tbb-pr-feedback{background:#443126;color:#f0b78b;border-color:#80604c}
body.dark .tbb-pr-feedback a{color:#ffcfaa}
body.dark .tbb-pr-open-btn{background:#443126;color:#f0b78b;border-color:#80604c}
@media(max-width:600px){.tbb-pr-preview{align-items:flex-start;padding:15px;gap:14px}.tbb-pr-cover{width:94px;height:133px;flex-basis:94px}.tbb-pr-preview h1{font-size:19px}.tbb-pr-preview p{font-size:12px}.tbb-pr-open-btn{padding:10px 13px}.tbb-pr-dialog{padding:30px 18px 20px}.tbb-pr-dialog h2{font-size:19px}.tbb-pr-actions{gap:8px}.tbb-pr-btn{font-size:12px;min-height:48px}}
@media(max-width:380px){.tbb-pr-preview{display:block;text-align:center}.tbb-pr-cover{display:block;margin:0 auto 12px}.tbb-pr-btn{font-size:11.5px;padding:9px 5px}}
/* Polished in-popup confirmation replaces native browser confirm(). */
.tbb-pr-choice-panel[hidden],#tbb-pr-choice-panel[hidden],#tbb-pr-confirm-panel[hidden]{display:none!important}
.tbb-pr-confirm-panel{padding:3px 0 5px;text-align:center;animation:tbb-pr-step-fade .19s ease-out}
.tbb-pr-confirm-icon{display:flex;align-items:center;justify-content:center;width:55px;height:55px;border-radius:50%;background:#fff1dd;margin:2px auto 12px;font-size:27px;border:1px solid #f2d2b4}
.tbb-pr-confirm-panel h3{font-size:19px;margin:0 0 10px;color:#704329;font-weight:800}
.tbb-pr-confirm-panel p{color:#7a5d4b;font-size:13.5px;line-height:1.7;margin:0 0 15px}
.tbb-pr-confirm-panel p strong{color:#a86132;font-size:17px}
.tbb-pr-confirm-panel .tbb-pr-confirm-detail{font-size:12px;background:#fff5e8;border:1px solid #e8ccb4;border-radius:9px;padding:10px}
.tbb-pr-btn-pay{background:linear-gradient(135deg,#f6c49f,#f0a46e);color:#5e301a;border-color:#e6a273;box-shadow:0 3px 10px rgba(140,75,32,.12)}
.tbb-pr-btn-member{background:#fff9f2}
.tbb-pr-dialog{background:linear-gradient(170deg,#fffcf8,#fff5e8);border:1px solid #e9c8aa;box-shadow:0 24px 75px rgba(23,13,8,.33)}
.tbb-pr-crown{background:linear-gradient(145deg,#fff1dc,#ffdfba)}
@keyframes tbb-pr-step-fade{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
body.dark .tbb-pr-dialog{background:linear-gradient(165deg,#302721,#241c18)}
body.dark .tbb-pr-confirm-panel h3{color:#f0b78b}
body.dark .tbb-pr-confirm-panel p{color:#c6b4a7}
body.dark .tbb-pr-confirm-panel p strong{color:#f0b78b}
body.dark .tbb-pr-confirm-icon,body.dark .tbb-pr-confirm-panel .tbb-pr-confirm-detail{background:#443126;border-color:#80604c}

.tbb-pr-cover-shell{position:relative;flex:0 0 140px;width:140px;max-width:100%}.tbb-pr-cover-shell img.tbb-pr-cover{width:100%;max-width:100%;height:198px;object-fit:cover;display:block}@media(max-width:600px){.tbb-pr-cover-shell{flex-basis:94px;width:94px}.tbb-pr-cover-shell img.tbb-pr-cover{height:133px}}@media(max-width:380px){.tbb-pr-cover-shell{margin:0 auto 12px}}
