:root {
  --tp-bg: #f5f6f8;
  --tp-surface: #ffffff;
  --tp-elevated: #f9fafb;
  --tp-line: #e5e7eb;
  --tp-text: #111827;
  --tp-muted: #6b7280;
  --tp-muted-2: #9ca3af;
  --tp-accent: var(--themepro-accent, #1a6bc8);
  --tp-accent-hover: var(--themepro-accent-hover, #15579f);
  --tp-soft-shadow: 0 14px 38px rgba(15, 23, 42, .07);
  --tp-drawer-shadow: 24px 0 60px rgba(15, 23, 42, .18);
}

* { scrollbar-width: thin; scrollbar-color: #c7cbd1 transparent; }
html { overflow-x: hidden; }
body.themepro-v2 {
  margin: 0;
  min-width: 0;
  background: var(--tp-bg) !important;
  color: var(--tp-text);
  font-family: var(--tp-font-family, Montserrat, ui-sans-serif, system-ui, sans-serif) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.themepro-v2 *, body.themepro-v2 *::before, body.themepro-v2 *::after { box-sizing: border-box; }
body.themepro-v2 a { color: inherit; text-decoration: none; }
body.themepro-v2 button,
body.themepro-v2 input,
body.themepro-v2 select,
body.themepro-v2 textarea {
  font-family: inherit !important;
  font-size: inherit;
}
body.themepro-v2 button { cursor: pointer; }
body.themepro-v2 img { max-width: 100%; }

/* Friends top bar */
.tp-friends-topbar { border-bottom: 1px solid var(--tp-line); background: #f9fafb; }
.tp-friends-inner { display: flex; min-height: 38px; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; }
.tp-friends-group { display: flex; min-width: 0; align-items: center; gap: 12px; }
.tp-friends-label { flex: 0 0 auto; color: var(--tp-accent); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .10em; }
.tp-friends-scroll { display: flex; min-width: 0; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.tp-friends-scroll::-webkit-scrollbar { display: none; }
.tp-friends-scroll a { border-radius: 999px; padding: 5px 10px; color: #6b7280; font-size: 11px; font-weight: 500; transition: background-color .18s ease, color .18s ease; }
.tp-friends-scroll a:hover { background: #fff; color: #111827; }

/* Header */
.tp-header { position: relative; z-index: 60; border-bottom: 1px solid var(--tp-line); background: var(--tp-surface); }
.tp-header-inner { display: flex; width: 100%; height: 74px; align-items: center; justify-content: space-between; padding: 0 16px; }
.tp-header-left { display: flex; min-width: 0; align-items: center; gap: 16px; }
.tp-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.tp-icon-btn,
.tp-grid-toggle,
.tp-sort-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tp-line); background: #fff; color: #6b7280; transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.tp-icon-btn { width: 40px; height: 40px; border-radius: 8px; }
.tp-icon-btn:hover,
.tp-grid-toggle:hover,
.tp-sort-button:hover { border-color: #bfdbfe; background: #f9fafb; color: var(--tp-accent); }
.tp-mobile-menu-btn { display: inline-flex; }

.tp-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.tp-brand-icon { display: inline-flex; width: 36px; height: 44px; align-items: center; justify-content: center; color: var(--tp-accent); font-size: 27px; }
.tp-brand-name { display: inline-flex; align-items: baseline; color: #111827; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.tp-brand-name-primary,
.tp-brand-name-accent { display: inline; }
.tp-brand-name-accent { color: var(--tp-accent); }
.tp-logo { display: block; width: auto; max-width: 230px; height: 44px; object-fit: contain; }
.tp-logo-dark { display: none; }
.dark .tp-logo-light { display: none; }
.dark .tp-logo-dark { display: block; }
.dark .tp-logo-dark:only-child { display: block; }

.tp-main-nav { display: none; align-items: center; gap: 4px; }
.tp-main-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tp-main-menu li { margin: 0; padding: 0; }
.tp-main-menu a,
.tp-bookmarks-nav { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 9px 16px; color: #6b7280; font-size: 13px; font-weight: 500; line-height: 1; transition: background-color .18s ease, color .18s ease; }
.tp-main-menu a:hover,
.tp-bookmarks-nav:hover { background: #f9fafb; color: #111827; }
.tp-main-menu .current-menu-item > a,
.tp-main-menu .current_page_item > a,
.tp-bookmarks-nav.is-active { background: #f3f4f6; color: #111827; font-weight: 600; }
.tp-bookmarks-nav i { font-size: 12px; }
.tp-bookmarks-count { display: inline-flex !important; flex: 0 0 auto; min-width: 20px; height: 20px; align-items: center; justify-content: center; margin-left: 1px; border-radius: 999px; background: var(--tp-accent) !important; padding: 0 6px; color: #fff !important; font-size: 10px; font-weight: 700; line-height: 20px; box-shadow: 0 2px 6px rgba(15,23,42,.12); }
.tp-bookmarks-count[hidden] { display: none !important; }

.tp-mobile-search-wrap,
.tp-notifications-wrap { position: relative; }
.tp-desktop-search { position: relative; display: none; min-width: 270px; height: 40px; align-items: center; border: 1px solid var(--tp-line); border-radius: 8px; background: #f9fafb; color: #9ca3af; }
.tp-desktop-search-icon { position: absolute; left: 14px; top: 50%; display: flex; transform: translateY(-50%); pointer-events: none; }
.tp-desktop-search input { width: 100%; height: 100%; border: 0 !important; outline: 0 !important; background: transparent !important; padding: 0 58px 0 39px !important; color: #374151 !important; font-size: 12px !important; box-shadow: none !important; }
.tp-desktop-search input::placeholder { color: #9ca3af; }
.tp-desktop-search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 1px solid var(--tp-line); border-radius: 4px; background: #fff; padding: 4px 8px; color: #9ca3af; font-size: 10px; line-height: 1; }

.tp-dropdown { position: absolute; right: 0; top: 48px; z-index: 100; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; box-shadow: var(--tp-soft-shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity .2s ease, visibility .2s ease, transform .25s ease; }
.tp-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.tp-search-dropdown { width: 300px; max-width: calc(100vw - 24px); }
.tp-dropdown-head { border-bottom: 1px solid var(--tp-line); padding: 12px 16px; }
.tp-dropdown-head strong { display: block; color: #111827; font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.tp-dropdown-head span { display: block; margin-top: 2px; color: #9ca3af; font-size: 11px; }
.tp-search-dropdown-form { padding: 12px; }
.tp-search-field { position: relative; }
.tp-search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.tp-search-field input { width: 100%; height: 40px; border: 1px solid var(--tp-line) !important; border-radius: 999px !important; outline: 0; background: #f9fafb !important; padding: 0 16px 0 40px !important; color: #374151 !important; font-size: 12px !important; box-shadow: none !important; }
.tp-search-field input:focus { border-color: #93c5fd !important; background: #fff !important; }

.tp-notification-dot { position: absolute; right: 8px; top: 7px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #ef4444; }
.tp-notification-dropdown { width: 360px; max-width: calc(100vw - 24px); }
.tp-notification-list { max-height: min(480px, calc(100vh - 190px)); overflow-y: auto; }
.tp-notification-list .tp-notification-item + .tp-notification-item { border-top: 1px solid var(--tp-line); }
.tp-notification-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--tp-line); padding: 14px 16px; }
.tp-notification-head strong { display: block; color: #111827; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.tp-notification-head span { display: block; margin-top: 2px; color: #9ca3af; font-size: 11px; font-weight: 500; }
.tp-notification-item { display: flex; gap: 12px; padding: 16px; transition: background-color .18s ease; }
.tp-notification-item:hover { background: #f9fafb; }
.tp-notification-icon { display: inline-flex; width: 36px; height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; background: #eff6ff; color: var(--tp-accent); font-size: 14px; }
.tp-notification-item strong { display: block; color: #111827; font-size: 12px; font-weight: 600; }
.tp-notification-item em { display: block; margin-top: 5px; color: #6b7280; font-size: 11px; font-style: normal; line-height: 1.8; }
.tp-notification-view { display: block; border-top: 1px solid var(--tp-line); padding: 12px 16px; color: #4b5563; font-size: 11px; font-weight: 600; text-align: center; }
.tp-notification-view:hover { background: #f9fafb; }

/* Category strip */
.tp-category-bar { border-bottom: 1px solid #dce8f7; background: #f3f7fd; }
.tp-category-inner { width: 100%; max-width: 1880px; margin: 0 auto; padding: 0 16px; }
.tp-category-scroll { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 10px 0; white-space: nowrap; scrollbar-width: none; }
.tp-category-scroll::-webkit-scrollbar { display: none; }
.tp-category-pill { flex: 0 0 auto; border: 1px solid #dfe7f2; border-radius: 999px; background: #fff; padding: 7px 14px; color: #4b5563; font-size: 12px; font-weight: 500; letter-spacing: -.008em; box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.tp-category-pill:hover { border-color: #bfdbfe; color: var(--tp-accent); }
.tp-category-pill.is-active { border-color: #bfdbfe; background: #eaf2fc; color: var(--tp-accent); font-weight: 600; }

/* Mobile sidebar */
.tp-mobile-sidebar-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(2,6,23,.35); backdrop-filter: blur(1px); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.tp-mobile-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 130; width: 88vw; max-width: 350px; overflow-y: auto; background: #fff; box-shadow: var(--tp-drawer-shadow); transform: translateX(-100%); transition: transform .25s ease; }
body.sidebar-open { overflow: hidden; }
body.sidebar-open .tp-mobile-sidebar-overlay { opacity: 1; visibility: visible; }
body.sidebar-open .tp-mobile-sidebar { transform: translateX(0); }
.tp-mobile-sidebar-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--tp-line); background: #fff; padding: 16px; }
.tp-mobile-sidebar-head h2,
.tp-sidebar-head h2 { margin: 0; color: #111827; font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -.008em; }
.tp-mobile-sidebar-head p,
.tp-sidebar-head p { margin: 2px 0 0; color: #9ca3af; font-size: 11px; font-weight: 500; line-height: 1.2; }
.tp-mobile-sidebar-body { padding: 16px; }
.tp-mobile-bookmarks-link { display: flex; width: 100%; align-items: center; gap: 10px; margin: 0 0 18px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; padding: 10px 12px; color: #4b5563; font-size: 12px; font-weight: 600; line-height: 1; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.tp-mobile-bookmarks-link:hover,
.tp-mobile-bookmarks-link.is-active { border-color: #bfdbfe; background: #f9fafb; color: var(--tp-accent); }
.tp-mobile-bookmarks-icon { display: inline-flex; width: 24px; height: 24px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 7px; background: #f3f4f6; color: var(--tp-accent); }
.tp-mobile-bookmarks-icon i { font-size: 11px; }
.tp-mobile-bookmarks-label { min-width: 0; flex: 1 1 auto; }
.tp-mobile-bookmarks-count { margin-left: auto !important; }

/* Desktop layout/sidebar */
.tp-main-shell { width: 100%; padding: 24px 0 0; }
.desktop-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; transition: grid-template-columns .28s ease, gap .28s ease; }
.desktop-sidebar-shell { position: relative; display: none; min-width: 0; overflow: visible; transition: width .28s ease, opacity .2s ease; }
.desktop-sidebar-panel { position: sticky; top: 20px; border-top: 1px solid var(--tp-line); border-right: 1px solid var(--tp-line); border-bottom: 1px solid var(--tp-line); background: #fff; transition: transform .28s ease, opacity .2s ease; will-change: transform; }
.desktop-sidebar-toggle { position: absolute; right: -13px; top: 28px; z-index: 30; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid var(--tp-line); border-radius: 50%; background: #fff; color: #9ca3af; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.desktop-sidebar-toggle i { font-size: 10px; }
.desktop-sidebar-toggle:hover { border-color: #bfdbfe; background: #f9fafb; color: var(--tp-accent); }
.tp-sidebar-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--tp-line); padding: 16px 20px; }
.tp-sidebar-clear { border: 1px solid #dbeafe; border-radius: 999px; background: #eff6ff; padding: 7px 12px; color: var(--tp-accent); font-size: 10px; font-weight: 600; letter-spacing: .04em; transition: border-color .18s ease, background-color .18s ease; }
.tp-sidebar-clear:hover { border-color: #bfdbfe; background: #fff; }
.tp-sidebar-body { padding: 20px; }
.tp-sidebar-widgets { border-top: 1px solid var(--tp-line); }
.themepro-main { min-width: 0; overflow: hidden; padding: 0 16px; }

html.tp-sidebar-collapsed .desktop-layout { grid-template-columns: 18px minmax(0,1fr) !important; gap: 0 !important; }
html.tp-sidebar-collapsed .desktop-sidebar-shell { width: 18px; opacity: 1; overflow: visible; }
html.tp-sidebar-collapsed .desktop-sidebar-panel { transform: translateX(calc(-100% - 18px)); opacity: 0; pointer-events: none; }
html.tp-sidebar-collapsed .desktop-sidebar-toggle { transform: rotate(180deg); }

/* Filters */
.tp-filter-groups { display: flex; flex-direction: column; gap: 24px; }
.tp-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.tp-filter-group legend { margin: 0 0 12px; padding: 0; color: #6b7280; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .045em; }
.tp-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-filter-chip { display: inline-flex; cursor: pointer; }
.tp-filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tp-filter-chip span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--tp-line); border-radius: 999px; background: #f9fafb; padding: 8px 12px; color: #4b5563; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: -.005em; transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.tp-filter-chip:hover span { transform: translateY(-1px); }
.tp-filter-chip input:checked + span { border-color: var(--tp-accent); background: var(--tp-accent); color: #fff; }
.tp-filter-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.tp-filter-extra { display: none; }
.tp-filter-group.is-expanded .tp-filter-extra { display: inline-flex; }
.tp-more-categories { display: inline-flex !important; min-height: 0 !important; align-items: center; gap: 4px; margin-top: 10px; border: 1px solid var(--tp-line) !important; border-radius: 999px !important; background: #fff !important; padding: 5px 9px !important; color: #4b5563 !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1 !important; letter-spacing: .01em; box-shadow: none !important; }
.tp-more-categories:hover { border-color: #bfdbfe !important; color: var(--tp-accent) !important; }
.tp-more-categories i { margin: 0 !important; font-size: 8px !important; transition: transform .2s ease; }
.tp-filter-group.is-expanded .tp-more-categories i { transform: rotate(180deg); }

/* Listing heading */
.tp-listing-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.tp-kicker { margin-bottom: 4px; color: var(--tp-accent); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.tp-listing-head h1 { margin: 0; color: #1f2937; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.018em; }
.tp-listing-actions { display: flex; align-items: center; gap: 8px; }
.tp-live-counter { display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid #fee2e2; border-radius: 999px; background: #fef2f2; padding: 4px 10px; color: #ef4444; font-size: 10px; font-weight: 400; letter-spacing: .01em; }
.tp-live-counter > .tp-live-counter-dot { flex: 0 0 6px; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #ef4444; }
.tp-live-counter-label-full,
.tp-live-counter-label-mobile { width: auto !important; height: auto !important; margin: 0 !important; border-radius: 0 !important; background: transparent !important; }
.tp-sort-button { height: 36px; gap: 8px; border-radius: 8px; padding: 0 12px; color: #4b5563; font-size: 11px; font-weight: 600; }
.tp-grid-toggle { width: 36px; height: 36px; border-radius: 8px; }
html.tp-grid-compact .tp-grid-toggle { border-color: #bfdbfe; background: #eff6ff; color: var(--tp-accent); }

/* Webcam cards */
.tp-cams-grid,
#webcams-grid,
#related-webcams-grid { display: grid !important; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 16px !important; }
.tp-cam-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tp-cam-card:hover { transform: translateY(-2px); border-color: #93c5fd; box-shadow: var(--tp-soft-shadow); }
.tp-card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg,#eceef2 0%,#dfe3e8 45%,#cfd5dc 100%); }
.tp-card-thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top,rgba(17,24,39,.52),transparent 44%); pointer-events: none; }
.tp-card-thumb-link { position: absolute; inset: 0; z-index: 1; display: block; }
.tp-card-image,
.tp-card-thumb .t-thumb,
.tp-card-thumb .t-thumb-video { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
.tp-bookmark-btn { position: absolute; right: 12px; top: 12px; z-index: 10; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.82); color: #374151; box-shadow: 0 1px 2px rgba(0,0,0,.08); backdrop-filter: blur(4px); opacity: .92; transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease; }
.tp-bookmark-btn:hover,
.tp-bookmark-btn.is-bookmarked { background: #fff; color: var(--tp-accent); }
.tp-bookmark-btn.is-bookmarked { opacity: 1; }
.tp-bookmark-btn i { font-size: 12px; }
.tp-online-badge { position: absolute; left: 12px; top: 12px; z-index: 8; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 6px 8px; color: #fff; font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: .04em; }
.tp-online-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.tp-online-badge.is-online { background: #ef4444; }
.tp-online-badge.is-offline { background: #4b5563; }
.tp-viewers-badge { position: absolute; left: 12px; bottom: 12px; z-index: 8; border-radius: 6px; background: rgba(2,6,23,.70); padding: 6px 8px; color: #fff; font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .01em; }
.tp-card-body { display: flex; align-items: center; gap: 12px; padding: 16px; }
.tp-card-avatar { display: block; width: 40px; height: 40px; flex: 0 0 auto; overflow: hidden; border: 2px solid var(--tp-accent); border-radius: 50%; background: #e5e7eb; }
.tp-card-avatar img { display: block !important; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover !important; object-position: center center !important; transform: none !important; }
#webcams-grid .tp-card-avatar img,
#related-webcams-grid .tp-card-avatar img { margin: 0 !important; margin-left: 0 !important; object-position: 50% 50% !important; transform: none !important; }
.tp-card-copy { display: block; min-width: 0; }
.tp-card-title-row { display: flex; min-width: 0; align-items: center; gap: 6px; }
.tp-card-title { display: block; min-width: 0; overflow: hidden; color: #1f2937; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: -.008em; text-overflow: ellipsis; white-space: nowrap; }
.tp-verified { display: inline-flex; width: 16px; height: 16px; flex: 0 0 auto; align-items: center; justify-content: center; }
.tp-verified img { display: block; width: 16px; height: 16px; object-fit: contain; }
.tp-card-meta { display: block; margin-top: 1px; overflow: hidden; color: #9ca3af; font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.tp-card-country-flag { display: inline-block; position: relative; top: 3px; font-size: 14px; line-height: 1; }

.tp-bookmarks-loading { padding: 44px 0; color: #9ca3af; font-size: 13px; text-align: center; }
.tp-bookmarks-empty { padding: 64px 20px; color: #6b7280; text-align: center; }
.tp-bookmarks-empty > i { color: var(--tp-accent); font-size: 32px; }
.tp-bookmarks-empty h2 { margin: 16px 0 6px; color: #1f2937; font-size: 18px; font-weight: 600; }
.tp-bookmarks-empty p { margin: 0 auto; max-width: 460px; color: #9ca3af; font-size: 12px; line-height: 1.7; }
.tp-content-surface { margin: 24px 0 0; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; padding: 18px 20px; color: #6b7280; font-size: 14px; line-height: 1.75; }


/* Taxonomy directory */
.tp-directory-head { margin: 0 0 22px; }
.tp-directory-head h1 { margin: 0; color: #1f2937; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.018em; }
.tp-directory-head p { margin: 8px 0 0; color: #9ca3af; font-size: 12px; line-height: 1.65; }
.tp-taxonomy-directory { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.tp-taxonomy-section { min-width: 0; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; padding: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.tp-taxonomy-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.tp-taxonomy-section-head h2 { margin: 0; color: #1f2937; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.tp-directory-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-directory-term { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; border: 1px solid var(--tp-line); border-radius: 999px; background: #f9fafb; padding: 7px 11px; color: #4b5563; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: -.005em; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease; }
.tp-directory-term:hover { transform: translateY(-1px); border-color: #bfdbfe; background: #fff; color: var(--tp-accent); }
.tp-directory-flag { display: inline-flex; align-items: center; font-size: 14px; line-height: 1; }
.tp-taxonomy-load-more { display: inline-flex !important; min-height: 34px !important; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; border: 1px solid var(--tp-line) !important; border-radius: 8px !important; background: #fff !important; padding: 0 12px !important; color: #4b5563 !important; font-size: 11px !important; font-weight: 500 !important; line-height: 1 !important; box-shadow: none !important; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.tp-taxonomy-load-more:hover { border-color: #bfdbfe !important; background: #f9fafb !important; color: var(--tp-accent) !important; }
.tp-taxonomy-load-more:disabled { cursor: wait; opacity: .72; }
.tp-taxonomy-load-more i { margin: 0 !important; font-size: 10px !important; }

/* Existing pagination adapted to v2 */
.pagination-custom { margin-top: 32px !important; }
.pagination-custom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination-custom li a,
.pagination-custom li span,
.pagination-loadmore .js-webcams-loadmore { border: 1px solid var(--tp-line) !important; border-radius: 8px !important; background: #fff !important; color: #4b5563 !important; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.pagination-loadmore .js-webcams-loadmore { min-height: 38px; gap: 7px; padding: 0 14px !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1 !important; letter-spacing: -.005em; }
.pagination-loadmore .js-webcams-loadmore i { margin: 0 !important; font-size: 11px; }
.pagination-custom li a:hover,
.pagination-loadmore .js-webcams-loadmore:hover { border-color: #bfdbfe !important; color: var(--tp-accent) !important; }
.pagination-custom li span.current { border-color: var(--tp-accent) !important; background: var(--tp-accent) !important; color: #fff !important; }

/* Existing Theme Pro content/single aligned with v2 */
.text-title { margin: 0 0 20px !important; color: #1f2937 !important; font-size: 22px !important; font-weight: 600 !important; letter-spacing: -.018em; }
.text-title i { color: var(--tp-accent) !important; }
.themepro-single-shell { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.themepro-single-layout { gap: 20px !important; }
.pc-webcam-wrap,
.pc-info-card,
.term-description,
.site-main .hentry,
.prose { border-color: var(--tp-line) !important; color: #374151; }
.pc-info-card,
.pc-info-card-v2,
.term-description { background: #fff !important; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.pc-chip,
.pc-info-value,
.pc-more-btn { border-color: var(--tp-line) !important; }
.pc-single-cta { background: var(--tp-accent) !important; }
.pc-single-cta:hover { background: var(--tp-accent-hover) !important; }
.site-main { width: 100%; }
.posts-grid { gap: 16px !important; }
.post-card { border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; overflow: hidden; }

/* Footer */
.tp-footer { margin-top: 40px; border-top: 1px solid var(--tp-line); background: #fff; }
.tp-footer-inner { display: flex; width: 100%; max-width: 1880px; margin: 0 auto; flex-direction: column; gap: 12px; padding: 24px 16px; color: #6b7280; font-size: 11px; }
.tp-footer-top-text { margin-bottom: 6px; }
.tp-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tp-footer-links a:hover { color: #111827; }

/* Dark mode */
html.dark { color-scheme: dark; }
html.dark body.themepro-v2 { --tp-bg: #111111; --tp-surface: #141414; --tp-elevated: #1b1b1b; --tp-line: #2c2c2c; --tp-text: #e5e7eb; --tp-muted: #9aa7b8; background: #111 !important; color: #e5e7eb; }
html.dark .tp-friends-topbar { border-color: #252525; background: #121212; }
html.dark .tp-friends-scroll a { color: #a9a9a9; }
html.dark .tp-friends-scroll a:hover { background: #242424; color: #fff; }
html.dark .tp-header { border-color: #252525; background: #141414; }
html.dark .tp-brand-name { color: #f1f5f9; }
html.dark .tp-main-menu a,
html.dark .tp-bookmarks-nav { color: #aaa; }
html.dark .tp-bookmarks-count { background: var(--tp-accent) !important; color: #fff !important; box-shadow: none; }
html.dark .tp-main-menu a:hover,
html.dark .tp-bookmarks-nav:hover { background: #232323; color: #fff; }
html.dark .tp-main-menu .current-menu-item > a,
html.dark .tp-main-menu .current_page_item > a,
html.dark .tp-bookmarks-nav.is-active { background: #242424; color: #fff; }
html.dark .tp-icon-btn,
html.dark .tp-grid-toggle,
html.dark .tp-sort-button,
html.dark .desktop-sidebar-toggle,
html.dark .tp-more-categories { border-color: #313131 !important; background: #222 !important; color: #9aa7b8 !important; }
html.dark .tp-mobile-bookmarks-link { border-color: #313131; background: #222; color: #cbd5e1; }
html.dark .tp-mobile-bookmarks-link:hover,
html.dark .tp-mobile-bookmarks-link.is-active { border-color: #3a3a3a; background: #282828; color: #fff; }
html.dark .tp-mobile-bookmarks-icon { background: #2a2a2a; color: var(--tp-accent); }
html.dark .tp-icon-btn:hover,
html.dark .tp-grid-toggle:hover,
html.dark .tp-sort-button:hover,
html.dark .desktop-sidebar-toggle:hover,
html.dark .tp-more-categories:hover { border-color: #3a3a3a !important; background: #282828 !important; color: #fff !important; }
html.dark #themeToggle { border-color: #343434; background: #262626; color: #f5c66a; }
html.dark .tp-desktop-search { border-color: #313131; background: #1b1b1b; }
html.dark .tp-desktop-search input { color: #e5e7eb !important; }
html.dark .tp-desktop-search input::placeholder { color: #6f7b8c; }
html.dark .tp-desktop-search kbd { border-color: #313131; background: #262626; color: #8491a2; }
html.dark .tp-dropdown { border-color: #2c2c2c; background: #222; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
html.dark .tp-dropdown-head,
html.dark .tp-notification-head,
html.dark .tp-notification-view,
html.dark .tp-notification-list .tp-notification-item + .tp-notification-item { border-color: #2c2c2c; }
html.dark .tp-dropdown-head strong,
html.dark .tp-notification-head strong,
html.dark .tp-notification-item strong { color: #f1f5f9; }
html.dark .tp-notification-item:hover,
html.dark .tp-notification-view:hover { background: #1a2029; }
html.dark .tp-notification-icon { background: #252525; }
html.dark .tp-search-field input { border-color: #313131 !important; background: #1b1b1b !important; color: #e5e7eb !important; }
html.dark .tp-notification-dot { border-color: #1a1a1a; }
html.dark .tp-category-bar { border-color: #2a2a2a; background: #202020; }
html.dark .tp-category-pill { border-color: #292929; background: #292929; color: #d0d0d0; box-shadow: none; }
html.dark .tp-category-pill:hover { border-color: #303030; background: #303030; color: #fff; }
html.dark .tp-category-pill.is-active { border-color: #303030; background: #303030; color: #fff; }
html.dark .tp-mobile-sidebar,
html.dark .tp-mobile-sidebar-head,
html.dark .desktop-sidebar-panel { border-color: #2c2c2c; background: #1d1d1d; }
html.dark .tp-mobile-sidebar-head h2,
html.dark .tp-sidebar-head h2 { color: #f0f0f0; }
html.dark .tp-sidebar-head { border-color: #2c2c2c; }
html.dark .tp-sidebar-clear { border-color: #383838; background: #2a2a2a; color: #fff; }
html.dark .tp-sidebar-clear:hover { border-color: #444; background: #303030; }
html.dark .tp-filter-group legend { color: #a9a9a9; }
html.dark .tp-filter-chip span { border-color: #313131; background: #262626; color: #ddd; }
html.dark .tp-filter-chip:hover span { border-color: #3a4a5f; background: #2d2d2d; }
html.dark .tp-filter-chip input:checked + span { border-color: var(--tp-accent); background: var(--tp-accent); color: #fff; }
html.dark .tp-live-counter { border-color: #433232; background: #2b1f1f; color: #ef4444; }
html.dark .tp-live-counter > .tp-live-counter-dot { background: #ef4444; }
html.dark .tp-listing-head h1,
html.dark .text-title,
html.dark .tp-bookmarks-empty h2 { color: #f3f3f3 !important; }
html.dark .tp-cam-card { border-color: #2c2c2c; background: #222; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
html.dark .tp-cam-card:hover { border-color: #315f92; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
html.dark .tp-card-thumb { background: linear-gradient(140deg,#2a2a2a 0%,#242424 45%,#1e1e1e 100%); }
html.dark .tp-bookmark-btn { border-color: rgba(255,255,255,.08); background: rgba(26,26,26,.88); color: #ddd; }
html.dark .tp-bookmark-btn:hover,
html.dark .tp-bookmark-btn.is-bookmarked { background: #242424; color: #fff; }
html.dark .tp-card-title { color: #eee; }
html.dark .tp-card-meta { color: #9f9f9f; }
html.dark .tp-directory-head h1,
html.dark .tp-taxonomy-section-head h2 { color: #f3f3f3; }
html.dark .tp-directory-head p { color: #9aa7b8; }
html.dark .tp-taxonomy-section { border-color: #2c2c2c; background: #222; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
html.dark .tp-directory-term { border-color: #313131; background: #262626; color: #ddd; }
html.dark .tp-directory-term:hover { border-color: #3a4a5f; background: #2d2d2d; color: #fff; }
html.dark .tp-taxonomy-load-more { border-color: #313131 !important; background: #222 !important; color: #cbd5e1 !important; }
html.dark .tp-taxonomy-load-more:hover { border-color: #3a3a3a !important; background: #282828 !important; color: #fff !important; }

html.dark .tp-content-surface,
html.dark .pc-info-card,
html.dark .pc-info-card-v2,
html.dark .term-description,
html.dark .post-card { border-color: #2c2c2c !important; background: #222 !important; color: #cbd5e1; }
html.dark .pagination-custom li a,
html.dark .pagination-custom li span,
html.dark .pagination-loadmore .js-webcams-loadmore { border-color: #2c2c2c !important; background: #222 !important; color: #cbd5e1 !important; }
html.dark .tp-footer { border-color: #252525; background: #1a1a1a; }
html.dark .tp-footer-inner { color: #9aa7b8; }
html.dark .tp-footer-links a:hover { color: #fff; }
html.dark body.themepro-v2 footer.tp-footer {
  border-color: #252525 !important;
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
}
html.dark body.themepro-v2 footer.tp-footer .tp-footer-inner {
  background: transparent !important;
  background-color: transparent !important;
  color: #9aa7b8 !important;
}

@media (min-width: 640px) {
  .tp-friends-inner,
  .tp-header-inner,
  .tp-category-inner,
  .themepro-main,
  .tp-footer-inner { padding-left: 20px; padding-right: 20px; }
  .tp-brand-name { font-size: 20px; }
  .tp-cams-grid,
  #webcams-grid,
  #related-webcams-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tp-card-thumb { aspect-ratio: 16 / 9; }
  .tp-listing-head h1 { font-size: 25px; }
  .tp-live-counter { padding: 6px 12px; font-size: 11px; }
}

@media (min-width: 760px) {
  .tp-taxonomy-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  .tp-friends-inner,
  .tp-header-inner,
  .tp-category-inner,
  .tp-footer-inner { padding-left: 28px; padding-right: 28px; }
  .tp-header-left { gap: 20px; }
  .tp-mobile-menu-btn { display: none; }
  .tp-main-nav { display: flex; }
  .tp-mobile-search-wrap { display: block; }
  .tp-main-shell { padding-top: 28px; }
  .desktop-layout { grid-template-columns: 250px minmax(0,1fr); gap: 20px; }
  .desktop-sidebar-shell { display: block; }
  .themepro-main { padding-left: 0; padding-right: 28px; }
  .tp-cams-grid,
  #webcams-grid,
  #related-webcams-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 1280px) {
  .desktop-layout { grid-template-columns: 270px minmax(0,1fr); }
  .tp-cams-grid,
  #webcams-grid,
  #related-webcams-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  html.tp-grid-compact .tp-cams-grid,
  html.tp-grid-compact #webcams-grid,
  html.tp-grid-compact #related-webcams-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px !important; }
  html.tp-grid-compact .tp-card-body { padding: 12px; }
  html.tp-grid-compact .tp-card-avatar { width: 34px; height: 34px; }
  html.tp-grid-compact .tp-card-title { font-size: 12px; }
  html.tp-grid-compact .tp-card-meta { font-size: 9px; }
}

@media (min-width: 1440px) {
  .tp-desktop-search { display: flex; }
  .tp-mobile-search-wrap { display: none; }
}

@media (max-width: 639px) {
  .tp-sort-button span { display: none; }
  .tp-sort-button { width: 36px; padding: 0; }
  .tp-listing-head { align-items: flex-end; }
  .tp-cams-grid,
  #webcams-grid,
  #related-webcams-grid { gap: 10px !important; }
  html.tp-mobile-grid-1 .tp-cams-grid,
  html.tp-mobile-grid-1 #webcams-grid,
  html.tp-mobile-grid-1 #related-webcams-grid { grid-template-columns: minmax(0,1fr) !important; }
  html.tp-mobile-grid-2 .tp-cams-grid,
  html.tp-mobile-grid-2 #webcams-grid,
  html.tp-mobile-grid-2 #related-webcams-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
  html.tp-mobile-grid-2 .tp-card-thumb { aspect-ratio: 16 / 11; }
  html.tp-mobile-grid-2 .tp-card-body { padding: 12px; }
  html.tp-mobile-grid-2 .tp-card-avatar { width: 32px; height: 32px; }
  html.tp-mobile-grid-2 .tp-card-title { font-size: 12px; }
  html.tp-mobile-grid-2 .tp-card-meta { font-size: 9px; }
}

@media (max-width: 480px) {
  .tp-header-inner { height: 68px; padding-left: 12px; padding-right: 12px; }
  .tp-header-left { gap: 10px; }
  .tp-brand { gap: 8px; }
  .tp-brand-icon { width: 30px; font-size: 24px; }
  .tp-brand-name { max-width: 128px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; }
  .tp-logo { max-width: 145px; height: 38px; }
  .tp-header-actions { gap: 6px; }
  .tp-icon-btn { width: 38px; height: 38px; }
  .tp-listing-head h1 { font-size: 21px; }
  .tp-live-counter { display: none; }
}

/* Mobile Grid Customizer now supplies the initial default only.
   The active mobile state is applied on <html> by themepro-v2.js/localStorage. */

/* Neutralize legacy fixed-header spacing from Theme Pro 1.x. */
body.themepro-v2 .themepro-main {
  padding-top: 0 !important;
}
body.themepro-v2 .tp-footer {
  margin-top: 40px !important;
}

/* Theme Pro 2.0.4 - bookmark badge and brand hover fixes */
#main-menu-container .tp-bookmarks-nav .tp-bookmarks-count,
#main-menu-container .tp-bookmarks-nav:hover .tp-bookmarks-count,
#main-menu-container .tp-bookmarks-nav.is-active .tp-bookmarks-count {
  background: var(--tp-accent) !important;
  background-color: var(--tp-accent) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
}

html.dark .tp-brand,
html.dark .tp-brand:hover,
html.dark .tp-brand:focus,
html.dark .tp-brand:active,
html.dark .tp-brand:hover *,
html.dark .tp-brand:focus *,
html.dark .tp-brand:active * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}


/* Theme Pro 2.0.5 - compact More, loader icon and mobile bookmarks access */

/* ============================================================
   Theme Pro 2.0.9 - News / Blog
   ============================================================ */

/* Desktop NEWS navigation */
.tp-news-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 9px 16px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease;
}
.tp-news-nav:hover { background: #f9fafb; color: #111827; }
.tp-news-nav.is-active { background: #f3f4f6; color: #111827; font-weight: 600; }
.tp-news-nav i { font-size: 12px; }

/* Mobile NEWS navigation */
.tp-mobile-news-link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin: -8px 0 18px;
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.tp-mobile-news-link:hover,
.tp-mobile-news-link.is-active { border-color: #bfdbfe; background: #f9fafb; color: var(--tp-accent); }
.tp-mobile-news-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #f3f4f6;
  color: var(--tp-accent);
}
.tp-mobile-news-icon i { font-size: 11px; }
.tp-mobile-news-label { min-width: 0; flex: 1 1 auto; }
.tp-mobile-news-arrow { margin-left: auto; color: #9ca3af; font-size: 9px; }

/* News archive */
.tp-blog-archive-head { margin: 0 0 22px; }
.tp-blog-archive-head h1 {
  margin: 0;
  color: #1f2937;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
}
.tp-blog-archive-description {
  max-width: 760px;
  margin-top: 9px;
  color: #7b8492;
  font-size: 12px;
  line-height: 1.7;
}
.tp-blog-archive-description p { margin: 0; }

.tp-blog-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
}
.tp-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tp-blog-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: var(--tp-soft-shadow);
}
.tp-blog-card-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
}
.tp-blog-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tp-blog-card:hover .tp-blog-card-thumb img { transform: scale(1.025); }
.tp-blog-thumb-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef1f5, #dfe4ea);
  color: #a4adba;
  font-size: 30px;
}
.tp-blog-card-body { padding: 14px; }
.tp-blog-card-categories,
.tp-blog-single-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tp-blog-card-categories { margin-bottom: 11px; }
.tp-blog-card-categories a,
.tp-blog-single-categories a {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--tp-accent) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tp-accent) 8%, #fff);
  padding: 5px 9px;
  color: var(--tp-accent);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.tp-blog-card-title {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.015em;
}
.tp-blog-card-title a { display: block; }
.tp-blog-card-title a:hover { color: var(--tp-accent); }
.tp-blog-card-meta,
.tp-blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
}
.tp-blog-card-meta { margin-top: 8px; }
.tp-blog-card-meta span,
.tp-blog-single-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tp-blog-card-meta i,
.tp-blog-single-meta i { color: var(--tp-accent); font-size: 9px; }
.tp-blog-card-excerpt {
  margin-top: 10px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.65;
}
.tp-blog-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #f0f2f5;
}
.tp-blog-card-tags {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 5px 8px;
}
.tp-blog-card-tags a {
  color: #8b95a4;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
}
.tp-blog-card-tags a:hover { color: var(--tp-accent); }
.tp-blog-read-more {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #f9fafb;
  color: #7b8492;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.tp-blog-read-more i { font-size: 10px; }
.tp-blog-read-more:hover {
  transform: translateX(1px);
  border-color: #bfdbfe;
  background: #fff;
  color: var(--tp-accent);
}

/* Blog pagination */
.tp-blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 30px; }
.tp-blog-pagination .page-numbers {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fff;
  padding: 0 11px;
  color: #5f6977;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.tp-blog-pagination .page-numbers:hover { border-color: #bfdbfe; color: var(--tp-accent); }
.tp-blog-pagination .page-numbers.current { border-color: var(--tp-accent); background: var(--tp-accent); color: #fff; }
.tp-blog-pagination .page-numbers i { font-size: 8px; }
.tp-blog-empty {
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  padding: 60px 20px;
  color: #6b7280;
  text-align: center;
}
.tp-blog-empty > i { color: var(--tp-accent); font-size: 31px; }
.tp-blog-empty h2 { margin: 15px 0 6px; color: #1f2937; font-size: 18px; font-weight: 600; }
.tp-blog-empty p { margin: 0; color: #9ca3af; font-size: 12px; }

/* Single normal post */
.tp-blog-single,
.tp-blog-post-nav {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.tp-blog-single {
  overflow: hidden;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.035);
}
.tp-blog-single-header { padding: 28px 28px 24px; }
.tp-blog-single-category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.tp-blog-single-category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7b8492;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}
.tp-blog-single-category-label i { color: var(--tp-accent); font-size: 10px; }
.tp-blog-single-category-row .tp-blog-single-categories { margin-bottom: 0; }
.tp-blog-single-header h1 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(27px, 3.4vw, 43px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.032em;
}
.tp-blog-single-meta { margin-top: 15px; font-size: 11px; }
.tp-blog-single-meta a:hover { color: var(--tp-accent); }
.tp-blog-single-thumb {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  background: #e5e7eb;
}
.tp-blog-single-thumb img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-blog-single-content {
  padding: 30px 28px 34px;
  color: #424b58;
  font-size: 15px;
  line-height: 1.82;
}
.tp-blog-single-content > *:first-child { margin-top: 0; }
.tp-blog-single-content > *:last-child { margin-bottom: 0; }
.tp-blog-single-content p { margin: 0 0 1.45em; }
.tp-blog-single-content h2,
.tp-blog-single-content h3,
.tp-blog-single-content h4 {
  color: #1f2937;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.tp-blog-single-content h2 { margin: 1.8em 0 .65em; font-size: 25px; }
.tp-blog-single-content h3 { margin: 1.65em 0 .6em; font-size: 20px; }
.tp-blog-single-content h4 { margin: 1.5em 0 .55em; font-size: 17px; }
.tp-blog-single-content a { color: var(--tp-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tp-blog-single-content a:hover { color: var(--tp-accent-hover); }
.tp-blog-single-content img { height: auto; border-radius: 10px; }
.tp-blog-single-content blockquote {
  margin: 1.7em 0;
  border-left: 3px solid var(--tp-accent);
  border-radius: 0 8px 8px 0;
  background: #f7f9fc;
  padding: 16px 18px;
  color: #586271;
}
.tp-blog-single-content blockquote p:last-child { margin-bottom: 0; }
.tp-blog-single-content pre {
  overflow-x: auto;
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  background: #171a1f;
  padding: 17px;
  color: #e5e7eb;
  font-size: 12px;
  line-height: 1.65;
}
.tp-blog-single-content code { border-radius: 4px; background: #f0f2f5; padding: 2px 5px; font-size: .9em; }
.tp-blog-single-content pre code { background: transparent; padding: 0; color: inherit; }
.tp-blog-single-content ul,
.tp-blog-single-content ol { margin: 0 0 1.45em; padding-left: 1.35em; }
.tp-blog-single-content li { margin: .4em 0; }
.tp-blog-single-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 13px; }
.tp-blog-single-content th,
.tp-blog-single-content td { border: 1px solid var(--tp-line); padding: 10px 12px; text-align: left; }
.tp-blog-single-content th { background: #f7f8fa; color: #1f2937; font-weight: 600; }
.tp-blog-page-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }

.tp-blog-single-tags {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid var(--tp-line);
  padding: 19px 28px 22px;
}
.tp-blog-single-tags-title {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding-top: 6px;
  color: #7b8492;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tp-blog-single-tags-title i { color: var(--tp-accent); font-size: 10px; }
.tp-blog-single-tags > div { display: flex; flex-wrap: wrap; gap: 7px; }
.tp-blog-single-tags a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  background: #f9fafb;
  padding: 6px 10px;
  color: #667180;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.tp-blog-single-tags a:hover { border-color: #bfdbfe; background: #fff; color: var(--tp-accent); }

.tp-blog-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.tp-blog-post-nav-item { min-width: 0; }
.tp-blog-post-nav-item:empty { display: none; }
.tp-blog-post-nav-item a {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tp-blog-post-nav-item a:hover { transform: translateY(-1px); border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(15,23,42,.05); }
.tp-blog-post-nav-item span { display: inline-flex; align-items: center; gap: 7px; color: #9ca3af; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tp-blog-post-nav-item strong { overflow: hidden; color: #374151; font-size: 12px; font-weight: 600; line-height: 1.5; text-overflow: ellipsis; }
.tp-blog-post-nav-next { text-align: right; }
.tp-blog-post-nav-next span { justify-content: flex-end; }

/* News dark mode */
html.dark .tp-news-nav { color: #aaa; }
html.dark .tp-news-nav:hover { background: #232323; color: #fff; }
html.dark .tp-news-nav.is-active { background: #242424; color: #fff; }
html.dark .tp-mobile-news-link { border-color: #313131; background: #222; color: #cbd5e1; }
html.dark .tp-mobile-news-link:hover,
html.dark .tp-mobile-news-link.is-active { border-color: #3a3a3a; background: #282828; color: #fff; }
html.dark .tp-mobile-news-icon { background: #2a2a2a; color: var(--tp-accent); }
html.dark .tp-mobile-news-arrow { color: #707b89; }
html.dark .tp-blog-archive-head h1,
html.dark .tp-blog-card-title,
html.dark .tp-blog-empty h2,
html.dark .tp-blog-single-header h1,
html.dark .tp-blog-single-content h2,
html.dark .tp-blog-single-content h3,
html.dark .tp-blog-single-content h4,
html.dark .tp-blog-post-nav-item strong { color: #eee; }
html.dark .tp-blog-archive-description,
html.dark .tp-blog-card-excerpt,
html.dark .tp-blog-single-content { color: #b7bec8; }
html.dark .tp-blog-card,
html.dark .tp-blog-empty,
html.dark .tp-blog-single,
html.dark .tp-blog-post-nav-item a { border-color: #2c2c2c; background: #222; box-shadow: none; }
html.dark .tp-blog-card:hover,
html.dark .tp-blog-post-nav-item a:hover { border-color: #315f92; box-shadow: 0 14px 30px rgba(0,0,0,.16); }
html.dark .tp-blog-card-thumb,
html.dark .tp-blog-single-thumb { background: #292929; }
html.dark .tp-blog-thumb-fallback { background: linear-gradient(145deg, #292929, #202020); color: #616975; }
html.dark .tp-blog-card-categories a,
html.dark .tp-blog-single-categories a { border-color: color-mix(in srgb, var(--tp-accent) 30%, #252525); background: color-mix(in srgb, var(--tp-accent) 13%, #222); }
html.dark .tp-blog-card-footer,
html.dark .tp-blog-single-tags { border-color: #2c2c2c; }
html.dark .tp-blog-read-more,
html.dark .tp-blog-pagination .page-numbers,
html.dark .tp-blog-single-tags a { border-color: #313131; background: #282828; color: #aeb7c3; }
html.dark .tp-blog-read-more:hover,
html.dark .tp-blog-pagination .page-numbers:hover,
html.dark .tp-blog-single-tags a:hover { border-color: #3a3a3a; background: #2d2d2d; color: #fff; }
html.dark .tp-blog-pagination .page-numbers.current { border-color: var(--tp-accent); background: var(--tp-accent); color: #fff; }
html.dark .tp-blog-single-thumb { border-color: #2c2c2c; }
html.dark .tp-blog-single-content blockquote { background: #1b1b1b; color: #c1c7d0; }
html.dark .tp-blog-single-content code { background: #2b2b2b; color: #e5e7eb; }
html.dark .tp-blog-single-content pre { border-color: #313131; background: #141414; }
html.dark .tp-blog-single-content th,
html.dark .tp-blog-single-content td { border-color: #343434; }
html.dark .tp-blog-single-content th { background: #292929; color: #eee; }

@media (min-width: 640px) {
  .tp-blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  .tp-blog-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
}

@media (min-width: 1600px) {
  .tp-blog-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}

@media (max-width: 639px) {
  .tp-blog-card-body { padding: 14px; }
  .tp-blog-single-header { padding: 22px 18px 19px; }
  .tp-blog-single-header h1 { font-size: 27px; }
  .tp-blog-single-content { padding: 23px 18px 27px; font-size: 14px; }
  .tp-blog-single-content h2 { font-size: 22px; }
  .tp-blog-single-content h3 { font-size: 18px; }
  .tp-blog-single-tags { flex-direction: column; gap: 9px; padding: 17px 18px 20px; }
  .tp-blog-single-tags-title { padding-top: 0; }
  .tp-blog-post-nav { grid-template-columns: minmax(0,1fr); }
  .tp-blog-post-nav-next { text-align: left; }
  .tp-blog-post-nav-next span { justify-content: flex-start; }
}

/* Legacy Theme Pro 1.x clears every main-menu background with !important. */
#main-menu-container .tp-news-nav:hover,
#main-menu-container .tp-news-nav.is-active {
  background-image: none !important;
}
#main-menu-container .tp-news-nav:hover { background: #f9fafb !important; background-color: #f9fafb !important; }
#main-menu-container .tp-news-nav.is-active { background: #f3f4f6 !important; background-color: #f3f4f6 !important; }
html.dark #main-menu-container .tp-news-nav:hover { background: #232323 !important; background-color: #232323 !important; }
html.dark #main-menu-container .tp-news-nav.is-active { background: #242424 !important; background-color: #242424 !important; }

@media (min-width: 1024px) {
  body.themepro-news-context .desktop-layout { grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
  body.themepro-news-context .themepro-main { padding-left: 28px !important; padding-right: 28px !important; }
}

/* Mixed search results: blog cards and webcam cards share a balanced grid. */
.tp-search-results-grid { grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .tp-search-results-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1280px) { .tp-search-results-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1280px) {
  html.tp-grid-compact .tp-search-results-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 16px !important; }
}


/* ============================================================
 * Theme Pro 2.0.16 - single polish, mobile header fixes
 * ============================================================ */

/* Premium single CTA: force white content over the accent surface. */
body.single-webcam .pc-single-cta {
  color: #fff !important;
  border: 1px solid color-mix(in srgb, #fff 18%, transparent) !important;
  background: linear-gradient(135deg, var(--tp-accent) 0%, var(--tp-accent-hover) 100%) !important;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--tp-accent) 28%, transparent) !important;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
body.single-webcam .pc-single-cta,
body.single-webcam .pc-single-cta:visited,
body.single-webcam .pc-single-cta:hover,
body.single-webcam .pc-single-cta:focus,
body.single-webcam .pc-single-cta .pc-single-cta-label,
body.single-webcam .pc-single-cta .pc-single-cta-icon,
body.single-webcam .pc-single-cta .pc-single-cta-icon i {
  color: #fff !important;
}
body.single-webcam .pc-single-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--tp-accent) 34%, transparent) !important;
  filter: saturate(1.04);
}
body.single-webcam .pc-single-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tp-accent) 28%, transparent);
  outline-offset: 3px;
}
body.single-webcam .pc-single-cta-icon {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.16) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(5px);
}
body.single-webcam .pc-single-cta:hover .pc-single-cta-icon {
  background: rgba(255,255,255,.23) !important;
}

.tp-live-counter-label-mobile { display: none; }

@media (max-width: 639px) {
  body.single-webcam .tp-related-title {
    margin-top: 28px !important;
  }

  .tp-notification-dropdown {
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .tp-brand-name {
    max-width: 132px;
    font-size: 17px;
  }

  .tp-listing-head {
    gap: 8px;
  }
  .tp-listing-actions {
    gap: 6px;
  }
  .tp-live-counter {
    display: inline-flex !important;
    padding: 4px 7px;
    font-size: 9px;
    line-height: 1;
  }
  .tp-live-counter > .tp-live-counter-dot {
    flex-basis: 5px;
    width: 5px;
    height: 5px;
    margin-right: 5px;
  }
  .tp-live-counter-label-full { display: none; }
  .tp-live-counter-label-mobile { display: inline; }
}

@media (max-width: 360px) {
  .tp-brand-name {
    max-width: 104px;
    font-size: 17px;
  }
  .tp-live-counter {
    padding-left: 6px;
    padding-right: 6px;
  }
}


/* ============================================================
 * Theme Pro 2.0.17 - Live badge fix and editable frontend labels
 * ============================================================ */
.tp-live-counter-label-full,
.tp-live-counter-label-mobile {
  flex: 0 0 auto;
  min-width: 0;
  line-height: inherit;
  color: inherit;
}


/* ============================================================
 * Theme Pro 2.0.18 - single model name dark-mode polish
 * ============================================================ */
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:visited,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name > span {
  color: #f5f5f5 !important;
}

html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:hover,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:focus,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:hover > span,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:focus > span,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-model-name:active > span {
  color: #ffffff !important;
}


/* ============================================================
 * Theme Pro 2.0.19 - single country/gender hover cleanup
 * ============================================================ */
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:hover,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:focus,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:active,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:hover,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:focus,
body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:active,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:hover,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:focus,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-country-link:active,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:hover,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:focus,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link {
  color: #b8b8b8 !important;
}

html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:hover,
html.dark body.single-webcam .pc-webcam-wrap .pc-header .tp-single-gender-link:focus {
  color: #ffffff !important;
}

/* Theme Pro 2.0.27 - normal post categories and tags */
html.dark .tp-blog-single-category-label { color: #9ca3af; }
html.dark .tp-blog-single-category-label i { color: var(--tp-accent); }
@media (max-width: 639px) {
  .tp-blog-single-category-row { gap: 7px; }
  .tp-blog-single-category-label { width: 100%; }
}

/* ============================================================
 * Theme Pro 2.0.29 - Chaturbate viewport and mobile badge alignment
 * ============================================================ */

/* Keep the single webcam identity row closer to the category submenu. */
body.single-webcam .tp-main-shell {
  padding-top: 16px !important;
}
body.single-webcam .pc-webcam-wrap .pc-header {
  margin-top: 0 !important;
}

/* Bookmark action in the single webcam identity row. */
body.single-webcam .tp-single-bookmark-btn {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--tp-line) !important;
  border-radius: 50%;
  background: #fff !important;
  color: #4b5563 !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
body.single-webcam .tp-single-bookmark-btn i { font-size: 13px; }
body.single-webcam .tp-single-bookmark-btn:hover,
body.single-webcam .tp-single-bookmark-btn.is-bookmarked {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: var(--tp-accent) !important;
}
body.single-webcam .tp-single-bookmark-btn:hover { transform: translateY(-1px); }
html.dark body.single-webcam .tp-single-bookmark-btn {
  border-color: #313131 !important;
  background: #222 !important;
  color: #ddd !important;
}
html.dark body.single-webcam .tp-single-bookmark-btn:hover,
html.dark body.single-webcam .tp-single-bookmark-btn.is-bookmarked {
  border-color: #3a3a3a !important;
  background: #292929 !important;
  color: #fff !important;
}

/*
 * Theme Pro's resize handle controls the whole player surface.
 * Some PluginCams providers inject an inner aspect-ratio wrapper; force those
 * wrappers to follow the resized outer shell instead of keeping their own height.
 */
body.single-webcam .pc-resizable-player > .responsive-embed,
body.single-webcam .pc-resizable-player > .webcam-embed-container,
body.single-webcam .pc-resizable-player > .pc-hls-wrap,
body.single-webcam .pc-resizable-player > .pc-embed-raw,
body.single-webcam .pc-resizable-player .pc-player-resize-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
}
body.single-webcam .pc-resizable-player iframe,
body.single-webcam .pc-resizable-player video,
body.single-webcam .pc-resizable-player embed,
body.single-webcam .pc-resizable-player object,
body.single-webcam .pc-resizable-player .pc-player-resize-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.single-webcam .pc-resizable-player video,
body.single-webcam .pc-resizable-player .pc-player-resize-media:is(video) {
  object-fit: contain !important;
  object-position: center center !important;
  background: #000;
}

/* Chaturbate CAM ONLY needs a wider *layout viewport* than the visible shell.
 * The iframe is laid out at 111.111% and then scaled to 90%, so its rendered
 * footprint still fills the player while the remote embed sees more horizontal
 * room and no longer loses the right edge. */
body.single-webcam .pc-cb-new-embed-wrap:not(.is-resized) {
  aspect-ratio: 16 / 8.75 !important;
}
body.single-webcam .pc-cb-new-embed-wrap iframe.pc-cb-new-embed {
  inset: 0 auto auto 0 !important;
  width: 111.1112% !important;
  height: 111.1112% !important;
  min-width: 111.1112% !important;
  min-height: 111.1112% !important;
  max-width: none !important;
  max-height: none !important;
  transform: scale(.9) !important;
  transform-origin: 0 0 !important;
}

/* More breathing room before Related Cams on the stacked mobile single. */
@media (max-width: 639px) {
  body.single-webcam .tp-related-title {
    margin-top: 34px !important;
  }

  /* Mobile live counter: same visual height as the two controls on its right. */
  .tp-live-counter {
    min-height: 32px !important;
    height: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Center the search dropdown in the viewport; JS supplies the exact left value. */
  .tp-search-dropdown {
    max-width: none !important;
  }
}

/* In the two-column mobile grid, keep the image actions tighter to the top edge. */
@media (max-width: 639px) {
  html.tp-mobile-grid-2 .tp-bookmark-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
  }
  html.tp-mobile-grid-2 .tp-bookmark-btn i { font-size: 11px; }
  html.tp-mobile-grid-2 .tp-online-badge {
    top: 10px;
    left: 6px;
    gap: 4px;
    padding: 5px 6px;
    font-size: 8px;
  }
  html.tp-mobile-grid-2 .tp-online-badge > span {
    width: 5px;
    height: 5px;
  }
}

@media (max-width: 480px) {
  .tp-live-counter {
    display: inline-flex !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}



/* ============================================================
 * Theme Pro 2.0.38 - CamGrid parity for mobile Chaturbate embed
 * ============================================================ */

/* Match the tighter top alignment already used by the mobile grid. */
.tp-bookmark-btn {
  top: 6px;
}
.tp-online-badge {
  top: 10px;
}

/*
 * CamGrid behaviour: the new Chaturbate CAM iframe is a fixed-ratio 850x480
 * surface. On mobile do not transform/zoom the cross-origin iframe; let it use
 * the full player width at its native ratio so the right edge remains visible.
 * Desktop keeps Theme Pro's existing resize behaviour unchanged.
 */
@media (max-width: 767px) {
  body.single-webcam .pc-svc-chaturbate .pc-cb-new-embed-wrap:not(.is-resized) {
    aspect-ratio: 850 / 480 !important;
  }

  body.single-webcam .pc-svc-chaturbate .pc-cb-new-embed-wrap iframe.pc-cb-new-embed {
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 850 / 480 !important;
    transform: none !important;
    transform-origin: initial !important;
    background: transparent !important;
  }
}
