.tvcf-wrap{--tvcf-bg:#070a14;--tvcf-bg2:#0b1020;--tvcf-card:#0f1730;--tvcf-text:#e6e9ff;--tvcf-muted:#9aa6d6;--tvcf-border:rgba(255,255,255,0.12);--tvcf-gold1:#c71936;--tvcf-gold2:#a8132d;--tvcf-goldText:#ffffff;max-width:1240px;margin:26px auto;color:var(--tvcf-text);background:radial-gradient(900px circle at 18% 0%, rgba(199,25,54,0.12), transparent 60%),radial-gradient(900px circle at 88% 12%, rgba(255,255,255,0.05), transparent 62%),linear-gradient(180deg,var(--tvcf-bg),var(--tvcf-bg2));border-radius:22px;padding:22px 0;box-shadow:0 14px 40px rgba(0,0,0,0.20)}.tvcf-wrap.tvcf-fullbleed{max-width:none;width:100vw;margin-top:0;margin-bottom:0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0;padding:26px 0}.tvcf-wrap.tvcf-mode-theme{--tvcf-bg:transparent;--tvcf-card:rgba(255,255,255,0.92);--tvcf-text:#111827;--tvcf-muted:rgba(17,24,39,0.72);--tvcf-border:rgba(17,24,39,0.12);--tvcf-gold1:#111827;--tvcf-gold2:#111827;--tvcf-goldText:#ffffff;max-width:none;margin:0;color:var(--tvcf-text);background:transparent;box-shadow:none;padding:0;border-radius:0}.tvcf-container{max-width:1100px;margin:24px auto;padding:0 16px}.tvcf-film{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.tvcf-hero{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#0b1020,#121c3f);border:1px solid var(--tvcf-border)}.tvcf-cover{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(1.05) contrast(1.05);opacity:.28}.tvcf-hero-inner{position:relative;padding:22px}.tvcf-title{margin:0;font-size:34px;line-height:1.1}.tvcf-sub{margin-top:8px;color:var(--tvcf-muted);max-width:820px}.tvcf-progress{margin-top:16px;padding:14px;border-radius:14px;background:rgba(255,255,255,0.06);border:1px solid var(--tvcf-border)}.tvcf-progress-bar{height:10px;border-radius:999px;background:rgba(255,255,255,0.12);overflow:hidden}.tvcf-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,rgba(199,25,54,0.85),rgba(168,19,45,0.95))}.tvcf-progress-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px;color:var(--tvcf-muted)}.tvcf-buybox{margin-top:16px;padding:16px;border-radius:14px;background:rgba(255,255,255,0.06);border:1px solid var(--tvcf-border)}.tvcf-wallet-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tvcf-btn{border:1px solid var(--tvcf-border);background:rgba(255,255,255,0.08);color:var(--tvcf-text);padding:10px 12px;border-radius:12px;cursor:pointer}.tvcf-btn:hover{background:rgba(255,255,255,0.12)}.tvcf-primary{background:rgba(255,255,255,0.88);color:#0b1020;font-weight:700}.tvcf-secondary{background:rgba(255,255,255,0.12)}.tvcf-bundles{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.tvcf-bundle{flex:1;min-width:210px;border:1px solid var(--tvcf-border);background:rgba(255,255,255,0.06);color:var(--tvcf-text);padding:12px;border-radius:14px;cursor:pointer;text-align:left}.tvcf-bundle.active{outline:2px solid rgba(255,255,255,0.65)}.tvcf-total{display:flex;justify-content:space-between;margin-top:10px;color:var(--tvcf-muted)}.tvcf-status{margin-top:10px;color:var(--tvcf-muted)}.tvcf-owned{margin-top:10px}.tvcf-body{margin-top:18px;background:linear-gradient(180deg,rgba(15,23,48,0.65),rgba(15,23,48,0.35));border:1px solid var(--tvcf-border);border-radius:18px;padding:18px}.tvcf-embed iframe{width:100%;height:480px;border-radius:14px}.tvcf-premiere{margin-top:10px}.tvcf-video{width:100%;max-height:560px;border-radius:14px;background:#000}.tvcf-locked{margin-top:10px;color:var(--tvcf-muted)}

/* v0.3.2 UI (RealShorts.si) */
.tvcf-film-hero{display:grid;grid-template-columns:320px 1fr;gap:18px;background:linear-gradient(135deg,#0b1020,#121c3f);border:1px solid var(--tvcf-border);border-radius:18px;padding:18px}
.tvcf-poster img{width:100%;height:auto;border-radius:14px;display:block;border:1px solid var(--tvcf-border)}
.tvcf-poster-ph{height:420px;border-radius:14px;border:1px dashed var(--tvcf-border);display:flex;align-items:center;justify-content:center;color:var(--tvcf-muted)}
.tvcf-film-head h1{margin:0 0 8px 0;font-size:32px;line-height:1.1;color:var(--tvcf-text)}
.tvcf-sub{margin:0 0 12px 0;color:var(--tvcf-muted)}
.tvcf-wallet-bar{display:flex;align-items:center;gap:10px;margin:10px 0 14px 0}
.tvcf-connect,.tvcf-disconnect,.tvcf-buy-btn,.tvcf-btn{appearance:none;border:1px solid var(--tvcf-border);background:rgba(255,255,255,0.06);color:var(--tvcf-text);border-radius:12px;padding:10px 12px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.tvcf-wrap.tvcf-mode-glass .tvcf-connect,.tvcf-wrap.tvcf-mode-glass .tvcf-disconnect,.tvcf-wrap.tvcf-mode-glass .tvcf-buy-btn,.tvcf-wrap.tvcf-mode-glass .tvcf-btn-primary,.tvcf-wrap.tvcf-mode-glass .tvcf-card-actions .tvcf-btn{background:linear-gradient(180deg,var(--tvcf-gold1),var(--tvcf-gold2));border-color:rgba(199,25,54,0.65);color:var(--tvcf-goldText);box-shadow:0 10px 24px rgba(0,0,0,0.28),0 6px 16px rgba(199,25,54,0.10)}
.tvcf-wrap.tvcf-mode-glass .tvcf-connect:hover,.tvcf-wrap.tvcf-mode-glass .tvcf-disconnect:hover,.tvcf-wrap.tvcf-mode-glass .tvcf-buy-btn:hover,.tvcf-wrap.tvcf-mode-glass .tvcf-btn-primary:hover,.tvcf-wrap.tvcf-mode-glass .tvcf-card-actions .tvcf-btn:hover{filter:brightness(1.03) saturate(1.06);transform:translateY(-1px)}

/* v0.3.9.5: higher-contrast fields + always-readable wallet buttons (glass mode) */
.tvcf-wrap.tvcf-mode-glass .tvcf-film-list-head .tvcf-btn,
.tvcf-wrap.tvcf-mode-glass .tvcf-supporter-head .tvcf-btn,
.tvcf-wrap.tvcf-mode-glass .tvcf-wallet-row .tvcf-btn,
.tvcf-wrap.tvcf-mode-glass .tvcf-widget-actions .tvcf-btn,
.tvcf-wrap.tvcf-mode-glass .tvcf-wallet-bar .tvcf-btn{
  background:linear-gradient(180deg,var(--tvcf-gold1),var(--tvcf-gold2));
  border-color:rgba(199,25,54,0.65);
  color:var(--tvcf-goldText);
  box-shadow:0 10px 24px rgba(0,0,0,0.28),0 6px 16px rgba(199,25,54,0.10);
}
.tvcf-wrap.tvcf-mode-glass .tvcf-film-list-head .tvcf-btn:hover,
.tvcf-wrap.tvcf-mode-glass .tvcf-supporter-head .tvcf-btn:hover,
.tvcf-wrap.tvcf-mode-glass .tvcf-wallet-row .tvcf-btn:hover,
.tvcf-wrap.tvcf-mode-glass .tvcf-widget-actions .tvcf-btn:hover,
.tvcf-wrap.tvcf-mode-glass .tvcf-wallet-bar .tvcf-btn:hover{filter:brightness(1.03) saturate(1.06);transform:translateY(-1px)}

.tvcf-wrap.tvcf-mode-glass input[type="text"],
.tvcf-wrap.tvcf-mode-glass input[type="number"],
.tvcf-wrap.tvcf-mode-glass input[type="url"],
.tvcf-wrap.tvcf-mode-glass input[type="email"],
.tvcf-wrap.tvcf-mode-glass textarea,
.tvcf-wrap.tvcf-mode-glass select{
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  color:#ffffff;
}
.tvcf-wrap.tvcf-mode-glass input::placeholder,
.tvcf-wrap.tvcf-mode-glass textarea::placeholder{color:rgba(255,255,255,0.58)}
.tvcf-wrap.tvcf-mode-glass input:focus,
.tvcf-wrap.tvcf-mode-glass textarea:focus,
.tvcf-wrap.tvcf-mode-glass select:focus{border-color:rgba(199,25,54,0.55);outline:none;box-shadow:0 0 0 3px rgba(199,25,54,0.10)}

.tvcf-wrap.tvcf-mode-glass label,
.tvcf-wrap.tvcf-mode-glass .tvcf-lock,
.tvcf-wrap.tvcf-mode-glass .tvcf-title,
.tvcf-wrap.tvcf-mode-glass .tvcf-film-head h1,
.tvcf-wrap.tvcf-mode-glass .tvcf-col h3{color:rgba(255,255,255,0.95)}
.tvcf-wrap.tvcf-mode-glass .tvcf-price-label,
.tvcf-wrap.tvcf-mode-glass .tvcf-progress-top strong,
.tvcf-wrap.tvcf-mode-glass .tvcf-kv strong{color:rgba(199,25,54,0.92)}
.tvcf-wrap.tvcf-mode-glass .tvcf-wallet{color:rgba(255,255,255,0.78)}
.tvcf-wrap.tvcf-mode-glass .tvcf-sub,
.tvcf-wrap.tvcf-mode-glass .tvcf-buy-note,
.tvcf-wrap.tvcf-mode-glass .tvcf-small,
.tvcf-wrap.tvcf-mode-glass .tvcf-progress-top,
.tvcf-wrap.tvcf-mode-glass .tvcf-kv div,
.tvcf-wrap.tvcf-mode-glass .tvcf-placeholder{color:rgba(255,255,255,0.82)}
.tvcf-wrap.tvcf-mode-glass .tvcf-placeholder{background:rgba(255,255,255,0.04)}
.tvcf-wrap.tvcf-mode-glass .tvcf-col,
.tvcf-wrap.tvcf-mode-glass .tvcf-join-panel,
.tvcf-wrap.tvcf-mode-glass .tvcf-widget{background:rgba(255,255,255,0.06)}
.tvcf-btn{padding:10px 14px}
.tvcf-wallet{color:var(--tvcf-muted);font-size:13px}
.tvcf-cta{display:grid;grid-template-columns:240px 1fr;gap:14px;align-items:start;margin:10px 0 12px 0}
.tvcf-price-label{display:block;color:var(--tvcf-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.tvcf-price-val{display:block;font-size:18px;margin-top:6px}
.tvcf-cap{display:block;color:var(--tvcf-muted);font-size:12px;margin-top:6px}
.tvcf-buy{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tvcf-buy-note{flex-basis:100%;color:var(--tvcf-muted);font-size:12px;margin-top:2px}
.tvcf-status{flex-basis:100%;color:var(--tvcf-muted);font-size:13px;min-height:18px}
.tvcf-progress{margin-top:10px}
.tvcf-progress-top{display:flex;justify-content:space-between;gap:10px;color:var(--tvcf-muted);font-size:13px}
.tvcf-bar{height:10px;border-radius:999px;background:rgba(255,255,255,0.08);overflow:hidden;border:1px solid var(--tvcf-border);margin-top:8px}
.tvcf-bar-fill{height:100%;background:rgba(255,255,255,0.35);width:0%}
.tvcf-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.tvcf-link{color:var(--tvcf-text);text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.25)}
.tvcf-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.tvcf-col{background:rgba(255,255,255,0.04);border:1px solid var(--tvcf-border);border-radius:18px;padding:16px}
.tvcf-col h3{margin:0 0 10px 0}
.tvcf-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:14px}
.tvcf-player-wrap{border:1px solid var(--tvcf-border);border-radius:14px;overflow:hidden;background:rgba(0,0,0,0.25)}
.tvcf-player-locked{padding:14px;color:var(--tvcf-muted)}
.tvcf-lock{font-weight:700;color:var(--tvcf-text);margin-bottom:8px}
.tvcf-player{width:100%;height:auto;display:block}
.tvcf-small{color:var(--tvcf-muted);font-size:12px}
.tvcf-placeholder{border:1px dashed var(--tvcf-border);border-radius:14px;padding:16px;color:var(--tvcf-muted);margin-top:10px}
.tvcf-film-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.tvcf-card{background:rgba(255,255,255,0.04);border:1px solid var(--tvcf-border);border-radius:18px;overflow:hidden}
.tvcf-card-top{display:block;position:relative;text-decoration:none;color:var(--tvcf-text);min-height:180px;background:rgba(255,255,255,0.06)}
.tvcf-card-top img{width:100%;height:180px;object-fit:cover;display:block}
.tvcf-card-title{position:absolute;left:0;right:0;bottom:0;padding:12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,0.65));font-weight:800}
.tvcf-card-sub{padding:12px;color:var(--tvcf-muted);min-height:46px}
.tvcf-card-meta{display:flex;justify-content:space-between;gap:10px;padding:0 12px 12px 12px;color:var(--tvcf-muted);font-size:13px}
.tvcf-event-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px;color:var(--tvcf-muted);font-size:13px}
.tvcf-countdown{font-weight:800;color:var(--tvcf-text)}
.tvcf-join-panel{margin-top:10px;padding:12px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid var(--tvcf-border)}
.tvcf-join-locked{color:var(--tvcf-muted);font-size:13px}
.tvcf-card-actions{padding:0 12px 14px 12px}
.tvcf-owned{margin:0 12px 10px 12px;padding:6px 10px;border-radius:999px;border:1px solid var(--tvcf-border);display:inline-block;font-size:12px}
.tvcf-widget{background:rgba(255,255,255,0.04);border:1px solid var(--tvcf-border);border-radius:18px;padding:14px}
.tvcf-widget-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.tvcf-widget-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}
.tvcf-widget-buy{display:flex;gap:8px;align-items:center}
.tvcf-widget-price{margin-left:8px;color:var(--tvcf-muted);font-size:13px}
@media (max-width:900px){
  .tvcf-film-hero{grid-template-columns:1fr}
  .tvcf-columns{grid-template-columns:1fr}
}


/* Toast + modal */
.tvcf-toast{position:fixed;right:20px;bottom:20px;z-index:99999;max-width:420px;padding:12px 14px;border-radius:14px;background:rgba(15,23,48,0.95);border:1px solid var(--tvcf-border);color:var(--tvcf-text);box-shadow:0 12px 30px rgba(0,0,0,0.35);font-size:14px;line-height:1.35}
.tvcf-toast.ok{border-color:rgba(0,255,170,0.35)}
.tvcf-toast.warn{border-color:rgba(255,210,0,0.35)}
.tvcf-toast.err{border-color:rgba(255,80,80,0.35)}
.tvcf-modal{position:fixed;inset:0;z-index:99998;background:rgba(0,0,0,0.55);display:flex;align-items:center;justify-content:center;padding:16px}
.tvcf-modal-inner{width:min(720px,100%);border-radius:18px;background:var(--tvcf-card);border:1px solid var(--tvcf-border);box-shadow:0 18px 50px rgba(0,0,0,0.5);overflow:hidden}
.tvcf-modal-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--tvcf-border)}
.tvcf-modal-body{padding:14px 16px;color:var(--tvcf-text)}


