/* Tag Canyon points tracker (/points/tracker/) and the Save-your-points CTA on /points/. Nov 29 2026. */

/* Hub CTA: gold button under the points-hub lede, plus a bar at the top of the card section. */
html body section.tch-hero .tch-cta{
  margin:16px 0 0;
}
html body section.tch-hero .tch-cta .btn{
  margin:0;
}
.pts-save-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 18px;
  margin:0 0 28px;
  padding:18px 0 22px;
  border-bottom:1px solid #d8d0c0;
}
.pts-save-bar p{
  margin:0;
  max-width:46em;
  color:#2b2e29;
  font-size:17px;
  line-height:1.5;
}

/* Tracker page */
.pts-tr-intro,
.pts-tr-notes,
.pts-tr-share-wrap,
.pts-tr-empty{
  max-width:none;
}
.pts-tr-intro{
  margin:8px 0 22px;
  font-size:17px;
  line-height:1.55;
  color:#2b2e29;
}
.pts-tr-formbox{
  margin:0 0 28px;
  padding:22px 0 8px;
  border-top:1px solid #d8d0c0;
}
.pts-tr-formbox h2{
  margin:0 0 8px;
}
.pts-tr-formbox > p{
  margin:0 0 16px;
  color:#2b2e29;
  font-size:17px;
  line-height:1.5;
}
.pts-tr-form{
  display:grid;
  grid-template-columns:1fr;
  gap:14px 16px;
  align-items:end;
  margin:0;
  padding:0;
  border:0;
}
.pts-tr-form legend{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}
.pts-tr-field label,
.pts-tr-form label{
  display:block;
  margin:0 0 6px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
  color:#2b2e29;
}
.pts-tr-field select,
.pts-tr-field input{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:48px;
  padding:10px 12px;
  border:1px solid #b9b1a0;
  border-radius:6px;
  background:#fff;
  font:16px/1.3 "Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#1a1c19;
}
.pts-tr-field select:focus,
.pts-tr-field input:focus{
  outline:3px solid #c9a24a;
  outline-offset:2px;
}
.pts-tr-field.is-hidden{display:none}
.pts-tr-hint{
  margin:8px 0 0;
  font-size:15px;
  line-height:1.45;
  color:#2b2e29;
}
.pts-tr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:4px;
}
.pts-tr-actions .btn{margin:0}
.pts-tr-status{
  margin:12px 0 0;
  min-height:1.3em;
  font-size:15px;
  color:#2b2e29;
}
.pts-tr-listbox h2{margin:8px 0 10px}
.pts-tr-share-wrap{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  margin:0 0 16px;
}
.pts-tr-share-wrap label{
  font-weight:700;
  font-size:14px;
  color:#2b2e29;
}
.pts-tr-share{
  flex:1 1 220px;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  padding:8px 12px;
  border:1px solid #b9b1a0;
  border-radius:6px;
  background:#f7f4ee;
  font:15px/1.3 "Source Sans 3",system-ui,sans-serif;
  color:#1a1c19;
}
.pts-tr-list{
  list-style:none;
  margin:0 0 18px;
  padding:0;
}
.pts-tr-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:10px 16px;
  margin:0 0 12px;
  padding:16px 16px 16px 18px;
  border:1px solid #d0c8b8;
  border-radius:8px;
  background:#fbf8f2;
  box-sizing:border-box;
}
.pts-tr-row-main{
  flex:1 1 240px;
  min-width:0;
  color:#6a2410;
  text-decoration:none;
}
.pts-tr-row-main:hover,
.pts-tr-row-main:focus-visible{
  color:#4a1408;
}
.pts-tr-row-main:focus-visible{
  outline:3px solid #c9a24a;
  outline-offset:3px;
}
.pts-tr-row-main strong{
  display:block;
  font-size:18px;
  line-height:1.25;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:.18em;
  text-decoration-color:currentColor;
}
.pts-tr-row-main:hover strong,
.pts-tr-row-main:focus-visible strong{
  text-decoration-thickness:2px;
}
.pts-tr-row-main span{
  display:block;
  margin-top:4px;
  font-size:15px;
  line-height:1.45;
  color:#2b2e29;
  text-decoration:none;
}
.pts-tr-remove,
.pts-tr-clear{
  appearance:none;
  background:none;
  border:0;
  padding:6px 0;
  margin:0;
  font:600 15px/1.3 "Source Sans 3",system-ui,sans-serif;
  color:#6a2410;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:.18em;
  cursor:pointer;
  min-height:44px;
}
.pts-tr-remove:hover,
.pts-tr-clear:hover,
.pts-tr-remove:focus-visible,
.pts-tr-clear:focus-visible{
  color:#4a1408;
  text-decoration-thickness:2px;
}
.pts-tr-remove:focus-visible,
.pts-tr-clear:focus-visible{
  outline:3px solid #c9a24a;
  outline-offset:3px;
}
.pts-tr-empty{
  margin:0 0 18px;
  padding:16px 0;
  font-size:17px;
  line-height:1.5;
  color:#2b2e29;
}
.pts-tr-notes{
  margin:28px 0 8px;
  padding-top:8px;
}
.pts-tr-notes h2{margin:0 0 10px}
.pts-tr-notes p{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.55;
  color:#2b2e29;
}
.pts-tr-notes a,
.pts-tr-intro a,
.pts-tr-formbox a,
.pts-save-bar a:not(.btn){
  color:#6a2410;
  font-weight:600;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:.18em;
}
.pts-tr-notes a:hover,
.pts-tr-intro a:hover,
.pts-tr-formbox a:hover,
.pts-save-bar a:not(.btn):hover{
  color:#4a1408;
  text-decoration-thickness:2px;
}

@media (min-width:700px){
  .pts-tr-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .pts-tr-actions{grid-column:1 / -1}
}
@media (min-width:1024px){
  .pts-tr-form{
    grid-template-columns:minmax(0,1.2fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr) auto;
  }
  .pts-tr-actions{grid-column:auto}
}

/* Tight screens: keep every control on the page, no sideways scroll. */
@media (max-width:520px){
  .pts-tr-row{padding:14px;flex-direction:column;align-items:stretch}
  .pts-tr-row-main{flex:1 1 auto}
  .pts-tr-remove{align-self:flex-start;margin-top:4px}
  .pts-tr-share-wrap{flex-direction:column;align-items:stretch}
  .pts-tr-share{flex:1 1 auto;width:100%}
  .pts-tr-share-wrap .btn{flex:1 1 100%;text-align:center}
  .pts-save-bar .btn{flex:1 1 100%;text-align:center}
}

/* The hidden attribute must win over display:flex on the share row. */
.pts-tr-share-wrap[hidden],
.pts-tr-clear[hidden],
.pts-tr-empty[hidden],
.pts-tr-hint[hidden],
.pts-tr-field.is-hidden{
  display:none !important;
}
/* Room to scroll the form and list above the site sale bar on phones.
   The bar itself is unchanged. */
@media (max-width:760px){
  html body .wrap#main-start,
  html body #main-start{
    padding-bottom:148px;
  }
}
