#ds-hub {
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffff24;
  border-top: 3px solid var(--pink_damesraz, #e6018b);
  border-radius: 16px;
  background: var(--dark_blue, #020314);
  color: #fff;
  font-family: Alata, sans-serif;
  color-scheme: dark;
  box-shadow: 0 24px 80px #0009;
}
#ds-hub::backdrop { background: #020314b3; backdrop-filter: blur(4px); }
#ds-hub .ds-hub-panel { position: relative; padding: 28px 22px 24px; text-align: center; }
#ds-hub .ds-hub-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 8px; background: transparent;
  color: #a8a9b3; cursor: pointer; font: 28px/1 sans-serif;
}
#ds-hub .ds-hub-close:hover { color: #fff; background: #ffffff0a; }
#ds-hub h2 { margin: 0 30px 22px; color: #fff; font: 400 21px/1.4 Alata, sans-serif; }
#ds-hub .ds-hub-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
#ds-hub .ds-hub-tile {
  display: flex; flex-direction: column; align-items: center; min-width: 0;
  padding: 0 0 4px; border: 0; background: transparent; color: #fff;
  text-decoration: none; font-family: inherit; cursor: pointer;
}
#ds-hub .ds-hub-icon {
  display: grid; place-items: center; box-sizing: border-box; width: 94px; max-width: 100%; aspect-ratio: 1; overflow: hidden;
  border: 1px solid #ffffff2e; border-radius: 24px;
  background: #0d0e20; color: #fff;
  box-shadow: 0 6px 16px #0003;
  transition: border-color .2s, background-color .2s, transform .2s;
}
#ds-hub .ds-hub-icon img { display: block; width: 58px; height: 66px; object-fit: contain; opacity: .9; mix-blend-mode: screen; }
#ds-hub .ds-hub-app .ds-hub-icon img { width: 90px; height: 90px; }
#ds-hub .ds-hub-live .ds-hub-icon img { width: 74px; height: 74px; }
#ds-hub .ds-hub-label { margin-top: 16px; font-size: 14px; line-height: 1.5; color: #e8e8ed; }
#ds-hub .ds-hub-description { display: none; }
#ds-hub .ds-hub-tile:hover .ds-hub-icon,
#ds-hub .ds-hub-tile:focus-visible .ds-hub-icon {
  border-color: var(--pink_damesraz, #e6018b); background: #1c0b26; transform: translateY(-3px);
}
#ds-hub .ds-hub-tile:hover .ds-hub-label { color: #ff75c8; }
#ds-hub :focus-visible, .ds-hub-reopen:focus-visible { outline: 2px solid #e6018b; outline-offset: 5px; }
.ds-hub-reopen { display: block; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
/* Lišta zůstává v původním místě. Zavřením dialogu toto pravidlo ihned přestane platit. */
#ds-hub[open] ~ #cookie-consent-modal { visibility: hidden; pointer-events: none; }
@media(max-width:600px) {
  #ds-hub .ds-hub-panel { padding: 28px 18px 22px; }
  #ds-hub h2 { font-size: 19px; margin-bottom: 20px; }
  #ds-hub .ds-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
  #ds-hub .ds-hub-icon { width: 88px; border-radius: 21px; }
  #ds-hub .ds-hub-label { margin-top: 10px; font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) { #ds-hub .ds-hub-icon { transition: none; } }