/* --- Creator dashboard polish --- */
.tvcf-creator-panel { padding: 24px 0; }
.tvcf-creator-panel .tvcf-step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px 18px 8px; margin: 14px 0; }
.tvcf-creator-panel h2 { margin: 0 0 8px; font-size: 28px; }
.tvcf-creator-panel .tvcf-subtitle { margin: 0 0 14px; opacity: .85; }
.tvcf-creator-panel h3 { margin: 0 0 12px; font-size: 20px; }
.tvcf-creator-panel .tvcf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tvcf-creator-panel .tvcf-btn { appearance: none; cursor: pointer; border-radius: 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: var(--tvcf-text, #e5e7eb); font-weight: 600; }
.tvcf-creator-panel .tvcf-btn:hover { background: rgba(255,255,255,0.10); }
.tvcf-creator-panel .tvcf-btn-primary { background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)); border-color: rgba(255,255,255,0.18); }
.tvcf-creator-panel .tvcf-wallet { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; opacity: .9; }
.tvcf-creator-panel .tvcf-status { margin-top: 8px; font-size: 13px; opacity: .9; }
.tvcf-creator-panel .tvcf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.tvcf-creator-panel .tvcf-field { grid-column: span 6; }
.tvcf-creator-panel .tvcf-field.full { grid-column: span 12; }
.tvcf-creator-panel label { display: block; font-size: 13px; margin: 0 0 6px; opacity: .9; }
.tvcf-creator-panel input[type="text"],
.tvcf-creator-panel input[type="number"],
.tvcf-creator-panel textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: var(--tvcf-text, #e5e7eb);
  padding: 10px 12px;
  outline: none;
}
.tvcf-creator-panel textarea { min-height: 92px; resize: vertical; }
.tvcf-creator-panel input:focus, .tvcf-creator-panel textarea:focus { border-color: rgba(255,255,255,0.28); }
.tvcf-film-card .tvcf-sold, .tvcf-film-card .tvcf-listed { font-size: 12px; opacity: .85; }

