.fee-row { display: flex; gap: 8px; align-items: center; }
.fee-row input { flex: 1; min-width: 0; }
.fee-row select { width: auto; flex: none; }
.fee-cur { font-weight: 700; font-size: 18px; }
.pay-box { margin: 16px 0 6px; padding: 12px 14px; border-radius: 14px; background: #f6f0e2; border: 1px solid #e3d6b8; }
.banner.pending-pay { background: #fff4df; border: 1px solid #e0b55a; color: #4a3a12; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.pay-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.pay-pill.paid { background: #dcefe2; color: #14532d; border: 1px solid #8cc6a0; }
.pay-pill.pending { background: #fff4df; color: #7a5410; border: 1px solid #e0b55a; }
.pin-show { font: 700 34px/1.1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--pine); margin: 4px 0; }
.url-show { word-break: break-all; font-weight: 600; }
.qr-box { display: flex; justify-content: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; }
.qr-box img { width: 240px; height: 240px; max-width: 100%; }
.eyebrow-dark { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--gold-2, #9d7a3a); margin: 0 0 4px; font-weight: 700; }
.t-grid { display: grid; gap: 12px; }
.t-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 8px 0 0; }
.t-facts dt { color: var(--muted); font-weight: 600; }
.t-facts dd { margin: 0; font-weight: 600; }
.t-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-actions a { text-align: center; }
.print-only { display: none; }
@media (min-width: 860px) { .t-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
@media print {
  .home-bar, .no-print, .site-menu { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .top { background: #fff !important; color: #000 !important; }
  .qr-box img { width: 3.2in; height: 3.2in; }
}

/* player hub on /t/<slug> */
.hub .tabs { grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px 10px 8px; }
.hub .tabs button { grid-column: span 2; padding: 12px 4px; font-size: 15px; border: 1px solid var(--line, #d9d2bf); background: #fffdf8; color: var(--pine, #123526); min-height: 46px; }
.hub .tabs button.big { grid-column: span 3; font-size: 17px; font-weight: 700; min-height: 54px; }
.hub .tabs button.on { background: var(--pine, #123526); color: #f7f3e8; border-color: var(--pine, #123526); }
.hub-org { text-align: center; margin: 4px 0 24px; }
.hub-org button { background: none; border: 0; color: var(--muted, #5b6b62); text-decoration: underline; font: inherit; font-size: 14px; padding: 10px; cursor: pointer; }
.hub-org button.on { color: var(--pine, #123526); font-weight: 700; }
.hub-code img { display: block; margin: 8px auto 0; width: 200px; height: 200px; }
.hub-code .code { font: 700 26px ui-monospace, Menlo, monospace; letter-spacing: .12em; }
.hub-score h2 { margin-bottom: 2px; }
.hub-today { font-size: 18px; }
.hub-go { width: 100%; font-size: 19px; padding: 16px; margin: 6px 0 4px; }
.hub-boardbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: #eef5ef; border: 1px solid #b9d7c2; border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; font-size: 14px; }
.hub-boardbar .btn { flex: none; }
/* photo challenges */
.chal-sec { margin: 18px 0 8px; }
.chal-h { display: flex; align-items: center; gap: 8px; margin: 0 4px 2px; font-size: 22px; }
.chal-sec > .members { margin: 0 4px 10px; }
.chal-card { background: #fffdf8; border: 1px solid var(--line, #d9d2bf); border-radius: 16px; padding: 12px 0 12px 12px; margin: 0 0 10px; }
.chal-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-right: 12px; }
.chal-hole { background: var(--pine, #123526); color: #f7f3e8; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 13px; }
.chal-name { font-size: 17px; }
.chal-meta { width: 100%; color: var(--muted, #5b6b62); font-size: 13px; }
.chal-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 12px 2px 0; -webkit-overflow-scrolling: touch; }
.chal-thumb { position: relative; flex: none; width: 132px; height: 132px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e8e2d2; scroll-snap-align: start; cursor: pointer; }
.chal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chal-thumb.won { outline: 3px solid #c9a227; outline-offset: -3px; }
.chal-team { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chal-win { position: absolute; top: 6px; left: 6px; background: #c9a227; color: #1d1a0f; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.chal-win.static { position: static; display: inline-block; vertical-align: middle; font-size: 12px; }
.chal-empty { margin: 10px 12px 0 0; padding: 12px; border: 1px dashed var(--line, #d9d2bf); border-radius: 12px; color: var(--muted, #5b6b62); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.chal-viewer { position: fixed; inset: 0; z-index: 80; background: rgba(8, 20, 14, .92); display: flex; align-items: center; justify-content: center; padding: 10px; }
.chal-viewer.hidden, .chal-toast.hidden { display: none; }
.chal-vcard { background: #fffdf8; border-radius: 18px; width: 100%; max-width: 760px; max-height: 100%; overflow: auto; padding: 12px; }
.chal-vhead { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.chal-vhead h2 { margin: 0; }
.chal-vhead .x { font-size: 28px; background: none; border: 0; padding: 4px 10px; cursor: pointer; }
.chal-vimg img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #111; display: block; margin: 8px 0; }
.chal-vfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chal-vfoot .btn.ghost { font-size: 22px; min-width: 48px; }
.chal-vvote { display: flex; align-items: center; gap: 10px; }
.chal-votes { font-weight: 600; color: var(--muted, #5b6b62); }
.chal-vcount { text-align: center; margin: 4px 0 0; }
.chal-badges { grid-column: 1 / -1; width: 100%; }
.chal-holerow { flex-wrap: wrap; }
.chal-badge { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 8px; background: #fff4df; border: 1px solid #e0b55a; border-radius: 10px; font-size: 14px; font-weight: 600; color: #4a3a12; }
.chal-badge span { flex: 1; }
.chal-toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--pine, #123526); color: #f7f3e8; padding: 10px 16px; border-radius: 999px; z-index: 90; font-weight: 600; max-width: 92vw; text-align: center; }
.chal-row { border-top: 1px solid var(--line, #d9d2bf); padding: 8px 0; }
.chal-row2 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chal-row2 select, .chal-row2 input { flex: 1 1 140px; min-width: 0; width: auto; }
.chal-add { border-top: 1px solid var(--line, #d9d2bf); padding-top: 8px; margin-bottom: 8px; }
@media (min-width: 900px) { .chal-thumb { width: 168px; height: 168px; } }
