/* 3OT · home.css (v383)
   Home and Play pages: intro, shortcut tiles, today's games, play list, coach promo, member daily strip.
*/

.home {
  display: grid;
  gap: 14px;
  min-width: 0;
}/* Intro (logged out) */


.hm-intro {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,122,26,.14), rgba(255,177,26,.05) 60%, var(--bg-151922));
  border: 1px solid var(--ln-252c38);
}
.hm-intro h1 {
  margin: 0 0 6px;
  color: var(--fg-f5f7fb);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.hm-intro p {
  margin: 0 0 14px;
  color: var(--fg-b4bfcf);
  font-size: 15px;
  line-height: 1.45;
  max-width: 560px;
}
.hm-intro-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg,#ff7a1a,#ffb21a);
  color: #1a0d00;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
.hm-cta:hover {
  filter: brightness(1.05);
}
.hm-login {
  color: var(--fg-f5f7fb);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}/* Shortcut tiles */


.hm-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.hm-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: var(--bg-151922);
  border: 1px solid var(--ln-252c38);
  color: var(--fg-f5f7fb);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.hm-tile:hover {
  border-color: #ff7a1a;
  transform: translateY(-1px);
}
.hm-tile img {
  width: 28px;
  height: 28px;
}/* Sections */


.hm-section {
  margin: 0 !important;
}
.hm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hm-head h2 {
  margin: 0;
  font-size: 20px;
}
.hm-head h2 small {
  margin-left: 6px;
  color: var(--fg-8f9bad);
  font-size: 13px;
  font-weight: 600;
}
.hm-head a {
  color: var(--fg-ff7a1a);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.hm-page-title {
  margin: 0 0 4px;
}
.hm-note {
  margin: 10px 0 0;
  color: var(--fg-8f9bad);
  font-size: 13px;
}/* Today's games: a compact scoreboard */


.hm-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hm-game {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-11151d);
  border: 1px solid var(--ln-252c38);
  color: var(--fg-f5f7fb);
  text-decoration: none;
  transition: border-color .15s ease;
}
.hm-game:hover {
  border-color: #ff7a1a;
}
.hm-game.is-live {
  border-color: rgba(255,71,95,.55);
}
.hm-st {
  color: var(--fg-8f9bad);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.hm-st.is-live {
  color: var(--fg-ff475f);
}
.hm-st.is-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff475f;
  vertical-align: 1px;
  animation: hmPulse 1.6s ease-in-out infinite;
}
@keyframes hmPulse {
  50% { opacity: .35; }
}
.hm-teams {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.hm-team {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
.hm-team i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.hm-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hm-team b {
  font-variant-numeric: tabular-nums;
}
.hm-team.is-lost {
  color: var(--fg-8f9bad);
}
.hm-room {
  color: var(--fg-8f9bad);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hm-room.has-people {
  color: var(--fg-35d66f);
}/* Play */


.hm-play {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hm-play-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-11151d);
  border: 1px solid var(--ln-252c38);
  color: var(--fg-f5f7fb);
  text-decoration: none;
  transition: border-color .15s ease;
}
.hm-play-item:hover {
  border-color: #ff7a1a;
}
.hm-play-item img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}
.hm-play-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hm-play-item b {
  font-size: 15px;
}
.hm-play-item small {
  color: var(--fg-8f9bad);
  font-size: 13px;
  line-height: 1.35;
}
.hm-play-full {
  margin-top: 14px;
}/* Coach promo */


.hm-coach {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  color: var(--fg-f5f7fb);
  text-decoration: none;
  border-color: rgba(255,140,26,.45) !important;
}
.hm-coach img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}
.hm-coach span {
  display: grid;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}
.hm-coach b {
  font-size: 17px;
}
.hm-coach small {
  color: var(--fg-8f9bad);
  font-size: 14px;
  line-height: 1.4;
}
.hm-coach em {
  flex: 0 0 auto;
  color: var(--fg-ff7a1a);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}/* Members: daily strip */


.hm-daily {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hm-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-151922);
  border: 1px solid var(--ln-252c38);
  color: var(--fg-f5f7fb);
  text-decoration: none;
  min-width: 0;
}
.hm-task:hover {
  border-color: #ff7a1a;
}
.hm-task i {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,122,26,.14);
  font-style: normal;
  font-size: 16px;
}
.hm-task span {
  display: grid;
  min-width: 0;
}
.hm-task b {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hm-task small {
  color: var(--fg-8f9bad);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hm-task.is-done {
  opacity: .7;
}
.hm-task.is-done i {
  background: rgba(53,214,111,.14);
  color: var(--fg-35d66f);
}

.tp-home h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.tp-home .tp-sub {
  margin: 0 0 6px;
}
.tp-home .viewmore {
  display: block;
  margin-top: 4px;
  text-align: center;
}/* On wider screens the same card sits in the right sidebar. */

@media (min-width: 1101px) {
  .tp-home {
    display: none;
  }
}

@media (max-width: 760px) {
  .hm-intro h1 {
    font-size: 23px;
  }
  .hm-intro p {
    font-size: 14px;
  }
  .hm-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hm-tile {
    padding: 12px 4px 10px;
  }
  .hm-games,
  .hm-play {
    grid-template-columns: minmax(0, 1fr);
  }
  .hm-daily {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .hm-coach {
    flex-wrap: wrap;
  }
  .hm-coach em {
    width: 100%;
    padding-left: 50px;
  }
}