@media (max-width: 900px) {
  .tvcf-creator-panel .tvcf-field { grid-column: span 12; }
}

.tvcf-creator-panel .tvcf-form{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;}
.tvcf-creator-panel .tvcf-form label{grid-column:span 6;}
.tvcf-creator-panel .tvcf-form label:nth-child(1),.tvcf-creator-panel .tvcf-form label:nth-child(2){grid-column:span 12;}
.tvcf-creator-panel .tvcf-form label textarea,.tvcf-creator-panel .tvcf-form label input{margin-top:6px;}
@media(max-width:900px){.tvcf-creator-panel .tvcf-form label{grid-column:span 12;}}



/* v0.3.8.3: card-tile polish + gated links */
.tvcf-film-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 14px 0;flex-wrap:wrap}
.tvcf-h2{margin:0;font-size:22px;line-height:1.2}
.tvcf-film-grid{gap:18px}
.tvcf-card{transition:transform .18s ease, box-shadow .18s ease}
.tvcf-card:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(0,0,0,0.28)}
.tvcf-card-top img{height:190px}
.tvcf-gated-link[aria-disabled="true"]{pointer-events:auto;opacity:.55;cursor:not-allowed}
.tvcf-gated-link[aria-disabled="true"] .tvcf-btn{opacity:1}
.tvcf-gated-link[aria-disabled="true"]:focus{outline:none}
.tvcf-gated-link[aria-disabled="true"]{text-decoration:none}
.tvcf-card-top.tvcf-gated-link[aria-disabled="true"] .tvcf-card-title{background:linear-gradient(180deg,transparent,rgba(0,0,0,0.78))}
.tvcf-gate-note{color:var(--tvcf-muted);font-size:13px;margin-top:6px}


/* v0.3.8.5: supporter dashboard requires wallet */
.tvcf-supporter-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 14px 0;flex-wrap:wrap}
.tvcf-wallet-locked{border:1px solid var(--tvcf-border);border-radius:16px;padding:14px;background:rgba(255,255,255,0.04);color:var(--tvcf-muted);margin:10px 0 14px 0}

.tvcf-card-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--tvcf-muted);font-size:12px}
.tvcf-card-creator{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}
.tvcf-card-sub-empty{opacity:.7}
.tvcf-onchain{margin-top:14px}
.tvcf-kv{padding:12px;border-radius:14px;background:rgba(255,255,255,0.06);border:1px solid var(--tvcf-border)}
.tvcf-kv div{margin:6px 0;color:var(--tvcf-muted);line-height:1.35}
.tvcf-kv strong{color:var(--tvcf-text)}
.tvcf-kv code{background:rgba(0,0,0,0.25);padding:2px 6px;border-radius:8px;color:var(--tvcf-text)}
.tvcf-kv a{color:var(--tvcf-text);text-decoration:underline;text-decoration-color:rgba(255,255,255,0.3)}

