/* Bu Benim: colours come from the page (currentColor), only the gold accent is its own */
.bb-card, .bb-page, .bb-strip, .bb-bar, .bb-auth, .bb-toast { --bb-gold: var(--tt-accent, #c8a04a); --bb-on: var(--tt-on-accent, #111); --bb-line: var(--tt-border, color-mix(in srgb, currentColor 16%, transparent)); --bb-soft: var(--tt-surface, color-mix(in srgb, currentColor 6%, transparent)); }
.bb-card { margin: 14px 0 18px; padding: 16px; border: 1px solid var(--bb-gold); border-radius: 16px; background: var(--bb-soft); color: inherit; font-size: 15px; line-height: 1.4; }
.bb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.bb-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bb-gold); color: #111; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bb-time { font-size: 13px; opacity: .85; }
.bb-time b { font-variant-numeric: tabular-nums; font-size: 15px; }
.bb-price small { display: block; opacity: .7; font-size: 12px; }
.bb-price strong { display: block; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bb-meta { display: block; margin-top: 2px; font-size: 13px; opacity: .8; }
.bb-snipe { margin: 8px 0 0; font-size: 12px; color: var(--bb-gold); }
.bb-status { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.bb-status.is-lead { background: rgba(60, 170, 90, .16); }
.bb-status.is-out { background: rgba(220, 70, 60, .16); }
.bb-bids { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; }
.bb-bids li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--bb-line); }
.bb-bids li.is-me .bb-who { color: var(--bb-gold); font-weight: 700; }
.bb-bids .bb-who { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-bids b { font-variant-numeric: tabular-nums; }
.bb-bids em { opacity: .55; font-style: normal; font-size: 12px; }
.bb-bids q { flex: 1 0 100%; opacity: .8; font-style: italic; quotes: "\201C" "\201D"; }
.bb-act { margin-top: 14px; }
.bb-sub { margin: 0 0 10px; opacity: .9; }
.bb-sub.is-err, .bb-msg.is-err { color: #d6453b; }
.bb-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; }
.bb-msg.is-ok { color: #2e9a52; }
.bb-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.bb-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.bb-step { flex: 1 1 70px; padding: 9px 6px; border: 1px solid var(--bb-line); border-radius: 12px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.bb-step.is-on { border-color: var(--bb-gold); background: color-mix(in srgb, var(--bb-gold) 22%, transparent); }
.bb-amount, .bb-note, .bb-p-alias { flex: 1 1 120px; min-width: 0; padding: 11px 14px; border: 1px solid var(--bb-line); border-radius: 12px; background: transparent; color: inherit; font: inherit; box-sizing: border-box; }
.bb-note, .bb-p-alias { width: 100%; margin-top: 8px; font-size: 14px; }
.bb-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--bb-line); border-radius: 999px; background: transparent; color: inherit !important; font: inherit; font-weight: 600; text-decoration: none !important; cursor: pointer; box-shadow: none; }
.bb-btn-main { background: var(--bb-gold); border-color: var(--bb-gold); color: var(--bb-on, #111) !important; }
.bb-btn[disabled] { opacity: .55; cursor: default; }
.bb-link { display: block; margin: 10px auto 0; padding: 6px; border: 0; background: none; color: inherit; opacity: .7; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.bb-result { margin: 0; font-weight: 600; }
.bb-offer p { margin: 0 0 10px; font-weight: 600; }
.bb-offer .bb-btn { width: 100%; box-sizing: border-box; }
.bb-more { display: inline-block; margin-top: 10px; font-size: 12px; opacity: .7; color: inherit; text-decoration: underline; }
.bb-rules { margin: 0 0 10px; font-size: 13px; }
.bb-rules div { max-height: 180px; overflow: auto; padding: 8px 0; opacity: .85; }
.bb-check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: 14px; }
.bb-check input { margin-top: 3px; }
.bb-prefs { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--bb-line); }
.bb-prefs .bb-btn { margin-top: 10px; }
body.bb-live #button-cart { display: none !important; }
body.bb-hide #product, body.bb-hide .tt-buybar { display: none !important; }
.bb-banner { display: flex; align-items: center; gap: 8px; margin: -4px -4px 12px; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--bb-gold) 22%, transparent); font-size: 13px; font-weight: 700; }
.bb-banner i { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #e0483c; box-shadow: 0 0 0 0 rgba(224, 72, 60, .6); animation: bb-pulse 1.6s infinite; }
.bb-banner.is-over i { background: #888; animation: none; }
@keyframes bb-pulse { 70% { box-shadow: 0 0 0 8px rgba(224, 72, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 72, 60, 0); } }
.bb-terms { margin: 10px 0 0; font-size: 12px; opacity: .75; }
.bb-terms a { color: inherit; text-decoration: underline; }
.bb-rules-box { margin-top: 8px; padding: 10px 12px; max-height: 200px; overflow: auto; border: 1px solid var(--bb-line); border-radius: 10px; font-size: 12px; line-height: 1.5; }
.bb-rules-box[hidden] { display: none; }

/* home strip: a small dismissible pill under the header */
.bb-strip { position: relative; margin: 8px 12px; color: inherit; transition: opacity .6s ease; }
.bb-strip > a { display: flex; align-items: center; gap: 10px; padding: 9px 44px 9px 14px; border: 1px solid var(--bb-gold); border-radius: 999px; background: rgba(20, 20, 20, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff !important; text-decoration: none !important; font-size: 13px; line-height: 1.2; }
.bb-strip b { padding: 2px 9px; border-radius: 999px; background: var(--bb-gold); color: #111; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.bb-strip span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-strip em { font-style: normal; font-variant-numeric: tabular-nums; opacity: .85; white-space: nowrap; }
.bb-strip-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 20px; line-height: 1; opacity: .7; cursor: pointer; box-shadow: none; }
.bb-strip[hidden] { display: none; }
.bb-strip.is-fade { opacity: 0; pointer-events: none; }
.tt-has-feed .bb-strip { position: fixed; top: calc(var(--tt-top-h, 56px) + 8px); left: 12px; right: 12px; margin: 0; z-index: calc(var(--z-top, 50) - 1); }
@media (min-width: 992px) { .tt-has-rail.tt-has-feed .bb-strip { left: calc(var(--tt-rail-w, 0px) + 16px); right: 16px; max-width: 520px; } }

/* list page */
.bb-page h1 { margin: 10px 0 4px; }
.bb-page h2 { margin: 28px 0 12px; font-size: 20px; }
.bb-lead { margin: 0 0 18px; opacity: .85; max-width: 640px; }
.bb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bb-item { display: block; border: 1px solid var(--bb-line); border-radius: 16px; overflow: hidden; color: inherit !important; text-decoration: none !important; background: var(--bb-soft); }
.bb-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bb-item div { padding: 10px 12px 12px; }
.bb-item h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.bb-item strong { display: block; font-size: 18px; }
.bb-item small { display: block; margin-top: 2px; opacity: .75; font-variant-numeric: tabular-nums; }
.bb-box { padding: 14px 16px; border: 1px solid var(--bb-line); border-radius: 14px; margin-bottom: 14px; background: var(--bb-soft); }
.bb-box.is-gold { border-color: var(--bb-gold); }
.bb-box form label.bb-check { margin: 6px 0; }
.bb-rulestext { white-space: pre-line; font-size: 14px; opacity: .9; }
@media (max-width: 480px) { .bb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .bb-price strong { font-size: 26px; } }

.bb-msg:empty { display: none; }
.bb-check span, .bb-check { font-weight: 400; }
.bb-box .bb-check { cursor: pointer; }
.bb-item h3 { overflow-wrap: anywhere; }
.bb-banner.is-soon i { background: var(--bb-gold); animation: none; }

/* rules: a short text with Daha fazla / Daha az (the toggle stays as long as the text is longer than the box) */
.bb-box-title { margin: 0 0 8px !important; font-size: 16px !important; }
.bb-page #content { padding-bottom: 28px; }
.bb-page .bb-lead { font-size: 15px; line-height: 1.5; }
.bb-page .bb-box { margin: 0 0 18px; }
.bb-page h2 { margin: 26px 0 12px; }
.bb-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); align-items: stretch; }
.bb-item { display: flex; flex-direction: column; }
.bb-item div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; }
.bb-item small { margin-top: auto; padding-top: 4px; }
@media (min-width: 1200px) { .bb-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; } }
@media (max-width: 480px) { .bb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bb-item h3 { font-size: 13px; } }

