/* ==========================================================================
   PGA Pick'Em inner pages (Oct 4 2026) - styles/pga-pages.css?v=pga20261004
   Link it ONLY from the redesigned pages, AFTER styles/pickem.css?v=pga20261003 (the homepage stylesheet, unchanged).
   NEVER link it from Site.Master / fbUser.Master. The header, logo and menus are not touched.
   Pages: how-to-play, start-your-pool, success, invitationform, invitationformemail, adminrules, poolrules,
          sitemap, weekly_standing, PlayasUser.
   ========================================================================== */

/* 1) Master-page content box: same as the PGA homepage (Default.aspx inline style). One centred 877px column,
      flush with the 877px #menubar; the site's beige body (#F0EFE2) shows either side. */
#site_content { width: auto; max-width: 877px; margin: 0 auto; padding: 0; background: none; overflow: visible; }

/* "Click Here to Join : <pool>" invitation link from the master (gvnotify). The content box is no longer white,
   so the yellow link text would be unreadable on beige: show it as an orange pill instead. Markup unchanged. */
table[id$="gvnotify"] { margin: 10px auto 0; border: 0 !important; border-collapse: separate; background: none; }
table[id$="gvnotify"] th { display: none; }
table[id$="gvnotify"] td { background: none !important; border: 0 !important; padding: 4px !important; }
table[id$="gvnotify"] a { display: inline-block; background: #C9452A; color: #fff !important; font: 700 15px/1.25 Arial, Helvetica, sans-serif;
  padding: 10px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 16px rgba(201,69,42,.30); white-space: normal; }