/* Theme-friendly (light) overrides */
.tvcf-wrap.tvcf-mode-theme .tvcf-film-hero{background:linear-gradient(135deg,rgba(255,255,255,0.94),rgba(255,255,255,0.78));border:1px solid var(--tvcf-border)}
.tvcf-wrap.tvcf-mode-theme .tvcf-film-body{background:rgba(255,255,255,0.82);border:1px solid var(--tvcf-border)}
.tvcf-wrap.tvcf-mode-theme .tvcf-card{background:var(--tvcf-card);border:1px solid var(--tvcf-border);box-shadow:0 10px 28px rgba(0,0,0,0.08)}
.tvcf-wrap.tvcf-mode-theme .tvcf-card-top{background:rgba(17,24,39,0.04)}
.tvcf-wrap.tvcf-mode-theme .tvcf-card-sub,.tvcf-wrap.tvcf-mode-theme .tvcf-card-meta,.tvcf-wrap.tvcf-mode-theme .tvcf-status{color:var(--tvcf-muted)}
.tvcf-wrap.tvcf-mode-theme .tvcf-wallet-locked{background:rgba(17,24,39,0.04);border:1px dashed var(--tvcf-border);color:var(--tvcf-muted)}
.tvcf-wrap.tvcf-mode-theme .tvcf-btn{background:var(--tvcf-accent,rgba(17,24,39,0.08));border-color:var(--tvcf-accent,rgba(17,24,39,0.16));color:#111}
.tvcf-wrap.tvcf-mode-theme .tvcf-btn:hover{filter:brightness(0.98)}
.tvcf-wrap.tvcf-mode-theme .tvcf-wallet-bar button{background:var(--tvcf-accent,rgba(17,24,39,0.08));border-color:var(--tvcf-accent,rgba(17,24,39,0.16));color:#111}
.tvcf-wrap.tvcf-mode-theme .tvcf-wallet-bar button:hover{filter:brightness(0.98)}


/* --- Theme-friendly overrides (v0.3.9.2) --- */
.tvcf-mode-theme .tvcf-hero,
.tvcf-mode-theme .tvcf-film-hero{
  background: rgba(255,255,255,0.96) !important;
  border-color: rgba(17,24,39,0.12) !important;
}
.tvcf-mode-theme .tvcf-cover{opacity:.12 !important; filter:saturate(1) contrast(1) !important;}
.tvcf-mode-theme .tvcf-title{color:#111827 !important; text-shadow:none !important;}
.tvcf-mode-theme .tvcf-sub{color:rgba(17,24,39,0.72) !important;}
.tvcf-mode-theme .tvcf-pill{background:rgba(17,24,39,0.06) !important; color:#111827 !important;}
.tvcf-mode-theme .tvcf-btn{border-color:rgba(17,24,39,0.18) !important;}
.tvcf-mode-theme .tvcf-btn-primary{background:#111827 !important; color:#fff !important;}

/* Ticket QR (viewer) */
.tvcf-ticket-qr canvas.tvcf-ticket-canvas{
  width: 260px;
  height: 260px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.tvcf-ticket-token code{
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Scanner (staff) */
.tvcf-scanner .tvcf-scan-manual{
  width: 100%;
  margin-top: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: inherit;
  border-radius: 14px;
  padding: 10px 12px;
  resize: vertical;
}
.tvcf-scanner .tvcf-scan-pin{
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: inherit;
  border-radius: 12px;
  padding: 8px 10px;
}
.tvcf-scan-video{
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  background: #000;
  display: block;
}
.tvcf-scan-status.ok{
  color: #22c55e;
  font-weight: 700;
}
.tvcf-scan-status.bad{
  color: #ef4444;
  font-weight: 700;
}
/* Scanner (theme mode) */
.tvcf-wrap.tvcf-mode-theme .tvcf-scanner .tvcf-scan-manual,
.tvcf-wrap.tvcf-mode-theme .tvcf-scanner .tvcf-scan-pin{
  background: rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.14);
  color: #111827;
}
.tvcf-wrap.tvcf-mode-theme .tvcf-ticket-token code{
  background: rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.14);
  color: #111827;
}


/* Creator panel UI polish (readable buttons + centered panel helpers) */
.tvcf-wrap .tvcf-btn:disabled,
.tvcf-wrap .tvcf-btn[disabled],
.tvcf-wrap .button:disabled,
.tvcf-wrap .button[disabled]{
  opacity: .68;
  cursor: not-allowed;
}
.tvcf-wrap.tvcf-mode-glass .tvcf-card .button{
  border:1px solid var(--tvcf-border);
  background: rgba(255,255,255,0.10) !important;
  color: var(--tvcf-text) !important;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}
.tvcf-wrap.tvcf-mode-glass .tvcf-card .button.button-primary{
  background: linear-gradient(180deg,var(--tvcf-gold1),var(--tvcf-gold2)) !important;
  border-color: rgba(199,25,54,0.65) !important;
  color: var(--tvcf-goldText) !important;
}
.tvcf-wrap.tvcf-mode-glass .tvcf-card .button:hover{
  background: rgba(255,255,255,0.14);
}
.tvcf-wrap.tvcf-mode-glass .tvcf-card .button.button-primary:hover{
  filter: brightness(1.03) saturate(1.06);
}

/* --- UX fixes (0.3.10.12) --- */
/* Disabled buttons should still be legible (WP/themes sometimes apply very dark styles). */
.tvcf-wrap .tvcf-btn[disabled],
.tvcf-wrap .tvcf-btn:disabled,
.tvcf-wrap .tvcf-connect[disabled],
.tvcf-wrap .tvcf-disconnect[disabled]{
  opacity:0.75;
  cursor:not-allowed;
}
.tvcf-wrap.tvcf-mode-glass .tvcf-btn[disabled],
.tvcf-wrap.tvcf-mode-glass .tvcf-btn:disabled,
.tvcf-wrap.tvcf-mode-glass .tvcf-btn.button[disabled],
.tvcf-wrap.tvcf-mode-glass .tvcf-btn.button:disabled,
.tvcf-wrap.tvcf-mode-glass .tvcf-btn.button-primary[disabled],
.tvcf-wrap.tvcf-mode-glass .tvcf-btn.button-primary:disabled{
  background:linear-gradient(180deg,rgba(199,25,54,0.65),rgba(168,19,45,0.65)) !important;
  border-color:rgba(199,25,54,0.45) !important;
  color:rgba(27,18,0,0.92) !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow:none;
}

/* --- UX fixes (0.3.10.12) --- */
/* Disabled buttons should still be legible (WP/themes sometimes apply very dark styles). */
.tvcf-wrap .tvcf-btn[disabled],
.tvcf-wrap .tvcf-btn:disabled,
.tvcf-wrap .tvcf-connect[disabled],
.tvcf-wrap .tvcf-disconnect[disabled]{
  opacity:0.75;
  cursor:not-allowed;
}
.tvcf-wrap.tvcf-mode-glass .tvcf-btn[disabled],
.tvcf-wrap.tvcf-mode-glass .tvcf-btn:disabled,
.tvcf-wrap.tvcf-mode-glass .tvcf-connect[disabled],
.tvcf-wrap.tvcf-mode-glass .tvcf-disconnect[disabled]{
  background:linear-gradient(180deg,rgba(199,25,54,0.70),rgba(168,19,45,0.70));
  border-color:rgba(199,25,54,0.55);
  color:rgba(27,18,0,0.92);
  box-shadow:none;
}

/* v0.3.10.19 — Reown chooser-first wallet flow, product-language cleanup, ticketed event types, rewards and creator embeds */
.tvcf-event-type{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.tvcf-badge{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(199,25,54,.35);border-radius:999px;background:rgba(199,25,54,.08);font-size:12px;font-weight:800}.tvcf-card-location{font-size:12px;opacity:.72}.tvcf-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tvcf-event-submit input,.tvcf-event-submit select,.tvcf-event-submit textarea{width:100%;box-sizing:border-box}.tvcf-event-submit hr{border:0;border-top:1px solid rgba(255,255,255,.1);margin:20px 0}.tvcf-location{line-height:1.6}.tvcf-rewards{border:1px solid rgba(199,25,54,.24);border-radius:14px;padding:14px;background:rgba(199,25,54,.035)}.tvcf-rewards-unlocked p{margin:8px 0}.tvcf-creator-embed textarea{width:100%;box-sizing:border-box;border-radius:10px;padding:10px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.tvcf-wallet-signin .tvcf-auth-status{margin-top:8px;opacity:.8}.tvcf-event-submit .description{opacity:.75}.tvcf-event-submit h3 small{opacity:.65;font-weight:500}@media(max-width:720px){.tvcf-two-col{grid-template-columns:1fr}}


/* v0.3.10.20 — creator clips + USDC tips */
.tvcf-content-mode{display:flex;margin:0 0 8px}.tvcf-cta-tip{border-color:rgba(199,25,54,.28)!important}.tvcf-tip-box{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tvcf-tip-btn{appearance:none;border:1px solid rgba(199,25,54,.34);background:rgba(199,25,54,.07);color:inherit;border-radius:999px;padding:9px 13px;font:inherit;font-weight:850;cursor:pointer}.tvcf-tip-btn:hover,.tvcf-tip-btn.is-primary{background:linear-gradient(180deg,#ffd96f,#dfa923);color:#1b1200;border-color:#f2c956}.tvcf-short-video video{width:100%;max-height:74vh;background:#000;object-fit:contain}.tvcf-clips-wrap{max-width:1320px;margin:0 auto}.tvcf-clips-head{padding:10px 4px 20px}.tvcf-clips-head h2{margin:5px 0 6px;font-size:clamp(28px,4vw,48px)}.tvcf-clips-head p{max-width:720px;opacity:.72}.tvcf-kicker{font-size:11px;letter-spacing:.14em;font-weight:900;color:#efc65f}.tvcf-clips{display:grid;gap:22px}.tvcf-clips-feed .tvcf-clips{max-width:520px;margin:0 auto}.tvcf-clips-grid .tvcf-clips,.tvcf-clips-rail .tvcf-clips{grid-template-columns:repeat(4,minmax(0,1fr))}.tvcf-clip{scroll-snap-align:center}.tvcf-clip-media{position:relative;aspect-ratio:9/16;overflow:hidden;border:1px solid rgba(199,25,54,.20);border-radius:22px;background:#050607;box-shadow:0 24px 70px rgba(0,0,0,.35)}.tvcf-clip-media>video,.tvcf-clip-media>img{width:100%;height:100%;object-fit:cover;display:block}.tvcf-clip-gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.86) 86%,#050607)}.tvcf-clip-copy{position:absolute;left:18px;right:18px;bottom:82px;z-index:2}.tvcf-clip-copy h3{margin:8px 0 4px;font-size:22px;line-height:1.08}.tvcf-clip-copy h3 a{color:#fff;text-decoration:none}.tvcf-clip-copy p{margin:0 0 5px;color:rgba(255,255,255,.78);font-size:13px;line-height:1.45}.tvcf-clip-copy small{color:#efc65f}.tvcf-clip-actions{position:absolute;left:16px;right:16px;bottom:22px;z-index:3;display:flex;gap:8px;align-items:center}.tvcf-clip-actions .tvcf-tip-btn.is-primary{flex:1}.tvcf-clip-media>.tvcf-status{position:absolute;right:14px;top:14px;z-index:4;max-width:72%;padding:6px 9px;border-radius:10px;background:rgba(0,0,0,.68);font-size:11px}.tvcf-clips-empty{min-height:220px;display:grid;place-items:center}.tvcf-clips-feed{scroll-snap-type:y proximity}
@media(max-width:1050px){.tvcf-clips-grid .tvcf-clips,.tvcf-clips-rail .tvcf-clips{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.tvcf-clips-grid .tvcf-clips,.tvcf-clips-rail .tvcf-clips{grid-template-columns:1fr}.tvcf-clips-feed .tvcf-clips{max-width:none}.tvcf-clip-media{border-radius:16px}}


/* v0.3.10.24 — external creator widget gallery */
.tvcf-embed-body{margin:0!important;background:transparent!important;overflow:hidden!important;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.tvcf-external-widget{width:100vw;height:100vh;margin:0;padding:0}.tvcf-widget-card{display:flex;width:100%;height:100%;overflow:hidden;box-sizing:border-box;border:1px solid rgba(240,189,69,.28);border-radius:18px;background:linear-gradient(145deg,#0e1014,#07080a);color:#eef0f4;text-decoration:none;box-shadow:0 16px 44px rgba(0,0,0,.34)}.tvcf-widget-card:hover{border-color:rgba(240,189,69,.5)}.tvcf-widget-art{position:relative;flex:0 0 46%;min-height:100%;background:radial-gradient(circle at 50% 30%,rgba(240,189,69,.22),transparent 30%),linear-gradient(145deg,#17130b,#08090b);background-size:cover;background-position:center}.tvcf-widget-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.58))}.tvcf-widget-copy{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:center;padding:24px}.tvcf-widget-brand{color:#e8bd56;font-size:9px;font-weight:950;letter-spacing:.15em}.tvcf-widget-badge{display:inline-flex;align-self:flex-start;margin-top:9px;padding:5px 8px;border:1px solid rgba(240,189,69,.3);border-radius:999px;background:rgba(240,189,69,.07);color:#f0c45b;font-size:9px;font-weight:900;letter-spacing:.08em}.tvcf-widget-copy h1{margin:10px 0 6px;color:#fff;font-size:clamp(20px,3vw,34px);line-height:1.08;letter-spacing:-.025em}.tvcf-widget-copy p{margin:0;color:#aeb4bd;font-size:12px;line-height:1.48}.tvcf-widget-meta{margin-top:9px;color:#d6b45d;font-size:10px;font-weight:850}.tvcf-widget-cta{display:inline-flex;align-self:flex-start;margin-top:16px;padding:9px 13px;border-radius:999px;background:linear-gradient(135deg,#f6cd62,#d99e21);color:#0e0a02;font-size:11px;font-weight:950}.tvcf-widget-compact .tvcf-widget-card{border-radius:14px}.tvcf-widget-compact .tvcf-widget-art{flex-basis:34%}.tvcf-widget-compact .tvcf-widget-copy{padding:16px}.tvcf-widget-compact .tvcf-widget-copy h1{margin-top:7px;font-size:20px}.tvcf-widget-compact .tvcf-widget-copy p{display:none}.tvcf-widget-compact .tvcf-widget-cta{margin-top:10px;padding:7px 10px;font-size:10px}.tvcf-widget-compact .tvcf-widget-badge{margin-top:7px}.tvcf-widget-cta .tvcf-widget-card{align-items:center;min-height:100px;border-radius:999px;padding:12px 14px;background:linear-gradient(135deg,#101115,#08090a)}.tvcf-widget-cta .tvcf-widget-art{display:none}.tvcf-widget-cta .tvcf-widget-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand cta" "title cta";align-items:center;padding:0 6px;column-gap:16px}.tvcf-widget-cta .tvcf-widget-brand{grid-area:brand}.tvcf-widget-cta .tvcf-widget-badge,.tvcf-widget-cta .tvcf-widget-copy p,.tvcf-widget-cta .tvcf-widget-meta{display:none}.tvcf-widget-cta .tvcf-widget-copy h1{grid-area:title;margin:2px 0 0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tvcf-widget-cta .tvcf-widget-cta{grid-area:cta;margin:0;white-space:nowrap}.tvcf-embed-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tvcf-embed-choice{display:flex;min-width:0;flex-direction:column;gap:7px;padding:12px;border:1px solid rgba(199,25,54,.16);border-radius:14px;background:rgba(255,255,255,.025)}.tvcf-embed-choice strong{color:var(--tvcf-text)}.tvcf-embed-choice small{min-height:34px;color:var(--tvcf-muted);line-height:1.4}.tvcf-embed-choice textarea{min-height:92px;resize:vertical}.tvcf-embed-choice .tvcf-btn{align-self:flex-start;text-decoration:none}@media(max-width:720px){.tvcf-embed-choices{grid-template-columns:1fr}.tvcf-widget-showcase .tvcf-widget-card{display:block}.tvcf-widget-showcase .tvcf-widget-art{min-height:180px}.tvcf-widget-showcase .tvcf-widget-copy{padding:16px}.tvcf-widget-cta .tvcf-widget-copy{grid-template-columns:1fr auto}}

/* Fan Passport */
.tvcf-fan-passport{margin:0 0 28px;padding:22px;border:1px solid rgba(246,196,69,.28);border-radius:22px;background:radial-gradient(circle at 10% 0%,rgba(246,196,69,.11),transparent 35%),linear-gradient(145deg,rgba(12,13,17,.98),rgba(18,19,24,.95));box-shadow:0 18px 55px rgba(0,0,0,.28)}
.tvcf-passport-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.tvcf-passport-head h3{font-size:26px;margin:4px 0 7px}.tvcf-passport-head p{max-width:720px;margin:0;color:#b6bac4}.tvcf-passport-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-top:18px}.tvcf-passport-stats>div{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035)}.tvcf-passport-stats span{display:block;color:#9ea3ae;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.tvcf-passport-stats strong{display:block;color:#f6c445;font-size:24px;margin-top:5px}.tvcf-passport-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tvcf-passport-badge{display:flex;flex-direction:column;gap:2px;min-width:170px;padding:10px 13px;border-radius:999px;border:1px solid rgba(246,196,69,.28);background:rgba(246,196,69,.07)}.tvcf-passport-badge b{color:#f7cf62;font-size:12px;text-transform:uppercase;letter-spacing:.07em}.tvcf-passport-badge small,.tvcf-passport-start{color:#aeb3bd;font-size:11px}.tvcf-passport-status{min-height:18px;margin-top:10px;color:#d8bd68;font-size:12px}.tvcf-passport-empty{display:flex;gap:10px;align-items:center;margin-top:16px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.13)}.tvcf-passport-empty strong{color:#f6c445}.tvcf-passport-empty span{color:#afb4be}
@media(max-width:900px){.tvcf-passport-stats{grid-template-columns:repeat(2,1fr)}.tvcf-passport-head{flex-direction:column}.tvcf-passport-head .tvcf-btn{width:100%}}
.tvcf-passport-empty>div:first-child{display:flex;flex-direction:column;gap:3px;flex:1}.tvcf-passport-empty .tvcf-auth-status{min-height:0}.tvcf-passport-empty .tvcf-btn{margin-left:auto;white-space:nowrap}@media(max-width:700px){.tvcf-passport-empty{align-items:stretch;flex-direction:column}.tvcf-passport-empty .tvcf-btn{margin-left:0;width:100%}}

/* Content Rights Registry */
.tvcf-rights-badge{display:inline-flex;align-items:center;gap:6px;margin:5px 0 9px;padding:6px 10px;border:1px solid rgba(246,196,69,.28);border-radius:999px;background:rgba(246,196,69,.07);color:#f0ca66!important;font-size:11px!important;font-weight:850;letter-spacing:.02em}.tvcf-rights-badge.is-verified{border-color:rgba(246,196,69,.55);background:linear-gradient(135deg,rgba(246,196,69,.17),rgba(161,104,11,.09));box-shadow:0 0 18px rgba(246,196,69,.10)}.tvcf-rights-badge.needs-review{border-color:rgba(216,136,52,.5);color:#e7a653!important;background:rgba(216,136,52,.08)}

/* v0.3.10.38 — 21+ trusted-host publishing + protected sharing */
.tvcf-age-gate{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,3,5,.94);backdrop-filter:blur(12px)}
.tvcf-age-card{width:min(480px,94vw);padding:28px;border:1px solid rgba(246,196,69,.34);border-radius:24px;background:linear-gradient(145deg,#111318,#08090c);color:#f5f7fa;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.65)}
.tvcf-age-card h2{margin:10px 0 8px;font-size:clamp(26px,5vw,38px);line-height:1.05}.tvcf-age-card p{margin:0 auto 20px;max-width:390px;color:#b9bec8;line-height:1.5}.tvcf-age-card small{display:block;margin-top:18px;color:#8f96a2;line-height:1.45}.tvcf-age-mark{display:inline-grid;place-items:center;width:72px;height:72px;border:2px solid #f2c85c;border-radius:50%;color:#f5ce67;font-size:25px;font-weight:950;box-shadow:0 0 32px rgba(246,196,69,.13)}
.tvcf-age-card .tvcf-age-yes{width:100%;justify-content:center;font-size:16px;padding:13px 18px}.tvcf-age-exit{margin-top:10px;border:0;background:transparent;color:#aeb4bf;text-decoration:underline;cursor:pointer}
.tvcf-simple-studio{max-width:880px!important}.tvcf-studio-hero{padding:24px!important}.tvcf-studio-hero h2{margin:10px 0 8px;font-size:clamp(30px,5vw,46px);line-height:1.03}.tvcf-studio-hero p{max-width:720px;font-size:16px;line-height:1.55}.tvcf-studio-wallet{margin-top:14px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.04);font-size:12px;overflow-wrap:anywhere}.tvcf-step-num{float:right;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(246,196,69,.13);border:1px solid rgba(246,196,69,.3);color:#f4ca61;font-weight:950}.tvcf-simple-studio .tvcf-card{padding:20px!important;margin-bottom:16px}.tvcf-simple-studio .tvcf-card h3{margin:0 0 14px;font-size:23px}.tvcf-publish-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tvcf-publish-type{position:relative;display:flex;min-height:112px;flex-direction:column;justify-content:center;gap:5px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.025);cursor:pointer;transition:.16s ease}.tvcf-publish-type input{position:absolute;opacity:0;pointer-events:none}.tvcf-publish-type strong{font-size:17px}.tvcf-publish-type small{opacity:.7;line-height:1.35}.tvcf-publish-type.is-selected{border-color:rgba(246,196,69,.7);background:rgba(246,196,69,.1);box-shadow:0 0 0 2px rgba(246,196,69,.06) inset}.tvcf-big-field{display:block}.tvcf-big-field>span{display:block;margin-bottom:7px;font-weight:850}.tvcf-big-field input{width:100%;box-sizing:border-box;font-size:18px!important;padding:14px 15px!important;border-radius:14px!important}.tvcf-quick-publish-form{display:grid;gap:14px}.tvcf-quick-publish-form label{display:grid;gap:6px;font-weight:760}.tvcf-quick-publish-form input,.tvcf-quick-publish-form textarea,.tvcf-quick-publish-form select{width:100%;box-sizing:border-box;padding:11px 12px;border-radius:12px}.tvcf-checkline{display:flex!important;align-items:flex-start;gap:10px;margin:12px 0;font-weight:650}.tvcf-checkline input{margin-top:3px;transform:scale(1.15)}.tvcf-simple-studio #tvcf_qp_publish{width:100%;justify-content:center;margin-top:8px;padding:13px 18px;font-size:16px}.tvcf-simple-studio #tvcf_qp_status{margin-top:12px;min-height:22px;font-weight:700}.tvcf-simple-studio #tvcf_qp_status a{color:#f3c85d}.tvcf-adult-badge{margin-left:7px;border-color:rgba(232,92,92,.42)!important;background:rgba(232,92,92,.09)!important;color:#ffb2b2!important}.tvcf-player-frame{width:100%;aspect-ratio:16/9;background:#000;border:0;border-radius:12px}.tvcf-short-video iframe,.tvcf-clip-media>iframe{width:100%;height:100%;border:0;display:block;background:#000}.tvcf-studio-help{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tvcf-studio-help .tvcf-note{flex-basis:100%}
@media(max-width:700px){.tvcf-publish-types{grid-template-columns:1fr}.tvcf-publish-type{min-height:84px}.tvcf-simple-studio .tvcf-card{padding:16px!important}.tvcf-studio-hero h2{font-size:32px}}


/* Protected sharing + creator education */
.tvcf-player-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 12px}.tvcf-player-tools .tvcf-btn{padding:8px 12px}.tvcf-share-status{color:var(--tvcf-muted);font-size:12px;line-height:1.35;flex:1;min-width:180px}.tvcf-protect-tip{display:grid;gap:5px;margin-top:12px;padding:13px 14px;border:1px solid rgba(246,196,69,.25);border-radius:14px;background:rgba(246,196,69,.065);line-height:1.45}.tvcf-protect-tip strong{color:#f4cc67;font-size:14px}.tvcf-protect-tip span{color:var(--tvcf-muted);font-size:12px}.tvcf-protected-share-note{margin-top:10px;color:var(--tvcf-muted);font-size:12px;line-height:1.45}.tvcf-event-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#000}.tvcf-film-head>.tvcf-player-tools{margin-top:8px}.tvcf-event>.tvcf-container>.tvcf-player-tools{margin:10px 0 14px}
@media(max-width:620px){.tvcf-player-tools .tvcf-btn{flex:1 1 auto;justify-content:center}.tvcf-share-status{flex-basis:100%}}

/* v0.3.10.39 — protected one-guest sharing */
.tvcf-guest-creator-setting{display:grid;gap:8px;padding:14px;border:1px solid rgba(246,196,69,.22);border-radius:14px;background:rgba(246,196,69,.055)}
.tvcf-guest-creator-setting .tvcf-checkline{margin:0}.tvcf-guest-creator-setting .tvcf-checkline span{display:grid;gap:2px}.tvcf-guest-creator-setting .tvcf-checkline small{font-weight:500;opacity:.72}.tvcf-guest-duration{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.tvcf-guest-duration select{max-width:180px}
.tvcf-guest-share-panel{gap:12px;margin:12px 0 4px;padding:16px;border:1px solid rgba(246,196,69,.30);border-radius:16px;background:linear-gradient(145deg,rgba(246,196,69,.10),rgba(255,255,255,.025))}.tvcf-guest-share-panel p{margin:4px 0 0;color:var(--tvcf-muted);font-size:12px;line-height:1.45}.tvcf-guest-share-panel label{display:grid;gap:6px;font-size:12px;font-weight:800}.tvcf-guest-share-link{width:100%;box-sizing:border-box;padding:10px 11px;border-radius:10px}.tvcf-guest-code-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(0,0,0,.20)}.tvcf-guest-code-row span{font-size:12px;opacity:.75}.tvcf-guest-share-code{font-size:26px;letter-spacing:.18em;color:#f4cc67}.tvcf-guest-share-actions{display:flex;gap:8px;flex-wrap:wrap}.tvcf-guest-expiry{opacity:.7}
.tvcf-guest-redeem{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin:18px 0;padding:18px;border:1px solid rgba(246,196,69,.34);border-radius:18px;background:linear-gradient(145deg,rgba(246,196,69,.11),rgba(255,255,255,.025));box-shadow:0 12px 34px rgba(0,0,0,.16)}.tvcf-guest-redeem-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:1px solid rgba(246,196,69,.52);color:#f4cc67;font-size:22px;font-weight:950}.tvcf-guest-redeem-copy strong{font-size:17px}.tvcf-guest-redeem-copy p{margin:5px 0 0;color:var(--tvcf-muted);font-size:12px;line-height:1.45}.tvcf-guest-redeem-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(150px,220px) auto;gap:10px}.tvcf-guest-code-input{padding:12px 14px!important;border-radius:12px!important;font-size:22px!important;letter-spacing:.15em;text-align:center}.tvcf-guest-redeem-status,.tvcf-guest-redeem>.tvcf-auth-status{grid-column:1/-1;min-height:18px;font-size:12px;color:#f4cc67}.tvcf-guest-redeem>.tvcf-auth-connect{grid-column:1/-1;justify-content:center}.tvcf-guest-share-btn{white-space:nowrap}
@media(max-width:620px){.tvcf-guest-duration{align-items:stretch;flex-direction:column}.tvcf-guest-duration select{max-width:none}.tvcf-guest-redeem{grid-template-columns:1fr;text-align:center}.tvcf-guest-redeem-icon{margin:auto}.tvcf-guest-redeem-form{grid-template-columns:1fr}.tvcf-guest-share-actions .tvcf-btn{flex:1 1 auto}.tvcf-guest-code-row{flex-direction:column}.tvcf-guest-share-code{font-size:24px}}

.tvcf-account-page{max-width:760px;margin:20px auto;padding:clamp(16px,3vw,30px)}
.tvcf-account-page input.tvcf-username{width:min(100%,300px);margin:8px 6px 8px 0;padding:10px 12px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:var(--tvcf-card,#15161b);color:var(--tvcf-text,#f5f5f7)}
.tvcf-account-page code{overflow-wrap:anywhere}.tvcf-account-page hr{margin:24px 0;border:0;border-top:1px solid rgba(255,255,255,.15)}
.tvcf-account-page button:disabled{opacity:.55;cursor:not-allowed}.tvcf-account-page .tvcf-auth-status{overflow-wrap:anywhere}

/* 0.3.10.52 — Fan Passport: self-contained dark surface, independent of saved legacy text colors. */
body .tvcf-fan-passport {
  --tvcf-text: #f5f5f7;
  --tvcf-muted: #c4c9d3;
  --tvcf-goldText: #ffffff;
  color: #f5f5f7 !important;
  background: linear-gradient(145deg,#19171c,#101218) !important;
  border-color: #66543a;
  box-sizing: border-box;
  min-width: 0;
}
body .tvcf-fan-passport .tvcf-passport-head > div { min-width:0; flex:1; }
body .tvcf-fan-passport .tvcf-passport-head h3 { color:#f5f5f7 !important; font-size:clamp(21px,2.8vw,26px); line-height:1.25; }
body .tvcf-fan-passport .tvcf-kicker { color:#f6ce81 !important; font-size:12px; font-weight:750; letter-spacing:.12em; }
body .tvcf-fan-passport .tvcf-passport-head p,
body .tvcf-fan-passport .tvcf-passport-empty span,
body .tvcf-fan-passport .tvcf-passport-badge small,
body .tvcf-fan-passport .tvcf-passport-start { color:#c4c9d3 !important; font-size:14px; line-height:1.55; }
body .tvcf-fan-passport .tvcf-passport-stats { grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr)); gap:10px; }
body .tvcf-fan-passport .tvcf-passport-stats > div { min-width:0; box-sizing:border-box; background:#202229; border-color:#454853; padding:14px 12px; }
body .tvcf-fan-passport .tvcf-passport-stats span { color:#d0d4dc !important; font-size:12px; line-height:1.4; letter-spacing:.04em; overflow-wrap:anywhere; }
body .tvcf-wrap .tvcf-fan-passport .tvcf-passport-stats strong,
body .tvcf-fan-passport .tvcf-passport-stats strong { color:#f6ce81 !important; font-size:24px; line-height:1.25; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
body .tvcf-wrap .tvcf-fan-passport .tvcf-passport-empty strong,
body .tvcf-fan-passport .tvcf-passport-empty strong,
body .tvcf-fan-passport .tvcf-passport-badge b { color:#f6ce81 !important; }
body .tvcf-fan-passport .tvcf-passport-badge { min-width:0; max-width:100%; border-radius:12px; overflow-wrap:anywhere; }
body .tvcf-fan-passport .tvcf-passport-status,
body .tvcf-fan-passport .tvcf-auth-status { color:#e8d7b1 !important; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
body .tvcf-fan-passport .tvcf-btn,
body .tvcf-wrap.tvcf-mode-glass .tvcf-fan-passport .tvcf-btn { color:#fff !important; background:#b51634 !important; border-color:#e75a70 !important; min-height:44px; flex-shrink:0; line-height:1.3; font-weight:700; }
body .tvcf-fan-passport .tvcf-btn:not(:disabled):hover { background:#a0142d !important; }
body .tvcf-wrap.tvcf-mode-glass .tvcf-fan-passport .tvcf-btn:disabled,
body .tvcf-fan-passport .tvcf-btn:disabled { color:#e1e2e6 !important; background:#43454e !important; border-color:#676a76 !important; opacity:1 !important; cursor:not-allowed; }
body .tvcf-fan-passport .tvcf-btn:focus-visible,
body .tvcf-account-dashboard > p a:focus-visible { outline:3px solid #f6ce81 !important; outline-offset:3px; }
body .tvcf-wrap .tvcf-account-dashboard > p { color:#e6e7eb !important; line-height:1.6; }
body .tvcf-wrap .tvcf-account-dashboard > p a { color:#ff9bab !important; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:520px){body .tvcf-fan-passport{padding:16px;}body .tvcf-fan-passport .tvcf-passport-head{gap:14px;}body .tvcf-fan-passport .tvcf-passport-stats{gap:8px;}}
/* v0.3.10.53: keep the remaining passport text readable in theme/glass modes. */
body .tvcf-wrap section.tvcf-fan-passport[data-tvcf-fan-passport] .tvcf-passport-head .tvcf-kicker {color:#f6ce81!important;opacity:1!important;}
body .tvcf-wrap section.tvcf-fan-passport[data-tvcf-fan-passport] .tvcf-passport-badges .tvcf-passport-start {color:#c4c9d3!important;opacity:1!important;}
body .tvcf-wrap section.tvcf-fan-passport[data-tvcf-fan-passport] .tvcf-passport-status[aria-live] {color:#e8d7b1!important;opacity:1!important;}
.tvcf-pmn-context .tvcf-pmn-return {margin-top:16px;padding-top:12px;border-top:1px solid #6a6671;}
.tvcf-pmn-context .tvcf-pmn-return form {display:grid;gap:10px;}
.tvcf-pmn-context .tvcf-pmn-return textarea {box-sizing:border-box;width:100%;max-width:100%;white-space:pre-wrap;color:#f4f4f7;background:#181a22;border:1px solid #777987;padding:10px;}
.tvcf-pmn-context .tvcf-pmn-return input[type=file] {max-width:100%;}