/* notification nudge: one quiet line, only where the theme can actually switch notifications on */
.bb-pushline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--bb-line); border-radius: 12px; font-size: 13px; }
.bb-pushline[hidden] { display: none; }
.bb-pushline .bb-btn { flex: none; white-space: nowrap; }
.bb-prefs .bb-pushline { margin: 10px 0; }

/* ---------- v1.6 list page: hero, cards with badges, feed ---------- */
.bb-flash { margin: 6px 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 14px; border: 1px solid var(--bb-line); }
.bb-flash.is-ok { border-color: #3d9a63; background: color-mix(in srgb, #3d9a63 12%, transparent); }
.bb-flash.is-err { border-color: #d6453b; background: color-mix(in srgb, #d6453b 12%, transparent); }

.bb-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: stretch; margin: 6px 0 20px; }
.bb-hero-main h1 { margin: 6px 0 6px; }
.bb-hero-main .bb-lead { margin-bottom: 14px; }
.bb-hero-main .bb-pushline { margin: 0 0 12px; border-color: var(--bb-gold); }
.bb-how { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; }
.bb-how li { display: flex; align-items: center; gap: 10px; }
.bb-how i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bb-gold); color: #111; font-style: normal; font-weight: 800; font-size: 12px; }
.bb-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.bb-next { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; border: 1px solid var(--bb-gold); border-radius: 20px; color: inherit !important; text-decoration: none !important; background: linear-gradient(160deg, color-mix(in srgb, var(--bb-gold) 20%, transparent), var(--bb-soft)); text-align: center; }
.bb-next-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-gold); }
.bb-next-clock { font-size: clamp(30px, 6vw, 44px); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.bb-next-prod { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.bb-next-prod img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.bb-next-prod b { font-size: 14px; font-weight: 600; text-align: left; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bb-next small { opacity: .75; }
.bb-next.is-live .bb-next-clock { color: #e8833a; }

.bb-item { position: relative; transition: transform .15s ease, border-color .15s ease; }
.bb-item:hover { transform: translateY(-2px); border-color: var(--bb-gold); }
.bb-item-link { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit !important; text-decoration: none !important; }
.bb-thumb { position: relative; display: block; }
.bb-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bb-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 10px; flex: 1 1 auto; }
.bb-body h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.bb-body strong { font-size: 20px; line-height: 1.1; }
.bb-body small { opacity: .75; }
.bb-clock { margin-top: auto; padding-top: 6px; font-size: 13px; font-variant-numeric: tabular-nums; opacity: .9; }
.bb-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(20, 20, 20, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bb-badge.is-hot { background: #e8833a; }
.bb-badge.is-urgent { background: #d6453b; animation: bb-pulse 1.4s ease-in-out infinite; }
.bb-badge.is-soon { background: var(--bb-gold); color: #111; }
.bb-badge.is-done { background: #3d9a63; }
@keyframes bb-pulse { 50% { opacity: .72; } }
@media (prefers-reduced-motion: reduce) { .bb-badge.is-urgent { animation: none; } .bb-item { transition: none; } }
.bb-item.is-urgent { border-color: #d6453b; }
.bb-item.is-urgent .bb-clock { color: #d6453b; font-weight: 700; }
.bb-item-cta { display: block; margin: 0 12px 12px; padding: 10px 12px; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 800; text-decoration: none !important; background: var(--bb-gold); color: #111 !important; }
.bb-item-cta.is-remind { background: transparent; border: 1px solid var(--bb-gold); color: inherit !important; }
.bb-item-cta.is-on { background: transparent; border: 1px solid #3d9a63; color: #3d9a63 !important; }
.bb-item.is-done { opacity: .9; }
.bb-item.is-done .bb-body { padding-bottom: 14px; }
.bb-empty { padding: 16px; border: 1px dashed var(--bb-line); border-radius: 14px; opacity: .85; }

.bb-feed { margin: 0 0 8px; padding: 0; list-style: none; border: 1px solid var(--bb-line); border-radius: 14px; overflow: hidden; }
.bb-feed li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; }
.bb-feed li + li { border-top: 1px solid var(--bb-line); }
.bb-feed i { color: var(--bb-gold); flex: none; }
.bb-feed span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.bb-feed small { flex: none; opacity: .65; white-space: nowrap; }

.bb-remind { display: inline-block; margin-top: 10px; text-decoration: none !important; }

@media (max-width: 767px) {
  .bb-hero { grid-template-columns: 1fr; }
  .bb-next { order: -1; padding: 14px; }
  .bb-hero-main h1 { font-size: 26px; }
  .bb-body strong { font-size: 18px; }
  .bb-feed li { padding: 9px 12px; font-size: 13px; }
}

/* "Benim durumum": checkboxes stacked, nickname and save button on one tidy row */
.bb-me .bb-check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; line-height: 1.35; }
.bb-me .bb-check input { flex: none; margin: 3px 0 0; }
.bb-me-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 14px; }
.bb-me-row .bb-p-alias { flex: 1 1 200px; max-width: 320px; min-width: 0; height: 44px; margin: 0; box-sizing: border-box; }
.bb-me-row .bb-btn { flex: 0 0 auto; height: 44px; margin: 0; padding: 0 22px; box-sizing: border-box; }
.bb-me .bb-msg { margin: 10px 0 0; }
@media (max-width: 480px) { .bb-me-row .bb-p-alias { max-width: none; } .bb-me-row .bb-btn { flex: 1 1 100%; } }

/* ---------- auth modal (sign in / sign up without leaving the page) ---------- */
.bb-auth { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bb-auth[hidden] { display: none; }
.bb-auth-card { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; padding: 24px 20px 20px; border: 1px solid var(--bb-gold); border-radius: 22px 22px 0 0; background: var(--tt-bg, #121212); color: var(--tt-text, #f2f2f2); box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); animation: bb-rise .22s ease-out; }
@keyframes bb-rise { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 560px) { .bb-auth { align-items: center; padding: 20px; } .bb-auth-card { border-radius: 22px; } }
.bb-auth-x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .7; box-shadow: none; }
.bb-auth h3 { margin: 0 34px 4px 0; font-size: 22px; }
.bb-auth-sub { margin: 0 0 16px; font-size: 14px; opacity: .8; }
.bb-auth form { display: grid; gap: 10px; }
.bb-auth label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.bb-auth input[type=text], .bb-auth input[type=email], .bb-auth input[type=password], .bb-auth input[type=tel] { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--bb-line); border-radius: 12px; background: var(--bb-soft); color: inherit; font-size: 16px; box-sizing: border-box; }
.bb-auth input:focus { outline: 2px solid var(--bb-gold); outline-offset: 1px; }
.bb-auth .bb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-auth .bb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bb-auth .bb-agree { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.bb-auth .bb-agree input { margin-top: 3px; flex: none; }
.bb-auth .bb-go { height: 48px; border: 0; border-radius: 14px; background: var(--bb-gold); color: #111; font-size: 16px; font-weight: 800; cursor: pointer; }
.bb-auth .bb-go[disabled] { opacity: .6; cursor: wait; }
.bb-auth-msg { min-height: 0; margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.bb-auth-msg:empty { display: none; }
.bb-auth-msg.is-err { background: color-mix(in srgb, #d6453b 16%, transparent); border: 1px solid #d6453b; }
.bb-auth-msg.is-ok { background: color-mix(in srgb, #3d9a63 16%, transparent); border: 1px solid #3d9a63; }
.bb-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; margin-top: 14px; font-size: 13px; }
.bb-auth-links a, .bb-auth-links button { padding: 0; border: 0; background: none; color: var(--bb-gold); font: inherit; cursor: pointer; text-decoration: underline; box-shadow: none; }
.bb-toast { position: fixed; left: 50%; bottom: 22px; z-index: 100001; max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 14px; background: #1c1c1c; border: 1px solid var(--bb-gold); color: #fff; font-size: 14px; transform: translateX(-50%); box-shadow: 0 8px 30px rgba(0, 0, 0, .45); animation: bb-rise .22s ease-out; }
.bb-toast.is-err { border-color: #d6453b; }

/* ---------- the winner's page: gold gates, a stage, a certificate ---------- */
.bw-page { --bw-gold: #d9b45b; --bw-gold-hi: #f3dfa2; --bw-gold-lo: #8f6a1f; --bw-ink: #f6ecd2; }
.bw-stage { position: relative; overflow: hidden; margin: 8px 0 24px; border: 1px solid var(--bw-gold-lo); border-radius: 26px; color: var(--bw-ink); text-align: center; background: radial-gradient(120% 70% at 50% 0%, #3a2a0c 0%, #1a1207 45%, #0b0805 100%); box-shadow: inset 0 0 0 6px rgba(217, 180, 91, .08), 0 20px 60px rgba(0, 0, 0, .45); }
.bw-stage::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 180, 91, .35); border-radius: 18px; pointer-events: none; }
.bw-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; padding: 34px 22px 30px; opacity: 0; transform: translateY(10px); animation: bw-in .9s ease-out 1.5s forwards; }
.bw-stage.is-quiet .bw-inner, .bw-stage.is-open .bw-inner { animation-delay: .1s; }
@keyframes bw-in { to { opacity: 1; transform: none; } }

.bw-gate { position: absolute; left: 0; right: 0; top: 0; height: min(100%, 100vh); height: min(100%, 100svh); z-index: 5; display: flex; pointer-events: none; }
.bw-door { position: relative; flex: 1 1 50%; display: block; background:
  linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .35)),
  repeating-linear-gradient(45deg, rgba(255, 238, 190, .10) 0 2px, transparent 2px 14px),
  repeating-linear-gradient(-45deg, rgba(255, 238, 190, .10) 0 2px, transparent 2px 14px),
  linear-gradient(135deg, var(--bw-gold-hi), var(--bw-gold) 40%, var(--bw-gold-lo)); animation-duration: 1.5s; animation-delay: .5s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); animation-fill-mode: forwards; }
.bw-door b { position: absolute; inset: 16px; border: 2px solid rgba(60, 36, 4, .55); border-radius: 10px; box-shadow: inset 0 0 0 6px rgba(255, 240, 200, .14), inset 0 0 40px rgba(60, 36, 4, .35); }
.bw-door b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); border: 2px solid rgba(60, 36, 4, .5); box-shadow: inset 0 0 0 8px rgba(255, 240, 200, .12); }
.bw-door.is-l { animation-name: bw-door-l; transform-origin: left; border-right: 3px solid var(--bw-gold-lo); }
.bw-door.is-r { animation-name: bw-door-r; transform-origin: right; border-left: 3px solid var(--bw-gold-lo); }
@keyframes bw-door-l { to { transform: translateX(-102%); } }
@keyframes bw-door-r { to { transform: translateX(102%); } }
.bw-seal { position: absolute; left: 50%; top: 50%; z-index: 6; display: grid; place-items: center; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--bw-gold-hi), var(--bw-gold) 55%, var(--bw-gold-lo)); color: #3a2603; font-size: 30px; box-shadow: 0 0 0 5px rgba(60, 36, 4, .4), 0 0 40px rgba(243, 223, 162, .5); animation: bw-seal 1.5s ease-in .35s forwards; }
@keyframes bw-seal { 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.bw-gate { animation: bw-gone 0s linear 2.1s forwards; }
@keyframes bw-gone { to { visibility: hidden; } }
.bw-stage.is-quiet .bw-gate { display: none; }

.bw-spark { position: absolute; left: 50%; top: 30%; z-index: 2; width: 2px; height: 2px; border-radius: 50%; pointer-events: none; box-shadow: -120px 40px 0 1px rgba(243, 223, 162, .7), 140px -10px 0 1px rgba(243, 223, 162, .6), -60px 160px 0 1px rgba(243, 223, 162, .5), 90px 220px 0 2px rgba(243, 223, 162, .45), -200px 280px 0 1px rgba(243, 223, 162, .5), 210px 330px 0 1px rgba(243, 223, 162, .55); animation: bw-twinkle 3.2s ease-in-out infinite; }
.bw-spark.is-2 { left: 40%; top: 55%; animation-delay: 1.6s; }
@keyframes bw-twinkle { 50% { opacity: .25; transform: scale(1.5); } }

.bw-crest { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--bw-gold); }
.bw-crest i { flex: 1 1 40px; max-width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--bw-gold)); }
.bw-crest i:last-child { transform: scaleX(-1); }
.bw-h1 { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 6.4vw, 44px); line-height: 1.12; font-weight: 700; color: var(--bw-gold-hi); text-shadow: 0 2px 24px rgba(217, 180, 91, .35); }
.bw-h1 small { display: block; margin-bottom: 4px; font-size: .5em; font-weight: 400; letter-spacing: .06em; color: var(--bw-ink); opacity: .85; }
.bw-sub { max-width: 480px; margin: 0 auto 20px; font-size: 16px; line-height: 1.55; opacity: .92; }

.bw-pedestal { position: relative; width: min(320px, 74vw); aspect-ratio: 1; margin: 6px auto 16px; padding: 10px; border-radius: 22px; background: linear-gradient(145deg, var(--bw-gold-hi), var(--bw-gold) 45%, var(--bw-gold-lo)); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 240, 200, .25); }
.bw-pedestal img { display: block; width: 100%; height: 100%; border-radius: 14px; object-fit: cover; background: #222; }
.bw-glow { position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 223, 162, .28), transparent); animation: bw-breathe 4s ease-in-out infinite; }
@keyframes bw-breathe { 50% { transform: scale(1.08); opacity: .7; } }
.bw-product { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.bw-product a { color: var(--bw-ink) !important; text-decoration: none; }

.bw-price { margin: 0 auto 18px; }
.bw-price small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bw-gold); }
.bw-price strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 9vw, 58px); line-height: 1.05; color: var(--bw-gold-hi); text-shadow: 0 2px 30px rgba(217, 180, 91, .4); font-variant-numeric: tabular-nums; }
.bw-was { display: block; margin-top: 4px; font-size: 14px; opacity: .85; }
.bw-was b { color: var(--bw-gold-hi); }

.bw-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.bw-facts li { padding: 12px 6px; border: 1px solid rgba(217, 180, 91, .3); border-radius: 14px; background: rgba(217, 180, 91, .06); }
.bw-facts b { display: block; font-size: 18px; color: var(--bw-gold-hi); overflow-wrap: anywhere; }
.bw-facts span { font-size: 12px; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }

.bw-form { margin: 0 0 18px; }
.bw-options { margin: 0 0 14px; padding: 14px; border: 1px solid rgba(217, 180, 91, .35); border-radius: 16px; text-align: left; background: rgba(0, 0, 0, .25); }
.bw-options-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--bw-gold-hi); }
.bw-opt { margin: 0 0 12px; }
.bw-opt-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.bw-opt-label em { color: #ff8a7a; font-style: normal; }
.bw-opt select, .bw-opt input[type=text], .bw-opt input[type=date], .bw-opt input[type=time], .bw-opt input[type=datetime-local], .bw-opt textarea { width: 100%; padding: 11px 12px; border: 1px solid rgba(217, 180, 91, .45); border-radius: 12px; background: #1b140a; color: var(--bw-ink); font-size: 16px; box-sizing: border-box; }
.bw-opt.is-bad select, .bw-opt.is-bad input, .bw-opt.is-bad .bw-choices { border-color: #ff6b5a; box-shadow: 0 0 0 2px rgba(255, 107, 90, .25); }
.bw-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; border-radius: 12px; }
.bw-choice { position: relative; cursor: pointer; }
.bw-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bw-choice span { display: inline-block; min-width: 44px; padding: 9px 14px; border: 1px solid rgba(217, 180, 91, .45); border-radius: 999px; text-align: center; font-size: 15px; }
.bw-choice input:checked + span { background: var(--bw-gold); color: #2b1c03; border-color: var(--bw-gold-hi); font-weight: 800; }
.bw-choice input:focus-visible + span { outline: 2px solid var(--bw-gold-hi); outline-offset: 2px; }
.bw-choice.is-out span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.bw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border: 1px solid var(--bw-gold-hi); border-radius: 999px; background: linear-gradient(135deg, var(--bw-gold-hi), var(--bw-gold) 50%, var(--bw-gold-lo)); color: #2b1c03 !important; font-size: 16px; font-weight: 800; text-decoration: none !important; cursor: pointer; box-shadow: 0 8px 26px rgba(217, 180, 91, .28); }
.bw-btn.is-ghost { background: transparent; color: var(--bw-gold-hi) !important; box-shadow: none; border-color: rgba(217, 180, 91, .6); }
.bw-btn[disabled] { opacity: .6; cursor: wait; }
.bw-btn-claim { width: 100%; max-width: 420px; min-height: 58px; font-size: 18px; letter-spacing: .02em; animation: bw-pulse 2.6s ease-in-out infinite; }
@keyframes bw-pulse { 50% { box-shadow: 0 8px 40px rgba(243, 223, 162, .55); } }
.bw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.bw-note { margin: 10px 0 0; font-size: 13px; opacity: .75; }
.bw-msg { margin: 0 0 10px; font-size: 14px; color: #ffb4a8; }
.bw-msg:empty { display: none; }

.bw-timer { display: grid; gap: 2px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 12px 22px; border: 1px solid rgba(217, 180, 91, .35); border-radius: 16px; background: rgba(0, 0, 0, .25); }
.bw-timer small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bw-gold); }
.bw-timer strong { font-size: 30px; font-variant-numeric: tabular-nums; color: var(--bw-gold-hi); }
.bw-timer.is-low strong { color: #ff8a7a; }
.bw-timer span { font-size: 12px; opacity: .75; }

.bw-share { margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(217, 180, 91, .25); }
.bw-share h3 { margin: 0 0 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; color: var(--bw-gold-hi); }
.bw-share p { margin: 0 0 14px; font-size: 14px; opacity: .85; }
.bw-share-name { display: grid; gap: 6px; max-width: 320px; margin: 0 auto 16px; text-align: left; font-size: 13px; font-weight: 700; }
.bw-share-name input { padding: 11px 12px; border: 1px solid rgba(217, 180, 91, .45); border-radius: 12px; background: #1b140a; color: var(--bw-ink); font-size: 16px; }
.bw-card { display: block; width: min(100%, 340px); height: auto; margin: 0 auto 16px; border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); background: #120c05; }
.bw-decline { margin: 22px 0 0; }
.bw-decline button { padding: 6px 10px; border: 0; background: none; color: inherit; opacity: .55; font-size: 13px; text-decoration: underline; cursor: pointer; box-shadow: none; }

@media (max-width: 480px) { .bw-inner { padding: 28px 16px 26px; } .bw-facts b { font-size: 15px; } .bw-btn { width: 100%; } .bw-stage { border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .bw-gate, .bw-spark { display: none; }
  .bw-inner { opacity: 1; transform: none; animation: none; }
  .bw-glow, .bw-btn-claim { animation: none; }
}

/* ---------- v1.7: the theme's own voice (its font, radius, surfaces); the winner's page keeps its ceremonial gold ---------- */
.bb-page, .bb-card, .bb-bar, .bb-auth, .bb-toast { font-family: var(--tt-font, inherit); }
.bb-page { color: var(--tt-text, inherit); }
.bb-page h1, .bb-page h2, .bb-page h3 { font-family: var(--tt-font, inherit); letter-spacing: -.01em; }
.bb-item, .bb-box, .bb-flash, .bb-feed, .bb-next, .bb-empty { border-radius: var(--tt-radius-lg, 14px); }
.bb-item { border: 0; background: var(--bb-soft); box-shadow: none; }
.bb-thumb img { aspect-ratio: 4 / 5; }
.bb-btn, .bb-item-cta { border-radius: var(--tt-radius, 10px); }
.bb-btn { font-family: var(--tt-font, inherit); }
.bb-item-cta { color: var(--bb-on, #111) !important; }
.bb-item-cta.is-remind { color: inherit !important; }

/* a badge shows only when the card is in that state, so the live poll can switch it with one class */
.bb-item .bb-badge.is-urgent, .bb-item .bb-badge.is-hot { display: none; }
.bb-item.is-urgent .bb-badge.is-urgent, .bb-item.is-hot:not(.is-urgent) .bb-badge.is-hot { display: inline-flex; }
@keyframes bb-flash { from { background: color-mix(in srgb, var(--bb-gold) 55%, transparent); } to { background: transparent; } }
.is-flash { animation: bb-flash 1.2s ease-out; border-radius: 6px; }

/* the stats line: proof that this is alive */
.bb-stats { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.bb-stats li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bb-soft); font-size: 13px; }
.bb-stats b { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--bb-gold); }
.bb-stats .is-live b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #e8453c; vertical-align: 1px; animation: bb-pulse 1.4s ease-in-out infinite; }

/* rules: no script needed. The checkbox is the switch, so nothing on the page can break it */
.bb-more-cb { position: absolute; opacity: 0; pointer-events: none; }
.bb-clamp .bb-clamp-body { max-height: 6.4em; overflow: hidden; transition: max-height .28s ease; }
.bb-clamp .bb-clamp-toggle { display: inline-block; cursor: pointer; margin-top: 8px; color: var(--bb-gold); font-size: 13px; font-weight: 800; }
.bb-clamp .bb-t-less { display: none; }
.bb-more-cb:checked ~ .bb-clamp-body { max-height: 200em; -webkit-mask-image: none; mask-image: none; }
.bb-more-cb:checked ~ .bb-clamp-toggle .bb-t-more { display: none; }
.bb-more-cb:checked ~ .bb-clamp-toggle .bb-t-less { display: inline; }
.bb-more-cb:focus-visible ~ .bb-clamp-toggle { outline: 2px solid var(--bb-gold); outline-offset: 3px; border-radius: 4px; }
.bb-clamp:not(.is-short) .bb-clamp-body { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.bb-clamp.is-short .bb-clamp-toggle { display: none; }

/* ---------- the slim bar on every page ---------- */
.bb-bar { position: relative; margin: 0; color: var(--tt-text, #fff); font-size: 13px; line-height: 1.2; }
.bb-bar[hidden] { display: none; }
.bb-bar > a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 44px 6px 14px; color: inherit !important; text-decoration: none !important; background: linear-gradient(90deg, color-mix(in srgb, var(--bb-gold) 30%, var(--tt-bg, #111)), color-mix(in srgb, var(--bb-gold) 10%, var(--tt-bg, #111))); border-bottom: 1px solid color-mix(in srgb, var(--bb-gold) 55%, transparent); }
.bb-bar b { flex: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-gold); }
.bb-bar-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-bar em { flex: none; font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.bb-bar em small { font-weight: 400; opacity: .7; font-size: 11px; }
.bb-bar u { flex: none; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--bb-gold); color: var(--bb-on, #111); font-weight: 800; font-size: 12px; }
.bb-bar-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e8453c; box-shadow: 0 0 0 0 rgba(232, 69, 60, .6); animation: bb-ring 1.6s ease-out infinite; }
.bb-bar.is-soon .bb-bar-dot { background: var(--bb-gold); }
@keyframes bb-ring { to { box-shadow: 0 0 0 9px rgba(232, 69, 60, 0); } }
.bb-bar-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; line-height: 1; opacity: .65; cursor: pointer; box-shadow: none; }
.tt-has-feed .bb-bar { position: fixed; top: var(--tt-top-h, 56px); left: 0; right: 0; z-index: calc(var(--z-top, 50) - 1); }
@media (min-width: 992px) { .tt-has-rail.tt-has-feed .bb-bar { left: var(--tt-rail-w, 0px); } }
@media (max-width: 560px) { .bb-bar em small { display: none; } .bb-bar-text { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .bb-bar-dot, .bb-stats .is-live b::before, .is-flash { animation: none; } }

/* product page card: say what is going on before anything else */
.bb-intro { margin: 0 0 12px; padding: 11px 13px; border-radius: var(--tt-radius, 10px); background: color-mix(in srgb, var(--bb-gold) 10%, transparent); font-size: 14px; }
.bb-intro p { margin: 0; font-weight: 600; }
.bb-mini { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; opacity: .92; }
.bb-mini li { display: flex; align-items: center; gap: 8px; }
.bb-mini i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bb-gold); color: var(--bb-on, #111); font-style: normal; font-weight: 800; font-size: 11px; }
.bb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.bb-chips small { flex: 1 1 100%; opacity: .75; }
.bb-chip { padding: 6px 12px; border: 1px solid var(--bb-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; box-shadow: none; }
.bb-chip:hover { border-color: var(--bb-gold); }
.bb-clamp.is-short .bb-clamp-body { max-height: none; -webkit-mask-image: none; mask-image: none; }

/* winner: the bar and the profile card */
.bb-bar.is-won a { background: linear-gradient(90deg, #f3dfa2, #d9b45b 55%, #a07820); color: #1a1205; }
.bb-bar.is-won .bb-bar-tag { background: #1a1205; color: #f3dfa2; }
.bb-bar.is-won .bb-bar-go { font-weight: 800; text-decoration: underline; }
.bb-won-card { display: grid; gap: 10px; margin: 0 0 16px; }
.bb-won-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; border-radius: var(--tt-radius-lg, 14px); border: 1px solid #d9b45b; background: linear-gradient(135deg, #2d1f0a, #150e05); color: #f6ecd2; text-decoration: none; }
.bb-won-k { flex: none; padding: 3px 9px; border-radius: 999px; background: #d9b45b; color: #1a1205; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bb-won-row b { flex: 1 1 140px; font-size: 15px; }
.bb-won-row span:not(.bb-won-k) { opacity: .85; font-size: 13px; }
.bb-won-row em { flex: 1 1 100%; font-style: normal; font-weight: 800; color: #f3dfa2; font-size: 14px; }

/* sign-up modal: the shop's own extra fields and the captcha */
.bb-auth .bb-cf, .bb-auth .bb-cf-group { display: grid; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.bb-auth .bb-cf select, .bb-auth .bb-cf textarea, .bb-auth .bb-cf input { width: 100%; box-sizing: border-box; }
.bb-cf-opts { display: grid; gap: 6px; }
.bb-cf-o { display: flex !important; align-items: center; gap: 8px; font-weight: 500; }
.bb-cf-o input { width: auto !important; margin: 0; }
.bb-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.bb-cap img { border-radius: 6px; background: #fff; }
.bb-cap-new { padding: 6px 10px; border: 1px solid var(--bb-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.bb-cap input { flex: 1 1 100%; }
.bb-auth-card { max-height: calc(100svh - 24px); overflow-y: auto; }
.bb-auth select, .bb-auth textarea, .bb-auth .bb-cf input[type=date], .bb-auth .bb-cf input[type=time], .bb-auth .bb-cf input[type=datetime-local] { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--bb-line); border-radius: 12px; background: var(--bb-soft); color: inherit; font: inherit; font-size: 16px; box-sizing: border-box; }
.bb-auth textarea { min-height: 80px; }

/* the strip is fixed at the very top and cannot be closed; the theme's header sits right under it */
body.bb-has-bar { --bb-h: 36px; padding-top: var(--bb-h); }
body.bb-has-bar .bb-bar { position: fixed; top: 0; left: 0; right: 0; z-index: calc(var(--z-top, 1050) + 1); height: var(--bb-h, 36px); margin: 0; }
.bb-bar > a { height: 100%; min-height: 0; box-sizing: border-box; padding: 0 14px; white-space: nowrap; overflow: hidden; }
body.bb-has-bar #tt-top { top: var(--bb-h); }
body.bb-has-bar.tt-has-feed #tt-app { height: calc(100vh - var(--bb-h)); height: calc(100dvh - var(--bb-h)); }
@media (min-width: 992px) { body.bb-has-bar.tt-has-rail .bb-bar, body.bb-has-bar.tt-has-rail.tt-has-feed .bb-bar { left: var(--tt-rail-w); } }
@media (min-width: 900px) { body.bb-has-bar .tt-pdp-media { top: calc(var(--tt-top-h) + var(--bb-h) + 16px); } }
@media (min-width: 992px) { body.bb-has-bar .tt-cart-summary { top: calc(var(--tt-top-h) + var(--bb-h) + 16px); } }
.bb-bar-x { display: none !important; }
/* opened: no fade over the last lines (must out-rank the closed-state fade above) */
.bb-clamp .bb-more-cb:checked ~ .bb-clamp-body { max-height: 200em; -webkit-mask-image: none !important; mask-image: none !important; }