table[id$="gvnotify"] a:hover { background: #A9341C; }

/* Logged-in pages keep the master footer (Contact Pool Admin). It is a fixed 878px box: let it shrink on phones. */
@media (max-width: 900px) {
  #footer { width: auto !important; height: auto !important; padding: 12px 8px !important; line-height: 1.9; }
}

/* 2) Server controls inside the new design */
.ppp-home input.btn { appearance: none; -webkit-appearance: none; cursor: pointer; font-family: inherit; }
.ppp-home input.btn-primary { border: 0; }
.ppp-home input.fin-lg, .ppp-home select.fin-lg { box-sizing: border-box; width: 100%; max-width: 100%; }
.ppp-home .msg { display: block; font-weight: 700; margin: 0 0 12px; }
.ppp-home .msg:empty { display: none !important; }
.ppp-home .fld-inline { display: flex; gap: 8px; align-items: stretch; }
.ppp-home .fld-inline .fin-lg { flex: 1; min-width: 0; }
.ppp-home .fld-inline .btn { flex: none; }

/* 3) Icon cards (Pool Rules, How to Play, Admin Please Read) */
.ppp-home .icard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 12px 0 4px; }
.ppp-home .icard-grid.two { grid-template-columns: repeat(2, 1fr); }
.ppp-home .icard { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.05); min-width: 0; }
.ppp-home .alt .icard { border-color: #d6e6f4; }
.ppp-home .icard .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, #EE6148, #C9452A); box-shadow: 0 4px 12px rgba(201,69,42,.35); }
.ppp-home .icard .ic.blue { background: linear-gradient(145deg, #0d6aa6, #123a63); box-shadow: 0 4px 12px rgba(18,58,99,.30); }
.ppp-home .icard .ic svg { width: 24px; height: 24px; display: block; }
.ppp-home .icard h3 { font-size: 17px; color: var(--navy); margin: 1px 0 4px; line-height: 1.25; }
.ppp-home .icard p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.ppp-home .icard p + p { margin-top: 6px; }
.ppp-home .icard p b { color: var(--ink); }
.ppp-home .icard.key { border-top: 4px solid var(--orange); }

/* 4) Results example: missed-cut tag and tie line (How to Play), using the homepage live-results (.wr) card */
.ppp-home .wr-mc { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #fff;
  background: #8a94a0; border-radius: 4px; padding: 1px 5px; vertical-align: 1px; }
.ppp-home .wr-tbl tr.mc td { color: #7a6f63; }
.ppp-home .wr-tbl tr.mc td.wr-sc { color: #b03a1e; }
.ppp-home .wr-tie { text-align: center; font-size: 14px; color: var(--muted); margin: -12px 0 18px; }

/* 5) Site map: grouped link cards */
.ppp-home .sm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.ppp-home .sm-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.ppp-home .sm-card.wide { grid-column: 1 / -1; }
.ppp-home .sm-head { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 14px; }
.ppp-home .sm-head .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #EE6148, #C9452A); }
.ppp-home .sm-head .ic svg { width: 20px; height: 20px; display: block; }
.ppp-home .sm-head h2 { font-size: 18px; color: #fff; margin: 0; }
.ppp-home .sm-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line);
  color: var(--blue); font-weight: 700; text-decoration: none; }
.ppp-home .sm-links a:first-child { border-top: 0; }
.ppp-home .sm-links a:hover { background: var(--tint); }
.ppp-home .sm-links a span { color: var(--muted); font-weight: 400; font-size: 14px; text-align: right; }
.ppp-home .sm-card.wide .sm-links { display: grid; grid-template-columns: repeat(2, 1fr); }
.ppp-home .sm-card.wide .sm-links a { border-top: 1px solid var(--line); }
.ppp-home .sm-card.wide .sm-links a:nth-child(-n+2) { border-top: 0; }

/* 6) FedEx Cup Standings (weekly_standing.aspx): GridView with CssClass="fedex-table".
      GridView writes the header as the FIRST <tr> (th cells), so data row 1 = tr:nth-child(2). */
.ppp-home .fedex-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(34,54,77,.10); }
.ppp-home .fedex-card .card-head { background: var(--navy); }
.ppp-home .fedex-card .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ppp-home table.fedex-table { width: 100% !important; border: 0 !important; border-collapse: collapse; font-size: 15px; color: var(--ink); }
.ppp-home table.fedex-table th { background: var(--navy) !important; color: #fff !important; font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; padding: 10px 10px !important; text-align: center; white-space: nowrap; border-top: 0; }
.ppp-home table.fedex-table th:nth-child(3) { text-align: left; }
.ppp-home table.fedex-table td { padding: 9px 10px !important; border-top: 1px solid var(--line) !important; text-align: center; background: #fff; }
.ppp-home table.fedex-table tr:nth-child(odd) td { background: #f3f7fb; }
.ppp-home table.fedex-table tr:hover td { background: var(--tint); }
.ppp-home table.fedex-table td:nth-child(1) { font-weight: 800; color: var(--navy); width: 44px; }
.ppp-home table.fedex-table td:nth-child(2) { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ppp-home table.fedex-table td:nth-child(3) { text-align: left; font-weight: 700; color: var(--navy); }
.ppp-home table.fedex-table td:nth-child(4) { color: var(--orange-btn); font-weight: 800; }
/* top 3 */
.ppp-home table.fedex-table tr:nth-child(2) td, .ppp-home table.fedex-table tr:nth-child(3) td, .ppp-home table.fedex-table tr:nth-child(4) td { background: #fff8e6; }
.ppp-home table.fedex-table tr:nth-child(2) td:first-child, .ppp-home table.fedex-table tr:nth-child(3) td:first-child,
.ppp-home table.fedex-table tr:nth-child(4) td:first-child { position: relative; color: #fff; }
.ppp-home table.fedex-table tr:nth-child(2) td:first-child { background: #fff8e6 radial-gradient(circle, #d4a017 13px, transparent 14px) no-repeat center; }
.ppp-home table.fedex-table tr:nth-child(3) td:first-child { background: #fff8e6 radial-gradient(circle, #9aa5b1 13px, transparent 14px) no-repeat center; }
.ppp-home table.fedex-table tr:nth-child(4) td:first-child { background: #fff8e6 radial-gradient(circle, #b8733a 13px, transparent 14px) no-repeat center; }
.ppp-home table.fedex-table tr:nth-child(4) td { border-bottom: 2px solid #f0d9a8; }
.ppp-home .fedex-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 13.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: #f8fafc; }
.ppp-home .fedex-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.ppp-home .fedex-year { display: inline-block; background: rgba(255,255,255,.14); border-radius: 999px; padding: 2px 12px; font-weight: 700; }

/* 7) Pool Admin / User (PlayasUser.aspx) and Success panels */
.ppp-home .pa-card { max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid #cfe0ef; border-top: 6px solid var(--orange-btn); border-radius: 18px;
  padding: 22px 24px; box-shadow: 0 12px 32px rgba(34,54,77,.10); }
.ppp-home .pa-card h2 { font-size: 22px; color: var(--navy); margin: 0 0 8px; }
.ppp-home .pa-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.ppp-home .pa-row .lbl { font-weight: 800; color: var(--navy); font-size: 17px; }
.ppp-home .pa-row select { font-size: 17px; padding: 10px 12px; border: 2px solid #cfe0ef; border-radius: 10px; background: #fff; color: var(--ink); min-width: 170px; }
.ppp-home .pa-card .msg { color: #1f7a33; background: #ecf8ef; border-radius: 10px; padding: 8px 12px; }
.ppp-home .mode.cur-user, .ppp-home .mode.admin { min-width: 0; }
.ppp-home .next-card .btn { margin-top: 4px; }
.ppp-home .next-card .hero-actions { margin-top: 14px; }

/* 8) invitationform: Join A Pool / Create A Pool radio cards (pnlmain) */
.ppp-home .choice.pick-radio { cursor: pointer; display: block; }
.ppp-home .pick-radio .choice-ico { margin-bottom: 12px; }
.ppp-home .pick-radio p { margin-top: 8px; }
.ppp-home .pick-radio input[type=radio] { width: 20px; height: 20px; margin: 0 10px 0 0; vertical-align: -3px; accent-color: #C9452A; }
.ppp-home .pick-radio label { font-size: 22px; font-weight: 800; color: var(--navy); cursor: pointer; }
.ppp-home .pick-radio.on, .ppp-home .pick-radio:has(input:checked) { border-color: var(--orange-btn); box-shadow: 0 0 0 3px rgba(201,69,42,.18), 0 10px 26px rgba(34,54,77,.10); }
.ppp-home .if-actions { text-align: center; margin: 16px 0 6px; }
.ppp-home .if-actions .btn { min-width: 220px; }
.ppp-home .if-msg { text-align: center; }

@media (max-width: 960px) {
  .ppp-home .icard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ppp-home .icard-grid, .ppp-home .icard-grid.two, .ppp-home .sm-grid, .ppp-home .sm-card.wide .sm-links { grid-template-columns: 1fr; }
  .ppp-home .sm-card.wide .sm-links a:nth-child(2) { border-top: 1px solid var(--line); }
  .ppp-home .icard { padding: 14px; gap: 12px; }
  .ppp-home .icard .ic { width: 38px; height: 38px; }
  .ppp-home .icard .ic svg { width: 21px; height: 21px; }
  .ppp-home .fedex-card { border-radius: 10px; }
  .ppp-home table.fedex-table { font-size: 13px; }
  .ppp-home table.fedex-table th { padding: 8px 3px !important; font-size: 9.5px; letter-spacing: 0; }
  .ppp-home table.fedex-table td { padding: 7px 3px !important; }
  .ppp-home table.fedex-table td:nth-child(1) { width: 30px; }
  .ppp-home table.fedex-table td:nth-child(2) { font-size: 9px; letter-spacing: 0; }
  .ppp-home table.fedex-table td:nth-child(3) { font-size: 13.5px; line-height: 1.25; }
  .ppp-home .pa-card { padding: 18px 16px; }
  .ppp-home .fld-inline { flex-wrap: wrap; }
  .ppp-home .fld-inline .btn { width: 100%; }
  .ppp-home .if-actions .btn { width: 100%; }
}
