#kpc-banner,#kpc-dialog,#kpc-reopen,.kpc-embed{box-sizing:border-box;font-family:Arial,"Noto Sans SC",sans-serif;color:#29251f;font-size:14px;line-height:1.65;letter-spacing:0;text-align:left}
#kpc-banner *,#kpc-dialog *,.kpc-embed *{box-sizing:border-box}
#kpc-banner[hidden],#kpc-reopen[hidden],iframe[data-kpc-category][hidden]{display:none!important}
#kpc-banner{position:fixed;z-index:2147483000;left:50%;bottom:24px;transform:translateX(-50%);width:calc(100% - 64px);max-width:1180px;background:#fcfaf6;border:1px solid #e5d7c3;border-radius:16px;padding:23px 28px;box-shadow:0 8px 36px #0003;display:flex;align-items:center;gap:28px}
#kpc-banner .kpc-copy{flex:1;min-width:0}#kpc-banner h2,#kpc-dialog h2{font-family:Georgia,"Noto Serif SC",serif;font-weight:400;font-size:24px;line-height:1.3;color:#29251f;margin:0 0 7px}
#kpc-banner p,#kpc-dialog p{margin:0;color:#615b53;font-size:13px;line-height:1.65}#kpc-banner a,#kpc-dialog a{color:#695234;text-decoration:underline;text-underline-offset:3px}
.kpc-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
#kpc-banner button,#kpc-dialog button,.kpc-embed button{appearance:none;background:#fcfaf6;border:1px solid #a98653;border-radius:8px;color:#32291e;font:500 13px/1.4 Arial,"Noto Sans SC",sans-serif;min-height:44px;padding:11px 16px;cursor:pointer;white-space:normal;box-shadow:none;text-transform:none;letter-spacing:0;margin:0}
#kpc-banner button:hover,#kpc-dialog button:hover,.kpc-embed button:hover{background:#eee4d5;color:#201a13}
#kpc-banner button:focus-visible,#kpc-dialog button:focus-visible,#kpc-reopen:focus-visible,.kpc-embed button:focus-visible{outline:2px solid #8b6938;outline-offset:3px}
#kpc-reopen{position:fixed;z-index:2147482990;left:20px;bottom:18px;border:1px solid #d9c8ac;border-radius:24px;padding:6px 14px;background:#fcfaf6;box-shadow:0 2px 12px #0001;color:#57472f;min-height:44px;cursor:pointer;font-size:12px}
#kpc-dialog{position:fixed;inset:0;width:calc(100% - 32px);max-width:560px;max-height:calc(100dvh - 40px);overflow:auto;margin:auto;border:1px solid #e5d7c3;border-radius:18px;background:#fcfaf6;padding:28px;box-shadow:0 16px 70px #0004;z-index:2147483001}
#kpc-dialog::backdrop{background:#17151188}#kpc-dialog .kpc-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}#kpc-dialog .kpc-top button{border:0;padding:8px;min-width:44px;background:transparent;font-size:22px;line-height:1}#kpc-dialog .kpc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #e4dbce}#kpc-dialog label{display:block;font-weight:600;color:#332d25;font-size:14px}#kpc-dialog .kpc-row p{margin-top:4px;font-size:12px}#kpc-dialog input[type=checkbox]{appearance:auto;width:20px;height:20px;min-width:20px;margin:4px 0;accent-color:#9c7744;cursor:pointer}#kpc-dialog .kpc-always{font-size:12px;color:#725c3d;white-space:nowrap;margin-top:2px}#kpc-dialog .kpc-actions{margin-top:22px}#kpc-dialog .kpc-actions button{flex:1}#kpc-dialog .kpc-note{font-size:12px;margin-top:18px}
.kpc-embed{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:center;text-align:center;background:#f5f0e8;border:1px solid #ddcdb5;border-radius:12px;min-height:180px;padding:24px;width:100%;position:relative}.kpc-embed p{margin:0;max-width:480px;font-size:14px}.kpc-embed button{background:#fcfaf6}
.responsive-bilibili-container > .kpc-embed{position:absolute;inset:0;height:100%;min-height:0;padding:16px;overflow:auto}
@media(max-width:800px){#kpc-banner{width:calc(100% - 24px);bottom:12px;padding:20px;display:block;border-radius:14px}#kpc-banner h2{font-size:22px}#kpc-banner .kpc-actions{margin-top:15px;display:grid;grid-template-columns:1fr 1fr}#kpc-banner .kpc-actions button:last-child{grid-column:1/-1;background:transparent;border-color:#d6c6ae}#kpc-dialog{padding:22px}#kpc-dialog .kpc-actions{display:grid;grid-template-columns:1fr 1fr}#kpc-dialog .kpc-actions button:first-child{grid-column:1/-1}#kpc-reopen{left:12px;bottom:12px}}
/* Compact warm glass, consistent with the site's charcoal and gold palette. */
#kpc-banner{left:auto;right:24px;bottom:24px;transform:none;width:440px;max-width:calc(100% - 32px);display:block;background:rgba(28,26,22,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(211,177,128,.42);border-radius:14px;padding:20px 22px;box-shadow:0 8px 32px #0003;color:#f7f2e9}
#kpc-banner h2{font-size:21px;color:#f7f2e9;margin-bottom:7px}#kpc-banner p{font-size:12px;line-height:1.7;color:#e0d8cc}#kpc-banner a{color:#e4c28e}
#kpc-banner .kpc-actions{display:flex;gap:8px;margin-top:15px;flex-wrap:nowrap}#kpc-banner .kpc-actions button{flex:1;min-width:0;min-height:40px;padding:9px 10px;font-size:12px;color:#f5eddf;background:rgba(255,255,255,.035);border:1px solid #bd9c70;border-radius:7px}#kpc-banner .kpc-actions button:hover{background:rgba(211,177,128,.16)}
#kpc-reopen{position:static;z-index:auto;left:auto;bottom:auto;display:inline-block;font:inherit;font-size:13px;line-height:1.7;min-height:0;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit;text-decoration:none;cursor:pointer;text-align:left}
#kpc-reopen:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){#kpc-banner{right:16px;bottom:16px;width:380px;max-width:calc(100% - 32px);padding:18px 20px}#kpc-banner .kpc-actions{display:flex;margin-top:13px}#kpc-banner .kpc-actions button:last-child{grid-column:auto;border-color:#bd9c70;background:rgba(255,255,255,.035)}#kpc-banner h2{font-size:20px}}
