
/* Afon Valley home-screen COMET card — club green, yellow and zero emoji glyphs. */
.comet-home-card{
  position:relative;overflow:hidden;border:1px solid #cbded2;border-radius:22px;
  background:#ffffff;box-shadow:0 10px 28px rgba(5,59,34,.09);
}
.comet-home-card::before{
  content:"";display:block;height:5px;
  background:linear-gradient(90deg,#f2d24f 0 29%,#0a774a 29% 100%);
}
.comet-home-heading{
  display:flex;gap:14px;align-items:center;justify-content:space-between;
  background:linear-gradient(122deg,#053521 0%,#08683f 72%,#0d7a4b 100%);
  padding:19px 20px 20px;color:#fff;
}
.comet-home-heading h3{margin:6px 0 4px;font-size:25px;line-height:1.16;color:#fff;letter-spacing:-.035em}
.comet-home-heading p{margin:0;color:#d5e8dd;font-size:12px;line-height:1.55}
.comet-home-eyebrow{font-size:10px;letter-spacing:.12em;color:#f2d24f;font-weight:950}
.comet-home-mark{
  flex-shrink:0;display:flex;align-items:center;justify-content:center;
  width:58px;height:58px;border:2px solid rgba(242,210,79,.65);
  border-radius:15px;background:rgba(255,255,255,.08);
  color:#f2d24f;font-size:12px;line-height:1.3;font-weight:1000;
  letter-spacing:.035em;text-align:center;
}
.comet-home-body{padding:15px 17px 16px}
.comet-home-stats{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
.comet-home-tile{
  background:#f4f8f5;border:1px solid #e0eae3;border-radius:15px;
  padding:12px 13px;min-width:0;
}
.comet-home-tile span{display:block;color:#537063;font-size:10px;font-weight:900;letter-spacing:.035em}
.comet-home-tile strong{
  display:block;margin-top:5px;font-size:27px;font-weight:1000;color:#073f28;
  line-height:1.15;letter-spacing:-.045em;font-variant-numeric:tabular-nums;
}
.comet-home-tile.is-primary{
  padding:16px 15px;background:#e9f3eb;border-color:#bcdac8;
}
.comet-home-tile.is-primary strong{font-size:42px;color:#064f31}
.comet-home-tile.is-goals{
  background:linear-gradient(135deg,#fff4bb,#fff9e6);
  border-color:#e8d37e;
}
.comet-home-tile.is-goals span{color:#796016}
.comet-home-tile.is-goals strong{color:#5a4706}
.comet-home-footer{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:13px;padding-top:12px;border-top:1px solid #e6eee8;
}
.comet-home-footer p{margin:0;color:#718277;font-size:11px;line-height:1.55;max-width:360px}
.comet-home-view{
  flex-shrink:0;min-height:39px;border:1px solid #08633d;
  background:#fff;color:#08633d;border-radius:10px;
  padding:8px 13px;font-size:12px;font-weight:900;
}
.comet-home-view:focus-visible{outline:3px solid #f2d24f;outline-offset:3px}
.comet-home-empty-note{margin:12px 0 0;font-size:12px;line-height:1.6;color:#5c7667}
.comet-home-body.comet-loading{padding:26px 18px;color:#64766a;font-size:13px;text-align:center}
@media(min-width:680px){
  .comet-home-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .comet-home-tile.is-primary{grid-column:span 2}
  .comet-home-tile:not(.is-primary){grid-column:span 1}
  .comet-home-tile{padding:13px 10px}
  .comet-home-tile strong{font-size:24px}
  .comet-home-tile.is-primary strong{font-size:36px}
}
@media(max-width:420px){
  .comet-home-heading{padding:16px 15px}
  .comet-home-heading h3{font-size:22px}
  .comet-home-body{padding:12px}
  .comet-home-tile.is-primary strong{font-size:36px}
  .comet-home-footer{align-items:stretch;flex-direction:column}
  .comet-home-view{width:100%}
}
