/* Late home tournament/freeroll visual overrides.
 * Extracted from styles.css; keep import order in styles.css stable. */

/* Home tournament / freeroll promo: dark gold board, matching the new visual reference. */
html[data-theme="gold"].app-view-home,
html[data-theme="gold"].app-view-home body,
html[data-theme="gold"] body[data-view="home"] {
  --home-gold-canvas-bg:
    radial-gradient(ellipse at 14% -10%, rgba(255, 231, 168, 0.13), transparent 36%),
    radial-gradient(ellipse at 92% 4%, rgba(255, 198, 74, 0.07), transparent 34%),
    radial-gradient(ellipse at 72% 44%, rgba(214, 163, 84, 0.045), transparent 42%),
    radial-gradient(ellipse at 48% 116%, rgba(255, 231, 168, 0.055), transparent 48%),
    linear-gradient(150deg, #030407 0%, #070a10 38%, #030407 68%, #010204 100%);
  background: var(--home-gold-canvas-bg) !important;
  background-color: #030407 !important;
}

/* Актуальный СНГ: баннер и живая строка параметров турнира. */
.home-daily-deal-hero {
  margin-top: 2px;
  margin-bottom: 54px;
}

.home-daily-deal-hero__image {
  top: -52px;
}

.home-daily-deal-hero .home-daily-deal-hero__cta > span:first-child {
  font-size: 0.58em;
  white-space: nowrap;
}

/* The home scrollport must start exactly at the header's lower border. */
html body[data-view="home"] #app.app > .card,
html.app-view-home #app.app.app--view-home > .card,
#app.app.app--view-home > .card {
  gap: 0 !important;
}

html body[data-view="home"] #app.app > .card > .card__header.card__header,
html.app-view-home #app.app.app--view-home > .card > .card__header.card__header,
#app.app.app--view-home > .card > .card__header.card__header {
  margin-bottom: 0 !important;
}

html body[data-view="home"] #app.app .home-daily-deal-hero,
html.app-view-home #app.app.app--view-home .home-daily-deal-hero,
#app.app.app--view-home .home-daily-deal-hero {
  margin-top: 0 !important;
}

html body[data-view="home"] #app.app > .card > .card__content,
html.app-view-home #app.app.app--view-home > .card > .card__content,
#app.app.app--view-home > .card > .card__content {
  padding-top: 40px !important;
}

