:root{
  --bg:#0b0f17;
  --surface:#101826;
  --surface-2:#162033;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.15);
  --text:#eef3fb;
  --muted:#9fb0c9;
  --accent:#ff2d55;
  --accent-soft:rgba(255,45,85,.14);
  --success:#16a34a;
  --success-soft:rgba(34,197,94,.12);
  --danger:#ef4444;
  --shadow:0 18px 40px rgba(0,0,0,.28);
  --radius:28px;
  --max:1680px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#09111c,#0b0f17 28%,#0b0f17);color:var(--text);font:400 16px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block} video{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
small.ct-helper{display:block;margin-top:10px;color:var(--muted)}
.ct-google-oauth{margin-top:14px;width:100%}
input,select,textarea{width:100%;padding:14px 16px;border-radius:18px;border:1px solid var(--line-strong);background:rgba(255,255,255,.04);color:var(--text);outline:none}
input:focus,select:focus,textarea:focus{border-color:rgba(255,255,255,.28);box-shadow:0 0 0 3px rgba(255,255,255,.05)}
textarea{resize:vertical;min-height:150px}
.ct-app{display:flex;min-height:100vh}.ct-sidebar{position:sticky;top:0;height:100vh;flex:0 0 270px;padding:24px 18px;border-right:1px solid var(--line);background:rgba(10,14,22,.92);backdrop-filter:blur(18px);overflow-y:auto}
.ct-logo{font-weight:800;font-size:1.3rem;letter-spacing:.02em}.ct-logo--desktop{display:inline-flex;margin-bottom:22px}.ct-nav{display:flex;flex-direction:column;gap:8px}
.ct-nav__item{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;color:var(--muted);transition:.2s ease}.ct-nav__item:hover,.ct-nav__item.is-active{background:rgba(255,255,255,.05);color:#fff}
.ct-main-shell{min-width:0;flex:1}.ct-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:18px;justify-content:space-between;padding:18px 28px;border-bottom:1px solid var(--line);background:rgba(11,15,23,.8);backdrop-filter:blur(18px)}
.ct-topbar__left,.ct-topbar__right{display:flex;align-items:center;gap:12px}.ct-search{max-width:680px;flex:1}.ct-search input{background:rgba(255,255,255,.05)}.ct-main{padding:28px;max-width:var(--max);width:100%}
.ct-section,.ct-upload-page,.ct-shorts,.ct-watch,.ct-studio-page,.ct-channel{display:flex;flex-direction:column;gap:20px}.ct-section__header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.ct-section__header--tight{margin-bottom:4px}
.ct-section__header h1,.ct-section__header h2{margin:0;font-size:clamp(1.6rem,2.5vw,2.35rem)}.ct-section__header p{margin:6px 0 0;color:var(--muted);max-width:780px}
.ct-brow{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--accent-soft);color:#ffd3dc;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}
.ct-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ct-card,.ct-panel,.ct-player-shell,.ct-auth-card,.ct-channel__hero,.ct-short-card,.ct-studio-table-wrap,.ct-studio-stat,.ct-channel-card,.ct-notification-card,.ct-comment-card{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.ct-card{overflow:hidden}.ct-card__media{position:relative;display:block;background:#000;aspect-ratio:16/9}.ct-card__media img,.ct-card__video{width:100%;height:100%;object-fit:cover}.ct-card__empty{display:grid;place-items:center;height:100%;color:var(--muted)}
.ct-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.72);font-size:.78rem;font-weight:700;backdrop-filter:blur(10px)}.ct-card__media .ct-badge{position:absolute;left:14px;bottom:14px}
.ct-card__body{padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.ct-card__meta{display:flex;gap:12px;min-width:0}.ct-card__meta h3{margin:0 0 6px;font-size:1rem;line-height:1.35}.ct-card__meta p{margin:0 0 4px;color:var(--muted)}.ct-card__meta small{color:var(--muted)}
.ct-avatar{border-radius:50%;object-fit:cover;background:#111a28}.ct-card__actions,.ct-watch__actions,.ct-stack-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ct-icon-btn,.ct-pill,.ct-quick-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:999px;border:1px solid var(--line-strong);background:rgba(255,255,255,.04);color:#fff;cursor:pointer;transition:.2s ease;line-height:1}
.ct-icon-btn:hover,.ct-pill:hover,.ct-quick-link:hover{background:rgba(255,255,255,.08)}.ct-icon-btn.is-active,.ct-pill.is-active{background:var(--accent-soft);border-color:rgba(255,45,85,.38);color:#ffd6df}.ct-pill--dark{background:#fff;color:#071018;border-color:#fff;font-weight:700}.ct-pill--dark:hover{background:#f3f6fb}
.ct-notify{display:inline-flex;align-items:center;gap:10px;padding:12px 15px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line)}.ct-notify span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:#09111c;font-size:.78rem;font-weight:700}
.ct-card__actions{flex-shrink:0;justify-content:flex-end}.ct-card__actions .ct-icon-btn{min-height:44px;padding:10px 12px}.ct-card__actions .ct-icon-btn:last-child{min-width:44px;padding-inline:12px}
.ct-notify__label{font-size:1rem}
.ct-chip-row{display:flex;gap:10px;flex-wrap:wrap}.ct-chip{display:inline-flex;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted)}.ct-chip.is-active{background:#fff;color:#09111c;font-weight:700}
.ct-subsection{display:flex;flex-direction:column;gap:16px}.ct-channel-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ct-channel-card{padding:18px;display:flex;align-items:center;gap:14px}.ct-channel-card h3{margin:0 0 4px}.ct-channel-card p,.ct-channel-card small{margin:0;color:var(--muted)}
.ct-player-shell,.ct-panel,.ct-auth-card,.ct-short-card,.ct-channel__hero,.ct-studio-table-wrap,.ct-studio-stat{padding:22px}.ct-watch{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:24px}.ct-player-shell{padding:18px}.ct-player{width:100%;aspect-ratio:16/9;background:#000;border-radius:22px}
.ct-empty-player{aspect-ratio:16/9;display:grid;place-items:center;background:#000;border-radius:22px;color:var(--muted)}.ct-empty-player--short{aspect-ratio:9/16}.ct-lock-panel{padding:18px 6px 0}.ct-lock-panel h2{margin:0 0 8px}.ct-lock-panel p{margin:0;color:var(--muted)}
.ct-lock-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}#ct-paypal-area{margin-top:16px}.ct-watch__meta h1{margin:10px 0 12px;font-size:clamp(1.45rem,2vw,2rem)}.ct-watch__stats{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted)}
.ct-channel-inline{display:flex;align-items:center;gap:14px;padding:16px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.ct-channel-inline .ct-pill{margin-left:auto}.ct-description{color:#d7dfeb}.ct-description p{margin:0 0 14px}
.ct-suggested-list{display:flex;flex-direction:column;gap:14px}.ct-suggested-list .ct-card{display:grid;grid-template-columns:220px minmax(0,1fr)}.ct-suggested-list .ct-card__media{aspect-ratio:16/10}
.ct-comments{display:flex;flex-direction:column;gap:16px}.ct-comment-list{display:flex;flex-direction:column;gap:12px}.ct-comment-card{padding:16px;display:flex;gap:14px}.ct-comment-card strong{display:block;margin-bottom:4px}.ct-comment-card small{display:block;margin-bottom:10px;color:var(--muted)}
.ct-comment-form .comment-form-comment label{display:block;margin-bottom:8px;font-weight:600}.ct-comment-form .comment-form-comment textarea{margin-top:6px}.ct-comment-form .form-submit{margin:0}
.ct-shorts-feed{display:flex;flex-direction:column;gap:18px}.ct-short-card{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);gap:20px;overflow:hidden}.ct-short-card__video video{width:100%;height:100%;aspect-ratio:9/16;object-fit:cover;border-radius:22px;background:#000}
.ct-short-card__meta{display:flex;flex-direction:column;justify-content:space-between;gap:18px;padding:8px 4px 8px 0}.ct-short-card__meta h2{margin:10px 0 8px}.ct-short-card__meta p,.ct-short-card__meta small{margin:0;color:var(--muted)}
.ct-upload-grid,.ct-studio-settings{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.ct-upload-form .ct-panel{display:flex;flex-direction:column;gap:14px}.ct-upload-note{padding:16px;border-radius:20px;background:rgba(94,234,212,.08);border:1px solid rgba(94,234,212,.18);color:#dbfffb}.ct-media-preview{display:flex;align-items:center;gap:12px;min-height:72px}
.ct-channel__hero{min-height:310px;background-size:cover;background-position:center;overflow:hidden;padding:0}.ct-channel__overlay{display:flex;align-items:flex-end;gap:18px;min-height:310px;padding:28px;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.78))}.ct-channel__overlay .ct-pill{margin-left:auto}.ct-channel__content{max-width:760px}
.ct-auth-wrap{display:grid;place-items:center;min-height:calc(100vh - 160px)}.ct-auth-card{max-width:960px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:28px}.ct-auth-card__intro h1{margin:0 0 10px;font-size:clamp(1.8rem,3vw,2.5rem)}.ct-auth-card__intro p{margin:0;color:var(--muted)}.ct-auth-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px;color:var(--muted)}.ct-auth-form>*+*{margin-top:12px}.ct-google-slot{margin-top:16px}
.ct-error,.ct-success{display:block;padding:14px 16px;border-radius:18px;margin:0 0 14px}.ct-error{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.22);color:#fecaca}.ct-success{background:var(--success-soft);border:1px solid rgba(34,197,94,.22);color:#d1fae5}
.ct-studio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.ct-studio-stat strong{display:block;font-size:1.7rem;line-height:1.1;margin-bottom:8px}.ct-studio-stat span{color:var(--muted)}.ct-studio-table{width:100%;border-collapse:collapse}.ct-studio-table th,.ct-studio-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.ct-studio-table td{color:#d7dfeb}
.ct-quick-links{display:grid;grid-template-columns:1fr;gap:12px}.ct-quick-link{justify-content:flex-start;border-radius:20px}.ct-notification-list{display:flex;flex-direction:column;gap:14px}.ct-notification-card{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.ct-notification-card h3{margin:0 0 6px}.ct-notification-card p{margin:0 0 6px;color:#d7dfeb}.ct-notification-card small{color:var(--muted)}.ct-notification-card.is-read{opacity:.88}
.ct-empty-state{display:grid;gap:12px;justify-items:start}.ct-empty-state--small{padding:18px}.ct-empty-state h3{margin:0}.ct-empty-state p{margin:0;color:var(--muted)}.ct-mobile-nav{display:none}
@media (max-width:1400px){.ct-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1200px){.ct-watch{grid-template-columns:1fr}.ct-channel-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1024px){.ct-sidebar{flex-basis:86px;width:86px;padding-inline:12px}.ct-logo--desktop,.ct-nav__item strong{display:none}.ct-nav__item{justify-content:center}.ct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-auth-card,.ct-upload-grid,.ct-studio-settings,.ct-short-card,.ct-studio-grid{grid-template-columns:1fr 1fr}}
@media (max-width:780px){.ct-sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;height:auto;width:100%;padding:0;border-right:none;border-top:1px solid var(--line);z-index:50;background:rgba(7,11,18,.96)}.ct-nav,.ct-logo--desktop{display:none}.ct-mobile-nav{display:grid;grid-template-columns:repeat(5,1fr)}.ct-mobile-nav a{padding:11px 0;text-align:center;color:var(--muted);font-size:.84rem}.ct-mobile-nav a.is-active{color:#fff;background:rgba(255,255,255,.05)}.ct-topbar{padding:14px 14px;gap:10px}.ct-search{display:none}.ct-main{padding:18px 16px 92px}.ct-grid,.ct-auth-card,.ct-upload-grid,.ct-studio-settings,.ct-studio-grid,.ct-channel-list,.ct-short-card{grid-template-columns:1fr}.ct-suggested-list .ct-card{grid-template-columns:1fr}.ct-channel__overlay{align-items:flex-start;flex-direction:column}.ct-channel__overlay .ct-pill,.ct-channel-inline .ct-pill{margin-left:0}.ct-topbar__right .ct-pill{display:none}.ct-notify{padding:10px 12px}.ct-notify__label{display:none}}
@media (max-width:560px){.ct-card,.ct-panel,.ct-player-shell,.ct-auth-card,.ct-channel__hero,.ct-short-card,.ct-studio-table-wrap,.ct-studio-stat,.ct-channel-card,.ct-notification-card,.ct-comment-card{border-radius:22px}.ct-card__body,.ct-panel,.ct-player-shell,.ct-notification-card,.ct-comment-card{padding:16px}.ct-topbar{padding:14px 12px}.ct-main{padding:16px 12px 96px}.ct-watch__stats,.ct-card__actions,.ct-watch__actions,.ct-stack-actions,.ct-lock-actions,.ct-auth-links{gap:8px}.ct-short-card__video video{border-radius:18px}}

@media (max-width:560px){
  body{font-size:15px}
  .ct-logo{font-size:1rem}
  .ct-section__header h1,.ct-section__header h2{font-size:1.42rem}
  .ct-section__header p{font-size:.95rem}
  .ct-pill,.ct-icon-btn{padding:9px 11px;font-size:.9rem}
  .ct-notify{padding:9px 10px}
  .ct-notify__label{display:none}
  .ct-notify span{min-width:20px;height:20px}
  .ct-card__actions .ct-icon-btn{padding:9px 10px;min-height:40px}
  .ct-topbar{min-height:54px}
}

@media (max-width:420px){
  .ct-topbar{padding:10px 10px}
  .ct-main{padding:14px 10px 88px}
  .ct-pill,.ct-icon-btn{padding:8px 10px;font-size:.88rem}
  .ct-card__body{gap:10px;align-items:flex-start}
  .ct-card__actions{gap:8px}
}

.ct-plan-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:18px}
.ct-plan-card{border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px;background:rgba(255,255,255,.03);display:grid;gap:8px}
.ct-plan-card strong{font-size:1rem}
.ct-plan-card small{opacity:.78}

.ct-panel--studio-metrics{overflow:hidden}
.ct-inline-note{padding:14px 16px;border-radius:18px;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.18);color:#dbeafe;font-size:.95rem}
.ct-studio-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.ct-studio-toolbar__chips{display:flex;gap:10px;flex-wrap:wrap}.ct-studio-toolbar__summary{color:var(--muted)}
.ct-studio-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:18px}.ct-break-card{padding:18px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.03)}.ct-break-card strong{display:block;margin-bottom:8px}.ct-break-card span{display:block;font-size:1.15rem;font-weight:700;margin-bottom:6px}.ct-break-card small{color:var(--muted)}
.ct-channel-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.ct-channel-layout__main,.ct-channel-layout__aside{display:flex;flex-direction:column;gap:22px}
.ct-featured-video__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:18px}.ct-featured-video__media{position:relative;display:block;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#000}.ct-featured-video__media img{width:100%;height:100%;object-fit:cover}.ct-featured-video__media .ct-badge{position:absolute;left:14px;bottom:14px}.ct-featured-video__meta{display:flex;flex-direction:column;justify-content:center;gap:14px}.ct-featured-video__meta h3{margin:0;font-size:1.5rem}.ct-featured-video__meta p{margin:0;color:#d7dfeb}
.ct-chip-row--notifications{margin-bottom:18px}
.ct-notification-card{align-items:flex-start}.ct-notification-card__body{display:flex;gap:14px;align-items:flex-start;min-width:0}.ct-notification-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.ct-notification-icon{width:14px;height:14px;border-radius:999px;flex:0 0 auto;margin-top:8px;background:#94a3b8}.ct-notification-icon--follow{background:#38bdf8}.ct-notification-icon--like{background:#fb7185}.ct-notification-icon--unlock_sale{background:#22c55e}.ct-notification-icon--subscription{background:#f59e0b}
.ct-plan-list--creator{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.ct-plan-list--stacked{grid-template-columns:1fr}.ct-plan-list--inline{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:18px}.ct-plan-card{transition:.2s ease}.ct-plan-card:hover{transform:translateY(-1px);background:rgba(255,255,255,.05)}.ct-plan-card.is-default{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.06)}.ct-plan-card__head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.ct-plan-card p{margin:0;color:#d7dfeb}.ct-plan-card__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.ct-badge--solid{background:#fff;color:#09111c}.ct-pill.ct-pill--ghost{background:transparent;color:#e5ebf5}.ct-pill.is-selected{background:rgba(94,234,212,.14);border-color:rgba(94,234,212,.3);color:#dbfffb}
.ct-media-preview span{color:var(--muted);font-size:.95rem}
.ct-search input{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}.ct-topbar__left{display:flex;align-items:center;gap:12px}.ct-logo{font-weight:800;letter-spacing:-.03em}
@media (max-width:1200px){.ct-channel-layout{grid-template-columns:1fr}.ct-featured-video__grid{grid-template-columns:1fr}}
@media (max-width:780px){.ct-studio-toolbar,.ct-notification-card{align-items:stretch}.ct-notification-actions{justify-content:flex-start}.ct-featured-video__meta h3{font-size:1.2rem}}
.ct-pill--compact{padding:10px 16px;font-size:.94rem}.ct-account-page{display:grid;gap:22px}.ct-account-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ct-account-stat{display:grid;gap:6px}.ct-account-stat span{font-size:.9rem;color:var(--muted)}.ct-account-stat strong{font-size:1.8rem;line-height:1.1}.ct-account-stat small{color:var(--muted)}.ct-account-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:20px}.ct-account-list{display:grid;gap:14px}.ct-account-list--compact{gap:10px}.ct-account-item{display:flex;justify-content:space-between;gap:14px;padding:16px 0;border-top:1px solid rgba(255,255,255,.07)}.ct-account-item:first-child{border-top:0;padding-top:0}.ct-account-item p,.ct-account-item small{margin:0;color:var(--muted)}.ct-account-item__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ct-account-item--compact{align-items:center}.ct-admin-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ct-admin-toolbar label{display:flex;gap:8px;align-items:center;font-weight:600}.ct-admin-panel code{white-space:pre-wrap}.ct-mobile-nav{grid-template-columns:repeat(7,minmax(0,1fr))}
@media (max-width:1024px){.ct-account-layout{grid-template-columns:1fr}.ct-account-overview{grid-template-columns:1fr 1fr}}
@media (max-width:680px){.ct-account-overview{grid-template-columns:1fr}.ct-account-item{flex-direction:column;align-items:flex-start}.ct-account-item__actions{width:100%}.ct-account-item__actions .ct-pill,.ct-account-item__actions form{width:100%}.ct-account-item__actions form .ct-pill{width:100%}.ct-topbar__right{gap:8px}.ct-topbar .ct-pill--compact{padding:9px 12px;font-size:.86rem}.ct-topbar{padding:12px 14px}.ct-search input{padding:11px 14px}.ct-mobile-nav{gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))}.ct-mobile-nav a{font-size:1rem;padding:9px 0;border-radius:12px}}
@media (max-width:460px){.ct-topbar__right .ct-pill--compact{display:none}.ct-notify{padding:10px 12px;min-width:auto}.ct-notify__label{display:none}.ct-logo{font-size:1.1rem}.ct-section__header h1{font-size:2rem}.ct-account-item{padding:12px 0}.ct-mobile-nav{grid-template-columns:repeat(7,minmax(0,1fr))}}

.ct-studio-export-row{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 4px}.ct-member-list{display:grid;gap:14px}.ct-member-card{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.025)}.ct-member-card__main{display:flex;gap:14px;align-items:flex-start}.ct-member-card__main p{margin:0;color:var(--muted)}.ct-member-card__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ct-chip span{opacity:.8}@media (max-width:780px){.ct-studio-export-row{flex-direction:column}.ct-studio-export-row form,.ct-studio-export-row .ct-pill{width:100%}.ct-member-card{flex-direction:column}.ct-member-card__actions{width:100%}.ct-member-card__actions .ct-pill{width:100%}}/* Phase 7 — watch page refresh */
.ct-watch--v2{gap:26px}
.ct-player-shell--watch{position:relative;overflow:hidden}
.ct-watch__meta--v2{display:grid;gap:16px}
.ct-watch-card{padding:18px;border-radius:24px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}
.ct-watch-card--title h1{margin:10px 0 10px;font-size:clamp(1.55rem,2.2vw,2.2rem);letter-spacing:-.015em}
.ct-watch-badge-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-watch-published{color:var(--muted);font-size:.95rem}
.ct-watch__actions--v2{gap:10px}
.ct-watch__actions--v2 .ct-icon-btn{padding:10px 14px;border-radius:16px}
.ct-watch__actions--v2 .ct-icon-btn[data-ct-copy-link]{font-weight:600}
.ct-channel-inline--watch{align-items:center}
.ct-support-creator{margin-top:14px}
.ct-support-creator > summary{cursor:pointer;list-style:none;font-weight:700;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}
.ct-support-creator[open] > summary{background:rgba(255,255,255,.05)}
.ct-support-creator > summary::-webkit-details-marker{display:none}
.ct-watch-card--description .ct-description{margin:0}
.ct-watch-card--description .ct-description > summary{font-weight:700;cursor:pointer;list-style:none}
.ct-watch-card--description .ct-description > summary::-webkit-details-marker{display:none}
.ct-description__content{margin-top:12px;color:rgba(255,255,255,.86)}
.ct-lock-hint{margin:14px 0 0;color:var(--muted);font-size:.95rem}
.ct-watch__aside{position:sticky;top:92px;align-self:start}
.ct-watch__aside h2{margin:0 0 12px}
.ct-suggested-list .ct-card{grid-template-columns:168px minmax(0,1fr)}
.ct-suggested-list .ct-card__media{border-radius:18px;overflow:hidden}
.ct-suggested-list .ct-card__body{padding:14px}
@media (max-width:1200px){.ct-watch__aside{position:static;top:auto}}
@media (max-width:780px){.ct-watch-card{padding:16px;border-radius:22px}.ct-watch__actions--v2 .ct-icon-btn{width:100%;justify-content:space-between}.ct-watch-badge-row{flex-direction:column;align-items:flex-start}.ct-suggested-list .ct-card{grid-template-columns:1fr}.ct-watch__aside{margin-top:6px}}
/* Phase 7 — creator dashboard polish */
.ct-creator-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}
.ct-creator-header h2{margin:0;font-size:1.6rem;letter-spacing:-.02em}
.ct-creator-header p{margin:6px 0 0;color:var(--muted)}
.ct-creator-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ct-creator-integrations{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:0 0 18px}
.ct-creator-integrations__card{padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:12px;align-items:center}
.ct-creator-integrations__card strong{font-size:1rem}
.ct-creator-integrations__card span{padding:6px 10px;border-radius:999px;font-weight:700;font-size:.86rem}
.ct-creator-integrations__card span.is-ok{background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.3);color:#bbf7d0}
.ct-creator-integrations__card span.is-bad{background:rgba(248,113,113,.14);border:1px solid rgba(248,113,113,.28);color:#fecaca}
.ct-creator-export{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}
@media (max-width:780px){.ct-creator-export form,.ct-creator-export .ct-pill{width:100%}.ct-creator-actions .ct-pill{width:100%;justify-content:center}}


/* Phase 8 — studio table toolbar and privacy-safe creator dashboard */
.ct-panel--table-tools{margin-top:18px}
.ct-table-toolbar{display:grid;gap:14px;margin:12px 0 18px}
.ct-table-toolbar__grid{display:grid;grid-template-columns:2fr repeat(3,minmax(160px,1fr));gap:12px}
.ct-table-toolbar label{display:grid;gap:8px}
.ct-table-toolbar label span{font-size:.9rem;color:var(--muted);font-weight:600}
.ct-table-toolbar input,.ct-table-toolbar select{width:100%;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:var(--text)}
.ct-table-toolbar__actions{display:flex;gap:10px;flex-wrap:wrap}
.ct-studio-table td small a{text-decoration:none;color:var(--muted)}
.ct-studio-table td strong a{text-decoration:none;color:var(--text)}
.ct-context-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;margin-bottom:8px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:.75rem;font-weight:700;color:#dbeafe}
@media (max-width:980px){.ct-table-toolbar__grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){
  .ct-table-toolbar__grid{grid-template-columns:1fr}
  .ct-table-toolbar__actions .ct-pill{width:100%;justify-content:center}
  .ct-creator-header p{max-width:none}
}


/* Phase 9 — viewer library and save actions */
.ct-library-page{gap:22px}
.ct-library-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:min(100%,520px)}
.ct-library-stat{display:grid;gap:6px;padding:16px 18px}.ct-library-stat span{color:var(--muted);font-size:.9rem}.ct-library-stat strong{font-size:1.8rem;line-height:1}
.ct-library-tabs .ct-chip span{display:inline-flex;margin-left:8px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.08);color:var(--text)}
.ct-card__actions [data-ct-save]{min-width:88px}
@media (max-width:900px){.ct-library-summary{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.ct-library-summary{grid-template-columns:1fr}.ct-mobile-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.ct-card__actions [data-ct-save]{min-width:0}}


.ct-grid--rail{grid-template-columns:repeat(4,minmax(0,1fr))}
.ct-following-page{gap:22px}
.ct-brow{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:.84rem;color:var(--muted)}
.ct-following-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:min(100%,540px)}
.ct-following-stat{display:grid;gap:6px;padding:16px 18px}
.ct-following-stat span{color:var(--muted);font-size:.9rem}
.ct-following-stat strong{font-size:1.8rem;line-height:1}
.ct-following-toolbar{display:grid;gap:12px}
.ct-empty-actions{display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:1200px){.ct-grid--rail{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.ct-following-stats{grid-template-columns:1fr 1fr}}
@media (max-width:780px){.ct-grid--rail{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-mobile-nav{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media (max-width:640px){.ct-following-stats{grid-template-columns:1fr}.ct-grid--rail{grid-template-columns:1fr}}

/* Phase 11 — playlists */
.ct-library-summary--four{grid-template-columns:repeat(4,minmax(0,1fr));min-width:min(100%,720px)}
.ct-playlist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ct-playlist-card{padding:0;overflow:hidden;display:grid}
.ct-playlist-card__cover{display:block;aspect-ratio:16/9;background:rgba(255,255,255,.04)}
.ct-playlist-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.ct-playlist-card__body{padding:16px 18px;display:grid;gap:8px}
.ct-playlist-card__body h3{margin:0;font-size:1.1rem}
.ct-playlist-card__body h3 a{text-decoration:none;color:var(--text)}
.ct-playlist-card__body p{margin:0;color:var(--muted)}
.ct-playlist-page{gap:22px}
.ct-card__actions [data-ct-playlist]{min-width:96px}
.ct-playlist-sheet{position:fixed;inset:0;display:none;z-index:9999}
.ct-playlist-sheet.is-open{display:block}
.ct-playlist-sheet__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(8px)}
.ct-playlist-sheet__panel{position:absolute;right:24px;top:24px;width:min(460px,calc(100vw - 28px));max-height:calc(100vh - 48px);overflow:auto;border-radius:28px;padding:20px;background:#0f1014;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px rgba(0,0,0,.4)}
.ct-playlist-sheet__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.ct-playlist-sheet__head strong{display:block;font-size:1.1rem}
.ct-playlist-sheet__head p{margin:6px 0 0;color:var(--muted)}
.ct-playlist-sheet__body{display:grid;gap:16px}
.ct-playlist-sheet__form{display:grid;gap:10px;padding-top:4px}
.ct-playlist-sheet__form label{display:grid;gap:8px}
.ct-playlist-sheet__form input{width:100%;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:var(--text)}
.ct-playlist-sheet__note{margin:0;color:var(--muted);font-size:.92rem}
.ct-playlist-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.ct-playlist-row.is-active{background:rgba(99,102,241,.14);border-color:rgba(99,102,241,.34)}
.ct-playlist-row strong{display:block}
.ct-playlist-row small{color:var(--muted)}
.ct-playlist-row__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:1040px){.ct-library-summary--four{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.ct-card__actions [data-ct-playlist]{min-width:0}.ct-playlist-sheet__panel{right:12px;left:12px;top:auto;bottom:12px;width:auto;max-height:78vh;border-radius:24px}}
@media (max-width:640px){.ct-library-summary--four,.ct-playlist-grid{grid-template-columns:1fr}.ct-playlist-row{flex-direction:column;align-items:stretch}.ct-playlist-row__actions{justify-content:stretch}.ct-playlist-row__actions .ct-pill,.ct-playlist-sheet__form .ct-pill{width:100%;justify-content:center}}


/* Phase 12 — polished layout, SVG icons, balanced cards, and mobile drawer */
:root{
  --bg:#08111c;
  --surface:#0f1726;
  --surface-2:#111d2e;
  --surface-3:#162235;
  --line:rgba(148,163,184,.16);
  --line-strong:rgba(148,163,184,.24);
  --text:#eef4ff;
  --muted:#9aa9c1;
  --shadow:0 18px 40px rgba(2,8,20,.42);
}
body{background:radial-gradient(circle at top left,rgba(37,99,235,.14),transparent 24%),radial-gradient(circle at top right,rgba(236,72,153,.08),transparent 18%),linear-gradient(180deg,#07101a 0%,#09121e 24%,#08111c 100%);color:var(--text)}
.ct-icon{display:inline-flex;flex:0 0 auto}
.ct-app{align-items:flex-start}
.ct-sidebar{background:linear-gradient(180deg,rgba(9,16,28,.95),rgba(8,13,22,.92));border-right:1px solid rgba(148,163,184,.12);box-shadow:inset -1px 0 0 rgba(255,255,255,.02)}
.ct-main-shell{background:linear-gradient(180deg,rgba(7,14,24,.72),rgba(7,14,24,.48))}
.ct-topbar{padding:16px 24px;background:rgba(9,14,24,.82);border-bottom:1px solid rgba(148,163,184,.14)}
.ct-main{padding:26px;max-width:1500px}
.ct-menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;border:1px solid var(--line-strong);background:rgba(255,255,255,.04);color:var(--text);cursor:pointer}
.ct-search{position:relative;max-width:760px}
.ct-search__icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--muted)}
.ct-search input{padding:14px 18px 14px 46px;border-radius:18px;background:rgba(255,255,255,.035);border-color:rgba(148,163,184,.16)}
.ct-topbar__desktop-actions{display:flex;align-items:center;gap:10px}
.ct-notify{padding:10px 14px;background:rgba(255,255,255,.04);border:1px solid rgba(148,163,184,.18);box-shadow:none}
.ct-notify__icon{display:inline-flex;color:#d6e0f0}
.ct-notify__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:#071018;font-size:.78rem;font-weight:700}
.ct-section__header{align-items:flex-end}
.ct-section__header h1,.ct-section__header h2{letter-spacing:-.03em}
.ct-section__header p{max-width:700px;color:#99abc7}
.ct-panel,.ct-player-shell,.ct-auth-card,.ct-channel__hero,.ct-short-card,.ct-studio-table-wrap,.ct-studio-stat,.ct-channel-card,.ct-notification-card,.ct-comment-card,.ct-card,.ct-watch-card{background:linear-gradient(180deg,rgba(16,24,38,.9),rgba(11,19,30,.92));border:1px solid rgba(148,163,184,.14);box-shadow:var(--shadow)}
.ct-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ct-grid--rail{grid-template-columns:repeat(2,minmax(0,1fr))}
.ct-card{display:flex;flex-direction:column;overflow:hidden;border-radius:26px}
.ct-card__media{aspect-ratio:16/10;border-bottom:1px solid rgba(148,163,184,.12)}
.ct-card__media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(2,8,20,.2) 100%);pointer-events:none}
.ct-card__body{display:grid;gap:14px;padding:16px 18px 18px}
.ct-card__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start}
.ct-card__copy{min-width:0;display:grid;gap:4px}
.ct-card__eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;color:#b9c7dd}
.ct-card__copy h3{margin:0;font-size:1.08rem;line-height:1.35;letter-spacing:-.02em}
.ct-card__copy p{margin:0;color:#c6d4e8;font-weight:600}
.ct-card__copy small{color:var(--muted);font-size:.88rem}
.ct-card__launch{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.04);color:#fff;transition:.2s ease}
.ct-card__launch:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}
.ct-card__actions{display:flex;gap:10px;flex-wrap:wrap;padding-left:58px}
.ct-icon-btn,.ct-pill,.ct-quick-link{min-height:44px;padding:10px 14px;border-radius:15px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.035);font-size:.95rem;font-weight:600;color:#eef3fb}
.ct-icon-btn{gap:8px}
.ct-icon-btn svg,.ct-pill svg,.ct-quick-link svg,.ct-nav__item svg,.ct-mobile-nav svg,.ct-menu-toggle svg{color:currentColor}
.ct-icon-btn:hover,.ct-pill:hover,.ct-quick-link:hover{background:rgba(255,255,255,.07);border-color:rgba(148,163,184,.3)}
.ct-icon-btn.is-active,.ct-pill.is-active{background:rgba(190,24,93,.14);border-color:rgba(244,114,182,.34);color:#ffdbe9}
.ct-icon-btn--soft{padding:9px 12px;min-height:40px;background:rgba(255,255,255,.028)}
.ct-pill--dark{background:#f5f8ff;color:#09111c;border-color:#f5f8ff}
.ct-pill--ghost{background:transparent}
.ct-badge{padding:7px 12px;border-radius:999px;background:rgba(3,7,18,.74);backdrop-filter:blur(10px)}
.ct-card__media .ct-badge{left:16px;bottom:16px}
.ct-subsection{display:grid;gap:16px}
.ct-channel-card,.ct-following-stat,.ct-library-stat,.ct-studio-stat,.ct-plan-card,.ct-member-card{border-radius:24px}
.ct-channel-card{padding:18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}
.ct-channel-card h3{margin:0 0 4px;font-size:1.08rem}
.ct-channel-card p,.ct-channel-card small{margin:0;color:var(--muted)}
.ct-following-toolbar,.ct-studio-toolbar,.ct-studio-settings{gap:16px}
.ct-following-stats,.ct-library-summary{gap:16px}
.ct-following-stat,.ct-library-stat,.ct-studio-stat{padding:18px 20px}
.ct-following-stat strong,.ct-library-stat strong,.ct-studio-stat strong{font-size:1.95rem;letter-spacing:-.03em}
.ct-watch{display:grid;grid-template-columns:minmax(0,1.5fr) 360px;gap:24px;align-items:start}
.ct-player-shell--watch{padding:16px;border-radius:30px;background:linear-gradient(180deg,rgba(17,24,39,.96),rgba(9,14,24,.98))}
.ct-player{width:100%;border-radius:24px;background:#000;aspect-ratio:16/9;object-fit:contain}
.ct-watch__main{display:grid;gap:20px}
.ct-watch__meta--v2{display:grid;gap:16px}
.ct-watch-card{padding:20px 22px;border-radius:26px}
.ct-watch-badge-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.ct-watch-card--title h1{margin:0 0 12px;font-size:clamp(2rem,3vw,2.8rem);line-height:1.08;letter-spacing:-.04em}
.ct-watch__stats{display:flex;gap:14px;flex-wrap:wrap;color:#bfd0e6;font-size:.95rem}
.ct-watch__actions--v2{margin-top:18px;gap:10px}
.ct-watch__actions--v2 .ct-icon-btn{min-height:42px;padding:10px 13px}
.ct-channel-inline--watch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.ct-channel-inline--watch strong{font-size:1.05rem}
.ct-support-creator{margin-top:18px;padding-top:18px;border-top:1px solid rgba(148,163,184,.14)}
.ct-support-creator summary{cursor:pointer;font-weight:700}
.ct-plan-list--inline{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ct-plan-card{padding:18px;display:grid;gap:12px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.02));border:1px solid rgba(148,163,184,.12)}
.ct-plan-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ct-plan-card p,.ct-plan-card small{margin:0;color:var(--muted)}
.ct-description summary{cursor:pointer;font-weight:700;margin-bottom:14px}
.ct-description__content{color:#d7e3f4}
.ct-watch__aside{position:sticky;top:92px;display:grid;gap:16px}
.ct-watch-suggested-head h2{margin:0 0 8px;font-size:2rem;letter-spacing:-.04em}
.ct-watch-suggested-head p{margin:0;color:var(--muted)}
.ct-suggested-list{display:grid;gap:14px}
.ct-suggest-card{display:grid;grid-template-columns:144px minmax(0,1fr);gap:14px;padding:14px;border-radius:24px;background:linear-gradient(180deg,rgba(16,24,38,.88),rgba(12,18,28,.94));border:1px solid rgba(148,163,184,.14);box-shadow:var(--shadow)}
.ct-suggest-card__thumb{position:relative;display:block;border-radius:18px;overflow:hidden;aspect-ratio:16/10;background:#05080d}
.ct-suggest-card__thumb img{width:100%;height:100%;object-fit:cover}
.ct-suggest-card__thumb .ct-badge{left:10px;bottom:10px;font-size:.72rem;padding:6px 10px}
.ct-suggest-card__body{display:grid;align-content:start;gap:6px;min-width:0}
.ct-suggest-card__reason{display:inline-flex;align-items:center;max-width:max-content;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.05);color:#c9d6ea;font-size:.75rem;font-weight:700}
.ct-suggest-card__body h3{margin:0;font-size:1rem;line-height:1.35;letter-spacing:-.02em}
.ct-suggest-card__body p,.ct-suggest-card__body small{margin:0;color:var(--muted)}
.ct-comments{display:grid;gap:16px}
.ct-comment-card{padding:16px 18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px}
.ct-comment-card strong{display:block;margin-bottom:4px}
.ct-comment-form textarea,.ct-comment-form input[type="text"],.ct-comment-form input[type="email"],.ct-comment-form input[type="url"]{background:rgba(255,255,255,.03)}
.ct-channel-layout{display:grid;grid-template-columns:minmax(0,1.45fr) 360px;gap:24px;align-items:start}
.ct-channel__hero{overflow:hidden;padding:0}
.ct-channel__hero-banner{aspect-ratio:3.4/1;min-height:220px;background:linear-gradient(135deg,#17253a,#0d1624)}
.ct-channel__hero-body{padding:22px}
.ct-channel__hero-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center}
.ct-channel__hero-top h1{margin:0 0 6px;font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.04em}
.ct-channel__hero-top p,.ct-channel__hero-top small{margin:0;color:var(--muted)}
.ct-studio-page{gap:22px}
.ct-panel--studio-metrics{padding:22px}
.ct-creator-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.ct-creator-header h2{margin:0 0 8px;font-size:2rem;letter-spacing:-.04em}
.ct-creator-header p{margin:0;color:var(--muted);max-width:680px}
.ct-creator-actions,.ct-creator-export,.ct-quick-links,.ct-studio-export-row{display:flex;gap:12px;flex-wrap:wrap}
.ct-studio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ct-break-card{padding:16px 18px;border-radius:22px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.12)}
.ct-break-card strong{display:block;font-size:1.05rem;margin-bottom:6px}
.ct-break-card span,.ct-break-card small{color:var(--muted)}
.ct-panel--table-tools{padding:22px}
.ct-table-toolbar{padding:18px;border-radius:22px;background:rgba(255,255,255,.026);border:1px solid rgba(148,163,184,.12)}
.ct-studio-table-wrap{overflow:auto;border-radius:22px}
.ct-studio-table{width:100%;border-collapse:collapse;min-width:760px}
.ct-studio-table th,.ct-studio-table td{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.12);text-align:left}
.ct-studio-table thead th{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#b6c5dd}
.ct-studio-table tbody tr:hover{background:rgba(255,255,255,.03)}
.ct-member-card{padding:18px;display:flex;justify-content:space-between;gap:14px;align-items:center}
.ct-member-card__main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}
.ct-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ct-upload-grid .ct-panel{padding:20px;display:grid;gap:16px}
.ct-mobile-drawer{display:none}
.ct-mobile-nav{display:none}

@media (max-width:1380px){
  .ct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ct-watch{grid-template-columns:minmax(0,1fr) 320px}
  .ct-channel-layout{grid-template-columns:minmax(0,1fr) 320px}
  .ct-studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1140px){
  .ct-watch,.ct-channel-layout{grid-template-columns:1fr}
  .ct-watch__aside,.ct-channel-layout__aside{position:static}
  .ct-plan-list--inline{grid-template-columns:1fr}
}
@media (max-width:980px){
  .ct-sidebar{display:none}
  .ct-menu-toggle{display:inline-flex}
  .ct-topbar{padding:14px 16px;gap:12px}
  .ct-main{padding:18px 16px 96px}
  .ct-topbar__desktop-actions{display:none}
  .ct-search{order:3;flex-basis:100%;max-width:none}
  .ct-topbar{flex-wrap:wrap;justify-content:space-between}
  .ct-mobile-drawer{position:fixed;inset:0;z-index:80;pointer-events:none}
  .ct-mobile-drawer.is-open{display:block;pointer-events:auto}
  .ct-mobile-drawer__backdrop{position:absolute;inset:0;background:rgba(2,8,20,.62);backdrop-filter:blur(6px);border:0;padding:0;margin:0}
  .ct-mobile-drawer__panel{position:absolute;left:0;top:0;bottom:0;width:min(340px,86vw);padding:18px;background:linear-gradient(180deg,#0b1421,#09111c);border-right:1px solid rgba(148,163,184,.14);box-shadow:0 24px 80px rgba(0,0,0,.48);transform:translateX(-100%);transition:transform .24s ease;display:flex;flex-direction:column;overflow:hidden}
  .ct-mobile-drawer.is-open .ct-mobile-drawer__panel{transform:translateX(0)}
  .ct-mobile-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex:0 0 auto}
  .ct-nav--mobile{display:grid;gap:8px;flex:1 1 auto;overflow-y:auto;padding-right:4px;padding-bottom:24px}
  .ct-mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:70;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px;background:rgba(9,14,24,.92);backdrop-filter:blur(14px);border:1px solid rgba(148,163,184,.14);border-radius:22px;box-shadow:0 16px 40px rgba(0,0,0,.42)}
  .ct-mobile-nav a,.ct-mobile-nav button{display:grid;place-items:center;gap:6px;padding:10px 6px;border-radius:16px;background:transparent;border:0;color:#c6d2e5;font-size:.72rem;font-weight:700;cursor:pointer}
  .ct-mobile-nav a.is-active,.ct-mobile-nav button.is-active,.ct-mobile-nav a:hover,.ct-mobile-nav button:hover{background:rgba(255,255,255,.06);color:#fff}
  .ct-mobile-nav span{line-height:1.1;text-align:center}
  .ct-grid--rail{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .ct-grid,.ct-grid--rail,.ct-upload-grid,.ct-studio-grid,.ct-library-summary,.ct-following-stats,.ct-playlist-grid{grid-template-columns:1fr}
  .ct-card__actions{padding-left:0}
  .ct-card__header{grid-template-columns:auto minmax(0,1fr)}
  .ct-card__launch{grid-column:2;justify-self:start;margin-top:2px}
  .ct-card__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .ct-card__actions .ct-icon-btn{justify-content:center;padding-inline:10px}
  .ct-card__actions .ct-icon-btn span{font-size:.82rem}
  .ct-suggest-card{grid-template-columns:124px minmax(0,1fr)}
  .ct-watch-card,.ct-panel--studio-metrics,.ct-panel--table-tools,.ct-player-shell--watch{padding:16px}
  .ct-channel__hero-top,.ct-channel-inline--watch,.ct-member-card{grid-template-columns:1fr;align-items:flex-start}
  .ct-member-card,.ct-member-card__main{display:grid}
}
@media (max-width:560px){
  .ct-logo{font-size:1.18rem}
  .ct-main{padding:16px 14px 98px}
  .ct-topbar{padding:12px 14px}
  .ct-topbar__right{gap:8px}
  .ct-notify{padding:10px 12px;min-height:42px}
  .ct-notify__label{display:none}
  .ct-section__header h1,.ct-section__header h2{font-size:clamp(1.45rem,8vw,2rem)}
  .ct-card{border-radius:22px}
  .ct-card__media{aspect-ratio:16/11}
  .ct-card__body{padding:14px}
  .ct-card__copy h3{font-size:1rem}
  .ct-card__actions{grid-template-columns:1fr 1fr}
  .ct-card__actions .ct-icon-btn:last-child{grid-column:span 2}
  .ct-watch-card--title h1,.ct-channel__hero-top h1{font-size:1.9rem}
  .ct-watch__actions--v2{display:grid;grid-template-columns:1fr 1fr}
  .ct-watch__actions--v2 .ct-icon-btn:last-child{grid-column:span 2}
  .ct-suggest-card{grid-template-columns:1fr}
  .ct-suggest-card__thumb{aspect-ratio:16/9}
  .ct-player-shell--watch{padding:12px;border-radius:24px}
  .ct-mobile-nav{left:8px;right:8px;bottom:8px;padding:8px}
  .ct-mobile-nav a,.ct-mobile-nav button{padding:8px 4px;font-size:.68rem}
}


/* Phase 13 — youtube-style feed density + tighter layout */
:root{
  --bg:#0f1117;
  --surface:#161b22;
  --surface-2:#1c212c;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --text:#f4f6fb;
  --muted:#a2adbf;
  --shadow:0 14px 30px rgba(0,0,0,.22);
}
body{
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.10), transparent 20%),
    radial-gradient(circle at top right, rgba(168,85,247,.08), transparent 18%),
    linear-gradient(180deg,#0f1117 0%,#11141b 30%,#111318 100%);
}
.ct-main-shell{background:transparent}
.ct-topbar{padding:14px 22px;background:rgba(15,17,23,.86)}
.ct-search input{padding:13px 18px 13px 46px;border-radius:16px;background:rgba(255,255,255,.03)}
.ct-topbar__desktop-actions .ct-pill--compact,.ct-notify{min-height:40px;padding:10px 13px;border-radius:14px;font-size:.9rem}
.ct-section__header{align-items:center}
.ct-section__header h1,.ct-section__header h2{font-size:clamp(1.5rem,2.2vw,2.2rem)}
.ct-section__header p{font-size:.98rem}
.ct-chip{padding:9px 13px;border-radius:999px;font-size:.9rem}
.ct-chip-row{gap:8px}
.ct-grid--feed{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}
.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(4,minmax(0,1fr))}
.ct-card--video{background:transparent;border:none;box-shadow:none;border-radius:0;overflow:visible}
.ct-card--video .ct-card__media{border:1px solid rgba(255,255,255,.06);border-radius:18px;overflow:hidden;aspect-ratio:16/9;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.ct-card--video .ct-card__media::after{background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.15) 100%)}
.ct-card--video .ct-card__body{padding:12px 2px 0;gap:10px;background:transparent}
.ct-card--video .ct-card__header{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}
.ct-card__avatar-link{display:inline-flex;align-items:center;justify-content:center}
.ct-card--video .ct-avatar{width:36px;height:36px}
.ct-card--video .ct-card__copy{gap:3px}
.ct-card--video .ct-card__eyebrow{display:block;padding:0;background:none;color:#9fb0c8;font-size:.76rem;font-weight:600}
.ct-card--video .ct-card__copy h3{font-size:1rem;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ct-card--video .ct-card__copy p,.ct-card--video .ct-card__copy small{font-size:.89rem}
.ct-card--video .ct-card__copy p{color:#d7e1f0;font-weight:500}
.ct-card--video .ct-card__copy small{color:var(--muted)}
.ct-card--video .ct-card__launch{width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.03)}
.ct-card--video .ct-card__actions{padding-left:46px;gap:8px;align-items:center}
.ct-card--video .ct-card__actions .ct-icon-btn{min-height:34px;padding:8px 11px;border-radius:12px;font-size:.82rem;background:rgba(255,255,255,.025)}
.ct-card--video .ct-card__actions .ct-icon-btn span{line-height:1}
.ct-card--video .ct-card__actions [data-ct-save] span,.ct-card--video .ct-card__actions [data-ct-playlist] span{display:none}
.ct-card--video .ct-card__actions [data-ct-save],.ct-card--video .ct-card__actions [data-ct-playlist]{min-width:34px;padding-inline:9px}
.ct-card--video .ct-badge{padding:6px 10px;font-size:.72rem}
.ct-watch{grid-template-columns:minmax(0,1fr) 340px;gap:28px}
.ct-player-shell--watch,.ct-watch-card,.ct-channel__hero,.ct-panel,.ct-studio-stat,.ct-following-stat,.ct-library-stat,.ct-studio-table-wrap,.ct-comment-card,.ct-channel-card,.ct-notification-card{background:linear-gradient(180deg,rgba(24,28,36,.92),rgba(18,21,29,.96));border:1px solid rgba(255,255,255,.07);box-shadow:var(--shadow)}
.ct-player-shell--watch{padding:14px;border-radius:24px}
.ct-watch-card{padding:18px 20px;border-radius:20px}
.ct-watch-card--title h1{font-size:clamp(1.8rem,2.6vw,2.35rem);margin-bottom:10px}
.ct-watch-badge-row{margin-bottom:10px}
.ct-watch__actions--v2{gap:8px}
.ct-watch__actions--v2 .ct-icon-btn{min-height:38px;padding:9px 12px;border-radius:12px;font-size:.88rem}
.ct-watch-suggested-head h2{font-size:1.55rem;margin-bottom:6px}
.ct-suggest-card{grid-template-columns:118px minmax(0,1fr);gap:12px;padding:12px;border-radius:18px;box-shadow:none}
.ct-suggest-card__thumb{border-radius:14px;aspect-ratio:16/9}
.ct-suggest-card__body{gap:4px}
.ct-suggest-card__body h3{font-size:.95rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ct-suggest-card__reason{padding:4px 8px;font-size:.72rem}
.ct-following-stat strong,.ct-library-stat strong,.ct-studio-stat strong{font-size:1.6rem}
.ct-panel--studio-metrics,.ct-panel--table-tools{padding:18px}
.ct-creator-header h2,.ct-channel__hero-top h1{font-size:clamp(1.8rem,2.6vw,2.35rem)}
.ct-studio-table th,.ct-studio-table td{padding:12px 14px}
@media (max-width:1540px){.ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1180px){.ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.ct-topbar{padding:13px 16px}.ct-watch{grid-template-columns:1fr}.ct-watch__aside{position:static}}
@media (max-width:720px){.ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:1fr}.ct-card--video .ct-card__actions{padding-left:46px;display:flex;flex-wrap:wrap}.ct-card--video .ct-card__actions [data-ct-save] span,.ct-card--video .ct-card__actions [data-ct-playlist] span{display:inline}.ct-card--video .ct-card__actions [data-ct-save],.ct-card--video .ct-card__actions [data-ct-playlist]{min-width:0;padding-inline:11px}.ct-channel__hero-top,.ct-channel-inline--watch,.ct-member-card{grid-template-columns:1fr}}
@media (max-width:560px){.ct-main{padding:14px 12px 94px}.ct-topbar{padding:12px}.ct-section__header{gap:12px}.ct-section__header p{font-size:.92rem}.ct-card--video .ct-card__media{border-radius:16px}.ct-card--video .ct-card__body{padding-top:10px}.ct-card--video .ct-card__copy h3{font-size:.96rem}.ct-card--video .ct-card__copy p,.ct-card--video .ct-card__copy small{font-size:.84rem}.ct-card--video .ct-card__actions{padding-left:0}.ct-card--video .ct-card__header{grid-template-columns:auto minmax(0,1fr)}.ct-card--video .ct-card__launch{grid-column:2;justify-self:start;margin-top:4px}.ct-card--video .ct-card__actions .ct-icon-btn{min-height:36px;font-size:.8rem}.ct-watch-card,.ct-player-shell--watch,.ct-panel,.ct-comment-card,.ct-channel-card,.ct-studio-stat,.ct-following-stat,.ct-library-stat{border-radius:18px}.ct-watch__actions--v2{display:grid;grid-template-columns:1fr 1fr}.ct-watch__actions--v2 .ct-icon-btn:last-child{grid-column:span 2}.ct-mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.ct-mobile-nav a:nth-child(4){display:none}}


/* Phase 14 — finished surfaces and cleaner YouTube-style browse layout */
:root{
  --bg:#0d1015;
  --surface:#161a22;
  --surface-2:#1a1f29;
  --surface-3:#202632;
  --line:rgba(255,255,255,.075);
  --line-strong:rgba(255,255,255,.13);
  --text:#f7f8fb;
  --muted:#a4adbc;
  --shadow:0 12px 28px rgba(0,0,0,.24);
}
body{
  background:
    radial-gradient(circle at 10% 0%, rgba(59,130,246,.07), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(168,85,247,.05), transparent 18%),
    linear-gradient(180deg,#0d1015 0%,#0e1117 55%,#0d1015 100%);
}
.ct-sidebar{
  background:linear-gradient(180deg,#11151b 0%,#0f1319 100%);
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:none;
}
.ct-main-shell{background:linear-gradient(180deg,rgba(12,15,20,.84),rgba(12,15,20,.96));}
.ct-topbar{
  padding:12px 20px;
  background:rgba(14,17,23,.92);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.ct-main{padding:24px 24px 40px;max-width:1560px;}
.ct-logo{font-size:1.24rem;letter-spacing:-.035em}
.ct-nav{gap:4px}
.ct-nav__item{
  padding:12px 14px;
  border-radius:14px;
  color:#c8d0de;
  font-weight:600;
}
.ct-nav__item strong{font-size:1rem}
.ct-nav__item:hover,.ct-nav__item.is-active{
  background:#1b2130;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.ct-search input{
  background:#121720;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.ct-pill,.ct-icon-btn,.ct-quick-link{
  padding:10px 14px;
  border-radius:12px;
  background:#171c25;
  border-color:rgba(255,255,255,.08);
}
.ct-pill--dark{background:#f6f7fb;color:#0d1015;border-color:#f6f7fb}
.ct-pill--dark:hover{background:#fff}
.ct-topbar__desktop-actions .ct-pill--compact,.ct-notify{
  min-height:38px;
  padding:9px 12px;
  border-radius:12px;
}
.ct-notify{background:#171c25}
.ct-section,.ct-home-page,.ct-studio-page--phase14,.ct-following-page--phase14,.ct-channel--phase14,.ct-watch--phase14{gap:18px}
.ct-section__header{align-items:end}
.ct-section__header h1,.ct-section__header h2{
  font-size:clamp(1.38rem,2vw,1.95rem);
  letter-spacing:-.03em;
}
.ct-section__header p{font-size:.94rem;color:#93a0b4;max-width:720px}
.ct-chip-row{gap:10px}
.ct-chip{padding:8px 12px;border-radius:999px;background:#161b24;border-color:rgba(255,255,255,.07);font-size:.88rem}
.ct-home-page > .ct-section__header{margin-bottom:2px}
.ct-home-rail{gap:14px}
.ct-home-rail .ct-section__header h2{font-size:1.18rem}
.ct-home-rail .ct-section__header p{font-size:.88rem}
.ct-home-rail .ct-pill{padding:8px 12px;font-size:.84rem}
.ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
.ct-card--video .ct-card__media{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.05);
  box-shadow:none;
}
.ct-card--video .ct-card__body{padding:12px 0 0;gap:9px}
.ct-card--video .ct-card__header{gap:10px}
.ct-card--video .ct-avatar{width:34px;height:34px}
.ct-card--video .ct-card__copy h3{font-size:.95rem;line-height:1.32}
.ct-card--video .ct-card__copy p{font-size:.86rem;color:#d6ddeb}
.ct-card--video .ct-card__copy small{font-size:.82rem}
.ct-card--video .ct-card__launch{
  width:34px;height:34px;border-radius:10px;
  background:#161b24;border:1px solid rgba(255,255,255,.06);
}
.ct-card--video .ct-card__actions{padding-left:44px;gap:7px}
.ct-card--video .ct-card__actions .ct-icon-btn{
  min-height:32px;
  padding:7px 10px;
  border-radius:10px;
  background:#161b24;
}
.ct-card--video .ct-badge{padding:6px 10px;font-size:.71rem}
.ct-player-shell--watch,.ct-watch-card,.ct-panel,.ct-studio-stat,.ct-following-stat,.ct-library-stat,.ct-studio-table-wrap,.ct-comment-card,.ct-channel-card,.ct-notification-card,.ct-plan-card,.ct-member-card,.ct-playlist-card{
  background:linear-gradient(180deg,#151922 0%,#12161d 100%);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow);
}
.ct-watch--phase14{grid-template-columns:minmax(0,1fr) 320px;gap:22px}
.ct-player-shell--watch{padding:12px;border-radius:18px}
.ct-watch-card{padding:16px 18px;border-radius:16px}
.ct-watch-card--title h1{font-size:clamp(1.55rem,2.2vw,2.08rem);line-height:1.12}
.ct-watch__actions--v2{gap:8px}
.ct-watch__actions--v2 .ct-icon-btn{min-height:36px;padding:8px 12px;border-radius:10px;background:#181d26}
.ct-watch-suggested-head h2{font-size:1.28rem;margin:0 0 6px}
.ct-watch-suggested-head p{font-size:.9rem;color:#97a4b8}
.ct-suggested-list{gap:12px}
.ct-suggest-card{
  grid-template-columns:168px minmax(0,1fr);
  gap:12px;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.ct-suggest-card__thumb{border-radius:14px;border:1px solid rgba(255,255,255,.06)}
.ct-suggest-card__body{padding-top:2px;gap:4px}
.ct-suggest-card__body h3{font-size:.92rem;line-height:1.32}
.ct-suggest-card__reason{padding:4px 8px;background:#171c25;border:1px solid rgba(255,255,255,.06);color:#d3dced}
.ct-channel__hero{border-radius:20px;overflow:hidden}
.ct-channel__overlay{background:linear-gradient(180deg,rgba(8,10,14,.10),rgba(8,10,14,.82))}
.ct-panel--studio-metrics,.ct-panel--table-tools{padding:18px}
.ct-studio-page--phase14 .ct-section__header p,
.ct-following-page--phase14 .ct-section__header p,
.ct-channel--phase14 .ct-section__header p{max-width:760px}
.ct-quick-links{display:grid;gap:10px}
.ct-quick-link{justify-content:flex-start}
.ct-studio-table th,.ct-studio-table td{padding:12px 14px}
.ct-mobile-nav{
  background:rgba(16,20,26,.96);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.32);
}
@media (max-width:1500px){
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1180px){
  .ct-main{padding:20px 20px 38px}
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ct-watch--phase14{grid-template-columns:1fr}
}
@media (max-width:780px){
  .ct-main{padding:18px 16px 96px}
  .ct-topbar{padding:11px 14px}
  .ct-home-rail .ct-section__header h2{font-size:1.08rem}
  .ct-card--video .ct-card__actions{padding-left:44px}
  .ct-suggest-card{grid-template-columns:132px minmax(0,1fr)}
}
@media (max-width:560px){
  .ct-main{padding:14px 12px 96px}
  .ct-section__header h1,.ct-section__header h2{font-size:1.34rem}
  .ct-section__header p{font-size:.9rem}
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:1fr;gap:20px}
  .ct-card--video .ct-card__actions{padding-left:0}
  .ct-card--video .ct-card__copy h3{font-size:.94rem}
  .ct-suggest-card{grid-template-columns:1fr}
  .ct-player-shell--watch,.ct-watch-card,.ct-panel,.ct-studio-stat,.ct-following-stat,.ct-library-stat,.ct-studio-table-wrap{border-radius:16px}
}

/* ===== Phase 15 solid surfaces + YouTube-like density ===== */
:root{
  --ct-bg:#0f1115;
  --ct-bg-soft:#14171c;
  --ct-bg-elev:#181c22;
  --ct-bg-elev-2:#1d222a;
  --ct-line-soft:rgba(255,255,255,.08);
  --ct-line-strong:rgba(255,255,255,.12);
  --ct-text-main:#f5f7fb;
  --ct-text-sub:#aeb8c7;
  --ct-shadow-soft:0 10px 30px rgba(0,0,0,.28);
}
body{
  background:var(--ct-bg)!important;
  color:var(--ct-text-main)!important;
}
body.ct-menu-open{overflow:hidden}
.ct-app,
.ct-main-shell,
.ct-main,
.ct-sidebar,
.ct-topbar,
.ct-panel,
.ct-player-shell,
.ct-auth-card,
.ct-channel__hero,
.ct-short-card,
.ct-studio-table-wrap,
.ct-studio-stat,
.ct-channel-card,
.ct-notification-card,
.ct-comment-card,
.ct-card,
.ct-watch-card,
.ct-plan-card,
.ct-member-card,
.ct-playlist-card,
.ct-following-stat,
.ct-library-stat{
  background-image:none!important;
}
.ct-main-shell{background:var(--ct-bg)!important}
.ct-sidebar{
  background:#111418!important;
  border-right:1px solid var(--ct-line-soft)!important;
  box-shadow:none!important;
}
.ct-topbar{
  background:#111418!important;
  border-bottom:1px solid var(--ct-line-soft)!important;
  backdrop-filter:none!important;
}
.ct-search input,
.ct-auth-card input,
.ct-auth-card textarea,
.ct-auth-card select,
.ct-panel input,
.ct-panel textarea,
.ct-panel select,
.ct-player-select{
  background:#0f1318!important;
  border:1px solid var(--ct-line-strong)!important;
  color:var(--ct-text-main)!important;
}
.ct-panel,
.ct-player-shell,
.ct-auth-card,
.ct-studio-table-wrap,
.ct-studio-stat,
.ct-channel-card,
.ct-notification-card,
.ct-comment-card,
.ct-watch-card,
.ct-plan-card,
.ct-member-card,
.ct-playlist-card,
.ct-following-stat,
.ct-library-stat{
  background:var(--ct-bg-soft)!important;
  border:1px solid var(--ct-line-soft)!important;
  box-shadow:var(--ct-shadow-soft)!important;
}
.ct-channel__hero,
.ct-channel__hero-banner{
  background:#171b22!important;
  border:1px solid var(--ct-line-soft)!important;
}
.ct-channel__overlay{background:rgba(0,0,0,.32)!important}
.ct-pill,
.ct-icon-btn,
.ct-short-action,
.ct-menu-toggle,
.ct-notify{
  background:#181c22!important;
  border:1px solid var(--ct-line-strong)!important;
  color:var(--ct-text-main)!important;
  box-shadow:none!important;
}
.ct-pill:hover,
.ct-icon-btn:hover,
.ct-short-action:hover,
.ct-menu-toggle:hover,
.ct-notify:hover{background:#20252d!important}
.ct-pill--dark,
.ct-icon-btn.is-active,
.ct-short-action.is-active,
.ct-chip.is-active,
.ct-nav__item.is-active,
.ct-mobile-nav a.is-active,
.ct-mobile-nav button.is-active{
  background:#252b36!important;
  border-color:#3a4250!important;
  color:#fff!important;
}
.ct-notify__count,
.ct-badge--solid{background:#fff!important;color:#111418!important}
.ct-badge{
  background:rgba(0,0,0,.72)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.ct-nav__item,
.ct-mobile-nav a,
.ct-mobile-nav button{color:var(--ct-text-sub)!important}
.ct-nav__item:hover,
.ct-mobile-nav a:hover,
.ct-mobile-nav button:hover{color:#fff!important;background:#191e25!important}
.ct-logo,
.ct-section__header h1,
.ct-section__header h2,
.ct-watch-card--title h1,
.ct-channel__hero-top h1{letter-spacing:-.035em;color:#fff}
.ct-section__header p,
.ct-card__copy p,
.ct-card__copy small,
.ct-watch-published,
.ct-watch__stats,
.ct-channel-followers,
.ct-watch-suggested-head p,
.ct-short-stage__copy p,
.ct-short-stage__channel small,
.ct-card__eyebrow{color:var(--ct-text-sub)!important}

/* Feed density / YouTube-like cards */
.ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:26px 18px!important}
.ct-card--video{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.ct-card--video .ct-card__media{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
  background:#0b0d11;
  border:1px solid rgba(255,255,255,.06);
}
.ct-card--video .ct-card__media::after{display:none!important}
.ct-card--video .ct-card__video,
.ct-card--video .ct-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.ct-card--video .ct-card__body{padding:12px 2px 0!important}
.ct-card--video .ct-card__header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
}
.ct-card--video .ct-avatar{width:36px!important;height:36px!important}
.ct-card--video .ct-card__copy h3{margin:0 0 4px;font-size:1rem;line-height:1.34;font-weight:800}
.ct-card--video .ct-card__copy p{margin:0 0 3px;font-size:.9rem}
.ct-card--video .ct-card__copy small{font-size:.83rem;line-height:1.4}
.ct-card--video .ct-card__eyebrow{display:block;margin:0 0 5px;font-size:.76rem;font-weight:700}
.ct-card--video .ct-card__launch{
  width:34px;height:34px;display:grid;place-items:center;border-radius:12px;
  background:#181c22;border:1px solid var(--ct-line-strong);color:#fff
}
.ct-card--video .ct-card__actions{
  margin-top:10px;
  padding-left:48px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ct-card--video .ct-card__actions .ct-icon-btn{
  min-height:34px;
  padding:7px 11px;
  border-radius:12px;
  font-size:.82rem;
  gap:7px;
}

/* Watch page + custom player */
.ct-watch--phase15{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.ct-watch__main--phase15{display:grid;gap:18px}
.ct-player-shell--phase15{padding:14px!important;border-radius:22px!important;background:#12161c!important}
.ct-modern-player{position:relative;border-radius:18px;overflow:hidden;background:#000;isolation:isolate}
.ct-player--modern{width:100%;display:block;aspect-ratio:16/9;background:#000}
.ct-player-topbar,
.ct-player-controls{position:absolute;left:0;right:0;z-index:3;padding:14px}
.ct-player-topbar{top:0;display:flex;justify-content:space-between;align-items:center;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.54),transparent)}
.ct-player-controls{bottom:0;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.18) 78%,transparent)}
.ct-player-controls__row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.ct-player-controls__group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ct-player-controls__group--right{justify-content:flex-end}
.ct-player-progress-wrap{margin-bottom:10px}
.ct-player-progress{width:100%;accent-color:#fff;background:transparent}
.ct-player-btn{
  display:grid;place-items:center;width:40px;height:40px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);background:rgba(18,18,18,.88);color:#fff;cursor:pointer
}
.ct-player-btn:hover{background:rgba(32,32,32,.95)}
.ct-player-select-wrap{display:flex;align-items:center}
.ct-player-select-wrap.is-disabled{opacity:.5}
.ct-player-select{min-height:38px;border-radius:12px;padding:0 12px;font-weight:700}
.ct-player-time,.ct-player-time-inline{font-size:.88rem;font-weight:700;color:#fff}
.ct-player-overlay-play{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:70px;height:70px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.64);color:#fff;display:grid;place-items:center;cursor:pointer;z-index:2
}
.ct-modern-player:not(.is-paused) .ct-player-overlay-play{opacity:0;pointer-events:none}
.ct-watch__meta--phase15{display:grid;gap:14px}
.ct-watch-card--title h1{font-size:clamp(1.55rem,2.5vw,2.2rem)!important;line-height:1.15!important;margin:0 0 10px!important}
.ct-watch__actions--phase15{gap:8px!important;display:flex;flex-wrap:wrap}
.ct-watch__actions--phase15 .ct-icon-btn{min-height:38px;padding:8px 12px;border-radius:12px;font-size:.86rem}
.ct-channel-inline--phase15{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.ct-plan-list--phase15{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
.ct-lock-panel--phase15{margin-top:14px;padding:16px;border-radius:16px;background:#161b22;border:1px solid var(--ct-line-soft)}
.ct-watch__aside--phase15{position:sticky;top:86px;align-self:start}
.ct-watch-card--aside{padding:16px!important}
.ct-suggested-list{display:grid;gap:12px}
.ct-suggest-card{grid-template-columns:124px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;border-radius:18px!important;background:#161b22!important}
.ct-suggest-card__thumb{border-radius:14px;overflow:hidden;aspect-ratio:16/9;background:#090b0e}
.ct-suggest-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ct-suggest-card__body h3{margin:0 0 4px;font-size:.96rem;line-height:1.28}
.ct-suggest-card__body p,.ct-suggest-card__body small,.ct-suggest-card__reason{font-size:.82rem;color:var(--ct-text-sub)}

/* Shorts page only keeps gradient / immersive */
.ct-shorts-page{
  min-height:100vh;
  background:linear-gradient(180deg,#050608 0%,#090a0f 45%,#050608 100%);
  position:relative;
}
.ct-shorts-page__back{
  position:fixed;top:18px;left:18px;z-index:90;display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:999px;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.12);color:#fff
}
.ct-icon.is-flipped{transform:rotate(180deg)}
.ct-shorts-feed--phase15{
  height:100vh;overflow-y:auto;scroll-snap-type:y mandatory;
}
.ct-short-stage{min-height:100vh;scroll-snap-align:start;display:grid;place-items:center;padding:18px}
.ct-short-stage__shell{width:min(100%,460px);height:calc(100vh - 36px);display:grid;place-items:center}
.ct-short-stage__video-wrap{
  position:relative;width:100%;height:100%;overflow:hidden;border-radius:28px;background:#000;
  box-shadow:0 24px 70px rgba(0,0,0,.46)
}
.ct-short-stage__video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.ct-short-stage__left,
.ct-short-stage__right{position:absolute;z-index:2;display:flex}
.ct-short-stage__left{left:18px;right:90px;bottom:20px;display:grid;gap:12px;color:#fff}
.ct-short-stage__right{right:16px;bottom:26px;flex-direction:column;gap:10px}
.ct-short-stage__channel{display:flex;align-items:center;gap:10px}
.ct-short-stage__channel .ct-avatar{width:42px!important;height:42px!important;border:2px solid rgba(255,255,255,.12)}
.ct-short-stage__copy h2{margin:8px 0 6px;font-size:1.12rem;line-height:1.28}
.ct-short-stage__copy p{margin:0;font-size:.92rem}
.ct-short-action{
  min-width:68px;padding:10px 10px;border-radius:20px;display:grid;justify-items:center;gap:6px;
  font-size:.78rem;font-weight:800;background:rgba(14,14,14,.7)!important;border-color:rgba(255,255,255,.14)!important
}

/* Studio / following / profile polish */
.ct-studio-page,.ct-following-page,.ct-channel,.ct-home-page{gap:18px!important}
.ct-studio-table-wrap table{background:#14181e}
.ct-studio-table-wrap th,.ct-studio-table-wrap td{border-color:var(--ct-line-soft)!important}
.ct-following-stat strong,.ct-library-stat strong,.ct-studio-stat strong{font-size:1.5rem}
.ct-channel__hero-top,.ct-member-card,.ct-member-card__main{gap:14px}

/* Mobile cleanup */
@media (max-width:1600px){
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:1180px){
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ct-watch--phase15{grid-template-columns:1fr!important}
  .ct-watch__aside--phase15{position:static}
}
@media (max-width:820px){
  .ct-mobile-nav{background:#111418!important;border:1px solid var(--ct-line-soft)!important;backdrop-filter:none!important}
  .ct-main{padding-bottom:92px!important}
  .ct-short-stage{padding:0}
  .ct-short-stage__shell{width:100%;height:100vh}
  .ct-short-stage__video-wrap{border-radius:0;box-shadow:none}
  .ct-short-stage__left{left:14px;right:84px;bottom:18px}
  .ct-short-stage__right{right:10px;bottom:20px}
  .ct-shorts-page__back{top:12px;left:12px;padding:9px 12px}
}
@media (max-width:720px){
  .ct-grid--feed,.ct-grid--rail.ct-grid--feed{grid-template-columns:1fr!important;gap:18px!important}
  .ct-card--video .ct-card__actions{padding-left:0!important}
  .ct-card--video .ct-card__header{grid-template-columns:auto minmax(0,1fr)!important}
  .ct-card--video .ct-card__launch{grid-column:2;justify-self:start;margin-top:6px}
  .ct-card--video .ct-card__actions .ct-icon-btn{min-height:36px}
  .ct-player-controls__row{display:grid;grid-template-columns:1fr;gap:12px}
  .ct-player-controls__group--right{justify-content:flex-start}
  .ct-watch__actions--phase15{display:grid;grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .ct-topbar{padding:12px 14px!important}
  .ct-topbar__desktop-actions{display:none!important}
  .ct-watch-card,.ct-panel,.ct-player-shell,.ct-comment-card,.ct-channel-card,.ct-studio-stat,.ct-following-stat,.ct-library-stat{border-radius:18px!important}
  .ct-watch-card--title h1{font-size:1.48rem!important}
  .ct-suggest-card{grid-template-columns:112px minmax(0,1fr)!important}
  .ct-watch__actions--phase15 .ct-icon-btn:last-child{grid-column:span 2}
}
@media (max-width:560px){
  .ct-main{padding:14px 12px 92px!important}
  .ct-topbar{padding:10px 12px!important}
  .ct-logo{font-size:1.18rem!important}
  .ct-search{display:none!important}
  .ct-player-topbar{padding:10px}
  .ct-player-controls{padding:10px}
  .ct-player-time{font-size:.76rem}
  .ct-player-btn{width:36px;height:36px}
  .ct-player-select{min-height:34px;padding:0 10px;font-size:.8rem}
  .ct-short-stage__left{left:12px;right:78px}
  .ct-short-action{min-width:58px;padding:8px 8px;font-size:.72rem}
  .ct-short-stage__copy h2{font-size:1rem}
  .ct-shorts-page__back span{display:none}
}
.ct-mobile-drawer__panel{background:#111418!important}
.ct-player-topbar{background:rgba(0,0,0,.42)!important}
.ct-player-controls{background:rgba(0,0,0,.58)!important}

/* Phase 16.0.2 focused player overlay hotfix */
.ct-player-shell--phase15.ct-player-shell--phase16,
.ct-player-shell--phase16{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.ct-player-shell--phase16 .ct-modern-player{
  position:relative!important;
  display:block!important;
  background:#000!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.ct-player-shell--phase16 .ct-player--modern{
  display:block!important;
  width:100%!important;
  border-radius:24px!important;
  background:#000!important;
}
.ct-player-shell--phase16 .ct-player-topbar,
.ct-player-shell--phase16 .ct-player-badge,
.ct-player-shell--phase16 [data-ct-player-inline-time]{display:none!important}
.ct-player-shell--phase16 .ct-player-controls{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:4!important;
  display:grid!important;
  gap:10px!important;
  padding:0 16px 14px!important;
  margin:0!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.18) 22%,rgba(0,0,0,.68) 100%)!important;
  opacity:1!important;
  transform:translateY(0)!important;
  transition:opacity .18s ease, transform .18s ease!important;
}
.ct-player-shell--phase16 .ct-modern-player:not(.is-ui-active):not(.is-paused) .ct-player-controls,
.ct-player-shell--phase16 .ct-modern-player:not(.is-ui-active):not(.is-paused) .ct-player-overlay-play{
  opacity:0!important;
  pointer-events:none!important;
  transform:translateY(10px)!important;
}
.ct-player-shell--phase16 .ct-player-progress-wrap{
  margin:0!important;
  padding:0!important;
}
.ct-player-shell--phase16 .ct-player-progress{
  width:100%!important;
  height:4px!important;
  margin:0!important;
  cursor:pointer!important;
  background:transparent!important;
}
.ct-player-shell--phase16 .ct-player-controls__row{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
.ct-player-shell--phase16 .ct-player-controls__row::-webkit-scrollbar{display:none!important}
.ct-player-shell--phase16 .ct-player-controls__group{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}
.ct-player-shell--phase16 .ct-player-controls__group--right{
  margin-left:auto!important;
  justify-content:flex-end!important;
}
.ct-player-shell--phase16 .ct-player-btn,
.ct-player-shell--phase16 .ct-player-btn:hover,
.ct-player-shell--phase16 .ct-player-btn:focus-visible{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  color:#fff!important;
}
.ct-player-shell--phase16 .ct-player-btn svg{
  width:20px!important;
  height:20px!important;
}
.ct-player-shell--phase16 .ct-player-time{
  min-width:38px!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:800!important;
  line-height:1!important;
}
.ct-player-shell--phase16 .ct-player-select-wrap{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.ct-player-shell--phase16 .ct-player-select-wrap.is-disabled{display:none!important}
.ct-player-shell--phase16 .ct-player-select{
  min-height:0!important;
  height:auto!important;
  padding:0 16px 0 0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:.95rem!important;
  font-weight:800!important;
}
.ct-player-shell--phase16 .ct-player-overlay-play{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%) scale(1)!important;
  z-index:5!important;
  width:68px!important;
  height:68px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(4,8,15,.58)!important;
  backdrop-filter:blur(4px)!important;
}
.ct-player-shell--phase16 .ct-watch__meta{margin-top:12px!important}
.ct-player-shell--phase16 .ct-modern-player.is-ui-active .ct-player-controls,
.ct-player-shell--phase16 .ct-modern-player.is-paused .ct-player-controls,
.ct-player-shell--phase16 .ct-modern-player.is-ui-active .ct-player-overlay-play,
.ct-player-shell--phase16 .ct-modern-player.is-paused .ct-player-overlay-play{
  opacity:1!important;
  pointer-events:auto!important;
}

.ct-shorts-shell>.ct-sidebar{display:none!important}
@media (max-width:820px){
  .ct-shorts-shell .ct-mobile-nav{
    display:grid!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    gap:0!important;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px))!important;
    background:#0d1015!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid var(--ct-line-soft)!important;
    box-shadow:none!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .ct-shorts-shell .ct-mobile-nav a,
  .ct-shorts-shell .ct-mobile-nav button{
    padding:10px 4px!important;
    border-radius:0!important;
  }
  .ct-shorts-shell .ct-shorts-feed--phase15{padding-bottom:0!important}
  .ct-shorts-shell .ct-short-stage__shell{height:100svh!important}
  .ct-shorts-shell .ct-short-stage__video-wrap{border-radius:0!important;box-shadow:none!important}
  .ct-shorts-shell .ct-short-stage__left{left:14px!important;right:86px!important;bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
  .ct-shorts-shell .ct-short-stage__right{right:10px!important;bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
}
@media (max-width:720px){
  .ct-player-shell--phase16 .ct-player-controls__row{gap:12px!important}
  .ct-player-shell--phase16 .ct-player-controls__group{gap:12px!important}
}
@media (max-width:560px){
  .ct-player-shell--phase16 .ct-modern-player,
  .ct-player-shell--phase16 .ct-player--modern{border-radius:20px!important}
  .ct-player-shell--phase16 .ct-player-controls{
    gap:8px!important;
    padding:0 12px 12px!important;
  }
  .ct-player-shell--phase16 .ct-player-btn svg{width:18px!important;height:18px!important}
  .ct-player-shell--phase16 .ct-player-time{font-size:.9rem!important}
  .ct-player-shell--phase16 .ct-player-select{font-size:.86rem!important}
  .ct-player-shell--phase16 .ct-player-controls__row{gap:10px!important}
  .ct-player-shell--phase16 .ct-player-controls__group{gap:10px!important}
  .ct-player-shell--phase16 .ct-player-overlay-play{width:60px!important;height:60px!important}
}

/* Phase 16.0.4 play overlay center fix */
.ct-player-shell--phase16{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ct-player-shell--phase16 .ct-modern-player{position:relative!important;overflow:hidden!important;border-radius:24px!important;background:#000!important;isolation:isolate!important}
.ct-player-shell--phase16 .ct-player--modern{display:block!important;width:100%!important;aspect-ratio:16/9!important;object-fit:contain!important;border-radius:24px!important;background:#000!important}

.ct-player-shell--phase16 .ct-player-controls{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:6!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:0 14px 12px!important;margin:0!important;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.10) 20%,rgba(0,0,0,.72) 100%)!important;pointer-events:none!important;opacity:1!important;visibility:visible!important;transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important}
.ct-player-shell--phase16 .ct-player-progress-wrap,.ct-player-shell--phase16 .ct-player-controls__row{pointer-events:auto!important}
.ct-player-shell--phase16 .ct-player-progress-wrap{margin:0!important;padding:0!important;width:100%!important}
.ct-player-shell--phase16 .ct-player-progress{width:100%!important;height:4px!important;margin:0!important;background:transparent!important}
.ct-player-shell--phase16 .ct-player-controls__row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:nowrap!important;overflow:hidden!important}
.ct-player-shell--phase16 .ct-player-controls__group{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;min-width:0!important}
.ct-player-shell--phase16 .ct-player-controls__group--right{margin-left:auto!important;justify-content:flex-end!important}
.ct-player-shell--phase16 .ct-player-btn,.ct-player-shell--phase16 .ct-player-btn:hover,.ct-player-shell--phase16 .ct-player-btn:focus-visible{width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;pointer-events:auto!important}
.ct-player-shell--phase16 .ct-player-btn svg{width:19px!important;height:19px!important}
.ct-player-shell--phase16 .ct-player-time{min-width:auto!important;font-size:.98rem!important;font-weight:800!important;line-height:1!important;color:#fff!important;white-space:nowrap!important}
.ct-player-shell--phase16 .ct-player-select-wrap{display:flex!important;align-items:center!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;pointer-events:auto!important}
.ct-player-shell--phase16 .ct-player-select-wrap.is-disabled{display:none!important}
.ct-player-shell--phase16 .ct-player-select{height:auto!important;min-height:0!important;padding:0 14px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:.92rem!important;font-weight:800!important;max-width:74px!important}

/* play overlay always stays centered */
.ct-player-shell--phase16 .ct-player-overlay-play{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%) scale(1)!important;z-index:7!important;width:66px!important;height:66px!important;border:0!important;border-radius:999px!important;background:rgba(5,10,18,.55)!important;backdrop-filter:blur(4px)!important;transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important}

/* hide UI (keep center transform) */
.ct-player-shell--phase16 .ct-modern-player:not(.is-ui-active):not(.is-paused) .ct-player-controls{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(10px)!important}
.ct-player-shell--phase16 .ct-modern-player:not(.is-ui-active):not(.is-paused) .ct-player-overlay-play{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(-50%,-50%) scale(0.92)!important}

/* show UI */
.ct-player-shell--phase16 .ct-modern-player.is-ui-active .ct-player-controls,
.ct-player-shell--phase16 .ct-modern-player.is-paused .ct-player-controls{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
.ct-player-shell--phase16 .ct-modern-player.is-ui-active .ct-player-overlay-play,
.ct-player-shell--phase16 .ct-modern-player.is-paused .ct-player-overlay-play{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(-50%,-50%) scale(1)!important}

@media (max-width:720px){
  .ct-player-shell--phase16 .ct-player-controls{padding:0 12px 10px!important;gap:8px!important}
  .ct-player-shell--phase16 .ct-player-controls__row{gap:10px!important}
  .ct-player-shell--phase16 .ct-player-controls__group{gap:10px!important}
  .ct-player-shell--phase16 .ct-player-select{max-width:58px!important;font-size:.86rem!important;padding-right:10px!important}
  .ct-player-shell--phase16 .ct-player-time{font-size:.88rem!important}
  .ct-player-shell--phase16 .ct-player-btn svg{width:17px!important;height:17px!important}
}

/* Phase 18 locked trailer CTA */
.ct-player-cta[hidden]{display:none!important}
.ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta{
  position:absolute;
  inset:auto 14px 14px 14px;
  z-index:8;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:16px;
  border-radius:18px;
  background:rgba(7,10,16,.88);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 36px rgba(0,0,0,.38);
}
.ct-player-cta__copy strong{display:block;font-size:1rem;line-height:1.2;margin-bottom:4px;color:#fff}
.ct-player-cta__copy p{margin:0;color:#cbd5e1;font-size:.92rem;line-height:1.45}
.ct-player-cta__actions{display:flex;flex-wrap:wrap;gap:10px}
.ct-player-cta__paypal:empty{display:none}
.ct-player-cta__paypal .ct-error{margin:0}
.ct-paypal-area:empty{display:none}
.ct-lock-hint--phase18{margin:12px 2px 0;color:#96a3b7}
@media (max-width:560px){
  .ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta{left:10px;right:10px;bottom:10px;padding:14px;border-radius:16px}
  .ct-player-cta__actions{flex-direction:column}
  .ct-player-cta__actions .ct-pill{width:100%;justify-content:center}
}

/* Phase 21 monetization mounts */
.ct-paypal-area,.ct-player-cta__paypal{min-height:0}
.ct-paypal-mount{width:100%;min-height:42px}
.ct-player-cta__paypal .ct-paypal-mount{margin-top:4px}

/* Phase 22 upload + paywall + fullscreen fixes */
.ct-app--focus .ct-app-shell,
.ct-main-shell--solo,
.ct-main--solo{max-width:none!important;width:100%!important}
.ct-main-shell--solo{grid-template-columns:minmax(0,1fr)!important}
.ct-main--solo{padding-left:0!important;padding-right:0!important}
.ct-upload-preview-card,.ct-upload-poster-preview,.ct-processing-player,.ct-paywall-block{background:rgba(12,16,24,.68);border:1px solid rgba(255,255,255,.08);border-radius:20px}
.ct-upload-preview-card{margin-top:18px;padding:14px;display:grid;gap:12px}
.ct-upload-preview-card__head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#cbd5e1}
.ct-upload-preview-card__video{width:100%;max-height:360px;background:#000;border-radius:16px;object-fit:contain}
.ct-upload-poster-preview{margin-top:16px;padding:12px}
.ct-upload-poster-preview img{display:block;width:100%;max-width:280px;border-radius:16px}
.ct-upload-progress{display:grid;gap:8px;margin:12px 0 0}
.ct-upload-progress__bar{height:10px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.ct-upload-progress__bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffffff 0%,#9fb7ff 100%);transition:width .2s ease}
.ct-upload-progress__meta{display:flex;justify-content:space-between;gap:12px;color:#cbd5e1;font-size:.92rem}
.ct-processing-player{overflow:hidden}
.ct-processing-player__poster{background:#000}
.ct-processing-player__poster img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}
.ct-processing-player__body{padding:20px}
.ct-processing-player__body strong{display:block;font-size:1.05rem;margin-bottom:6px;color:#fff}
.ct-processing-player__body p{margin:0;color:#cbd5e1}
.ct-paywall-modal[hidden]{display:none!important}
.ct-paywall-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px}
.ct-paywall-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}
.ct-paywall-modal__panel{position:relative;z-index:1;width:min(780px,100%);max-height:min(88vh,920px);overflow:auto;padding:20px;border-radius:24px;background:#0b111a;border:1px solid rgba(255,255,255,.10);box-shadow:0 32px 90px rgba(0,0,0,.45)}
.ct-paywall-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.ct-paywall-modal__head strong{display:block;font-size:1.15rem;color:#fff}
.ct-paywall-modal__head p{margin:4px 0 0;color:#cbd5e1}
.ct-paywall-modal__body{display:grid;gap:16px}
.ct-paywall-block{padding:18px}
.ct-paywall-block strong{display:block;color:#fff;font-size:1rem;margin-bottom:6px}
.ct-paywall-block p{margin:0 0 14px;color:#cbd5e1}
body.ct-paywall-open{overflow:hidden}
.ct-modern-player:fullscreen,.ct-modern-player:-webkit-full-screen,.ct-modern-player.is-fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;border-radius:0!important;background:#000!important;padding:0!important;margin:0!important}
.ct-modern-player:fullscreen .ct-player--modern,.ct-modern-player:-webkit-full-screen .ct-player--modern,.ct-modern-player.is-fullscreen .ct-player--modern{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:0!important;background:#000!important}
.ct-modern-player:fullscreen .ct-player-controls,.ct-modern-player:-webkit-full-screen .ct-player-controls,.ct-modern-player.is-fullscreen .ct-player-controls{padding:0 22px 18px!important}
.ct-modern-player:fullscreen .ct-player-cta,.ct-modern-player:-webkit-full-screen .ct-player-cta,.ct-modern-player.is-fullscreen .ct-player-cta{left:22px!important;right:22px!important;bottom:22px!important;max-width:none!important}
@media (max-width:820px){
  .ct-paywall-modal{padding:12px}
  .ct-paywall-modal__panel{padding:16px;border-radius:20px;max-height:92vh}
}
@media (max-width:560px){
  .ct-paywall-modal{padding:0;align-items:end}
  .ct-paywall-modal__panel{width:100%;max-height:94vh;border-radius:22px 22px 0 0}
  .ct-paywall-block{padding:16px}
  .ct-processing-player__body{padding:16px}
}

.ct-upload-kind-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);max-width:420px}
.ct-upload-kind-switch__button{appearance:none;border:none;background:transparent;color:#cbd5e1;padding:12px 18px;border-radius:999px;font:inherit;font-weight:700;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.ct-upload-kind-switch__button.is-active{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08));color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.ct-upload-trim-card{display:grid;gap:12px;padding:14px;border-radius:20px;background:rgba(12,16,24,.68);border:1px solid rgba(255,255,255,.08)}
.ct-upload-trim-card input[type=range]{width:100%}
.ct-upload-form [hidden]{display:none!important}
@media (max-width:780px){.ct-upload-kind-switch{max-width:none;width:100%}}

.ct-history-strip{display:flex;gap:16px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}.ct-history-strip>.ct-card--video{flex:0 0 min(340px,84vw);min-width:min(340px,84vw);scroll-snap-align:start}.ct-history-strip::-webkit-scrollbar{height:8px}.ct-history-strip::-webkit-scrollbar-thumb{background:rgba(132,145,182,.35);border-radius:999px}.ct-upload-progress__actions{display:flex;justify-content:flex-end;margin-top:10px}.ct-upload-progress__actions .ct-pill{padding:8px 12px}.ct-upload-kind-switch__button[disabled]{opacity:.55;cursor:not-allowed}


.ct-home-rail-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,340px);gap:16px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin;scroll-snap-type:x proximity}.ct-home-rail-scroll>.ct-card{scroll-snap-align:start}.ct-home-rail-scroll::-webkit-scrollbar{height:10px}.ct-home-rail-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}.ct-upload-progress__actions{display:flex;justify-content:flex-end}.ct-processing-player--locked .ct-player-cta__actions{margin-top:16px}
@media (max-width:780px){.ct-home-rail-scroll{grid-auto-columns:minmax(82vw,82vw)}}


/* Phase 26 */
@media (min-width: 981px){
  .ct-home-page > .ct-section__header,
  .ct-upload-page > .ct-section__header{display:none!important}
}
.ct-reel-suggest-box {
    margin: 5px 0 5px;
    padding: 0;
    
    border: none;
}
.ct-reel-suggest-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.ct-reel-suggest-card{
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.07);
}
.ct-reel-suggest-card__media{
  display:block;
  aspect-ratio:9/16;
  background:#000;
}
.ct-reel-suggest-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ct-reel-suggest-card__meta{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:12px;
}
.ct-reel-suggest-card__avatar .ct-avatar{
  width:34px!important;
  height:34px!important;
}
.ct-reel-suggest-card__copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.ct-reel-suggest-card__copy strong,
.ct-reel-suggest-card__copy span,
.ct-reel-suggest-card__copy small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ct-reel-suggest-card__copy span,
.ct-reel-suggest-card__copy small{
  color:#cbd5e1;
}
@media (min-width: 781px){
  .ct-reel-suggest-grid{
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  }
}
@media (max-width: 780px){
  .ct-reel-suggest-grid .ct-reel-suggest-card:nth-child(n+5){display:none}
}
.ct-short-stage__copy .ct-badge{display:none!important}
.ct-processing-player--locked .ct-processing-player__body{
  padding-top:18px;
}
.ct-processing-player--locked .ct-player-cta__actions{
  justify-content:flex-start;
}


/* Phase 27 */
@media (min-width:1025px){
  .ct-topbar__left{display:none!important;}
  .ct-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;}
  .ct-search{max-width:none!important;margin:0!important;}
}
@media (max-width:1024px){
  .ct-logo--topbar{display:inline-flex!important;}
}
.ct-reel-suggest-box .ct-section__header{margin-bottom:14px;}
@media (min-width:781px){
  .ct-reel-suggest-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:clamp(132px,12vw,160px)!important;
    gap:12px!important;
    overflow-x:auto;
    overflow-y:hidden;
    justify-content:flex-start;
    align-items:start;
    padding-bottom:6px;
    scrollbar-width:thin;
  }
  .ct-reel-suggest-grid::-webkit-scrollbar{height:8px;}
  .ct-reel-suggest-grid::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:999px;}
  .ct-reel-suggest-card{max-width:160px;}
  .ct-reel-suggest-card__media{aspect-ratio:9/16;max-height:284px;}
  .ct-reel-suggest-card__meta{padding:10px 10px 11px;gap:8px;}
  .ct-reel-suggest-card__copy strong{font-size:.92rem;line-height:1.2;}
  .ct-reel-suggest-card__copy span,
  .ct-reel-suggest-card__copy small{font-size:.78rem;}
}
@media (max-width:780px){
  .ct-reel-suggest-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;overflow:visible!important;}
  .ct-reel-suggest-card__media{aspect-ratio:9/16;max-height:none;}
}

/* phase27.0.1 remove launch button everywhere */
.ct-card__launch{display:none!important}
.ct-card--video .ct-card__header{grid-template-columns:auto minmax(0,1fr)!important}
@media (max-width:560px){.ct-card--video .ct-card__header{grid-template-columns:auto minmax(0,1fr)!important}}


/* phase28.0.1 watch page flat cards */
.ct-watch .ct-player-shell--watch,
.ct-watch .ct-watch-card,
.ct-watch .ct-card,
.ct-watch .ct-panel,
.ct-watch .ct-comment-card,
#ct-comments .ct-comment-card,
.ct-watch__aside .ct-card,
.ct-watch__aside .ct-panel,
.ct-watch__aside .ct-watch-card{
  border:none!important;
  box-shadow:none!important;
}


/* Phase 28.0.2 mobile polish */
@media (max-width:780px){
  .ct-home-page > .ct-section__header{display:none!important}

  .ct-mobile-nav{
    left:0!important;
    right:0!important;
    bottom:0!important;
    gap:0!important;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))!important;
    background:#0d1015!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .ct-mobile-nav a,
  .ct-mobile-nav button{
    padding:8px 4px!important;
    min-height:52px!important;
    border-radius:0!important;
    gap:4px!important;
    font-size:.66rem!important;
  }
  .ct-mobile-nav svg{width:20px!important;height:20px!important}
  .ct-mobile-nav span{font-size:.66rem!important;line-height:1.05!important}

  .ct-main{padding-bottom:78px!important}
  .ct-shorts-shell .ct-main,
  .ct-shorts-shell .ct-shorts-feed--phase15{padding-bottom:78px!important}

  .ct-watch__aside .ct-suggest-card,
  .ct-suggested-list .ct-suggest-card{
    grid-template-columns:minmax(144px,42vw) minmax(0,1fr)!important;
    gap:14px!important;
    align-items:center!important;
  }
  .ct-watch__aside .ct-suggest-card__thumb,
  .ct-suggested-list .ct-suggest-card__thumb{
    border-radius:18px!important;
    overflow:hidden!important;
    aspect-ratio:16/10!important;
  }
  .ct-watch__aside .ct-suggest-card__thumb img,
  .ct-suggested-list .ct-suggest-card__thumb img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  .ct-watch__aside .ct-suggest-card__body,
  .ct-suggested-list .ct-suggest-card__body{
    padding-top:0!important;
    gap:6px!important;
  }
}

@media (max-width:560px){
  .ct-mobile-nav{
    padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px))!important;
  }
  .ct-mobile-nav a,
  .ct-mobile-nav button{
    min-height:48px!important;
    padding:7px 2px!important;
    font-size:.62rem!important;
  }
  .ct-mobile-nav span{font-size:.62rem!important}

  .ct-watch__aside .ct-suggest-card,
  .ct-suggested-list .ct-suggest-card{
    grid-template-columns:minmax(136px,40vw) minmax(0,1fr)!important;
  }
}


/* Phase 29.0.0 labels and nav polish */
.ct-badge--icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:6px 9px!important;
  min-width:32px;
}
.ct-badge--icon .ct-icon{
  width:14px!important;
  height:14px!important;
  display:block;
}
.ct-badge--double{
  gap:4px!important;
  padding-inline:8px!important;
}
.ct-suggest-card__reason--icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px;
  min-width:28px;
  height:28px;
  padding:0!important;
}
.ct-suggest-card__reason--icon .ct-icon{
  width:14px!important;
  height:14px!important;
}
.ct-reel-suggest-grid {
    gap: 6px;
}

/* Phase 31.0.0 preview file recovery + icon color polish */
.ct-badge--premium{
  background:rgba(255,184,0,.14)!important;
  border:1px solid rgba(255,184,0,.34)!important;
  color:#ffbe3b!important;
}
.ct-badge--premium .ct-icon{
  color:#ffbe3b!important;
}
.ct-badge--premium-subs{
  background:rgba(112,91,255,.16)!important;
  border:1px solid rgba(112,91,255,.34)!important;
  color:#9f8bff!important;
}
.ct-badge--premium-subs .ct-icon{
  color:#9f8bff!important;
}
.ct-badge--double{
  background:rgba(20,24,35,.92)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.ct-badge--double .ct-icon:first-child{
  color:#ffbe3b!important;
}
.ct-badge--double .ct-icon:last-child{
  color:#9f8bff!important;
}
.ct-suggest-card__reason--icon{
  background:rgba(255,95,31,.14)!important;
  border:1px solid rgba(255,95,31,.32)!important;
  color:#ff8b52!important;
}
.ct-suggest-card__reason--icon .ct-icon{
  color:#ff8b52!important;
}


/* Phase 34.0.0 upload preview polish */
.ct-upload-preview-card + .ct-upload-preview-card{margin-top:14px}


/* Phase 35.0.0 preview audio, sidebar, tags, and autoplay polish */
.ct-card__badges{position:absolute;top:10px;right:10px;left:auto;display:flex;align-items:center;gap:8px;z-index:3;flex-wrap:wrap;justify-content:flex-end}
.ct-quality-tag{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:6px 10px;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.04em;color:#fff;background:#2563eb;box-shadow:0 10px 24px rgba(0,0,0,.22)}
.ct-quality-tag--hd{background:#2563eb}
.ct-quality-tag--fhd{background:#0f766e}
.ct-quality-tag--4k{background:#7c3aed}
.ct-quality-tag--sd{background:#475569}
.ct-suggest-card__video,.ct-reel-suggest-card__video{width:100%;height:100%;object-fit:cover;display:block}
.ct-card__actions--suggested{margin-top:10px;flex-wrap:wrap}
.ct-card__actions--suggested .ct-icon-btn{min-height:38px}
.ct-reel-suggest-card__media{position:relative;overflow:hidden}
.ct-reel-suggest-card__media .ct-quality-tag{position:absolute;top:10px;right:10px}

@media (max-width:1024px){
  .ct-sidebar{flex-basis:220px!important;width:220px!important;padding:22px 14px!important}
  .ct-logo--desktop,.ct-nav__item strong{display:block!important}
  .ct-nav__item{justify-content:flex-start!important;gap:14px!important;padding:13px 14px!important}
  .ct-nav__item svg{width:24px!important;height:24px!important;flex:0 0 24px}
}

@media (max-width:780px){
  .ct-mobile-drawer__panel{width:min(286px,78vw)!important;padding:16px 14px!important}
  .ct-nav--mobile .ct-nav__item{justify-content:flex-start!important;gap:12px!important;padding:12px 12px!important}
  .ct-nav--mobile .ct-nav__item strong{display:block!important}
  .ct-nav--mobile .ct-nav__item svg{width:22px!important;height:22px!important;flex:0 0 22px}
  .ct-notify__label{display:none!important}

  .ct-suggested-list .ct-suggest-card,
  .ct-watch__aside .ct-suggest-card{grid-template-columns:1fr!important;gap:12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
  .ct-suggested-list .ct-suggest-card__thumb,
  .ct-watch__aside .ct-suggest-card__thumb{aspect-ratio:16/9!important;border-radius:18px!important;overflow:hidden!important}
  .ct-suggested-list .ct-suggest-card__body,
  .ct-watch__aside .ct-suggest-card__body{padding:0 2px 6px!important;gap:8px!important}
  .ct-suggested-list .ct-suggest-card__body h3,
  .ct-watch__aside .ct-suggest-card__body h3{font-size:1rem!important;line-height:1.32!important}
  .ct-suggested-list .ct-card__actions--suggested,
  .ct-watch__aside .ct-card__actions--suggested{justify-content:flex-start!important;padding-bottom:2px}
}

/* phase36 narrow fixes */
.ct-card--video .ct-card__actions,
.ct-card__actions--suggested{
  justify-content:flex-start !important;
  padding-left:0 !important;
}
.ct-card--video .ct-card__actions .ct-icon-btn,
.ct-card__actions--suggested .ct-icon-btn{
  justify-content:flex-start;
}
.ct-upload-form select[multiple][name="video_category[]"]{
  min-height:164px;
  padding-block:10px;
}
.ct-upload-form select[multiple][name="video_category[]"] option{
  padding:8px 10px;
}


/* Phase 41.0.0 reels full-bleed fit */
.ct-shorts-page{
  background:#000!important;
}
.ct-shorts-feed--phase15,
.ct-short-stage,
.ct-short-stage__shell,
.ct-short-stage__video-wrap{
  background:#000!important;
}
.ct-short-stage{
  min-height:100svh!important;
  padding:0!important;
}
.ct-short-stage__shell{
  width:100%!important;
  max-width:none!important;
  height:100svh!important;
}
.ct-short-stage__video-wrap{
  width:100%!important;
  height:100%!important;
  border-radius:0!important;
  box-shadow:none!important;
  isolation:isolate;
}
.ct-short-stage__video-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--ct-short-poster, #000) center center / cover no-repeat;
  transform:scale(1.08);
  filter:blur(28px);
  opacity:.9;
}
.ct-short-stage__video{
  position:relative;
  z-index:1;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
}
.ct-short-stage__left,
.ct-short-stage__right,
.ct-shorts-page__back{
  z-index:2!important;
}
@media (max-width:820px){
  .ct-shorts-feed--phase15{height:100svh!important;padding-bottom:0!important;}
  .ct-short-stage__shell{height:100svh!important;}
  .ct-short-stage__video-wrap::before{filter:blur(24px);transform:scale(1.12);}
}


.ct-card__media .ct-badge{right:50px;bottom:0;left:auto}
.ct-photo-upload-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.ct-photo-preview-item{position:relative;border-radius:16px;overflow:hidden;background:var(--panel);display:grid;gap:0}
.ct-photo-preview-item img{width:100%;height:150px;object-fit:cover;display:block}
.ct-photo-preview-remove{position:absolute;top:8px;right:8px;border:none;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;z-index:3}
.ct-photo-preview-progress{position:absolute;left:10px;right:10px;bottom:44px;height:8px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden;z-index:2}
.ct-photo-preview-progress span{display:block;height:100%;border-radius:inherit;background:rgba(255,255,255,.94);width:0;transition:width .18s ease}
.ct-photo-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:rgba(0,0,0,.32);font-size:.78rem;color:#e2e8f0}
.ct-photo-preview-meta strong{font-size:.78rem;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-photo-preview-item.is-uploaded .ct-photo-preview-progress span{width:100%}
.ct-photo-preview-item.is-failed .ct-photo-preview-progress span{width:100%!important;background:#f87171}
.ct-photo-page,.ct-photo-feed{display:grid;gap:18px}
.ct-photo-gallery-card{display:grid;gap:12px;border-radius:24px;background:var(--panel);padding:12px}
.ct-photo-gallery-card__stage{position:relative;display:block;border-radius:22px;overflow:hidden;background:#000}
.ct-photo-gallery-card__rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(72vw,1fr);overflow-x:auto;scroll-snap-type:x mandatory}
.ct-photo-gallery-card__frame{position:relative;min-height:72vh;scroll-snap-align:center;background:#000}
.ct-photo-gallery-card__frame img{width:100%;height:100%;object-fit:contain;display:block}
.ct-photo-gallery-card__blur{position:absolute;inset:0;backdrop-filter:blur(60px);background:rgba(0,0,0,.08)}
.ct-photo-gallery-card__count{position:absolute;top:14px;right:14px;z-index:3;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.74);color:#fff;font-weight:800}
.ct-photo-gallery-card__body{padding:6px 8px 10px}
.ct-purchases-list{display:grid;gap:12px}
.ct-purchase-row{display:grid;gap:4px;padding:14px 16px;border-radius:16px;background:var(--panel-alt);text-decoration:none;color:inherit}
@media (max-width:780px){
  .ct-photo-gallery-card__rail{grid-auto-columns:100%}
  .ct-photo-gallery-card__frame{min-height:78svh}
}

.ct-upload-page--phase46{display:grid;gap:18px}
.ct-upload-kind-switch--phase46{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;border:none;background:transparent;max-width:none}
.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 18px;border-radius:22px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-align:center}
.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button strong{font-size:.98rem;color:#fff}
.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button.is-active{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08));box-shadow:0 16px 42px rgba(0,0,0,.2),inset 0 0 0 1px rgba(255,255,255,.12)}
.ct-upload-kind-copy{display:none}
.ct-upload-note{margin:0;color:#cbd5e1}
.ct-paywall-inline-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.ct-photo-gallery-card--detail{padding:14px}
.ct-photo-gallery-card--detail .ct-photo-gallery-card__frame{min-height:min(78vh,900px)}
.ct-photo-preview-badge{position:absolute;left:8px;top:8px;display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;font-weight:800;font-size:.85rem}
@media (max-width:900px){.ct-upload-kind-switch--phase46{grid-template-columns:1fr}}
@media (max-width:640px){.ct-photo-gallery-card--detail .ct-photo-gallery-card__frame{min-height:72svh}}

/* ===== Phase 47 — YouTube-like homepage shell ===== */
:root{
  --ct-yt-bg:#0f0f0f;
  --ct-yt-panel:#181818;
  --ct-yt-panel-2:#222222;
  --ct-yt-chip:#272727;
  --ct-yt-line:rgba(255,255,255,.12);
  --ct-yt-text:#f1f1f1;
  --ct-yt-muted:#aaaaaa;
}
html,body{
  background:var(--ct-yt-bg)!important;
  color:var(--ct-yt-text)!important;
  font-family:Roboto,Arial,Helvetica,sans-serif!important;
}
body{background-image:none!important}
.ct-app,.ct-main-shell,.ct-main,.ct-sidebar,.ct-topbar,.ct-mobile-drawer__panel,.ct-mobile-search-tray{background:var(--ct-yt-bg)!important}
.ct-main-shell{min-width:0}
.ct-main{
  max-width:none!important;
  width:100%!important;
  padding:16px 24px 40px!important;
}
.ct-topbar--yt{
  position:sticky;
  top:0;
  z-index:60;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:10px 18px!important;
  background:#0f0f0f!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.ct-topbar__left,.ct-topbar__center,.ct-topbar__right{display:flex;align-items:center;gap:12px;min-width:0}
.ct-topbar__center{justify-content:center}
.ct-topbar__right{justify-content:flex-end}
.ct-menu-toggle,
.ct-topbar__circle,
.ct-card-menu__toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.ct-menu-toggle:hover,.ct-topbar__circle:hover,.ct-card-menu__toggle:hover{background:rgba(255,255,255,.08)}
.ct-logo--brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:1.45rem;letter-spacing:-.03em;text-transform:none}
.ct-logo__mark{position:relative;display:inline-block;width:32px;height:22px;border-radius:8px;background:#ff0033;flex:0 0 auto}
.ct-logo__mark::before{content:"";position:absolute;left:12px;top:6px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:9px solid #fff}
.ct-logo__text{line-height:1;color:#fff}
.ct-search--yt{
  position:relative;
  display:flex;
  align-items:center;
  width:min(100%,640px);
  min-width:0;
}
.ct-search--yt input{
  height:42px;
  padding:0 56px 0 18px!important;
  border-radius:999px!important;
  border:1px solid #303030!important;
  background:#121212!important;
  color:#fff!important;
  box-shadow:none!important;
}
.ct-search--yt input::placeholder{color:#8e8e8e}
.ct-search__submit{
  position:absolute;
  right:4px;
  top:4px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#222;
  color:#fff;
  cursor:pointer;
}
.ct-search__icon{display:none!important}
.ct-user-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 16px 0 10px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  background:transparent;
  color:#fff;
  font-weight:700;
}
.ct-user-pill__avatar .ct-avatar{width:28px!important;height:28px!important}
.ct-user-pill__icon{display:inline-flex;align-items:center;justify-content:center}
.ct-user-pill__label{white-space:nowrap;font-size:1rem}
.ct-topbar__mobile-search{display:none}
.ct-mobile-search-tray{display:none;padding:0 14px 12px;border-bottom:1px solid rgba(255,255,255,.08);background:#0f0f0f!important}
.ct-mobile-search-tray.is-open{display:block}
.ct-sidebar--yt{
  position:sticky!important;
  top:0;
  align-self:flex-start;
  width:240px;
  min-width:240px;
  height:100vh;
  padding:12px 12px 28px!important;
  background:#0f0f0f!important;
  border-right:1px solid rgba(255,255,255,.06)!important;
  overflow-y:auto!important;
}
.ct-sidebar--yt .ct-logo--desktop{margin:0 6px 12px}
.ct-nav--yt{display:flex;flex-direction:column;gap:2px}
.ct-sidebar__section{display:flex;flex-direction:column;gap:2px}
.ct-sidebar__separator{height:1px;background:rgba(255,255,255,.1);margin:12px 0}
.ct-nav--yt .ct-nav__item{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:40px;
  padding:0 12px;
  border-radius:10px;
  color:#f1f1f1;
  font-weight:500;
  background:transparent;
}
.ct-nav--yt .ct-nav__item strong{font-size:.94rem;font-weight:500}
.ct-nav--yt .ct-nav__item:hover,.ct-nav--yt .ct-nav__item.is-active{background:#272727!important;color:#fff!important;box-shadow:none!important}
.ct-sidebar__promo{display:grid;gap:12px;padding:14px 12px;border-radius:14px;background:#181818;border:1px solid rgba(255,255,255,.08)}
.ct-sidebar__promo p{margin:0;color:var(--ct-yt-muted);font-size:.92rem;line-height:1.45}
.ct-user-pill--sidebar{justify-content:center;width:max-content}
.ct-home-page--yt{display:grid;gap:18px!important}
.ct-home-categories{position:relative;overflow:hidden}
.ct-chip-row--home{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center;
  gap:12px!important;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 0 10px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.ct-chip-row--home::-webkit-scrollbar{display:none}
.ct-chip--home{
  flex:0 0 auto;
  min-height:36px;
  padding:0 14px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px!important;
  border:0!important;
  background:#272727!important;
  color:#f1f1f1!important;
  font-size:.95rem;
  font-weight:600;
}
.ct-chip--home.is-active{background:#fff!important;color:#0f0f0f!important}
.ct-search-summary{display:grid;gap:4px;margin-top:-4px}
.ct-search-summary h1{margin:0;font-size:1.35rem;letter-spacing:-.03em}
.ct-search-summary p{margin:0;color:var(--ct-yt-muted);font-size:.93rem}
.ct-channel-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ct-channel-strip__item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:#181818;border:1px solid rgba(255,255,255,.08)}
.ct-channel-strip__copy h2{margin:0 0 2px;font-size:1rem}
.ct-channel-strip__copy p{margin:0;color:var(--ct-yt-muted);font-size:.92rem}
.ct-grid--home-yt{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 18px!important}
.ct-card--video{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.ct-card--video .ct-card__media{
  position:relative;
  aspect-ratio:16/9;
  border-radius:18px!important;
  overflow:hidden;
  border:0!important;
  background:#000;
  box-shadow:none!important;
}
.ct-card--video .ct-card__video,
.ct-card--video .ct-card__media img{width:100%;height:100%;object-fit:cover}
.ct-card__badges{position:absolute;left:12px;top:12px;right:12px;display:flex;justify-content:flex-start;gap:8px;pointer-events:none}
.ct-card__badges .ct-badge{position:static!important;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.75)!important;color:#fff;font-size:.72rem;font-weight:700;backdrop-filter:none}
.ct-card__duration{position:absolute;right:10px;bottom:10px;padding:3px 7px;border-radius:6px;background:rgba(0,0,0,.82);color:#fff;font-size:.78rem;font-weight:700;line-height:1.2}
.ct-card--video .ct-card__body{padding:12px 0 0!important;display:block!important}
.ct-card--video .ct-card__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important}
.ct-card--video .ct-card__avatar-link{display:inline-flex;padding-top:2px}
.ct-card--video .ct-avatar{width:36px!important;height:36px!important}
.ct-card--video .ct-card__copy{min-width:0}
.ct-card--video .ct-card__eyebrow{display:block;margin:0 0 4px;font-size:.76rem;color:#8e8e8e;font-weight:600}
.ct-card--video .ct-card__copy h3{margin:0 0 4px!important;font-size:1.02rem!important;line-height:1.35!important;font-weight:700!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ct-card--video .ct-card__copy p,
.ct-card--video .ct-card__copy small{margin:0;color:var(--ct-yt-muted)!important;font-size:.92rem!important;line-height:1.42}
.ct-card--video .ct-card__copy p a{color:var(--ct-yt-muted)!important}
.ct-card-menu{position:relative;align-self:start}
.ct-card-menu summary{list-style:none}
.ct-card-menu summary::-webkit-details-marker{display:none}
.ct-card-menu__toggle{color:#fff;margin-top:2px}
.ct-card-menu[open] .ct-card-menu__toggle{background:rgba(255,255,255,.1)}
.ct-card-menu__panel{
  position:absolute;
  top:40px;
  right:0;
  min-width:200px;
  padding:8px;
  display:grid;
  gap:4px;
  border-radius:14px;
  background:#282828;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 50px rgba(0,0,0,.42);
  z-index:8;
}
.ct-card-menu__action{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:40px;
  padding:0 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#fff;
  cursor:pointer;
  text-align:left;
}
.ct-card-menu__action:hover,.ct-card-menu__action.is-active{background:rgba(255,255,255,.08)}
.ct-card--video .ct-card__actions{display:none!important}
.ct-mobile-nav{display:none!important}
.ct-mobile-drawer{display:none}
.ct-mobile-drawer__panel{background:#0f0f0f!important}
.ct-mobile-drawer__head{margin-bottom:14px}
.ct-nav--mobile{display:grid;gap:2px;overflow-y:auto;padding-right:2px}
.ct-nav--mobile .ct-nav__item{padding:0 10px;min-height:42px}

@media (max-width:1536px){
  .ct-grid--home-yt{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:1280px){
  .ct-sidebar--yt{width:92px;min-width:92px;padding-inline:6px!important}
  .ct-sidebar--yt .ct-logo--desktop{display:none!important}
  .ct-nav--yt .ct-nav__item{flex-direction:column;justify-content:center;gap:7px;min-height:74px;padding:10px 4px;text-align:center;border-radius:14px}
  .ct-nav--yt .ct-nav__item strong{display:block!important;font-size:.72rem;line-height:1.15}
  .ct-sidebar__promo,.ct-sidebar__separator{display:none}
  .ct-grid--home-yt{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:1120px){
  .ct-grid--home-yt{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ct-topbar--yt{grid-template-columns:auto minmax(0,1fr) auto}
}
@media (max-width:780px){
  .ct-sidebar--yt{display:none!important}
  .ct-mobile-drawer{position:fixed;inset:0;z-index:90;pointer-events:none}
  .ct-mobile-drawer.is-open{display:block;pointer-events:auto}
  .ct-mobile-drawer__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);border:0}
  .ct-mobile-drawer__panel{position:absolute;left:0;top:0;bottom:0;width:min(320px,84vw);padding:16px 14px 22px;border-right:1px solid rgba(255,255,255,.08);transform:translateX(-100%);transition:transform .22s ease}
  .ct-mobile-drawer.is-open .ct-mobile-drawer__panel{transform:translateX(0)}
  .ct-topbar--yt{padding:10px 14px!important;gap:10px}
  .ct-topbar__center{display:none}
  .ct-topbar__mobile-search{display:inline-flex}
  .ct-topbar__desktop-only{display:none!important}
  .ct-user-pill{min-height:38px;padding:0 14px 0 10px}
  .ct-main{padding:12px 14px 32px!important}
  .ct-home-page--yt{gap:16px!important}
  .ct-chip-row--home{gap:10px!important;padding-top:2px;padding-bottom:6px}
  .ct-chip--home{min-height:44px;padding:0 17px!important;border-radius:14px!important;font-size:1rem}
  .ct-grid--home-yt{grid-template-columns:1fr!important;gap:24px!important}
  .ct-card--video .ct-card__media{border-radius:18px!important}
  .ct-card--video .ct-card__copy h3{font-size:1.04rem!important}
  .ct-card--video .ct-card__copy p,.ct-card--video .ct-card__copy small{font-size:.94rem!important}
}
@media (max-width:560px){
  .ct-topbar--yt{padding:9px 12px!important}
  .ct-logo--brand{font-size:1.24rem}
  .ct-logo__mark{width:29px;height:21px;border-radius:7px}
  .ct-logo__mark::before{left:11px;top:5.5px;border-top-width:5px;border-bottom-width:5px;border-left-width:8px}
  .ct-main{padding:10px 14px 26px!important}
  .ct-chip-row--home{margin-inline:-2px;padding-inline:0}
  .ct-card--video .ct-card__header{gap:10px!important}
  .ct-card--video .ct-avatar{width:38px!important;height:38px!important}
  .ct-card-menu__panel{right:-4px;min-width:186px}
}


/* Phase 48 — mobile nav return, tighter tabs, reels rail */
.ct-topbar__alerts{position:relative;text-decoration:none}
.ct-topbar__badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff0033;color:#fff;font-size:.62rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.ct-user-pill--icon-only{padding:0!important;width:40px;min-width:40px;justify-content:center;border-radius:999px}
.ct-user-pill--icon-only .ct-user-pill__avatar{display:inline-flex;align-items:center;justify-content:center}
.ct-home-reels-rail{grid-column:1/-1;display:grid;gap:14px}
.ct-home-reels-rail__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-home-reels-rail__head h2{margin:0;font-size:1.08rem;letter-spacing:-.02em}
.ct-home-reels-rail__head a{color:#8ab4ff;font-size:.9rem;font-weight:600}
.ct-home-reels-rail__track{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;padding:2px 0 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ct-home-reels-rail__track::-webkit-scrollbar{display:none}
.ct-reel-suggest-card{flex:0 0 176px;display:grid;gap:9px}
.ct-reel-suggest-card__media{position:relative;display:block;aspect-ratio:9/16;border-radius:18px;overflow:hidden;background:#000}
.ct-reel-suggest-card__media img,.ct-reel-suggest-card__video{width:100%;height:100%;object-fit:cover}
.ct-reel-suggest-card__body{display:grid;gap:3px}
.ct-reel-suggest-card__body h3{margin:0;font-size:.9rem;line-height:1.28;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ct-reel-suggest-card__body p,.ct-reel-suggest-card__body small{margin:0;color:var(--ct-yt-muted);font-size:.8rem;line-height:1.35}
.ct-home-categories{margin-bottom:2px}
.ct-chip-row--home{gap:8px!important}
.ct-chip--home{min-height:38px;padding:0 14px!important;border-radius:12px!important;font-size:.9rem!important}
.ct-card--video .ct-card__copy h3{font-size:.96rem!important;line-height:1.32!important}
.ct-card--video .ct-card__copy p,.ct-card--video .ct-card__copy small{font-size:.86rem!important;line-height:1.38!important}
@media (max-width:780px){
  .ct-mobile-nav{position:fixed;left:8px;right:8px;bottom:8px;z-index:95;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));background:#0f0f0f!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;box-shadow:0 16px 36px rgba(0,0,0,.36)!important;backdrop-filter:none!important}
  .ct-mobile-nav a,.ct-mobile-nav button{display:grid!important;place-items:center;gap:5px;padding:8px 2px!important;border-radius:12px!important;background:transparent!important;border:0;color:#cfcfcf!important;font-size:.62rem!important;font-weight:700;min-height:54px}
  .ct-mobile-nav a.is-active,.ct-mobile-nav button.is-active{background:#1f1f1f!important;color:#fff!important}
  .ct-mobile-nav span{font-size:.62rem!important;line-height:1.05!important;text-align:center}
  .ct-mobile-nav svg{width:19px!important;height:19px!important}
  .ct-main{padding-bottom:88px!important}
  .ct-topbar__desktop-only{display:none!important}
  .ct-topbar__right{gap:6px!important}
  .ct-topbar__alerts,.ct-user-pill--icon-only,.ct-topbar__mobile-search,.ct-topbar__circle{width:38px;height:38px}
  .ct-chip-row--home{gap:8px!important;padding-bottom:4px}
  .ct-chip--home{min-height:36px!important;padding:0 12px!important;border-radius:11px!important;font-size:.86rem!important}
  .ct-card--video .ct-card__copy h3{font-size:.92rem!important}
  .ct-card--video .ct-card__copy p,.ct-card--video .ct-card__copy small{font-size:.8rem!important}
  .ct-home-reels-rail{gap:12px}
  .ct-home-reels-rail__head h2{font-size:1rem}
  .ct-reel-suggest-card{flex-basis:148px}
}
@media (max-width:560px){
  .ct-topbar--yt{padding:8px 10px!important}
  .ct-topbar__left,.ct-topbar__right{gap:8px!important}
  .ct-chip-row--home{margin-inline:0!important}
  .ct-home-page--yt{gap:14px!important}
  .ct-reel-suggest-card{flex-basis:138px}
  .ct-home-reels-rail__track{gap:12px}
}


/* Phase 49 — watch page alignment, smaller tabs/reels, sticky sidebar, mobile nav return */
.ct-sidebar--yt{position:sticky!important;top:0!important;height:100vh!important;align-self:start!important}
.ct-home-categories{margin-bottom:0!important}
.ct-chip-row--home{gap:7px!important;padding:2px 0 8px!important}
.ct-chip--home{min-height:34px!important;padding:0 12px!important;border-radius:10px!important;font-size:.84rem!important;font-weight:600!important}
.ct-home-reels-rail{gap:12px!important}
.ct-home-reels-rail__head h2{font-size:1rem!important}
.ct-home-reels-rail__track{gap:10px!important;padding:2px 0 2px!important}
.ct-reel-suggest-card{flex:0 0 132px!important;gap:8px!important}
.ct-reel-suggest-card__media{border-radius:16px!important}
.ct-reel-suggest-card__body h3{font-size:.84rem!important;line-height:1.22!important}
.ct-reel-suggest-card__body p,.ct-reel-suggest-card__body small{font-size:.74rem!important;line-height:1.3!important}

.ct-watch--phase15{grid-template-columns:minmax(0,1fr) 360px!important;gap:20px!important;align-items:start!important}
.ct-watch__main--phase15{gap:14px!important}
.ct-watch .ct-player-shell--watch{
  padding:0!important;
  background:#000!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.ct-watch .ct-modern-player,
.ct-watch .ct-player,
.ct-watch .ct-player--modern,
.ct-watch .ct-processing-player__poster,
.ct-watch .ct-processing-player__poster img{border-radius:inherit!important}
.ct-watch__meta--phase15{gap:10px!important}
.ct-watch-card--title,
.ct-watch-card--creator,
.ct-watch-card--aside{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.ct-watch-card--title .ct-watch-badge-row{display:none!important}
.ct-watch-card--title h1{font-size:clamp(1.5rem,2.1vw,2rem)!important;line-height:1.18!important;margin:0!important;letter-spacing:-.02em!important}
.ct-watch-card--creator .ct-channel-inline--watch{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}
.ct-watch-card--creator .ct-channel-inline--watch strong{font-size:1rem!important;font-weight:700!important}
.ct-watch-card--creator .ct-channel-followers{margin:2px 0 0!important;color:#aaa!important;font-size:.88rem!important}
.ct-watch-card--creator .ct-pill{
  min-height:38px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#0f0f0f!important;
  border:0!important;
  font-weight:700!important;
}
.ct-watch__actions--phase15{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:10px!important}
.ct-watch__actions--phase15 .ct-icon-btn{
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  background:#272727!important;
  border:0!important;
  color:#f4f4f4!important;
  gap:8px!important;
  box-shadow:none!important;
}
.ct-watch__actions--phase15 .ct-icon-btn.is-active{background:#3a3a3a!important}
.ct-watch-card--description{
  background:#272727!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:18px!important;
  padding:14px 16px!important;
}
.ct-watch__stats--description{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-bottom:8px!important;color:#f1f1f1!important;font-size:.96rem!important;font-weight:700!important}
.ct-watch__stats--description span+span{color:#c9c9c9!important;font-weight:600!important}
.ct-watch-card--description .ct-description__content,
.ct-watch-card--description .ct-description__content p{margin:0!important;color:#f1f1f1!important;font-size:1rem!important;line-height:1.5!important}
.ct-watch-card--description .ct-description__content p+p{margin-top:8px!important}
.ct-watch__aside--phase15{position:sticky!important;top:74px!important}
.ct-watch-suggested-head{display:none!important}
.ct-watch__aside .ct-suggested-list{display:grid!important;gap:14px!important}
.ct-watch__aside .ct-suggest-card{
  display:grid!important;
  grid-template-columns:168px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.ct-watch__aside .ct-suggest-card__thumb{position:relative!important;aspect-ratio:16/9!important;border-radius:12px!important;overflow:hidden!important;background:#000!important}
.ct-watch__aside .ct-suggest-card__thumb img,
.ct-watch__aside .ct-suggest-card__video{width:100%!important;height:100%!important;object-fit:cover!important}
.ct-watch__aside .ct-suggest-card__body{padding:0!important;min-width:0!important;display:grid!important;gap:4px!important}
.ct-suggest-card__reason{display:none!important}
.ct-suggest-card__row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:start!important}
.ct-suggest-card__copy{min-width:0!important}
.ct-watch__aside .ct-suggest-card__body h3{margin:0!important;font-size:.95rem!important;line-height:1.28!important;font-weight:700!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
.ct-watch__aside .ct-suggest-card__body p,
.ct-watch__aside .ct-suggest-card__body small{margin:0!important;color:#aaa!important;font-size:.82rem!important;line-height:1.32!important}
.ct-card-menu--suggested .ct-card-menu__toggle{padding:6px!important;min-height:32px!important;min-width:32px!important;border-radius:999px!important;background:transparent!important}
.ct-card-menu--suggested .ct-card-menu__panel{right:0!important;top:34px!important;min-width:180px!important}
.ct-watch__aside .ct-card__duration{font-size:.72rem!important;padding:3px 6px!important;border-radius:6px!important;right:8px!important;bottom:8px!important}
.ct-comments{margin-top:6px!important}

@media (max-width:1120px){
  .ct-watch--phase15{grid-template-columns:minmax(0,1fr) 320px!important}
}
@media (max-width:980px){
  .ct-watch--phase15{grid-template-columns:1fr!important;gap:18px!important}
  .ct-watch__aside--phase15{position:static!important;top:auto!important}
  .ct-watch__aside .ct-watch-card--aside{padding:0!important}
  .ct-watch__aside .ct-suggested-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 14px!important}
  .ct-watch__aside .ct-suggest-card{grid-template-columns:1fr!important;gap:10px!important}
  .ct-watch__aside .ct-suggest-card__thumb{border-radius:16px!important}
  .ct-watch__aside .ct-suggest-card__body h3{font-size:.96rem!important}
  .ct-watch__aside .ct-card-menu--suggested .ct-card-menu__panel{right:-4px!important}
}
@media (max-width:780px){
  .ct-mobile-nav{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:110!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px))!important;background:#0f0f0f!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;box-shadow:0 16px 36px rgba(0,0,0,.36)!important}
  .ct-mobile-nav a,.ct-mobile-nav button{display:grid!important;place-items:center!important;gap:5px!important;padding:8px 2px!important;border-radius:12px!important;background:transparent!important;border:0!important;color:#cfcfcf!important;font-size:.62rem!important;font-weight:700!important;min-height:54px!important}
  .ct-mobile-nav a.is-active,.ct-mobile-nav button.is-active{background:#1f1f1f!important;color:#fff!important}
  .ct-mobile-nav span{display:block!important;font-size:.62rem!important;line-height:1.05!important;text-align:center!important}
  .ct-mobile-nav svg{width:19px!important;height:19px!important}
  .ct-main{padding-bottom:96px!important}
  .ct-chip-row--home{gap:6px!important;padding-bottom:4px!important}
  .ct-chip--home{min-height:32px!important;padding:0 11px!important;border-radius:10px!important;font-size:.8rem!important}
  .ct-home-reels-rail__track{gap:8px!important}
  .ct-reel-suggest-card{flex-basis:118px!important}
  .ct-reel-suggest-card__media{border-radius:14px!important}
  .ct-reel-suggest-card__body h3{font-size:.8rem!important}
  .ct-reel-suggest-card__body p,.ct-reel-suggest-card__body small{font-size:.7rem!important}
  .ct-watch .ct-player-shell--watch{margin-inline:-14px!important;border-radius:0!important}
  .ct-watch .ct-modern-player,.ct-watch .ct-player,.ct-watch .ct-player--modern{border-radius:0!important}
  .ct-watch__meta--phase15{gap:12px!important}
  .ct-watch-card--title h1{padding:0 2px!important;font-size:1.26rem!important;line-height:1.2!important}
  .ct-watch-card--creator .ct-channel-inline--watch{grid-template-columns:auto minmax(0,1fr) auto!important}
  .ct-watch-card--creator .ct-channel-inline--watch .ct-avatar{width:44px!important;height:44px!important}
  .ct-watch-card--creator .ct-pill{min-height:36px!important;padding:0 16px!important}
  .ct-watch__actions--phase15{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important;scrollbar-width:none!important}
  .ct-watch__actions--phase15::-webkit-scrollbar{display:none!important}
  .ct-watch__actions--phase15 .ct-icon-btn{flex:0 0 auto!important;padding:0 13px!important}
  .ct-watch-card--description{border-radius:18px!important;padding:12px 14px!important}
  .ct-watch__stats--description{font-size:.9rem!important;gap:8px!important}
  .ct-watch-card--description .ct-description__content,.ct-watch-card--description .ct-description__content p{font-size:.94rem!important;line-height:1.45!important}
  .ct-watch__aside .ct-suggested-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
  .ct-watch__aside .ct-suggest-card__body h3{font-size:.92rem!important}
  .ct-watch__aside .ct-suggest-card__body p,.ct-watch__aside .ct-suggest-card__body small{font-size:.78rem!important}
}
@media (max-width:560px){
  .ct-main{padding-inline:12px!important;padding-bottom:98px!important}
  .ct-watch .ct-player-shell--watch{margin-inline:-12px!important}
  .ct-watch__aside .ct-suggested-list{gap:16px 10px!important}
}

/* Phase 50 — watch page rebuilt to match provided screenshots, smaller home tabs/reels, sticky desktop sidebar */
:root{
  --ct-yt-bg:#0f0f0f;
  --ct-yt-surface:#272727;
  --ct-yt-surface-2:#1f1f1f;
  --ct-yt-text:#f1f1f1;
  --ct-yt-muted:#aaaaaa;
  --ct-yt-line:rgba(255,255,255,.08);
}
body{background:var(--ct-yt-bg)!important}
.ct-app{background:var(--ct-yt-bg)!important}
.ct-main-shell,.ct-main,.ct-topbar,.ct-sidebar{background:var(--ct-yt-bg)!important}
.ct-main{max-width:none!important}

@media (min-width:781px){
  .ct-app>.ct-sidebar{
    position:sticky!important;
    top:0!important;
    align-self:flex-start!important;
    height:100vh!important;
    overflow-y:auto!important;
  }
}

.ct-chip-row--home{gap:6px!important;padding:0 0 8px!important}
.ct-chip--home{
  min-height:32px!important;
  padding:0 11px!important;
  border-radius:10px!important;
  font-size:.78rem!important;
  font-weight:600!important;
  background:#272727!important;
  border:0!important;
  color:#f1f1f1!important;
}
.ct-chip--home.is-active{background:#fff!important;color:#0f0f0f!important}
.ct-reel-suggest-card{flex:0 0 112px!important;gap:7px!important}
.ct-reel-suggest-card__media{border-radius:14px!important}
.ct-reel-suggest-card__body h3{font-size:.78rem!important;line-height:1.18!important}
.ct-reel-suggest-card__body p,.ct-reel-suggest-card__body small{font-size:.68rem!important;line-height:1.22!important}

.ct-mobile-nav{display:none!important}
@media (max-width:780px){
  .ct-mobile-nav{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    z-index:140!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:4px!important;
    padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px))!important;
    background:#0f0f0f!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:18px!important;
    box-shadow:0 16px 36px rgba(0,0,0,.42)!important;
  }
  .ct-mobile-nav a,.ct-mobile-nav button{
    display:grid!important;
    place-items:center!important;
    gap:5px!important;
    min-height:54px!important;
    padding:8px 2px!important;
    color:#cfcfcf!important;
    font-size:.62rem!important;
    font-weight:700!important;
    background:transparent!important;
    border:0!important;
    border-radius:12px!important;
  }
  .ct-mobile-nav a.is-active,.ct-mobile-nav button.is-active{background:#1f1f1f!important;color:#fff!important}
  .ct-mobile-nav span{display:block!important;font-size:.62rem!important;line-height:1.04!important;text-align:center!important}
  .ct-mobile-nav svg{width:19px!important;height:19px!important}
  .ct-main{padding:12px 12px 96px!important}
  .ct-chip-row--home{gap:6px!important;padding-bottom:6px!important}
  .ct-chip--home{min-height:30px!important;padding:0 10px!important;border-radius:10px!important;font-size:.75rem!important}
  .ct-reel-suggest-card{flex-basis:104px!important}
}

.ct-watch-yt{
  color:var(--ct-yt-text)!important;
}
.ct-watch-yt__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 402px;
  gap:22px;
  align-items:start;
}
.ct-watch-yt__primary{min-width:0}
.ct-watch-yt__aside{
  position:sticky;
  top:68px;
  align-self:start;
}
.ct-watch-yt__player-wrap{background:#000}
.ct-watch-yt__player-surface{
  padding:0!important;
  background:#000!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.ct-watch-yt__player .ct-player,
.ct-watch-yt__player video{
  width:100%!important;
  aspect-ratio:16/9!important;
  display:block!important;
  border-radius:0!important;
  background:#000!important;
}
.ct-watch-yt__player .ct-player-controls{
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.72))!important;
}
.ct-watch-yt__details{
  display:grid;
  gap:14px;
  padding-top:12px;
}
.ct-watch-yt__title{
  margin:0;
  font-size:2.15rem;
  line-height:1.16;
  letter-spacing:-.03em;
  font-weight:800;
}
.ct-watch-yt__channel-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.ct-watch-yt__channel{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.ct-watch-yt__avatar .ct-avatar,
.ct-watch-yt__avatar img{width:46px!important;height:46px!important;border-radius:999px!important;display:block!important}
.ct-watch-yt__channel-copy{display:grid;gap:3px;min-width:0}
.ct-watch-yt__channel-copy strong,.ct-watch-yt__channel-copy strong a{color:#fff!important;text-decoration:none!important;font-size:1.05rem!important;line-height:1.2!important}
.ct-watch-yt__channel-copy span{color:var(--ct-yt-muted)!important;font-size:.92rem!important;line-height:1.2!important}
.ct-watch-yt__subscribe{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 22px;
  border-radius:999px;
  border:0;
  background:#fff;
  color:#0f0f0f;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.ct-watch-yt__subscribe.is-subscribed{background:#272727;color:#fff}
.ct-watch-yt__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ct-watch-yt__action{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  border:0;
  background:#272727;
  color:#fff;
  font-size:.98rem;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.ct-watch-yt__action--likes{padding-right:14px}
.ct-watch-yt__action--ghost{padding:0 14px}
.ct-watch-yt__action.is-disabled{opacity:.48;pointer-events:none}
.ct-watch-yt__action.is-active{background:#3b3b3b}
.ct-watch-yt__menu{position:relative}
.ct-watch-yt__menu summary{list-style:none}
.ct-watch-yt__menu summary::-webkit-details-marker{display:none}
.ct-watch-yt__menu-panel{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:190px;
  padding:8px;
  display:grid;
  gap:2px;
  background:#272727;
  border:1px solid var(--ct-yt-line);
  border-radius:16px;
  box-shadow:0 18px 36px rgba(0,0,0,.42);
  z-index:30;
}
.ct-watch-yt__menu:not([open]) .ct-watch-yt__menu-panel{display:none}
.ct-watch-yt__menu-item{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:38px;
  padding:0 10px;
  border:0;
  background:transparent;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  font-size:.92rem;
  cursor:pointer;
}
.ct-watch-yt__menu-item:hover,.ct-watch-yt__menu-item.is-active{background:#1f1f1f}
.ct-watch-yt__description-box{
  display:grid;
  gap:8px;
  padding:14px 16px;
  border-radius:16px;
  background:#272727;
}
.ct-watch-yt__meta-line{
  color:#fff;
  font-size:.97rem;
  line-height:1.35;
  font-weight:700;
}
.ct-watch-yt__description-copy{
  color:#fff;
  font-size:.95rem;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ct-watch-yt__section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 12px}
.ct-watch-yt__section-head h2{margin:0;font-size:1.08rem;line-height:1.2;color:#fff}
.ct-watch-yt__suggested-mobile{display:none}
.ct-watch-yt__comments{display:grid;gap:12px;padding-top:8px}
.ct-watch-yt .ct-comment-card{
  background:#181818!important;
  border:1px solid var(--ct-yt-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}

.ct-suggested-list--desktop{display:grid;gap:10px}
.ct-suggest-card{
  display:grid!important;
  grid-template-columns:168px minmax(0,1fr)!important;
  gap:10px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  min-width:0!important;
}
.ct-suggest-card__thumb{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:#000;
}
.ct-suggest-card__thumb img,.ct-suggest-card__video{width:100%;height:100%;object-fit:cover;display:block}
.ct-card__duration{
  position:absolute;
  right:6px;
  bottom:6px;
  padding:2px 5px;
  border-radius:6px;
  background:rgba(0,0,0,.8);
  color:#fff;
  font-size:.72rem;
  font-weight:700;
}
.ct-suggest-card__body{display:grid;gap:5px;min-width:0;padding:0!important}
.ct-suggest-card__reason{display:none!important}
.ct-suggest-card__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start}
.ct-suggest-card__copy{min-width:0}
.ct-suggest-card__copy h3{margin:0 0 3px!important;font-size:.95rem!important;line-height:1.3!important;font-weight:700!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
.ct-suggest-card__copy h3 a,.ct-suggest-card__copy p a{color:#fff!important;text-decoration:none!important}
.ct-suggest-card__copy p,.ct-suggest-card__copy small{margin:0!important;color:var(--ct-yt-muted)!important;font-size:.82rem!important;line-height:1.3!important}
.ct-suggest-card__menu{position:relative}
.ct-suggest-card__menu summary{list-style:none;cursor:pointer}
.ct-suggest-card__menu summary::-webkit-details-marker{display:none}
.ct-suggest-card__menu-toggle{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:999px;
  color:#fff;
}
.ct-suggest-card__menu-panel{
  position:absolute;
  right:0;
  top:calc(100% + 6px);
  min-width:170px;
  padding:8px;
  display:grid;
  gap:2px;
  background:#272727;
  border:1px solid var(--ct-yt-line);
  border-radius:14px;
  box-shadow:0 18px 32px rgba(0,0,0,.42);
  z-index:35;
}
.ct-suggest-card__menu:not([open]) .ct-suggest-card__menu-panel{display:none}
.ct-suggest-card__menu-item{
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:36px;
  padding:0 10px;
  border:0;
  background:transparent;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  font-size:.88rem;
  cursor:pointer;
}
.ct-suggest-card__menu-item:hover,.ct-suggest-card__menu-item.is-active{background:#1f1f1f}

@media (max-width:1279px){
  .ct-watch-yt__layout{grid-template-columns:1fr!important;gap:18px!important}
  .ct-watch-yt__aside{display:none!important}
  .ct-watch-yt__suggested-mobile{display:block!important}
  .ct-suggested-list--mobile{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
  .ct-suggested-list--mobile .ct-suggest-card{grid-template-columns:1fr!important;gap:10px!important}
  .ct-suggested-list--mobile .ct-suggest-card__thumb{border-radius:16px!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy h3{font-size:1rem!important;line-height:1.28!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy p,.ct-suggested-list--mobile .ct-suggest-card__copy small{font-size:.84rem!important}
}

@media (max-width:780px){
  .ct-watch-yt__player-wrap{margin-inline:-12px!important}
  .ct-watch-yt__player-surface{border-radius:0!important}
  .ct-watch-yt__details{padding-top:14px!important}
  .ct-watch-yt__title{font-size:1.18rem!important;line-height:1.28!important;padding:0 0 2px!important}
  .ct-watch-yt__channel-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .ct-watch-yt__channel{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
  .ct-watch-yt__avatar .ct-avatar,.ct-watch-yt__avatar img{width:42px!important;height:42px!important}
  .ct-watch-yt__channel-copy strong,.ct-watch-yt__channel-copy strong a{font-size:.98rem!important}
  .ct-watch-yt__channel-copy span{font-size:.86rem!important}
  .ct-watch-yt__subscribe{min-height:40px!important;padding:0 20px!important;font-size:.95rem!important}
  .ct-watch-yt__actions{gap:8px!important;flex-wrap:wrap!important}
  .ct-watch-yt__action{min-height:42px!important;padding:0 15px!important;font-size:.95rem!important}
  .ct-watch-yt__action--desktop{display:none!important}
  .ct-watch-yt__description-box{padding:14px!important;border-radius:16px!important}
  .ct-watch-yt__meta-line{font-size:.92rem!important}
  .ct-watch-yt__description-copy{font-size:.9rem!important;line-height:1.5!important}
  .ct-suggested-list--mobile{grid-template-columns:1fr!important;gap:18px!important}
  .ct-suggested-list--mobile .ct-suggest-card{grid-template-columns:1fr!important;gap:10px!important}
  .ct-suggested-list--mobile .ct-suggest-card__thumb{border-radius:16px!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy h3{font-size:1.03rem!important;line-height:1.3!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy p,.ct-suggested-list--mobile .ct-suggest-card__copy small{font-size:.86rem!important}
}

@media (min-width:781px) and (max-width:1279px){
  .ct-main{padding:14px 18px 28px!important}
  .ct-watch-yt__player-surface{border-radius:0!important}
  .ct-watch-yt__title{font-size:1.45rem!important;line-height:1.25!important}
  .ct-watch-yt__channel-copy strong,.ct-watch-yt__channel-copy strong a{font-size:1rem!important}
  .ct-watch-yt__subscribe{min-height:40px!important;padding:0 20px!important;font-size:.96rem!important}
  .ct-watch-yt__action{min-height:42px!important;padding:0 15px!important;font-size:.95rem!important}
  .ct-watch-yt__action--desktop{display:none!important}
}

@media (max-width: 560px) {
    .ct-chip-row--home {
        margin-inline: 0;
    }
}

@media (max-width: 780px) {
    .ct-chip--home {
        min-height: 34px;
        border-radius: 8px !important;
        font-size: 14px;
        font-weight: 300 !important;
    }
}

/* phase51 watch page correction */
.ct-watch-yt{
  --ct-watch-pill:#272727;
  --ct-watch-panel:#272727;
  --ct-watch-muted:#aaa;
}
.ct-watch-yt__layout{
  grid-template-columns:minmax(0,1fr) 402px!important;
  gap:24px!important;
  align-items:start!important;
}
.ct-watch-yt__aside{position:sticky!important;top:68px!important;align-self:start!important}
.ct-watch-yt__details{gap:14px!important;padding-top:12px!important}
.ct-watch-yt__title{font-size:2.15rem!important;line-height:1.16!important;font-weight:800!important;letter-spacing:-.03em!important;margin:0!important}
.ct-watch-yt__channel-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:nowrap!important}
.ct-watch-yt__channel{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}
.ct-watch-yt__avatar .ct-avatar,.ct-watch-yt__avatar img{width:48px!important;height:48px!important}
.ct-watch-yt__channel-copy{display:grid!important;gap:2px!important;min-width:0!important}
.ct-watch-yt__channel-copy strong,.ct-watch-yt__channel-copy strong a{font-size:1.02rem!important;font-weight:700!important;line-height:1.2!important}
.ct-watch-yt__channel-copy span{font-size:.92rem!important;color:var(--ct-watch-muted)!important}
.ct-watch-yt__subscribe{min-height:38px!important;padding:0 24px!important;border-radius:999px!important;font-size:1rem!important;font-weight:700!important;white-space:nowrap!important;flex:0 0 auto!important}
.ct-watch-yt__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;min-width:0!important}
.ct-watch-yt__reaction-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:46px!important;
  background:var(--ct-watch-pill)!important;
  border-radius:999px!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.ct-watch-yt__reaction-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:46px!important;
  padding:0 18px!important;
  background:transparent!important;
  border:0!important;
  color:#fff!important;
  font-size:.99rem!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.ct-watch-yt__reaction-btn.is-active{background:rgba(255,255,255,.05)!important}
.ct-watch-yt__reaction-divider{width:1px!important;height:24px!important;background:rgba(255,255,255,.22)!important;display:block!important}
.ct-watch-yt__action{
  min-height:46px!important;
  padding:0 18px!important;
  background:var(--ct-watch-pill)!important;
  border-radius:999px!important;
  gap:10px!important;
  font-size:.99rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}
.ct-watch-yt__action--icon{width:46px!important;min-width:46px!important;justify-content:center!important;padding:0!important}
.ct-watch-yt__action--save{display:inline-flex!important}
.ct-watch-yt__menu{position:relative!important;flex:0 0 auto!important}
.ct-watch-yt__description-box{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:var(--ct-watch-panel)!important;
  gap:8px!important;
}
.ct-watch-yt__meta-line{font-size:1rem!important;font-weight:700!important;line-height:1.35!important;color:#fff!important}
.ct-watch-yt__description-copy{font-size:1rem!important;line-height:1.52!important;color:#fff!important;-webkit-line-clamp:4!important}

/* related videos desktop */
.ct-watch-yt__aside .ct-suggested-list{display:grid!important;gap:10px!important}
.ct-watch-yt__aside .ct-suggest-card{
  display:grid!important;
  grid-template-columns:168px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.ct-watch-yt__aside .ct-suggest-card__thumb{aspect-ratio:16/9!important;border-radius:12px!important;overflow:hidden!important;background:#000!important}
.ct-watch-yt__aside .ct-suggest-card__body{display:grid!important;gap:4px!important;padding:0!important;min-width:0!important}
.ct-watch-yt__aside .ct-suggest-card__row{display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;gap:8px!important;align-items:start!important}
.ct-watch-yt__aside .ct-suggest-card__copy h3{margin:0!important;font-size:.96rem!important;line-height:1.28!important;font-weight:700!important;-webkit-line-clamp:2!important}
.ct-watch-yt__aside .ct-suggest-card__copy p,.ct-watch-yt__aside .ct-suggest-card__copy small{font-size:.84rem!important;line-height:1.28!important;color:var(--ct-watch-muted)!important}
.ct-watch-yt__aside .ct-suggest-card__menu-toggle{width:28px!important;height:28px!important}

/* tablet */
@media (min-width:781px) and (max-width:1279px){
  .ct-watch-yt__layout{grid-template-columns:1fr!important;gap:20px!important}
  .ct-watch-yt__aside{display:block!important;position:static!important;top:auto!important}
  .ct-watch-yt__title{font-size:1.5rem!important;line-height:1.22!important}
  .ct-watch-yt__channel-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:18px!important}
  .ct-watch-yt__channel{min-width:0!important;flex:1 1 auto!important}
  .ct-watch-yt__actions{justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px!important}
  .ct-watch-yt__action{min-height:44px!important;padding:0 16px!important;font-size:.95rem!important}
  .ct-watch-yt__reaction-pill{min-height:44px!important}
  .ct-watch-yt__reaction-btn{min-height:44px!important;padding:0 16px!important;font-size:.95rem!important}
  .ct-watch-yt__player-wrap{margin-inline:0!important}
  .ct-watch-yt__player-surface{border-radius:18px!important}
  .ct-watch-yt__suggested-mobile{display:block!important}
  .ct-watch-yt__aside{display:none!important}
  .ct-suggested-list--mobile{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 16px!important}
  .ct-suggested-list--mobile .ct-suggest-card{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important}
  .ct-suggested-list--mobile .ct-suggest-card__thumb{aspect-ratio:16/9!important;border-radius:18px!important;overflow:hidden!important}
  .ct-suggested-list--mobile .ct-suggest-card__body{display:grid!important;gap:8px!important;padding:0!important}
  .ct-suggested-list--mobile .ct-suggest-card__row{display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;gap:8px!important;align-items:start!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy h3{font-size:1rem!important;line-height:1.3!important;margin:0!important;-webkit-line-clamp:2!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy p,.ct-suggested-list--mobile .ct-suggest-card__copy small{font-size:.86rem!important;line-height:1.3!important;color:var(--ct-watch-muted)!important}
}

/* mobile */
@media (max-width:780px){
  .ct-watch-yt__layout{grid-template-columns:1fr!important;gap:18px!important}
  .ct-watch-yt__aside{display:none!important}
  .ct-watch-yt__suggested-mobile{display:block!important}
  .ct-watch-yt__player-wrap{margin-inline:-14px!important}
  .ct-watch-yt__player-surface{border-radius:0!important}
  .ct-watch-yt__details{padding-top:12px!important;gap:14px!important}
  .ct-watch-yt__title{font-size:1.17rem!important;line-height:1.24!important;letter-spacing:-.02em!important;padding:0 2px!important}
  .ct-watch-yt__channel-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;justify-content:stretch!important}
  .ct-watch-yt__channel{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
  .ct-watch-yt__avatar .ct-avatar,.ct-watch-yt__avatar img{width:44px!important;height:44px!important}
  .ct-watch-yt__channel-copy strong,.ct-watch-yt__channel-copy strong a{font-size:1rem!important}
  .ct-watch-yt__channel-copy span{font-size:.86rem!important}
  .ct-watch-yt__subscribe{min-height:40px!important;padding:0 20px!important;font-size:.95rem!important}
  .ct-watch-yt__actions{justify-content:flex-start!important;gap:10px 10px!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important;padding-bottom:2px!important}
  .ct-watch-yt__actions::-webkit-scrollbar{display:none!important}
  .ct-watch-yt__reaction-pill{min-height:44px!important}
  .ct-watch-yt__reaction-btn{min-height:44px!important;padding:0 16px!important;font-size:.95rem!important}
  .ct-watch-yt__action{min-height:44px!important;padding:0 16px!important;font-size:.95rem!important}
  .ct-watch-yt__action--save{display:none!important}
  .ct-watch-yt__description-box{padding:14px 16px!important;border-radius:18px!important}
  .ct-watch-yt__meta-line{font-size:.92rem!important;line-height:1.3!important}
  .ct-watch-yt__description-copy{font-size:.94rem!important;line-height:1.48!important;-webkit-line-clamp:4!important}
  .ct-suggested-list--mobile{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  .ct-suggested-list--mobile .ct-suggest-card{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .ct-suggested-list--mobile .ct-suggest-card__thumb{aspect-ratio:16/9!important;border-radius:18px!important;overflow:hidden!important;background:#000!important}
  .ct-suggested-list--mobile .ct-suggest-card__body{display:grid!important;gap:8px!important;padding:0 2px!important}
  .ct-suggested-list--mobile .ct-suggest-card__row{display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;gap:8px!important;align-items:start!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy h3{margin:0!important;font-size:1rem!important;line-height:1.3!important;font-weight:700!important;-webkit-line-clamp:2!important}
  .ct-suggested-list--mobile .ct-suggest-card__copy p,.ct-suggested-list--mobile .ct-suggest-card__copy small{font-size:.85rem!important;line-height:1.3!important;color:var(--ct-watch-muted)!important}
  .ct-suggested-list--mobile .ct-suggest-card__menu-toggle{width:28px!important;height:28px!important}
}

@media (max-width:560px){
  .ct-watch-yt__player-wrap{margin-inline:-12px!important}
  .ct-watch-yt__title{font-size:1.14rem!important}
  .ct-watch-yt__channel{grid-template-columns:auto minmax(0,1fr) auto!important}
  .ct-watch-yt__subscribe{padding:0 18px!important}
}

.ct-watch-yt__suggested-mobile .ct-watch-yt__section-head{display:none!important}

/* phase52 watch player control cleanup */
.ct-watch-yt__player-surface.ct-player-shell--phase16{
  padding:0!important;
  background:#000!important;
  border:0!important;
  box-shadow:none!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-modern-player{
  border-radius:18px!important;
  background:#000!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player--modern{
  width:100%!important;
  display:block!important;
  aspect-ratio:16/9!important;
  object-fit:contain!important;
  border-radius:18px!important;
  background:#000!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:7!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:0 16px 12px!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.10) 28%,rgba(0,0,0,.76) 100%)!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-progress-wrap{
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-progress{
  width:100%!important;
  height:4px!important;
  margin:0!important;
  accent-color:#ff2b55!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__group{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__group--right{
  margin-left:auto!important;
  justify-content:flex-end!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn:hover,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn:focus-visible{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  color:#fff!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn svg{
  width:20px!important;
  height:20px!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 [data-ct-player-toggle].ct-player-btn{
  display:none!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-overlay-play{
  width:64px!important;
  height:64px!important;
  background:rgba(5,10,18,.48)!important;
  backdrop-filter:blur(4px)!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-select-wrap{
  display:flex!important;
  align-items:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-select{
  height:auto!important;
  min-height:0!important;
  padding:0 14px 0 0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:.92rem!important;
  font-weight:700!important;
  max-width:72px!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-time{
  min-width:auto!important;
  font-size:.98rem!important;
  font-weight:700!important;
  line-height:1!important;
  color:#fff!important;
  white-space:nowrap!important;
}
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-progress-wrap,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__row,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__group,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__group--right,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-select-wrap,
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-select{
  border:none!important;
  outline:none!important;
}

@media (max-width: 780px) {
    .ct-watch-yt__suggested-mobile {
        display: block !important;
        margin-top: 1rem;
    }
}
@media (max-width: 780px) {
    .ct-watch-yt__action {
        min-height: 34px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }
}
@media (max-width: 780px) {
    .ct-watch-yt__reaction-pill {
        min-height: 34px !important;
        height: 34px;
    }
}
@media (max-width: 780px) {
    .ct-watch-yt__subscribe {
        min-height: 35px !important;
        font-size: 15px !important;
    }
}
@media (max-width: 780px) {
    .ct-watch-yt__description-copy {
        font-size: 15px !important;
    }
}
@media (max-width: 780px) {
    .ct-watch-yt__meta-line {
        font-size: 13px !important;
        line-height: 1.3 !important;
        font-weight: 300 !important;
    }
}

@media (max-width:780px){
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-modern-player,
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player--modern{
    border-radius:0!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls{
    padding:0 12px 10px!important;
    gap:8px!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__row,
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-controls__group{
    gap:10px!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn svg{
    width:18px!important;
    height:18px!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-time{
    font-size:.9rem!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-select{
    max-width:58px!important;
    font-size:.86rem!important;
    padding-right:10px!important;
  }
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-overlay-play{
    width:58px!important;
    height:58px!important;
  }
}

/* phase53 player cta + mobile nav order */
.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-overlay-play{
  display:none!important;
}
.ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta,
.ct-processing-player--locked .ct-player-cta__actions{
  max-width:none!important;
}
.ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta{
  left:12px!important;
  right:12px!important;
  bottom:12px!important;
  padding:12px 14px!important;
  gap:10px!important;
  border-radius:16px!important;
}
.ct-player-cta__actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}
.ct-player-cta__actions .ct-pill,
.ct-processing-player--locked .ct-player-cta__actions .ct-pill{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  min-height:38px!important;
  padding:0 14px!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-size:14px!important;
}
@media (max-width:780px){
  .ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    padding:10px 12px!important;
    gap:8px!important;
  }
  .ct-player-cta__copy p{
    font-size:.84rem!important;
    line-height:1.35!important;
  }
  .ct-player-cta__actions{
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
  }
  .ct-player-cta__actions .ct-pill,
  .ct-processing-player--locked .ct-player-cta__actions .ct-pill{
    min-height:36px!important;
    padding:0 10px!important;
    font-size:13px!important;
    border-radius:999px!important;
  }
}

/* Phase 54 — home shorts rail rebuilt to match screenshot proportions */
.ct-home-reels-rail--shorts{
  display:grid!important;
  gap:18px!important;
  padding:2px 0 6px!important;
}
.ct-home-reels-rail__head--shorts{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.ct-home-reels-rail__title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
.ct-home-reels-rail__badge{
  display:grid!important;
  place-items:center!important;
  color:#ff2342!important;
}
.ct-home-reels-rail__head--shorts h2{
  margin:0!important;
  font-size:1.55rem!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
  color:#fff!important;
}
.ct-home-reels-rail__more{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  color:#fff!important;
  text-decoration:none!important;
  background:transparent!important;
  border:0!important;
}
.ct-home-reels-rail__track--shorts{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
  overflow:visible!important;
  padding:0!important;
}
.ct-reel-suggest-card--shorts{
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{
  display:block!important;
  aspect-ratio:9/16!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#000!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media img,
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__video{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#000!important;
  display:block!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__body{
  display:grid!important;
  gap:6px!important;
  padding:0 2px!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px!important;
  gap:8px!important;
  align-items:start!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__body h3{
  margin:0!important;
  font-size:1rem!important;
  line-height:1.28!important;
  font-weight:700!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__body h3 a{
  color:#fff!important;
  text-decoration:none!important;
}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__body small{
  margin:0!important;
  color:#aaaaaa!important;
  font-size:.93rem!important;
  line-height:1.3!important;
}
.ct-reel-suggest-card__menu{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
  background:transparent!important;
  border:0!important;
  border-radius:999px!important;
  cursor:pointer!important;
}
@media (max-width: 1279px){
  .ct-home-reels-rail__track--shorts{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
}
@media (max-width: 980px){
  .ct-home-reels-rail__track--shorts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  .ct-home-reels-rail__head--shorts h2{font-size:1.35rem!important}
}
@media (max-width: 780px){
  .ct-home-reels-rail--shorts{gap:14px!important}
  .ct-home-reels-rail__head--shorts h2{font-size:1.2rem!important}
  .ct-home-reels-rail__track--shorts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 14px!important}
  .ct-home-reels-rail__track--shorts > :nth-child(n+5){display:none!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{border-radius:16px!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body{gap:5px!important;padding:0 1px!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body h3{font-size:.95rem!important;line-height:1.25!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body small{font-size:.85rem!important}
}
@media (max-width: 560px){
  .ct-home-reels-rail--shorts{padding-top:0!important}
  .ct-home-reels-rail__head--shorts{padding:0 2px!important}
  .ct-home-reels-rail__track--shorts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{border-radius:15px!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body h3{font-size:.92rem!important;line-height:1.22!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body small{font-size:.8rem!important;line-height:1.25!important}
}

/* phase55 mobile nav, watch CTA, upload surface cleanup */
@media (max-width: 780px) {
    .ct-mobile-nav {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 780px) {
    .ct-main.ct-main--watch {
        padding: 0 12px 96px !important;
    }
}

@media (max-width: 780px) {
    .ct-mobile-nav{
        z-index:70 !important;
        gap:2px !important;
        padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px)) !important;
        box-shadow:0 -10px 28px rgba(0,0,0,.32) !important;
        background:#0f0f0f !important;
    }
    .ct-mobile-nav a,
    .ct-mobile-nav button{
        min-height:54px !important;
        border-radius:14px !important;
    }
    .ct-mobile-drawer{
        z-index:140 !important;
    }
    .ct-mobile-drawer__panel{
        z-index:141 !important;
    }
}

.ct-card-menu,
.ct-suggest-card__menu,
.ct-watch-yt__menu{
    position:relative;
    z-index:120;
}

.ct-card-menu__panel,
.ct-suggest-card__menu-panel,
.ct-watch-yt__menu-panel{
    z-index:220 !important;
}

.ct-watch-yt__channel-copy span{
    text-transform:none;
}

.ct-player-cta__actions,
.ct-processing-player--locked .ct-player-cta__actions{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:stretch !important;
    gap:10px !important;
}

.ct-player-cta__actions .ct-pill,
.ct-processing-player--locked .ct-player-cta__actions .ct-pill{
    flex:1 1 0 !important;
    min-width:0 !important;
    min-height:40px !important;
    justify-content:center !important;
    border:none !important;
    border-radius:999px !important;
    padding:0 16px !important;
    font-weight:700 !important;
    box-shadow:none !important;
}

.ct-pill--purchase{
    background:#e11d48 !important;
    color:#fff !important;
    border:none !important;
}

.ct-pill--subscribe-plan{
    background:#facc15 !important;
    color:#111 !important;
    border:none !important;
}

@media (max-width: 780px) {
    .ct-modern-player[data-ct-trailer-locked="1"] .ct-player-cta,
    .ct-processing-player--locked .ct-player-cta__actions{
        left:12px !important;
        right:12px !important;
    }
    .ct-player-cta__actions,
    .ct-processing-player--locked .ct-player-cta__actions{
        gap:8px !important;
    }
    .ct-player-cta__actions .ct-pill,
    .ct-processing-player--locked .ct-player-cta__actions .ct-pill{
        min-height:38px !important;
        padding:0 12px !important;
        font-size:.9rem !important;
        white-space:nowrap !important;
    }
}

.ct-upload-kind-switch--phase46{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    min-height:52px !important;
    padding:0 10px !important;
    border:none !important;
    border-radius:16px !important;
    box-shadow:none !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button:nth-child(1){
    background:linear-gradient(180deg,#dc2626,#b91c1c) !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button:nth-child(2){
    background:linear-gradient(180deg,#fb923c,#ea580c) !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button:nth-child(3){
    background:linear-gradient(180deg,#0891b2,#0f766e) !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button strong{
    font-size:.95rem !important;
    line-height:1.1 !important;
    color:#fff !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button svg{
    width:18px !important;
    height:18px !important;
    color:#fff !important;
}

.ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button.is-active{
    filter:brightness(1.06) !important;
    transform:none !important;
}

@media (max-width: 900px){
    .ct-upload-kind-switch--phase46{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media (max-width: 780px){
    .ct-upload-kind-switch--phase46{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:8px !important;
    }
    .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button{
        min-height:46px !important;
        padding:0 8px !important;
        border-radius:14px !important;
    }
    .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button strong{
        font-size:.82rem !important;
    }
}

.ct-upload-page .ct-panel,
.ct-upload-page .ct-upload-grid .ct-panel{
    border:none !important;
    box-shadow:none !important;
    background:linear-gradient(180deg,#121924,#0f1520) !important;
}

.ct-upload-page .ct-upload-grid > .ct-panel:nth-child(2){
    background:linear-gradient(180deg,#16131f,#11131b) !important;
}

.ct-upload-page input,
.ct-upload-page textarea,
.ct-upload-page select,
.ct-upload-page .ct-photo-upload-grid,
.ct-upload-page .ct-upload-preview-card,
.ct-upload-page .ct-upload-trim-card,
.ct-upload-page .ct-upload-progress{
    border:none !important;
    box-shadow:none !important;
}

.ct-upload-page input,
.ct-upload-page textarea,
.ct-upload-page select{
    background:#060b14 !important;
}

.ct-upload-page .ct-pill--dark[data-ct-upload-save]{
    background:#273044 !important;
    border:none !important;
}

.ct-studio-page .ct-panel,
.ct-account-page .ct-panel,
.ct-following-page .ct-panel,
.ct-library-page .ct-panel,
.ct-notification-card,
.ct-account-layout .ct-panel,
.ct-studio-stat,
.ct-following-stat,
.ct-library-stat{
    border:none !important;
    box-shadow:none !important;
}

.ct-studio-page .ct-panel,
.ct-studio-stat{
    background:linear-gradient(180deg,#131b27,#0e141e) !important;
}

.ct-account-page .ct-panel,
.ct-account-layout .ct-panel,
.ct-account-overview .ct-panel,
.ct-library-page .ct-panel,
.ct-following-page .ct-panel,
.ct-following-stat,
.ct-library-stat,
.ct-notification-card{
    background:linear-gradient(180deg,#15121d,#10131a) !important;
}

.ct-studio-page input,
.ct-studio-page textarea,
.ct-studio-page select,
.ct-account-page input,
.ct-account-page textarea,
.ct-account-page select,
.ct-following-page input,
.ct-following-page textarea,
.ct-following-page select,
.ct-library-page input,
.ct-library-page textarea,
.ct-library-page select{
    border:none !important;
    box-shadow:none !important;
    background:#060b14 !important;
}

@media (max-width: 780px) {
    .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button {
        min-height: 34px !important;
        padding: 0 8px !important;
        border-radius: 8px !important;
        font-weight: 400 !important;
    }
}


@media (max-width: 780px) {
    .ct-player-cta__actions .ct-pill,
    .ct-processing-player--locked .ct-player-cta__actions .ct-pill {
        font-size: 13px !important;
        font-weight: 400 !important;
    }
}
.ct-watch-yt__player .ct-player-btn svg,
.ct-watch-yt__player [data-ct-player-icon-volume] svg,
.ct-watch-yt__player [data-ct-player-icon-volume-off] svg{width:20px;height:20px}
.ct-auth-form--secondary{margin-top:12px}


/* Phase 60: reels viewport, watch fullscreen modal/orientation, preview length */
.ct-player-cta__headline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ct-player-cta__length{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#f8fafc;font-size:.78rem;font-weight:600;white-space:nowrap}
.ct-modern-player.is-fullscreen .ct-player-cta,.ct-modern-player:fullscreen .ct-player-cta,.ct-modern-player:-webkit-full-screen .ct-player-cta{z-index:10!important}
.ct-paywall-modal{z-index:10000!important}
.ct-paywall-modal__panel{position:relative;z-index:2}
@media (max-width: 780px){
  .ct-player-cta__headline{align-items:flex-start;gap:8px}
  .ct-player-cta__length{font-size:.72rem;padding:5px 8px}
}


/* Phase 64 auth repair */
.ct-main--auth{padding-top:32px!important;padding-bottom:32px!important}
.ct-app--focus .ct-main-shell--solo{background:linear-gradient(180deg,#05070b,#070b11)!important;min-height:100vh}
.ct-auth-wrap{width:min(100%,1120px);margin:0 auto}
.ct-auth-card--single{max-width:720px!important;grid-template-columns:1fr!important}
.ct-auth-card__panel{display:grid;gap:14px}
.ct-auth-form{display:grid;gap:14px}
.ct-auth-form label{display:grid;gap:8px;font-weight:600}
.ct-auth-form label span{font-size:.94rem;color:#dce7f6}
.ct-auth-card input,.ct-auth-card textarea,.ct-auth-card select{min-height:52px;border-radius:18px!important;padding:0 16px!important}
.ct-auth-form textarea{padding:14px 16px!important;min-height:140px}
.ct-auth-submit{width:100%;justify-content:center;min-height:52px!important;border-radius:18px!important}
.ct-auth-check{display:flex!important;align-items:center;gap:10px}
.ct-auth-check input{min-height:auto!important;padding:0!important;width:auto}
.ct-auth-meta{margin-top:18px;display:grid;gap:6px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.ct-auth-meta__label{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#9fb1c8}
.ct-auth-note{margin:0;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);color:#dce7f6}
.ct-auth-code-input{font-size:1.25rem!important;letter-spacing:.32em;text-align:center;font-weight:800}
.ct-auth-resend{justify-content:center;min-height:48px!important;border-radius:18px!important}
.ct-auth-resend[disabled]{opacity:.65;cursor:not-allowed}
@media (max-width: 780px){
  .ct-main--auth{padding:18px 14px 28px!important}
  .ct-auth-card{padding:22px!important;border-radius:24px!important}
  .ct-auth-card input,.ct-auth-card textarea,.ct-auth-card select{min-height:48px;border-radius:16px!important}
}

.ct-paypal-card-checkout{display:grid;gap:14px;margin-top:8px}
.ct-paypal-card-checkout__address,.ct-paypal-card-checkout__cards{display:grid;gap:12px}
.ct-paypal-card-checkout__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ct-paypal-card-checkout__row--compact{grid-template-columns:1fr 1fr}
.ct-paypal-card-checkout__field{display:grid;gap:8px}
.ct-paypal-card-checkout__field span{font-size:.92rem;font-weight:600;color:#fff}
.ct-paypal-card-checkout__field input{width:100%;min-height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(8,12,19,.92);color:#fff;outline:none}
.ct-paypal-card-checkout__field input::placeholder{color:rgba(255,255,255,.46)}
.ct-paypal-card-checkout__mount{min-height:46px;padding:10px 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(8,12,19,.92)}
.ct-paypal-card-checkout__submit{justify-content:center}
.ct-paypal-card-checkout__submit[disabled]{opacity:.7;cursor:wait}
.ct-paypal-card-checkout__note:empty{display:none}

.ct-upload-grid {
    margin-top: 1rem;
}

@media (max-width: 780px){
  .ct-paypal-card-checkout__row{grid-template-columns:1fr}
}


/* phase68 feed media centering, upload category checklist, mobile nav layering */
.ct-card--video .ct-card__media,
.ct-suggest-card__thumb{
  display:block;
  overflow:hidden;
}

.ct-card--video .ct-card__video,
.ct-card--video .ct-card__media img,
.ct-suggest-card__thumb img,
.ct-suggest-card__video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center !important;
  display:block;
}

.ct-upload-category-picker{
  display:grid;
  gap:14px;
}

.ct-upload-category-picker__label{
  display:block;
  font-weight:700;
  color:#fff;
}

.ct-upload-category-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 16px;border:none;border-radius:18px;background:#0c121b;color:#f4f7fb;font-weight:700;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.ct-upload-category-trigger__summary{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.ct-upload-category-trigger__count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.82rem;font-weight:800}
.ct-upload-category-float{position:fixed;inset:0;z-index:10020}
.ct-upload-category-float__backdrop{position:absolute;inset:0;border:none;background:rgba(0,0,0,.56)}
.ct-upload-category-float__panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,720px);max-height:min(76vh,720px);display:grid;gap:16px;padding:18px;border-radius:22px;background:linear-gradient(180deg,#121926,#0b1119);box-shadow:0 24px 70px rgba(0,0,0,.45)}
.ct-upload-category-float__head,.ct-upload-category-float__actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-upload-category-float__head strong{font-size:1.02rem;color:#fff}
.ct-upload-category-float__done,.ct-upload-category-float__clear{min-height:40px;padding:0 14px;border:none;border-radius:12px;background:#1b2433;color:#fff;font-weight:700;cursor:pointer}
.ct-upload-category-float__done--primary{background:#ffffff;color:#09111a}
.ct-upload-category-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-height:50vh;
  overflow:auto;
  padding:6px 2px 2px;
}

.ct-upload-category-option{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:50px;
  padding:0 16px;
  border:none;
  border-radius:16px;
  background:#0c121b;
  color:#e7edf7;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

.ct-upload-category-option input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}

.ct-upload-category-option__tick{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:transparent;
  font-size:.85rem;
  font-weight:800;
  flex:0 0 22px;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.ct-upload-category-option__name{
  display:block;
  min-width:0;
  font-weight:600;
  line-height:1.2;
}

.ct-upload-category-option:has(input:checked){
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.06));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 14px 28px rgba(0,0,0,.18);
}

.ct-upload-category-option:has(input:checked) .ct-upload-category-option__tick{
  background:#ffffff;
  color:#05070c;
  transform:scale(1.04);
}

@media (max-width: 780px){
  .ct-upload-category-trigger{min-height:48px;border-radius:14px;padding:0 14px}
  .ct-upload-category-float__panel{width:min(94vw,560px);max-height:82vh;padding:14px 14px 16px;border-radius:18px;top:auto;bottom:12px;transform:translateX(-50%)}
  .ct-upload-category-checklist{
    grid-template-columns:1fr;
    max-height:52vh;
  }
}


/* Phase 71 subscribe modal polish */
.ct-paywall-modal__panel{width:min(540px,100%);padding:20px 20px 24px;background:#202124;border:1px solid rgba(255,255,255,.06);box-shadow:0 28px 80px rgba(0,0,0,.5)}
.ct-paywall-modal__head{margin-bottom:10px}
.ct-paywall-modal__head strong{font-size:clamp(1.6rem,2.5vw,2.35rem);line-height:1.05;font-weight:800;letter-spacing:-.03em}
.ct-paywall-modal__head p{font-size:1rem;color:#d1d5db;margin-top:8px}
.ct-paywall-modal__head .ct-icon-btn{width:56px;height:56px;border-radius:18px;background:#151922;border:1px solid rgba(255,255,255,.1)}
.ct-subscribe-modal{padding:18px;border-radius:26px;background:#0b111a;border:1px solid rgba(255,255,255,.08);display:grid;gap:16px}
.ct-subscribe-modal>strong{font-size:1.05rem}
.ct-subscribe-modal>p{margin:0;color:#cbd5e1;font-size:1rem}
.ct-plan-list--modal{display:grid;grid-template-columns:1fr;gap:12px}
.ct-plan-choice--modal{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 18px;border-radius:20px;background:#060606;border:1px solid rgba(255,255,255,.06);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.ct-plan-choice--modal:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.14)}
.ct-plan-choice--modal.is-selected{background:#4c67ea;border-color:#6f84f0;box-shadow:0 10px 30px rgba(76,103,234,.28)}
.ct-plan-choice__radio{width:24px;height:24px;border-radius:999px;border:4px solid #c5cad3;background:transparent;box-shadow:inset 0 0 0 3px #060606;flex:0 0 auto}
.ct-plan-choice--modal.is-selected .ct-plan-choice__radio{background:#fff;border-color:#d8ddff;box-shadow:inset 0 0 0 5px #4c67ea}
.ct-plan-choice__main{min-width:0}
.ct-plan-choice__name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ct-plan-choice__name-row strong{font-size:1.12rem;line-height:1.15;color:#fff;font-weight:800}
.ct-plan-choice__main small{display:block;margin-top:8px;color:rgba(255,255,255,.9);font-size:1rem}
.ct-plan-choice__price{text-align:right;display:grid;gap:2px}
.ct-plan-choice__price strong{font-size:1.12rem;line-height:1;color:#fff;font-weight:800}
.ct-plan-choice__price small{color:rgba(255,255,255,.95);font-size:.95rem}
.ct-plan-choice__badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:10px;background:#67d6b1;color:#fff;font-size:.88rem;font-weight:800;letter-spacing:-.01em}
.ct-pay-methods--modal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ct-pay-method{min-height:72px;padding:12px 16px;border-radius:16px;background:#efefef;border:2px solid transparent;color:#111;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.ct-pay-method:hover{transform:translateY(-1px)}
.ct-pay-method.is-active{border-color:#6f84f0;box-shadow:0 0 0 3px rgba(111,132,240,.22)}
.ct-pay-method__logo{font-size:1rem;font-weight:800;line-height:1.1;color:#111;display:flex;align-items:center;justify-content:center;text-align:center}
.ct-pay-method__logo--paypal{font-style:italic}
.ct-pay-method__logo--card::before{content:'💳';font-style:normal;margin-right:10px;font-size:1.15rem}
.ct-pay-method__logo--paypal::before{content:'◧';font-style:normal;margin-right:10px;font-size:1.1rem;color:#253b80}
.ct-pill--subscribe-plan-full{width:100%;min-height:68px;border-radius:18px;background:#4c67ea;color:#fff;border:none;font-size:1.05rem;font-weight:900;letter-spacing:-.01em}
.ct-paypal-area{margin-top:4px}
@media (max-width: 560px){
  .ct-paywall-modal__panel{padding:16px 16px 22px;border-radius:22px 22px 0 0}
  .ct-paywall-modal__head strong{font-size:2rem}
  .ct-paywall-modal__head .ct-icon-btn{width:52px;height:52px;border-radius:16px}
  .ct-subscribe-modal{padding:14px;border-radius:22px}
  .ct-plan-choice--modal{padding:16px 14px;gap:12px;border-radius:18px}
  .ct-plan-choice__name-row strong{font-size:1rem}
  .ct-plan-choice__main small{font-size:.92rem}
  .ct-plan-choice__price strong{font-size:.98rem}
  .ct-plan-choice__price small{font-size:.88rem}
  .ct-plan-choice__badge{min-height:30px;padding:0 12px;font-size:.82rem;border-radius:9px}
  .ct-pay-method{min-height:64px;border-radius:14px;padding:10px}
  .ct-pay-method__logo{font-size:.95rem}
  .ct-pill--subscribe-plan-full{min-height:60px;border-radius:16px;font-size:1rem}
}

/* phase75 subscribe modal polish */
.ct-paywall-modal__panel .ct-subscribe-modal{
  background:linear-gradient(180deg,rgba(9,16,28,.92),rgba(7,12,22,.96));
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:18px;
}
.ct-subscribe-modal > strong{
  display:block;
  font-size:1.02rem;
  line-height:1.2;
  font-weight:900;
  margin:0 0 8px;
  color:#fff;
}
.ct-subscribe-modal > p{
  margin:0 0 18px;
  color:#c7d0dc;
  font-size:1.02rem;
  line-height:1.45;
}
.ct-plan-list--modal{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  margin-top:0 !important;
}
.ct-plan-choice--modal{
  position:relative;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto !important;
  align-items:center;
  gap:16px;
  min-height:118px;
  padding:20px 20px;
  border-radius:22px;
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:none;
  cursor:pointer;
}
.ct-plan-choice--modal:nth-child(3n){background:#3f3f41;}
.ct-plan-choice--modal.is-selected{
  background:linear-gradient(180deg,#5471f2,#4a67e9);
  border-color:rgba(146,166,255,.72);
  box-shadow:0 14px 34px rgba(75,103,233,.26);
}
.ct-plan-choice__radio{
  width:34px;
  height:34px;
  border-radius:999px;
  border:4px solid rgba(255,255,255,.7);
  box-shadow:inset 0 0 0 5px rgba(5,5,5,.95);
  background:transparent;
}
.ct-plan-choice--modal.is-selected .ct-plan-choice__radio{
  border-color:#fff;
  background:#fff;
  box-shadow:inset 0 0 0 7px #4f6ded;
}
.ct-plan-choice__main{display:grid;gap:8px;min-width:0;}
.ct-plan-choice__name-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.ct-plan-choice__name-row strong{
  color:#fff;
  font-size:1.22rem;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.02em;
}
.ct-plan-choice__main small{
  margin:0;
  color:rgba(255,255,255,.94);
  font-size:1rem;
  line-height:1.2;
}
.ct-plan-choice__price{
  text-align:right;
  display:grid;
  gap:6px;
  align-self:center;
}
.ct-plan-choice__price strong{
  color:#fff;
  font-size:1.28rem;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.ct-plan-choice__price small{
  color:rgba(255,255,255,.96);
  font-size:.95rem;
  line-height:1.1;
  white-space:nowrap;
}
.ct-plan-choice__badge{
  min-height:34px;
  padding:0 14px;
  border-radius:10px;
  background:#63d1ac;
  color:#fff;
  font-size:.9rem;
  font-weight:900;
  box-shadow:none;
}
.ct-pay-methods--modal{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
  margin-bottom:18px;
}
.ct-pay-method{
  min-height:86px;
  border-radius:18px;
  border:2px solid rgba(255,255,255,.08);
  background:#f7f8fb;
  color:#0d1320;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.ct-pay-method.is-active{
  border-color:#5f7cff;
  box-shadow:0 0 0 4px rgba(95,124,255,.18) inset;
}
.ct-pay-method__logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  font-size:1rem;
  font-weight:900;
  letter-spacing:-.02em;
}
.ct-pill--subscribe-plan-full{
  width:100%;
  min-height:72px;
  border-radius:20px;
  background:#5672f3;
  color:#fff;
  border:none;
  font-size:1.12rem;
  font-weight:900;
  letter-spacing:-.02em;
}
@media (max-width: 780px){
  .ct-paywall-modal__panel .ct-subscribe-modal{padding:14px;border-radius:22px;}
  .ct-subscribe-modal > strong{font-size:.98rem;}
  .ct-subscribe-modal > p{font-size:.98rem;margin-bottom:14px;}
  .ct-plan-choice--modal{gap:12px;padding:18px 14px;min-height:102px;border-radius:18px;}
  .ct-plan-choice__radio{width:28px;height:28px;box-shadow:inset 0 0 0 4px rgba(5,5,5,.95);}
  .ct-plan-choice--modal.is-selected .ct-plan-choice__radio{box-shadow:inset 0 0 0 6px #4f6ded;}
  .ct-plan-choice__name-row strong{font-size:1.05rem;}
  .ct-plan-choice__main small{font-size:.95rem;}
  .ct-plan-choice__price strong{font-size:1.08rem;}
  .ct-plan-choice__price small{font-size:.9rem;}
  .ct-plan-choice__badge{min-height:30px;padding:0 12px;font-size:.82rem;}
  .ct-pay-methods--modal{gap:12px;margin-top:14px;margin-bottom:14px;}
  .ct-pay-method{min-height:72px;border-radius:16px;}
  .ct-pill--subscribe-plan-full{min-height:64px;border-radius:18px;font-size:1.02rem;}
}


@media (max-width: 780px) {
    .ct-plan-choice--modal {
        min-height: 0;
    }
}
.ct-plan-choice--modal {
    min-height: 0;
}
@media (max-width: 560px) {
    .ct-paywall-modal__head strong {
        font-size: 1.4rem;
    }
}


@media (max-width: 780px) {
    .ct-plan-choice--modal {
        min-height: 0;
    }
}
.ct-plan-choice--modal {
    min-height: 0;
}
@media (max-width: 560px) {
    .ct-paywall-modal__head strong {
        font-size: 1.4rem;
    }
}
.ct-card--video .ct-card__video,
.ct-card--video .ct-card__media img,
.ct-suggest-card__thumb img,
.ct-suggest-card__video {
    max-height: 400px;
}
@media (max-width: 780px) {
    .ct-suggested-list--mobile .ct-suggest-card__thumb {
        aspect-ratio: auto !important;
        max-height: 400px;
        object-fit: contain !important;
    }
}
@media (max-width: 780px) {
    .ct-card--video .ct-card__media {
        aspect-ratio: auto !important;
        max-height: 400px;
        object-fit: contain !important;
    }
}


.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paywall-modal__body {
    padding-top: 0;
}

.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paywall-block--unlock-only {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ct-paywall-modal[data-ct-active-section="unlock"] [data-ct-paypal-area] {
    margin-top: 0;
}

.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paypal-mount--card,
.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paypal-card,
.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paypal-card-fields {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ct-paywall-block--unlock-only[hidden], .ct-paywall-block--plans[hidden], .ct-paypal-area[hidden] { display:none !important; }
.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paywall-block--plans,
.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paypal-area--plans { display:none !important; }
.ct-paywall-modal[data-ct-active-section="unlock"] .ct-paywall-modal__head p { display:none !important; }


/* Phase81 PayPal stability + faster watch-page media boot */
.ct-paywall-modal__panel{
  overflow-anchor:none;
  overscroll-behavior:contain;
}
.ct-paypal-area{
  overflow-anchor:none;
}
.ct-paypal-area.is-loading,
.ct-paypal-area--unlock,
.ct-paypal-area--plans{
  display:block;
}
.ct-paypal-area--unlock{
  min-height:256px;
}
.ct-paypal-area--plans{
  min-height:68px;
}
.ct-paypal-area.is-loading.ct-paypal-area--unlock{
  min-height:256px;
}
.ct-paypal-area.is-loading.ct-paypal-area--plans{
  min-height:68px;
}
.ct-paypal-card-checkout,
.ct-paypal-mount--subscription,
.ct-paypal-mount--order{
  width:100%;
}
.ct-paypal-card-checkout__mount iframe,
.ct-paypal-mount iframe{
  width:100% !important;
}
.ct-subscribe-modal .ct-paypal-area--plans{
  margin-top:8px;
}
@media (max-width: 780px){
  .ct-paywall-modal__panel{
    max-height:94vh;
  }
  .ct-paypal-area--unlock{
    min-height:240px;
  }
}


/* phase84 photos page sizing and locked actions */
.ct-photo-feed{
  justify-items:center;
}

.ct-photo-feed > .ct-photo-gallery-card{
  width:min(100%, 920px);
}

.ct-photo-gallery-card__stage-wrap{
  position:relative;
}

.ct-photo-gallery-card__overlay-actions{
  position:absolute;
  top:16px;
  left:50%;
  transform:translateX(-50%);
  z-index:4;
  width:calc(100% - 32px);
  max-width:420px;
  justify-content:center !important;
  pointer-events:none;
}

.ct-photo-gallery-card__overlay-actions .ct-pill{
  pointer-events:auto;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}

.ct-photo-feed .ct-photo-gallery-card__frame{
  min-height:min(62vh, 720px);
}

@media (max-width: 1100px){
  .ct-photo-feed > .ct-photo-gallery-card{
    width:min(100%, 780px);
  }

  .ct-photo-feed .ct-photo-gallery-card__frame{
    min-height:min(56vh, 620px);
  }
}

@media (max-width: 780px){
  .ct-photo-gallery-card__overlay-actions{
    top:12px;
    width:calc(100% - 24px);
    max-width:none;
  }

  .ct-photo-feed > .ct-photo-gallery-card{
    width:100%;
  }
}

/* Phase 86 — moderation, static pages, contact */
.ct-static-page {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.ct-static-page__hero,
.ct-static-page__panel {
  background: rgba(17, 20, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.ct-static-page__hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
}
.ct-static-page__hero p,
.ct-static-page__panel p {
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.ct-static-page__sections {
  display: grid;
  gap: 18px;
}
.ct-static-page__panel h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}
.ct-static-page__nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ct-static-page__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  text-decoration: none;
}
.ct-static-page__nav a.is-active,
.ct-static-page__nav a:hover {
  background: rgba(255,255,255,.12);
}
.ct-static-page__nav--auth {
  justify-content: center;
  margin: 22px auto 0;
  width: min(980px, 100%);
}
.ct-contact-form textarea,
.ct-contact-form select {
  width: 100%;
}
.ct-contact-form textarea {
  resize: vertical;
  min-height: 180px;
}
@media (min-width: 900px) {
  .ct-static-page__sections {
    grid-template-columns: 1fr 1fr;
  }
  .ct-static-page__panel:first-child:last-child {
    grid-column: 1 / -1;
  }
}

/* Phase 87 — static pages cleanup */
.ct-static-page .ct-brow{
  padding:0;
  margin-bottom:10px;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  color:#f1f5f9;
}
.ct-static-page__hero,
.ct-static-page__panel{
  border:none!important;
  box-shadow:none!important;
}
.ct-static-page__nav,
.ct-static-page__nav--auth{
  gap:18px;
}
.ct-static-page__nav a,
.ct-static-page__nav--auth a{
  min-height:auto;
  padding:0;
  border:none!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:rgba(255,255,255,.78);
  font-weight:700;
  letter-spacing:.01em;
}
.ct-static-page__nav a.is-active,
.ct-static-page__nav a:hover,
.ct-static-page__nav--auth a:hover{
  background:transparent!important;
  color:#fff;
}
.ct-static-page__nav a.is-active{
  text-decoration:underline;
  text-underline-offset:6px;
}

.ct-google-slot{display:grid;gap:10px;justify-items:start}.ct-google-auth-slot{display:inline-flex;align-items:center;justify-content:flex-start;min-height:0;width:auto;max-width:100%;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;opacity:0;visibility:hidden;overflow:hidden}.ct-google-auth-slot.is-ready{opacity:1;visibility:visible}.ct-google-auth-slot > div,.ct-google-auth-slot > iframe{max-width:100%;background:transparent!important;border:0!important;box-shadow:none!important}.ct-google-auth-error{display:none;margin:0}.ct-google-auth-error:not([hidden]):not(:empty){display:block}[hidden]{display:none!important}

/* phase90 importer */
.ct-import-mode-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);margin-bottom:14px;max-width:420px;width:100%}.ct-import-mode-switch__button{appearance:none;border:none;background:transparent;color:#cbd5e1;padding:12px 16px;border-radius:999px;font:inherit;font-weight:700;cursor:pointer}.ct-import-mode-switch__button.is-active{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08));color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.ct-import-panel{display:grid;gap:12px;margin-top:8px}.ct-import-panel textarea{min-height:130px;resize:vertical}.ct-page-actions-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}.ct-page-actions-row__buttons{display:flex;gap:10px;flex-wrap:wrap}.ct-page-actions-row--photos{margin-bottom:18px}.ct-import-panel .ct-helper{margin:0}@media (max-width:780px){.ct-page-actions-row{flex-direction:column;align-items:stretch}.ct-page-actions-row__buttons{width:100%}.ct-page-actions-row__buttons .ct-pill{flex:1;text-align:center}.ct-import-mode-switch{max-width:none}}

/* phase91 css tweaks */
@media (max-width:780px){
  .ct-card--video .ct-card__media{
    border-radius:0!important;
    margin-left:-0.5rem;
    margin-right:-0.5rem;
    object-fit:cover!important;
  }
}

.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media img,
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__video{
  object-fit:cover!important;
}

.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{
  aspect-ratio:2 / 3;
  border-radius:18px!important;
}

@media (max-width:560px){
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{
    border-radius:10px!important;
  }
}

.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-progress{
  height:3px!important;
  margin:0!important;
  padding:0;
}

@media (max-width:780px){
  .ct-suggested-list--mobile .ct-suggest-card__thumb{
    border-radius:0!important;
    margin-left:-0.5rem;
    margin-right:-0.5rem;
    object-fit:cover!important;
  }
}

.ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn svg{
  width:27px!important;
  height:27px!important;
  display:flex;
}

@media (max-width:780px){
  .ct-watch-yt__player-surface.ct-player-shell--phase16 .ct-player-btn svg{
    width:25px!important;
    height:25px!important;
    display:flex;
  }
}

.ct-watch-yt__channel-row{
  flex-wrap:wrap!important;
}

/* phase92 watch action sizing */
.ct-watch-yt__action{
  min-height:35px!important;
  border-radius:999px!important;
  font-size:15px!important;
  font-weight:500!important;
}

.ct-watch-yt__reaction-pill{
  font-size:15px!important;
}


.ct-player-overlay-play svg{
  width:26px!important;
  height:26px!important;
  display:block!important;
}
.ct-watch-yt__player-surface .ct-player-overlay-play{
  transition:opacity .18s ease, transform .18s ease!important;
}
.ct-watch-yt__player-surface .ct-modern-player:not(.is-paused):not(.is-ui-active) .ct-player-overlay-play{
  opacity:0!important;
  pointer-events:none!important;
  transform:translate(-50%,-50%) scale(.96)!important;
}

/* Phase 96 auth/static redesign */
.ct-main--auth{
    padding:24px 18px 32px !important;
}

.ct-app--focus .ct-main-shell--solo{
    background:
        radial-gradient(circle at top right, rgba(162, 67, 255, 0.16), transparent 26%),
        radial-gradient(circle at top left, rgba(255, 94, 58, 0.12), transparent 24%),
        linear-gradient(180deg, #090b10 0%, #0b0d13 100%) !important;
    min-height:100vh;
}

.ct-auth-shell,
.ct-auth-shell--static{
    width:min(100%, 1180px);
    margin:0 auto;
}

.ct-auth-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.03fr) minmax(420px, 480px);
    gap:28px;
    align-items:stretch;
}

.ct-auth-layout--static{
    grid-template-columns:minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.ct-auth-stage,
.ct-auth-card{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    background:linear-gradient(180deg, rgba(17,20,29,0.98), rgba(10,12,18,0.98));
    box-shadow:0 30px 90px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ct-auth-stage{
    min-height:680px;
    padding:34px 34px 42px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.ct-auth-stage--compact{
    min-height:560px;
}

.ct-auth-stage--static{
    min-height:720px;
}

.ct-auth-brand{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    color:#fff;
    font-size:2rem;
    font-weight:800;
    letter-spacing:-0.04em;
}

.ct-auth-stage__copy{
    position:relative;
    z-index:1;
    display:grid;
    gap:16px;
    max-width:540px;
}

.ct-auth-stage__copy h1{
    margin:0;
    color:#fff;
    font-size:clamp(2rem, 4.4vw, 4.4rem);
    line-height:0.98;
    letter-spacing:-0.05em;
}

.ct-auth-stage__copy p{
    margin:0;
    color:rgba(233,239,246,0.72);
    font-size:1.02rem;
    line-height:1.7;
    max-width:460px;
}

.ct-auth-orbit{
    position:absolute;
    inset:auto -120px -140px auto;
    width:460px;
    height:460px;
    border-radius:50%;
    pointer-events:none;
    opacity:0.95;
    background:
        radial-gradient(circle at center, transparent 46%, rgba(255, 110, 59, 0.88) 46.5%, rgba(255, 110, 59, 0.88) 47.3%, transparent 47.5%),
        radial-gradient(circle at center, transparent 57%, rgba(255, 85, 65, 0.72) 57.4%, rgba(255, 85, 65, 0.72) 58.1%, transparent 58.3%),
        radial-gradient(circle at center, transparent 67%, rgba(184, 77, 255, 0.72) 67.4%, rgba(184, 77, 255, 0.72) 68.1%, transparent 68.3%),
        radial-gradient(circle at center, transparent 77%, rgba(107, 52, 255, 0.58) 77.4%, rgba(107, 52, 255, 0.58) 78.1%, transparent 78.3%);
    filter:drop-shadow(0 0 40px rgba(255, 98, 63, 0.12));
}

.ct-auth-card{
    padding:24px;
    display:flex;
    align-items:center;
}

.ct-auth-card--static{
    align-items:stretch;
}

.ct-auth-card__panel--auth{
    width:100%;
    position:relative;
    z-index:1;
    display:grid;
    gap:18px;
    padding:18px;
}

.ct-auth-card__panel--static{
    padding:20px;
}

.ct-auth-form{
    display:grid;
    gap:14px;
}

.ct-auth-form label{
    gap:9px;
}

.ct-auth-form label span,
.ct-auth-meta__label{
    color:rgba(240,244,250,0.9);
    font-size:0.95rem;
    font-weight:600;
    letter-spacing:-0.01em;
}

.ct-auth-card input,
.ct-auth-card textarea,
.ct-auth-card select{
    min-height:58px;
    padding:0 20px !important;
    border-radius:999px !important;
    background:rgba(26,29,38,0.95) !important;
    border:1px solid rgba(255,255,255,0.06) !important;
    box-shadow:none !important;
    color:#fff !important;
}

.ct-auth-card textarea{
    min-height:170px;
    padding:18px 20px !important;
    border-radius:24px !important;
}

.ct-auth-card input::placeholder,
.ct-auth-card textarea::placeholder{
    color:rgba(255,255,255,0.34);
}

.ct-auth-card input:focus,
.ct-auth-card textarea:focus,
.ct-auth-card select:focus{
    border-color:rgba(255,118,74,0.48) !important;
    box-shadow:0 0 0 4px rgba(255,116,69,0.08) !important;
    outline:none !important;
}

.ct-auth-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
}

.ct-auth-check{
    margin:0;
    color:rgba(233,239,246,0.72);
    font-weight:500;
}

.ct-auth-check input{
    appearance:auto;
}

.ct-auth-inline-link,
.ct-auth-links a,
.ct-static-page__nav a{
    color:rgba(255,255,255,0.76);
    text-decoration:none;
    transition:color .18s ease, opacity .18s ease;
}

.ct-auth-inline-link:hover,
.ct-auth-links a:hover,
.ct-static-page__nav a:hover,
.ct-static-page__nav a.is-active{
    color:#fff;
}

.ct-auth-submit,
.ct-auth-resend,
.ct-contact-form .ct-auth-submit{
    min-height:58px !important;
    border:none !important;
    border-radius:999px !important;
    background:linear-gradient(90deg, #b43ee9 0%, #ff4c43 55%, #ff8b3d 100%) !important;
    color:#fff !important;
    font-size:1.02rem !important;
    font-weight:700 !important;
    box-shadow:0 16px 34px rgba(255, 94, 58, 0.2) !important;
}

.ct-auth-resend{
    background:rgba(255,255,255,0.08) !important;
    box-shadow:none !important;
}

.ct-auth-resend[disabled]{
    opacity:.72;
}

.ct-auth-links{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.ct-auth-links--single{
    justify-content:center;
}

.ct-auth-note,
.ct-auth-meta,
.ct-error,
.ct-success{
    border-radius:22px !important;
    padding:15px 18px !important;
    border:1px solid rgba(255,255,255,0.06) !important;
    background:rgba(255,255,255,0.04) !important;
}

.ct-error{
    color:#ffd4d4 !important;
    background:rgba(133, 29, 29, 0.22) !important;
    border-color:rgba(255, 99, 99, 0.18) !important;
}

.ct-success{
    color:#dffde8 !important;
    background:rgba(24, 96, 57, 0.2) !important;
    border-color:rgba(82, 216, 130, 0.16) !important;
}

.ct-auth-code-input{
    letter-spacing:0.28em;
    text-align:center;
    font-size:1.25rem !important;
}

.ct-google-slot{
    display:grid;
    gap:10px;
}

.ct-google-auth-slot{
    width:100%;
    min-height:58px;
    opacity:0;
    visibility:hidden;
    transition:opacity .18s ease;
}

.ct-google-auth-slot.is-ready{
    opacity:1;
    visibility:visible;
}

.ct-google-auth-slot > div,
.ct-google-auth-slot > iframe{
    width:100% !important;
    max-width:100% !important;
    border-radius:999px !important;
}

.ct-google-auth-error:not([hidden]):not(:empty){
    display:block;
}

.ct-static-page__nav{
    display:flex;
    align-items:center;
    gap:14px 18px;
    flex-wrap:wrap;
    padding:0;
    margin:0;
}

.ct-static-page__nav a{
    font-weight:600;
    opacity:0.82;
}

.ct-static-page__sections{
    display:grid;
    gap:16px;
}

.ct-static-page__panel{
    background:rgba(255,255,255,0.02) !important;
    border:none !important;
    border-radius:26px;
    padding:22px 22px 20px;
}

.ct-static-page__panel h2{
    margin:0 0 12px;
    color:#fff;
    font-size:1.18rem;
}

.ct-static-page__panel p{
    margin:0 0 12px;
    color:rgba(233,239,246,0.78);
    line-height:1.78;
}

.ct-static-page__panel p:last-child{
    margin-bottom:0;
}

.ct-static-page .ct-brow,
.ct-auth-brand,
.ct-static-page__hero,
.ct-static-page__panel:first-child:last-child{
    background:none !important;
    border:none !important;
    box-shadow:none !important;
}

.ct-static-page__nav--auth{
    margin-top:8px;
    justify-content:center;
}

@media (max-width: 1080px){
    .ct-auth-layout,
    .ct-auth-layout--static{
        grid-template-columns:minmax(0, 1fr);
    }

    .ct-auth-stage,
    .ct-auth-stage--static,
    .ct-auth-stage--compact{
        min-height:unset;
        padding:28px 28px 210px;
    }

    .ct-auth-stage__copy p{
        max-width:none;
    }

    .ct-auth-orbit{
        width:360px;
        height:360px;
        right:-120px;
        bottom:-120px;
    }
}

@media (max-width: 780px){
    .ct-main--auth{
        padding:14px 12px 20px !important;
    }

    .ct-auth-layout{
        gap:14px;
    }

    .ct-auth-stage,
    .ct-auth-stage--static,
    .ct-auth-stage--compact,
    .ct-auth-card{
        border-radius:28px;
    }

    .ct-auth-stage,
    .ct-auth-stage--static,
    .ct-auth-stage--compact{
        padding:22px 22px 180px;
    }

    .ct-auth-brand{
        font-size:1.56rem;
    }

    .ct-auth-stage__copy{
        gap:12px;
    }

    .ct-auth-stage__copy h1{
        font-size:2.3rem;
    }

    .ct-auth-stage__copy p{
        font-size:0.96rem;
        line-height:1.6;
    }

    .ct-auth-card{
        padding:16px;
    }

    .ct-auth-card__panel--auth,
    .ct-auth-card__panel--static{
        padding:8px;
        gap:14px;
    }

    .ct-auth-card input,
    .ct-auth-card textarea,
    .ct-auth-card select,
    .ct-auth-submit,
    .ct-auth-resend{
        min-height:54px !important;
    }

    .ct-static-page__panel{
        padding:18px 16px;
        border-radius:22px;
    }

    .ct-static-page__nav,
    .ct-auth-links,
    .ct-auth-row{
        gap:12px;
    }

    .ct-auth-orbit{
        width:280px;
        height:280px;
        right:-96px;
        bottom:-92px;
    }
}

@media (max-width: 560px){
    .ct-auth-stage,
    .ct-auth-stage--static,
    .ct-auth-stage--compact{
        padding:18px 18px 150px;
    }

    .ct-auth-stage__copy h1{
        font-size:1.88rem;
    }

    .ct-auth-card input,
    .ct-auth-card textarea,
    .ct-auth-card select{
        padding:0 17px !important;
    }

    .ct-static-page__nav--auth,
    .ct-static-page__nav{
        justify-content:flex-start;
    }

    .ct-auth-orbit{
        width:220px;
        height:220px;
        right:-70px;
        bottom:-70px;
    }
}

/* Phase 97 auth redesign following new references */
.ct-main--auth{
  padding:18px 16px 28px !important;
}

.ct-app--focus .ct-main-shell--solo{
  background:
    radial-gradient(circle at 100% 0%, rgba(165, 61, 255, 0.10), transparent 20%),
    radial-gradient(circle at 0% 100%, rgba(255, 97, 63, 0.08), transparent 18%),
    #0b0c10 !important;
  min-height:100vh;
}

.ct-auth-v2{
  width:min(100%, 1220px);
  margin:0 auto;
  color:#fff;
}

.ct-auth-v2__topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:72px;
  padding:4px 8px 14px;
}

.ct-auth-v2__brand{
  color:#fff;
  text-decoration:none;
  font-size:1.95rem;
  font-weight:800;
  letter-spacing:-0.04em;
}

.ct-auth-v2__menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px 28px;
  flex:1 1 auto;
}

.ct-auth-v2__menu a,
.ct-auth-v2__footer-links a,
.ct-auth-v2__subnav a,
.ct-auth-v2__inline-link,
.ct-auth-v2__switch a{
  color:rgba(255,255,255,0.72);
  text-decoration:none;
  font-weight:500;
  transition:color .18s ease, opacity .18s ease;
}

.ct-auth-v2__menu a:hover,
.ct-auth-v2__menu a.is-active,
.ct-auth-v2__footer-links a:hover,
.ct-auth-v2__subnav a:hover,
.ct-auth-v2__subnav a.is-active,
.ct-auth-v2__inline-link:hover,
.ct-auth-v2__switch a:hover{
  color:#fff;
}

.ct-auth-v2__top-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:128px;
  min-height:48px;
  padding:0 26px;
  border-radius:16px;
  background:linear-gradient(90deg, #c43cff 0%, #ff5b67 48%, #ff8d35 100%);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 14px 32px rgba(255, 120, 70, 0.16);
}

.ct-auth-v2__frame{
  position:relative;
  overflow:hidden;
  padding:34px 34px 26px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(14,16,22,0.97), rgba(11,12,18,0.99));
  box-shadow:0 30px 90px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ct-auth-v2__hero{
  max-width:720px;
  margin:40px auto 34px;
  text-align:center;
  position:relative;
  z-index:1;
}

.ct-auth-v2__hero h1{
  margin:0;
  color:#fff;
  font-size:clamp(2.1rem, 5vw, 4.4rem);
  line-height:0.98;
  letter-spacing:-0.05em;
}

.ct-auth-v2__hero p{
  margin:18px auto 0;
  max-width:720px;
  color:rgba(255,255,255,0.42);
  font-size:1.18rem;
  line-height:1.65;
}

.ct-auth-v2__body{
  position:relative;
  z-index:1;
}

.ct-auth-v2__body--split{
  display:grid;
  grid-template-columns:minmax(0, 430px) 36px minmax(0, 430px);
  justify-content:center;
  align-items:start;
  gap:30px;
  margin:0 auto;
  max-width:980px;
}

.ct-auth-v2__body--single{
  max-width:520px;
  margin:0 auto;
}

.ct-auth-v2__body--static{
  max-width:980px;
  margin:0 auto;
  display:grid;
  gap:18px;
}

.ct-auth-v2__panel{
  min-width:0;
}

.ct-auth-v2__panel--form,
.ct-auth-v2__panel--social,
.ct-auth-v2__panel--static-content{
  padding:12px;
}

.ct-auth-v2__form{
  display:grid;
  gap:14px;
}

.ct-auth-v2__field{
  display:grid;
  gap:8px;
}

.ct-auth-v2__field span,
.ct-auth-v2__social-title,
.ct-auth-v2__verify-mail,
.ct-auth-v2__note{
  color:rgba(255,255,255,0.76);
  font-size:0.95rem;
  font-weight:600;
}

.ct-auth-v2__field input,
.ct-auth-v2__field textarea,
.ct-auth-v2__field select{
  min-height:64px;
  width:100%;
  padding:0 22px !important;
  border:none !important;
  border-radius:18px !important;
  background:#17191f !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04) !important;
  color:#fff !important;
}

.ct-auth-v2__field textarea{
  min-height:190px;
  padding:18px 22px !important;
  border-radius:20px !important;
}

.ct-auth-v2__field input::placeholder,
.ct-auth-v2__field textarea::placeholder{
  color:rgba(255,255,255,0.28);
}

.ct-auth-v2__field input:focus,
.ct-auth-v2__field textarea:focus,
.ct-auth-v2__field select:focus{
  outline:none !important;
  box-shadow:inset 0 0 0 1px rgba(255,129,71,0.55), 0 0 0 4px rgba(255,120,68,0.08) !important;
}

.ct-auth-v2__meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.ct-auth-v2__check{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,0.62);
}

.ct-auth-v2__submit,
.ct-auth-v2__subtle-button{
  min-height:62px;
  width:100%;
  border:none;
  border-radius:18px;
  color:#fff;
  font-size:1.05rem;
  font-weight:700;
}

.ct-auth-v2__submit{
  background:linear-gradient(90deg, #c83eff 0%, #ff5d69 48%, #ff8f34 100%);
  box-shadow:0 18px 36px rgba(255, 116, 72, 0.18);
}

.ct-auth-v2__subtle-button{
  background:rgba(255,255,255,0.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);
}

.ct-auth-v2__subtle-button[disabled]{
  opacity:.76;
}

.ct-auth-v2__split-mark{
  position:relative;
  width:36px;
  height:100%;
  align-self:stretch;
}

.ct-auth-v2__split-mark::before{
  content:'/';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  color:rgba(255,255,255,0.65);
  font-size:2.5rem;
  font-weight:300;
}

.ct-auth-v2__social-title{
  margin:8px 0 16px;
  text-align:center;
}

.ct-auth-v2__google-wrap{
  display:grid;
  gap:12px;
}

.ct-auth-v2__google-slot{
  width:100%;
  min-height:60px;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease;
}

.ct-auth-v2__google-slot.is-ready{
  opacity:1;
  visibility:visible;
}

.ct-auth-v2__google-slot > div,
.ct-auth-v2__google-slot > iframe,
.ct-auth-v2__google-slot iframe{
  width:100% !important;
  max-width:100% !important;
}

.ct-auth-v2__switch{
  margin-top:18px;
  text-align:center;
}

.ct-auth-v2__switch--pair{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.ct-auth-v2__verify-mail,
.ct-auth-v2__note,
.ct-auth-v2__notice{
  padding:16px 18px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,0.04) !important;
  border:1px solid rgba(255,255,255,0.06) !important;
}

.ct-auth-v2__code{
  text-align:center;
  letter-spacing:0.25em;
  font-size:1.2rem !important;
}

.ct-auth-v2__subnav,
.ct-auth-v2__footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px 20px;
  flex-wrap:wrap;
}

.ct-auth-v2__subnav{
  margin-bottom:8px;
}

.ct-auth-v2__footer-links{
  margin-top:28px;
}

.ct-auth-v2__static-sections{
  display:grid;
  gap:16px;
}

.ct-auth-v2__static-card{
  padding:22px 22px 20px;
  border-radius:24px;
  background:rgba(255,255,255,0.03);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ct-auth-v2__static-card h2{
  margin:0 0 12px;
  color:#fff;
  font-size:1.18rem;
}

.ct-auth-v2__static-card p{
  margin:0 0 12px;
  color:rgba(255,255,255,0.74);
  line-height:1.82;
}

.ct-auth-v2__static-card p:last-child{
  margin-bottom:0;
}

.ct-auth-v2__orbit{
  position:absolute;
  top:-24px;
  right:-126px;
  width:420px;
  height:420px;
  border-radius:50%;
  pointer-events:none;
  opacity:0.92;
  background:
    radial-gradient(circle at center, transparent 45%, rgba(255,106,63,0.78) 45.7%, rgba(255,106,63,0.78) 46.6%, transparent 47%),
    radial-gradient(circle at center, transparent 55%, rgba(255,90,80,0.7) 55.7%, rgba(255,90,80,0.7) 56.6%, transparent 57%),
    radial-gradient(circle at center, transparent 66%, rgba(193,81,255,0.74) 66.7%, rgba(193,81,255,0.74) 67.6%, transparent 68%),
    radial-gradient(circle at center, transparent 77%, rgba(90,53,255,0.56) 77.7%, rgba(90,53,255,0.56) 78.6%, transparent 79%);
}

.ct-auth-v2 .ct-error{
  color:#ffd8d8 !important;
  background:rgba(134, 30, 30, 0.22) !important;
  border-color:rgba(255,97,97,0.16) !important;
}

.ct-auth-v2 .ct-success{
  color:#ddf9e5 !important;
  background:rgba(30, 96, 54, 0.2) !important;
  border-color:rgba(92,209,130,0.14) !important;
}

@media (max-width: 1080px){
  .ct-auth-v2__body--split{
    display:flex;
    flex-direction:column;
    gap:14px;
    max-width:520px;
  }

  .ct-auth-v2__split-mark{
    display:none;
  }

  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social{
    padding:0;
  }

  .ct-auth-v2__panel--social{
    margin-top:4px;
  }

  .ct-auth-v2__social-title{
    margin:6px 0 10px;
    text-align:left;
    font-size:0.92rem;
  }

  .ct-auth-v2__switch{
    text-align:left;
  }

  .ct-auth-v2__frame{
    padding:28px 26px 24px;
  }

  .ct-auth-v2__hero{
    margin-top:26px;
  }
}

@media (max-width: 780px){
  .ct-main--auth{
    padding:10px 10px 18px !important;
  }

  .ct-auth-v2__topbar{
    min-height:56px;
    padding:0 4px 8px;
  }

  .ct-auth-v2__menu,
  .ct-auth-v2__top-action{
    display:none;
  }

  .ct-auth-v2__brand{
    font-size:1.55rem;
  }

  .ct-auth-v2__frame{
    padding:18px 18px 20px;
    border-radius:28px;
    min-height:calc(100vh - 82px);
  }

  .ct-auth-v2__hero{
    max-width:none;
    margin:58px 0 24px;
    text-align:left;
  }

  .ct-auth-v2__hero h1{
    font-size:2.05rem;
  }

  .ct-auth-v2__hero p{
    margin:12px 0 0;
    max-width:320px;
    font-size:0.98rem;
    line-height:1.55;
  }

  .ct-auth-v2__body--single,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--static{
    max-width:none;
  }

  .ct-auth-v2__body--split{
    gap:12px;
  }

  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content{
    padding:0;
  }

  .ct-auth-v2__field input,
  .ct-auth-v2__field textarea,
  .ct-auth-v2__field select{
    min-height:58px;
    border-radius:999px !important;
  }

  .ct-auth-v2__field textarea{
    min-height:180px;
    border-radius:22px !important;
  }

  .ct-auth-v2__submit,
  .ct-auth-v2__subtle-button{
    min-height:56px;
    border-radius:999px;
  }

  .ct-auth-v2__social-title{
    margin:6px 0 10px;
    font-size:0.9rem;
  }

  .ct-auth-v2__switch,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav{
    justify-content:flex-start;
    text-align:left;
  }

  .ct-auth-v2__footer-links{
    margin-top:22px;
  }

  .ct-auth-v2__orbit{
    top:-42px;
    right:-76px;
    width:250px;
    height:250px;
  }
}

@media (max-width: 560px){
  .ct-auth-v2__hero{
    margin-top:46px;
  }

  .ct-auth-v2__hero h1{
    font-size:1.76rem;
  }

  .ct-auth-v2__hero p{
    font-size:0.92rem;
  }

  .ct-auth-v2__switch--pair{
    justify-content:flex-start;
  }

  .ct-auth-v2__orbit{
    right:-62px;
    width:214px;
    height:214px;
  }
}


.ct-auth-v2__mobile-brand{
  display:none;
  color:#fff;
  text-decoration:none;
  font-size:2.4rem;
  font-weight:900;
  letter-spacing:-0.06em;
  line-height:1;
  margin:0 0 22px;
}

.ct-auth-v2__frame,
.ct-auth-v2__panel,
.ct-auth-v2__panel--form,
.ct-auth-v2__panel--social,
.ct-auth-v2__panel--static-content,
.ct-auth-v2__static-card,
.ct-auth-v2__verify-mail,
.ct-auth-v2__note,
.ct-auth-v2__notice{
  border:none !important;
  box-shadow:none !important;
}

@media (max-width: 1080px){
  .ct-auth-v2{
    width:min(100%, 900px);
  }

  .ct-auth-v2__frame{
    padding:30px 24px 24px;
  }

  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav{
    max-width:560px;
    margin-left:auto;
    margin-right:auto;
  }

  .ct-auth-v2__hero{
    text-align:left;
  }

  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    max-width:560px;
    margin-left:auto;
    margin-right:auto;
  }
}

@media (max-width: 780px){
  .ct-auth-v2{
    width:min(100%, 680px);
  }

  .ct-auth-v2__topbar{
    display:none;
  }

  .ct-auth-v2__frame{
    padding:20px 18px 22px;
    min-height:auto;
  }

  .ct-auth-v2__mobile-brand{
    display:block;
  }

  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    max-width:520px;
    margin-left:auto;
    margin-right:auto;
  }

  .ct-auth-v2__hero{
    margin:4px auto 24px;
  }

  .ct-auth-v2__hero p{
    max-width:none;
  }

  .ct-auth-v2__switch,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav{
    justify-content:center;
    text-align:center;
  }

  .ct-auth-v2__social-title{
    text-align:left;
  }
}

@media (max-width: 560px){
  .ct-auth-v2{
    width:100%;
  }

  .ct-auth-v2__frame{
    padding:18px 14px 20px;
    border-radius:26px;
  }

  .ct-auth-v2__mobile-brand,
  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    max-width:440px;
  }

  .ct-auth-v2__mobile-brand{
    font-size:2.8rem;
    margin-bottom:18px;
  }

  .ct-auth-v2__hero h1{
    font-size:1.92rem;
  }

  .ct-auth-v2__hero p{
    font-size:0.98rem;
  }

  .ct-auth-v2__field input,
  .ct-auth-v2__field textarea,
  .ct-auth-v2__field select{
    min-height:56px;
  }

  .ct-auth-v2__submit,
  .ct-auth-v2__subtle-button{
    min-height:54px;
  }
}


/* phase100 auth mobile/tablet real centering fix */
@media (max-width: 1080px){
  .ct-auth-v2{
    width:100%;
  }

  .ct-auth-v2__topbar{
    display:none !important;
  }

  .ct-auth-v2__frame{
    width:min(100%, 760px);
    margin:0 auto;
    padding:24px 22px 24px;
    border-radius:30px;
    min-height:auto;
  }

  .ct-auth-v2__mobile-brand{
    display:block;
    width:min(100%, 520px);
    margin:0 auto 18px;
    text-align:center;
    font-size:3rem;
  }

  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    width:min(100%, 520px);
    max-width:520px;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .ct-auth-v2__hero{
    margin:0 auto 22px;
    text-align:center;
  }

  .ct-auth-v2__hero p{
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }

  .ct-auth-v2__body--split{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    justify-items:center;
  }

  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content{
    width:100%;
    padding:0;
  }

  .ct-auth-v2__social-title,
  .ct-auth-v2__switch,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav{
    text-align:center;
    justify-content:center;
  }

  .ct-auth-v2__google-wrap,
  .ct-auth-v2__google-slot{
    width:100%;
    justify-items:center;
  }

  .ct-auth-v2__google-slot > div,
  .ct-auth-v2__google-slot > iframe,
  .ct-auth-v2__google-slot iframe{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .ct-auth-v2__meta-row{
    justify-content:center;
    gap:10px 18px;
  }
}

@media (max-width: 780px){
  .ct-auth-v2__frame{
    width:min(100%, 560px);
    padding:22px 16px 20px;
    border-radius:26px;
  }

  .ct-auth-v2__mobile-brand,
  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    width:min(100%, 430px);
    max-width:430px;
  }

  .ct-auth-v2__mobile-brand{
    font-size:3.1rem;
    margin-bottom:16px;
  }

  .ct-auth-v2__hero h1{
    font-size:1.9rem;
  }

  .ct-auth-v2__hero p{
    font-size:.98rem;
    line-height:1.6;
  }

  .ct-auth-v2__field{
    justify-items:center;
  }

  .ct-auth-v2__field span{
    width:100%;
    text-align:left;
  }

  .ct-auth-v2__field input,
  .ct-auth-v2__field textarea,
  .ct-auth-v2__field select,
  .ct-auth-v2__submit,
  .ct-auth-v2__subtle-button{
    width:100%;
  }
}

@media (max-width: 560px){
  .ct-auth-v2__frame{
    width:100%;
    padding:20px 12px 18px;
    border-radius:24px;
  }

  .ct-auth-v2__mobile-brand,
  .ct-auth-v2__hero,
  .ct-auth-v2__panel--form,
  .ct-auth-v2__panel--social,
  .ct-auth-v2__panel--static-content,
  .ct-auth-v2__footer-links,
  .ct-auth-v2__subnav,
  .ct-auth-v2__body--split,
  .ct-auth-v2__body--single,
  .ct-auth-v2__body--static{
    width:min(100%, 360px);
    max-width:360px;
  }

  .ct-auth-v2__mobile-brand{
    font-size:3rem;
    margin-bottom:14px;
  }

  .ct-auth-v2__hero{
    margin-bottom:18px;
  }

  .ct-auth-v2__hero h1{
    font-size:1.78rem;
  }

  .ct-auth-v2__hero p{
    font-size:.95rem;
  }

  .ct-auth-v2__meta-row{
    flex-direction:column;
    align-items:center;
  }
}


/* phase101 auth message cleanup and google centering */
.ct-auth-v2__google-wrap{
  display:grid;
  justify-items:center;
  align-items:center;
  text-align:center;
}

.ct-auth-v2__google-slot{
  display:grid;
  justify-items:center;
  align-items:center;
  justify-content:center;
  margin-left:auto;
  margin-right:auto;
}

.ct-auth-v2__google-slot > div,
.ct-auth-v2__google-slot > iframe,
.ct-auth-v2__google-slot iframe{
  margin-left:auto !important;
  margin-right:auto !important;
}

.ct-auth-v2__panel--social,
.ct-auth-v2__social-title,
.ct-auth-v2__google-wrap,
.ct-auth-v2__google-wrap .ct-auth-v2__notice{
  text-align:center;
  justify-content:center;
}


/* phase103 professional upload page refresh */
.ct-upload-page--phase103{
    gap:16px;
}

.ct-upload-page--phase103 .ct-upload-grid{
    gap:16px !important;
    align-items:start;
}

.ct-upload-page--phase103 .ct-panel,
.ct-upload-page--phase103 .ct-upload-grid .ct-panel,
.ct-upload-page--phase103 .ct-upload-grid>.ct-panel:nth-child(2){
    background:#18181b !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:18px !important;
    box-shadow:none !important;
}

.ct-upload-page--phase103 .ct-upload-grid .ct-panel{
    padding:18px !important;
    gap:14px !important;
}

.ct-upload-page--phase103 label{
    display:grid;
    gap:8px;
    color:#f4f4f5;
    font-weight:600;
}

.ct-upload-page--phase103 input,
.ct-upload-page--phase103 textarea,
.ct-upload-page--phase103 select,
.ct-upload-page--phase103 .ct-upload-category-trigger{
    background:#111214 !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:12px !important;
    color:#fafafa !important;
    box-shadow:none !important;
}

.ct-upload-page--phase103 input,
.ct-upload-page--phase103 select{
    min-height:48px;
    padding:0 14px;
}

.ct-upload-page--phase103 textarea{
    min-height:144px;
    padding:14px;
    resize:vertical;
}

.ct-upload-page--phase103 input::placeholder,
.ct-upload-page--phase103 textarea::placeholder{
    color:#8b8d92;
}

.ct-upload-page--phase103 .ct-helper,
.ct-upload-page--phase103 .ct-upload-note,
.ct-upload-page--phase103 .ct-upload-progress__meta,
.ct-upload-page--phase103 .ct-upload-preview-card__head,
.ct-upload-page--phase103 .ct-upload-preview-card__head span{
    color:#a1a1aa !important;
}

.ct-upload-page--phase103 .ct-upload-kind-switch--phase46{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
    padding:4px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:14px !important;
    background:#18181b !important;
    max-width:560px;
}

.ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button{
    min-height:46px !important;
    padding:0 12px !important;
    border:1px solid transparent !important;
    border-radius:10px !important;
    background:transparent !important;
    color:#a1a1aa !important;
    box-shadow:none !important;
}

.ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button svg,
.ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button strong{
    color:inherit !important;
}

.ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button.is-active{
    background:#23252b !important;
    border-color:rgba(255,255,255,.08) !important;
    color:#fff !important;
    filter:none !important;
}

.ct-upload-page--phase103 .ct-import-mode-switch{
    display:inline-grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    padding:4px;
    max-width:360px;
    border-radius:14px;
    background:#111214 !important;
    border:1px solid rgba(255,255,255,.08) !important;
}

.ct-upload-page--phase103 .ct-import-mode-switch__button{
    min-height:42px;
    padding:0 12px;
    border-radius:10px;
    background:transparent !important;
    color:#a1a1aa !important;
    font-weight:700;
}

.ct-upload-page--phase103 .ct-import-mode-switch__button.is-active{
    background:#23252b !important;
    color:#fff !important;
    box-shadow:none !important;
}

.ct-upload-page--phase103 .ct-upload-preview-card,
.ct-upload-page--phase103 .ct-upload-trim-card,
.ct-upload-page--phase103 .ct-upload-progress,
.ct-upload-page--phase103 .ct-photo-upload-grid{
    background:#111214 !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:14px !important;
    box-shadow:none !important;
}

.ct-upload-page--phase103 .ct-upload-preview-card,
.ct-upload-page--phase103 .ct-upload-trim-card,
.ct-upload-page--phase103 .ct-upload-progress{
    padding:14px;
}

.ct-upload-page--phase103 .ct-upload-progress{
    gap:10px;
}

.ct-upload-page--phase103 .ct-upload-progress__bar{
    height:6px;
    background:rgba(255,255,255,.08);
}

.ct-upload-page--phase103 .ct-upload-progress__bar span{
    background:#f4f4f5;
}

.ct-upload-page--phase103 .ct-upload-progress__actions{
    justify-content:flex-start;
    margin-top:0;
}

.ct-upload-page--phase103 .ct-pill,
.ct-upload-page--phase103 .ct-pill--dark,
.ct-upload-page--phase103 button[data-ct-video-import-start],
.ct-upload-page--phase103 button[data-ct-photo-import-start],
.ct-upload-page--phase103 button[data-ct-upload-save]{
    min-height:44px !important;
    padding:0 16px !important;
    border-radius:12px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    background:#2a2d34 !important;
    color:#fff !important;
    box-shadow:none !important;
    font-size:.96rem !important;
    font-weight:700 !important;
}

.ct-upload-page--phase103 button[data-ct-video-import-start],
.ct-upload-page--phase103 button[data-ct-photo-import-start],
.ct-upload-page--phase103 button[data-ct-upload-save]{
    width:auto;
    min-width:160px;
    justify-self:start;
}

.ct-upload-page--phase103 .ct-upload-progress__actions .ct-pill,
.ct-upload-page--phase103 button[data-ct-video-cancel]{
    min-width:0;
    min-height:38px !important;
    padding:0 12px !important;
    background:#1f2937 !important;
}

.ct-upload-page--phase103 button[data-ct-upload-save][disabled]{
    opacity:.55;
    cursor:not-allowed;
}

.ct-upload-page--phase103 .ct-upload-category-trigger{
    min-height:48px;
    padding:0 14px;
}

.ct-upload-page--phase103 .ct-upload-category-float__panel{
    background:#18181b;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.ct-upload-page--phase103 .ct-upload-category-option{
    border:1px solid rgba(255,255,255,.08);
    background:#111214;
}

.ct-upload-page--phase103 .ct-upload-category-option:has(input:checked){
    background:#23252b;
    border-color:rgba(255,255,255,.14);
}

@media (max-width: 1024px){
    .ct-upload-page--phase103 .ct-upload-kind-switch--phase46{
        max-width:none;
    }
}

@media (max-width: 780px){
    .ct-upload-page--phase103 .ct-upload-grid{
        gap:14px !important;
    }

    .ct-upload-page--phase103 .ct-upload-grid .ct-panel{
        padding:14px !important;
        border-radius:16px !important;
    }

    .ct-upload-page--phase103 .ct-upload-kind-switch--phase46{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:4px !important;
        padding:4px !important;
        border-radius:12px !important;
    }

    .ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button{
        min-height:42px !important;
        padding:0 8px !important;
        border-radius:9px !important;
        gap:6px !important;
    }

    .ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button strong{
        font-size:.8rem !important;
    }

    .ct-upload-page--phase103 .ct-import-mode-switch{
        max-width:none;
        width:100%;
    }

    .ct-upload-page--phase103 button[data-ct-video-import-start],
    .ct-upload-page--phase103 button[data-ct-photo-import-start],
    .ct-upload-page--phase103 button[data-ct-upload-save]{
        width:100%;
        justify-self:stretch;
    }
}


/* Demo activity mode */
.ct-demo-toast-stack {
  position: fixed;
  top: max(18px, env(safe-area-inset-top, 0px) + 10px);
  right: max(18px, env(safe-area-inset-right, 0px) + 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10020;
  pointer-events: none;
  width: min(360px, calc(100vw - 24px));
}

.ct-demo-toast {
  display: grid;
  grid-template-columns: 40px 1fr 26px;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 12px 14px;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transform: translate3d(30px, 0, 0);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: auto;
  touch-action: pan-y;
  backdrop-filter: blur(10px);
}

.ct-demo-toast.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.ct-demo-toast.is-leaving {
  transform: translate3d(26px, 0, 0);
  opacity: 0;
}

.ct-demo-toast.is-dragging {
  transition: none;
}

.ct-demo-toast--purchase {
  background: linear-gradient(135deg, rgba(255, 109, 74, 0.97), rgba(255, 62, 84, 0.94));
}

.ct-demo-toast--subscription {
  background: linear-gradient(135deg, rgba(42, 184, 122, 0.97), rgba(19, 142, 92, 0.94));
}

.ct-demo-toast__emoji {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.1rem;
}

.ct-demo-toast__copy {
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}

.ct-demo-toast__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0.9;
}

@media (max-width: 780px) {
  .ct-demo-toast-stack {
    top: max(12px, env(safe-area-inset-top, 0px) + 8px);
    right: 12px;
    left: 12px;
    width: auto;
  }

  .ct-demo-toast {
    border-radius: 16px;
    padding: 12px;
  }

  .ct-demo-toast__copy {
    font-size: 0.92rem;
  }
}


/* Phase 116 — reels rail sizing and mobile menu stacking fix */
.ct-home-reels-rail,
.ct-home-reels-rail--shorts,
.ct-home-reels-rail__track--shorts,
.ct-reel-suggest-card--shorts{min-width:0}
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media,
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__media img,
.ct-reel-suggest-card--shorts .ct-reel-suggest-card__video{object-fit:cover!important}

@media (min-width: 781px){
  .ct-home-reels-rail__track--shorts{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:clamp(176px,15vw,204px)!important;
    justify-content:flex-start!important;
    align-items:start!important;
    gap:18px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 0 4px!important;
    scroll-snap-type:x proximity;
  }
  .ct-home-reels-rail__track--shorts > *{scroll-snap-align:start}
  .ct-reel-suggest-card--shorts{
    width:100%!important;
    max-width:none!important;
    gap:10px!important;
  }
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{
    aspect-ratio:2 / 3!important;
    border-radius:20px!important;
  }
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__body h3{
    font-size:.9rem!important;
    line-height:1.25!important;
  }
}

@media (min-width: 781px) and (max-width: 1024px){
  .ct-home-reels-rail__track--shorts{
    grid-auto-columns:minmax(184px,184px)!important;
    gap:16px!important;
  }
}

@media (min-width: 1025px){
  .ct-home-reels-rail__track--shorts{
    grid-auto-columns:minmax(198px,198px)!important;
    gap:18px!important;
  }
}

@media (max-width: 780px){
  .ct-home-reels-rail__track--shorts{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:16px 14px!important;
    overflow:visible!important;
    padding:0!important;
  }
  .ct-home-reels-rail__track--shorts > :nth-child(n+5){display:none!important}
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{
    aspect-ratio:2 / 3!important;
    border-radius:16px!important;
  }
  .ct-card-menu,
  .ct-card-menu__toggle,
  .ct-suggest-card__menu,
  .ct-suggest-card__menu-toggle,
  .ct-watch-yt__menu,
  .ct-reel-suggest-card__menu{
    z-index:2!important;
  }
  .ct-card-menu__panel,
  .ct-suggest-card__menu-panel,
  .ct-watch-yt__menu-panel{
    z-index:80!important;
  }
  .ct-topbar,
  .ct-mobile-nav{
    z-index:110!important;
  }
}

.ct-avatar--letter{display:inline-flex;align-items:center;justify-content:center;background:var(--ct-avatar-bg,#9f1239)!important;color:#fff!important;font-weight:900;letter-spacing:-.04em;border-radius:50%;font-size:calc(var(--ct-avatar-size, 1) * .5rem);text-transform:uppercase;box-shadow:none!important}
.ct-user-pill__avatar .ct-avatar--letter{font-size:.9rem}

.ct-search[data-ct-search-form]{position:relative}
.ct-search-popup{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:90;background:#0f0f10;border:1px solid rgba(255,255,255,.08);border-radius:20px;box-shadow:0 22px 60px rgba(0,0,0,.46);padding:10px;max-height:min(72vh,680px);overflow:auto;display:grid;gap:10px}
.ct-search-popup[hidden]{display:none!important}
.ct-search-popup__loading,.ct-search-popup__empty{padding:18px 14px;color:#b0b4bc;font-size:.95rem}
.ct-search-popup__section{display:grid;gap:8px}
.ct-search-popup__section-head{padding:4px 6px 0;color:#9da3ae;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ct-search-popup__section-items{display:grid;gap:6px}
.ct-search-popup__item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:8px;border-radius:16px;color:#fff;text-decoration:none;background:transparent;transition:background .18s ease}
.ct-search-popup__item:hover,.ct-search-popup__item:focus-visible{background:rgba(255,255,255,.06)}
.ct-search-popup__preview{display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;background:#10131b;border-radius:14px}
.ct-search-popup__preview--video,.ct-search-popup__preview--image{width:70px;height:105px}
.ct-search-popup__preview--video video,.ct-search-popup__preview--image img{width:100%;height:100%;object-fit:cover;display:block}
.ct-search-popup__preview--avatar,.ct-search-popup__preview--letter{width:50px;height:50px;border-radius:50%}
.ct-search-popup__preview--avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.ct-search-popup__preview--letter{font-size:1.1rem;font-weight:900;color:#fff;background:var(--ct-avatar-bg,#9f1239)}
.ct-search-popup__copy{min-width:0;display:grid;gap:4px}
.ct-search-popup__copy strong{font-size:.95rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-search-popup__copy span{font-size:.82rem;color:#9ea3ac;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-search-popup__meta{font-size:.74rem;font-weight:800;letter-spacing:.04em;color:#fff;background:rgba(255,255,255,.08);padding:6px 10px;border-radius:999px;white-space:nowrap}
.ct-search-popup__footer{padding:6px 4px 2px}
.ct-search-popup__view-all{display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;background:rgba(255,255,255,.06);border-radius:14px;padding:11px 14px;font-weight:700}
.ct-mobile-search-tray .ct-search-popup{position:relative;top:8px;left:auto;right:auto;max-height:min(66vh,560px)}
@media (max-width:780px){
  .ct-search-popup{border-radius:18px;padding:8px;max-height:min(62vh,520px)}
  .ct-search-popup__preview--video,.ct-search-popup__preview--image{width:62px;height:93px}
  .ct-search-popup__item{padding:7px;gap:10px}
  .ct-search-popup__meta{font-size:.68rem;padding:5px 8px}
}
.ct-pwa-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#090b12}.ct-pwa-page__card{width:min(960px,100%);border-radius:32px;background:linear-gradient(180deg,#0b1020,#090b12);padding:28px;box-shadow:0 30px 60px rgba(0,0,0,.35);display:grid;gap:22px}.ct-pwa-page__brand{display:flex;align-items:center;gap:14px}.ct-pwa-page__brand strong{display:block;font-size:1.3rem}.ct-pwa-page__brand span{color:#9ba3b2}.ct-pwa-page__icon,.ct-pwa-modal__icon{display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:linear-gradient(135deg,#131a34,#0d1326);border:1px solid rgba(255,255,255,.08);font-weight:900;font-size:1rem;color:#fff;letter-spacing:-.03em;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 16px 30px rgba(0,0,0,.28)}.ct-pwa-page__hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-end}.ct-pwa-page__hero h1{margin:0 0 8px;font-size:clamp(2rem,5vw,3.2rem);line-height:1}.ct-pwa-page__hero p{margin:0;color:#9ba3b2;font-size:1rem}.ct-pwa-page__actions{display:flex;gap:12px;flex-wrap:wrap}.ct-pwa-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;border:1px solid rgba(255,255,255,.1);font-weight:800;text-decoration:none;cursor:pointer}.ct-pwa-btn--primary{background:linear-gradient(90deg,#c026d3,#fb7185,#fb923c);color:#fff;border:none;box-shadow:0 18px 30px rgba(251,146,60,.2)}.ct-pwa-btn--ghost{background:#111625;color:#fff}.ct-pwa-page__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ct-pwa-page__panel{border-radius:24px;background:#0d1120;border:1px solid rgba(255,255,255,.06);padding:20px}.ct-pwa-page__panel h2{margin:0 0 12px}.ct-pwa-page__panel ul{margin:0;padding-left:18px;color:#b9c0cf;display:grid;gap:10px}.ct-pwa-page__web-link{text-align:center}.ct-pwa-page__web-link a{color:#b9c0cf;text-decoration:none}
.ct-pwa-modals{position:fixed;inset:0;pointer-events:none;z-index:1400}.ct-pwa-modal{position:fixed;inset:0;display:grid;place-items:center;padding:20px;pointer-events:auto}.ct-pwa-modal__backdrop{position:absolute;inset:0;background:rgba(2,4,10,.72);backdrop-filter:blur(10px)}.ct-pwa-modal__card{position:relative;z-index:1;width:min(420px,100%);border-radius:28px;background:#0b1020;border:1px solid rgba(255,255,255,.08);padding:26px;box-shadow:0 30px 80px rgba(0,0,0,.55);display:grid;justify-items:center;gap:16px;text-align:center}.ct-pwa-modal__card h2{margin:0;font-size:1.8rem}.ct-pwa-modal__card p{margin:0;color:#a9b2c2;line-height:1.6}.ct-pwa-modal__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;width:100%}.ct-pwa-modal__actions .ct-pwa-btn{flex:1 1 180px}
@media (max-width:960px){.ct-pwa-page__hero{align-items:flex-start;flex-direction:column}.ct-pwa-page__grid{grid-template-columns:1fr}}
@media (max-width:640px){.ct-pwa-page{padding:14px}.ct-pwa-page__card{padding:20px;border-radius:24px}.ct-pwa-page__brand{justify-content:center;text-align:center;flex-direction:column}.ct-pwa-page__hero{text-align:center}.ct-pwa-page__actions{width:100%}.ct-pwa-page__actions .ct-pwa-btn{flex:1 1 100%}.ct-pwa-modal__card{padding:22px;border-radius:24px}}


/* Phase 120 — shorts full-bleed cleanup + PWA polish */
.ct-shorts-shell{
  min-height:100svh!important;
  background:#000!important;
}
.ct-shorts-shell .ct-shorts-page{
  min-height:100svh!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#000!important;
}
.ct-shorts-shell .ct-shorts-feed--phase15{
  width:100%!important;
  height:100svh!important;
  margin:0!important;
  padding:0!important;
  background:#000!important;
}
.ct-shorts-shell .ct-short-stage{
  min-height:100svh!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  place-items:stretch!important;
  background:#000!important;
}
.ct-shorts-shell .ct-short-stage__shell{
  width:100vw!important;
  max-width:none!important;
  height:100svh!important;
  margin:0!important;
}
.ct-shorts-shell .ct-short-stage__video-wrap{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.ct-shorts-shell .ct-short-stage__video-wrap::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:var(--ct-short-poster, radial-gradient(circle at top,#202431 0%,#0b0d12 68%,#050608 100%)) center center / cover no-repeat!important;
  transform:scale(1.08)!important;
  filter:blur(28px)!important;
  opacity:.92!important;
}
.ct-shorts-shell .ct-short-stage__video{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  background:transparent!important;
}
.ct-shorts-shell .ct-shorts-page__back,
.ct-shorts-shell .ct-short-stage__left,
.ct-shorts-shell .ct-short-stage__right{
  z-index:3!important;
}
.ct-shorts-shell .ct-short-stage__left{
  left:18px!important;
  right:96px!important;
  bottom:24px!important;
}
.ct-shorts-shell .ct-short-stage__right{
  right:16px!important;
  bottom:28px!important;
}
.ct-shorts-shell .ct-shorts-page > .ct-page-actions-row{
  display:none!important;
}
@media (max-width:820px){
  .ct-shorts-shell .ct-short-stage__video-wrap::before{
    transform:scale(1.12)!important;
    filter:blur(24px)!important;
  }
  .ct-shorts-shell .ct-short-stage__left{
    left:14px!important;
    right:86px!important;
    bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
  }
  .ct-shorts-shell .ct-short-stage__right{
    right:10px!important;
    bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;
  }
}

.ct-pwa-modal--forced .ct-pwa-modal__backdrop{background:rgba(2,4,10,.82);backdrop-filter:blur(14px)}
.ct-pwa-modal--forced .ct-pwa-modal__card{width:min(480px,100%);border-radius:34px;background:#060d2a;border:1px solid rgba(255,255,255,.08);padding:34px 28px;box-shadow:0 40px 90px rgba(0,0,0,.58)}
.ct-pwa-modal--forced .ct-pwa-modal__icon{width:96px;height:96px;border-radius:28px;font-size:1.6rem}
.ct-pwa-modal--forced .ct-pwa-modal__card h2{font-size:clamp(2rem,5vw,3.3rem);line-height:1.02;letter-spacing:-.04em}
.ct-pwa-modal--forced .ct-pwa-modal__card p{font-size:1rem;color:#b9c1d2;max-width:28rem}
.ct-pwa-modal--forced .ct-pwa-modal__actions{display:grid;gap:14px;width:100%}
.ct-pwa-modal--forced .ct-pwa-modal__actions .ct-pwa-btn{flex:none;width:100%;min-height:60px;font-size:1.08rem}
@media (max-width:640px){.ct-pwa-modal--forced .ct-pwa-modal__card{padding:28px 22px;border-radius:28px}.ct-pwa-modal--forced .ct-pwa-modal__icon{width:84px;height:84px;border-radius:24px;font-size:1.4rem}.ct-pwa-modal--forced .ct-pwa-modal__card h2{font-size:clamp(2rem,10vw,3rem)}}


.ct-short-stage__channel-meta{display:grid;gap:4px;min-width:0}
.ct-short-stage__channel-topline{display:flex;align-items:center;gap:8px;min-width:0}
.ct-short-stage__channel-meta strong{display:block;line-height:1.1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}
.ct-short-stage__follow{justify-self:auto;flex:0 0 auto;min-height:24px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(10,14,24,.68);color:#fff;font-size:.72rem;font-weight:700;line-height:24px;box-shadow:none;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.ct-short-stage__follow.is-active{background:#fff;color:#0b1020;border-color:#fff}
.ct-short-stage__follow:hover{transform:translateY(-1px)}
.ct-short-stage__follow:focus-visible{outline:2px solid rgba(255,255,255,.9);outline-offset:2px}
@media (max-width:820px){.ct-short-stage__follow{min-height:22px;padding:0 9px;font-size:.7rem;line-height:22px}}


/* Phase 127 — home shorts rail no-cut single-line layout */
@media (min-width: 781px) and (max-width: 1099px){
  .ct-home-reels-rail__track--shorts{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:16px!important;
    overflow:hidden!important;
    padding:0!important;
  }
  .ct-home-reels-rail__track--shorts > :nth-child(n+4){display:none!important;}
  .ct-reel-suggest-card--shorts,
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{width:100%!important;max-width:none!important;}
}

@media (min-width: 1100px) and (max-width: 1599px){
  .ct-home-reels-rail__track--shorts{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:18px!important;
    overflow:hidden!important;
    padding:0!important;
  }
  .ct-home-reels-rail__track--shorts > :nth-child(n+6){display:none!important;}
  .ct-reel-suggest-card--shorts,
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{width:100%!important;max-width:none!important;}
}

@media (min-width: 1600px){
  .ct-home-reels-rail__track--shorts{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:18px!important;
    overflow:hidden!important;
    padding:0!important;
  }
  .ct-home-reels-rail__track--shorts > :nth-child(n+7){display:none!important;}
  .ct-reel-suggest-card--shorts,
  .ct-reel-suggest-card--shorts .ct-reel-suggest-card__media{width:100%!important;max-width:none!important;}
}

@media (max-width:820px){.ct-short-stage__channel-topline{gap:7px}.ct-short-stage__follow{margin-left:auto}}

/* phase131 today's deals */
.ct-deal-off-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:10px;
  background:#ffe44d;
  color:#14110f;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 10px 18px rgba(0,0,0,.18);
}
.ct-card__badges .ct-deal-off-badge,
.ct-featured-video__media .ct-deal-off-badge,
.ct-suggest-card__thumb .ct-deal-off-badge,
.ct-photo-gallery-card__stage .ct-deal-off-badge,
.ct-watch-yt__player .ct-deal-off-badge,
.ct-processing-player .ct-deal-off-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:4;
}
.ct-card__badges .ct-deal-off-badge{position:static!important;order:-2}
.ct-card__badges{align-items:flex-start}
.ct-deal-off-badge--thumb{position:absolute;top:10px;left:10px;z-index:3}
.ct-deal-off-badge--player{position:absolute;top:14px;left:14px;z-index:8}
.ct-watch-yt__player,.ct-processing-player{position:relative}

.ct-todays-deals{
  grid-column:1/-1;
  display:block;
  width:100%;
}
.ct-todays-deals__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  padding:20px;
  border:0;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(130,91,220,.34) 0%, rgba(37,20,74,.78) 100%);
  box-shadow:0 22px 44px rgba(0,0,0,.24);
  overflow:hidden;
}
.ct-todays-deals__hero{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  min-height:100%;
  background:
    linear-gradient(135deg, rgba(237,96,195,.28) 0%, rgba(128,92,255,.24) 58%, rgba(17,13,42,.22) 100%),
    radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 50%),
    #2a1d51;
}
.ct-todays-deals__hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--ct-deals-hero);
  background-size:cover;
  background-position:center;
  opacity:.18;
  transform:scale(1.06);
  filter:blur(4px);
}
.ct-todays-deals__hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(23,11,49,.82) 0%, rgba(94,62,168,.46) 60%, rgba(94,62,168,.14) 100%);
}
.ct-todays-deals__hero-copy{
  position:relative;
  z-index:1;
  min-height:188px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
  padding:28px 30px;
}
.ct-todays-deals__hero h2{
  margin:0;
  font-size:clamp(2.15rem,4vw,3.9rem);
  line-height:.94;
  letter-spacing:-.045em;
  color:#ff8cd3;
}
.ct-todays-deals__hero p{
  margin:0;
  max-width:18ch;
  font-size:1rem;
  line-height:1.45;
  color:rgba(255,255,255,.96);
}
.ct-todays-deals__hero a{
  color:#ffe44d;
  font-weight:900;
}
.ct-todays-deals__cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.ct-todays-deal-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:auto;
  align-self:start;
  border-radius:22px;
  overflow:hidden;
  background:rgba(9,6,24,.86);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 28px rgba(0,0,0,.22);
}
.ct-todays-deal-card__media{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#120a2a;
}
.ct-todays-deal-card__media img,
.ct-todays-deal-card__video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#120a2a;
}
.ct-todays-deal-card__badge{
  position:absolute;
  top:12px;
  left:12px;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:10px;
  background:#ffe44d;
  color:#161112;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.01em;
  z-index:3;
  box-shadow:0 10px 18px rgba(0,0,0,.18);
}
.ct-todays-deal-card__body{
  display:grid;
  gap:8px;
  padding:14px 14px 15px;
}
.ct-todays-deal-card__topline{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.ct-todays-deal-card__tag{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border-radius:8px;
  background:#ffe44d;
  color:#17120c;
  font-size:.78rem;
  font-weight:900;
  line-height:1;
}
.ct-todays-deal-card__deal{
  color:#ffe44d;
  font-size:.82rem;
  font-weight:700;
}
.ct-todays-deal-card h3{
  margin:0;
  font-size:1.08rem;
  line-height:1.25;
  letter-spacing:-.02em;
}
.ct-todays-deal-card h3 a{color:#fff}
.ct-todays-deal-card p{
  margin:0;
  color:rgba(231,226,255,.72);
  font-size:.94rem;
}
.ct-todays-deal-card__price{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:8px;
}
.ct-todays-deal-card__price strong{
  color:#ffe44d;
  font-size:1.1rem;
  font-weight:900;
}
.ct-todays-deal-card__price span{
  color:rgba(255,255,255,.42);
  text-decoration:line-through;
  font-weight:600;
}
.ct-todays-deal-card__price small{
  color:#ffe44d;
  font-size:.8rem;
  font-weight:800;
}

@media (max-width: 1180px){
  .ct-todays-deals__hero-copy{
    min-height:166px;
    padding:24px 26px;
  }
}

@media (min-width: 781px) and (max-width: 1180px){
  .ct-todays-deals__cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 780px){
  .ct-todays-deals{
    width:auto!important;
    max-width:none!important;
    margin-left:-16px!important;
    margin-right:-16px!important;
  }
  .ct-todays-deals__layout{
    padding:0;
    gap:0;
    border-radius:0;
    border-left:0;
    border-right:0;
  }
  .ct-todays-deals__hero{
    border-radius:0;
  }
  .ct-todays-deals__hero-copy{
    min-height:176px;
    padding:28px 24px 24px;
    gap:14px;
  }
  .ct-todays-deals__hero h2{
    font-size:clamp(2.35rem,11vw,3.5rem);
  }
  .ct-todays-deals__hero p{
    max-width:none;
    font-size:1rem;
  }
  .ct-todays-deals__cards{
    grid-template-columns:1fr;
    gap:0;
  }
  .ct-todays-deal-card{
    border-radius:0;
    border-left:0;
    border-right:0;
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:none;
  }
  .ct-todays-deal-card__media{
    aspect-ratio:auto;
    max-height:400px;
  }
  .ct-todays-deal-card__body{
    padding:14px 16px 16px;
  }
}


.ct-todays-deals__layout,
.ct-todays-deal-card{
  border:none!important;
}
.ct-deals-countdown{
  display:inline-flex;
  flex-direction:column;
  gap:10px;
}
.ct-deals-countdown__label{
  color:#fff7be;
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.ct-deals-countdown__timer{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.ct-deals-countdown__part{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:48px;
  padding:0 14px;
  border-radius:14px;
  background:#ffe44d;
  color:#14110f;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.ct-deals-countdown__part strong{
  font-size:1.28rem;
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
}
.ct-deals-countdown__part small{
  font-size:.82rem;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  color:rgba(20,17,15,.86);
}
.ct-deals-countdown--hero .ct-deals-countdown__part{
  min-height:54px;
  padding:0 16px;
}
.ct-watch-deal-offer-bar{
  width:100%;
  margin:0;
  border:none;
  border-radius:0;
  background:#ffe44d;
  color:#111;
  display:grid;
  gap:10px;
  padding:14px 18px;
}
.ct-watch-deal-offer-bar__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.ct-watch-deal-offer-bar__pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(17,17,17,.08);
  color:#111;
  font-size:.95rem;
  font-weight:800;
}
.ct-watch-deal-offer-bar__pill strong{
  font-size:1rem;
  font-weight:900;
}
.ct-watch-deal-offer-bar__pill--action{
  appearance:none;
  border:none;
  cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease;
}
.ct-watch-deal-offer-bar__pill--action:hover,
.ct-watch-deal-offer-bar__pill--action:focus-visible{
  background:rgba(17,17,17,.14);
  box-shadow:0 0 0 2px rgba(17,17,17,.12) inset;
  transform:translateY(-1px);
}
.ct-watch-deal-offer-bar .ct-deals-countdown{
  gap:8px;
}
.ct-watch-deal-offer-bar .ct-deals-countdown__timer{
  gap:8px;
}
.ct-watch-deal-offer-bar .ct-deals-countdown__part{
  min-height:52px;
  padding:0 16px;
  background:rgba(17,17,17,.08);
  color:#111;
  box-shadow:none;
}
.ct-watch-deal-offer-bar .ct-deals-countdown__part small{
  color:rgba(17,17,17,.72);
}
.ct-watch-deal-offer-bar__end{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  color:#111;
  font-size:.92rem;
  font-weight:800;
}
@media (max-width: 780px){
  .ct-deals-countdown__timer{
    gap:8px;
  }
  .ct-deals-countdown__part{
    min-height:44px;
    padding:0 12px;
    border-radius:12px;
  }
  .ct-deals-countdown__part strong{
    font-size:1.1rem;
  }
  .ct-watch-deal-offer-bar{
    margin-inline:-14px;
    width:calc(100% + 28px);
    padding:12px 14px;
  }
  .ct-watch-deal-offer-bar__meta{
    gap:8px;
  }
  .ct-watch-deal-offer-bar__pill{
    min-height:36px;
    padding:0 12px;
    font-size:.88rem;
  }
  .ct-watch-deal-offer-bar .ct-deals-countdown__part{
    min-height:44px;
    padding:0 12px;
  }
  .ct-watch-deal-offer-bar__end{
    font-size:.84rem;
  }
}


.ct-todays-deal-card__badge{
  min-height:24px;
  border-radius:5px;
  font-size:13px;
  font-weight:600;
}

@media (max-width: 780px) {
  .ct-deals-countdown__part {
    min-height:34px;
    border-radius:0;
  }

  .ct-card--video .ct-card__media {
    border-radius:0 !important;
    margin-left:-0.6rem !important;
    margin-right:-0.9rem;
  }
}


.ct-watch-deal-offer-bar--cta{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 18px;
}
.ct-watch-deal-offer-bar__cta-copy{
  min-width:0;
  color:#111;
  font-size:.95rem;
  font-weight:900;
  line-height:1.2;
  text-align:center;
}
.ct-watch-deal-offer-bar__cta-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
.ct-watch-deal-offer-bar__cta-actions--left{
  justify-content:flex-start;
}
.ct-watch-deal-offer-bar__cta-actions--right{
  justify-content:flex-end;
}
.ct-watch-deal-offer-bar__video-total{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 10px;
  border-radius:4px;
  background:rgba(17,17,17,.08);
  color:#111;
  white-space:nowrap;
}
.ct-watch-deal-offer-bar__video-total strong{
  font-size:.86rem;
  font-weight:900;
  letter-spacing:-.02em;
}
.ct-watch-deal-offer-bar__video-total small{
  font-size:.76rem;
  font-weight:800;
  text-transform:uppercase;
}
.ct-watch-deal-offer-bar__pill--cta{
  min-height:32px;
  padding:0 12px;
  border-radius:4px;
  background:#111;
  color:#ffe44d;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:none;
  animation:ctDealCtaPulse 1.6s ease-in-out infinite, ctDealCtaShimmer 2.8s linear infinite;
}
.ct-watch-deal-offer-bar__pill--cta strong{color:inherit}
.ct-watch-deal-offer-bar__pill--cta:hover,
.ct-watch-deal-offer-bar__pill--cta:focus-visible{
  background:#000;
  color:#fff3a1;
  transform:translateY(-1px) scale(1.01);
}
@keyframes ctDealCtaPulse{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-1px) scale(1.035)}
}
@keyframes ctDealCtaShimmer{
  0%,100%{box-shadow:0 0 0 0 rgba(17,17,17,.08)}
  50%{box-shadow:0 0 0 3px rgba(17,17,17,.12)}
}
@media (max-width: 980px){
  .ct-watch-deal-offer-bar--cta{
    grid-template-columns:1fr;
    align-items:stretch;
    gap:8px;
  }
  .ct-watch-deal-offer-bar__cta-copy{
    text-align:left;
    order:3;
  }
  .ct-watch-deal-offer-bar__cta-actions--left{
    order:1;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .ct-watch-deal-offer-bar__cta-actions--right{
    order:2;
    justify-content:flex-start;
  }
}
@media (max-width: 780px){
  .ct-watch-deal-offer-bar--cta{
    padding:10px 14px;
  }
  .ct-watch-deal-offer-bar__cta-copy{
    font-size:.88rem;
  }
  .ct-watch-deal-offer-bar__cta-actions{
    gap:8px;
  }
  .ct-watch-deal-offer-bar__video-total{
    min-height:28px;
    padding:0 8px;
  }
  .ct-watch-deal-offer-bar__video-total strong{
    font-size:.8rem;
  }
  .ct-watch-deal-offer-bar__video-total small{
    font-size:.68rem;
  }
  .ct-watch-deal-offer-bar__pill--cta{
    min-height:30px;
    padding:0 10px;
    font-size:.78rem;
  }
}

.ct-user-badges{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  vertical-align:middle;
  margin-left:6px;
}
.ct-user-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:16px;
  padding:0 5px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
  line-height:1;
  letter-spacing:.02em;
  text-transform:uppercase;
  white-space:nowrap;
}
.ct-card__copy p .ct-user-badges,
.ct-suggest-card__copy p .ct-user-badges,
.ct-todays-deal-card__body p .ct-user-badges,
.ct-watch-yt__channel-copy strong .ct-user-badges,
.ct-channel__content h1 .ct-user-badges,
.ct-channel-strip__copy h2 .ct-user-badges,
.ct-short-stage__channel-topline strong .ct-user-badges{
  position:relative;
  top:-1px;
}
.ct-watch-yt__channel-copy strong,
.ct-channel__content h1,
.ct-channel-strip__copy h2,
.ct-short-stage__channel-topline strong{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
}
@media (max-width:780px){
  .ct-user-badges{
    gap:3px;
    margin-left:5px;
  }
  .ct-user-badge{
    min-height:15px;
    padding:0 4px;
    font-size:9px;
  }
}

/* Phase 144 — desktop reels left sidebar */
@media (min-width:1025px){
  .ct-shorts-shell{
    display:flex!important;
    align-items:stretch!important;
    background:#000!important;
  }
  .ct-shorts-shell>.ct-sidebar{
    display:block!important;
    flex:0 0 270px!important;
    width:270px!important;
    min-width:270px!important;
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    z-index:20!important;
  }
  .ct-shorts-shell .ct-shorts-page{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
  }
  .ct-shorts-shell .ct-shorts-feed--phase15,
  .ct-shorts-shell .ct-short-stage,
  .ct-shorts-shell .ct-short-stage__shell{
    width:100%!important;
  }
  .ct-shorts-shell .ct-short-stage__shell{
    max-width:none!important;
  }
}


/* Phase 145 — PWA wording, one-line CTA bar, watch/reels description behavior */
.ct-watch-deal-offer-bar--cta{
  display:block!important;
  padding:10px 16px!important;
}
.ct-watch-deal-offer-bar__cta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:nowrap;
  min-width:0;
}
.ct-watch-deal-offer-bar__cta-row > *{
  flex:0 0 auto;
}
.ct-watch-deal-offer-bar__cta-row .ct-watch-deal-offer-bar__video-total{
  flex:0 1 auto;
  justify-content:center;
  min-width:0;
}
.ct-watch-deal-offer-bar__cta-copy-inline{
  display:block;
  margin-top:6px;
  font-size:.82rem;
  font-weight:800;
  line-height:1.2;
  color:#111;
  text-align:center;
}
.ct-watch-deal-offer-bar__video-total{
  min-height:30px;
  padding:0 10px;
  overflow:hidden;
}
.ct-watch-deal-offer-bar__video-total small{
  white-space:nowrap;
}
@media (max-width:980px){
  .ct-watch-deal-offer-bar--cta{
    padding:10px 14px!important;
  }
  .ct-watch-deal-offer-bar__cta-row{
    gap:6px;
  }
}
@media (max-width:780px){
  .ct-watch-deal-offer-bar__cta-copy-inline{
    margin-top:5px;
    font-size:.74rem;
  }
  .ct-watch-deal-offer-bar__pill--cta{
    min-height:29px!important;
    padding:0 10px!important;
    font-size:.76rem!important;
  }
  .ct-watch-deal-offer-bar__video-total{
    min-height:28px!important;
    padding:0 8px!important;
  }
  .ct-watch-deal-offer-bar__video-total small{
    font-size:.64rem!important;
  }
  .ct-watch-deal-offer-bar__cta-copy-inline{
    font-size:.7rem!important;
  }
}

.ct-watch-yt__description{
  position:relative;
}
.ct-watch-yt__description-copy{
  position:relative;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  white-space:pre-line!important;
  padding-right:72px!important;
}
.ct-watch-yt__description:not(.is-expanded) .ct-watch-yt__description-copy::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:112px;
  height:1.6em;
  background:linear-gradient(90deg,rgba(11,17,26,0),var(--ct-watch-panel) 58%);
  pointer-events:none;
}
.ct-watch-yt__description-toggle{
  position:absolute;
  right:0;
  bottom:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 8px;
  border:none;
  border-radius:8px;
  background:transparent;
  color:#fff;
  font-size:.86rem;
  font-weight:800;
  cursor:pointer;
}
.ct-watch-yt__description.is-expanded .ct-watch-yt__description-copy{
  -webkit-line-clamp:unset!important;
  overflow:visible!important;
  padding-right:0!important;
}
.ct-watch-yt__description.is-expanded .ct-watch-yt__description-copy::after{
  display:none;
}
.ct-watch-yt__description.is-expanded .ct-watch-yt__description-toggle{
  position:static;
  margin-top:8px;
  padding:0;
}
@media (max-width:780px){
  .ct-watch-yt__description-toggle{
    min-height:24px;
    font-size:.8rem;
  }
}

.ct-short-stage__caption{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  margin-top:4px;
}
.ct-short-stage__caption-copy{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f5f7fa;
  font-size:.9rem;
  line-height:1.35;
}
.ct-short-stage__caption-toggle{
  flex:0 0 auto;
  border:none;
  background:transparent;
  color:#ffe44d;
  font-size:.86rem;
  font-weight:800;
  cursor:pointer;
  padding:0;
}
@media (max-width:820px){
  .ct-short-stage__caption-copy{
    font-size:.84rem;
  }
  .ct-short-stage__caption-toggle{
    font-size:.8rem;
  }
}

.ct-caption-modal[hidden]{
  display:none!important;
}
.ct-caption-modal{
  position:fixed;
  inset:0;
  z-index:12000;
}
.ct-caption-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,8,14,.72);
  backdrop-filter:blur(8px);
}
.ct-caption-modal__dialog{
  position:relative;
  z-index:1;
  width:min(560px,calc(100% - 28px));
  margin:min(12vh,88px) auto 0;
  border-radius:22px;
  background:#0b111a;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 90px rgba(0,0,0,.45);
  padding:18px 18px 20px;
}
.ct-caption-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.ct-caption-modal__head strong{
  color:#fff;
  font-size:1rem;
  font-weight:800;
}
.ct-caption-modal__close{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}
.ct-caption-modal__body{
  color:#eef3f8;
  font-size:.98rem;
  line-height:1.62;
  white-space:pre-line;
}
.ct-caption-modal-open{
  overflow:hidden;
}
@media (max-width:780px){
  .ct-caption-modal__dialog{
    width:calc(100% - 18px);
    margin:calc(100vh - min(360px,62vh)) auto 0;
    border-radius:22px 22px 0 0;
    padding:16px 16px 18px;
  }
  .ct-caption-modal__body{
    font-size:.92rem;
  }
}


/* Phase 146 — local-midnight deals, owner bar hide, home deal title clamp */
.ct-todays-deal-card__body h3,
.ct-todays-deal-card__body h3 a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  line-clamp:2;
}

/* Phase 147 — channel banner visibility + round profile + centered watch letter avatar */
.ct-channel__hero{
  padding:0!important;
  background:transparent!important;
  border:1px solid var(--ct-line-soft)!important;
  border-radius:28px!important;
  overflow:hidden!important;
}
.ct-channel__hero-banner{
  position:relative!important;
  min-height:320px!important;
  background:linear-gradient(135deg,#1a2440 0%,#0b1220 100%)!important;
  border:0!important;
  overflow:hidden!important;
}
.ct-channel__hero-banner-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.ct-channel__overlay{
  position:relative!important;
  z-index:1!important;
  min-height:320px!important;
  padding:28px!important;
  align-items:flex-end!important;
  background:linear-gradient(180deg,rgba(5,8,14,.08) 0%,rgba(5,8,14,.28) 38%,rgba(5,8,14,.84) 100%)!important;
}
.ct-channel__avatar,
.ct-channel__avatar .ct-avatar,
.ct-channel__avatar img{
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  min-height:96px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  object-fit:cover!important;
  display:block!important;
  flex:0 0 96px!important;
}
.ct-channel__avatar .ct-avatar--letter,
.ct-watch-yt__avatar .ct-avatar--letter{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  padding:0!important;
}
.ct-watch-yt__avatar{
  width:46px!important;
  height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  overflow:hidden!important;
  flex:0 0 46px!important;
}
.ct-watch-yt__avatar .ct-avatar,
.ct-watch-yt__avatar img{
  width:100%!important;
  height:100%!important;
  border-radius:999px!important;
  object-fit:cover!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media (max-width: 900px){
  .ct-channel__hero-banner,
  .ct-channel__overlay{
    min-height:260px!important;
  }
  .ct-channel__overlay{
    padding:22px!important;
  }
}


/* Phase 149 — channel header responsive fit */
.ct-channel__hero{
  min-height:0!important;
}
.ct-channel__hero-banner{
  display:flex!important;
  align-items:stretch!important;
  min-height:clamp(240px,28vw,320px)!important;
}
.ct-channel__overlay{
  width:100%!important;
  min-height:clamp(240px,28vw,320px)!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:20px!important;
  padding:28px 30px!important;
  box-sizing:border-box!important;
}
.ct-channel__avatar{
  align-self:end!important;
}
.ct-channel__content{
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
}
.ct-channel__content h1{
  margin:0 0 10px!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  line-height:1.02!important;
  font-size:clamp(2rem,3vw,3.5rem)!important;
}
.ct-channel__content > p{
  margin:0 0 8px!important;
}
.ct-channel__content .ct-watch__stats{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px 22px!important;
}
.ct-channel__overlay > .ct-pill{
  margin-left:0!important;
  justify-self:end!important;
  align-self:end!important;
  white-space:nowrap!important;
  max-width:100%!important;
  min-height:46px!important;
  padding:0 18px!important;
}

@media (max-width: 1100px){
  .ct-channel__overlay{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .ct-channel__overlay > .ct-pill{
    grid-column:1 / -1!important;
    justify-self:start!important;
    margin-top:4px!important;
  }
}

@media (max-width: 780px){
  .ct-channel{gap:16px!important}
  .ct-channel__hero{border-radius:22px!important}
  .ct-channel__hero-banner{min-height:240px!important}
  .ct-channel__overlay{
    min-height:240px!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    align-items:end!important;
    gap:14px!important;
    padding:16px!important;
  }
  .ct-channel__avatar,
  .ct-channel__avatar .ct-avatar,
  .ct-channel__avatar img{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    min-height:72px!important;
    flex-basis:72px!important;
  }
  .ct-channel__content{
    grid-column:2!important;
  }
  .ct-channel__content h1{
    font-size:clamp(1.4rem,7vw,2rem)!important;
    margin:0 0 6px!important;
    gap:8px!important;
  }
  .ct-channel__content > p{
    font-size:.95rem!important;
    word-break:break-word!important;
  }
  .ct-channel__content .ct-watch__stats{
    font-size:.95rem!important;
    gap:8px 16px!important;
  }
  .ct-channel__overlay > .ct-pill{
    grid-column:1 / -1!important;
    justify-self:start!important;
    align-self:start!important;
    min-height:38px!important;
    padding:0 14px!important;
    font-size:.9rem!important;
  }
}

@media (max-width: 560px){
  .ct-channel__hero-banner{min-height:220px!important}
  .ct-channel__overlay{
    min-height:220px!important;
    padding:14px!important;
    gap:12px!important;
  }
  .ct-channel__content h1{
    font-size:1.25rem!important;
  }
  .ct-channel__content .ct-watch__stats{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 12px!important;
    width:100%!important;
  }
  .ct-channel__content .ct-watch__stats span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}


/* Phase 153 — stop home horizontal shake + channel hero fit */
html,body{
  max-width:100%;
  overflow-x:clip;
}
body,
.ct-main,
.ct-home-page,
.ct-home-page--yt,
.ct-channel,
.ct-channel-layout{
  overflow-x:clip!important;
}
@media (max-width:780px){
  .ct-todays-deals{
    width:auto!important;
    max-width:none!important;
    margin-left:-16px!important;
    margin-right:-16px!important;
  }
  .ct-home-page,
  .ct-home-page--yt{
    max-width:100%!important;
  }
}
@media (max-width:560px){
  .ct-todays-deals{
    margin-left:-12px!important;
    margin-right:-12px!important;
  }
}

.ct-channel__hero{
  padding:0!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.ct-channel__hero-banner{
  position:relative!important;
  min-height:clamp(220px,28vw,300px)!important;
  display:block!important;
}
.ct-channel__hero-banner-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.ct-channel__overlay{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  min-height:clamp(220px,28vw,300px)!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:24px!important;
  box-sizing:border-box!important;
  background:linear-gradient(180deg,rgba(5,8,14,.08) 0%,rgba(5,8,14,.26) 38%,rgba(5,8,14,.84) 100%)!important;
}
.ct-channel__identity{
  width:100%!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:18px!important;
}
.ct-channel__avatar,
.ct-channel__avatar .ct-avatar,
.ct-channel__avatar img{
  width:84px!important;
  height:84px!important;
  min-width:84px!important;
  min-height:84px!important;
  border-radius:999px!important;
  object-fit:cover!important;
  overflow:hidden!important;
  flex:0 0 84px!important;
}
.ct-channel__content{
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
}
.ct-channel__content h1{
  margin:0 0 8px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  font-size:clamp(1.8rem,3vw,2.8rem)!important;
  line-height:1.05!important;
}
.ct-channel__content > p{
  margin:0 0 8px!important;
  word-break:break-word!important;
}
.ct-channel__content .ct-watch__stats{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 18px!important;
  font-size:clamp(.92rem,1.2vw,1rem)!important;
}
.ct-channel__hero-action{
  justify-self:end!important;
  align-self:end!important;
  display:flex!important;
  align-items:center!important;
}
.ct-channel__hero-action .ct-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 16px!important;
  white-space:nowrap!important;
  font-size:.98rem!important;
  border-radius:16px!important;
}

@media (max-width:1100px){
  .ct-channel__identity{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .ct-channel__hero-action{
    grid-column:1 / -1!important;
    justify-self:start!important;
    align-self:start!important;
  }
}

@media (max-width:780px){
  .ct-channel__hero{
    border-radius:22px!important;
  }
  .ct-channel__hero-banner,
  .ct-channel__overlay{
    min-height:200px!important;
  }
  .ct-channel__overlay{
    padding:14px!important;
    align-items:flex-end!important;
  }
  .ct-channel__identity{
    grid-template-columns:60px minmax(0,1fr)!important;
    gap:12px!important;
  }
  .ct-channel__avatar,
  .ct-channel__avatar .ct-avatar,
  .ct-channel__avatar img{
    width:60px!important;
    height:60px!important;
    min-width:60px!important;
    min-height:60px!important;
    flex-basis:60px!important;
  }
  .ct-channel__content h1{
    font-size:1.18rem!important;
    gap:6px!important;
    margin:0 0 5px!important;
  }
  .ct-channel__content > p{
    margin:0 0 6px!important;
    font-size:.92rem!important;
  }
  .ct-channel__content .ct-watch__stats{
    gap:5px 12px!important;
    font-size:.9rem!important;
  }
  .ct-channel__hero-action{
    grid-column:1 / -1!important;
    width:100%!important;
    margin-top:2px!important;
  }
  .ct-channel__hero-action .ct-pill{
    min-height:36px!important;
    padding:0 12px!important;
    font-size:.88rem!important;
    border-radius:12px!important;
  }
}

@media (max-width:560px){
  .ct-channel__hero,
  .ct-channel__hero-banner{
    border-radius:20px!important;
  }
  .ct-channel__hero-banner,
  .ct-channel__overlay{
    min-height:184px!important;
  }
  .ct-channel__overlay{
    padding:12px!important;
  }
  .ct-channel__identity{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .ct-channel__avatar,
  .ct-channel__avatar .ct-avatar,
  .ct-channel__avatar img{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    min-height:52px!important;
    flex-basis:52px!important;
  }
  .ct-channel__content h1{
    font-size:1.06rem!important;
  }
  .ct-channel__content > p{
    font-size:.86rem!important;
  }
  .ct-channel__content .ct-watch__stats{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px 10px!important;
    width:100%!important;
    font-size:.84rem!important;
  }
  .ct-channel__content .ct-watch__stats span{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ct-channel__hero-action .ct-pill{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    font-size:.82rem!important;
    padding:0 10px!important;
  }
}

.ct-media-cart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 22, 0.82);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.ct-media-cart-btn.is-active,
.ct-media-cart-btn:hover {
    background: #facc15;
    color: #111;
}

.ct-card--video,
.ct-suggest-card,
.ct-todays-deal-card {
    position: relative;
}

.ct-pill--cart,
.ct-watch-deal-offer-bar__pill--cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ct-topbar__cart {
    position: relative;
}

.ct-cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.ct-cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 72vh;
    overflow: auto;
}

.ct-cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(8, 12, 22, 0.9);
}

.ct-cart-item__number {
    width: 28px;
    flex: 0 0 28px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #f8fafc;
    text-align: center;
}

.ct-cart-item__check {
    flex: 0 0 auto;
}

.ct-cart-item__check input {
    width: 18px;
    height: 18px;
}

.ct-cart-item__preview {
    width: 124px;
    flex: 0 0 124px;
    border-radius: 14px;
    overflow: hidden;
    background: #030712;
    aspect-ratio: 16 / 9;
}

.ct-cart-item__preview img,
.ct-cart-item__preview video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ct-cart-item__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 auto;
}

.ct-cart-item__creator {
    font-size: 0.84rem;
    color: #cbd5e1;
}

.ct-cart-item__copy h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ct-cart-item__price {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.ct-cart-item__price strong {
    color: #facc15;
}

.ct-cart-item__price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.92rem;
}

.ct-cart-item__actions {
    flex: 0 0 auto;
}

.ct-cart-item__remove,
.ct-cart-summary__clear {
    border: 0;
    background: transparent;
    color: #f87171;
    font-weight: 700;
}

.ct-cart-item__deal-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.ct-todays-deal-card__badge--mini {
    min-height: 20px;
    padding: 0 0.5rem;
    font-size: 11px;
}

.ct-cart-item__tiny-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: #facc15;
}

.ct-cart-item__tiny-time strong {
    font-weight: 800;
}

.ct-cart-summary {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ct-cart-summary__head,
.ct-cart-summary__totals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ct-cart-summary__totals--total strong {
    color: #facc15;
    font-size: 1.15rem;
}

.ct-cart-summary__copy {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ct-cart-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ct-cart-summary__checkout,
.ct-cart-summary__delete-selected {
    width: 100%;
    justify-content: center;
}

.ct-cart-checkout-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.ct-cart-checkout-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
}

.ct-cart-checkout-line small {
    color: #94a3b8;
}

.ct-cart-checkout-line span {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: #facc15;
    font-weight: 800;
}

@media (max-width: 980px) {
    .ct-cart-page__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-cart-summary {
        position: static;
    }
}

@media (max-width: 780px) {
    .ct-cart-item {
        display: grid;
        grid-template-columns: 24px 22px minmax(0, 104px) minmax(0, 1fr);
        align-items: start;
    }

    .ct-cart-item__actions {
        grid-column: 4;
        justify-self: end;
    }

    .ct-cart-item__preview {
        width: 104px;
        flex-basis: 104px;
    }

    .ct-watch-deal-offer-bar__cta-row {
        flex-wrap: wrap;
    }
}
.ct-media-cart-btn{cursor:pointer;}


/* Phase 155 — cart interaction, remove photo upload surfaces, tighter mobile media edges */
.ct-media-cart-btn{
  cursor:pointer;
  border:0;
  outline:none;
  transition:background .2s ease,color .2s ease,transform .18s ease,box-shadow .2s ease;
}
.ct-media-cart-btn:focus-visible{
  box-shadow:0 0 0 2px rgba(250,204,21,.7);
}
.ct-media-cart-btn.is-active{
  background:#22c55e!important;
  color:#06120a!important;
}
.ct-pill--cart.is-active,
.ct-watch-deal-offer-bar__pill--cart.is-active{
  background:#16a34a!important;
  border-color:#15803d!important;
  color:#fff!important;
}
.ct-pill--cart.is-active span:last-child,
.ct-watch-deal-offer-bar__pill--cart.is-active span:last-child{
  color:inherit!important;
}
.ct-suggest-card .ct-media-cart-btn--suggested{
  top:10px;
  right:56px;
  z-index:9;
}
@media (max-width:780px){
  .ct-card--video .ct-card__media{
    width:calc(100% + 1rem)!important;
    max-width:none!important;
    margin-left:-0.5rem!important;
    margin-right:-0.5rem!important;
    border-radius:0!important;
  }
  .ct-card--video{
    overflow-x:clip;
  }
  .ct-suggested-list--mobile .ct-suggest-card{
    overflow-x:clip;
  }
  .ct-suggested-list--mobile .ct-suggest-card__thumb{
    width:calc(100% + 1rem)!important;
    max-width:none!important;
    margin-left:-0.5rem!important;
    margin-right:-0.5rem!important;
    border-radius:0!important;
  }
  .ct-suggested-list--mobile .ct-media-cart-btn--suggested{
    top:10px;
    right:62px;
  }
}

/* Phase 157 — nav, watch bar, search page, upload responsiveness, channel hero fit */
@media (max-width: 1280px) {
  .ct-nav--yt .ct-nav__item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
  }
  .ct-nav--yt .ct-nav__item strong {
    display: block !important;
    font-size: .9rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 780px) {
  .ct-nav--mobile .ct-nav__item strong {
    font-weight: 600 !important;
  }
}

.ct-watch-deal-offer-bar {
  gap: 8px !important;
  padding: 10px 16px !important;
}

.ct-watch-deal-offer-bar__meta,
.ct-watch-deal-offer-bar__cta-row {
  gap: 8px !important;
  align-items: center !important;
}

.ct-watch-deal-offer-bar__pill {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: .9rem !important;
}

.ct-watch-deal-offer-bar .ct-deals-countdown__part {
  min-height: 42px !important;
  padding: 0 14px !important;
}

.ct-watch-deal-offer-bar__end,
.ct-watch-deal-offer-bar__cta-copy-inline {
  font-size: .9rem !important;
  line-height: 1.2 !important;
}

@media (max-width: 780px) {
  .ct-watch-deal-offer-bar {
    padding: 8px 14px !important;
  }
  .ct-watch-deal-offer-bar__pill {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: .84rem !important;
  }
  .ct-watch-deal-offer-bar .ct-deals-countdown__part {
    min-height: 34px !important;
    padding: 0 12px !important;
  }
}

.ct-cart-item__remove {
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}

.ct-cart-item__remove svg {
  width: 18px;
  height: 18px;
}

.search .ct-home-page--yt {
  display: grid;
  gap: 22px;
  max-width: 100%;
}

.search .ct-search-summary {
  padding: 4px 2px 0;
}

.search .ct-grid--home-yt {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px 16px !important;
}

.search .ct-channel-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .search .ct-grid--home-yt {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .search .ct-channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .search .ct-grid--home-yt,
  .search .ct-channel-strip {
    grid-template-columns: 1fr !important;
  }
}

.ct-watch-yt__aside .ct-suggested-list--desktop > :nth-child(n+13),
.ct-watch-yt__suggested-mobile .ct-suggested-list--mobile > :nth-child(n+13) {
  display: none !important;
}

.ct-suggest-card .ct-suggest-card__thumb {
  position: relative;
  overflow: hidden;
}

.ct-suggest-card .ct-media-cart-btn--suggested {
  top: 12px !important;
  right: 12px !important;
  z-index: 14 !important;
}

.ct-upload-page--phase103 {
  overflow-x: hidden;
}

.ct-upload-page--phase103 .ct-upload-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr) !important;
  align-items: start !important;
}

.ct-upload-page--phase103 .ct-panel,
.ct-upload-page--phase103 .ct-upload-preview-card,
.ct-upload-page--phase103 .ct-upload-trim-card,
.ct-upload-page--phase103 .ct-upload-progress,
.ct-upload-page--phase103 .ct-upload-category-float__panel {
  min-width: 0 !important;
}

.ct-upload-page--phase103 video,
.ct-upload-page--phase103 img,
.ct-upload-page--phase103 .ct-upload-preview-card__video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.ct-upload-page--phase103 .ct-upload-preview-card__head,
.ct-upload-page--phase103 .ct-upload-progress__meta {
  display: grid !important;
  gap: 6px !important;
}

@media (max-width: 1180px) {
  .ct-upload-page--phase103 .ct-upload-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 780px) {
  .ct-upload-page--phase103 .ct-upload-kind-switch--phase46 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ct-upload-page--phase103 .ct-upload-kind-switch--phase46 .ct-upload-kind-switch__button {
    min-height: 40px !important;
  }
  .ct-upload-page--phase103 .ct-upload-preview-card__head,
  .ct-upload-page--phase103 .ct-upload-progress__meta {
    font-size: .92rem !important;
  }
}

.ct-channel {
  gap: 18px !important;
}

.ct-channel__hero,
.ct-channel .ct-panel,
.ct-channel .ct-featured-video {
  border: none !important;
  box-shadow: none !important;
}

.ct-channel__hero {
  background: transparent !important;
  padding: 0 !important;
}

.ct-channel__hero-banner {
  min-height: 170px !important;
  aspect-ratio: 3.5 / 1 !important;
  border-radius: 28px 28px 0 0 !important;
}

.ct-channel__overlay {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.84)) !important;
}

.ct-channel__identity {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 24px !important;
  margin-top: -74px !important;
  padding: 0 28px 24px !important;
}

.ct-channel__avatar,
.ct-channel__avatar .ct-avatar,
.ct-channel__avatar img {
  width: 144px !important;
  height: 144px !important;
  border-radius: 999px !important;
}

.ct-channel__content {
  min-width: 0 !important;
  padding-top: 18px !important;
  max-width: 100% !important;
}

.ct-channel__content h1 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  font-size: clamp(2rem, 4vw, 3.1rem) !important;
  line-height: 1.04 !important;
}

.ct-channel__content > p {
  margin: 0 0 10px !important;
  font-size: 1.02rem !important;
}

.ct-channel__content .ct-watch__stats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 22px !important;
  margin-top: 6px !important;
  font-size: .98rem !important;
}

.ct-channel__hero-action {
  align-self: center !important;
  justify-self: end !important;
  padding-top: 26px !important;
}

.ct-channel__hero-action .ct-pill,
.ct-pill--channel-manage {
  min-height: 50px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

.ct-pill--channel-manage .ct-pill__label--short {
  display: none;
}

.ct-channel .ct-featured-video,
.ct-channel-layout__aside > .ct-panel {
  background: transparent !important;
  padding: 0 !important;
}

.ct-channel .ct-featured-video__grid,
.ct-channel-layout__aside > .ct-panel > .ct-plan-list,
.ct-channel-layout__aside > .ct-panel > .ct-paypal-area,
.ct-channel-layout__aside > .ct-panel > .ct-empty-state,
.ct-channel-layout__aside > .ct-panel > .ct-pill {
  background: transparent !important;
}

@media (max-width: 1180px) {
  .ct-channel__hero-banner {
    min-height: 150px !important;
    aspect-ratio: 3.1 / 1 !important;
  }
  .ct-channel__identity {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 18px !important;
    margin-top: -60px !important;
    padding: 0 20px 20px !important;
  }
  .ct-channel__avatar,
  .ct-channel__avatar .ct-avatar,
  .ct-channel__avatar img {
    width: 112px !important;
    height: 112px !important;
  }
  .ct-channel__content h1 {
    font-size: clamp(1.85rem, 4vw, 2.5rem) !important;
  }
  .ct-channel__hero-action .ct-pill,
  .ct-pill--channel-manage {
    min-height: 44px !important;
    padding: 0 14px !important;
  }
}

@media (max-width: 820px) {
  .ct-channel {
    gap: 14px !important;
  }
  .ct-channel__hero,
  .ct-channel__hero-banner {
    border-radius: 22px !important;
  }
  .ct-channel__hero-banner {
    min-height: 120px !important;
    aspect-ratio: 3.1 / 1 !important;
  }
  .ct-channel__identity {
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: -36px !important;
    padding: 0 14px 14px !important;
  }
  .ct-channel__avatar,
  .ct-channel__avatar .ct-avatar,
  .ct-channel__avatar img {
    width: 72px !important;
    height: 72px !important;
  }
  .ct-channel__content {
    padding-top: 4px !important;
  }
  .ct-channel__content h1 {
    margin-bottom: 6px !important;
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
  }
  .ct-channel__content > p {
    font-size: .96rem !important;
  }
  .ct-channel__content .ct-watch__stats {
    gap: 4px 12px !important;
    font-size: .88rem !important;
  }
  .ct-channel__hero-action {
    padding-top: 0 !important;
    align-self: start !important;
  }
  .ct-channel__hero-action .ct-pill,
  .ct-pill--channel-manage {
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: .85rem !important;
  }
  .ct-pill--channel-manage .ct-pill__label--full {
    display: none;
  }
  .ct-pill--channel-manage .ct-pill__label--short {
    display: inline !important;
  }
}
