/* bookcam.dad-look.com - a livestream of the only copy */
body { margin: 0; background: #0e0e10; }
a { color: #ec6e6a; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #6e9cf4; outline-offset: 2px; }
.bc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

.bc-page { box-sizing: border-box; min-height: 100vh; max-width: 1400px; margin: 0 auto; color: #efeff1; font-family: Helvetica, Arial, sans-serif; padding: 0 20px 56px; display: flex; flex-direction: column; gap: 20px; }

/* Header */
.bc-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #26262c; }
.bc-logo { display: flex; align-items: center; gap: 8px; color: #efeff1; font-size: 22px; font-weight: 800; text-decoration: none; }
.bc-logo svg { width: 34px; height: 34px; }
.bc-header-live { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #adadb8; }
.bc-dot { width: 9px; height: 9px; border-radius: 50%; background: #eb0400; }
.bc-shared { margin: 0; background: #18181b; border: 1px solid #26262c; border-radius: 10px; padding: 12px 16px; font-size: 15px; }

/* Player and chat */
.bc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.bc-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bc-player { border-radius: 10px; overflow: hidden; background: #000000; }
.bc-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.bc-frame { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: center 62%; }
.bc-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.12; background-image: repeating-radial-gradient(circle at 17% 32%, #ffffff 0 1px, transparent 1px 3px), repeating-radial-gradient(circle at 73% 61%, #ffffff 0 1px, transparent 1px 4px); mix-blend-mode: overlay; }
.bc-dark { position: absolute; inset: 0; background: #000000; opacity: 0; pointer-events: none; }
.bc-cat { position: absolute; bottom: 6%; left: -30%; width: 26%; opacity: 0; pointer-events: none; }
.bc-overlay-top { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; align-items: center; }
.bc-live { background: #eb0400; color: #ffffff; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 4px; }
.bc-viewers { display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, 0.6); color: #ffffff; font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.bc-viewers svg { width: 14px; height: 14px; color: #eb0400; }
.bc-overlay-bottom { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; font-family: Menlo, Consolas, monospace; font-size: 13px; color: #ffffff; text-shadow: 0 1px 2px #000000; }
.bc-rec { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.bc-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #eb0400; }
.bc-timestamp { white-space: pre; }
.bc-alert { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); max-width: 80%; background: rgba(14, 14, 16, 0.88); border: 2px solid #ec6e6a; color: #ffffff; font-weight: 800; font-size: 16px; text-align: center; padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; }
.bc-alert.is-shown { animation: bc-alert 4.5s ease both; }

/* Below the player */
.bc-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.bc-streamer { display: flex; gap: 12px; min-width: 0; flex: 1 1 400px; }
.bc-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #eb0400; flex: 0 0 auto; }
.bc-streamer-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bc-streamer h1 { margin: 0; font-size: 18px; line-height: 1.3; }
.bc-streamer-name { margin: 0; font-size: 15px; font-weight: 700; color: #ec6e6a; }
.bc-category { margin-left: 8px; color: #adadb8; font-weight: 400; }
.bc-tags { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.bc-tags li { font-size: 12px; font-weight: 700; background: #26262c; color: #dedee3; padding: 3px 10px; border-radius: 999px; }
.bc-info-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.bc-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 6px; background: #ec6e6a; color: #0e0e10; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.bc-button:hover { background: #f38884; color: #0e0e10; }
.bc-button-ghost { background: #26262c; color: #efeff1; }
.bc-button-ghost:hover { background: #35353b; color: #efeff1; }
.bc-button-ghost.is-following { background: #efeff1; color: #0e0e10; }
.bc-button-big { width: 100%; min-height: 54px; font-size: 16px; }
.bc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bc-stats div { background: #18181b; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.bc-stat-value { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bc-stat-label { font-size: 12px; color: #adadb8; }
.bc-clip { display: flex; flex-direction: column; gap: 6px; }
.bc-status { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 700; color: #9fd59a; text-align: center; }

/* Chat */
.bc-chat { background: #18181b; border: 1px solid #26262c; border-radius: 10px; display: flex; flex-direction: column; height: min(78vh, 720px); position: sticky; top: 12px; }
.bc-chat-head { padding: 12px 14px; border-bottom: 1px solid #26262c; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #adadb8; text-align: center; }
.bc-messages { flex: 1 1 auto; margin: 0; padding: 10px 14px; list-style: none; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.bc-author { font-weight: 800; }
.bc-message.is-donation { background: rgba(236, 110, 106, 0.16); border-left: 3px solid #ec6e6a; padding: 6px 8px; border-radius: 4px; }
.bc-message.is-bot { color: #f5c6c4; }
.bc-message.is-you { background: rgba(255, 255, 255, 0.06); padding: 4px 6px; border-radius: 4px; }
.bc-chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #26262c; }
.bc-chat-form input { flex: 1 1 auto; min-width: 0; background: #0e0e10; color: #efeff1; border: 1px solid #3a3a40; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 15px; }

/* Call to action */
.bc-cta { background: #ec6e6a; color: #0e0e10; border-radius: 16px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.bc-cta h2 { margin: 0; font-size: 32px; line-height: 1.1; }
.bc-cta p { margin: 0; font-size: 17px; font-weight: 700; max-width: 560px; }
.bc-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 600px; min-height: 76px; padding: 18px 24px; border-radius: 10px; background: #0e0e10; color: #ffffff; font-size: 22px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.bc-cta-button:hover { background: #000000; color: #ffffff; }
.bc-cta-button:focus-visible { outline-color: #0e0e10; outline-offset: 4px; }
.bc-cta-arrow { display: inline-block; }
.bc-page .more { color: #efeff1; }
.bc-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #adadb8; }

@media (max-width: 960px) {
	.bc-layout { grid-template-columns: 1fr; }
	.bc-chat { position: static; height: 420px; }
	.bc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.bc-page { padding: 0 12px 48px; gap: 16px; }
	.bc-player { margin: 0 -12px; border-radius: 0; }
	.bc-streamer h1 { font-size: 16px; }
	.bc-overlay-bottom { font-size: 11px; }
	.bc-cta h2 { font-size: 26px; }
	.bc-cta-button { font-size: 18px; min-height: 66px; }
}

/* Animations - only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.bc-frame { animation: bc-drift 40s ease-in-out infinite alternate; }
	.bc-grain { animation: bc-grain 0.6s steps(3) infinite; }
	.bc-live, .bc-dot, .bc-rec-dot { animation: bc-pulse 1.6s ease-in-out infinite; }
	.bc-video.is-cat .bc-cat { animation: bc-cat-walk 7s linear both; }
	.bc-video.is-lights .bc-dark { animation: bc-lights 3.2s steps(1) both; }
	.bc-video.is-zoom .bc-frame { animation: bc-zoom 5s ease-in-out both; }
	.bc-message { animation: bc-in 0.25s ease both; }
	.bc-message.is-donation { animation: bc-in 0.25s ease both, bc-flash 1.2s ease 0.2s; }
	.bc-button { transition: transform 0.12s ease, background-color 0.2s ease; }
	.bc-button:active { transform: scale(0.96); }
	.bc-cta-button { animation: bc-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.bc-cta-button:hover { transform: scale(1.02); }
	.bc-cta-arrow { animation: bc-nudge 1.1s ease-in-out infinite; }
}

@keyframes bc-drift { from { transform: translate(-1%, 0.5%) scale(1); } to { transform: translate(1%, -0.5%) scale(1.03); } }
@keyframes bc-grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-2%, 1%); } 66% { transform: translate(1%, -2%); } 100% { transform: translate(0, 0); } }
@keyframes bc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes bc-cat-walk { 0% { left: -30%; opacity: 1; transform: translateY(0); } 25% { transform: translateY(-3px); } 50% { transform: translateY(0); } 75% { transform: translateY(-3px); } 100% { left: 110%; opacity: 1; transform: translateY(0); } }
@keyframes bc-lights { 0% { opacity: 0.85; } 15% { opacity: 0.2; } 25% { opacity: 0.9; } 75% { opacity: 0.85; } 85% { opacity: 0.3; } 100% { opacity: 0; } }
@keyframes bc-zoom { 0% { transform: scale(1); } 40%, 60% { transform: scale(1.35) translate(-6%, -4%); } 100% { transform: scale(1); } }
@keyframes bc-alert { 0% { opacity: 0; transform: translate(-50%, -10px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
@keyframes bc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bc-flash { 0%, 100% { background-color: rgba(236, 110, 106, 0.16); } 30% { background-color: rgba(236, 110, 106, 0.45); } }
@keyframes bc-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 14, 16, 0.45); } 50% { box-shadow: 0 0 0 12px rgba(14, 14, 16, 0); } }
@keyframes bc-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