.home-daily-deal-hero__won {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: -45px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  width: 100%;
  transform: translateX(-50%);
  color: #9ca9ba;
  font-size: clamp(11px, 3.1vw, 14px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.home-daily-deal-hero__won strong {
  color: #ffd36b;
  font-size: 1.12em;
  font-weight: 1000;
  text-shadow: 0 0 10px rgba(255, 139, 20, 0.38);
}

.home-friend-news {
  margin: 12px 0 2px;
}

.view[data-view="profile"].profile-view--tab-friends .home-friend-news {
  margin: 0 0 12px;
}

.app.app--view-home .home-club-news {
  width: min(100%, calc(100vw - 8px));
  max-width: 100%;
  margin: 10px auto 12px;
}

.app.app--view-home .home-club-news__ticker {
  position: relative;
  min-height: 112px;
  padding: 10px 34px 10px 10px;
  border-color: rgba(var(--friend-news-rgb), 0.42);
  border-radius: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__label {
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 105px;
  width: calc(100% - 141px);
  height: 27px;
  box-sizing: border-box;
  padding: 4px 6px 5px;
  overflow: hidden;
  background: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__viewport {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 90px;
  -webkit-mask-image:
    radial-gradient(circle 45px at 44px 45px, #000 97%, transparent 100%),
    linear-gradient(#000, #000);
  -webkit-mask-position: 0 0, 96px 25px;
  -webkit-mask-size: 90px 90px, calc(100% - 96px) calc(100% - 25px);
  -webkit-mask-repeat: no-repeat;
  mask-image:
    radial-gradient(circle 45px at 44px 45px, #000 97%, transparent 100%),
    linear-gradient(#000, #000);
  mask-position: 0 0, 96px 25px;
  mask-size: 90px 90px, calc(100% - 96px) calc(100% - 25px);
  mask-repeat: no-repeat;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__track {
  flex-direction: column;
  width: 100%;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__slide {
  align-items: center;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__event-icon {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  margin-left: 5px;
  margin-right: 19px;
  border-radius: 50%;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__event-text {
  display: -webkit-box;
  padding-top: 23px;
  overflow: hidden;
  font-size: clamp(14px, 4.1vw, 18px);
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}

.app.app--view-home .home-club-news__ticker .home-friend-news__avatar--personal-art {
  object-fit: contain;
  object-position: center 12%;
  transform: scale(1.1);
  -webkit-mask-image: radial-gradient(circle at center, #000 66%, rgba(0, 0, 0, 0.92) 74%, transparent 94%);
  mask-image: radial-gradient(circle at center, #000 66%, rgba(0, 0, 0, 0.92) 74%, transparent 94%);
}

.home-friend-news[hidden],
.home-friend-news-modal[hidden] {
  display: none !important;
}

.home-friend-news__ticker {
  --friend-news-accent: #6fd8ff;
  --friend-news-rgb: 111, 216, 255;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 9px 14px;
  overflow: hidden;
  color: #e8eef8;
  background:
    linear-gradient(rgba(var(--friend-news-rgb), 0.18), rgba(var(--friend-news-rgb), 0.18)),
    #151c26;
  border: 1px solid rgba(var(--friend-news-rgb), 0.34);
  border-radius: 15px;
  box-shadow:
    0 8px 22px rgba(4, 8, 15, 0.18),
    0 0 24px rgba(var(--friend-news-rgb), 0.12),
    inset 5px 0 0 rgba(var(--friend-news-rgb), 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="gold"] button.home-friend-news__ticker {
  background:
    linear-gradient(rgba(var(--friend-news-rgb), 0.18), rgba(var(--friend-news-rgb), 0.18)),
    #151c26 !important;
  border-color: rgba(var(--friend-news-rgb), 0.34) !important;
  box-shadow:
    0 8px 22px rgba(4, 8, 15, 0.18),
    0 0 24px rgba(var(--friend-news-rgb), 0.12),
    inset 5px 0 0 rgba(var(--friend-news-rgb), 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* Premium club-news surface: keeps each event's palette, adding depth and material. */
.app.app--view-home button.home-club-news__ticker,
[data-theme="gold"] .app.app--view-home button.home-club-news__ticker {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 48% -16%, rgba(var(--friend-news-rgb), 0.34), transparent 46%),
    radial-gradient(ellipse at 95% 112%, rgba(var(--friend-news-rgb), 0.25), transparent 48%),
    radial-gradient(circle at 12% 58%, rgba(0, 0, 0, 0.42), transparent 31%),
    linear-gradient(105deg, rgba(var(--friend-news-rgb), 0.23), rgba(10, 13, 21, 0.82) 44%, rgba(var(--friend-news-rgb), 0.12)),
    #10141d !important;
  border: 2px solid rgba(var(--friend-news-rgb), 0.9) !important;
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.5),
    0 0 9px rgba(var(--friend-news-rgb), 0.42),
    0 0 24px rgba(var(--friend-news-rgb), 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    inset 0 -3px 0 rgba(0, 0, 0, 0.58),
    inset 0 0 28px rgba(var(--friend-news-rgb), 0.12) !important;
}

.app.app--view-home .home-club-news__ticker::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 78% 35%, transparent 0 9px, rgba(255, 255, 255, 0.018) 10px, transparent 12px 22px),
    repeating-linear-gradient(123deg, transparent 0 18px, rgba(var(--friend-news-rgb), 0.026) 19px, transparent 20px 38px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 22%, transparent 70%, rgba(0, 0, 0, 0.28));
  background-blend-mode: soft-light, normal, normal;
  border-radius: inherit;
}

.app.app--view-home .home-club-news__ticker::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 5px;
  pointer-events: none;
  border: 1px solid rgba(var(--friend-news-rgb), 0.46);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    inset 0 0 22px rgba(var(--friend-news-rgb), 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.48),
    0 0 9px rgba(var(--friend-news-rgb), 0.16);
}

.app.app--view-home .home-club-news__ticker .home-friend-news__viewport,
.app.app--view-home .home-club-news__ticker .home-friend-news__label,
.app.app--view-home .home-club-news__ticker .home-friend-news__arrow {
  z-index: 3;
}

.app.app--view-home .home-club-news__ticker .home-friend-news__event-icon {
  border: 2px solid rgba(var(--friend-news-rgb), 0.96);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.15), transparent 34%),
    rgba(8, 11, 17, 0.88);
  box-shadow:
    0 0 0 3px rgba(4, 7, 12, 0.9),
    0 0 0 5px rgba(var(--friend-news-rgb), 0.48),
    0 8px 22px rgba(0, 0, 0, 0.56),
    0 0 15px rgba(var(--friend-news-rgb), 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.app.app--view-home .home-club-news__ticker .home-friend-news__event-text {
  color: #ffe6ad;
  font-weight: 850;
  letter-spacing: 0.005em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 0 rgba(105, 58, 12, 0.48),
    0 4px 9px rgba(0, 0, 0, 0.62),
    0 0 10px rgba(255, 191, 84, 0.12);
}

.app.app--view-home .home-club-news__ticker .home-friend-news__label {
  color: var(--friend-news-accent);
  background: none;
  text-shadow: 0 0 9px rgba(var(--friend-news-rgb), 0.46);
}

.app.app--view-home .home-club-news__ticker .home-friend-news__arrow {
  text-shadow:
    0 0 5px rgba(var(--friend-news-rgb), 0.9),
    0 0 14px rgba(var(--friend-news-rgb), 0.72);
}

.app.app--view-home .home-club-news__ticker:active {
  transform: translateY(1px);
  box-shadow:
    0 8px 18px rgba(2, 5, 10, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 6px 0 0 rgba(var(--friend-news-rgb), 0.74) !important;
}

.home-friend-news__ticker[data-news-type="friend"] {
  --friend-news-accent: #64e8b2;
  --friend-news-rgb: 100, 232, 178;
}

.home-friend-news__ticker[data-news-type="level"] {
  --friend-news-accent: #9f8cff;
  --friend-news-rgb: 159, 140, 255;
}

.home-friend-news__ticker[data-news-type="rating"] {
  --friend-news-accent: #66b7ff;
  --friend-news-rgb: 102, 183, 255;
}

.home-friend-news__ticker[data-news-type="achievement"] {
  --friend-news-accent: #ffc45d;
  --friend-news-rgb: 255, 196, 93;
}

.home-friend-news__ticker[data-news-type="daily"] {
  --friend-news-accent: #ff8f6b;
  --friend-news-rgb: 255, 143, 107;
}

.home-friend-news__ticker[data-news-type="birthday"] {
  --friend-news-accent: #ff7ea8;
  --friend-news-rgb: 255, 126, 168;
}

.home-friend-news__badge {
  display: none;
}

.home-friend-news__label {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0 0 2px;
  color: var(--friend-news-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-friend-news__viewport {
  grid-column: 1;
  grid-row: 2;
  display: block;
  height: 32px;
  min-width: 0;
  overflow: hidden;
}

.home-friend-news__track {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.22, 0.72, 0.2, 1);
  will-change: transform;
}

.home-friend-news__track--instant {
  transition: none;
}

.home-friend-news__slide {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  min-width: 0;
}

.home-friend-news__event-icon {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  place-items: center;
  color: var(--friend-news-accent);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(var(--friend-news-rgb), 0.14);
  border: 1px solid rgba(var(--friend-news-rgb), 0.3);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(var(--friend-news-rgb), 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-friend-news__event-icon--avatar,
.home-friend-news-modal__icon.home-friend-news__event-icon--avatar {
  overflow: hidden;
  border-radius: 50%;
  background: #101722;
  border-color: rgba(var(--friend-news-rgb), 0.72);
  box-shadow:
    0 0 0 2px rgba(var(--friend-news-rgb), 0.16),
    0 6px 18px rgba(var(--friend-news-rgb), 0.22);
}

.home-friend-news__avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-friend-news--friend,
.home-friend-news--level,
.home-friend-news--rating,
.home-friend-news--achievement,
.home-friend-news--daily,
.home-friend-news--birthday {
  color: var(--friend-news-accent);
}

.home-friend-news--empty {
  color: #8292a8;
}

.home-friend-news__event-text {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-friend-news__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  margin-left: 8px;
  color: var(--friend-news-accent);
  font-size: 25px;
  line-height: 1;
}

.home-friend-news-modal {
  position: fixed;
  z-index: 16000;
  inset: 0;
  display: grid;
  align-items: end;
}

.home-friend-news-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(3, 7, 13, 0.74);
  border: 0;
  backdrop-filter: blur(5px);
}

.home-friend-news-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  max-height: min(78vh, 720px);
  margin: 0 auto;
  overflow: hidden;
  color: #edf3fb;
  background: #111822;
  border: 1px solid rgba(141, 160, 185, 0.22);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.38);
}

.home-friend-news-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 15px;
  border-bottom: 1px solid rgba(142, 160, 184, 0.14);
}

.home-friend-news-modal__header span {
  display: block;
  margin-bottom: 3px;
  color: #71d954;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-friend-news-modal__header h2 {
  margin: 0;
  font-size: 23px;
}

.home-friend-news-modal__close {
  width: 38px;
  height: 38px;
  color: #c7d1df;
  background: rgba(255, 255, 255, 0.07);
  border: 0;
  border-radius: 50%;
  font-size: 26px;
}

.home-friend-news-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-friend-news-modal__copy-link {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  color: #ffe0a3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 166, 65, 0.42);
  border-radius: 10px;
}

.home-friend-news-modal__copy-link[hidden] {
  display: none;
}

.home-friend-news-modal__copy-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-friend-news-modal__list {
  padding: 8px 14px max(18px, env(safe-area-inset-bottom));
  overflow: auto;
}
.home-friend-news-modal__achievement-promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  color: #fff4c4;
  border: 1px solid rgba(255, 211, 92, 0.82);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 232, 146, 0.34), transparent 44%),
    linear-gradient(135deg, rgba(132, 67, 5, 0.82), rgba(40, 21, 5, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 204, 0.24),
    0 0 20px rgba(251, 191, 36, 0.2);
}
.home-friend-news-modal__achievement-promo > strong {
  color: #ffd75e;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(255, 193, 44, 0.48);
}
.home-friend-news-modal__achievement-promo > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.home-friend-news-modal__achievement-promo b {
  color: #fff4d2;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.15;
}
.home-friend-news-modal__achievement-promo small {
  color: rgba(255, 237, 198, 0.82);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}
.home-friend-news-modal__achievement-promo-action {
  align-self: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #2b1500;
  border: 1px solid rgba(255, 244, 184, 0.94);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(180deg, #ffe98a, #ffc12c 52%, #ed870d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 14px rgba(255, 193, 44, 0.5);
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.home-friend-news-modal__achievement-promo-action:hover,
.home-friend-news-modal__achievement-promo-action:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(255, 236, 164, 0.72);
  outline-offset: 2px;
}
.home-friend-news-modal__achievement-promo-action.is-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: wait;
  opacity: 0.9;
}
.home-friend-news-modal__achievement-promo-action.is-loading::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid rgba(43, 21, 0, 0.28);
  border-top-color: #2b1500;
  border-radius: 50%;
  animation: home-news-achievement-loading 0.7s linear infinite;
}
@keyframes home-news-achievement-loading {
  to { transform: rotate(360deg); }
}
@media (max-width: 560px) {
  .home-friend-news-modal__achievement-promo {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }
  .home-friend-news-modal__achievement-promo > strong {
    font-size: clamp(15px, 4.6vw, 19px);
    white-space: nowrap;
  }
  .home-friend-news-modal__achievement-promo b {
    font-size: clamp(11px, 3.35vw, 13px);
  }
  .home-friend-news-modal__achievement-promo small {
    font-size: clamp(8px, 2.65vw, 10px);
  }
  .home-friend-news-modal__achievement-promo-action {
    justify-self: end;
    min-height: 32px;
    padding-inline: 11px;
  }
}

.home-news-profile-loading {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffe1a3;
  background: rgba(7, 12, 20, 0.86);
  backdrop-filter: blur(7px);
}

.home-news-profile-loading[hidden] {
  display: none;
}

.home-news-profile-loading strong {
  font-size: 18px;
}

.home-news-profile-loading > span:last-child {
  max-width: 80%;
  overflow: hidden;
  color: #9fb0c6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-profile-loading__spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 195, 75, 0.2);
  border-top-color: #ffc34b;
  border-radius: 50%;
  animation: home-news-profile-loading-spin 0.75s linear infinite;
}

.chat-user-modal__news-comment--pending {
  opacity: 0.72;
}

.home-news-comment-pending-label {
  display: block;
  margin-top: 7px;
  color: #8fa4bc;
  font-size: 11px;
  font-weight: 700;
}

@keyframes home-news-profile-loading-spin {
  to { transform: rotate(360deg); }
}

.home-friend-news-modal__day-group {
  margin: 10px 0 20px;
}

.home-friend-news-modal__list .home-friend-news-modal__date {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 9px;
  justify-content: center;
  color: #ffd98e;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.home-friend-news-modal__list .home-friend-news-modal__date::before,
.home-friend-news-modal__list .home-friend-news-modal__date::after {
  width: 100%;
  height: 1px;
  flex: 1 1 auto;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 199, 91, 0.34));
}

.home-friend-news-modal__list .home-friend-news-modal__date::after {
  background: linear-gradient(90deg, rgba(255, 199, 91, 0.34), transparent);
}

.home-friend-news-modal__list .home-friend-news-modal__date span {
  flex: 0 0 auto;
  padding: 5px 11px;
  background: rgba(255, 199, 91, 0.08);
  border: 1px solid rgba(255, 199, 91, 0.2);
  border-radius: 999px;
  line-height: 1;
}

.home-friend-news-modal__day-events {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(142, 160, 184, 0.12);
  border-radius: 14px;
}

.home-friend-news-modal__day-events .home-friend-news-modal__item {
  padding-inline: 10px;
}

.home-friend-news-modal__day-events .home-friend-news-modal__item:last-child {
  border-bottom: 0;
}
.home-friend-news-modal__day-count {
  padding: 0 14px 10px;
  color: #91a2ba;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.home-friend-news-modal__day-count strong {
  color: #ffe0a3;
  font-weight: 950;
}

.home-friend-news-modal__club-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 10px;
}

.home-friend-news-modal__club-tab {
  min-height: 46px;
  border: 1px solid rgba(201, 151, 54, 0.55);
  border-radius: 16px;
  background: #090e16;
  color: #e9dcc2;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.home-friend-news-modal__club-tabs .home-friend-news-modal__club-tab--active {
  border-color: #ffd267 !important;
  background: linear-gradient(180deg, #ffd66f, #e9910c) !important;
  color: #211506 !important;
  box-shadow: 0 0 18px rgba(255, 180, 42, 0.3), inset 0 1px rgba(255, 255, 255, 0.6) !important;
}
.home-friend-news-modal__day-tabs { display: flex; justify-content: center; gap: 7px; margin: 8px 0 2px; }
.home-friend-news-modal__day-tab { min-width: 92px; min-height: 30px; padding: 4px 14px; color: #aeb8ca; background: rgba(11,16,24,.78); border: 1px solid rgba(229,179,74,.28); border-radius: 999px; font-size: 11px; font-weight: 900; }
.home-friend-news-modal__day-tab--heroes { min-width: 118px; }
.home-friend-news-modal__day-tab--active { color: #241400; background: linear-gradient(180deg, #ffe292, #edb447); border-color: #ffdc7a; box-shadow: 0 4px 14px rgba(237,180,71,.2); }
.home-friend-news-modal__day-tab:disabled { opacity: .38; }

@media (max-width: 520px) {
  .home-friend-news-modal__day-tabs { gap: 4px; }
  .home-friend-news-modal__day-tab,
  .home-friend-news-modal__day-tab--heroes { min-width: 0; padding-inline: 8px; flex: 1 1 0; font-size: 9px; }
}

.home-friend-news-modal__wall-invite {
  margin: 18px 0 4px;
  padding: 15px 18px;
  border: 1px solid rgba(201, 151, 54, 0.42);
  border-radius: 16px;
  background: rgba(8, 13, 21, 0.8);
  color: #b9c3d2;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.home-friend-news-modal__wall-invite button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffd56e;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.home-friend-news-modal--club .home-friend-news-modal__day-events {
  display: grid;
  gap: 7px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
  overflow: hidden;
  border: 1px solid rgba(142, 160, 184, 0.16);
  border-radius: 14px;
}

.home-friend-news-modal__item {
  --friend-news-accent: #6fd8ff;
  --friend-news-rgb: 111, 216, 255;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  min-height: 66px;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(142, 160, 184, 0.12);
  background:
    linear-gradient(rgba(var(--friend-news-rgb), 0.18), rgba(var(--friend-news-rgb), 0.18)),
    #151c26;
  box-shadow: inset 3px 0 0 rgba(var(--friend-news-rgb), 0.66);
}

.home-friend-news-modal__item[data-home-news-player-id] {
  cursor: pointer;
}

.home-friend-news-modal__item[data-home-news-player-id]:focus-visible {
  outline: 2px solid var(--friend-news-accent);
  outline-offset: -2px;
}

.home-friend-news-modal__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--friend-news-accent);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(var(--friend-news-rgb), 0.13);
  border: 1px solid rgba(var(--friend-news-rgb), 0.28);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(var(--friend-news-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-top: 2px;
}

.home-friend-news-modal__icon svg,
.home-friend-news__event-icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-friend-news-event--friend {
  --friend-news-accent: #64e8b2;
  --friend-news-rgb: 100, 232, 178;
}

.home-friend-news-event--level {
  --friend-news-accent: #9f8cff;
  --friend-news-rgb: 159, 140, 255;
}

.home-friend-news-event--rating {
  --friend-news-accent: #66b7ff;
  --friend-news-rgb: 102, 183, 255;
}

.home-friend-news-event--achievement {
  --friend-news-accent: #ffc45d;
  --friend-news-rgb: 255, 196, 93;
}

.home-friend-news-event--daily {
  --friend-news-accent: #ff8f6b;
  --friend-news-rgb: 255, 143, 107;
}

.home-friend-news-event--birthday {
  --friend-news-accent: #ff7ea8;
  --friend-news-rgb: 255, 126, 168;
}

.home-friend-news-modal__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-friend-news-modal__copy strong {
  font-size: 14px;
  line-height: 1.32;
}

.home-friend-news-modal__player-title,
.chat-user-modal__news-player-title {
  display: flex;
  min-width: 0;
  margin-bottom: 5px;
  align-items: center;
  gap: 7px;
  color: var(--friend-news-accent, var(--player-news-accent, #f4d58d));
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.home-friend-news-modal__player-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-friend-news-modal__poker21-linked {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid rgba(134, 239, 172, 0.82);
  border-radius: 50%;
  background: linear-gradient(180deg, #54e899, #10b968);
  color: #052e20;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}

.home-friend-news-modal__player-meta {
  display: block;
  margin: -1px 0 7px;
  color: #9dadc1;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
}

.home-friend-news-modal__day-hero {
  display: inline-flex;
  min-height: 19px;
  margin-left: 7px;
  padding: 0 7px;
  align-items: center;
  vertical-align: 2px;
  color: #281700;
  background: linear-gradient(180deg, #ffe69a, #e7a92f);
  border: 1px solid #fff0b2;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 190, 55, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  font-size: 0.58em;
  font-weight: 1000;
  letter-spacing: 0.055em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 245, 198, 0.58);
  white-space: nowrap;
}

.home-friend-news-modal__event-lines,
.chat-user-modal__news-event-lines {
  display: grid;
  gap: 3px;
}

.home-friend-news-modal__event-lines > strong,
.chat-user-modal__news-event-lines > strong {
  position: relative;
  display: block;
  padding-left: 15px;
}

.home-friend-news-modal__event-lines > strong::before,
.chat-user-modal__news-event-lines > strong::before {
  position: absolute;
  top: 0.48em;
  left: 1px;
  color: var(--friend-news-accent, var(--player-news-accent, #f4d58d));
  content: "◆";
  font-size: 0.48em;
  line-height: 1;
  text-shadow: 0 0 7px currentColor;
}

.home-friend-news__amount {
  color: #ffd66f;
  font-weight: 1000;
  text-shadow: 0 0 12px rgba(255, 190, 55, 0.28);
  white-space: nowrap;
}

.home-friend-news-modal__copy small {
  margin-top: 4px;
  color: #7f90a7;
  font-size: 11px;
}

.home-friend-news-modal__profile-cue {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  margin: 0 0 0 auto;
  padding: 0 9px;
  align-items: center;
  gap: 5px;
  color: var(--friend-news-accent);
  background: rgba(var(--friend-news-rgb), 0.14);
  border: 1px solid rgba(var(--friend-news-rgb), 0.42);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--friend-news-rgb), 0.12);
}

.home-friend-news-modal__profile-cue b {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.home-friend-news-modal__item[data-home-news-player-id]:active .home-friend-news-modal__profile-cue {
  background: rgba(var(--friend-news-rgb), 0.25);
}

.home-friend-news-modal__copy .chat-user-modal__news-actions {
  width: auto;
  margin: 0;
}

.home-friend-news-modal__action-row {
  display: flex;
  width: 100%;
  margin-top: 9px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle b {
  font-size: 10px;
  font-weight: 900;
}

.home-friend-news-modal__action-meta {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.home-friend-news-modal__action-controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

@media (max-width: 520px) {
  .home-friend-news-modal__action-row {
    flex-wrap: wrap;
    gap: 5px;
  }

  .home-friend-news-modal__action-row > .chat-user-modal__news-actions,
  .home-friend-news-modal__action-controls {
    width: 100%;
  }

  .home-friend-news-modal__action-controls {
    justify-content: flex-start;
  }

  .home-friend-news-modal__action-controls .home-friend-news-modal__action-meta {
    margin-left: auto;
  }

  .home-friend-news-modal__profile-cue {
    min-height: 22px;
    padding-inline: 7px;
    gap: 3px;
    flex: 0 0 auto;
    font-size: 8px;
    letter-spacing: 0;
  }

  .home-friend-news-modal__profile-cue b {
    font-size: 15px;
  }

  .home-friend-news-modal__action-row .chat-user-modal__news-actions {
    min-width: 0;
    gap: 4px;
  }

  .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle {
    padding-inline: 7px;
  }

  .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle b {
    font-size: 9px;
  }
}

/* Personal player art layout: one third artwork, two thirds live content. */
.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
  display: block;
  padding: 9px 9px 9px 0;
  background:
    radial-gradient(circle at 15% 42%, rgba(var(--friend-news-rgb), 0.3), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(var(--friend-news-rgb), 0.13), transparent 34%),
    linear-gradient(115deg, #070b11 0%, #101824 36%, #090d14 72%, #05080d 100%);
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:nth-child(3n),
.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:first-child {
  background:
    radial-gradient(circle at 15% 42%, rgba(var(--friend-news-rgb), 0.34), transparent 29%),
    radial-gradient(circle at 92% 0%, rgba(var(--friend-news-rgb), 0.14), transparent 36%),
    linear-gradient(115deg, #070b11 0%, #101824 36%, #090d14 72%, #05080d 100%);
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item::before {
  position: absolute;
  z-index: 0;
  top: 8%;
  bottom: 8%;
  left: 32.5%;
  width: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(var(--friend-news-rgb), 0.72), transparent);
  box-shadow: 0 0 14px rgba(var(--friend-news-rgb), 0.52);
}

.home-friend-news-modal--club .home-friend-news-modal__icon {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  display: block;
  width: 33%;
  height: 100%;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 48% 72%, rgba(var(--friend-news-rgb), 0.28), transparent 53%),
    linear-gradient(90deg, rgba(var(--friend-news-rgb), 0.09), transparent);
  box-shadow: none;
}

.home-friend-news-modal--club .home-friend-news-modal__icon::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 4%;
  left: 8%;
  height: 16%;
  border-radius: 50%;
  content: "";
  background: rgba(var(--friend-news-rgb), 0.28);
  filter: blur(9px);
}

.home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 7px 6px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 8px rgba(var(--friend-news-rgb), 0.38));
  transform: scale(1.06);
  transform-origin: center bottom;
}

.home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar:not(.home-friend-news__avatar--personal-art) {
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.82) contrast(1.08) drop-shadow(0 0 10px rgba(var(--friend-news-rgb), 0.42));
}

.home-friend-news-modal--club .home-friend-news-modal__copy {
  width: 67%;
  min-width: 0;
  margin-left: 33%;
  padding-left: 9px;
}

.home-friend-news-modal--club .home-friend-news-modal__item:nth-child(3n) .home-friend-news-modal__copy {
  padding-left: 9px;
}

.home-friend-news-modal--club .home-friend-news-modal__player-title,
.home-friend-news-modal--club .home-friend-news-modal__event-lines,
.home-friend-news-modal--club .home-friend-news-modal__copy > small {
  max-width: 100%;
}

.home-friend-news-modal--club .home-friend-news-modal__player-title {
  margin-left: 0;
  padding-left: 0;
  background: none;
}

.home-friend-news-modal--club .home-friend-news-modal__event-lines > strong {
  font-size: 12px;
  line-height: 1.22;
}

.home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero {
  top: 5px;
  right: auto;
  left: 5px;
  min-width: 42px;
  min-height: 46px;
  font-size: 6px;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row {
  gap: 4px;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle b {
  font-size: 8px;
}

.home-friend-news-modal--club .home-friend-news-modal__profile-cue {
  min-height: 24px;
  padding-inline: 7px;
  font-size: 7px;
}

@media (min-width: 521px) {
  .home-friend-news-modal--club .home-friend-news-modal__event-lines > strong {
    font-size: 13px;
  }
}

.home-friend-news-modal__kind {
  display: inline-flex;
  min-height: 32px;
  margin-left: auto;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 219, 145, 0.46);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 205, 105, 0.2), rgba(255, 174, 56, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 15px rgba(0, 0, 0, 0.18);
  color: #ffe0a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.055em;
  line-height: 1;
  white-space: nowrap;
}

.home-friend-news-modal__kind--daily {
  position: relative;
  min-height: 27px;
  margin-right: -2px;
  margin-bottom: -2px;
  padding: 0 10px;
  overflow: hidden;
  border-color: #ffc0aa;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.14) 36%, transparent 38%),
    linear-gradient(135deg, #ffb69b 0%, #ff866d 42%, #de574b 76%, #a83238 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.78),
    inset 0 -3px 4px rgba(91, 12, 24, 0.3),
    0 0 14px rgba(255, 111, 86, 0.34),
    0 5px 12px rgba(0, 0, 0, 0.28);
  color: #401016;
  font-size: 10px;
  text-shadow: 0 1px 0 rgba(255, 225, 214, 0.5);
}

.home-friend-news-modal__kind--daily::after {
  position: absolute;
  top: 3px;
  right: 11px;
  left: 11px;
  height: 35%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.06));
  content: "";
  pointer-events: none;
}

.home-friend-news-modal__kind--daily > span {
  position: relative;
  z-index: 1;
  margin-right: 5px;
  font-size: 1.12em;
  filter: drop-shadow(0 1px 1px rgba(82, 12, 20, 0.34));
}

.home-friend-news-modal__kind--mtt {
  position: relative;
  min-height: 27px;
  margin-right: -2px;
  margin-bottom: -2px;
  padding: 0 10px;
  overflow: hidden;
  border-color: #ffe8a3;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.18) 36%, transparent 38%),
    linear-gradient(135deg, #fff0a6 0%, #ffd45f 42%, #efa91f 76%, #cf8210 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.88),
    inset 0 -3px 4px rgba(126, 69, 0, 0.28),
    0 0 14px rgba(255, 190, 55, 0.38),
    0 5px 12px rgba(0, 0, 0, 0.28);
  color: #301b00;
  font-size: 10px;
  text-shadow: 0 1px 0 rgba(255, 245, 194, 0.54);
}

.home-friend-news-modal__kind--mtt::after {
  position: absolute;
  top: 3px;
  right: 11px;
  left: 11px;
  height: 35%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
  content: "";
  pointer-events: none;
}

.home-friend-news-modal__kind--mtt > span {
  position: relative;
  z-index: 1;
  margin-right: 5px;
  font-size: 1.12em;
  filter: drop-shadow(0 1px 1px rgba(89, 47, 0, 0.34));
}

@media (max-width: 480px) {
  .home-friend-news-modal__kind {
    flex-basis: auto;
    margin-left: auto;
    padding-inline: 11px;
    font-size: 10px;
  }
}

.home-friend-news-modal__copy .chat-user-modal__news-comments {
  width: 100%;
  box-sizing: border-box;
}

.home-friend-news-modal .chat-user-modal__news-comments-list {
  gap: 4px;
}

.home-friend-news-modal .chat-user-modal__news-comment {
  padding: 6px 8px;
  border-radius: 9px;
}

.home-friend-news-modal .chat-user-modal__news-comment-author {
  min-height: 26px;
  gap: 6px;
}

.home-friend-news-modal .chat-user-modal__news-comment-author img,
.home-friend-news-modal .chat-user-modal__news-comment-author > span {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.home-friend-news-modal .chat-user-modal__news-comment p {
  margin: 2px 30px 0 31px;
  line-height: 1.25;
}

.home-friend-news-modal .chat-user-modal__comment-reactions {
  gap: 4px;
  margin-top: 4px;
}

.home-friend-news-modal .chat-user-modal__news-comment-delete {
  top: 7px;
  right: 7px;
  width: 27px;
  height: 27px;
  font-size: 20px;
  line-height: 24px;
}

.home-news-comment-quote {
  display: grid;
  gap: 2px;
  margin: 4px 0 2px 31px;
  padding: 4px 7px;
  border-left: 3px solid var(--friend-news-accent);
  border-radius: 7px;
  background: rgba(7, 13, 22, 0.56);
  color: #9cabc0;
  font-size: 11px;
  line-height: 1.3;
}

.home-news-comment-quote strong {
  color: #ffe0a3;
  font-size: 11px;
}

.home-news-comment-quote span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-friend-news-modal .home-news-comment-reply-btn {
  min-height: 22px;
  margin-left: 2px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9fb0c7;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.home-friend-news-modal .home-news-comment-reply-btn:hover,
.home-friend-news-modal .home-news-comment-reply-btn:focus-visible {
  background: rgba(101, 199, 255, 0.12);
  color: #dff4ff;
}

.home-news-reply-preview {
  display: flex;
  grid-column: 1 / -1;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-left: 3px solid #ff9f32;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.14);
}

.home-news-reply-preview > span {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
}

.home-news-reply-preview strong,
.home-news-reply-preview small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-reply-preview strong {
  color: #ffe0a3;
  font-size: 11px;
}

.home-news-reply-preview small {
  margin: 2px 0 0;
  color: #9cabc0;
  font-size: 10px;
}

.home-friend-news-modal .home-news-reply-preview > button {
  width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aebbd0;
  font-size: 20px;
  cursor: pointer;
}

.home-news-comment-input-wrap {
  position: relative;
  display: flex;
  min-width: 0;
}

.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-comment-input-wrap input {
  width: 100%;
  padding-left: 43px;
}

.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-comment-emoji-btn {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 4px;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aebbd0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-comment-emoji-btn:hover,
.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-comment-emoji-btn:focus-visible {
  background: rgba(148, 163, 184, 0.15);
  color: #ffe0a3;
}

.home-news-emoji-picker {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + 7px);
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 3px;
  max-width: min(286px, calc(100vw - 54px));
  max-height: 150px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
}

.home-news-emoji-picker[hidden] {
  display: none;
}

.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-emoji-picker > button {
  display: grid;
  width: 34px;
  min-height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-emoji-picker > button:hover,
.home-friend-news-modal .chat-user-modal__news-comment-form .home-news-emoji-picker > button:focus-visible {
  background: rgba(148, 163, 184, 0.2);
}

.home-friend-news-modal__empty {
  display: flex;
  min-height: 220px;
  padding: 34px 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #8fa0b6;
  text-align: center;
}

.home-friend-news-modal__loading {
  display: grid;
  min-height: 240px;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  color: #eef5ff;
  text-align: center;
}

.home-friend-news-modal__loading > span {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(111, 216, 255, 0.18);
  border-top-color: #6fd8ff;
  border-radius: 50%;
  animation: home-friend-news-loading-spin 0.8s linear infinite;
}

.home-friend-news-modal__loading strong {
  font-size: 17px;
}

.home-friend-news-modal__loading small {
  color: #91a1b8;
  font-size: 13px;
}

.home-friend-news-modal__skeleton {
  display: grid;
  gap: 12px;
  padding: 10px 2px 20px;
}

.home-friend-news-modal__skeleton span {
  display: block;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(142, 160, 184, 0.12);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.025) 20%, rgba(255, 215, 137, 0.1) 42%, rgba(255, 255, 255, 0.025) 64%);
  background-size: 220% 100%;
  animation: home-friend-news-skeleton 1.25s ease-in-out infinite;
}

@keyframes home-friend-news-skeleton {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

@keyframes home-friend-news-loading-spin {
  to { transform: rotate(360deg); }
}

.home-friend-news-modal__empty > span {
  margin-bottom: 12px;
  color: #71d954;
  font-size: 30px;
}

.home-friend-news-modal__empty strong {
  color: #e8eef7;
  font-size: 17px;
}

.home-friend-news-modal__empty small {
  max-width: 310px;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
}

body.home-friend-news-modal-open {
  overflow: hidden;
}

[data-sng-home-banner] {
  /* The banner must not depend on the SNG API response to become visible. */
  opacity: 1;
  transition: opacity 180ms ease;
}

[data-sng-home-banner][data-sng-home-banner-ready="1"] {
  opacity: 1;
}

@media (max-width: 520px) {
  .home-friend-news-modal {
    align-items: stretch;
  }

  .home-friend-news-modal__panel {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .home-friend-news-modal__header {
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .home-friend-news-modal__list {
    flex: 1 1 auto;
  }

  .home-friend-news__ticker {
    min-height: 62px;
    padding-block: 8px;
  }

  .home-friend-news__label {
    display: block;
  }
}

.app.app--view-home .home-club-actions-block {
  --home-sng-champions-row: calc(clamp(110px, 33.333vw, 320px) + 64px) !important;
}

.app.app--view-home .home-sng-champions-action {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 64px !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 151, 31, 0.72) !important;
  background: #07090d !important;
}

body.club-guestbook-open { overflow: hidden; }
.club-guestbook[hidden] { display: none !important; }
.club-guestbook { position: fixed; z-index: 18000; inset: 0; display: grid; place-items: center; padding: 18px; }
.club-guestbook__backdrop { position: absolute; inset: 0; border: 0; background: rgba(3, 6, 10, 0.82); backdrop-filter: blur(8px); }
.club-guestbook__panel { position: relative; display: flex; flex-direction: column; width: min(680px, 100%); max-height: min(880px, calc(100dvh - 28px)); overflow: hidden; color: #f7f1e7; background: linear-gradient(180deg, #20242d, #11151d); border: 1px solid rgba(229, 179, 74, 0.42); border-radius: 26px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62); }
.club-guestbook__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid rgba(229, 179, 74, 0.18); }
.club-guestbook__header small { color: #d8ad55; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.club-guestbook__header h2 { margin: 3px 0 0; font-size: clamp(20px, 5vw, 28px); }
.club-guestbook__header > button { width: 38px; height: 38px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; font-size: 25px; }
.club-guestbook__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 18px 8px; }
.club-guestbook__tabs button { min-height: 43px; color: #aeb7c8; background: #171c26; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; font-weight: 900; }
.club-guestbook__tabs button.is-active { color: #251400; background: linear-gradient(180deg, #ffe9a4, #e9ae42); border-color: #ffd879; }
.club-guestbook__copy { align-self: flex-end; min-height: 34px; margin: 0 18px 7px; padding: 0 11px; color: #e6bd6d; background: rgba(229, 179, 74, 0.08); border: 1px solid rgba(229, 179, 74, 0.32); border-radius: 10px; font-size: 11px; font-weight: 850; }
.club-guestbook__copy:active { background: rgba(229, 179, 74, 0.17); transform: translateY(1px); }
.club-guestbook__scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.club-guestbook__review-invite { margin: 8px 22px 2px; color: #f4d38f; font-size: 14px; font-weight: 800; line-height: 1.45; }
.club-guestbook__review-invite[hidden] { display: none !important; }
.club-guestbook__composer { margin: 6px 18px 12px; padding: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(229,179,74,.22); border-radius: 17px; }
.club-guestbook__composer textarea { display: block; width: 100%; min-height: 76px; padding-left: 38px; resize: vertical; color: #f8f4ec; background: transparent; border: 0; outline: 0; font: inherit; line-height: 1.45; }
.club-guestbook__composer > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.club-guestbook__composer span { color: #909bad; font-size: 11px; }
.club-guestbook__composer #clubGuestbookGate.is-error { color: #ff9b9b; }
.club-guestbook__composer button, .club-guestbook__comment-form button { min-height: 36px; padding: 0 14px; color: #251400; background: #edbd5d; border: 0; border-radius: 10px; font-weight: 900; }
.club-guestbook__composer button:disabled { opacity: .42; }
.club-guestbook__comment-form button:disabled { opacity: .55; cursor: wait; }
.club-guestbook__composer--locked textarea, .club-guestbook__composer--locked > div:not(.club-guestbook__binding-gate) { display: none; }
.club-guestbook__binding-gate { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #d8dee8; font-size: 12px; line-height: 1.35; }
.club-guestbook__binding-gate button { flex: 0 0 auto; min-height: 36px; padding: 0 14px; color: #251400; background: linear-gradient(180deg, #ffe28a, #e9ad3f); border: 0; border-radius: 10px; font-weight: 900; }
.club-guestbook__binding-gate--compact { margin-top: 10px; padding: 10px; background: rgba(229,179,74,.07); border: 1px solid rgba(229,179,74,.2); border-radius: 12px; }
.club-guestbook__feed { padding: 0 18px 24px; }
.club-guestbook__post { margin-bottom: 12px; padding: 15px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.club-guestbook__post > header { display: flex; align-items: flex-start; gap: 10px; }
.club-guestbook__author { appearance: none; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; padding: 0 !important; color: inherit; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: left; cursor: pointer; }
.club-guestbook__author-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin-left: 13px; background: transparent !important; }
.club-guestbook__author-name { display: flex; align-items: center; max-width: 100%; min-width: 0; }
.club-guestbook__author strong { overflow: hidden; color: var(--guestbook-author-accent, #65c7ff); font-size: clamp(19px, 4.8vw, 25px); font-weight: 950; line-height: 1.05; letter-spacing: -.025em; text-overflow: ellipsis; text-shadow: 0 0 18px color-mix(in srgb, var(--guestbook-author-accent, #65c7ff) 26%, transparent); white-space: nowrap; }
.club-guestbook__verified { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; margin-left: 7px; color: #062c1e; background: linear-gradient(145deg, #7effc4, #28c982); border: 1px solid #a5ffda; border-radius: 50%; font-size: 14px; font-style: normal; font-weight: 1000; box-shadow: 0 0 10px rgba(48, 226, 145, .32); }
.club-guestbook__author-meta { margin-top: 5px; color: #aeb8c8; font-size: 12px; font-weight: 800; line-height: 1.25; }
.club-guestbook__author small { margin-top: 3px; color: #8995a7; font-size: 11px; font-weight: 650; }
.club-guestbook__avatar, .club-guestbook__comment-avatar { flex: 0 0 auto; width: 68px; height: 68px; object-fit: cover; border: 2px solid var(--guestbook-author-accent, #dcae53); border-radius: 50%; background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.14), #101722 72%); display: grid; place-items: center; font-weight: 900; box-shadow: 0 0 20px color-mix(in srgb, var(--guestbook-author-accent, #dcae53) 22%, transparent); }
.club-guestbook__avatar--personal-art { object-position: 50% 18%; }
.club-guestbook__post header > div { display: grid; min-width: 0; }
.club-guestbook__post header small { color: #8f9bad; }
.club-guestbook__kind { margin-left: auto; padding: 5px 8px; color: #e9bd68; background: rgba(229,179,74,.1); border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.club-guestbook__delete { flex: 0 0 auto; min-height: 28px; padding: 4px 8px; color: #ff9b9b; background: rgba(190,45,55,.12); border: 1px solid rgba(255,99,107,.38); border-radius: 9px; font-size: 10px; font-weight: 900; }
.club-guestbook__delete:hover, .club-guestbook__delete:focus-visible { color: #fff; background: rgba(213,50,61,.34); border-color: rgba(255,126,132,.72); }
.club-guestbook__delete:disabled { opacity: .45; }
.club-guestbook__delete--post { margin-left: 2px; }
.club-guestbook__text { margin: 13px 2px; color: #eef1f6; line-height: 1.5; white-space: pre-wrap; }
.club-guestbook__reactions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.club-guestbook__reaction { min-height: 32px; padding: 4px 9px; color: #e7ebf2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.club-guestbook__reaction.is-mine { background: rgba(229,179,74,.2); border-color: rgba(229,179,74,.6); }
.club-guestbook__reaction span { margin-left: 4px; font-weight: 900; }
.club-guestbook__reactions > span { margin-left: auto; color: #8995a7; font-size: 12px; }
.club-guestbook__comments { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.club-guestbook__comment { display: flex; gap: 8px; margin: 8px 0; }
.club-guestbook__comment-body { flex: 1 1 auto; min-width: 0; }
.club-guestbook__author--comment { width: 100%; }
.club-guestbook__author--comment .club-guestbook__avatar { width: 42px; height: 42px; border-width: 1px; font-size: 13px; box-shadow: 0 0 12px color-mix(in srgb, var(--guestbook-author-accent, #dcae53) 18%, transparent); }
.club-guestbook__author--comment .club-guestbook__author-copy { margin-left: 9px; }
.club-guestbook__author--comment strong { font-size: 15px; }
.club-guestbook__author--comment .club-guestbook__verified { width: 17px; height: 17px; margin-left: 5px; font-size: 11px; }
.club-guestbook__author--comment .club-guestbook__author-meta { margin-top: 2px; font-size: 10px; }
.club-guestbook__author--comment small { margin-top: 1px; font-size: 9px; }
.club-guestbook__delete--comment { align-self: flex-start; margin-left: auto; }
.club-guestbook__comment-avatar { width: 29px; height: 29px; border-width: 1px; font-size: 11px; box-shadow: none; }
.club-guestbook__comment b { font-size: 12px; }
.club-guestbook__comment p { margin: 2px 0 0; color: #cbd2de; font-size: 12px; line-height: 1.4; }
.club-guestbook__comment-form { display: flex; gap: 7px; margin-top: 10px; }
.club-guestbook__input-wrap { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.club-guestbook__input-wrap--post { display: block; }
.club-guestbook__comment-form input { width: 100%; min-width: 0; min-height: 37px; padding: 0 11px 0 43px; color: #fff; background: #10151d; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.club-guestbook__composer .club-guestbook__emoji-toggle, .club-guestbook__comment-form .club-guestbook__emoji-toggle { position: absolute; z-index: 2; top: 3px; left: 4px; width: 32px; min-height: 32px; padding: 0; color: #aebbd0; background: transparent; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.club-guestbook__composer .club-guestbook__emoji-toggle:hover, .club-guestbook__composer .club-guestbook__emoji-toggle:focus-visible, .club-guestbook__comment-form .club-guestbook__emoji-toggle:hover, .club-guestbook__comment-form .club-guestbook__emoji-toggle:focus-visible { color: #ffe0a3; background: rgba(148,163,184,.15); }
.club-guestbook__emoji-picker { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 7px); display: grid; grid-template-columns: repeat(8, 34px); gap: 3px; max-width: min(286px, calc(100vw - 54px)); max-height: 150px; padding: 8px; overflow-y: auto; border: 1px solid rgba(148,163,184,.35); border-radius: 12px; background: rgba(15,23,42,.97); box-shadow: 0 12px 30px rgba(0,0,0,.46); backdrop-filter: blur(10px); }
.club-guestbook__input-wrap--post .club-guestbook__emoji-picker { bottom: auto; top: 39px; }
.club-guestbook__emoji-picker[hidden] { display: none; }
.club-guestbook__composer .club-guestbook__emoji-picker > button, .club-guestbook__comment-form .club-guestbook__emoji-picker > button { display: grid; width: 34px; min-height: 34px; padding: 0; place-items: center; color: inherit; background: transparent; border: 0; border-radius: 7px; font-size: 21px; line-height: 1; cursor: pointer; }
.club-guestbook__composer .club-guestbook__emoji-picker > button:hover, .club-guestbook__composer .club-guestbook__emoji-picker > button:focus-visible, .club-guestbook__comment-form .club-guestbook__emoji-picker > button:hover, .club-guestbook__comment-form .club-guestbook__emoji-picker > button:focus-visible { background: rgba(148,163,184,.2); }
.club-guestbook__empty { padding: 42px 12px; color: #8e99aa; text-align: center; }
@media (max-width: 520px) {
  .club-guestbook { padding: 0; place-items: stretch; }
  .club-guestbook__panel { width: 100%; max-height: 100dvh; border-radius: 0; }
  .club-guestbook__header { padding-top: max(18px, env(safe-area-inset-top)); }
  .club-guestbook__composer, .club-guestbook__tabs { margin-inline: 12px; padding-inline: 10px; }
  .club-guestbook__tabs { gap: 5px; }
  .club-guestbook__tabs button { min-height: 40px; padding-inline: 5px; font-size: 12px; }
  .club-guestbook__copy { margin-inline: 12px; }
  .club-guestbook__review-invite { margin-inline: 16px; }
  .club-guestbook__feed { padding-inline: 12px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

.app.app--view-home .home-sng-champions-image-link {
  min-height: 0 !important;
  border-radius: inherit inherit 0 0 !important;
}

.app.app--view-home .home-sng-champions-action__bar {
  position: relative;
  z-index: 21;
  display: grid;
  grid-template-columns: minmax(82px, 1fr) minmax(138px, 1.6fr) minmax(82px, 1fr);
  align-items: stretch;
  gap: clamp(4px, 1vw, 8px);
  min-width: 0;
  padding: 7px clamp(6px, 1.5vw, 12px) 8px;
  border-top: 1px solid rgba(255, 165, 48, 0.5);
  background: linear-gradient(180deg, #17130f 0%, #080a0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 229, 170, 0.08);
}

.app.app--view-home .home-sng-champions-action__stat,
.app.app--view-home .home-sng-champions-action__cta {
  position: static !important;
  inset: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px !important;
  height: 40px;
  padding: 3px clamp(4px, 1.2vw, 9px) !important;
  border: 1px solid rgba(255, 153, 29, 0.6) !important;
  border-radius: 10px !important;
  color: #ffe6ad !important;
  background: linear-gradient(180deg, rgba(52, 34, 17, 0.96), rgba(10, 12, 17, 0.98)) !important;
  box-shadow: inset 0 0 12px rgba(255, 119, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.32) !important;
  font-size: clamp(10px, 2.7vw, 14px) !important;
  line-height: 1;
  white-space: nowrap;
}

.app.app--view-home .home-sng-champions-action__stat {
  gap: clamp(3px, 0.8vw, 6px);
  border-color: transparent !important;
  color: rgba(255, 231, 185, 0.82) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .home-sng-champions-action__stat > span {
  color: rgba(255, 174, 50, 0.72);
  font-size: 1.05em;
  font-weight: 900;
}

.app.app--view-home .home-sng-champions-action__stat strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}

.app.app--view-home .home-sng-champions-action__stat--prize {
  flex-direction: column;
  gap: 2px;
}

.app.app--view-home .home-sng-champions-action__stat--prize small {
  color: rgba(255, 218, 151, 0.72);
  font-size: clamp(7px, 1.8vw, 10px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.app.app--view-home .home-sng-champions-action__cta-wrap {
  display: grid;
  grid-template-rows: minmax(25px, 1fr) auto;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  height: 48px;
}

.app.app--view-home .home-sng-champions-action__cta-wrap .home-sng-champions-action__cta {
  width: 100%;
  min-height: 34px !important;
  height: auto;
}

.app.app--view-home .home-sng-champions-action__stage {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 221, 157, 0.82);
  font-size: clamp(7px, 1.8vw, 10px);
  font-weight: 750;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.app--view-home .home-sng-champions-action__cta {
  border-color: #ffd36b !important;
  color: #1f0d00 !important;
  background: linear-gradient(180deg, #fff4bd 0%, #ffc13d 48%, #f07800 100%) !important;
  font-weight: 950 !important;
  font-size: clamp(15px, 3.8vw, 20px) !important;
  text-transform: none !important;
  text-shadow: 0 1px 0 rgba(255, 244, 196, 0.5) !important;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -3px 7px rgba(126, 45, 0, 0.34),
    0 0 22px rgba(255, 165, 34, 0.72),
    0 0 7px rgba(255, 236, 176, 0.64),
    0 6px 13px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 390px) {
  .app.app--view-home .home-sng-champions-action__bar {
    grid-template-columns: minmax(70px, 1fr) minmax(118px, 1.6fr) minmax(70px, 1fr);
    gap: 3px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .app.app--view-home .home-sng-champions-action__stat {
    padding-right: 3px !important;
    padding-left: 3px !important;
    font-size: 9px !important;
  }

  .app.app--view-home .home-sng-champions-action__cta {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: 14px !important;
  }
}

html[data-theme="gold"].app-view-home #app.app.app--view-home,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home {
  background: var(--home-gold-canvas-bg) !important;
  background-color: #030407 !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home > .bg-gradient,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home > .bg-gradient {
  background:
    radial-gradient(ellipse at 10% -2%, rgba(255, 231, 168, 0.13), transparent 42%),
    radial-gradient(ellipse at 88% 4%, rgba(255, 198, 74, 0.07), transparent 40%),
    radial-gradient(ellipse at 36% 54%, rgba(255, 244, 214, 0.035), transparent 46%),
    radial-gradient(ellipse at 74% 72%, rgba(214, 163, 84, 0.032), transparent 44%),
    radial-gradient(ellipse at 56% 112%, rgba(255, 231, 168, 0.048), transparent 52%) !important;
  opacity: 0.52 !important;
  filter: blur(14px) saturate(108%);
}

html[data-theme="gold"].app-view-home #app.app.app--view-home > .bg-blur,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home > .bg-blur {
  background: var(--home-gold-canvas-bg) !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .card,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card {
  background: var(--home-gold-canvas-bg) !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"])::after,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"])::after {
  background: var(--home-gold-canvas-bg) !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .card__header,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card__header,
html[data-theme="gold"].app-view-home #app.app.app--view-home .card__content,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card__content {
  background: var(--home-gold-canvas-bg) !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .home-welcome-outline,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .home-welcome-outline {
  background:
    radial-gradient(ellipse at 18% 4%, rgba(255, 231, 168, 0.045), transparent 34%),
    radial-gradient(ellipse at 86% 6%, rgba(255, 198, 74, 0.026), transparent 36%),
    linear-gradient(158deg, rgba(4, 5, 8, 0.94), rgba(8, 11, 17, 0.9) 48%, rgba(3, 4, 7, 0.94) 78%, rgba(1, 2, 4, 0.96)) !important;
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .home-welcome-outline::before,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .home-welcome-outline::before {
  border-color: rgba(214, 163, 84, 0.46) !important;
}

.app.app--view-home .tournament-day-home-dual {
  --home-promo-gold: #ffc64a;
  --home-promo-orange: #ff9f1a;
  --home-promo-line: rgba(255, 198, 74, 0.22);
  --home-promo-card: rgba(4, 6, 10, 0.94);
  --home-promo-card-soft: rgba(255, 255, 255, 0.045);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 18px;
  position: relative;
  margin: 30px 0 0;
  padding: 20px;
  border: 1px solid rgba(255, 198, 74, 0.22);
  border-radius: 26px;
  overflow: visible;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 198, 74, 0.075), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(255, 159, 26, 0.045), transparent 36%),
    linear-gradient(145deg, rgba(4, 6, 10, 0.99), rgba(3, 4, 7, 0.99) 58%, rgba(5, 7, 11, 0.99));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 20px rgba(255, 159, 26, 0.065),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    inset 0 0 28px rgba(255, 198, 74, 0.035);
}

html[data-theme="dark"].app-view-home,
html[data-theme="dark"].app-view-home body,
html[data-theme="dark"] body[data-view="home"] {
  --home-dark-canvas-bg:
    radial-gradient(circle at top, #0f172a 0, #071126 48%, #020617 100%);
  background: var(--home-dark-canvas-bg) !important;
  background-color: #0f172a !important;
}

html[data-theme="dark"].app-view-home #app.app.app--view-home,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home {
  background: var(--home-dark-canvas-bg) !important;
  background-color: #0f172a !important;
}

html[data-theme="dark"].app-view-home #app.app.app--view-home > .bg-gradient,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home > .bg-gradient {
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.16), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(125, 211, 252, 0.09), transparent 36%),
    radial-gradient(circle at 52% 94%, rgba(14, 165, 233, 0.08), transparent 42%) !important;
  opacity: 0.72 !important;
  filter: blur(14px) saturate(112%);
}

html[data-theme="dark"].app-view-home #app.app.app--view-home > .bg-blur,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home > .bg-blur {
  background: var(--home-dark-canvas-bg) !important;
}

html[data-theme="dark"].app-view-home #app.app.app--view-home .card,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home .card,
html[data-theme="dark"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"])::after,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"])::after,
html[data-theme="dark"].app-view-home #app.app.app--view-home .card__content,
html[data-theme="dark"] body[data-view="home"] #app.app.app--view-home .card__content {
  background: var(--home-dark-canvas-bg) !important;
  background-color: #0f172a !important;
}

[data-theme="dark"] .app.app--view-home .tournament-day-home-dual {
  --home-promo-gold: #f6c768;
  --home-promo-orange: #fb923c;
  --home-promo-line: rgba(246, 199, 104, 0.26);
  --home-promo-card: rgba(19, 17, 16, 0.94);
  --home-promo-card-soft: rgba(246, 199, 104, 0.07);
  border-color: rgba(246, 199, 104, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(246, 199, 104, 0.09), transparent 36%),
    radial-gradient(circle at 84% 0%, rgba(251, 146, 60, 0.045), transparent 38%),
    linear-gradient(145deg, rgba(18, 17, 18, 0.98), rgba(10, 11, 15, 0.99) 56%, rgba(3, 5, 10, 0.99));
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.42),
    0 0 22px rgba(246, 199, 104, 0.07),
    inset 0 0 0 1px rgba(255, 237, 213, 0.045),
    inset 0 0 28px rgba(251, 146, 60, 0.035);
}

/* Home header refresh: keep the page body unchanged, polish only the top bar. */
.app.app--view-home .card:has(.view--active[data-view="home"]) .card__header {
  position: relative;
  z-index: 60;
  align-items: center;
  gap: 10px;
  margin: 0 calc(-1 * var(--card-padding-x)) 0;
  width: calc(100% + (2 * var(--card-padding-x)));
  box-sizing: border-box;
  padding: 7px var(--card-padding-x);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(8, 13, 26, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 46px rgba(0, 0, 0, 0.22);
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"]) .card__header,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"]) .card__header {
  border-color: rgba(214, 163, 84, 0.18);
  background:
    radial-gradient(ellipse at 16% 0%, rgba(255, 231, 168, 0.055), transparent 36%),
    radial-gradient(ellipse at 88% 6%, rgba(255, 198, 74, 0.03), transparent 38%),
    linear-gradient(160deg, rgba(4, 6, 10, 0.94), rgba(8, 11, 17, 0.88) 46%, rgba(3, 4, 7, 0.93) 76%, rgba(1, 2, 4, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.1),
    inset 0 -18px 34px rgba(0, 0, 0, 0.16),
    0 18px 46px rgba(0, 0, 0, 0.28);
}

html[data-theme="gold"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"]) .theme-toggle,
html[data-theme="gold"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"]) .pwa-install-btn,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"]) .theme-toggle,
html[data-theme="gold"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"]) .pwa-install-btn {
  border-color: rgba(214, 163, 84, 0.26);
  background:
    radial-gradient(ellipse at 28% 0%, rgba(246, 213, 138, 0.065), transparent 48%),
    linear-gradient(180deg, rgba(8, 11, 17, 0.9), rgba(3, 5, 9, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.14),
    inset 0 -10px 18px rgba(0, 0, 0, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.24);
}

.app.app--view-home .logo.logo--welcome {
  gap: 9px;
  min-width: 0;
  padding: 2px 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .logo__image {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow:
    0 0 0 5px rgba(251, 191, 36, 0.055),
    0 12px 28px rgba(0, 0, 0, 0.55);
}

.app.app--view-home .logo__text,
.app.app--view-home .logo__title,
.app.app--view-home .logo__title-line,
.app.app--view-home .logo__subtitle {
  background: transparent !important;
}

.app.app--view-home .logo__title {
  font-size: clamp(11px, 3.1vw, 16px);
  font-weight: 800;
  letter-spacing: 0.045em;
  color: #f7d897;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.app.app--view-home .logo__subtitle {
  color: rgba(226, 232, 240, 0.72);
  letter-spacing: 0.18em;
}

.app.app--view-home .header-actions {
  gap: 8px;
}

.app.app--view-home .header-profile-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.app.app--view-home .header-greeting-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 4px;
}

.app.app--view-home .header-greeting {
  max-width: 122px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 247, 237, 0.94);
}

.app.app--view-home .header-status {
  display: inline-flex;
  max-width: 122px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: rgba(255, 226, 154, 0.72);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.18);
}

.app.app--view-home .header-status--hidden {
  display: none !important;
}

.app.app--view-home .header-status__fish {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(251, 191, 36, 0.44));
}

.app.app--view-home .header-greeting__arrow {
  display: none !important;
}

.app.app--view-home .header-icon-btn,
.app.app--view-home .theme-toggle,
.app.app--view-home .pwa-install-btn {
  height: 42px;
  min-width: 42px;
  border-radius: 16px;
  border-color: rgba(251, 191, 36, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(8, 13, 26, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.22);
  color: rgba(255, 247, 237, 0.92);
}

.app.app--view-home .header-icon-btn {
  position: relative;
  width: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.app.app--view-home .card__header > .header-crm-shortcut {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 48px;
  min-width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
}

.app.app--view-home .card__header > .header-crm-shortcut:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.app.app--view-home .card__header > .header-crm-shortcut:active {
  transform: translate(-50%, -50%) scale(0.96);
}
.app.app--view-home .card__header > .header-crm-shortcut.header-crm-shortcut--compact {
  left: calc(50% - 77px);
  width: 48px;
  min-width: 48px;
  height: 54px;
  border-radius: 15px;
}
.app.app--view-home .header-admin-shortcuts--with-crm .header-admin-shortcut {
  width: 48px;
  min-width: 48px;
  height: 54px;
  border-radius: 15px;
}

/* Admin header: logo first, then the four work shortcuts in normal flow. */
.app.app--view-home .card__header.card__header--admin-shortcuts .logo__text {
  display: none !important;
}

.app.app--view-home .card__header.card__header--admin-shortcuts .logo.logo--welcome {
  flex: 0 0 auto;
  width: 46px;
  margin-right: 2px;
}

.app.app--view-home .card__header.card__header--admin-shortcuts > .header-crm-shortcut,
.app.app--view-home .card__header.card__header--admin-shortcuts > .header-crm-shortcut.header-crm-shortcut--compact,
.app.app--view-home .card__header.card__header--admin-shortcuts > .header-admin-shortcuts,
.app.app--view-home .card__header.card__header--admin-shortcuts > .header-admin-shortcuts.header-admin-shortcuts--with-crm {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  flex: 0 0 auto;
  transform: none !important;
}

.app.app--view-home .card__header.card__header--admin-shortcuts > .header-crm-shortcut:hover {
  transform: scale(1.04) !important;
}

.app.app--view-home .card__header.card__header--admin-shortcuts > .header-crm-shortcut:active {
  transform: scale(0.96) !important;
}

.app.app--view-home .card__header.card__header--admin-shortcuts > .header-admin-shortcuts {
  gap: 5px;
}

.app.app--view-home .card__header.card__header--admin-shortcuts .header-actions {
  min-width: 0;
  margin-left: auto;
}

@media (max-width: 520px) {
  .app.app--view-home .card__header.card__header--admin-shortcuts {
    gap: 4px;
  }

  .app.app--view-home .card__header.card__header--admin-shortcuts .logo.logo--welcome {
    width: 40px;
    margin-right: 0;
  }

  .app.app--view-home .card__header.card__header--admin-shortcuts .logo__image {
    width: 40px;
    height: 40px;
  }

  .app.app--view-home .card__header.card__header--admin-shortcuts > .header-admin-shortcuts {
    gap: 4px;
  }
}
@media (max-width: 520px) {
  .app.app--view-home .card__header > .header-crm-shortcut.header-crm-shortcut--compact {
    left: calc(50% - 66px);
    width: 40px;
    min-width: 40px;
    height: 46px;
  }
  .app.app--view-home .header-admin-shortcuts--with-crm .header-admin-shortcut {
    width: 40px;
    min-width: 40px;
    height: 46px;
  }
}

.app.app--view-home .header-icon-btn__icon {
  font-size: 18px;
}

.app.app--view-home .header-menu-shell {
  position: relative;
  flex-shrink: 0;
}

.app.app--view-home .header-menu-toggle {
  gap: 4px;
  flex-direction: column;
}

.app.app--view-home .header-menu-toggle__line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.32);
}

.app.app--view-home .header-notification-btn__badge {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(7, 10, 17, 0.96);
}

.app.app--view-home .header-notification-btn__badge[hidden] {
  display: none !important;
}

.app.app--view-home .header-more-menu {
  position: fixed;
  z-index: 1500;
  top: calc(env(safe-area-inset-top, 0px) + 86px);
  right: 14px;
  width: min(300px, calc(100vw - 28px));
  max-height: calc(100vh - 112px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 9px;
  overflow: auto;
  border-radius: 16px;
  border-color: rgba(251, 191, 36, 0.28);
  background:
    radial-gradient(ellipse at 86% -10%, rgba(255, 184, 77, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(11, 14, 21, 0.98), rgba(5, 8, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 38px rgba(0, 0, 0, 0.52),
    0 0 22px rgba(251, 146, 60, 0.14);
}

.app.app--view-home .header-more-menu[hidden] {
  display: none !important;
}

.app.app--view-home .header-more-menu .header-menu-action[hidden],
.app.app--view-home .games-apps-grid .feature[hidden] {
  display: none !important;
}

.app.app--view-home .header-more-menu__head {
  padding: 2px 4px 4px;
}

.app.app--view-home .header-more-menu__title {
  display: block;
  color: rgba(255, 247, 237, 0.94);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.app.app--view-home .header-more-menu__hint {
  display: none;
}

.app.app--view-home .header-more-menu .theme-toggle,
.app.app--view-home .header-more-menu .radio-toggle,
.app.app--view-home .header-more-menu .site-home-instruction-btn,
.app.app--view-home .header-more-menu .site-home-auth-btn,
.app.app--view-home .header-more-menu .header-menu-action {
  height: auto;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: 10px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 14px;
  border-color: rgba(251, 191, 36, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(14, 19, 32, 0.76);
  box-shadow: none;
  color: rgba(255, 247, 237, 0.92);
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.app.app--view-home .header-more-menu .radio-toggle {
  width: 100%;
  padding: 9px 10px;
}

html.site-home-header-mode .app.app--view-home .header-more-menu #radioToggle {
  display: grid !important;
}

.app.app--view-home .header-more-menu .radio-toggle .radio-toggle__icon,
.app.app--view-home .header-more-menu .theme-toggle .theme-toggle__icon {
  display: none !important;
}

.app.app--view-home .header-more-menu .radio-toggle .radio-toggle__icon--off,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--chill .radio-toggle__icon--chill,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--lounge .radio-toggle__icon--lounge,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--90s .radio-toggle__icon--90s,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--radio7 .radio-toggle__icon--radio7 {
  display: inline-flex !important;
}

.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--chill .radio-toggle__icon--off,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--lounge .radio-toggle__icon--off,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--90s .radio-toggle__icon--off,
.app.app--view-home .header-more-menu .radio-toggle.radio-toggle--radio7 .radio-toggle__icon--off {
  display: none !important;
}

html[data-theme="dark"] .app.app--view-home .header-more-menu .theme-toggle .theme-toggle__icon--dark,
html[data-theme="light"] .app.app--view-home .header-more-menu .theme-toggle .theme-toggle__icon--light,
html[data-theme="gold"] .app.app--view-home .header-more-menu .theme-toggle .theme-toggle__icon--gold,
html[data-theme="neon"] .app.app--view-home .header-more-menu .theme-toggle .theme-toggle__icon--neon {
  display: inline-flex !important;
}

.app.app--view-home .header-menu-action__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  font-size: 18px;
  line-height: 1;
}

.app.app--view-home .header-menu-action__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.app.app--view-home .header-menu-action__title {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 247, 237, 0.94);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.app--view-home .header-menu-action__hint,
.app.app--view-home .header-more-menu .radio-toggle__listen {
  display: none;
}

.app.app--view-home .header-more-menu .radio-toggle__text {
  align-items: flex-start;
}

.app.app--view-home .header-more-menu .radio-toggle .radio-toggle__label {
  color: rgba(255, 226, 154, 0.78);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.app.app--view-home .header-more-menu .header-menu-action--gazette,
.app.app--view-home .header-more-menu .header-menu-action--radio {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  padding-inline: 8px;
}

.app.app--view-home .header-more-menu .header-menu-action--gazette .header-menu-action__icon,
.app.app--view-home .header-more-menu .header-menu-action--radio .header-menu-action__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-size: 16px;
}

.app.app--view-home .header-more-menu .header-menu-action--gazette .header-menu-action__title,
.app.app--view-home .header-more-menu .header-menu-action--radio .header-menu-action__title {
  font-size: 11px;
}

.app.app--view-home .radio-toggle {
  min-width: 76px;
  padding: 0 10px;
}

.app.app--view-home .radio-toggle .radio-toggle__label {
  color: rgba(255, 247, 237, 0.94);
}

.app.app--view-home button.welcome-home-title-btn.title {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .home-daily-shortcuts.home-mini-icons {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: var(--home-shortcuts-icons-row) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  width: min(100%, calc(100vw - 8px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-top: 4px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

.app.app--view-home .home-club-actions-block {
  display: grid !important;
  grid-template-rows: var(--home-sng-champions-row) var(--home-club-choice-row) !important;
  width: min(100%, calc(100vw - 8px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

.app.app--view-home .home-daily-shortcuts.home-mini-icons .home-mini-icon-item {
  width: 100% !important;
  min-width: 0 !important;
}

.app.app--view-home .home-club-choice-actions {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  filter: none !important;
}

.app.app--view-home .home-club-choice-plaque {
  height: 100% !important;
  min-width: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 100% 100% !important;
}

.app.app--view-home .home-club-choice-plaque.home-club-choice-plaque--cash {
  background-image: url("./assets/home-club-choice-private-cash-glow.webp?v=3.748") !important;
}

.app.app--view-home .home-club-choice-plaque.home-club-choice-plaque--vote {
  background-image: url("./assets/home-club-choice-vote-glow.webp?v=3.748") !important;
}

@media (max-width: 1000px) {
  .app.app--view-home .home-club-actions-block {
    --home-sng-champions-row: 156px !important;
  }

  .app.app--view-home .home-club-choice-plaque--sng {
    grid-template-areas: "count status prize entry" !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    padding: 12px 7% 12px !important;
    overflow: hidden !important;
  }

  .app.app--view-home .home-club-actions-block .home-club-choice-plaque--sng .home-club-choice-plaque__text {
    top: 10px !important;
    width: min(64%, 360px) !important;
    font-size: 20px !important;
    line-height: 0.92 !important;
  }

  .app.app--view-home .home-club-choice-plaque--sng .home-club-choice-plaque__count,
  .app.app--view-home .home-club-choice-plaque--sng .home-club-choice-plaque__subtext,
  .app.app--view-home .home-club-choice-plaque--sng .home-club-choice-plaque__prize,
  .app.app--view-home .home-club-choice-plaque--sng .home-club-choice-plaque__entry {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 3px 5px !important;
    font-size: 12px !important;
    transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .app.app--view-home .home-club-choice-plaque--sng .home-club-choice-plaque__prize {
    grid-area: prize !important;
  }

  .sng-champions-promo__button.home-club-choice-plaque--sng {
    display: grid !important;
    grid-template-areas: "count status prize entry" !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    align-content: end !important;
    width: 100% !important;
    height: 156px !important;
    min-height: 156px !important;
    column-gap: 0 !important;
    padding: 12px 7% 12px !important;
    overflow: hidden !important;
  }

  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__text {
    top: 10px !important;
    width: min(64%, 360px) !important;
    font-size: 20px !important;
    line-height: 0.92 !important;
  }

  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__count,
  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__subtext,
  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__prize,
  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__entry {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 3px 5px !important;
    font-size: 12px !important;
    transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sng-champions-promo__button.home-club-choice-plaque--sng .home-club-choice-plaque__prize {
    grid-area: prize !important;
  }
}

[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .card__header {
  border-color: rgba(249, 115, 22, 0.2);
  background:
    radial-gradient(ellipse at 14% 0%, rgba(255, 255, 255, 0.78), transparent 38%),
    linear-gradient(135deg, rgba(255, 247, 237, 0.78) 0%, rgba(255, 237, 213, 0.72) 54%, rgba(254, 215, 170, 0.68) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 32px rgba(180, 83, 9, 0.08);
}

[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .header-icon-btn,
[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .theme-toggle,
[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .pwa-install-btn {
  border-color: rgba(249, 115, 22, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.78)),
    rgba(255, 247, 237, 0.86) !important;
  color: #5f3a12;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(180, 83, 9, 0.08);
}

[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .radio-toggle .radio-toggle__label {
  color: #6b3f0b;
}

[data-theme="light"] .app.app--view-home .header-status {
  color: rgba(92, 58, 18, 0.74);
  text-shadow: none;
}

[data-theme="light"] .app.app--view-home .header-more-menu {
  border-color: rgba(249, 115, 22, 0.24);
  background:
    radial-gradient(ellipse at 80% -8%, rgba(249, 115, 22, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(255, 241, 221, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(180, 83, 9, 0.16);
}

[data-theme="light"] .app.app--view-home .header-more-menu .header-menu-action {
  border-color: rgba(249, 115, 22, 0.18);
  background: rgba(255, 247, 237, 0.78);
}

[data-theme="light"] .app.app--view-home .header-more-menu__title,
[data-theme="light"] .app.app--view-home .header-menu-action__title {
  color: #37230c;
}

[data-theme="light"] .app.app--view-home .header-more-menu__hint,
[data-theme="light"] .app.app--view-home .header-menu-action__hint,
[data-theme="light"] .app.app--view-home .header-more-menu .radio-toggle__label,
[data-theme="light"] .app.app--view-home .header-more-menu .radio-toggle__listen {
  color: rgba(92, 58, 18, 0.72);
}

[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .theme-toggle:hover,
[data-theme="light"] .app.app--view-home .card:has(.view--active[data-view="home"]) .pwa-install-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 237, 213, 0.86)),
    rgba(255, 247, 237, 0.92) !important;
}

[data-theme="light"] .app.app--view-home .logo__title,
[data-theme="light"] .app.app--view-home .header-greeting {
  color: #37230c;
  text-shadow: none;
}

[data-theme="light"] .app.app--view-home .logo__subtitle {
  color: rgba(51, 65, 85, 0.72);
}

[data-theme="light"].app-view-home,
[data-theme="light"].app-view-home body,
[data-theme="light"] body[data-view="home"],
[data-theme="light"].app-view-home #app.app.app--view-home,
[data-theme="light"] body[data-view="home"] #app.app.app--view-home,
[data-theme="light"].app-view-home #app.app.app--view-home .card,
[data-theme="light"] body[data-view="home"] #app.app.app--view-home .card,
[data-theme="light"].app-view-home #app.app.app--view-home .card__content,
[data-theme="light"] body[data-view="home"] #app.app.app--view-home .card__content,
[data-theme="light"].app-view-home #app.app.app--view-home .card:has(.view--active[data-view="home"])::after,
[data-theme="light"] body[data-view="home"] #app.app.app--view-home .card:has(.view--active[data-view="home"])::after {
  background:
    radial-gradient(ellipse at 16% -8%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(ellipse at 90% 6%, rgba(255, 214, 128, 0.1), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #fff1dd 54%, #ffe2b8 100%) !important;
}

@media (max-width: 400px) {
  .app.app--view-home .card:has(.view--active[data-view="home"]) .card__header {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .app.app--view-home .logo__image {
    width: 40px;
    height: 40px;
  }
  .app.app--view-home .logo {
    gap: 7px;
  }
  .app.app--view-home .logo__title {
    font-size: 10px;
  }
  .app.app--view-home .logo__subtitle {
    font-size: 7.5px;
  }
  .app.app--view-home .theme-toggle,
  .app.app--view-home .pwa-install-btn {
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
  }
  .app.app--view-home .radio-toggle {
    min-width: 68px;
    padding: 0 7px;
  }
}

[data-theme="gold"] .club-charter-modal__paper {
  color: rgba(255, 247, 237, 0.92);
}

[data-theme="gold"] .club-charter-modal__kicker {
  color: rgba(247, 216, 151, 0.72);
}

[data-theme="gold"] .club-charter-modal__title,
[data-theme="gold"] .club-charter-modal__list,
[data-theme="gold"] .club-charter-modal__list p {
  color: rgba(255, 247, 237, 0.94);
}

[data-theme="gold"] .club-charter-modal .gazette-modal__share-btn {
  color: #ffe7ae !important;
  background: rgba(8, 13, 26, 0.62) !important;
  border: 1px solid rgba(247, 216, 151, 0.26) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

[data-theme="gold"] .club-charter-modal .gazette-modal__share-btn:hover {
  color: #fff7ed !important;
  border-color: rgba(247, 216, 151, 0.42) !important;
}

[data-theme="gold"] .club-charter-modal__note {
  color: rgba(255, 247, 237, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border-left-color: rgba(247, 216, 151, 0.72);
}
.app.app--view-home .tournament-day-home-dual::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 198, 74, 0.42), rgba(148, 163, 184, 0.18), transparent);
  transform: translateX(-9px);
  pointer-events: none;
}
[data-theme="dark"] .app.app--view-home .tournament-day-home-dual::before {
  background: linear-gradient(180deg, transparent, rgba(246, 199, 104, 0.32), rgba(148, 163, 184, 0.14), transparent);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap {
  max-width: none;
  gap: 14px;
  min-height: 0;
  container-type: inline-size;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap:first-child {
  border-right: 0;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home {
  flex: 1 1 auto;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  border-radius: 20px !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 4%, rgba(255, 231, 168, 0.045), transparent 34%),
    radial-gradient(ellipse at 86% 6%, rgba(255, 198, 74, 0.026), transparent 36%),
    linear-gradient(158deg, rgba(4, 5, 8, 0.94), rgba(8, 11, 17, 0.9) 48%, rgba(3, 4, 7, 0.94) 78%, rgba(1, 2, 4, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -18px 28px rgba(0, 0, 0, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.18) !important;
}
[data-theme="dark"] .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home {
  border-color: rgba(246, 199, 104, 0.24) !important;
  background:
    radial-gradient(ellipse at 18% 4%, rgba(246, 199, 104, 0.065), transparent 34%),
    radial-gradient(ellipse at 86% 6%, rgba(148, 163, 184, 0.045), transparent 36%),
    linear-gradient(158deg, rgba(16, 18, 22, 0.96), rgba(10, 12, 17, 0.94) 48%, rgba(7, 9, 14, 0.97) 78%, rgba(3, 5, 10, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 237, 213, 0.08),
    inset 0 -18px 28px rgba(2, 6, 23, 0.16),
    0 12px 24px rgba(2, 6, 23, 0.24) !important;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home:hover {
  border-color: rgba(255, 198, 74, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 22px rgba(255, 179, 38, 0.12) !important;
}
[data-theme="dark"] .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home:hover {
  border-color: rgba(246, 199, 104, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 237, 213, 0.1),
    0 0 22px rgba(246, 199, 104, 0.12) !important;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__body {
  min-height: 100%;
  padding: 14px;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
  margin: 0;
  padding: 12px 12px 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::before {
  content: "🏆";
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 198, 74, 0.92);
  border-radius: 50%;
  color: var(--home-promo-gold);
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 198, 74, 0.15), rgba(255, 159, 26, 0.05));
  box-shadow:
    0 0 18px rgba(255, 159, 26, 0.18),
    inset 0 0 16px rgba(255, 198, 74, 0.16);
  transform: none;
  font-size: 24px;
  line-height: 1;
}
[data-theme="dark"] .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::before {
  border-color: rgba(246, 199, 104, 0.78);
  color: #fde68a;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(246, 199, 104, 0.14), rgba(251, 146, 60, 0.05));
  box-shadow:
    0 0 18px rgba(246, 199, 104, 0.14),
    inset 0 0 16px rgba(246, 199, 104, 0.12);
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-head::before {
  content: "★";
  font-size: 30px;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::after {
  content: "";
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 52px;
  height: 52px;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::before {
  text-shadow: 0 2px 8px rgba(255, 198, 74, 0.38);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__home-heading {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  text-align: left;
  color: #f8fafc;
  font-size: clamp(19px, 3vw, 27px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-block__home-heading {
  font-size: clamp(16px, 2.45vw, 24px);
  white-space: normal;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__countdown {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  text-align: left;
  color: rgba(241, 245, 249, 0.88);
  font-size: clamp(15px, 2.25vw, 23px);
  font-weight: 500;
  line-height: 1.1;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__meta .tournament-day-block__timer {
  color: var(--home-promo-orange);
  font-size: 1em;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255, 159, 26, 0.18);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-block__meta {
  margin: 0;
}
.app.app--view-home .home-freeroll-schedule {
  gap: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 46%),
    rgba(3, 10, 22, 0.42);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}
[data-theme="dark"] .app.app--view-home .home-freeroll-schedule,
[data-theme="dark"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stats {
  border-color: rgba(246, 199, 104, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 237, 213, 0.035), transparent 46%),
    rgba(9, 10, 13, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 237, 213, 0.035);
}
.app.app--view-home .home-freeroll-schedule__row {
  grid-template-columns: 54px minmax(0, 1fr) 22px;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
}
.app.app--view-home .home-freeroll-schedule__row + .home-freeroll-schedule__row {
  margin-top: 2px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
[data-theme="dark"] .app.app--view-home .home-freeroll-schedule__row + .home-freeroll-schedule__row,
[data-theme="dark"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat + .tournament-day-block__stat {
  border-color: rgba(246, 199, 104, 0.13);
}
.app.app--view-home .home-freeroll-schedule__row--next {
  border: 1px solid rgba(255, 198, 74, 0.86);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 198, 74, 0.24), transparent 42%),
    linear-gradient(90deg, rgba(255, 198, 74, 0.18), rgba(255, 159, 26, 0.08));
  box-shadow:
    0 0 20px rgba(255, 198, 74, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}
[data-theme="dark"] .app.app--view-home .home-freeroll-schedule__row--next {
  border-color: rgba(246, 199, 104, 0.58);
  background:
    radial-gradient(circle at 0% 50%, rgba(246, 199, 104, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(120, 70, 28, 0.24), rgba(246, 199, 104, 0.06));
  box-shadow:
    0 0 20px rgba(246, 199, 104, 0.12),
    inset 0 1px 0 rgba(255, 237, 213, 0.08),
    inset 0 0 0 1px rgba(255, 237, 213, 0.035);
}
.app.app--view-home .home-freeroll-schedule__row--next::after {
  content: "›";
  justify-self: end;
  color: var(--home-promo-gold);
  font-size: 30px;
  line-height: 1;
}
.app.app--view-home .home-freeroll-schedule__day {
  color: var(--home-promo-gold);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 700;
  letter-spacing: 0;
}
.app.app--view-home .home-freeroll-schedule__main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}
.app.app--view-home .home-freeroll-schedule__title,
.app.app--view-home .home-freeroll-schedule__meta {
  color: #f8fafc;
  font-size: clamp(16px, 2.05vw, 21px);
  font-weight: 600;
  line-height: 1.15;
}
.app.app--view-home .home-freeroll-schedule__meta {
  color: rgba(248, 250, 252, 0.86);
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stats {
  margin-top: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 46%),
    rgba(3, 10, 22, 0.4);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  text-align: left;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat + .tournament-day-block__stat {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat::before {
  content: "🏆";
  color: var(--home-promo-gold);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), rgba(255, 198, 74, 0.08) 48%, rgba(255, 159, 26, 0.05));
  box-shadow: inset 0 0 0 1px rgba(255, 198, 74, 0.22);
  font-size: 20px;
  line-height: 1;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat:nth-child(2)::before {
  content: "◷";
  font-size: 22px;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat:nth-child(3)::before {
  content: "🪙";
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat:nth-child(4)::before {
  content: "♤";
  font-size: 24px;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-label {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: clamp(14px, 1.75vw, 19px);
  font-weight: 500;
  letter-spacing: 0;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value {
  justify-self: end;
  color: #f8fafc;
  font-size: clamp(18px, 2.75vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  text-align: right;
  white-space: normal;
}
.app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value--time {
  font-size: clamp(15px, 2.15vw, 22px);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home {
  border-color: rgba(217, 119, 6, 0.28) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
    linear-gradient(180deg, rgba(255, 243, 218, 0.98), rgba(245, 222, 194, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(217, 119, 6, 0.08) !important;
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule {
  border-color: rgba(217, 119, 6, 0.22);
  background: rgba(255, 248, 237, 0.78);
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__title,
[data-theme="light"] .app.app--view-home .home-freeroll-schedule__meta,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value {
  color: #1f2937;
  text-shadow: none;
}

[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stats {
  border-color: rgba(217, 119, 6, 0.22);
  background: rgba(255, 248, 237, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat + .tournament-day-block__stat {
  border-top-color: rgba(217, 119, 6, 0.16);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-label {
  color: #64748b;
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__row--next {
  border-color: rgba(217, 119, 6, 0.36);
  background:
    radial-gradient(circle at 0% 50%, rgba(217, 119, 6, 0.16), transparent 42%),
    linear-gradient(90deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.app.app--view-home .tournament-day-home-dual .tournament-day-actions-row {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 220, 150, 0.9);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.1) 28%, transparent 29%),
    radial-gradient(circle at 20% 10%, rgba(255, 246, 214, 0.5), transparent 30%),
    linear-gradient(180deg, #ffd47a 0%, #f0a12e 44%, #c96912 100%);
  color: #1b1208;
  font-size: clamp(13px, 1.85vw, 17px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(255, 237, 196, 0.46);
  text-align: center;
  white-space: normal;
  box-shadow:
    0 10px 24px rgba(180, 83, 9, 0.28),
    0 0 18px rgba(255, 198, 74, 0.16),
    inset 0 1px 0 rgba(255, 250, 232, 0.7),
    inset 0 -12px 20px rgba(120, 53, 15, 0.18),
    inset 0 0 0 1px rgba(92, 47, 10, 0.16);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn.tournament-day-schedule-cta {
  position: relative;
  isolation: isolate;
  min-height: 58px;
  border: 1px solid rgba(255, 184, 42, 0.98);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -34%, rgba(255, 202, 97, 0.2), transparent 54%),
    linear-gradient(180deg, rgba(255, 152, 24, 0.14), rgba(0, 0, 0, 0) 42%),
    linear-gradient(180deg, #20120a 0%, #070707 52%, #150c06 100%);
  color: #ff9d22;
  font-size: clamp(30px, 5.8vw, 48px);
  font-weight: 1000;
  gap: 20px;
  text-shadow:
    0 0 8px rgba(255, 127, 22, 0.95),
    0 0 18px rgba(255, 156, 32, 0.7),
    0 1px 0 rgba(0, 0, 0, 0.84);
  box-shadow:
    0 0 0 3px rgba(96, 38, 8, 0.98),
    0 0 22px rgba(255, 112, 20, 0.82),
    0 0 46px rgba(255, 156, 32, 0.45),
    0 18px 32px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 224, 137, 0.52),
    inset 0 8px 18px rgba(255, 163, 43, 0.14),
    inset 0 -14px 28px rgba(0, 0, 0, 0.72);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn span {
  display: inline-block;
  max-width: 11.5em;
  min-width: 0;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn::before,
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn.tournament-day-schedule-cta::before,
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap--freeroll .tournament-day-share-btn.tournament-day-freeroll-play-cta::before {
  flex: 0 0 auto;
  font-size: 27px;
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap--freeroll .tournament-day-share-btn.tournament-day-freeroll-play-cta {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 184, 42, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 152, 24, 0.12), rgba(0, 0, 0, 0) 42%),
    linear-gradient(180deg, #21130a 0%, #070707 52%, #150c06 100%);
  color: #ff9d22;
  font-weight: 900;
  text-shadow:
    0 0 8px rgba(255, 127, 22, 0.95),
    0 1px 0 rgba(0, 0, 0, 0.82);
  box-shadow:
    0 0 0 2px rgba(96, 38, 8, 0.98),
    0 0 18px rgba(255, 112, 20, 0.78),
    0 0 34px rgba(255, 156, 32, 0.42),
    inset 0 0 0 1px rgba(255, 224, 137, 0.5),
    inset 0 6px 16px rgba(255, 163, 43, 0.14),
    inset 0 -10px 24px rgba(0, 0, 0, 0.68);
}
.app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap--freeroll .tournament-day-share-btn.tournament-day-freeroll-play-cta::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #ffb129;
  font-size: 0;
  filter:
    drop-shadow(0 0 5px rgba(255, 120, 24, 1))
    drop-shadow(0 0 10px rgba(255, 194, 74, 0.78));
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn.tournament-day-schedule-cta::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #ffb129;
  font-size: 0;
  filter:
    drop-shadow(0 0 6px rgba(255, 120, 24, 1))
    drop-shadow(0 0 12px rgba(255, 194, 74, 0.82));
}
.app.app--view-home .tournament-day-home-dual .tournament-day-share-btn.tournament-day-schedule-cta::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1px solid rgba(255, 117, 22, 0.5);
  border-radius: 14px;
  pointer-events: none;
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual {
  --home-promo-gold: #b7791f;
  --home-promo-orange: #c76a12;
  --home-promo-line: rgba(217, 119, 6, 0.26);
  --home-promo-card: rgba(255, 251, 247, 0.9);
  --home-promo-card-soft: rgba(255, 255, 255, 0.7);
  border-color: rgba(249, 115, 22, 0.28);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.78), transparent 36%),
    radial-gradient(ellipse at 86% 4%, rgba(255, 204, 92, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 252, 247, 0.96), rgba(255, 243, 224, 0.92) 58%, rgba(255, 226, 184, 0.82));
  box-shadow:
    0 18px 34px rgba(180, 83, 9, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual::before {
  background: linear-gradient(180deg, transparent, rgba(217, 119, 6, 0.3), rgba(251, 146, 60, 0.16), transparent);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap .tournament-day-block--home {
  border-color: rgba(249, 115, 22, 0.28) !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.54), transparent 44%),
    linear-gradient(180deg, rgba(255, 243, 218, 0.96), rgba(245, 222, 194, 0.92)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 28px rgba(217, 119, 6, 0.08),
    0 12px 24px rgba(180, 83, 9, 0.1) !important;
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-heading,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-block__home-heading,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-heading {
  color: #37230c;
  text-shadow: none;
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-block__countdown {
  color: rgba(92, 52, 18, 0.78);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-block__meta .tournament-day-block__timer {
  color: #c2410c;
  text-shadow: none;
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stats {
  border-color: rgba(249, 115, 22, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.72), rgba(245, 222, 194, 0.44) 46%),
    rgba(255, 241, 219, 0.66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__row + .home-freeroll-schedule__row,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat + .tournament-day-block__stat {
  border-color: rgba(249, 115, 22, 0.14);
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__row--next {
  border-color: rgba(217, 119, 6, 0.48);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(217, 119, 6, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(245, 222, 194, 0.78), rgba(235, 202, 164, 0.56));
  box-shadow:
    0 10px 20px rgba(217, 119, 6, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__title,
[data-theme="light"] .app.app--view-home .home-freeroll-schedule__meta,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value {
  color: #2f2416;
}

[data-theme="light"] .app.app--view-home .home-freeroll-schedule__meta,
[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-label {
  color: rgba(75, 85, 99, 0.86);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::after {
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.18);
}

[data-theme="light"] .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat::before {
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.72), rgba(254, 243, 199, 0.68) 48%, rgba(251, 146, 60, 0.16));
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.22);
}

@media (max-width: 620px) {
  .app.app--view-home .tournament-day-home-dual {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: calc(100% + 22px);
    margin-left: -11px;
    margin-right: -11px;
    padding: 9px;
    border-radius: 18px;
  }
  .app.app--view-home .tournament-day-home-dual::before {
    display: block;
    top: 10px;
    bottom: 10px;
    transform: translateX(-4px);
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap {
    gap: 7px;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__body {
    padding: 6px;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head {
    grid-template-columns: 27px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 5px;
    row-gap: 2px;
    align-items: center;
    padding: 3px 3px 6px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-head {
    margin-top: -8px;
    padding-top: 0;
    padding-bottom: 4px;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-heading,
  .app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-block__home-heading,
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-heading {
    font-size: 11px;
    line-height: 1.05;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-block__home-heading {
    font-size: 10.5px;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__countdown {
    min-width: 0;
    font-size: 8.5px;
    margin-top: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.05;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__timer-label {
    display: block;
    font-size: 1em;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__meta .tournament-day-block__timer {
    display: block;
    font-size: 1.28em;
    line-height: 1;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::before,
  .app.app--view-home .tournament-day-home-dual .tournament-day-block__home-head::after {
    width: 23px;
    height: 23px;
    align-self: center;
    border-radius: 8px;
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-head::before {
    font-size: 15px;
  }
  .app.app--view-home .home-freeroll-schedule {
    padding: 4px;
    border-radius: 11px;
  }
  .app.app--view-home .home-freeroll-schedule__row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 8px;
  }
  .app.app--view-home .home-freeroll-schedule__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .app.app--view-home .home-freeroll-schedule__day {
    align-self: center;
    font-size: 18px;
    line-height: 1;
  }
  .app.app--view-home .home-freeroll-schedule__title {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .app.app--view-home .home-freeroll-schedule__meta {
    display: block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .app.app--view-home .home-freeroll-schedule__row--next::after {
    display: none;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat {
    grid-template-columns: 22px minmax(0, 0.72fr) minmax(0, 1.28fr);
    min-height: 36px;
    padding: 6px 5px;
    column-gap: 5px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat::before {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat:nth-child(3)::before,
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat:nth-child(4)::before {
    font-size: 14px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-label {
    font-size: 9px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value {
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value--time {
    font-size: 9px;
    line-height: 1.1;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-share-btn {
    min-height: 45px;
    padding: 6px 7px;
    border-radius: 13px;
    font-size: 12.5px;
    gap: 5px;
    line-height: 1.08;
    white-space: normal;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-share-btn span {
    max-width: 8.6em;
  }
  .app.app--view-home .tournament-day-home-dual .tournament-day-share-btn::before,
  .app.app--view-home .tournament-day-home-dual .tournament-day-share-btn.tournament-day-schedule-cta::before,
  .app.app--view-home .tournament-day-home-dual .tournament-day-home-wrap--freeroll .tournament-day-share-btn.tournament-day-freeroll-play-cta::before {
    font-size: 20px;
  }
}

@container (max-width: 210px) {
  .app.app--view-home .tournament-day-block__body {
    padding: 6px;
  }
  .app.app--view-home .tournament-day-block__home-head {
    grid-template-columns: 27px minmax(0, 1fr);
    column-gap: 5px;
    row-gap: 2px;
    padding: 3px 3px 6px;
  }
  .app.app--view-home .tournament-day-block__home-head::before,
  .app.app--view-home .tournament-day-block__home-head::after {
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-head::before {
    font-size: 15px;
  }
  .app.app--view-home .tournament-day-block__home-heading,
  .app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-block__home-heading,
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__home-heading {
    font-size: 10.5px;
    line-height: 1.05;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .app.app--view-home .tournament-day-block__countdown {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 8.5px;
    line-height: 1.05;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .app.app--view-home .tournament-day-block__timer-label,
  .app.app--view-home .tournament-day-block__meta .tournament-day-block__timer {
    display: block;
  }
  .app.app--view-home .home-freeroll-schedule {
    padding: 4px;
    border-radius: 11px;
  }
  .app.app--view-home .home-freeroll-schedule__row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 8px;
  }
  .app.app--view-home .home-freeroll-schedule__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .app.app--view-home .home-freeroll-schedule__day {
    align-self: center;
    font-size: 18px;
    line-height: 1;
  }
  .app.app--view-home .home-freeroll-schedule__title {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .app.app--view-home .home-freeroll-schedule__meta {
    display: block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .app.app--view-home .home-freeroll-schedule__row--next::after {
    display: none;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat {
    grid-template-columns: 22px minmax(0, 0.72fr) minmax(0, 1.28fr);
    min-height: 36px;
    padding: 6px 5px;
    column-gap: 5px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat::before {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-label {
    font-size: 9px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value {
    font-size: 12px;
  }
  .app.app--view-home .tournament-day-home-wrap--tournament-day .tournament-day-block__stat-value--time {
    font-size: 9px;
    line-height: 1.1;
  }
  .app.app--view-home .tournament-day-share-btn {
    min-height: 45px;
    padding: 6px 7px;
    border-radius: 13px;
    font-size: 12.5px;
    gap: 5px;
    line-height: 1.08;
  }
  .app.app--view-home .tournament-day-share-btn span {
    max-width: 8.6em;
  }
  .app.app--view-home .tournament-day-share-btn::before,
  .app.app--view-home .tournament-day-share-btn.tournament-day-schedule-cta::before,
  .app.app--view-home .tournament-day-home-wrap--freeroll .tournament-day-share-btn.tournament-day-freeroll-play-cta::before {
    font-size: 20px;
  }
}

/* Keep the live SNG strip authoritative over older home layout overrides. */
.app.app--view-home .home-sng-champions-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: auto 64px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #07090d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}

.app.app--view-home .home-club-actions-block {
  --home-sng-champions-row: auto !important;
  grid-template-rows: auto !important;
}

.app.app--view-home .home-club-choice-actions[hidden] {
  display: none !important;
}

.app.app--view-home .home-sng-champions-action {
  display: block !important;
  height: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .home-sng-champions-image-link {
  position: relative !important;
  display: block !important;
  aspect-ratio: 3 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .home-sng-champions-action__completed-badge {
  position: absolute;
  z-index: 4;
  left: auto;
  right: clamp(8px, 1.5vw, 14px);
  bottom: clamp(8px, 1.6vw, 15px);
  padding: clamp(5px, 1.1vw, 8px) clamp(12px, 2.4vw, 21px);
  border: 2px solid #ffe5a0;
  border-radius: 999px;
  color: #2b1200;
  background: linear-gradient(180deg, #fff0a5 0%, #ffad24 55%, #e76500 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.52), 0 0 22px rgba(255, 139, 18, 0.55);
  font-size: clamp(10px, 2.1vw, 17px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 245, 195, 0.65);
  transform: none;
}

.app.app--view-home .home-sng-champions-action__completed-badge[hidden] {
  display: none !important;
}

.app.app--view-home .home-sng-champions-image-link img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 1 !important;
  object-fit: contain !important;
}

.app.app--view-home .home-sng-champions-action__bar {
  position: relative !important;
  inset: auto !important;
  z-index: 21 !important;
  display: grid !important;
  height: 64px !important;
  min-height: 64px !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Home SNG summary: four matching plaques, with the live action glowing last. */
.app.app--view-home .home-sng-champions-action__bar {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  border-top: 2px solid #f18b0b !important;
  background: linear-gradient(180deg, #3b210d 0%, #17100c 100%) !important;
}

.app.app--view-home .home-sng-champions-action__stat,
.app.app--view-home .home-sng-champions-action__cta-wrap {
  display: grid !important;
  place-content: center !important;
  min-width: 0 !important;
  width: auto !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 6px clamp(3px, 1vw, 9px) !important;
  border-left: 1px solid rgba(255, 168, 45, 0.42) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

.app.app--view-home .home-sng-champions-action__stat:first-child {
  border-left: 0 !important;
}

.app.app--view-home .home-sng-champions-action__stat {
  gap: 2px !important;
}

.app.app--view-home .home-sng-champions-action__stat small {
  color: #d6aa68 !important;
  font-size: clamp(7px, 1.9vw, 10px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

.app.app--view-home .home-sng-champions-action__stat strong {
  color: #fff0c9 !important;
  font-size: clamp(11px, 2.7vw, 18px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}

.app.app--view-home .home-sng-champions-action__cta-wrap .home-sng-champions-action__cta {
  position: absolute !important;
  inset: 0 !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 2px solid #f18b0b !important;
  border-radius: 0 !important;
  color: #251000 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 220, 0.82), transparent 45%),
    linear-gradient(180deg, #ffe277 0%, #ff9d16 52%, #eb5d00 100%) !important;
  text-shadow: 0 1px 0 rgba(255, 244, 191, 0.72) !important;
  animation: home-sng-live-action-glow 1.8s ease-in-out infinite !important;
  overflow: hidden !important;
  font-size: clamp(10px, 2.2vw, 18px) !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app.app--view-home .home-sng-champions-action__cta-wrap {
  position: relative !important;
  box-sizing: border-box !important;
  place-content: stretch !important;
  align-items: center !important;
  justify-items: stretch !important;
  overflow: hidden !important;
}

@keyframes home-sng-live-action-glow {
  0%, 100% {
    filter: brightness(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 8px rgba(255, 170, 35, 0.58), 0 0 18px rgba(255, 123, 0, 0.36) !important;
  }
  50% {
    filter: brightness(1.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 0 14px rgba(255, 221, 117, 0.94), 0 0 30px rgba(255, 132, 0, 0.72) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app.app--view-home .home-sng-champions-action__cta-wrap .home-sng-champions-action__cta {
    animation: none !important;
  }
}

/* Club results — compact Poker21 editorial skin.
   Vertical metrics deliberately stay tied to the existing content flow. */
.home-friend-news-modal--club .home-friend-news-modal__panel {
  color: #f8f1e6;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 177, 43, 0.07), transparent 30%),
    linear-gradient(180deg, #0a0d12 0%, #10131a 100%);
  border-color: rgba(245, 181, 68, 0.24);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.62);
}

@media (min-width: 521px) {
  .home-friend-news-modal--club {
    align-items: center;
    box-sizing: border-box;
    padding: 12px;
  }

  .home-friend-news-modal--club .home-friend-news-modal__panel {
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }
}

.home-friend-news-modal--club .home-friend-news-modal__header {
  border-bottom-color: rgba(245, 181, 68, 0.18);
  background: linear-gradient(180deg, rgba(255, 190, 72, 0.035), transparent);
}

.home-friend-news-modal--club .home-friend-news-modal__header span {
  color: #ffbd37;
  letter-spacing: 0.13em;
}

.home-friend-news-modal--club .home-friend-news-modal__header h2 {
  color: #fffaf1;
  font-weight: 1000;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.08);
}

.home-friend-news-modal--club .home-friend-news-modal__close,
.home-friend-news-modal--club .home-friend-news-modal__copy-link {
  color: #ffe5b1;
  border: 1px solid rgba(255, 215, 143, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-friend-news-modal--club .home-friend-news-modal__club-tabs {
  padding: 3px;
  border: 1px solid rgba(218, 147, 38, 0.22);
  border-radius: 18px;
  background: rgba(5, 8, 12, 0.78);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.48);
}

.home-friend-news-modal--club .home-friend-news-modal__club-tab {
  min-height: 40px;
  border-color: transparent;
  color: #aaa7a5;
  background: linear-gradient(180deg, rgba(22, 26, 33, 0.9), rgba(10, 13, 18, 0.9));
  font-size: 15px;
}

.home-friend-news-modal--club .home-friend-news-modal__club-tab:first-child::after {
  margin-left: 8px;
  color: currentColor;
  content: "🏆";
  font-size: 15px;
}

.home-friend-news-modal--club .home-friend-news-modal__club-tabs .home-friend-news-modal__club-tab--active {
  border-color: #fff0b0 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.72), transparent 48%),
    linear-gradient(180deg, #ffd864 0%, #ffae18 58%, #f08300 100%) !important;
  box-shadow: inset 0 1px 0 #fff8d6, 0 0 16px rgba(255, 160, 16, 0.54) !important;
}

.home-friend-news-modal--club .home-friend-news-modal__day-count strong {
  color: #ffb619;
  text-shadow: 0 0 12px rgba(255, 169, 21, 0.28);
}

.home-friend-news-modal--club .home-friend-news-modal__day-events {
  gap: 8px;
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid rgba(var(--friend-news-rgb), 0.32);
  border-left: 3px solid rgba(var(--friend-news-rgb), 0.78);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 25%, rgba(var(--friend-news-rgb), 0.14), transparent 42%),
    radial-gradient(circle at 0% 0%, rgba(var(--friend-news-rgb), 0.12), transparent 34%),
    linear-gradient(112deg, #17141a 0%, #10151d 58%, #091019 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 28px rgba(var(--friend-news-rgb), 0.045),
    0 8px 22px rgba(0, 0, 0, 0.2);
}

.home-friend-news-modal--club .home-friend-news-modal__icon {
  width: 36px;
  height: 36px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--friend-news-rgb), 0.7);
  border-radius: 50%;
  background: #090d13;
  box-shadow: 0 0 0 2px rgba(3, 6, 10, 0.8), 0 0 13px rgba(var(--friend-news-rgb), 0.28);
}

.home-friend-news-modal--club .home-friend-news-modal__player-title {
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: -0.025em;
  text-shadow: 0 0 14px rgba(var(--friend-news-rgb), 0.2);
}

.home-friend-news-modal--club .home-friend-news-modal__player-meta {
  margin-bottom: 5px;
  color: #aaa8aa;
}

.home-friend-news-modal--club .home-friend-news-modal__day-hero {
  min-height: 20px;
  padding-inline: 8px;
  border-color: #fff0b3;
  background: linear-gradient(180deg, #ffe68b, #f2a81f);
  box-shadow: 0 0 13px rgba(255, 170, 26, 0.48), inset 0 1px 0 #fff9d7;
}

.home-friend-news-modal--club .home-friend-news-modal__day-hero::before {
  margin-right: 4px;
  content: "♛";
  font-size: 0.9em;
}

.home-friend-news-modal--club .home-friend-news-modal__event-lines {
  gap: 2px;
}

.home-friend-news-modal--club .home-friend-news-modal__event-lines > strong {
  color: #f3f0ee;
  font-weight: 780;
}

.home-friend-news-modal--club .home-friend-news-modal__copy small {
  color: #9a9da4;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row {
  margin-top: 7px;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle {
  min-height: 26px;
  border: 1px solid rgba(228, 174, 75, 0.5);
  border-radius: 999px;
  color: #f6dfb5;
  background: linear-gradient(180deg, #11161d, #080b10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.28);
}

.home-friend-news-modal--club .home-friend-news-modal__profile-cue {
  min-height: 26px;
  color: #fff4e9;
  border-color: rgba(var(--friend-news-rgb), 0.78);
  background: linear-gradient(180deg, rgba(var(--friend-news-rgb), 0.72), rgba(var(--friend-news-rgb), 0.38));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 12px rgba(var(--friend-news-rgb), 0.2);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.72);
}

@media (max-width: 520px) {
  .home-friend-news-modal--club .home-friend-news-modal__list {
    padding-inline: 10px;
  }

  .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
    grid-template-columns: 40px minmax(0, 1fr);
    padding-inline: 8px;
    border-radius: 16px;
  }

  .home-friend-news-modal--club .home-friend-news-modal__icon {
    width: 34px;
    height: 34px;
  }
}

/* Home SNG signup action: dark button matching the tournament banner. */
.app.app--view-home .home-sng-champions-action__cta-wrap {
  border-left: 0 !important;
}

.app.app--view-home .home-sng-champions-action__cta-wrap .home-sng-champions-action__cta {
  inset: 2px 3px !important;
  padding: 8px 10px !important;
  border: 2px solid rgba(228, 186, 105, 0.68) !important;
  border-radius: 16px !important;
  color: #f7e6be !important;
  background: linear-gradient(180deg, #111722 0%, #080d15 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.42) !important;
  font-size: clamp(12px, 3vw, 15px) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7) !important;
  animation: none !important;
}

/* Club news art cards: generated imagery is a paint layer only, so the card
   height continues to be determined exclusively by its live event content. */
.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
  position: relative;
  isolation: isolate;
  min-height: 66px;
  overflow: hidden;
  border-width: 2px;
  border-left-width: 2px;
  border-color: rgba(var(--friend-news-rgb), 0.5);
  background-color: #090d13;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(7, 10, 15, 0.9) 46%, rgba(7, 10, 15, 0.25) 78%, rgba(7, 10, 15, 0.08) 100%),
    url("./assets/club-news-art/club-news-king-v1.webp");
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: 100% 100%, auto 100%;
  box-shadow:
    inset 0 0 34px rgba(var(--friend-news-rgb), 0.1),
    0 0 18px rgba(var(--friend-news-rgb), 0.12),
    0 10px 24px rgba(0, 0, 0, 0.38);
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:nth-child(3n) {
  background-image:
    linear-gradient(90deg, rgba(4, 10, 18, 0.28) 0%, rgba(4, 10, 18, 0.78) 39%, rgba(4, 10, 18, 0.97) 72%, #050a11 100%),
    url("./assets/club-news-art/club-news-blue-v1.webp");
  background-position: center, left center;
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 210, 116, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 26%, rgba(0, 0, 0, 0.16));
}

.home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:first-child {
  border-color: #ff9f4c;
  border-bottom-color: #ff4778;
  background-image:
    linear-gradient(90deg, rgba(7, 8, 12, 0.98) 0%, rgba(8, 8, 12, 0.88) 47%, rgba(9, 7, 9, 0.2) 80%, rgba(9, 7, 9, 0.04) 100%),
    url("./assets/club-news-art/club-news-king-v1.webp");
  box-shadow:
    inset 0 0 42px rgba(255, 113, 55, 0.08),
    0 0 18px rgba(255, 86, 98, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.46);
}

.home-friend-news-modal--club .home-friend-news-modal__item > * {
  position: relative;
  z-index: 1;
}

.home-friend-news-modal--club .home-friend-news-modal__item:nth-child(3n) .home-friend-news-modal__copy {
  padding-left: clamp(0px, 8vw, 38px);
}

.home-friend-news-modal--club .home-friend-news-modal__player-title {
  width: fit-content;
  max-width: 76%;
  padding: 2px 7px 3px;
  margin-left: -7px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(3, 6, 10, 0.84), rgba(3, 6, 10, 0));
}

.home-friend-news-modal--club .home-friend-news-modal__event-lines,
.home-friend-news-modal--club .home-friend-news-modal__copy > small {
  max-width: 82%;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.95));
}

.home-friend-news-modal--club .home-friend-news-modal__event-lines > strong {
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
}

.home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero {
  position: absolute;
  z-index: 3;
  top: 2px;
  right: 2px;
  left: auto;
  min-width: 48px;
  min-height: 52px;
  margin: 0;
  padding: 7px 5px 5px;
  flex-direction: column;
  justify-content: center;
  color: #fff8ed;
  border: 1px solid #ff9b70;
  border-radius: 7px 7px 11px 11px;
  background: linear-gradient(180deg, #ff766f, #c72d52);
  box-shadow: 0 0 15px rgba(255, 71, 101, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-size: 7px;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero::before {
  margin: 0 0 3px;
  color: #fff0a4;
  font-size: 17px;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row {
  max-width: 100%;
  padding-top: 2px;
}

.home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle,
.home-friend-news-modal--club .home-friend-news-modal__profile-cue {
  backdrop-filter: blur(7px);
}

@media (max-width: 520px) {
  .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item {
    background-size: 100% 100%, auto 100%;
  }

  .home-friend-news-modal--club .home-friend-news-modal__event-lines {
    max-width: 88%;
  }

  .home-friend-news-modal--club .home-friend-news-modal__item:nth-child(3n) .home-friend-news-modal__copy {
    padding-left: 12px;
  }
}

/* Final cascade for the 1/3 personal-character news card composition. */
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item,
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:nth-child(3n),
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:first-child {
  display: block;
  padding: 9px 9px 9px 0;
  background:
    radial-gradient(circle at 15% 42%, rgba(var(--friend-news-rgb), 0.34), transparent 29%),
    radial-gradient(circle at 92% 0%, rgba(var(--friend-news-rgb), 0.14), transparent 36%),
    linear-gradient(115deg, #070b11 0%, #101824 36%, #090d14 72%, #05080d 100%);
}

body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item::before {
  position: absolute;
  z-index: 0;
  top: 8%;
  bottom: 8%;
  left: 32.5%;
  width: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(var(--friend-news-rgb), 0.72), transparent);
  box-shadow: 0 0 14px rgba(var(--friend-news-rgb), 0.52);
}

body .home-friend-news-modal--club .home-friend-news-modal__icon {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  display: block;
  width: 33%;
  height: 100%;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 48% 72%, rgba(var(--friend-news-rgb), 0.28), transparent 53%),
    linear-gradient(90deg, rgba(var(--friend-news-rgb), 0.09), transparent);
  box-shadow: none;
}

body .home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 7px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(var(--friend-news-rgb), 0.38));
  transform: scale(1.06);
  transform-origin: center bottom;
}

body .home-friend-news-modal--club .home-friend-news-modal__copy {
  width: 67%;
  min-width: 0;
  margin-left: 33%;
  padding-left: 9px;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:nth-child(3n) .home-friend-news-modal__copy {
  padding-left: 9px;
}

body .home-friend-news-modal--club .home-friend-news-modal__player-title,
body .home-friend-news-modal--club .home-friend-news-modal__event-lines,
body .home-friend-news-modal--club .home-friend-news-modal__copy > small {
  max-width: 100%;
}

body .home-friend-news-modal--club .home-friend-news-modal__player-title {
  margin-left: 0;
  padding-left: 0;
  background: none;
}

body .home-friend-news-modal--club .home-friend-news-modal__event-lines > strong {
  font-size: 12px;
  line-height: 1.22;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero {
  top: 5px;
  right: auto;
  left: -58px;
  min-width: 42px;
  min-height: 46px;
  font-size: 6px;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row {
  gap: 4px;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-comment-toggle b {
  font-size: 8px;
}

body .home-friend-news-modal--club .home-friend-news-modal__profile-cue {
  min-height: 24px;
  padding-inline: 7px;
  font-size: 7px;
}

/* Unify personal art and copy into one card composition. */
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item,
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:nth-child(3n),
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item:first-child {
  background:
    radial-gradient(ellipse at 17% 66%, rgba(var(--friend-news-rgb), 0.28), transparent 34%),
    radial-gradient(ellipse at 88% 4%, rgba(var(--friend-news-rgb), 0.13), transparent 42%),
    linear-gradient(112deg, #080c13 0%, #111824 43%, #090d14 76%, #05080d 100%);
}

body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item::before {
  display: none;
}

body .home-friend-news-modal--club .home-friend-news-modal__icon {
  width: 39%;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.82) 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.82) 82%, transparent 100%);
}

body .home-friend-news-modal--club .home-friend-news-modal__icon::after {
  right: 14%;
  bottom: 2%;
  left: 6%;
  height: 12%;
  opacity: 0.7;
}

body .home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar--personal-art {
  width: 108%;
  max-width: none;
  margin-left: -4%;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: screen;
  filter:
    saturate(1.08)
    contrast(1.06)
    drop-shadow(0 8px 7px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 9px rgba(var(--friend-news-rgb), 0.34));
  transform: scale(1.04);
}

body .home-friend-news-modal--club .home-friend-news-modal__copy {
  position: static;
  width: 69%;
  margin-left: 31%;
  padding-left: 7px;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:nth-child(3n) .home-friend-news-modal__copy {
  padding-left: 7px;
}

body .home-friend-news-modal--club .home-friend-news-modal__player-title {
  position: static;
  padding-right: 0;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__player-title {
  padding-right: 52px;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero {
  position: absolute;
  z-index: 5;
  top: 7px;
  right: 7px;
  left: auto;
  min-width: 43px;
  min-height: 43px;
  padding: 5px 4px 4px;
  pointer-events: none;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row {
  width: 145%;
  max-width: none;
  margin-left: -45%;
  flex-wrap: nowrap;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-actions {
  flex-wrap: wrap;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row .chat-user-modal__news-actions {
  flex-wrap: nowrap;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-row {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  flex-wrap: nowrap;
}

/* Transparent character cutouts: one continuous card, one-third art column. */
body .home-friend-news-modal--club .home-friend-news-modal__icon {
  width: 33%;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: none;
  mask-image: none;
}

body .home-friend-news-modal--club .home-friend-news-modal__icon::after {
  right: 9%;
  bottom: 1%;
  left: 9%;
  height: 8%;
  opacity: 0.46;
}

body .home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar--personal-art {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  filter:
    saturate(1.06)
    contrast(1.04)
    drop-shadow(0 7px 6px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 7px rgba(var(--friend-news-rgb), 0.25));
  transform: scale(0.96);
  transform-origin: center center;
}

body .home-friend-news-modal--club .home-friend-news-modal__copy {
  width: 67%;
  margin-left: 33%;
  padding-left: 7px;
}

body .home-friend-news-modal--club .home-friend-news-modal__title-amount {
  flex: 0 0 auto;
  color: #ffd45a;
  font: inherit;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-shadow: 0 0 11px rgba(255, 190, 48, 0.28);
}

/* Regular player photos stay avatars; only personal monkey art fills the column. */
body .home-friend-news-modal--club .home-friend-news-modal__icon .home-friend-news__avatar:not(.home-friend-news__avatar--personal-art) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(88%, 112px);
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  border: 3px solid rgba(var(--friend-news-rgb), 0.88);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  box-shadow:
    0 0 0 4px rgba(4, 8, 13, 0.88),
    0 0 18px rgba(var(--friend-news-rgb), 0.42);
  filter: saturate(1.02) contrast(1.04);
  transform: translate(-50%, -50%);
  transform-origin: center;
}

/* Keep reactions and navigation controls on separate rows in day news cards. */
body .home-friend-news-modal .home-friend-news-modal__action-row,
body .home-friend-news-modal--club .home-friend-news-modal__action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
}
body .home-friend-news-modal--club .home-friend-news-modal__action-row {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}
body .home-friend-news-modal .home-friend-news-modal__action-row > .chat-user-modal__news-actions {
  grid-row: 1;
  width: 100%;
  min-width: 0;
}
body .home-friend-news-modal .home-friend-news-modal__action-controls {
  grid-row: 2;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
}
body .home-friend-news-modal .home-friend-news-modal__action-controls .chat-user-modal__news-comment-toggle,
body .home-friend-news-modal .home-friend-news-modal__action-controls .home-friend-news-modal__action-meta {
  flex: 1 1 0;
  min-width: 0;
}
body .home-friend-news-modal .home-friend-news-modal__action-controls .chat-user-modal__news-comment-toggle,
body .home-friend-news-modal .home-friend-news-modal__profile-cue {
  width: 100%;
  min-height: 34px;
  justify-content: center;
  margin: 0;
}

body .home-friend-news-modal--club .home-friend-news-modal__action-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
  gap: 9px;
}
body .home-friend-news-modal--club .home-friend-news-modal__action-controls .chat-user-modal__news-comment-toggle,
body .home-friend-news-modal--club .home-friend-news-modal__action-controls .home-friend-news-modal__action-meta {
  width: 100%;
  min-width: 0;
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  place-items: center;
  color: #f7deb0;
  border: 1px solid rgba(232, 184, 88, .58);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(52, 43, 25, .96), rgba(10, 14, 20, .98));
  box-shadow: inset 0 1px 0 rgba(255, 239, 191, .16), 0 5px 13px rgba(0, 0, 0, .3);
  cursor: pointer;
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy:active {
  transform: translateY(1px);
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy--copied {
  color: #082017;
  border-color: #66e3ad;
  background: linear-gradient(145deg, #75e8b7, #3fbf8b);
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy--copied svg {
  display: none;
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy--copied::before {
  content: "✓";
  font-size: 21px;
  font-weight: 1000;
  line-height: 1;
}
body .home-friend-news-modal--club .home-friend-news-modal__event-copy--copied::after {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 7px);
  content: "Скопировано";
  padding: 5px 8px;
  color: #dfffee;
  border: 1px solid rgba(102, 227, 173, .62);
  border-radius: 8px;
  background: rgba(7, 31, 23, .97);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .4);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
body .home-friend-news-modal--club .home-friend-news-modal__item--linked {
  animation: club-news-linked-pulse 1.15s ease-in-out 2;
}
@keyframes club-news-linked-pulse {
  50% { box-shadow: 0 0 0 3px rgba(255, 215, 105, .78), 0 0 30px rgba(255, 190, 65, .38); }
}

@media (max-width: 480px) {
  body .home-friend-news-modal--club .home-friend-news-modal__action-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    gap: 7px;
  }
  body .home-friend-news-modal--club .home-friend-news-modal__event-copy {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 10px;
  }
}

/* Premium Hero of the Day plaque. */
body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__player-title {
  padding-right: 82px;
}
body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: 8px;
  left: auto;
  display: flex;
  width: 70px;
  min-width: 70px;
  height: 33px;
  min-height: 33px;
  margin: 0;
  padding: 4px 6px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  overflow: hidden;
  color: #fff0bc;
  border: 1px solid #f8c45d;
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 132, .36), transparent 43%),
    linear-gradient(145deg, #3c270c 0%, #171006 56%, #5b3510 100%);
  box-shadow:
    0 0 0 2px rgba(93, 52, 8, .88),
    0 0 0 3px rgba(255, 203, 91, .34),
    0 9px 22px rgba(0, 0, 0, .48),
    0 0 22px rgba(245, 174, 44, .28),
    inset 0 1px 0 rgba(255, 245, 202, .5);
  font-size: 8px;
  font-weight: 1000;
  line-height: 1.08;
  letter-spacing: .07em;
  text-align: center;
  text-shadow: 0 1px 2px #000;
  white-space: normal;
}
body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero::before {
  display: none;
  content: none;
}
body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__day-hero::after {
  position: absolute;
  top: -24px;
  left: -34px;
  width: 26px;
  height: 118px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(28deg);
}

@media (max-width: 600px) {
  body .home-friend-news-modal--club .home-friend-news-modal__player-title {
    width: 100%;
    max-width: 100%;
    gap: 4px;
    font-size: clamp(13px, 3.2vw, 16px);
    letter-spacing: -0.035em;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__player-name {
    flex: 1 1 auto;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__title-amount {
    flex: 0 1 auto;
    font-size: 0.96em;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__poker21-linked {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

/* Evening tournaments: cinematic poster carousel. */
.app.app--view-home .tournament-day-home-dual--tournament-focus {
  container-type: inline-size;
  grid-template-columns: 1fr;
  padding: 22px 12px 16px;
  overflow: hidden;
  border-color: rgba(255, 187, 54, 0.42);
  background:
    radial-gradient(ellipse at 50% 25%, rgba(255, 163, 24, 0.2), transparent 34%),
    radial-gradient(ellipse at 50% 104%, rgba(255, 128, 0, 0.15), transparent 42%),
    linear-gradient(155deg, #090806 0%, #020303 54%, #0b0803 100%);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55), inset 0 0 42px rgba(255, 154, 25, 0.06);
}

.app.app--view-home .tournament-day-home-dual--tournament-focus::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 14% 34%, #ffc04b 0 1px, transparent 2px),
    radial-gradient(circle at 86% 22%, #ff9c28 0 1px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(255, 190, 67, 0.12) 50%, transparent);
  background-size: 97px 83px, 121px 109px, 100% 1px;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > * {
  position: relative;
  z-index: 1;
}

.app.app--view-home .home-tournament-section-title {
  grid-column: 1;
  margin: 0 0 2px;
  color: #ffbf43;
  font-size: clamp(25px, 6.8vw, 44px);
  font-weight: 1000;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #6f3600, 0 0 18px rgba(255, 153, 25, 0.48);
}

.app.app--view-home .home-tournament-section-title::after {
  content: "◆  ◆  ◆   КАЖДЫЙ ДЕНЬ   ◆  ◆  ◆";
  display: block;
  margin-top: 6px;
  color: rgba(255, 236, 197, 0.84);
  font-size: clamp(9px, 2.5vw, 13px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: none;
}

.app.app--view-home .tournament-day-home-wrap--week {
  grid-column: 1;
  min-width: 0;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block--home {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > .home-tournament-section-title {
  order: 10;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > .tournament-day-home-wrap--week {
  order: 20;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > .home-tournament-bonuses--upper {
  grid-column: 1;
  order: 30;
  margin-top: 2px;
  margin-bottom: 0;
}

.app.app--view-home .home-tournament-bonuses--upper .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.app.app--view-home
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
  .home-tournament-bonus__amount {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(15px, 2.8vw, 28px);
  letter-spacing: -0.04em;
  text-overflow: clip;
  white-space: nowrap;
}

.app.app--view-home
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
  .home-tournament-bonus[data-home-tournament-bonus="league1"]
  .home-tournament-bonus__amount,
.app.app--view-home
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
  .home-tournament-bonus[data-home-tournament-bonus="league2"]
  .home-tournament-bonus__amount {
  font-size: clamp(13px, 2.35vw, 23px);
  letter-spacing: -0.065em;
}

.app.app--view-home
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
  .home-tournament-bonus__label {
  max-width: 100%;
  font-size: clamp(7px, 1.25vw, 12px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > .tournament-day-home-wrap--tournament-day {
  order: 40;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus > .home-tournament-raffle-bonus {
  order: 50;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__body {
  padding: 0;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__home-head {
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  background: transparent;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__home-heading {
  display: none;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__countdown {
  color: #f7d79a;
  font-size: 12px;
}

.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__meta {
  padding: 0;
}

.app.app--view-home .home-tournament-week-list {
  position: relative;
  height: clamp(370px, 104vw, 590px);
  max-height: 66vh;
  min-height: 360px;
  overflow: visible;
  perspective: 1100px;
  perspective-origin: 50% 46%;
  touch-action: pan-y;
  user-select: none;
}

.app.app--view-home .home-tournament-week-row {
  position: absolute;
  z-index: calc(20 - (var(--carousel-offset) * var(--carousel-offset)));
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(205px, 53vw, 330px);
  height: min(94%, 540px);
  padding: 0;
  overflow: hidden;
  opacity: calc(1 - (var(--carousel-distance) * 0.18));
  border: 1px solid rgba(255, 193, 75, 0.48);
  border-radius: 22px;
  background: #070706;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.68), inset 0 0 18px rgba(255, 164, 38, 0.08);
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--carousel-offset) * clamp(112px, 30vw, 190px)))
    translateZ(calc(var(--carousel-distance) * -135px))
    rotateY(calc(var(--carousel-offset) * -12deg))
    scale(calc(1 - (var(--carousel-distance) * 0.08)));
  transform-origin: center;
  transition: transform 540ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, border-color 420ms ease, box-shadow 420ms ease;
  will-change: transform;
}

.app.app--view-home .home-tournament-week-row--active {
  z-index: 30;
  opacity: 1;
  border-color: #ffc34d;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.72), 0 0 12px rgba(255, 173, 38, 0.7), 0 0 34px rgba(255, 124, 0, 0.32), inset 0 0 0 1px rgba(255, 239, 184, 0.3);
}

.app.app--view-home .home-tournament-week-row--far {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.app.app--view-home .home-tournament-week-row__poster-wrap,
.app.app--view-home .home-tournament-week-row__poster {
  display: block;
  width: 100%;
  height: 100%;
}

.app.app--view-home .home-tournament-week-row__poster {
  object-fit: cover;
  object-position: center;
  background: #050504;
  filter: brightness(0.66) saturate(0.82);
  transition: filter 420ms ease, transform 620ms ease;
}

.app.app--view-home .home-tournament-week-row--active .home-tournament-week-row__poster {
  filter: brightness(1) saturate(1.08);
  transform: none;
}

.app.app--view-home .home-tournament-week-row__day {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 34px;
  padding: 5px 8px;
  color: #151006;
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffe493, #f0a91d);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.app.app--view-home .home-tournament-week-row__main {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  color: #fff4d3;
  border: 1px solid rgba(255, 197, 78, 0.46);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.74), rgba(0, 0, 0, 0.93));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.app.app--view-home #homeTournamentWeekList .home-tournament-week-row__main {
  display: none !important;
}

.app.app--view-home .home-tournament-week-row__name {
  color: #ffc24b;
  font-size: 15px;
  font-weight: 1000;
}

.app.app--view-home .home-tournament-week-row__meta {
  overflow: hidden;
  color: rgba(255, 246, 223, 0.8);
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.app--view-home .home-tournament-week-nav {
  position: absolute;
  z-index: 45;
  top: 50%;
  width: 42px;
  height: 58px;
  padding: 0 0 5px;
  color: #ffd36c;
  font: 300 42px/1 system-ui, sans-serif;
  border: 1px solid rgba(255, 192, 66, 0.52);
  border-radius: 14px;
  background: rgba(4, 4, 3, 0.76);
  box-shadow: 0 0 18px rgba(255, 143, 20, 0.16);
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.app.app--view-home .home-tournament-week-nav--prev { left: 2px; }
.app.app--view-home .home-tournament-week-nav--next { right: 2px; }

.app.app--view-home .tournament-day-home-wrap--tournament-day {
  grid-column: 1;
}

.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail {
  min-height: 0;
}

.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__media {
  display: none;
}

.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__content {
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  border: 1px solid rgba(255, 190, 64, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 16, 7, 0.88), rgba(4, 4, 4, 0.94));
}

.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__eyebrow,
.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__name,
.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__meta,
.app.app--view-home .tournament-day-home-wrap--tournament-day .home-tournament-detail__prize {
  display: none;
}

.app.app--view-home .home-tournament-flow { display: none; }

@media (max-width: 560px) {
  .app.app--view-home .tournament-day-home-dual--tournament-focus {
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 7px;
    padding-left: 7px;
    border-radius: 22px;
  }

  .app.app--view-home .home-tournament-week-list {
    min-height: 410px;
    max-height: none;
  }

  .app.app--view-home .home-tournament-week-row {
    width: min(61vw, 292px);
    height: min(100vw, 475px);
    transform:
      translate(-50%, -50%)
      translateX(calc(var(--carousel-offset) * 35vw))
      translateZ(calc(var(--carousel-distance) * -155px))
      rotateY(calc(var(--carousel-offset) * -14deg))
      scale(calc(1 - (var(--carousel-distance) * 0.1)));
  }

  .app.app--view-home .home-tournament-week-nav {
    top: auto;
    bottom: 4px;
    width: 38px;
    height: 44px;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app.app--view-home .home-tournament-week-row,
  .app.app--view-home .home-tournament-week-row__poster {
    transition-duration: 1ms;
  }
}

/* Keep the Hero of the Day marker in the portrait's lower-left corner, leaving
   the face and headline row unobstructed. */
body .home-friend-news-modal--club .home-friend-news-modal__item:first-child .home-friend-news-modal__player-title {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__day-hero {
  position: absolute;
  z-index: 6;
  top: auto !important;
  right: auto !important;
  bottom: 10px !important;
  left: 10px !important;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__player-name {
  flex: 1 1 auto;
  min-width: 0;
}

body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__title-amount {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Keep character art in the event row while expanded comments use a separate,
   full-width row below it. */
body .home-friend-news-modal--club .home-friend-news-modal__day-events .home-friend-news-modal__item--comments-open {
  display: grid !important;
  grid-template-columns: 33% minmax(0, 67%) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
}

body .home-friend-news-modal--club .home-friend-news-modal__item--comments-open .home-friend-news-modal__icon {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  contain: size;
}

body .home-friend-news-modal--club .home-friend-news-modal__item--comments-open
  .home-friend-news-modal__icon .home-friend-news__avatar {
  min-height: 0;
  max-height: 100%;
}

body .home-friend-news-modal--club .home-friend-news-modal__item--comments-open .home-friend-news-modal__copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  margin-left: 0 !important;
}

body .home-friend-news-modal--club .home-friend-news-modal__item--comments-open > .chat-user-modal__news-comments {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 8px;
  min-height: 0;
}

body .home-friend-news-modal--club
  .home-friend-news-modal__day-events
  .home-friend-news-modal__item--comments-open:has(.home-friend-news-modal__day-hero)
  .home-friend-news-modal__day-hero {
  top: auto !important;
  right: auto !important;
  bottom: 10px !important;
  left: 10px !important;
}

/* Keep the poster carousel above older late overrides in this stylesheet. */
.app.app--view-home #homeTournamentWeekList.home-tournament-week-list {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2.0833 / 1;
  padding: 0;
  overflow: visible;
  perspective: 1100px;
  touch-action: pan-y;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus {
  margin-top: 10px !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app.app--view-home .tournament-day-home-wrap--week,
.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block--home,
.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__body,
.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block__meta {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home .tournament-day-home-wrap--week::before,
.app.app--view-home .tournament-day-home-wrap--week::after,
.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block--home::before,
.app.app--view-home .tournament-day-home-wrap--week .tournament-day-block--home::after,
.app.app--view-home #homeTournamentWeekList::before,
.app.app--view-home #homeTournamentWeekList::after {
  content: none !important;
  display: none !important;
}

html body #app.app.app--view-home
  .tournament-day-home-dual--tournament-focus
  .tournament-day-home-wrap--week
  .tournament-day-block--home {
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  outline: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app.app--view-home #homeTournamentWeekList > .home-tournament-week-row {
  position: absolute;
  z-index: calc(20 - var(--carousel-distance));
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(150px, 40%, 330px);
  height: 92%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: calc(1 - (var(--carousel-distance) * 0.18));
  border: 1px solid rgba(255, 193, 75, 0.48);
  border-radius: 22px;
  background: #070706;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.68);
  transform: translate(-50%, -50%) translateX(calc(var(--carousel-offset) * clamp(92px, 26vw, 190px))) translateZ(calc(var(--carousel-distance) * -66px)) rotateY(calc(var(--carousel-offset) * -48deg)) scale(calc(1 - (var(--carousel-distance) * 0.08)));
  transition: transform 540ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, border-color 420ms ease, box-shadow 420ms ease;
}

.app.app--view-home #homeTournamentWeekList > .home-tournament-week-row--active {
  z-index: 30;
  opacity: 1;
  border-color: #ffc34d;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.72), 0 0 12px rgba(255, 173, 38, 0.7), 0 0 34px rgba(255, 124, 0, 0.32);
}

.app.app--view-home #homeTournamentWeekList > .home-tournament-week-row--far {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.app.app--view-home #homeTournamentWeekList > .home-tournament-week-nav {
  position: absolute;
  z-index: 45;
}

@media (max-width: 560px) {
  .app.app--view-home #homeTournamentWeekList.home-tournament-week-list {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 2.0833 / 1;
  }

  .app.app--view-home #homeTournamentWeekList > .home-tournament-week-row {
    width: 42%;
    height: 92%;
    border-radius: 14px;
    transform: translate(-50%, -50%) translateX(calc(var(--carousel-offset) * 28vw)) translateZ(calc(var(--carousel-distance) * -68px)) rotateY(calc(var(--carousel-offset) * -50deg)) scale(calc(1 - (var(--carousel-distance) * 0.1)));
  }

  .app.app--view-home #homeTournamentWeekList .home-tournament-week-row__day {
    top: 5px;
    left: 5px;
    min-width: 27px;
    padding: 3px 5px;
    font-size: 9px;
  }

  .app.app--view-home #homeTournamentWeekList .home-tournament-week-row__main {
    right: 4px;
    bottom: 4px;
    left: 4px;
    padding: 5px 7px;
    border-radius: 8px;
  }

  .app.app--view-home #homeTournamentWeekList .home-tournament-week-row__name {
    font-size: 10px;
  }

  .app.app--view-home #homeTournamentWeekList .home-tournament-week-row__meta {
    display: none;
  }

  .app.app--view-home #homeTournamentWeekList > .home-tournament-week-nav {
    bottom: 50%;
    width: 30px;
    height: 40px;
    margin-bottom: -20px;
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__player-title {
    gap: 5px;
    font-size: clamp(14px, 3.55vw, 17px);
    letter-spacing: -0.04em;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__item:has(.home-friend-news-modal__day-hero) .home-friend-news-modal__title-amount {
    flex: 0 0 auto;
    font-size: 1em;
  }
}

/* Keep the evening-tournament header and bonuses compact on narrow screens. */
@container (max-width: 760px) {
  .app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-section-title {
    grid-template-columns: minmax(14px, 1fr) max-content minmax(14px, 1fr);
    column-gap: 7px;
    font-size: clamp(11px, 3vw, 15px);
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow-wrap: normal;
    text-wrap: nowrap;
  }

  .app.app--view-home
    .home-tournament-bonuses--upper
    .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
    .home-tournament-bonus__amount {
    font-size: clamp(11px, 3.2vw, 14px);
    letter-spacing: -0.05em;
  }

  .app.app--view-home
    .home-tournament-bonuses--upper
    .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
    .home-tournament-bonus[data-home-tournament-bonus="league1"]
    .home-tournament-bonus__amount,
  .app.app--view-home
    .home-tournament-bonuses--upper
    .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
    .home-tournament-bonus[data-home-tournament-bonus="league2"]
    .home-tournament-bonus__amount {
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .app.app--view-home
    .home-tournament-bonuses--upper
    .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble)
    .home-tournament-bonus__label {
    font-size: clamp(7px, 1.8vw, 9px);
    line-height: 1.05;
  }
}

/* Club-news cards keep their artwork/content split, but the footer needs the
   whole card width on phones. It otherwise inherits the 69% copy column and
   the two labelled controls collide with each other and the copy button. */
@media (max-width: 480px) {
  body .home-friend-news-modal--club .home-friend-news-modal__action-row {
    width: 145%;
    max-width: none;
    margin-left: -45%;
    gap: 6px;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__action-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    gap: 6px;
  }

  body .home-friend-news-modal--club
    .home-friend-news-modal__action-controls
    .chat-user-modal__news-comment-toggle,
  body .home-friend-news-modal--club .home-friend-news-modal__profile-cue {
    min-height: 32px;
    padding-inline: 5px;
    gap: 3px;
    font-size: 7px;
    letter-spacing: 0;
  }

  body .home-friend-news-modal--club
    .home-friend-news-modal__action-row
    .chat-user-modal__news-comment-toggle b {
    font-size: 8px;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__profile-cue b {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  body .home-friend-news-modal--club .home-friend-news-modal__action-controls {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) 32px;
    gap: 4px;
  }

  body .home-friend-news-modal--club
    .home-friend-news-modal__action-controls
    .chat-user-modal__news-comment-toggle,
  body .home-friend-news-modal--club .home-friend-news-modal__profile-cue {
    min-height: 30px;
    padding-inline: 3px;
  }

  body .home-friend-news-modal--club .home-friend-news-modal__event-copy {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
}

/* Glossy tournament-bonus gems from the approved home-screen art direction. */
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper {
  padding: 14px clamp(14px, 2.8vw, 38px) 10px;
  background: transparent;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper,
.app.app--view-home .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper:not(.home-tournament-bonuses__grid--has-bubble) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.15vw, 15px);
  width: 100%;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__grid--upper.home-tournament-bonuses__grid--has-bubble {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(n + 4),
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus--bubble-buyin {
  --bonus-gem: 255, 164, 24;
  --bonus-gem-deep: 83, 31, 0;
  --bonus-gem-text: #ffd65d;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.34 / 1;
  padding: 12px 6px 10px;
  isolation: isolate;
  overflow: hidden;
  border: clamp(2px, 0.24vw, 3px) solid rgba(var(--bonus-gem), 0.96);
  border-radius: clamp(28px, 4.4vw, 58px);
  background:
    radial-gradient(ellipse at 25% 7%, rgba(255, 255, 255, 0.92) 0 2%, rgba(255, 255, 255, 0.42) 7%, transparent 23%),
    radial-gradient(ellipse at 72% 13%, rgba(255, 255, 255, 0.28), transparent 24%),
    radial-gradient(ellipse at 50% 112%, rgba(var(--bonus-gem), 0.56), transparent 49%),
    linear-gradient(155deg, rgba(var(--bonus-gem), 0.88) 0%, rgba(var(--bonus-gem-deep), 0.96) 43%, rgba(8, 7, 6, 0.99) 83%);
  box-shadow:
    0 0 0 2px rgba(255, 230, 157, 0.16),
    0 0 24px rgba(var(--bonus-gem), 0.72),
    0 13px 24px rgba(0, 0, 0, 0.68),
    inset 0 3px 4px rgba(255, 255, 255, 0.84),
    inset 0 -12px 18px rgba(0, 0, 0, 0.76),
    inset 10px 0 16px rgba(255, 255, 255, 0.1),
    inset -10px 0 16px rgba(0, 0, 0, 0.38);
  transform: translateZ(0);
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(2) {
  --bonus-gem: 255, 92, 25;
  --bonus-gem-deep: 82, 15, 0;
  --bonus-gem-text: #ff9a35;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(3) {
  --bonus-gem: 255, 196, 21;
  --bonus-gem-deep: 91, 50, 0;
  --bonus-gem-text: #ffd844;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(4) {
  --bonus-gem: 28, 221, 145;
  --bonus-gem-deep: 0, 70, 49;
  --bonus-gem-text: #5df3c2;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(5) {
  --bonus-gem: 126, 112, 255;
  --bonus-gem-deep: 29, 21, 91;
  --bonus-gem-text: #b9b7ff;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus::before,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(n)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6%;
  right: 9%;
  bottom: 50%;
  left: 9%;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 999px 999px 46% 46%;
  opacity: 0.95;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.43), rgba(255, 255, 255, 0.025));
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: calc(clamp(28px, 4.4vw, 58px) - 7px);
  pointer-events: none;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus--info:hover,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus--info:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 2px rgba(var(--bonus-gem), 0.3),
    0 0 28px rgba(var(--bonus-gem), 0.82),
    0 14px 26px rgba(0, 0, 0, 0.62),
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    inset 0 -9px 16px rgba(0, 0, 0, 0.58);
  transform: translateY(-2px) scale(1.015);
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus__amount,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus[data-home-tournament-bonus="league1"]
  .home-tournament-bonus__amount,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus--bubble-buyin
  .home-tournament-bonus__amount {
  width: 100%;
  overflow: visible;
  color: var(--bonus-gem-text);
  font-size: clamp(15px, 2.65vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-overflow: unset;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.85),
    0 0 9px rgba(var(--bonus-gem), 0.75),
    0 0 20px rgba(var(--bonus-gem), 0.45);
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus__label {
  width: 100%;
  margin-top: 6px;
  color: #fff4d8;
  font-size: clamp(9px, 1.5vw, 17px);
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.92), 0 0 7px rgba(255, 255, 255, 0.16);
}

.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonuses__hint {
  margin-top: 12px;
  color: rgba(255, 238, 202, 0.78);
  font-size: clamp(9px, 1.35vw, 13px);
}

@container (max-width: 760px) {
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper {
    padding-inline: 4px;
  }

  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonuses__grid--upper {
    gap: 4px;
  }

  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus,
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus:nth-child(n + 4),
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus--bubble-buyin {
    width: 100%;
    min-height: 0;
    padding: 6px 2px 5px;
    border-width: 1px;
    border-radius: clamp(11px, 3.4vw, 15px);
  }

  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus__amount,
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus[data-home-tournament-bonus="league1"]
    .home-tournament-bonus__amount,
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus--bubble-buyin
    .home-tournament-bonus__amount {
    font-size: clamp(10px, 2.85vw, 14px);
  }

  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus__label {
    margin-top: 4px;
    font-size: clamp(6px, 1.85vw, 9px);
  }
}

/* Final supplied glass-button artwork. Each source has different outer
   whitespace, so the per-card crop normalizes the visible button size. */
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus,
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus:nth-child(n + 4),
.app.app--view-home .tournament-day-home-dual--tournament-focus
  .home-tournament-bonuses--upper
  .home-tournament-bonus--bubble-buyin {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2.18 / 1;
  padding: 8px 4px 7px;
  border: 0;
  border-radius: 24%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus:nth-child(1) {
  background-image: url("./assets/home-bonus-button-four-kind.webp");
  background-size: 164% auto;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus:nth-child(2) {
  background-image: url("./assets/home-bonus-button-straight-flush.webp");
  background-size: 142% auto;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus:nth-child(3) {
  background-image: url("./assets/home-bonus-button-royal-flush.webp");
  background-size: 151% auto;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus:nth-child(4) {
  background-image: url("./assets/home-bonus-button-league.webp");
  background-size: 156% auto;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus:nth-child(5) {
  background-image: url("./assets/home-bonus-button-bubble.webp");
  background-size: 130% auto;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus::before,
.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus::after {
  display: none;
}

.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus--info:hover,
.app.app--view-home .tournament-day-home-dual--tournament-focus .home-tournament-bonuses--upper .home-tournament-bonus--info:focus-visible {
  border: 0;
  box-shadow: none;
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-2px) scale(1.015);
}

@container (max-width: 760px) {
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus,
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus:nth-child(n + 4),
  .app.app--view-home .tournament-day-home-dual--tournament-focus
    .home-tournament-bonuses--upper
    .home-tournament-bonus--bubble-buyin {
    padding: 4px 2px 3px;
    border: 0;
  }
}
