/* Ödüller hub */
.rw-hub {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  color: #f7f1e4;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 100% 55% at 50% -8%, rgba(246, 196, 69, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 40% at 100% 80%, rgba(255, 120, 70, 0.08), transparent 50%),
    linear-gradient(180deg, #141008 0%, #0a121c 48%, #071018 100%);
  user-select: none;
}
.rw-hub button { -webkit-tap-highlight-color: transparent; }
.rw-hub svg { display: block; flex-shrink: 0; }

.rw-hub-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    10px
    8px;
  border-bottom: 1px solid rgba(246, 196, 69, 0.28);
  background: linear-gradient(180deg, rgba(40, 28, 8, 0.85), rgba(8, 16, 28, 0.72));
}
.rw-hub-top h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffe08a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}
.rw-hub-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #f6c445;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rw-hub-back svg { width: 22px; height: 22px; }
.rw-hub-back:active { transform: scale(0.95); }
.rw-hub-pad { width: 40px; height: 40px; }

.rw-hub-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 12px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rw-hub-hero {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1.5px solid rgba(246, 196, 69, 0.42);
  background:
    linear-gradient(135deg, rgba(246, 196, 69, 0.16), transparent 46%),
    linear-gradient(180deg, #2a1e0c, #121a28);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rw-hub-hero-art {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(246, 196, 69, 0.45);
  background: #0a1424;
  box-shadow: 0 0 18px rgba(246, 196, 69, 0.18);
}
.rw-hub-hero-ico {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rw-hub-hero-txt strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #ffe9a8;
}
.rw-hub-hero-txt p {
  margin: 4px 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(247, 241, 228, 0.62);
}
.rw-hub-hero-txt em {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  color: #9fe870;
}

.rw-hub-block {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(22, 34, 52, 0.92), rgba(10, 18, 30, 0.95));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.rw-hub-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.rw-hub-block-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f6c445;
}
.rw-hub-block-head span {
  font-size: 11px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.5);
}

.rw-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 10px;
}
.rw-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}
.rw-day em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.45);
}
.rw-day strong {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}
.rw-day span {
  font-size: 9px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.rw-day-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
}
.rw-day-ico,
.rw-day img.rw-day-ico {
  width: 11px;
  height: 11px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.rw-day.is-got {
  border-color: rgba(126, 232, 112, 0.35);
  background: rgba(60, 120, 50, 0.22);
}
.rw-day.is-now {
  border-color: rgba(246, 196, 69, 0.65);
  background: linear-gradient(180deg, rgba(246, 196, 69, 0.22), rgba(80, 50, 10, 0.35));
  box-shadow: 0 0 12px rgba(246, 196, 69, 0.2);
}

.rw-hub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}
.rw-hub-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rw-hub-meta strong {
  font-size: 13px;
  font-weight: 900;
}
.rw-hub-meta .rw {
  flex-wrap: wrap;
}

.rw-hub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rw-hub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 50%),
    rgba(0, 0, 0, 0.22);
}
.rw-hub-card.is-dim { opacity: 0.72; }
.rw-hub-card.tone-arena { border-color: rgba(110, 190, 255, 0.28); }
.rw-hub-card.tone-vip { border-color: rgba(246, 196, 69, 0.35); }
.rw-hub-card.tone-gift { border-color: rgba(232, 110, 100, 0.3); }
.rw-hub-card.tone-gem { border-color: rgba(120, 190, 255, 0.32); }
.rw-hub-card-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rw-hub-card-main strong {
  font-size: 13px;
  font-weight: 900;
}
.rw-hub-hint {
  font-size: 11px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.45);
}

.rw-hub-btn {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 8px 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.rw-hub-btn.is-ready {
  color: #1a1204;
  background: linear-gradient(180deg, #ffe08a, #f0b020);
  border-color: rgba(160, 110, 20, 0.55);
  box-shadow: 0 4px 12px rgba(246, 196, 69, 0.28);
}
.rw-hub-btn.is-ready:active { transform: scale(0.96); }
.rw-hub-btn.is-done,
.rw-hub-btn.is-off {
  color: rgba(247, 241, 228, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
.rw-hub-btn.is-go {
  color: #ffe08a;
  background: rgba(246, 196, 69, 0.12);
  border-color: rgba(246, 196, 69, 0.35);
}
.rw-hub-btn.is-go:active { transform: scale(0.96); }

.rw-hub-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.rw-hub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(30, 44, 66, 0.9), rgba(12, 20, 34, 0.95));
  color: inherit;
  font: inherit;
  text-align: left;
}
.rw-hub-link:active { transform: scale(0.985); }
.rw-hub-link span {
  font-size: 13px;
  font-weight: 900;
}
.rw-hub-link em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  color: #9fe870;
}
