.home-layout {
  max-width: 1450px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 16px) 14px 18px;
  display: grid;
  gap: 12px;
}

.home-match-beta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #3a4f70;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% -15%, rgba(255, 68, 68, 0.22) 0%, transparent 42%),
    linear-gradient(165deg, #1b2941 0%, #121b2b 72%, #111928 100%);
  padding: 12px;
  box-shadow: 0 16px 26px rgba(7, 13, 22, 0.38);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-match-beta[hidden] {
  display: none !important;
}

.match-beta-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.match-beta-kicker {
  font-size: 11px;
  color: #b2c5e0;
  text-transform: uppercase;
  letter-spacing: .25px;
  margin-bottom: 5px;
}

.match-beta-head h2 {
  font-size: 21px;
  line-height: 1.2;
}

.match-beta-head p {
  margin-top: 4px;
  font-size: 12px;
  color: #bfd0e8;
}

.match-beta-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.match-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #ff5760;
  background: linear-gradient(180deg, #ff3d4a 0%, #db2532 100%);
  color: #fff5f6;
  font-size: 11px;
  font-weight: 800;
}

.match-live-viewers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  border-radius: 999px;
  padding: 0 6px;
  border: 1px solid rgba(255, 235, 238, 0.5);
  background: rgba(79, 13, 23, 0.28);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

#homeMatchLiveRemaining {
  font-size: 11px;
  color: #c7d7ee;
}

.match-beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 10px;
  min-height: 0;
  align-items: start;
}

@media (min-width: 1201px) {
  .home-match-beta[data-ratio="9:16"] .match-beta-grid {
    /* Desktop 9:16: dar player kolonu + genis yorum kolonu */
    grid-template-columns: clamp(330px, 28vw, 520px) minmax(420px, 1fr);
  }

  .home-match-beta[data-ratio="9:16"] .match-beta-player-wrap {
    width: 100%;
    max-height: min(84vh, 900px);
    aspect-ratio: 9 / 16;
  }

  .home-match-beta[data-ratio="9:16"] .match-beta-main {
    min-width: 0;
  }

  .home-match-beta[data-ratio="9:16"] .match-beta-comments {
    min-width: 0;
  }
}

.match-beta-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-beta-player-wrap {
  position: relative;
  border: 1px solid #355077;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1018;
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.match-beta-player-wrap[data-ratio="9:16"] {
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 920px);
}

.match-beta-player,
.match-beta-embed {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.match-beta-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #d7e4f8;
  background:
    radial-gradient(900px 360px at -12% -24%, rgba(100, 153, 244, 0.16), transparent 60%),
    radial-gradient(760px 280px at 112% 18%, rgba(255, 86, 121, 0.12), transparent 62%),
    linear-gradient(130deg, #152135 0%, #0f1828 100%);
  overflow: hidden;
}

.match-beta-empty-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(92%, 380px);
}

.match-beta-empty-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(175, 206, 248, 0.35);
  border-top-color: #f4f8ff;
  animation: matchEmptySpin .88s linear infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 22px rgba(3, 8, 16, 0.35);
}

.match-beta-empty-title {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  font-weight: 700;
  color: #eef5ff;
  text-shadow: 0 2px 14px rgba(2, 9, 18, 0.55);
}

.match-beta-empty-detail {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #b7c8e2;
  font-weight: 500;
}

.match-beta-empty::before {
  content: '';
  position: absolute;
  inset: -30% -20%;
  background: linear-gradient(110deg, transparent 36%, rgba(210, 229, 255, 0.1) 50%, transparent 64%);
  animation: matchEmptySweep 1.6s ease-in-out infinite;
  pointer-events: none;
}

.match-beta-empty::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(360px 110px at 50% 80%, rgba(90, 152, 255, 0.14), transparent 68%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 12, 0.24) 100%);
}

.match-beta-empty[data-state="retry"]::after {
  background:
    radial-gradient(360px 110px at 50% 80%, rgba(255, 191, 96, 0.16), transparent 68%),
    linear-gradient(180deg, transparent 0%, rgba(26, 16, 6, 0.24) 100%);
}

.match-beta-empty[data-state="error"]::after {
  background:
    radial-gradient(360px 110px at 50% 80%, rgba(255, 121, 121, 0.16), transparent 68%),
    linear-gradient(180deg, transparent 0%, rgba(26, 8, 8, 0.24) 100%);
}

.match-beta-empty[data-state="retry"] .match-beta-empty-spinner {
  border-top-color: #ffd9a1;
}

.match-beta-empty[data-state="error"] .match-beta-empty-spinner {
  border-top-color: #ffb4c0;
}

@keyframes matchEmptySpin {
  to { transform: rotate(360deg); }
}

@keyframes matchEmptySweep {
  0% { transform: translateX(-24%); opacity: .15; }
  50% { opacity: .38; }
  100% { transform: translateX(24%); opacity: .15; }
}

.match-beta-player-wrap .video-js {
  width: 100%;
  height: 100%;
}

.match-beta-player-wrap .video-js .vjs-big-play-button {
  display: none !important;
}

.match-beta-comments {
  border: 1px solid #344b68;
  border-radius: 12px;
  background: linear-gradient(180deg, #18263a 0%, #131d2d 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.match-beta-comments-head {
  min-height: 46px;
  border-bottom: 1px solid #30455f;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-beta-comments-title {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.match-beta-comments-head strong {
  font-size: 13px;
}

.match-beta-comments-head small {
  font-size: 11px;
  color: #b7cae4;
  font-weight: 700;
}

.match-beta-comments-head > span {
  font-size: 11px;
  color: #b7cae4;
}

.match-beta-typing-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #dce9fb;
  font-size: 11px;
  font-weight: 700;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transform: translateY(1px);
}

.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d7e6fb;
  opacity: .38;
  animation: chatTypingPulse 1.05s infinite ease-in-out;
}

