.is-home .php-market-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; align-items: start !important; gap: 10px !important; }
.is-home .php-market-card {
  box-sizing: border-box;
  position: relative;
  align-self: start;
  border: 1px solid #c5e8e1 !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg,#ffffff 0%,#f5fffc 52%,#e1f4ef 100%) !important;
  box-shadow: inset 0 1px 0 #fff,0 3px 9px #003f3a24 !important;
  opacity: 1 !important;
  font-family: 'Outfit',Arial,sans-serif;
}
.is-home .php-market-head { display: flex !important; align-items: center; justify-content: space-between; gap: 5px; }
.is-home .php-market-head h3 { flex: 1; text-align: center; }
.is-home .php-market-card .php-market-head h3 { color: #00594f !important; letter-spacing: .015em; }
.is-home .php-market-card .php-market-head a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; min-height: 28px; border-radius: 8px;
  background: #fff0f4; color: #e94372 !important;
}
.is-home .php-market-card .result-strip {
  border: 1px solid #cbe9e4 !important;
  border-radius: 9px !important;
  background: #edf8f5 !important;
  overflow: hidden;
  display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr));
}
.is-home .php-market-card .result-strip strong {
  color: #064d46 !important; background: transparent !important;
  font-weight: 800 !important; font-variant-numeric: tabular-nums;
  text-align: center;
}
.is-home .php-market-card .result-strip strong + strong { border-left: 1px solid #d3eae4; }
.is-home .php-market-card.is-closed {
  height: auto !important; min-height: 0 !important;
  padding: 7px 9px !important;
  background: linear-gradient(145deg,#e7efec 0%,#d7e3df 58%,#cbd9d5 100%) !important;
  border-color: #b5cbc5 !important;
  border-left: 3px solid #7eaaa0 !important;
  box-shadow: inset 0 1px 0 #f7fbfa,0 2px 6px #003f3a1c !important;
  filter: saturate(.7) !important;
}
.is-home .php-market-card.is-closed .php-market-head {
  min-height: 24px !important; margin: 0 0 4px !important; padding: 0 !important;
}
.is-home .php-market-card.is-closed .php-market-head h3 {
  margin: 0 !important; font-size: 12px !important; line-height: 1.2 !important;
}
.is-home .php-market-card.is-closed .php-market-head a { min-width: 26px; min-height: 26px; }
.is-home .php-market-card.is-closed .result-strip {
  height: 27px !important; min-height: 27px !important; margin: 0 !important; padding: 0 !important;
}
.is-home .php-market-card.is-closed .result-strip strong { padding: 4px 2px !important; font-size: 12px !important; }
.is-home .php-market-card.is-closed .php-market-time {
  margin: 5px 0 0 !important; padding: 0 !important; min-height: 15px !important;
  font-size: 9px !important; line-height: 15px !important; color: #426e65 !important;
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.is-home .php-market-card.is-closed .php-market-time svg { width: 11px; height: 11px; }
.is-home .php-market-card.is-closed .php-market-closed { display: none !important; }
.is-home .php-market-card:not(.is-closed) {
  border: 1px solid #fff !important;
  background:
    radial-gradient(ellipse at 18% 4%,#ffffff 0 18%,transparent 43%),
    linear-gradient(118deg,#ffffff 0%,#fffefb 34%,#f2fffbd9 58%,#ffffff 100%) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -8px 20px #d7f3eb70,
    0 0 0 2px #d9fff4,
    0 5px 15px #bff8e8a8 !important;
  filter: saturate(1.08) brightness(1.025) !important;
}
.is-home .php-market-card:not(.is-closed)::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg,transparent 8%,#ffffffb8 30%,transparent 47%);
  opacity: .62;
}
.is-home .php-market-card:not(.is-closed) > * { position: relative; z-index: 1; }
.is-home .php-market-card:not(.is-closed) .result-strip {
  background: linear-gradient(180deg,#ffffff,#f4fffc) !important;
  border-color: #d4f4eb !important;
  box-shadow: inset 0 1px 3px #bce6dc42;
}
.is-home .php-market-card:not(.is-closed) .php-market-play {
  border: 1px solid #079287 !important;
  background: linear-gradient(135deg,#20b0a1,#00635d) !important;
  box-shadow: inset 0 1px #ffffff8f,0 3px 8px #005b4e3d;
  border-radius: 9px !important;
}
@media(max-width:360px) {
  .is-home .php-market-card.is-closed { padding: 6px !important; }
  .is-home .php-market-card.is-closed .php-market-head h3 { font-size: 11px !important; }
  .is-home .php-market-card.is-closed .php-market-time { font-size: 8px !important; }
}
