/* CaliHoopsBoard — University of Arizona theme: Cardinal #CC0033 + Navy #003366.
   Adapted from the approved landing mockup (Nov 18, 2026). */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #f4f5f7; color: #1a1a2e; }
a { color: #003366; }

.nav { background: #fff; border-bottom: 1px solid #e3e5e8; display: flex; align-items: center; gap: 22px; padding: 12px 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: #003366; letter-spacing: .02em; text-decoration: none; }
.brand .mark { background: #CC0033; color: #fff; font-size: 13px; font-weight: 900; padding: 7px 9px; border-radius: 6px; letter-spacing: .05em; }
.nav-links { display: flex; gap: 20px; margin-left: 8px; flex-wrap: wrap; }
.nav-links a { color: #003366; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a.active { color: #CC0033; }
.btn { display: inline-block; background: #CC0033; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.navy { background: #003366; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.nav .btn, .nav .nav-account { margin-left: auto; }
.nav-account { font-size: 14px; font-weight: 600; text-decoration: none; }
.badge-count { background: #CC0033; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; margin-left: 5px; vertical-align: 2px; }

.hero { background: #003366; color: #fff; padding: 54px 28px 48px; text-align: center; }
.hero .kicker { color: #ffb3c1; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 44px; line-height: 1.1; font-weight: 900; max-width: 760px; margin: 0 auto 18px; }
.hero h1 em { color: #ffd9e0; font-style: normal; }
.hero p.sub { font-size: 18px; line-height: 1.55; color: #dbe4f0; max-width: 680px; margin: 0 auto 26px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 22px; font-size: 13px; color: #9db4d0; }
.hero.small { padding: 34px 28px 28px; }
.hero.small h1 { font-size: 32px; }

.section { max-width: 1020px; margin: 0 auto; padding: 40px 24px 8px; }
.section h2 { font-size: 28px; font-weight: 900; color: #003366; text-align: center; margin-bottom: 6px; }
.section .lede { text-align: center; color: #5a6472; font-size: 16px; margin-bottom: 26px; }
.section.left h2 { text-align: left; }
.section.left .lede { text-align: left; }

.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .boards { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }
.board-card { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.board-card > header { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.board-card > header.boys { background: #003366; color: #fff; }
.board-card > header.girls { background: #CC0033; color: #fff; }
.board-card > header.neutral { background: #eef1f5; color: #003366; }
.board-card > header h3 { font-size: 19px; font-weight: 800; }
.board-card > header span { font-size: 12px; font-weight: 700; opacity: .85; }
.board-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.board-card th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a94a6; padding: 10px 14px 4px; }
.board-card td { padding: 9px 14px; border-top: 1px solid #eef0f2; vertical-align: top; }
.board-card td.rank { font-weight: 900; color: #CC0033; width: 34px; }
.board-card td .name { font-weight: 700; color: #1a1a2e; }
.board-card td .school { color: #5a6472; font-size: 13px; }
.board-card td.score { text-align: right; font-weight: 800; color: #003366; }
.board-card td.num, .board-card th.num { text-align: right; }
.board-card tr.locked td { background: #f8f9fb; }
.board-card .bar { height: 14px; background: #dfe3e8; border-radius: 6px; }
.board-card .bar.short { width: 90px; margin-left: auto; }
.board-card > footer { padding: 14px 20px; background: #f8f9fb; border-top: 1px solid #eef0f2; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.board-card > footer span { font-size: 13px; color: #5a6472; }
.board-card > footer .btn { padding: 8px 14px; font-size: 13px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: #fff; border: 1px solid #e3e5e8; border-radius: 12px; padding: 20px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: #003366; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; margin-bottom: 12px; }
.feature .ic.red { background: #CC0033; }
.feature h4 { font-size: 16px; color: #003366; margin-bottom: 5px; }
.feature p { font-size: 14px; line-height: 1.5; color: #5a6472; }

.pricing { background: #003366; color: #fff; text-align: center; padding: 44px 24px; margin-top: 44px; }
.pricing h2 { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.pricing .price { font-size: 20px; margin-bottom: 20px; color: #dbe4f0; }
.pricing .price b { color: #fff; font-size: 26px; }
.pricing .fine { margin-top: 16px; font-size: 13px; color: #9db4d0; }
.pills { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.pills button { border: none; background: transparent; color: #dbe4f0; font-size: 14px; font-weight: 700; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.pills button.active { background: #CC0033; color: #fff; }
.plan-box { background: #fff; color: #1a1a2e; border-radius: 14px; max-width: 460px; margin: 0 auto 22px; padding: 22px 24px; text-align: left; }
.plan-box h3 { color: #003366; font-size: 17px; margin-bottom: 10px; }
.plan-box ul { list-style: none; font-size: 14px; line-height: 1.5; color: #39424f; }
.plan-box ul li { padding: 5px 0 5px 22px; position: relative; }
.plan-box ul li::before { content: "\2713"; color: #CC0033; font-weight: 900; position: absolute; left: 0; }
.plan-box .plan-price { border-top: 1px solid #eef0f2; margin-top: 12px; padding-top: 12px; font-size: 15px; display: flex; justify-content: space-between; }
.plan-box .plan-price b { color: #003366; font-size: 19px; }

/* Controls (rankings / boards pickers) */
.controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.controls label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a94a6; display: block; margin-bottom: 4px; }
.controls select { font-size: 15px; padding: 9px 12px; border: 1px solid #cfd6de; border-radius: 8px; background: #fff; color: #1a1a2e; }
.toggle { display: inline-flex; background: #e7ebf0; border-radius: 999px; padding: 3px; gap: 3px; }
.toggle button { border: none; background: transparent; font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 999px; cursor: pointer; color: #003366; }
.toggle button.active { background: #003366; color: #fff; }
.toggle button.active.girls { background: #CC0033; }

.empty-state { background: #fff; border: 1px dashed #c3ccd6; border-radius: 14px; padding: 34px 24px; text-align: center; color: #5a6472; margin-bottom: 20px; }
.empty-state h3 { color: #003366; margin-bottom: 6px; }

/* Team accordion */
.accordion { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.accordion > header { padding: 16px 20px; background: #003366; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.accordion > header.girls { background: #CC0033; }
.accordion > header h3 { font-size: 19px; font-weight: 800; }
.team-row { border-top: 1px solid #eef0f2; }
.team-row:first-of-type { border-top: none; }
.team-head { width: 100%; display: flex; align-items: center; gap: 14px; background: none; border: none; padding: 13px 20px; cursor: pointer; text-align: left; font-size: 15px; color: #1a1a2e; }
.team-head:hover { background: #f8f9fb; }
.team-head .rank { font-weight: 900; color: #CC0033; width: 30px; }
.team-head .tname { font-weight: 700; }
.team-head .trec { color: #5a6472; font-size: 13px; }
.team-head .tscore { margin-left: auto; font-weight: 800; color: #003366; }
.team-head .chev { color: #8a94a6; transition: transform .15s; }
.team-row.open .team-head .chev { transform: rotate(90deg); }
.team-detail { display: none; padding: 4px 20px 18px 64px; font-size: 14px; color: #39424f; }
.team-row.open .team-detail { display: block; }
.team-detail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 18px; margin-bottom: 10px; }
.team-detail dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a94a6; }
.team-detail dd { font-weight: 700; color: #1a1a2e; }
.team-detail .bonus-list { list-style: none; font-size: 13px; color: #5a6472; }
.team-detail .bonus-list li { padding: 2px 0; }
.team-row.locked .team-head { background: #f8f9fb; cursor: default; }
.team-row.locked .bar { height: 14px; background: #dfe3e8; border-radius: 6px; flex: 1; }

/* Forms / auth */
.form-card { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; max-width: 440px; margin: 0 auto 30px; padding: 26px 28px; }
.form-card h2 { color: #003366; font-size: 22px; margin-bottom: 6px; }
.form-card p.note { color: #5a6472; font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.form-card label { display: block; font-size: 13px; font-weight: 700; color: #39424f; margin: 12px 0 5px; }
.form-card input[type="email"], .form-card input[type="password"], .form-card input[type="text"] {
  width: 100%; font-size: 15px; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 8px; }
.form-card .check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; font-weight: 400; color: #39424f; line-height: 1.45; margin-top: 16px; }
.form-card .check input { margin-top: 2px; }
.form-card .btn { width: 100%; margin-top: 18px; }
.form-error { display: none; background: #fdeef1; border: 1px solid #f3b7c4; color: #8c0e28; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-top: 14px; }
.form-note { font-size: 13px; color: #5a6472; margin-top: 14px; text-align: center; }

/* Message boards */
.thread-list { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.thread-item { display: flex; gap: 12px; align-items: baseline; padding: 14px 20px; border-top: 1px solid #eef0f2; text-decoration: none; color: #1a1a2e; }
.thread-item:first-child { border-top: none; }
.thread-item:hover { background: #f8f9fb; }
.thread-item .t-title { font-weight: 700; color: #003366; }
.thread-item .t-meta { font-size: 12.5px; color: #8a94a6; }
.thread-item .t-replies { margin-left: auto; font-size: 13px; color: #5a6472; white-space: nowrap; }
.post-card { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; }
.post-card .p-meta { font-size: 12.5px; color: #8a94a6; margin-bottom: 7px; }
.post-card .p-meta b { color: #CC0033; }
.post-card .p-body { font-size: 15px; line-height: 1.55; white-space: pre-wrap; }
.post-card.reply { margin-left: 26px; }
.compose { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; padding: 20px 22px; margin-bottom: 20px; }
.compose h3 { color: #003366; margin-bottom: 10px; font-size: 17px; }
.compose input[type="text"], .compose textarea { width: 100%; font-size: 15px; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 8px; margin-bottom: 10px; font-family: inherit; }
.compose textarea { min-height: 96px; resize: vertical; }

/* Guidelines / prose */
.prose { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; padding: 28px 30px; margin-bottom: 24px; }
.prose h3 { color: #003366; margin: 18px 0 8px; font-size: 18px; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; line-height: 1.6; color: #39424f; }
.prose ul { margin: 6px 0 6px 20px; }
.prose li { padding: 3px 0; }

.notif { background: #fff7e8; border: 1px solid #ecd9a0; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #5c4a12; margin-bottom: 12px; line-height: 1.5; }

.foot { background: #fff; border-top: 1px solid #e3e5e8; padding: 20px 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #5a6472; margin-top: 40px; }
.foot b { color: #003366; }
.foot a { text-decoration: none; }