.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes chatTypingPulse {
  0%, 100% { opacity: .35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.match-beta-tabs {
  display: flex;
  gap: 8px;
  padding: 8px 8px 0;
}

.match-beta-tab {
  border: 1px solid #3d5577;
  border-radius: 999px;
  background: #1a2a42;
  color: #d6e4f8;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
}

.match-beta-tab.active {
  border-color: #d8e5fb;
  background: #f2f7ff;
  color: #10213a;
}

.match-beta-tab-panel {
  display: none;
  min-height: 0;
}

.match-beta-tab-panel.is-active {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.match-beta-tab-panel.is-active .match-beta-comment-form,
.match-beta-tab-panel.is-active #homeMatchLiveComments {
  width: 100%;
}

.match-beta-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  box-sizing: border-box;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.match-beta-comment-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.match-beta-new-badge {
  position: sticky;
  bottom: 4px;
  margin: 4px 0 0 auto;
  border: 1px solid #e6bf52;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a 0%, #e7b93f 100%);
  color: #172234;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.match-beta-new-badge[hidden] {
  display: none;
}

.match-beta-comment-item {
  border: 1px solid #324862;
  border-radius: 10px;
  background: #162438;
  padding: 8px;
  position: relative;
  overflow: visible;
  flex: 0 0 auto;
  min-height: fit-content;
}

.match-beta-comment-item strong {
  font-size: 11px;
  font-weight: 700;
  color: #9fb7d9;
  letter-spacing: .1px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  text-indent: 0 !important;
  filter: none !important;
  -webkit-text-fill-color: currentColor !important;
  mix-blend-mode: normal !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
  width: auto !important;
  z-index: 2;
}

.match-comment-sep {
  display: inline-block;
  margin: 0 6px;
  font-weight: 900;
  opacity: .95;
  transform: translateY(-1px);
}

.match-comment-ago {
  font-weight: 600;
  color: #a6c0e2;
}

.match-beta-comment-item p {
  margin-top: 4px;
  color: #e8f2ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  word-break: break-word;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  text-indent: 0 !important;
  filter: none !important;
  -webkit-text-fill-color: currentColor !important;
  mix-blend-mode: normal !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
  width: auto !important;
  z-index: 2;
}

.match-comment-mention {
  border: 1px solid rgba(111, 145, 189, 0.72);
  background: rgba(43, 64, 95, 0.64);
  color: #d7e8ff;
  border-radius: 8px;
  padding: 1px 6px;
  margin: 0 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  vertical-align: baseline;
}

.match-comment-mention:hover {
  border-color: rgba(146, 179, 223, 0.9);
  background: rgba(57, 83, 122, 0.82);
}

.match-beta-comment-item.is-mention-focus {
  border-color: #f2c95f;
  box-shadow: 0 0 0 1px rgba(242, 201, 95, 0.44), 0 0 0 6px rgba(242, 201, 95, 0.08);
}

.match-beta-comment-item.system {
  border-style: dashed;
}

.match-beta-comment-item.is-new {
  border-color: rgba(242, 202, 95, 0.9);
  background: linear-gradient(180deg, #1a2b41 0%, #18283d 100%);
  box-shadow: 0 0 0 1px rgba(242, 202, 95, 0.42), 0 4px 14px rgba(242, 202, 95, 0.2);
  animation: matchCommentSoftPulse 1.9s cubic-bezier(.22,.61,.36,1) 1;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.match-beta-comment-item.is-removing {
  opacity: 0;
  transform: translateX(14px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
}

.match-beta-comment-item.is-marked {
  border-color: #f2c95f;
  box-shadow: inset 0 0 0 1px rgba(242, 201, 95, 0.34);
  padding-top: 24px;
}

.match-comment-mark-ribbon {
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  color: #192232;
  background: linear-gradient(180deg, #ffe08a 0%, #f4c85b 100%);
  border-radius: 6px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.match-beta-comment-item.is-admin {
  border-color: #324862;
  box-shadow: none;
}

.match-beta-comment-item.is-admin::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 52%;
  border: 1px solid rgba(239, 84, 109, 0.72);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

.match-comment-admin-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #ffe3e8;
  background: rgba(239, 84, 109, 0.18);
  border: 1px solid rgba(239, 84, 109, 0.42);
  vertical-align: middle;
}

.match-comment-menu-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 1px solid #3b5476;
  background: rgba(19, 32, 49, 0.82);
  color: #d8e8ff;
  width: 26px;
  height: 24px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 4;
  font-size: 14px;
  line-height: 1;
}

.match-comment-menu {
  position: absolute;
  top: 34px;
  right: 6px;
  z-index: 5;
  min-width: 132px;
  border: 1px solid #3e5778;
  border-radius: 10px;
  background: #16253a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.match-comment-menu.open-up {
  top: auto;
  bottom: 30px;
}

.match-comment-menu[hidden] {
  display: none;
}

.match-comment-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(71, 95, 129, 0.5);
  background: transparent;
  color: #deebfd;
  text-align: left;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.match-comment-menu button:last-child {
  border-bottom: 0;
}

.match-comment-menu button:hover {
  background: rgba(88, 121, 164, 0.2);
}

.match-comment-menu button.is-danger {
  color: #ffced7;
}

.sl-delete-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(8, 13, 21, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0 10px calc(env(safe-area-inset-bottom) + 10px);
}

.sl-delete-confirm-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sl-delete-confirm-overlay.is-scoped {
  position: absolute;
  inset: 0;
  z-index: 45;
  border-radius: 12px;
  overflow: hidden;
  padding: 0 10px 12px;
  background: rgba(8, 13, 21, 0.42);
}

.sl-delete-confirm-sheet {
  width: min(100%, 540px);
  border: 1px solid #3d5577;
  border-radius: 16px;
  background: linear-gradient(180deg, #1b2a41 0%, #142033 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  padding: 12px 12px 12px;
  transform: translateY(26px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.sl-delete-confirm-overlay.is-open .sl-delete-confirm-sheet {
  transform: translateY(0);
  opacity: 1;
}

.sl-delete-confirm-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(196, 214, 240, 0.52);
  margin: 2px auto 10px;
}

.sl-delete-confirm-sheet h3 {
  margin: 0;
  font-size: 17px;
  color: #eff6ff;
}

.sl-delete-confirm-sheet p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #c3d5ee;
}

.sl-delete-confirm-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sl-delete-confirm-actions button {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #456086;
  background: #1a2a42;
  color: #dbe9fb;
  font-weight: 800;
  cursor: pointer;
}

.sl-delete-confirm-actions button.is-primary {
  border-color: #c84b61;
  background: linear-gradient(180deg, #e4506b 0%, #bf3f57 100%);
  color: #fff5f7;
}

@media (min-width: 1025px) {
  .sl-delete-confirm-overlay {
    align-items: end;
    justify-items: center;
    padding-bottom: 22px;
  }

  .sl-delete-confirm-overlay.is-scoped {
    padding-bottom: 12px;
  }

  .sl-delete-confirm-sheet {
    width: min(640px, 96vw);
    border-radius: 14px;
  }

  .sl-delete-confirm-overlay.is-scoped .sl-delete-confirm-sheet {
    width: min(94%, 520px);
  }
}

@keyframes matchCommentSoftPulse {
  0% {
    transform: translateY(4px);
    opacity: .68;
    box-shadow: 0 0 0 0 rgba(242, 202, 95, 0.56);
  }
  45% {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(242, 202, 95, 0.08);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(242, 202, 95, 0);
  }
}

.match-beta-comment-form {
  border-top: 1px solid #30455f;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.match-beta-comment-form input {
  width: 100%;
  border: 1px solid #395171;
  border-radius: 10px;
  background: #102035;
  color: #f4f7ff;
  padding: 9px 10px;
  font-size: 12px;
}

.match-beta-comment-form.is-inline {
  border-top: 0;
  padding: 6px 0 0;
  gap: 5px;
}

.match-beta-inline-compose {
  position: relative;
  display: block;
}

.match-mention-suggest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 24;
  border: 1px solid #466084;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b2b42 0%, #17243a 100%);
  box-shadow: 0 14px 28px rgba(4, 9, 15, 0.48);
  padding: 5px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  max-height: 230px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 168, 210, 0.86) rgba(20, 32, 49, 0.28);
}

.match-mention-suggest::-webkit-scrollbar {
  width: 4px;
}

.match-mention-suggest::-webkit-scrollbar-track {
  background: rgba(16, 27, 42, 0.42);
  border-radius: 999px;
}

.match-mention-suggest::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(154, 183, 223, 0.9) 0%, rgba(95, 127, 176, 0.9) 100%);
  border-radius: 999px;
}

.match-mention-suggest[hidden] {
  display: none;
}

.match-mention-head {
  font-size: 11px;
  font-weight: 800;
  color: #cfe0f7;
  padding: 2px 4px 5px;
  border-bottom: 1px solid rgba(82, 108, 142, 0.45);
  margin-bottom: 2px;
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #1b2b42 0%, #17243a 100%);
}

.match-mention-empty {
  border: 1px dashed #3c5577;
  border-radius: 9px;
  padding: 8px;
  color: #a9c0e0;
  font-size: 11px;
  font-weight: 700;
  background: rgba(17, 31, 49, 0.75);
}

.match-mention-option {
  border: 1px solid #355173;
  background: rgba(20, 35, 56, 0.95);
  color: #e8f1ff;
  border-radius: 10px;
  min-height: 44px;
  text-align: left;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  cursor: pointer;
  width: 100%;
  min-width: 0;
}

.match-mention-option strong {
  font-size: 12px;
  font-weight: 800;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-mention-option span {
  font-size: 11px;
  color: #bdd1ec;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-mention-option small {
  font-size: 11px;
  color: #9eb5d5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-mention-option:hover,
.match-mention-option.is-active {
  border-color: #6a89b6;
  background: rgba(35, 56, 84, 0.95);
}

.match-beta-inline-compose input {
  min-height: 42px;
  border-radius: 12px;
  padding: 10px 116px 10px 12px;
  border-color: #496487;
  background: linear-gradient(180deg, #0f2238 0%, #10243a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 16px rgba(7, 13, 22, 0.25);
  text-align: left;
  direction: ltr;
}

.match-beta-inline-compose input:focus {
  outline: none;
  border-color: #7f9fc9;
  box-shadow: 0 0 0 2px rgba(126, 165, 217, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.match-beta-inline-compose input:disabled {
  opacity: .72;
  color: #9fb3cd;
  cursor: not-allowed;
}

.match-beta-inline-compose > button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #4a648a;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(43, 68, 103, 0.82) 0%, rgba(36, 58, 89, 0.76) 100%);
  color: #f2f7ff;
  font-size: 11px;
  font-weight: 700;
  min-height: 34px;
  min-width: 76px;
  padding: 0 12px;
  letter-spacing: .1px;
  backdrop-filter: saturate(120%);
  transition: min-width .22s ease, padding .22s ease, gap .22s ease, transform .22s ease;
}

.match-beta-inline-compose > button > span {
  transition: opacity .2s ease, transform .24s ease, max-width .24s ease;
}

.match-beta-inline-compose > button .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  font-size: 11px;
  line-height: 1;
}

.match-beta-inline-compose > button .btn-icon.send {
  transform: translateX(1px);
}

.match-beta-inline-compose > button .btn-icon.send-svg {
  width: 14px;
  height: 14px;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
}

.match-beta-inline-compose > button .btn-icon.spinner {
  border: 2px solid rgba(255, 247, 229, 0.35);
  border-top-color: #fff8e2;
  border-radius: 50%;
  animation: matchBtnSpin .85s linear infinite;
}

.match-beta-inline-compose > button.is-cooldown {
  border-color: #b78a3b;
  background: linear-gradient(180deg, rgba(138, 93, 24, 0.9) 0%, rgba(122, 78, 14, 0.85) 100%);
  color: #fff2d5;
  box-shadow: 0 0 0 1px rgba(204, 154, 68, 0.26), 0 8px 18px rgba(41, 24, 4, 0.36);
}

.match-beta-inline-compose > button.is-busy {
  border-color: #5a7da8;
}

.match-beta-inline-compose.is-typing > button:not(.is-cooldown):not(.is-busy) > span:last-child {
  opacity: 0;
  transform: translateX(5px);
  max-width: 0;
  overflow: hidden;
}

.match-beta-inline-compose.is-typing > button:not(.is-cooldown):not(.is-busy) .send-svg {
  transform: translateX(0) scale(1.04);
}

.match-beta-inline-compose.is-typing > button:not(.is-cooldown):not(.is-busy) {
  min-width: 44px;
  width: 44px;
  padding: 0;
  gap: 0;
}

.match-beta-inline-status {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #9de6ad;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.match-beta-inline-compose.is-success .match-beta-inline-status {
  opacity: 1;
}

.match-beta-inline-compose.is-success input {
  color: transparent;
}

.match-beta-inline-compose.is-success input::placeholder {
  color: transparent;
}

.match-beta-inline-compose > button:disabled {
  opacity: .72;
  cursor: not-allowed;
}

.match-beta-compose-dock {
  border-top: 0;
}

.match-beta-ticker {
  border: 1px solid #3f5d84;
  border-radius: 12px;
  background: linear-gradient(180deg, #11253d 0%, #102035 100%);
  min-height: 48px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.match-beta-ticker > * {
  align-self: center;
}

.match-beta-ticker .ticker-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #d8e8ff;
  background: rgba(53, 85, 125, 0.52);
  border: 1px solid #4f6d97;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.match-beta-ticker .ticker-label .ticker-label-icon {
  width: 16px;
  height: 16px;
  display: block;
}


.match-beta-ticker .ticker-viewport {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.ticker-toggle-btn {
  border: 1px solid #4c6991;
  border-radius: 999px;
  background: rgba(34, 56, 87, 0.65);
  color: #e9f1ff;
  font-size: 11px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  line-height: 1;
  transform: translateY(0.5px);
}

.ticker-toggle-btn:hover {
  border-color: #6d8fbe;
  background: rgba(49, 75, 112, 0.8);
}

.match-beta-ticker .ticker-text {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #eef4ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-beta-ticker .ticker-text.is-anim {
  animation: liveTickerSwap .45s cubic-bezier(.22,.61,.36,1);
}

.match-beta-ticker,
.match-beta-ticker * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.ticker-compose-form {
  display: grid;
}

.match-beta-ticker.is-compose {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 56px;
  padding: 6px 8px;
}

.match-beta-ticker.is-compose .ticker-label,
.match-beta-ticker.is-compose .ticker-viewport {
  display: none;
}

.match-beta-ticker.is-compose .ticker-compose-form {
  display: grid;
  min-width: 0;
}

@media (min-width: 769px) {
  .match-beta-ticker {
    display: none !important;
  }

  .match-beta-compose-dock .match-beta-comment-form {
    display: grid !important;
  }
}

@keyframes liveTickerSwap {
  0% { opacity: .2; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.match-beta-comment-notice {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #f0d98e;
  min-height: 16px;
  padding: 0 1px;
}

.match-beta-comment-notice.error {
  color: #ffb9c2;
}

.sl-comment-notice-popup {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 10px);
  z-index: 220;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s ease;
}

.sl-comment-notice-popup.is-open {
  opacity: 1;
  transform: translateY(0);
}

.sl-comment-notice-popup.is-scoped {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 46;
}

.sl-comment-notice-card {
  border: 1px solid #516d95;
  border-radius: 12px;
  background: linear-gradient(180deg, #22344f 0%, #1a2940 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  padding: 10px 12px;
}

.sl-comment-notice-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  color: #f2f8ff;
}

.sl-comment-notice-card p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #d9e8fb;
}

.sl-comment-notice-popup.is-error .sl-comment-notice-card {
  border-color: #cb5670;
  background: linear-gradient(180deg, #3c1f2a 0%, #2d1720 100%);
}

.sl-comment-notice-popup.is-error .sl-comment-notice-card strong {
  color: #ffe9ef;
}

.sl-comment-notice-popup.is-error .sl-comment-notice-card p {
  color: #ffd2dc;
}

@keyframes matchBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.home-hero-slider {
  position: relative;
  border: 1px solid #32465f;
  border-radius: 16px;
  overflow: hidden;
  background: #0f1928;
  min-height: 0;
  cursor: grab;
  touch-action: pan-y;
}

.home-hero-slider.is-dragging {
  cursor: grabbing;
}

.home-hero-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 70, 70, 0.24) 0%, transparent 44%),
    linear-gradient(140deg, #2a3954 0%, #17263b 44%, #121c2c 100%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.08) 0%, rgba(8, 12, 20, 0.52) 100%),
    linear-gradient(90deg, rgba(10, 18, 31, 0.52) 0%, rgba(10, 18, 31, 0.22) 56%, rgba(10, 18, 31, 0.08) 100%);
}

.hero-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #ff6670;
  background: linear-gradient(180deg, rgba(255, 69, 79, 0.95) 0%, rgba(204, 34, 47, 0.92) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22px;
  text-transform: uppercase;
}

.hero-slide-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.hero-slide-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(129, 160, 206, 0.68);
  background: rgba(24, 38, 59, 0.78);
  color: #e7f0ff;
  font-size: 10px;
  font-weight: 700;
}

.hero-slide-body {
  max-width: min(72ch, 78%);
  display: grid;
  gap: 7px;
}

.hero-slide-body h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
  color: #f6faff;
  text-shadow: 0 3px 12px rgba(8, 12, 18, 0.32);
}

.hero-slide-body p {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.4;
  color: #d8e7ff;
  max-width: 72ch;
}

.hero-slide-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #6e8ebd;
  background: linear-gradient(180deg, rgba(41, 67, 103, 0.95) 0%, rgba(30, 52, 80, 0.93) 100%);
  color: #f0f6ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.hero-slide-cta:hover {
  border-color: #95b5e5;
  background: linear-gradient(180deg, rgba(54, 84, 125, 0.98) 0%, rgba(36, 62, 95, 0.96) 100%);
}

.hero-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #5879a5;
  background: rgba(16, 28, 44, 0.75);
  color: #f2f7ff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  cursor: pointer;
}

.hero-slide-nav.is-prev { left: 10px; }
.hero-slide-nav.is-next { right: 10px; }

.hero-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(196, 215, 241, 0.75);
  background: rgba(18, 32, 50, 0.8);
  cursor: pointer;
}

.hero-slide-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #d8e7ff 100%);
  border-color: rgba(255, 255, 255, 0.95);
}

.home-app-hero {
  border: 1px solid #32445f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% -20%, rgba(255, 61, 61, 0.22) 0%, transparent 45%),
    linear-gradient(160deg, #1a273d 0%, #121b2a 70%, #0f1825 100%);
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: stretch;
}

.hero-kicker {
  font-size: 11px;
  color: #a9bfdc;
  margin-bottom: 7px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.hero-main h1 {
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 7px;
}

.hero-main p {
  color: #b8c8df;
  font-size: 13px;
  line-height: 1.45;
}

.hero-pills {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #425a7e;
  background: rgba(29, 43, 63, 0.92);
  color: #e0ebfa;
  font-size: 11px;
  font-weight: 600;
}

.hero-clock-card,
.hero-weather-card {
  min-width: 170px;
  border: 1px solid #425a7f;
  border-radius: 14px;
  background: linear-gradient(170deg, #1b2a40 0%, #152033 100%);
  padding: 12px 62px 11px 10px;
  position: relative;
  overflow: hidden;
}

.hero-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #4f688f;
  background: linear-gradient(170deg, #22344f 0%, #18273d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  margin: 0;
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
}

.hero-icon svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.hero-clock-card {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding-top: 14px;
}

.hero-clock-icon .clock-ring {
  fill: none;
  stroke: #9cc0f5;
  stroke-width: 3.2;
}

.hero-clock-icon .clock-core {
  fill: #f4f8ff;
}

.hero-clock-icon .clock-hand-hour,
.hero-clock-icon .clock-hand-minute {
  stroke: #f6f9ff;
  stroke-width: 3.1;
  stroke-linecap: round;
  transform-origin: 32px 32px;
  animation: none;
  will-change: transform;
}

.hero-clock-icon .clock-hand-hour {
  transform: rotate(var(--clock-hour-rot, 0deg));
  transition: transform .25s linear;
}

.hero-clock-icon .clock-hand-minute {
  stroke: #ff6a6a;
  transform: rotate(var(--clock-minute-rot, 0deg));
  transition: transform .18s linear;
}

.hero-clock-card strong {
  font-size: 31px;
  line-height: 1;
  letter-spacing: .4px;
}

.hero-clock-card span {
  margin-top: 5px;
  color: #b7c7df;
  font-size: 11px;
}

.hero-clock-card small {
  margin-top: 4px;
  color: #d6e1f3;
  font-size: 11px;
  font-weight: 700;
}

.weather-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #b8c9e3;
}

.weather-head b {
  color: #fff;
}

.weather-main {
  margin-top: 7px;
}

.hero-weather-icon .weather-sun {
  fill: #ffd15a;
  filter: drop-shadow(0 0 6px rgba(255, 209, 90, 0.45));
}

.hero-weather-icon .weather-rays path {
  stroke: #ffd977;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-weather-icon .weather-rays {
  transform-origin: 24px 22px;
  animation: heroSunSpin 8s linear infinite;
}

.hero-weather-icon .weather-cloud {
  fill: #e8f0ff;
  opacity: .93;
  animation: heroCloudFloat 2.8s ease-in-out infinite;
}

.weather-main strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.weather-main p {
  margin-top: 4px;
  font-size: 12px;
  color: #d6e3f8;
}

.hero-weather-card small {
  margin-top: 6px;
  display: block;
  font-size: 11px;
  color: #b9cae4;
}

.home-shortcuts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shortcut-card {
  text-decoration: none;
  color: #f3f7ff;
  border: 1px solid #354963;
  border-radius: 14px;
  background: linear-gradient(165deg, #1a2639 0%, #131d2d 100%);
  padding: 12px;
  display: grid;
  gap: 5px;
  min-height: 118px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.shortcut-card:hover {
  transform: translateY(-2px);
  border-color: #55729b;
  box-shadow: 0 10px 22px rgba(7, 13, 22, 0.4);
}

.shortcut-card .sc-title {
  color: #a9bfdc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.shortcut-card strong {
  font-size: 29px;
  line-height: 1.1;
  color: #fff;
}

.shortcut-card small {
  color: #b8c7dc;
  font-size: 11px;
}

.shortcut-card.is-live { border-color: rgba(255, 74, 74, 0.52); }
.shortcut-card.is-vod { border-color: rgba(92, 170, 255, 0.5); }
.shortcut-card.is-match { border-color: rgba(124, 218, 179, 0.45); }
.shortcut-card.is-admin { border-color: rgba(216, 191, 121, 0.45); }

.home-action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid #334b67;
  border-radius: 12px;
  background: #18263a;
  padding: 11px;
  color: #ebf2ff;
}

.action-tile:hover {
  border-color: #56749f;
  background: #1b2d44;
}

.tile-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid #456187;
  display: grid;
  place-items: center;
  color: #f1f6ff;
  background: linear-gradient(170deg, #233652 0%, #1b2c44 100%);
  flex: 0 0 auto;
}

.tile-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.action-tile strong {
  display: block;
  font-size: 13px;
}

.action-tile small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #b9cade;
}

.home-stream {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.home-dashboard-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stream-card {
  border: 1px solid #30445f;
  border-radius: 14px;
  background: linear-gradient(170deg, #182337 0%, #121b2a 100%);
  padding: 12px;
}

.home-widget-card {
  min-height: 214px;
}

.home-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.home-widget-head h2 {
  margin: 0;
}

.home-widget-head a {
  text-decoration: none;
  font-size: 11px;
  color: #bdd0eb;
  border: 1px solid #3f5678;
  border-radius: 999px;
  padding: 4px 9px;
  background: #1b2a41;
}

.home-widget-head a:hover,
.home-widget-head a:focus-visible {
  border-color: #5f80ad;
  background: #21324c;
  color: #ffffff;
  outline: none;
}

.home-widget-list,
.home-pulse-list,
.home-widget-timeline {
  list-style: none;
  display: grid;
  gap: 7px;
}

.home-widget-list li,
.home-pulse-list li,
.home-widget-timeline li {
  border: 1px solid #334960;
  border-radius: 10px;
  background: #19253a;
  padding: 9px 10px;
}

.home-widget-list li a {
  text-decoration: none;
  display: grid;
  gap: 3px;
}

.home-widget-list li a:focus-visible {
  outline: 2px solid #86aee5;
  outline-offset: 2px;
  border-radius: 8px;
}

.home-widget-list li.is-empty {
  color: #bcd0eb;
  font-size: 12px;
}

.widget-main {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #f2f7ff;
}

.widget-meta {
  display: block;
  font-size: 11px;
  color: #b4c8e4;
}

.home-pulse-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-pulse-list span {
  font-size: 12px;
  color: #c9d8ec;
}

.home-pulse-list b {
  font-size: 13px;
  color: #f5f8ff;
}

.home-widget-timeline span {
  display: block;
  font-size: 11px;
  color: #b6c8e0;
}

.home-widget-timeline b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #f5f8ff;
}

.shortcut-card,
.action-tile,
.home-stream-card,
.home-info-strip article {
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}

.home-stream-card h2 {
  font-size: 15px;
  margin-bottom: 10px;
}

.home-comments-card {
  padding: 12px;
}

.home-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.home-comments-head a {
  text-decoration: none;
  font-size: 11px;
  color: #bdd0eb;
  border: 1px solid #3f5678;
  border-radius: 999px;
  padding: 4px 9px;
  background: #1b2a41;
}

.home-comments-list {
  display: grid;
  gap: 8px;
}

.home-comment-item {
  border: 1px solid #324a67;
  border-radius: 11px;
  background: #172437;
  padding: 10px;
}

.home-comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #466287;
  background: #223451;
  color: #e6effd;
  font-size: 10px;
  font-weight: 700;
}

.home-comment-top small {
  color: #a8bbd6;
  font-size: 11px;
}

.home-comment-item strong {
  display: block;
  font-size: 13px;
  color: #f7faff;
  line-height: 1.3;
}

.home-comment-item p {
  margin-top: 4px;
  color: #c8d6ea;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.home-comment-item.is-pending .comment-type-chip {
  border-color: rgba(236, 185, 72, 0.65);
  background: rgba(92, 72, 27, 0.95);
  color: #ffe8b0;
}

.stream-list {
  list-style: none;
  display: grid;
  gap: 7px;
}

.stream-list li {
  border: 1px solid #334960;
  border-radius: 10px;
  background: #19253a;
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.stream-list span { color: #c9d8ec; }
.stream-list b { color: #f5f8ff; }

.home-link-list {
  display: grid;
  gap: 7px;
}

.home-link-list a {
  text-decoration: none;
  color: #e9f0fd;
  border: 1px solid #364c68;
  border-radius: 10px;
  background: #182338;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 600;
}

.home-link-list a:hover {
  border-color: #57739f;
  background: #1c2a41;
}

.home-info-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-info-strip article {
  border: 1px solid #32465f;
  border-radius: 12px;
  background: #172437;
  padding: 10px;
}

.home-info-strip span {
  display: block;
  font-size: 11px;
  color: #b6c8e0;
}

.home-info-strip b {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  color: #fff;
}

@keyframes heroClockHour {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroClockMinute {
  from { transform: rotate(0deg); }
  to { transform: rotate(720deg); }
}

@keyframes heroSunSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroCloudFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(1.4px) translateY(-1px); }
}

@media (max-width: 1200px) {
  .home-match-beta {
    position: static;
    top: auto;
  }

  .match-beta-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .match-beta-player-wrap,
  .match-beta-player,
  .match-beta-embed {
    min-height: 0;
  }

  .home-app-hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-main {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .home-hero-slider {
    border-radius: 14px;
  }

  .home-hero-slider-viewport {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
  }

  .hero-slide-overlay {
    padding: 13px 13px 12px;
  }

  .hero-slide-body {
    max-width: 88%;
  }

  .hero-slide-nav {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .home-app-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-main {
    grid-column: 1 / -1;
  }

  .hero-clock-card,
  .hero-weather-card {
    min-width: 0;
    padding: 10px 56px 10px 9px;
    border-radius: 12px;
  }

  .hero-icon {
    width: 42px;
    height: 42px;
  }

  .hero-icon svg {
    width: 29px;
    height: 29px;
  }

  .hero-clock-card strong {
    font-size: 26px;
  }

  .weather-main strong {
    font-size: 24px;
  }

  .home-shortcuts,
  .home-action-grid,
  .home-info-strip,
  .home-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stream {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero-slider {
    border-radius: 12px;
    border: 1px solid #32465f;
    margin-inline: 0;
    width: 100%;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .home-hero-slider-viewport {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
  }

  .hero-slide-overlay {
    padding: 11px 10px 10px;
    gap: 9px;
  }

  .hero-slide-badge {
    min-height: 22px;
    padding: 0 9px;
    font-size: 10px;
  }

  .hero-slide-tags {
    gap: 5px;
  }

  .home-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide-tags span {
    min-height: 20px;
    padding: 0 7px;
    font-size: 9px;
  }

  .hero-slide-body {
    max-width: 100%;
    gap: 6px;
  }

  .hero-slide-body h2 {
    font-size: clamp(17px, 6vw, 24px);
  }

  .hero-slide-body p {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-slide-cta {
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
  }

  .hero-slide-nav {
    display: none;
  }

  .hero-slide-dots {
    bottom: 7px;
    gap: 6px;
  }

  html.home-ptr-locked,
  body.home-ptr-locked {
    overscroll-behavior-y: none;
  }

  .home-layout {
    padding: var(--header-h) 10px calc(var(--mobile-nav-h) + 12px);
    gap: 10px;
  }

  .home-app-hero {
    border-radius: 13px;
    padding: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-main {
    grid-column: 1 / -1;
  }

  .hero-clock-card,
  .hero-weather-card {
    padding: 9px 52px 9px 8px;
    border-radius: 11px;
  }

  .hero-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    top: 8px;
    right: 8px;
  }

  .hero-icon svg {
    width: 25px;
    height: 25px;
  }

  .hero-clock-card strong {
    font-size: 22px;
  }

  .hero-clock-card span,
  .hero-clock-card small,
  .weather-head,
  .weather-main p,
  .hero-weather-card small {
    font-size: 10px;
  }

  .weather-main strong {
    font-size: 20px;
  }

  .home-match-beta {
    border-radius: 0;
    border: 0;
    margin-inline: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
    padding: 0 0 9px;
    gap: 9px;
  }

  .match-beta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .match-beta-main { gap: 10px; }

  .match-beta-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .match-beta-kicker {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .match-beta-head h2 {
    font-size: 19px;
    line-height: 1.18;
    letter-spacing: .1px;
  }

  .match-beta-head p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.35;
  }

  .match-beta-meta {
    gap: 5px;
    justify-items: end;
  }

  .match-live-dot {
    min-height: 22px;
    padding: 0 9px;
    font-size: 10px;
  }

  .match-beta-player-wrap,
  .match-beta-player,
  .match-beta-embed {
    min-height: 0;
  }
  .match-beta-player-wrap {
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
  }

  .match-beta-comments {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-sizing: border-box;
  }

  .match-beta-player-wrap[data-ratio="9:16"] {
    aspect-ratio: 9 / 16;
    max-height: min(70vh, 620px);
  }

  body.home-live-9x16-active .home-layout {
    padding-top: var(--header-h);
  }

  body.home-live-9x16-active .home-match-beta {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-inline: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
    padding: 0 0 8px;
  }

  body.home-live-9x16-active .home-match-beta .match-beta-grid {
    gap: 8px;
  }

  body.home-live-9x16-active .home-match-beta .match-beta-main {
    gap: 8px;
  }

  body.home-live-9x16-active .home-match-beta .match-beta-player-wrap {
    width: 100%;
    max-width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    max-height: none;
    aspect-ratio: 9 / 16;
    box-sizing: border-box;
  }

  body.home-live-9x16-active .home-match-beta .match-beta-head {
    width: 100%;
    margin-inline: 0;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled .match-beta-comments {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 8px);
    height: var(--match-sheet-height, 62px);
    min-height: 62px;
    max-height: calc(92vh - var(--header-h));
    margin: 0;
    border-radius: 16px 16px 0 0;
    z-index: 188;
    transition: height .16s cubic-bezier(.22,.61,.36,1), box-shadow .16s ease, border-color .16s ease;
    box-shadow: 0 -14px 34px rgba(6, 12, 20, 0.52);
    border-color: #48648e;
    overflow: hidden;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-comments {
    display: flex;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    height: 0;
    min-height: 0;
    max-height: 0;
    overflow: visible;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="half"] .match-beta-comments,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="full"] .match-beta-comments {
    display: flex;
    pointer-events: auto;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="full"] .match-beta-comments {
    bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 8px);
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled .match-beta-comments-head {
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 8px;
    cursor: ns-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    position: relative;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-comments-head {
    display: none;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="half"] .match-beta-comments-head,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="full"] .match-beta-comments-head {
    display: flex;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled .match-beta-comments-head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 44px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(193, 214, 243, 0.62);
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled .match-beta-comments-head::after {
    content: "Kayd\0131r/Kapat";
    position: absolute;
    left: 50%;
    top: 13px;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: rgba(190, 208, 234, 0.78);
    letter-spacing: .2px;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-tab-panel {
    display: none;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker {
    border-color: #4c6991;
    box-shadow: 0 8px 18px rgba(6, 12, 20, 0.34);
    display: grid !important;
    position: relative;
    touch-action: none;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: rgba(198, 217, 242, 0.68);
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker {
    padding-top: 6px;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-compose-form {
    display: none !important;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-label,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-viewport,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-toggle-btn {
    align-self: center;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-label {
    display: inline-flex;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-viewport {
    display: flex;
    align-items: center;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-ticker .ticker-toggle-btn {
    display: inline-flex;
    align-items: center;
    transform: translateY(-1px);
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="half"] .match-beta-ticker,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="full"] .match-beta-ticker {
    display: none !important;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="half"] .match-beta-compose-dock .match-beta-comment-form,
  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="full"] .match-beta-compose-dock .match-beta-comment-form {
    display: grid !important;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-compose-dock .match-beta-comment-form {
    display: none !important;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled[data-sheet-state="peek"] .match-beta-comments {
    display: flex !important;
  }

  body.home-live-9x16-active .home-match-beta.mobile-sheet-enabled .match-beta-comment-list {
    max-height: none;
    padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 8px);
  }

  body.home-live-9x16-active .bottom-nav {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2200;
  }

  .match-beta-comments {
    border-radius: 12px;
    max-height: min(52vh, 420px);
    min-height: 285px;
    width: auto;
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    margin-inline: 10px;
    border-left: 1px solid #344b68;
    border-right: 1px solid #344b68;
    box-sizing: border-box;
  }

  .match-beta-comments-head {
    min-height: 44px;
    padding: 7px 10px;
  }

  .match-beta-comments-head small {
    font-size: 10px;
  }

  .match-beta-typing-hint {
    font-size: 10px;
    gap: 5px;
  }

  .match-beta-tabs {
    gap: 7px;
    padding: 8px 10px 6px;
    border-bottom: 1px solid rgba(57, 81, 113, 0.68);
  }

  .match-beta-tab {
    flex: 1 1 0;
    min-height: 33px;
    border-radius: 11px;
    font-size: 12px;
    padding: 0 10px;
    background: linear-gradient(180deg, #1c2d45 0%, #18273c 100%);
    border-color: #415b80;
    color: #d3e3f8;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  }

  .match-beta-tab.active {
    border-color: #deecff;
    background: linear-gradient(180deg, #f8fbff 0%, #e9f2ff 100%);
    color: #142742;
    box-shadow: 0 6px 16px rgba(12, 20, 31, 0.28);
  }

  .match-beta-tab-panel.is-active {
    overflow: hidden;
  }

  .match-beta-comment-list {
    min-height: 122px;
    padding: 7px;
    gap: 8px;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .match-beta-comment-item {
    border-radius: 9px;
    padding: 8px;
  }

  .match-beta-comment-form {
    gap: 8px;
    padding: 8px;
  }

  .match-beta-comment-form input {
    border-radius: 10px;
    padding: 9px 102px 9px 10px;
  }

  .match-beta-comment-notice {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
  }

  .match-beta-inline-compose > button {
    min-height: 32px;
    border-radius: 10px;
    min-width: 70px;
    padding: 0 10px;
  }

  .match-beta-inline-compose.is-typing > button:not(.is-cooldown):not(.is-busy) {
    min-width: 40px;
    width: 40px;
  }

  .match-mention-suggest {
    max-height: min(36vh, 220px);
    border-radius: 11px;
  }

  .match-beta-compose-dock {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .match-beta-ticker {
    min-height: 46px;
    border-radius: 11px;
    padding: 0 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
  }

  .match-beta-ticker .ticker-label {
    width: 24px;
    height: 24px;
  }

  .match-beta-ticker .ticker-label .ticker-label-icon {
    width: 14px;
    height: 14px;
  }

  .match-beta-ticker .ticker-text {
    font-size: 12px;
  }

  .ticker-toggle-btn {
    min-height: 30px;
    font-size: 10px;
    padding: 0 11px;
    margin: 0;
    transform: none;
  }

  .match-beta-ticker.is-compose {
    min-height: 50px;
    padding: 5px 7px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .match-beta-compose-dock .match-beta-comment-form {
    padding: 0;
    border-top: 0;
  }

  .home-match-beta.mobile-compose-hidden .match-beta-compose-dock {
    display: none;
  }

  .home-match-beta.compose-focus-mobile .match-beta-grid { gap: 10px; }

  /* iOS Safari: focus zoom sorununu engelle (input font-size <16px) */
  @supports (-webkit-touch-callout: none) {
    .match-beta-inline-compose input {
      font-size: 16px !important;
      line-height: 1.2;
    }
  }

  @supports (padding: max(0px)) {
    .home-layout {
      padding-top: max(var(--header-h), env(safe-area-inset-top));
    }
  }

  .hero-main h1 {
    font-size: 22px;
  }

  .hero-main p {
    font-size: 12px;
  }

  .hero-pills {
    gap: 6px;
  }

  .hero-pills span {
    min-height: 22px;
    font-size: 10px;
    padding: 0 8px;
  }

  .hero-clock-card strong {
    font-size: 26px;
  }

  .weather-main strong {
    font-size: 24px;
  }

  .home-shortcuts,
  .home-action-grid,
  .home-info-strip,
  .home-dashboard-grid {
    gap: 8px;
  }

  .shortcut-card {
    min-height: 102px;
    border-radius: 12px;
    padding: 10px;
  }

  .shortcut-card strong {
    font-size: 24px;
  }

  .action-tile {
    border-radius: 11px;
    padding: 9px;
  }

  .tile-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .home-stream-card {
    border-radius: 12px;
    padding: 10px;
  }

  .home-info-strip b {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .match-beta-comments {
    max-height: min(50vh, 390px);
    min-height: 270px;
  }
}

/* Home V2 */
.home-v2-hero {
  border: 1px solid #32445f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% -20%, rgba(255, 61, 61, 0.22) 0%, transparent 45%),
    linear-gradient(160deg, #1a273d 0%, #121b2a 70%, #0f1825 100%);
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: stretch;
}

.home-v2-hero-main h1 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 7px;
}

.home-v2-hero-main p {
  color: #b8c8df;
  font-size: 13px;
  line-height: 1.45;
}

.home-v2-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-v2-metric-card {
  border: 1px solid #354963;
  border-radius: 14px;
  background: linear-gradient(165deg, #1a2639 0%, #131d2d 100%);
  padding: 12px;
  display: grid;
  gap: 5px;
  min-height: 110px;
}

.home-v2-metric-card span {
  color: #a9bfdc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-v2-metric-card b {
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.home-v2-metric-card small {
  color: #b8c7dc;
  font-size: 11px;
}

.home-v2-metric-card small a {
  color: #dbe8fb;
  text-decoration: none;
  border-bottom: 1px dashed rgba(185, 206, 238, 0.45);
}

.home-v2-metric-card.is-live { border-color: rgba(255, 74, 74, 0.52); }
.home-v2-metric-card.is-kaza { border-color: rgba(92, 170, 255, 0.5); }
.home-v2-metric-card.is-match { border-color: rgba(124, 218, 179, 0.45); }
.home-v2-metric-card.is-audience { border-color: rgba(135, 155, 255, 0.45); }
.home-v2-metric-card.is-ratio { border-color: rgba(173, 149, 255, 0.45); }
.home-v2-metric-card.is-admin { border-color: rgba(216, 191, 121, 0.45); }

.home-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 10px;
}

.home-v2-main,
.home-v2-side {
  display: grid;
  gap: 10px;
}

.home-v2-radar-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
}

.home-v2-module {
  min-height: 0;
}

@media (max-width: 1280px) {
  .home-v2-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-v2-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2-hero-main {
    grid-column: 1 / -1;
  }

  .home-v2-layout {
    grid-template-columns: 1fr;
  }

  .home-v2-radar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-v2-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2-hero-main h1 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .home-v2-metrics {
    grid-template-columns: 1fr;
  }

  .home-v2-hero {
    grid-template-columns: 1fr;
  }
}

/* Top Combo (slider + right widgets in one master card) */
.home-v2-top-combo {
  border: 1px solid #32445f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% -20%, rgba(255, 61, 61, 0.18) 0%, transparent 45%),
    linear-gradient(160deg, #1a273d 0%, #121b2a 70%, #0f1825 100%);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .95fr);
  gap: 12px;
}

.home-hero-slider-combo {
  margin: 0 auto;
  width: min(100%, 960px);
  border-radius: 14px;
}

.home-v2-top-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
}

.home-v2-side-intro {
  border: 1px solid #3b5272;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(27, 44, 70, 0.84) 0%, rgba(18, 30, 48, 0.9) 100%);
  padding: 12px;
}

.home-v2-side-intro h1 {
  font-size: 26px;
  line-height: 1.06;
  margin-bottom: 6px;
}

.home-v2-side-intro p {
  color: #b8c8df;
  font-size: 13px;
  line-height: 1.42;
}

.home-v2-top-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  align-content: start;
}

@media (min-width: 769px) {
  /* Desktop: intro card hidden, single live card fills slider height */
  .home-v2-side-intro {
    display: none;
  }

  .home-v2-top-side {
    grid-template-rows: minmax(0, 1fr);
  }

  .home-v2-top-widgets {
    height: 100%;
    align-content: stretch;
  }

  .home-v2-top-combo .hero-single-live-card {
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .home-v2-top-combo .hero-single-live-wrap {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}

.hero-mobile-meta-card { display: none; }

.home-v2-top-combo .hero-mini-card {
  min-width: 0;
  border-radius: 12px;
  border-color: #46658f;
  background: linear-gradient(170deg, #1b2e4a 0%, #14253b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  border: 1px solid #46658f;
  min-height: 96px;
  padding: 10px 12px;
}

.home-v2-top-combo .hero-mini-card .hero-mini-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #3f628d;
  background: rgba(18, 34, 56, 0.72);
  color: #c2d7f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22px;
  text-transform: uppercase;
}

.home-v2-top-combo .hero-mini-icon {
  border: 1px solid #4f688f;
  background: linear-gradient(170deg, #22344f 0%, #18273d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}

.home-v2-top-combo .hero-mini-icon svg {
  width: 31px;
  height: 31px;
  overflow: visible;
}

.home-v2-top-combo .hero-mini-card .hero-mini-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-v2-top-combo .hero-now-card,
.home-v2-top-combo .hero-actions-card {
  display: grid;
  gap: 8px;
}

.home-v2-top-combo .hero-single-live-wrap {
  position: relative;
  border: 1px solid #3f628b;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1727;
  aspect-ratio: 16 / 9;
}

.home-v2-top-combo .hero-single-live-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #0d1727;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Top-right mini live player must not show native HTML5 controls */
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-enclosure,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-panel,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-play-button,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-timeline,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-current-time-display,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-time-remaining-display,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-volume-slider,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-mute-button,
.home-v2-top-combo .hero-single-live-player::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

.home-v2-top-combo .hero-single-live-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  color: #d8e8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1px;
  background: transparent;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.home-v2-top-combo .hero-traffic-list li {
  align-items: flex-start;
}

.home-v2-top-combo .hero-traffic-list b {
  max-width: 68%;
}

.home-v2-top-combo .hero-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-v2-top-combo .hero-mini-head.is-left {
  justify-content: flex-start;
}

.home-v2-top-combo .hero-mini-head strong {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #ecf4ff;
  text-align: right;
}

.home-v2-top-combo .hero-now-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #3e5f88;
  background: rgba(16, 30, 50, 0.74);
}

.home-v2-top-combo .hero-now-status {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-v2-top-combo .hero-now-status b {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: .2px;
  color: #ecf5ff;
}

.home-v2-top-combo .hero-now-status em {
  margin: 0;
  font-style: normal;
  font-size: 11px;
  line-height: 1.2;
  color: #b8cde9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-v2-top-combo .hero-now-weather {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: end !important;
  align-items: end;
  margin-left: auto;
  text-align: right !important;
}

.home-v2-top-combo .hero-now-weather b {
  margin: 0;
  color: #f0f7ff;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right !important;
  width: 100%;
}

.home-v2-top-combo .hero-now-weather em,
.home-v2-top-combo .hero-now-weather i {
  margin: 0;
  font-style: normal;
  color: #c8dbf4;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right !important;
  width: 100%;
}

.home-v2-top-combo .hero-now-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-v2-top-combo .hero-now-chips li {
  display: grid;
  gap: 2px;
  min-height: 50px;
  align-content: center;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid #3e5f88;
  background: rgba(17, 33, 55, 0.68);
}

.home-v2-top-combo .hero-now-chips span {
  color: #bdd2ef;
  font-size: 10px;
  line-height: 1.2;
}

.home-v2-top-combo .hero-now-chips b {
  color: #f0f6ff;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-v2-top-combo .hero-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.home-v2-top-combo .hero-status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid #3e5f88;
  background: rgba(17, 33, 55, 0.68);
}

.home-v2-top-combo .hero-status-list span {
  color: #bdd2ef;
  font-size: 11px;
}

.home-v2-top-combo .hero-status-list b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f0f6ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  justify-content: flex-end;
  max-width: 64%;
  white-space: normal;
  word-break: break-word;
}

.home-v2-top-combo .hero-status-list b em {
  font-style: normal;
}

.home-v2-top-combo .hero-actions-card {
  display: grid;
  gap: 8px;
}

.home-v2-top-combo .hero-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.home-v2-top-combo .hero-actions-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid #446790;
  background: rgba(20, 38, 62, 0.85);
  color: #e7f1ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease;
}

.home-v2-top-combo .hero-actions-grid a:hover {
  background: #213e63;
  border-color: #5a82b4;
}

@media (max-width: 1320px) {
  .home-v2-top-combo .hero-now-status b {
    font-size: 15px;
  }
}

.home-right-tabs {
  border: 1px solid #3a5477;
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(25, 40, 63, 0.9) 0%, rgba(18, 30, 47, 0.95) 100%);
  padding: 10px;
  min-height: 356px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
}

.home-right-tabs-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-right-tabs-head::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-right-tab-btn {
  min-height: 34px;
  flex: 0 0 auto;
  min-width: 112px;
  border-radius: 999px;
  border: 1px solid #3d5b82;
  background: #1a2b43;
  color: #d3e4fa;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.home-right-tab-btn.is-active {
  border-color: #dceafe;
  background: linear-gradient(180deg, #f5f9ff 0%, #e8f1ff 100%);
  color: #12243e;
}

.home-right-tabs-body {
  min-height: 0;
  position: relative;
}

.home-right-tab-panel {
  display: none;
  height: 100%;
}

.home-right-tab-panel.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
}

.home-right-featured {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(76, 103, 139, 0.56);
  border-radius: 11px;
  background: rgba(18, 31, 48, 0.76);
  overflow: hidden;
}

.home-right-featured-media {
  display: block;
  height: 100%;
  min-height: 72px;
  background: #101b2b;
}

.home-right-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-right-featured-body {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 7px 8px 7px 0;
}

.home-right-featured-body strong {
  font-size: 13px;
  line-height: 1.3;
  color: #edf5ff;
}

.home-right-featured-body small {
  font-size: 11px;
  color: #a9c0df;
}

.home-right-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}

.home-right-summary-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-right-summary-list li a {
  display: grid;
  gap: 2px;
  text-decoration: none;
  border: 1px solid rgba(68, 94, 128, 0.5);
  border-radius: 9px;
  padding: 6px 8px;
  background: rgba(18, 31, 49, 0.75);
}

.home-right-summary-list li a strong {
  font-size: 12px;
  color: #e5f0ff;
}

.home-right-summary-list li a small {
  font-size: 11px;
  color: #a8c0df;
}

.home-fixture-item {
  gap: 6px !important;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  position: relative;
  padding-right: 88px !important;
}

.home-fixture-item:hover {
  border-color: rgba(98, 138, 191, 0.72) !important;
  background: rgba(24, 39, 62, 0.9) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(6, 13, 24, 0.28);
}

.home-fixture-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.home-fixture-top strong {
  min-width: 0;
  line-height: 1.3;
}

.home-fixture-week {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 26px;
  min-width: 68px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #234a7a;
  background: #153764;
  color: #edf4ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  white-space: nowrap;
}

.home-fixture-subline {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  color: #9eb7d8 !important;
}

.home-right-summary-list .is-empty {
  border: 1px dashed rgba(69, 95, 129, 0.7);
  border-radius: 9px;
  padding: 10px;
  color: #aac1de;
  font-size: 12px;
}

.home-right-standings-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.home-right-standings-head strong {
  font-size: 13px;
  color: #edf5ff;
}

.home-right-standings-head small {
  font-size: 11px;
  color: #aac2df;
}

.home-right-standings-table-wrap {
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(68, 94, 128, 0.52);
  border-radius: 10px;
  background: rgba(18, 31, 49, 0.72);
  scrollbar-width: none;
}

.home-right-standings-table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-right-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.home-right-standings-table th,
.home-right-standings-table td {
  padding: 6px 7px;
  border-bottom: 1px solid rgba(66, 92, 124, 0.5);
  text-align: left;
}

.home-right-standings-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #1c2d45;
  color: #bdd1ec;
}

.home-right-standings-table tr.is-sariyer td {
  color: #ffd8df;
  background: rgba(95, 31, 47, 0.25);
}

.home-right-standings-table tr:last-child td {
  border-bottom: 0;
}

.home-right-standings-footer {
  margin-top: auto;
}

.home-right-standings-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid #4a6b96;
  background: linear-gradient(180deg, #1f3350 0%, #1a2b43 100%);
  color: #e8f3ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .home-v2-top-combo {
    grid-template-columns: 1fr;
  }

  .home-v2-top-side {
    grid-template-columns: 1fr;
  }

  .home-right-tabs {
    min-height: 330px;
  }
}

@media (max-width: 768px) {
  .home-v2-top-combo {
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .home-v2-top-widgets {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-v2-top-combo .hero-mini-card {
    display: none;
  }

  /* Mobile: keep single live player visible */
  .home-v2-top-combo .hero-mini-card.hero-single-live-card {
    display: grid;
  }

  .hero-mobile-meta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "left right"
      "date date";
    gap: 8px 10px;
    align-items: center;
    border: 1px solid #46658f;
    border-radius: 12px;
    background: linear-gradient(170deg, #1b2e4a 0%, #14253b 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    padding: 10px;
  }

  .hero-mobile-meta-card .meta-left,
  .hero-mobile-meta-card .meta-right {
    min-width: 0;
  }
  .hero-mobile-meta-card .meta-left { grid-area: left; }
  .hero-mobile-meta-card .meta-right { grid-area: right; }

  .hero-mobile-meta-card .meta-left strong,
  .hero-mobile-meta-card .meta-right strong {
    display: block;
    margin: 0;
    line-height: 1;
    font-size: 24px;
    color: #f3f7ff;
    white-space: nowrap;
  }

  .hero-mobile-meta-card .meta-right {
    text-align: right;
  }

  .hero-mobile-meta-card .meta-right span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.25;
    color: #bdd0ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-mobile-meta-card .meta-date {
    grid-area: date;
    margin: 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
    color: #bdd0ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-hero-slider-combo {
    margin-inline: 0;
    width: 100%;
    border-radius: 0;
    border: none;
  }

  .home-dashboard-top > #homeHeroSlider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .home-hero-slider {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }

  .home-right-tabs {
    min-height: 390px;
    border-radius: 12px;
    padding: 9px;
  }

  .home-right-tab-btn {
    min-width: 98px;
    font-size: 11px;
  }

  .home-right-summary-list {
    max-height: min(54vh, 460px);
  }

  .home-right-featured {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  html, body, .home-layout {
    overflow-x: hidden !important;
  }

  /* Slider full-bleed: do not clip negative margins on mobile */
  .home-dashboard-top {
    overflow-x: visible !important;
  }

}

/* Home V2 Premium Blocks (non-live sections) */
.home-v2-command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-v2-command-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid #355175;
  border-radius: 14px;
  background: linear-gradient(165deg, #1a2a41 0%, #142136 100%);
  min-height: 104px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 5px;
  text-decoration: none;
  color: #f0f6ff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-v2-command-tile::after {
  content: '';
  position: absolute;
  inset: -38% -16% auto auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(134, 178, 240, 0.14);
  filter: blur(2px);
  pointer-events: none;
}

.home-v2-command-tile:hover {
  transform: translateY(-2px);
  border-color: #4e729f;
  box-shadow: 0 10px 22px rgba(4, 9, 16, 0.34);
}

.home-v2-command-tile .tile-kicker {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .26px;
  color: #a7bfde;
}

.home-v2-command-tile strong {
  font-size: 18px;
  line-height: 1.1;
}

.home-v2-command-tile small {
  font-size: 12px;
  color: #b9cce8;
  line-height: 1.38;
}

.home-v2-command-tile.is-live { border-color: rgba(226, 96, 105, 0.56); }
.home-v2-command-tile.is-match { border-color: rgba(98, 152, 235, 0.52); }
.home-v2-command-tile.is-kaza { border-color: rgba(101, 191, 163, 0.52); }
.home-v2-command-tile.is-prog { border-color: rgba(188, 160, 104, 0.52); }

.home-v2-layout-premium {
  align-items: start;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
}

.home-v2-feature-card {
  border-color: #375276;
  background:
    radial-gradient(circle at 108% -30%, rgba(166, 121, 237, 0.11) 0%, transparent 55%),
    linear-gradient(170deg, #1a283d 0%, #141f31 100%);
}

.home-v2-feature-card .home-widget-head {
  border-bottom: 1px solid rgba(73, 99, 134, 0.48);
  padding-bottom: 9px;
  margin-bottom: 9px;
}

.home-v2-feature-card .home-widget-head h2 {
  font-size: 16px;
  letter-spacing: .1px;
}

.home-v2-feature-card .home-widget-head a {
  border: 1px solid #3d5b83;
  border-radius: 999px;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #d7e7fd;
  background: linear-gradient(180deg, #1d2f49 0%, #18273c 100%);
}

.home-v2-feature-card .home-widget-head a:hover {
  border-color: #5b7ea9;
  color: #f2f8ff;
}

.home-info-strip-premium {
  border: 1px solid #345071;
  border-radius: 14px;
  background: linear-gradient(170deg, #1a2940 0%, #132034 100%);
  padding: 8px;
}

.home-info-strip-premium article {
  border: 1px solid rgba(67, 94, 126, 0.52);
  border-radius: 11px;
  background: rgba(20, 33, 52, 0.68);
}

@media (max-width: 1200px) {
  .home-v2-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-v2-layout-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-v2-command-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-v2-command-tile {
    min-height: 92px;
    border-radius: 12px;
    padding: 10px;
  }

  .home-v2-command-tile strong {
    font-size: 17px;
  }
}

/* Feed-first homepage refinement */
.home-feed-shell {
  display: grid;
  gap: 12px;
}

.home-v2-command-grid-feed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v2-metrics-feed {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-feed-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.home-feed-card {
  grid-column: span 6;
  border: 1px solid #365375;
  border-radius: 14px;
  background:
    radial-gradient(circle at 108% -24%, rgba(158, 126, 228, 0.11) 0%, transparent 54%),
    linear-gradient(170deg, #1a283d 0%, #141f32 100%);
  padding: 12px;
}

.home-feed-card-highlight {
  grid-column: span 8;
}

.home-feed-card-list {
  grid-column: span 6;
}

.home-feed-card .home-widget-head {
  border-bottom: 1px solid rgba(75, 102, 138, 0.48);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.home-feed-card .home-widget-head a {
  border: 1px solid #3f5e86;
  border-radius: 999px;
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  color: #d9e9fe;
  background: linear-gradient(180deg, #1d2f49 0%, #18273c 100%);
}

.home-feed-card .home-widget-head a:hover {
  border-color: #5a7da9;
  color: #f4f9ff;
}

.home-feed-card .home-widget-head h2 {
  font-size: 16px;
}

.home-feed-card .home-widget-list li a,
.home-feed-card .home-pulse-list li,
.home-feed-card .home-widget-timeline li {
  background: rgba(18, 31, 49, 0.72);
  border: 1px solid rgba(65, 91, 123, 0.48);
  border-radius: 10px;
}

.home-feed-card .home-link-list a {
  border: 1px solid rgba(67, 95, 132, 0.5);
  background: rgba(18, 31, 49, 0.76);
  border-radius: 10px;
}

.home-info-strip-premium article {
  min-height: 78px;
}

@media (max-width: 1280px) {
  .home-v2-command-grid-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2-metrics-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-feed-grid {
    grid-template-columns: 1fr;
  }

  .home-feed-card,
  .home-feed-card-highlight,
  .home-feed-card-list {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .home-feed-shell {
    gap: 10px;
  }

  .home-v2-command-grid-feed {
    grid-template-columns: 1fr;
  }

  .home-v2-metrics-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feed-card {
    padding: 10px;
    border-radius: 12px;
  }
}

@media (max-width: 520px) {
  .home-v2-metrics-feed {
    grid-template-columns: 1fr;
  }
}

/* App-like feed redesign */
.home-app-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.home-app-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-app-pill {
  flex: 0 0 auto;
  min-width: 132px;
  border: 1px solid #3b587f;
  border-radius: 12px;
  background: linear-gradient(165deg, #1b2a41 0%, #142236 100%);
  padding: 10px 11px;
  text-decoration: none;
  color: #eff5ff;
  display: grid;
  gap: 1px;
}

.home-app-pill span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .24px;
  color: #a8c0df;
}

.home-app-pill b {
  font-size: 15px;
  line-height: 1.1;
}

.home-app-pill.is-live { border-color: rgba(225, 97, 108, 0.56); }
.home-app-pill.is-match { border-color: rgba(98, 155, 236, 0.54); }
.home-app-pill.is-kaza { border-color: rgba(101, 193, 165, 0.54); }
.home-app-pill.is-prog { border-color: rgba(176, 158, 108, 0.5); }
.home-app-pill.is-admin { border-color: rgba(161, 170, 196, 0.5); }

.home-app-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.home-app-kpi-strip article {
  border: 1px solid #355173;
  border-radius: 11px;
  background: linear-gradient(170deg, #1a283c 0%, #132034 100%);
  min-height: 74px;
  padding: 8px 10px;
  display: grid;
  align-content: center;
  gap: 2px;
}

.home-app-kpi-strip small {
  font-size: 10px;
  font-weight: 700;
  color: #a8c1df;
  text-transform: uppercase;
}

.home-app-kpi-strip strong {
  font-size: 27px;
  line-height: 1;
  color: #f5f9ff;
}

.home-app-feed {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.home-app-card {
  grid-column: span 6;
  border: 1px solid #355273;
  border-radius: 14px;
  background:
    radial-gradient(circle at 108% -20%, rgba(159, 127, 228, 0.11) 0%, transparent 54%),
    linear-gradient(170deg, #1a283d 0%, #142032 100%);
  padding: 12px;
}

.home-app-card-wide {
  grid-column: span 12;
}

.home-app-card .home-widget-head,
.home-app-card .home-comments-head {
  border-bottom: 1px solid rgba(76, 103, 138, 0.5);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.home-app-card .home-widget-head h2,
.home-app-card .home-comments-head h2 {
  font-size: 17px;
}

.home-app-card .home-widget-head a,
.home-app-card .home-comments-head a {
  border: 1px solid #3e5e85;
  border-radius: 999px;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #1e2f49 0%, #18273d 100%);
}

.home-widget-list-feed li a {
  border-radius: 10px;
  border: 1px solid rgba(66, 93, 128, 0.48);
  background: rgba(19, 31, 49, 0.72);
}

.home-pulse-list-tight li {
  border-radius: 10px;
}

@media (max-width: 1280px) {
  .home-app-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-app-feed {
    grid-template-columns: 1fr;
  }

  .home-app-card,
  .home-app-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .home-app-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-app-kpi-strip article {
    min-height: 66px;
    border-radius: 10px;
    padding: 8px 9px;
  }

  .home-app-kpi-strip strong {
    font-size: 24px;
  }

  .home-app-card {
    padding: 10px;
    border-radius: 12px;
  }
}

/* Wireframe-aligned home layout */
.home-wire-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(260px, .82fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.home-wire-card {
  border: 1px solid #355275;
  border-radius: 14px;
  background:
    radial-gradient(circle at 108% -18%, rgba(159, 127, 228, 0.1) 0%, transparent 54%),
    linear-gradient(170deg, #1a283d 0%, #142032 100%);
  padding: 12px;
  min-width: 0;
}

.home-wire-left {
  min-height: 560px;
  max-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.home-wire-left .home-right-tabs-head {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-wire-left .home-right-tabs-head::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-wire-left .home-right-tabs-body {
  min-height: 0;
}

.home-wire-left .home-right-tab-panel.is-active {
  min-height: 0;
}

.home-wire-left .home-right-summary-list,
.home-wire-left .home-right-standings-table-wrap {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-wire-left .home-right-summary-list::-webkit-scrollbar,
.home-wire-left .home-right-standings-table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-wire-center {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.home-wire-kpi-main {
  border: 1px solid rgba(70, 98, 135, 0.56);
  border-radius: 12px;
  background: rgba(18, 31, 49, 0.75);
  padding: 10px;
  display: grid;
  gap: 10px;
}

.home-wire-kpi-hero {
  border: 1px solid rgba(78, 107, 146, 0.55);
  border-radius: 10px;
  background: linear-gradient(165deg, #1c2d46 0%, #16263b 100%);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.home-wire-kpi-hero small {
  font-size: 11px;
  font-weight: 700;
  color: #abc2df;
  text-transform: uppercase;
  letter-spacing: .24px;
}

.home-wire-kpi-hero strong {
  font-size: 16px;
  line-height: 1.25;
  color: #f3f8ff;
}

.home-wire-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-wire-kpi-grid article {
  border: 1px solid rgba(69, 95, 130, 0.5);
  border-radius: 10px;
  background: rgba(17, 30, 47, 0.75);
  padding: 8px 9px;
  display: grid;
  gap: 3px;
}

.home-wire-kpi-grid article small {
  font-size: 10px;
  font-weight: 700;
  color: #a8bfdd;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.home-wire-kpi-grid article strong {
  font-size: 20px;
  line-height: 1;
  color: #f5f9ff;
}

.home-wire-kpi-foot {
  border: 1px solid rgba(73, 100, 136, 0.52);
  border-radius: 10px;
  background: rgba(17, 29, 46, 0.7);
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.home-wire-kpi-foot span {
  font-size: 12px;
  color: #c2d4ec;
  font-weight: 600;
}

.home-wire-kpi-foot b {
  color: #f2f8ff;
  font-size: 14px;
}

.home-wire-quiz {
  position: relative;
  border: 1px solid rgba(70, 98, 135, 0.56);
  border-radius: 12px;
  background: rgba(18, 31, 49, 0.75);
  padding: 12px;
  display: grid;
  gap: 10px;
  min-height: 100%;
  overflow: hidden;
}

.home-wire-quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-wire-quiz-progress,
.home-wire-quiz-score {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(74, 103, 142, 0.65);
  background: rgba(19, 33, 53, 0.8);
  color: #e7f1ff;
  font-size: 11px;
  font-weight: 700;
}

.home-wire-quiz-question {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #f3f9ff;
  font-weight: 700;
}

.home-wire-quiz-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-wire-quiz-choice {
  border: 1px solid rgba(69, 96, 131, 0.62);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(23, 39, 61, 0.88) 0%, rgba(18, 31, 48, 0.92) 100%);
  color: #e6f1ff;
  min-height: 46px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-wire-quiz-choice:hover {
  border-color: rgba(109, 142, 184, 0.88);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(6, 13, 24, 0.22);
}

.home-wire-quiz-choice .choice-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(126, 157, 201, 0.7);
  background: rgba(28, 48, 74, 0.85);
  color: #d8e9ff;
  font-size: 11px;
  font-weight: 700;
}

.home-wire-quiz-choice .choice-text {
  font-size: 13px;
  line-height: 1.35;
}

.home-wire-quiz-choice.is-correct {
  border-color: rgba(73, 176, 132, 0.9);
  background: linear-gradient(165deg, rgba(24, 70, 55, 0.85) 0%, rgba(19, 54, 44, 0.9) 100%);
}

.home-wire-quiz-choice.is-wrong {
  border-color: rgba(214, 91, 108, 0.86);
  background: linear-gradient(165deg, rgba(81, 30, 42, 0.85) 0%, rgba(64, 24, 34, 0.9) 100%);
}

.home-wire-quiz-choice:disabled {
  cursor: default;
}

.home-wire-quiz-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.home-wire-quiz-feedback {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #b7cbeb;
  min-height: 18px;
}

.home-wire-quiz-feedback.is-success {
  color: #8fe4b8;
}

.home-wire-quiz-feedback.is-error {
  color: #ffb1bc;
}

.home-wire-quiz-restart {
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(104, 136, 176, 0.82);
  background: linear-gradient(180deg, rgba(43, 74, 116, 0.92) 0%, rgba(31, 57, 90, 0.94) 100%);
  color: #e9f3ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.home-wire-quiz-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-wire-quiz-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(83, 116, 157, 0.72);
  background: rgba(27, 44, 67, 0.88);
  color: #dce9fb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.home-wire-quiz.is-success-glow::after,
.home-wire-quiz.is-error-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
}

.home-wire-quiz.is-success-glow::after {
  box-shadow: 0 0 0 1px rgba(82, 199, 148, 0.78), 0 0 24px rgba(77, 201, 146, 0.28);
  animation: homeQuizPulse .55s ease 2;
}

.home-wire-quiz.is-error-glow::after {
  box-shadow: 0 0 0 1px rgba(224, 102, 122, 0.74), 0 0 18px rgba(219, 94, 113, 0.25);
  animation: homeQuizPulse .45s ease 1;
}

@keyframes homeQuizPulse {
  0% { opacity: .2; transform: scale(.996); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: .2; transform: scale(.998); }
}

.home-wire-right {
  min-height: 560px;
  max-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-wire-right .home-widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-wire-right .home-widget-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-wire-right .home-widget-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(67, 93, 127, 0.52);
  border-radius: 10px;
  background: rgba(18, 31, 49, 0.74);
  padding: 8px 10px;
  text-decoration: none;
}

.home-wire-right .home-widget-list .widget-main {
  font-size: 12px;
  color: #e8f2ff;
  font-weight: 700;
}

.home-wire-right .home-widget-list .widget-meta {
  font-size: 11px;
  color: #a8c0df;
  font-weight: 700;
  white-space: nowrap;
}

.home-wire-banner {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.home-wire-banner a {
  display: block;
  text-decoration: none;
}

.home-wire-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 1220px) {
  .home-wire-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-wire-left {
    grid-column: 1 / 2;
  }

  .home-wire-center {
    grid-column: 2 / 3;
  }

  .home-wire-right {
    grid-column: 1 / -1;
    min-height: 420px;
    max-height: 420px;
  }
}

@media (max-width: 900px) {
  .home-wire-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-wire-left,
  .home-wire-center,
  .home-wire-right {
    grid-column: auto;
    min-height: auto;
    max-height: none;
  }

  .home-wire-left {
    min-height: 460px;
    max-height: 460px;
  }
}

@media (max-width: 768px) {
  .home-wire-card {
    border-radius: 12px;
    padding: 10px;
  }

  .home-wire-left .home-right-tab-btn {
    min-height: 32px;
    font-size: 11px;
    padding: 0 8px;
  }

  .home-wire-kpi-grid article strong {
    font-size: 18px;
  }

  .home-wire-banner a {
    min-height: 62px;
    font-size: 14px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Home Dashboard UI System (Wireframe-faithful)
   ========================================================================== */
.home-dashboard-top,
.home-dashboard-v3 {
  --ds-1: 4px;
  --ds-2: 8px;
  --ds-3: 12px;
  --ds-4: 16px;
  --ds-5: 24px;
  --ds-6: 32px;

  --radius-card: 14px;
  --radius-control: 10px;
  --radius-pill: 999px;

  --ui-bg-card: linear-gradient(170deg, #1a283d 0%, #142032 100%);
  --ui-bg-layer: rgba(18, 31, 49, 0.74);
  --ui-border: rgba(72, 99, 134, 0.56);
  --ui-border-soft: rgba(66, 92, 124, 0.44);

  --ui-text-primary: #eef5ff;
  --ui-text-secondary: #bfd1ea;
  --ui-text-muted: rgba(191, 209, 234, 0.74);
  --ui-accent: #7ea8ff;
}

.home-dashboard-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--ds-3);
}

.home-dashboard-top > #homeHeroSlider {
  grid-column: span 7;
  min-width: 0;
}

.home-dashboard-top > .home-v2-top-side {
  grid-column: span 5;
  min-width: 0;
}

.home-dashboard-v3 {
  display: grid;
  gap: var(--ds-3);
}

.home-dashboard-v3 .home-app-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: var(--ds-2);
  overflow-x: auto;
  padding-bottom: var(--ds-1);
  scrollbar-width: none;
}

.home-dashboard-v3 .home-app-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-dashboard-v3 .home-app-pill {
  border-radius: 12px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  padding: var(--ds-3);
}

.home-dashboard-v3 .home-app-pill span {
  color: var(--ui-text-muted);
}

.home-dashboard-v3 .home-app-pill b {
  color: var(--ui-text-primary);
}

@media (hover: hover) and (pointer: fine) {
  .home-dashboard-v3 .home-app-pill {
    transition: background 0.18s ease, border-color 0.18s ease;
  }

  .home-dashboard-v3 .home-app-pill:hover {
    background: linear-gradient(165deg, #1e2f49 0%, #182842 100%);
    border-color: rgba(126, 168, 255, 0.62);
  }
}

.home-dashboard-v3 .home-app-pill:focus-visible {
  outline: 0;
  border-color: rgba(126, 168, 255, 0.82);
  box-shadow: 0 0 0 2px rgba(126, 168, 255, 0.24);
}

.home-dashboard-v3 .home-wire-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--ds-3);
  row-gap: var(--ds-3);
  align-items: stretch;
}

.home-dashboard-v3 .home-wire-left {
  grid-column: span 5;
  order: 1;
}

.home-dashboard-v3 .home-wire-center {
  grid-column: span 3;
  order: 3;
}

.home-dashboard-v3 .home-wire-right {
  grid-column: span 4;
  order: 2;
  min-height: 560px;
  max-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .dash-card-header {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.home-dashboard-v3 .home-wire-right .dash-card-body {
  min-height: 0;
  overflow: hidden;
  padding-top: var(--ds-2);
}

.home-dashboard-v3 .dash-card {
  border: 1px solid var(--ui-border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 108% -18%, rgba(159, 127, 228, 0.1) 0%, transparent 54%),
    var(--ui-bg-card);
  padding: var(--ds-3);
  min-width: 0;
}

.home-dashboard-v3 .dash-card-header {
  display: grid;
  gap: var(--ds-2);
  padding-bottom: var(--ds-3);
  border-bottom: 1px solid var(--ui-border-soft);
  margin-bottom: var(--ds-3);
}

.home-dashboard-v3 .dash-card-title-wrap {
  display: grid;
  gap: var(--ds-1);
}

.home-dashboard-v3 .dash-card-title {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ui-text-primary);
}

.home-dashboard-v3 .dash-card-subtitle {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ui-text-muted);
}

.home-dashboard-v3 .dash-card-body {
  min-width: 0;
}

.home-dashboard-v3 .home-wire-left {
  min-height: 560px;
  max-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-left .dash-card-header {
  margin-bottom: 0;
}

.home-dashboard-v3 .home-wire-left .home-right-tabs-head {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: var(--ds-2);
}

.home-dashboard-v3 .home-wire-left .home-right-tab-btn {
  min-height: 36px;
  min-width: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ui-border);
  background: rgba(22, 38, 59, 0.88);
  color: var(--ui-text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 0 var(--ds-2);
}

.home-dashboard-v3 .home-wire-left .home-right-tab-btn.is-active {
  background: linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 100%);
  border-color: rgba(230, 239, 255, 0.9);
  color: #12243e;
}

.home-dashboard-v3 .home-wire-left .home-right-tabs-body {
  min-height: 0;
  overflow: hidden;
  padding-top: var(--ds-2);
}

.home-dashboard-v3 .home-wire-left .home-right-tab-panel.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--ds-2);
  min-height: 0;
}

.home-dashboard-v3 .home-wire-left .home-right-summary-list,
.home-dashboard-v3 .home-wire-left .home-right-standings-table-wrap {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-dashboard-v3 .home-wire-left .home-right-summary-list::-webkit-scrollbar,
.home-dashboard-v3 .home-wire-left .home-right-standings-table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-dashboard-v3 .home-wire-left .home-right-summary-list li a {
  min-height: 58px;
  align-content: center;
}

.home-dashboard-v3 .home-wire-left .home-right-match-list {
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: var(--ds-2);
  scrollbar-width: none;
}

.home-dashboard-v3 .home-wire-left .home-right-match-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-dashboard-v3 .home-wire-left .home-right-match-card {
  min-height: 88px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 12px;
  background: rgba(18, 31, 49, 0.78);
  text-decoration: none;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: var(--ds-3);
  padding: var(--ds-2);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.home-dashboard-v3 .home-wire-left .home-right-match-card:hover {
  border-color: rgba(110, 143, 188, 0.72);
  background: rgba(24, 40, 62, 0.86);
  transform: translateY(-1px);
}

.home-dashboard-v3 .home-wire-left .home-right-match-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(73, 100, 136, 0.58);
  background: #101c2d;
  min-height: 72px;
}

.home-dashboard-v3 .home-wire-left .home-right-match-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-dashboard-v3 .home-wire-left .home-right-match-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-width: 42px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(124, 154, 194, 0.82);
  background: rgba(19, 39, 64, 0.9);
  color: #ecf4ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
}

.home-dashboard-v3 .home-wire-left .home-right-match-meta {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
}

.home-dashboard-v3 .home-wire-left .home-right-match-meta strong {
  font-size: 16px;
  line-height: 1.25;
  color: var(--ui-text-primary);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-dashboard-v3 .home-wire-left .home-right-match-meta small {
  font-size: 12px;
  color: var(--ui-text-secondary);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-dashboard-v3 .home-wire-center {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--ds-3);
}

.home-dashboard-v3 .home-wire-kpi-main {
  border: 1px solid var(--ui-border-soft);
  border-radius: 12px;
  background: var(--ui-bg-layer);
  padding: var(--ds-3);
  display: grid;
  gap: var(--ds-3);
}

.home-dashboard-v3 .home-wire-kpi-hero {
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: linear-gradient(165deg, #1d2f49 0%, #17273c 100%);
  padding: var(--ds-3);
  display: grid;
  gap: var(--ds-1);
}

.home-dashboard-v3 .home-wire-kpi-hero small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24px;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.home-dashboard-v3 .home-wire-kpi-hero strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ui-text-primary);
}

.home-dashboard-v3 .home-wire-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ds-2);
}

.home-dashboard-v3 .home-wire-kpi-grid article {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--radius-control);
  background: rgba(17, 30, 47, 0.75);
  padding: var(--ds-2) var(--ds-3);
  display: grid;
  gap: var(--ds-1);
}

.home-dashboard-v3 .home-wire-kpi-grid article small {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
  color: var(--ui-text-muted);
}

.home-dashboard-v3 .home-wire-kpi-grid article strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  color: var(--ui-text-primary);
}

.home-dashboard-v3 .home-wire-kpi-foot {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--radius-control);
  background: rgba(17, 29, 46, 0.72);
  min-height: 44px;
  padding: var(--ds-2) var(--ds-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-2);
  flex-wrap: wrap;
}

.home-dashboard-v3 .home-wire-kpi-foot span {
  font-size: 12px;
  color: var(--ui-text-secondary);
}

.home-dashboard-v3 .home-wire-kpi-foot b {
  font-size: 14px;
  font-weight: 800;
  color: var(--ui-text-primary);
}

.home-dashboard-v3 .home-wire-right {
  min-height: 0;
  max-height: none;
  display: grid;
  grid-template-rows: auto minmax(0, auto);
}

.home-dashboard-v3 .home-wire-right-quiz {
  min-height: 560px;
  max-height: 560px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right-quiz.no-header {
  grid-template-rows: minmax(0, 1fr);
}

.home-dashboard-v3 .home-wire-right-quiz.no-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.home-dashboard-v3 .home-wire-right-quiz .dash-card-header {
  margin-bottom: 0;
  padding-bottom: var(--ds-2);
}

.home-dashboard-v3 .home-wire-right-quiz .dash-card-body {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--ds-2);
}

.home-dashboard-v3 .home-wire-right-quiz.no-header .dash-card-body {
  padding-top: 0;
}

.home-dashboard-v3 .home-wire-right-quiz.no-shell .dash-card-body {
  padding: 0;
}

.home-dashboard-v3 .home-wire-right .dash-card-header {
  margin-bottom: 0;
}

.home-dashboard-v3 .home-wire-right .home-widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--ds-2);
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-dashboard-v3 .home-wire-right .home-widget-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-dashboard-v3 .home-wire-right .home-widget-list li a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-2);
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--radius-control);
  background: rgba(18, 31, 49, 0.74);
  padding: var(--ds-2) var(--ds-3);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.home-dashboard-v3 .home-wire-right .home-widget-list li a:hover {
  border-color: rgba(110, 143, 188, 0.7);
  background: rgba(24, 40, 62, 0.86);
}

.home-dashboard-v3 .home-wire-right .home-widget-list.home-radar-dashboard-list {
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .home-widget-list .home-widget-link {
  min-height: 74px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(16, 30, 49, 0.95) 0%, rgba(17, 31, 50, 0.82) 100%);
  border: 1px solid rgba(78, 109, 150, 0.52);
}

.home-dashboard-v3 .home-wire-right .home-widget-list .home-widget-link:hover {
  border-color: rgba(130, 167, 218, 0.74);
  background:
    linear-gradient(145deg, rgba(20, 36, 58, 0.98) 0%, rgba(22, 38, 61, 0.9) 100%);
}

.home-dashboard-v3 .home-wire-right .home-widget-list .widget-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(96, 130, 174, 0.58);
  background: linear-gradient(180deg, rgba(44, 67, 98, 0.92) 0%, rgba(25, 42, 67, 0.82) 100%);
  color: #f2f8ff;
  font-size: 13px;
  font-weight: 900;
}

.home-dashboard-v3 .home-wire-right .home-widget-list .widget-content {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
}

.home-dashboard-v3 .home-wire-right .home-widget-list .widget-label {
  display: block;
  margin: 0;
  color: rgba(169, 193, 226, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.home-dashboard-v3 .home-wire-right .widget-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--ui-text-primary);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .widget-meta {
  min-width: 78px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(112, 145, 191, 0.76);
  background: linear-gradient(180deg, rgba(47, 74, 110, 0.92) 0%, rgba(35, 59, 91, 0.8) 100%);
  font-size: 11px;
  font-weight: 800;
  color: #e6f1ff;
  white-space: nowrap;
  padding: 0 10px;
  box-shadow: inset 0 1px 0 rgba(190, 215, 248, 0.2);
}

.home-dashboard-v3 .home-wire-right .home-widget-link-accident .widget-icon {
  border-color: rgba(191, 119, 105, 0.62);
  background: linear-gradient(180deg, rgba(116, 49, 45, 0.9) 0%, rgba(67, 32, 34, 0.82) 100%);
}

.home-dashboard-v3 .home-wire-right .home-widget-link-traffic .widget-icon {
  border-color: rgba(145, 168, 89, 0.62);
  background: linear-gradient(180deg, rgba(76, 95, 47, 0.9) 0%, rgba(49, 68, 33, 0.82) 100%);
}

.home-dashboard-v3 .home-wire-right .home-widget-link-nostalgia .widget-icon {
  border-color: rgba(150, 131, 193, 0.62);
  background: linear-gradient(180deg, rgba(76, 62, 112, 0.9) 0%, rgba(53, 42, 83, 0.82) 100%);
}

.home-dashboard-v3 .home-wire-right .home-widget-link-camera .widget-icon {
  border-color: rgba(105, 164, 182, 0.62);
  background: linear-gradient(180deg, rgba(45, 86, 97, 0.9) 0%, rgba(31, 59, 68, 0.82) 100%);
}

.home-dashboard-v3 .home-wire-right .home-widget-link-match .widget-icon {
  border-color: rgba(188, 155, 90, 0.62);
  background: linear-gradient(180deg, rgba(103, 79, 43, 0.9) 0%, rgba(72, 55, 31, 0.82) 100%);
}

/* Radar v4: bento dashboard (single-shell, no nested list cards) */
.home-dashboard-v3 .home-wire-right .home-radar-shell {
  display: grid;
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .radar-hero-tile {
  border: 1px solid rgba(86, 117, 159, 0.56);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  display: grid;
  gap: 7px;
  background:
    radial-gradient(circle at 86% 18%, rgba(93, 139, 208, 0.2) 0%, transparent 44%),
    linear-gradient(150deg, rgba(20, 34, 54, 0.95) 0%, rgba(16, 28, 45, 0.9) 100%);
}

.home-dashboard-v3 .home-wire-right .radar-hero-tile:hover {
  border-color: rgba(132, 171, 226, 0.76);
}

.home-dashboard-v3 .home-wire-right .radar-hero-label {
  justify-self: start;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(116, 152, 201, 0.74);
  background: rgba(31, 50, 78, 0.8);
  color: #d8e9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
}

.home-dashboard-v3 .home-wire-right .radar-hero-main {
  margin: 0;
  color: #f1f7ff;
  font-size: 17px;
  line-height: 1.24;
  font-weight: 800;
}

.home-dashboard-v3 .home-wire-right .radar-hero-meta {
  justify-self: start;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(119, 151, 196, 0.78);
  background: rgba(35, 57, 88, 0.84);
  color: #eef6ff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
}

.home-dashboard-v3 .home-wire-right .radar-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .radar-mini-tile {
  min-height: 104px;
  border: 1px solid rgba(79, 108, 148, 0.5);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(18, 31, 49, 0.92) 0%, rgba(16, 28, 45, 0.86) 100%);
  padding: 10px;
  text-decoration: none;
  display: grid;
  align-content: start;
  gap: 4px;
}

.home-dashboard-v3 .home-wire-right .radar-mini-tile:hover {
  border-color: rgba(130, 165, 214, 0.72);
}

.home-dashboard-v3 .home-wire-right .radar-mini-label {
  color: #9dbbe3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-dashboard-v3 .home-wire-right .radar-mini-main {
  margin: 0;
  color: #eaf3ff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .radar-mini-meta {
  margin-top: auto;
  justify-self: start;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(104, 136, 177, 0.72);
  background: rgba(31, 50, 78, 0.82);
  color: #deecff;
  font-size: 11px;
  font-weight: 800;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
}

.home-dashboard-v3 .home-wire-right .radar-mini-tile.is-accident { border-color: rgba(187, 118, 109, 0.5); }
.home-dashboard-v3 .home-wire-right .radar-mini-tile.is-nostalgia { border-color: rgba(148, 130, 188, 0.52); }
.home-dashboard-v3 .home-wire-right .radar-mini-tile.is-camera { border-color: rgba(102, 162, 181, 0.52); }
.home-dashboard-v3 .home-wire-right .radar-mini-tile.is-match { border-color: rgba(185, 150, 89, 0.5); }

.home-dashboard-v3 .home-wire-right .home-radar-tabs-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: var(--ds-2);
  margin: 0;
}

.home-dashboard-v3 .home-wire-right .home-radar-tab-btn {
  min-height: 36px;
  min-width: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ui-border);
  background: rgba(22, 38, 59, 0.88);
  color: var(--ui-text-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .12s ease;
}

.home-dashboard-v3 .home-wire-right .home-radar-tab-btn.is-active {
  background: linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 100%);
  border-color: rgba(230, 239, 255, 0.9);
  color: #12243e;
}

.home-dashboard-v3 .home-wire-right .home-radar-tab-btn:hover {
  border-color: rgba(111, 144, 188, 0.74);
  color: #f4f8ff;
}

.home-dashboard-v3 .home-wire-right .home-radar-tab-btn.is-active:hover {
  border-color: rgba(230, 239, 255, 0.9);
  background: linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 100%);
  color: #12243e;
}

.home-dashboard-v3 .home-wire-right .home-radar-shell {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--ds-2);
  align-content: stretch;
  height: 100%;
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .home-radar-panel {
  display: none;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .home-radar-panel.is-active {
  display: grid;
  gap: 8px;
  min-height: 0;
  height: 100%;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid rgba(78, 108, 145, 0.42);
  align-content: stretch;
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="summary"].is-active {
  grid-template-rows: auto minmax(0, 1fr);
}

.home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="cameras"].is-active,
.home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="accidents"].is-active {
  grid-template-rows: minmax(0, 1fr);
}

.home-dashboard-v3 .home-wire-right .radar-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card {
  border: 1px solid rgba(82, 113, 152, 0.58);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(89, 132, 198, 0.2), transparent 56%),
    linear-gradient(155deg, rgba(18, 31, 49, 0.92) 0%, rgba(14, 25, 41, 0.9) 100%);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "value icon"
    "foot icon";
  align-items: center;
  gap: 4px 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.home-dashboard-v3 .home-wire-right .radar-summary-icon {
  grid-area: icon;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(92, 127, 174, 0.72);
  background: linear-gradient(170deg, rgba(41, 66, 99, 0.94), rgba(26, 44, 69, 0.94));
  color: #b8d6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
  align-self: start;
  margin-top: 1px;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card.is-general .radar-summary-icon {
  color: #b4d6ff;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card.is-europe .radar-summary-icon {
  color: #c7dbff;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card.is-anatolia .radar-summary-icon {
  color: #bce8ff;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card strong {
  grid-area: value;
  font-size: 31px;
  font-weight: 800;
  color: #eef6ff;
  line-height: 1;
  letter-spacing: 0.2px;
}

.home-dashboard-v3 .home-wire-right .radar-summary-foot {
  grid-area: foot;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card .label {
  color: #9ebee7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-dashboard-v3 .home-wire-right .radar-summary-foot .label::after {
  content: "\2022";
  margin-left: 6px;
  opacity: 0.8;
}

.home-dashboard-v3 .home-wire-right .radar-summary-card small {
  font-size: 12px;
  color: #bed2ee;
  font-weight: 700;
  white-space: nowrap;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-wrap {
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(78, 108, 145, 0.48);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(17, 30, 47, 0.9), rgba(15, 26, 42, 0.84));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs {
  grid-template-rows: auto 46px minmax(0, 1fr);
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-head {
  min-height: 38px;
  border-bottom: 1px solid rgba(73, 102, 138, 0.48);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-head strong {
  font-size: 12px;
  color: #e7f1ff;
  font-weight: 800;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-head small {
  font-size: 10px;
  color: #aecaed;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs .radar-stream-subtabs {
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  min-height: 46px;
  padding: 8px;
  border-bottom: 1px solid rgba(73, 102, 138, 0.34);
  background: linear-gradient(180deg, rgba(18, 32, 51, 0.96), rgba(16, 29, 46, 0.96));
  position: relative;
  z-index: 2;
}

.home-dashboard-v3 .home-wire-right .radar-stream-subtab {
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(88, 120, 164, 0.64);
  background: rgba(23, 39, 62, 0.84);
  color: #bdd3ef;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.home-dashboard-v3 .home-wire-right .radar-stream-subtab.is-active {
  background: linear-gradient(180deg, #f3f8ff 0%, #dceaff 100%);
  border-color: rgba(194, 214, 243, 0.94);
  color: #17304f;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list {
  grid-row: 2;
  margin: 0;
  padding: 10px 8px 18px;
  list-style: none;
  display: grid;
  gap: 6px;
  min-height: 0;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-bottom: 16px;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs .radar-stream-list {
  grid-row: 3;
}

@media (min-width: 901px) {
  .home-dashboard-v3 .home-wire-right {
    min-height: 560px !important;
    max-height: 560px !important;
    height: 560px !important;
    overflow: hidden !important;
  }
}

.home-dashboard-v3 .home-wire-right .radar-stream-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li {
  border: 1px solid rgba(72, 101, 138, 0.52);
  border-radius: 10px;
  background: rgba(20, 36, 58, 0.84);
  min-height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li a {
  width: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-dashboard-v3 .home-wire-right .radar-item-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-dashboard-v3 .home-wire-right .radar-item-main .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #9fc0ea;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.home-dashboard-v3 .home-wire-right .radar-item-main .name {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  line-height: 1.3;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list .name {
  color: #ebf4ff;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .name,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .name {
  font-weight: 500;
  white-space: normal;
  display: block;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.38;
  padding-right: 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  text-decoration: none;
  margin: 0;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes li {
  position: relative;
  display: block !important;
  row-gap: 4px !important;
  min-height: auto !important;
  padding: 10px !important;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-row,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-row {
  display: contents !important;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-meta,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-meta {
  min-height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(107, 140, 182, 0.68);
  background: rgba(34, 55, 84, 0.8);
  color: #cfe3ff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  align-self: start;
  flex: 0 0 auto;
  line-height: 1;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-main,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-main {
  display: grid;
  gap: 8px;
  align-items: start;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-line,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  column-gap: 8px;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-type,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-type {
  display: inline-flex;
  align-items: center;
  color: #aecaed;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .meta,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .meta {
  display: none !important;
}

.home-dashboard-v3 .home-wire-right #homeRadarAccidentsList .name {
  white-space: normal;
  display: block;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}

.home-dashboard-v3 .home-wire-right #homeRadarAccidentsList li {
  align-items: stretch;
  padding-top: 8px;
  padding-bottom: 8px;
  height: auto;
}

.home-dashboard-v3 .home-wire-right #homeRadarAccidentsList li a {
  align-items: stretch;
}

.home-dashboard-v3 .home-wire-right #homeRadarCamerasList li,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes li,
.home-dashboard-v3 .home-wire-right #homeRadarAccidentsList li {
  min-height: 40px;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list .meta,
.home-dashboard-v3 .home-wire-right .radar-stream-list .radar-badge {
  min-height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(107, 140, 182, 0.68);
  background: rgba(34, 55, 84, 0.8);
  color: #cfe3ff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li.is-empty {
  justify-content: center;
  color: #aecaed;
  font-size: 12px;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li.is-empty-state {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 132px !important;
  padding: 16px !important;
  text-align: center;
  border: 1px solid rgba(95, 129, 174, 0.72);
  background: linear-gradient(170deg, rgba(28, 47, 73, 0.92), rgba(19, 33, 52, 0.92));
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(109, 153, 214, 0.78);
  background: radial-gradient(circle at 30% 20%, rgba(111, 173, 255, 0.32), rgba(51, 89, 139, 0.76));
  color: #ffe28a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  font-size: 22px;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .empty-title {
  margin: 0;
  color: #ecf4ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .empty-text {
  color: #c3d8f3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  max-width: 260px;
  margin-inline: auto;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li.is-empty-state .empty-icon,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li.is-empty-state .empty-title,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li.is-empty-state .empty-text {
  text-align: center;
  align-self: center;
}

@media (min-width: 901px) {
  .home-dashboard-v3 .home-wire-right .home-radar-shell {
    min-height: 440px;
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="summary"].is-active {
    min-height: 390px;
    grid-template-rows: auto minmax(390px, 1fr);
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="cameras"].is-active,
  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="accidents"].is-active {
    min-height: 390px;
    grid-template-rows: minmax(390px, 1fr);
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="summary"].is-active .radar-stream-list-wrap {
    min-height: 390px;
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="cameras"].is-active .radar-stream-list-wrap,
  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="accidents"].is-active .radar-stream-list-wrap {
    min-height: 390px;
  }
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li.is-loading {
  opacity: .9;
  animation: radarLoadingPulse 1.25s ease-in-out infinite;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li.is-loading a {
  pointer-events: none;
}

.home-dashboard-v3 .home-wire-right .radar-stream-list li.is-loading .name,
.home-dashboard-v3 .home-wire-right .radar-stream-list li.is-loading .meta {
  color: #aecaed;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes li.is-loading .summary-meta {
  color: #aecaed;
  border-color: rgba(98, 128, 164, 0.55);
  background: rgba(30, 49, 75, 0.72);
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes li.is-loading .summary-meta {
  color: #aecaed;
  border-color: rgba(98, 128, 164, 0.55);
  background: rgba(30, 49, 75, 0.72);
}

@keyframes radarLoadingPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@media (max-width: 520px) {
  .home-dashboard-v3 .home-wire-right .radar-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-dashboard-v3 .home-wire-right .radar-mini-tile {
    min-height: 92px;
  }

  .home-dashboard-v3 .home-wire-right .radar-hero-main {
    font-size: 15px;
  }

  .home-dashboard-v3 .home-wire-right .home-radar-tabs-head {
    width: 100%;
    margin-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-dashboard-v3 .home-wire-right .home-radar-tab-btn {
    flex: 1 1 0;
  }

  .home-dashboard-v3 .home-wire-right .radar-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-dashboard-v3 .home-wire-right .radar-summary-card {
    padding: 8px;
    gap: 2px;
  }

  .home-dashboard-v3 .home-wire-right .radar-summary-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .home-dashboard-v3 .home-wire-right .radar-summary-card strong {
    font-size: 22px;
  }

  .home-dashboard-v3 .home-wire-right .radar-summary-card .label,
  .home-dashboard-v3 .home-wire-right .radar-summary-card small {
    font-size: 10px;
  }

  .home-dashboard-v3 .home-wire-right .radar-stream-list {
    max-height: none;
    min-height: 0;
    height: 100%;
  }

  .home-dashboard-v3 .home-wire-right .home-widget-list .home-widget-link {
    min-height: 68px;
    padding: 9px 10px;
    gap: 8px;
  }

  .home-dashboard-v3 .home-wire-right .home-widget-list .widget-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
    font-size: 12px;
  }

  .home-dashboard-v3 .home-wire-right .widget-main {
    font-size: 12px;
  }

  .home-dashboard-v3 .home-wire-right .widget-meta {
    min-width: 72px;
    font-size: 10px;
    padding: 0 8px;
  }
}

.home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot-live {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-1);
  flex-wrap: wrap;
  justify-content: center;
}

.home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot-live span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--ds-2);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(98, 131, 175, 0.72);
  background: rgba(25, 42, 67, 0.72);
  font-size: 11px;
  font-weight: 800;
  color: #dce9fd;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-mode .home-quiz-spot-live {
  margin-top: 2px;
}

.home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot {
  margin: 0;
  display: block;
}

.home-dashboard-v3 .home-wire-right-quiz .home-share-card {
  width: auto;
  max-width: 100%;
  height: min(100%, 620px);
  max-height: 100%;
  aspect-ratio: 9 / 16;
}

/* Home preview card: keep 9:16 but use compact typography so nothing clips */
.home-dashboard-v3 .home-wire-right-quiz .home-share-card.bb-share-card {
  padding: 12px 10px 10px;
  gap: 8px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-card {
  border: 3px solid rgba(230, 57, 70, 0.6);
  border-radius: 18px;
  padding: 16px 14px 14px;
  background:
    radial-gradient(circle at 92% 6%, rgba(230, 57, 70, 0.35), transparent 42%),
    radial-gradient(circle at 8% 94%, rgba(108, 52, 131, 0.2), transparent 44%),
    linear-gradient(180deg, #0a0a0f, #111a2c);
  color: #fff;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (min-width: 1221px) {
  .home-dashboard-v3 .home-wire-right-quiz .home-share-card {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-card {
    margin-inline: 0;
  }
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0.6px, transparent 0.8px);
  background-size: 5px 5px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-card::before {
  content: '';
  position: absolute;
  inset: auto -24% -26% -24%;
  height: 52%;
  background: radial-gradient(circle at center, rgba(230, 57, 70, 0.18), transparent 62%);
  pointer-events: none;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 1;
  min-width: 0;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-brand-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 50%;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-brand-left {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  flex: 0 1 50%;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-brand-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(111, 136, 178, 0.56);
  background: rgba(12, 20, 34, 0.9);
  object-fit: cover;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-domain {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-logo-img {
  height: 34px;
  width: auto;
  max-width: 142px;
  object-fit: contain;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-divider {
  z-index: 1;
  height: 1px;
  background: rgba(230, 57, 70, 0.75);
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-mode {
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(230, 57, 70, 0.85);
  background: rgba(11, 17, 32, 0.86);
  color: #f2f8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-mode-text {
  margin: 0;
  color: #8888aa;
  font-size: 10px;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-score-zone {
  z-index: 1;
  position: relative;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-score-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 64%);
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.1vw, 34px);
  line-height: 1;
  letter-spacing: 0.45px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-title-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 216, 122, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-score {
  margin: 0;
  font-size: clamp(40px, 8.8vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.6px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-score span {
  color: #8888aa;
  font-size: 0.66em;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-accuracy {
  margin: 0;
  color: #e1edff;
  font-size: clamp(14px, 3.2vw, 18px);
  font-weight: 800;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-progress {
  width: 80%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(100, 125, 163, 0.52);
  background: rgba(12, 21, 36, 0.9);
  overflow: hidden;
}

.home-dashboard-v3 .home-wire-right-quiz #homeQuizSpotProgress {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #ffd166;
  transition: width 0.3s ease;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-level-badge {
  margin: 2px 0 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(13, 22, 39, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 14px;
  font-weight: 900;
  color: #f4f8ff;
  text-decoration: none;
  cursor: pointer;
}

.home-dashboard-v3 .home-wire-right-quiz a.bb-share-level-badge,
.home-dashboard-v3 .home-wire-right-quiz a.bb-share-level-badge:visited,
.home-dashboard-v3 .home-wire-right-quiz a.bb-share-level-badge:hover,
.home-dashboard-v3 .home-wire-right-quiz a.bb-share-level-badge:active,
.home-dashboard-v3 .home-wire-right-quiz a.bb-share-level-badge:focus {
  color: #f4f8ff;
  text-decoration: none;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip article {
  border: 1px solid #2a2a3e;
  border-radius: 10px;
  background: rgba(28, 28, 46, 0.92);
  padding: 6px 4px;
  text-align: center;
  display: grid;
  gap: 2px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip span {
  color: #8888aa;
  font-size: 9px;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-invite {
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 5px;
}

.home-dashboard-v3 .home-wire-right-quiz #homeQuizSpotMessage {
  margin: 0;
  color: #f3f8ff;
  font-size: clamp(12px, 2.4vw, 16px);
  font-weight: 800;
  line-height: 1.2;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-invite small {
  color: #8888aa;
  font-size: 9px;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-cta-wrap {
  z-index: 1;
  display: grid;
  gap: 6px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-cta {
  min-height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e63946, #bc1f2e);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-cta-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.home-dashboard-v3 .home-wire-right-quiz .bb-share-footer-meta small {
  margin: 0;
  color: rgba(230, 236, 249, 0.42);
  font-size: 8px;
  font-weight: 700;
}

.home-dashboard-v3 .home-wire-banner {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.home-dashboard-v3 .home-wire-banner a {
  display: block;
}

@media (max-width: 1220px) {
  .home-dashboard-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .home-dashboard-top > #homeHeroSlider {
    grid-column: span 12;
  }

  .home-dashboard-top > .home-v2-top-side {
    grid-column: span 12;
  }

  .home-dashboard-v3 .home-wire-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .home-dashboard-v3 .home-wire-left {
    grid-column: span 12;
    min-height: auto;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .home-dashboard-v3 .home-wire-center {
    grid-column: span 12;
  }

  .home-dashboard-v3 .home-wire-right {
    grid-column: span 12;
    min-height: auto;
    max-height: none;
  }

  .home-dashboard-v3 .home-wire-right-quiz {
    min-height: auto;
    max-height: none;
  }

  .home-dashboard-v3 .home-wire-right-quiz .dash-card-body {
    display: flex;
    overflow: hidden;
  }

  .home-dashboard-v3 .home-wire-right-quiz .home-share-card,
  .home-dashboard-v3 .home-wire-right-quiz .home-share-card.bb-share-card {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
  }
}

/* Top area should stack earlier to prevent slider-side crush on medium widths */
@media (max-width: 1220px) {
  .home-v2-top-combo {
    grid-template-columns: 1fr;
  }

  .home-dashboard-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .home-dashboard-top > #homeHeroSlider,
  .home-dashboard-top > .home-v2-top-side {
    grid-column: span 12;
  }

  .home-dashboard-top > .home-v2-top-side {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
  }
}

@media (max-width: 1024px) {
  .home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot-actions {
    grid-template-columns: 1fr;
  }

  .home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot-open,
  .home-dashboard-v3 .home-wire-right-quiz .home-quiz-spot-next {
    width: 100%;
  }

  .home-dashboard-v3 .home-wire-left .home-right-tabs-head {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-dashboard-v3 .home-wire-left .home-right-tabs-head::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .home-dashboard-v3 .home-wire-left .home-right-tab-btn {
    flex: 0 0 auto;
    min-width: 108px;
  }

  .home-dashboard-v3 .home-wire-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-dashboard-v3 .home-wire-left,
  .home-dashboard-v3 .home-wire-center,
  .home-dashboard-v3 .home-wire-right {
    grid-column: auto;
  }

  .home-dashboard-v3 .home-wire-left {
    min-height: 460px;
    max-height: 460px;
  }

  .home-dashboard-v3 .home-wire-center,
  .home-dashboard-v3 .home-wire-right {
    min-height: 460px;
    max-height: 460px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .home-dashboard-v3 .home-wire-right .dash-card-body {
    min-height: 0;
    overflow: hidden;
  }

  .home-dashboard-v3 .home-wire-right-quiz {
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .home-dashboard-v3 .home-wire-right-quiz .dash-card-body {
    overflow: visible;
  }

  .home-dashboard-v3 .home-wire-right-quiz .home-share-card {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
  }

  /* Mobile-specific readability balance for 9:16 result card */
  .home-dashboard-v3 .home-wire-right-quiz .home-share-card.bb-share-card {
    padding: 14px 12px 12px;
    gap: 10px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-logo-img {
    height: 38px;
    max-width: 156px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-domain {
    font-size: 12px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-chip {
    min-height: 32px;
    font-size: 14px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-mode-text {
    font-size: 12px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-card h3 {
    font-size: clamp(34px, 9.2vw, 50px);
    letter-spacing: 0.6px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-title-icon {
    width: 30px;
    height: 30px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-score {
    font-size: clamp(58px, 16vw, 82px);
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-accuracy {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-level-badge {
    min-height: 36px;
    padding: 0 14px;
    font-size: 18px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip article {
    padding: 8px 6px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip strong {
    font-size: 20px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-stats-strip span {
    font-size: 11px;
  }

  .home-dashboard-v3 .home-wire-right-quiz #homeQuizSpotMessage {
    font-size: clamp(22px, 5.4vw, 28px);
    line-height: 1.2;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-invite small {
    font-size: 11px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-cta {
    min-height: 40px;
    font-size: 13px;
    letter-spacing: 0.4px;
    padding: 0 10px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-cta-icon {
    width: 16px;
    height: 16px;
  }

  .home-dashboard-v3 .home-wire-right-quiz .bb-share-footer-meta small {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .home-dashboard-v3 .dash-card {
    padding: var(--ds-2);
    border-radius: 12px;
  }

  .home-dashboard-v3 .dash-card-header {
    padding-bottom: var(--ds-2);
    margin-bottom: var(--ds-2);
  }

  .home-dashboard-v3 .dash-card-title {
    font-size: 17px;
  }

  .home-dashboard-v3 .home-wire-left .home-right-tab-btn {
    min-height: 32px;
    font-size: 11px;
  }

  .home-dashboard-v3 .home-wire-kpi-grid article strong {
    font-size: 20px;
  }

  .home-dashboard-v3 .home-wire-left .home-right-match-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 80px;
    gap: var(--ds-2);
    padding: var(--ds-2);
  }

  .home-dashboard-v3 .home-wire-left .home-right-match-meta strong {
    font-size: 14px;
  }

  .home-dashboard-v3 .home-wire-left .home-right-match-meta small {
    font-size: 11px;
  }

  .home-dashboard-v3 .home-wire-banner a {
    min-height: 0;
  }
}

/* Homepage Sketch Grid v2 (Sistem Nabzi ustte, tab blogu altinda) */
.home-sketch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr);
  gap: 12px;
  align-items: start;
}

.home-sketch-main-col {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.home-sketch-card {
  border: 1px solid #355275;
  border-radius: 14px;
  background:
    radial-gradient(circle at 108% -18%, rgba(159, 127, 228, 0.1) 0%, transparent 54%),
    linear-gradient(170deg, #1a283d 0%, #142032 100%);
  padding: 12px;
  min-width: 0;
}

.home-sketch-kpi {
  grid-area: auto;
}

.home-sketch-left {
  grid-area: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 560px;
  max-height: 560px;
  overflow: hidden;
}

.home-sketch-right {
  grid-area: auto;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-sketch-grid .home-right-tabs-head {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-sketch-grid .home-right-tabs-head::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-sketch-grid .home-right-tabs-body {
  min-height: 0;
}

.home-sketch-grid .home-right-tab-panel.is-active {
  min-height: 0;
}

.home-sketch-grid .home-right-summary-list,
.home-sketch-grid .home-right-standings-table-wrap,
.home-sketch-right .home-widget-list {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-sketch-grid .home-right-summary-list::-webkit-scrollbar,
.home-sketch-grid .home-right-standings-table-wrap::-webkit-scrollbar,
.home-sketch-right .home-widget-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-sketch-right .home-widget-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-sketch-right .home-widget-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(67, 93, 127, 0.52);
  border-radius: 10px;
  background: rgba(18, 31, 49, 0.74);
  padding: 8px 10px;
  text-decoration: none;
}

.home-sketch-right .home-widget-list .widget-main {
  font-size: 12px;
  color: #e8f2ff;
  font-weight: 700;
}

.home-sketch-right .home-widget-list .widget-meta {
  font-size: 11px;
  color: #a8c0df;
  font-weight: 700;
  white-space: nowrap;
}

.home-banner-strip {
  border: 1px solid #365173;
  border-radius: 14px;
  background:
    radial-gradient(circle at 96% -26%, rgba(255, 90, 90, 0.12) 0%, transparent 52%),
    linear-gradient(170deg, #1a293f 0%, #132135 100%);
  padding: 14px;
}

.home-banner-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  border: 1px dashed rgba(92, 122, 164, 0.72);
  border-radius: 12px;
  text-decoration: none;
  color: #eaf4ff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  text-align: center;
  padding: 10px 14px;
}

@media (max-width: 1200px) {
  .home-sketch-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-sketch-left {
    min-height: 500px;
    max-height: 500px;
  }

  .home-sketch-right {
    min-height: 420px;
    max-height: 420px;
  }
}

@media (max-width: 768px) {
  .home-sketch-card {
    border-radius: 12px;
    padding: 10px;
  }

  .home-sketch-left {
    min-height: 460px;
    max-height: 460px;
  }

  .home-sketch-grid .home-right-tabs-head {
    gap: 6px;
  }

  .home-sketch-grid .home-right-tab-btn {
    min-height: 32px;
    font-size: 11px;
    padding: 0 8px;
  }

  .home-banner-strip a {
    min-height: 62px;
    font-size: 14px;
    line-height: 1.35;
  }
}
/* 2026-04-08 mobile + radar refinements */
.home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs .radar-stream-subtabs {
  position: sticky;
  top: 0;
  z-index: 4;
}

.home-dashboard-v3 .home-wire-right #homeRadarSummaryTypes .summary-line,
.home-dashboard-v3 .home-wire-right #homeRadarSummaryAccidentTypes .summary-line {
  display: grid;
  gap: 4px;
  align-items: start;
  justify-items: start;
}

@media (max-width: 768px) {
  .hero-mobile-meta-card {
    display: none !important;
  }

  .home-dashboard-v3 .home-wire-right-quiz .home-share-card,
  .home-dashboard-v3 .home-wire-right-quiz .home-share-card.bb-share-card {
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="summary"].is-active,
  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="cameras"].is-active,
  .home-dashboard-v3 .home-wire-right .home-radar-panel[data-radar-panel="accidents"].is-active {
    min-height: 460px;
  }

  .home-dashboard-v3 .home-wire-right .home-radar-panel .radar-stream-list-wrap {
    min-height: 360px;
  }

  .home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs {
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs .radar-stream-subtabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 10px;
  }

  .home-dashboard-v3 .home-wire-right .radar-stream-list-wrap.has-subtabs .radar-stream-subtabs::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .home-dashboard-v3 .home-wire-right .radar-stream-subtab {
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 34px;
    padding: 0 14px;
  }
}

/* Home mobile horizontal overflow hard lock (bottom-nav drift fix) */
@media (max-width: 1024px) {
  html,
  body.page-home {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  @supports (overflow: clip) {
    html,
    body.page-home {
      overflow-x: clip !important;
    }
  }

  body.page-home .home-layout,
  body.page-home .home-dashboard-top,
  body.page-home .home-feed-shell,
  body.page-home .home-dashboard-v3,
  body.page-home .home-wire-grid,
  body.page-home .home-v2-top-combo {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.page-home {
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
}
