:root { --accent: #ff7a00; }
html, body { background: #1b1d22; }
.site, .reference-shell { background: #1b1d22; color: #f4f5f7; }
.topline { display: none; }
.header {
  min-height: 64px;
  background: #2a2d33;
  border-bottom: 0;
  gap: 16px;
  padding: 10px 16px;
}
.header > .brand { font-size: 0 !important; gap: 0; width: auto; overflow: visible; }
.header > .brand i { display: none; }
.reference-shell .header .brand-symbol,
.header > .brand .brand-symbol,
.brand-symbol, .sidebar-brand-mark {
  width: auto !important;
  height: auto !important;
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: linear-gradient(90deg, #ff7a00 0 46%, #ffffff 46% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: none;
  letter-spacing: -1px;
  font-size: 28px !important;
  font-weight: 900;
  line-height: 1;
}
.sidebar-brand strong { color: #fff; font-weight: 800; }
.button.primary, a.button.primary, .header-auth-button.primary {
  background: #ff7a00 !important;
  border-color: #ff7a00 !important;
  color: #fff !important;
  border-radius: 999px;
  box-shadow: none;
}
.button.ghost, a.button.ghost, .header-auth-button.ghost {
  background: transparent !important;
  color: #ffb15a !important;
  border: 1px solid #ff7a00 !important;
  border-radius: 999px;
}
.hero {
  min-height: 210px;
  border: 0;
  border-radius: 18px;
  background: #14161c url("/assets-build/portbet-hero.png") center / cover no-repeat;
}
.hero .pitch-art, .hero .hero-tags { display: none; }
.hero-copy { padding: 28px 22px; max-width: 520px; }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy p { color: #fff; text-shadow: 0 2px 14px #000; }
.hero-copy .eyebrow { color: #ffc078; letter-spacing: .08em; }
.home-showcase { display: flex; flex-direction: column; gap: 16px; }
.home-quick-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.home-quick-tabs a {
  min-height: 132px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 8px 14px;
  border-radius: 18px;
  border: 1px solid #4b4f58;
  background: linear-gradient(180deg, #3c4048, #2b2e35);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
}
.home-quick-tabs a svg { width: 48px; height: 48px; color: #ff9a2e; }
.home-quick-tabs a.active, .home-quick-tabs a:hover { border-color: #ff7a00; }
.home-collection, .home-security-payments, .betting-center { display: none; }
.home-promos { margin: 0; }
.home-promos > .home-section-head { display: none; }
.home-featured-promos { display: block; }
.home-featured-promo:not(:first-child) { display: none; }
.home-featured-promo:first-child {
  min-height: 108px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(100deg, #ff6a00, #ff9a1a);
  color: #fff;
  box-shadow: none;
}
.home-featured-promo:first-child strong,
.home-featured-promo:first-child p,
.home-featured-promo:first-child small { color: #fff; }
.home-featured-promo:first-child svg { color: #fff; }
.bottom-nav {
  background: #17191e;
  border-top: 1px solid #343841;
}
.bottom-nav a, .bottom-nav button { color: #c5c8d0; font-size: 10px; font-weight: 700; }
.bottom-nav a[href="/spor"] { color: #ff7a00; }
.lobby-footer, .sidebar { background: #1b1d22; }
@media (max-width: 767px) {
  html, body { overflow-x: clip; max-width: 100%; }
  .reference-shell .main,
  .site .main,
  main.main,
  .main { padding: 12px 12px calc(96px + env(safe-area-inset-bottom)) !important; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .header { justify-content: space-between; }
  .header-lobby-controls, .header-mode-switch, .header-game-search { display: none !important; }
  .header .mobile-menu, .admin-header .mobile-menu { display: inline-grid !important; place-items: center; }
  .header-actions { margin-left: auto; display: flex; gap: 6px; min-width: 0; flex-wrap: nowrap; }
  .header-auth-button {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    border-radius: 999px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .header-auth-button span { display: inline-block !important; }
  .hero { min-height: 190px; margin: 0 0 8px; }
  .hero-copy { padding: 18px 16px; }
  .hero-copy h1 { font-size: 26px; }
  .site-with-sidebar, .site-with-sidebar.sidebar-collapsed, .reference-shell.site-with-sidebar { padding-left: 0 !important; }
  .slot-reference-grid, .casino-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .slot-library, .slot-filters, .slot-reference-card, .admin-main, .admin-deposits, .admin-methods, .admin-accounts, .table-wrap, .auth-layout, .auth-card, .pb-sports, .pb-admin-extra { max-width: 100%; min-width: 0; }
  .slot-game-cover { aspect-ratio: 16 / 9 !important; }
  .slot-game-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
  .large-amount, td, th, .slot-card-caption h2 { overflow-wrap: anywhere; }
  .auth-layout { grid-template-columns: 1fr !important; }
  .auth-card, .admin-login .panel, .form input, .form select, .form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
  .admin-layout, .admin-body { overflow-x: clip; max-width: 100%; }
  .admin-sidebar { display: none; }
  .admin-sidebar.open { display: flex; width: min(300px, calc(100vw - 28px)); max-height: calc(100dvh - 65px); overflow: auto; }
  .admin-body { margin-left: 0 !important; width: 100% !important; }
  .admin-main { padding: 16px 12px 128px; }
  .method-editor, .admin-methods, .admin-deposits, .admin-withdrawals, .detail-grid, .pb-admin-extra { max-width: 100%; min-width: 0; }
  .method-list-heading, .deposit-page-heading { flex-wrap: wrap; }
  .method-list-heading > button, .deposit-page-heading .button { white-space: normal; }
  .admin-account-list table, .table-wrap { max-width: 100%; }
  .pb-desk-dock { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .pb-sports, .pb-slip { width: 100%; box-sizing: border-box; }
  .sports-view-nav { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .account-sidebar nav { flex-wrap: wrap; overflow: visible; }
  .account-sidebar nav a { white-space: normal; }
  .stats-grid, .settings-grid, .footer-columns { grid-template-columns: 1fr 1fr; }
  .provider-tile, .betby-heading, .betby-shell, .slot-library, .casino-library, .panel { max-width: 100%; min-width: 0; box-sizing: border-box; }
  body:has(.pb-desk-dock) { padding-bottom: 64px; }
  .activity-ticker-head { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 8px; }
  .activity-live { margin-top: 0 !important; align-self: start; }
  .activity-ticker-head > div { min-width: 0; }
}
.slot-reference-grid {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
}
.slot-game-cover {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #101318;
}
.slot-game-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.slot-card-caption h2 { margin-top: 6px; }

.pb-sports {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  min-width: 0;
  color: #f4f5f7;
}
.pb-sports-head h2,
.pb-board-head h3,
.pb-slip h2 { margin: 0; }
.pb-sports-head h2 { font-size: 22px; }
.pb-note { margin: 6px 0 0; color: #c5c8d0; font-size: 13px; line-height: 1.45; }
.pb-note.warn { color: #ffd7a8; }
.pb-note a { color: #ff9a2e; }
.pb-board {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #343841;
  border-radius: 16px;
  background: #14161c;
  min-width: 0;
}
.pb-board.is-live { border-color: #ff7a00; }
.pb-board-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pb-board-head h3 { font-size: 16px; }
.pb-count {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2a2118;
  color: #ffb15a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.pb-board.is-live .pb-count { background: #ff7a00; color: #1b120c; }
.pb-sub, .pb-empty, .pb-no-odds { margin: 0; color: #9aa0ab; font-size: 12px; }
.pb-empty, .pb-no-odds {
  padding: 12px;
  border-radius: 12px;
  background: #101216;
}
.pb-match-list { display: grid; gap: 8px; }
.pb-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #343841;
  border-radius: 12px;
  background: #1b1d22;
  min-width: 0;
}
.pb-match-main, .pb-teams, .pb-league { min-width: 0; }
.pb-match-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.pb-league { color: #9aa0ab; font-size: 12px; overflow-wrap: anywhere; }
.pb-when, .pb-live-min { flex: none; font-size: 12px; font-weight: 800; color: #d7dbe3; }
.pb-live-min { color: #ffb15a; }
.pb-live-min::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ff7a00;
}
.pb-teams { display: grid; gap: 2px; }
.pb-teams strong { font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.pb-odds, .pb-slip { position: relative; z-index: 55; }
.pb-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.pb-odds button, .pb-slip button {
  min-width: 0;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #ff7a00;
  background: #2a2118;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.pb-odds button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; line-height: 1.1; }
.pb-odds button span { font-size: 11px; color: #ffb15a; }
.pb-odds button b { font-size: 14px; }
.pb-odds button[aria-pressed="true"] { background: #ff7a00; color: #1b120c; }
.pb-odds button[aria-pressed="true"] span,
.pb-odds button[aria-pressed="true"] b { color: #1b120c; }
.pb-slip {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #22180f;
  border: 1px solid #3a2a18;
}
.pb-slip input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #4a3b2a;
  background: #100e0c;
  color: #fff;
  padding: 8px 10px;
}
@media (max-width: 720px) {
  .pb-match { grid-template-columns: minmax(0, 1fr); }
  .pb-sports { gap: 12px; }
  .pb-board { padding: 10px; }
}
