:root {
  --navy: #011E3C;
  --navy-2: #0B2F57;
  --lime: #A2CD3A;
  --lime-dk: #7FA525;
  --bg: #F3F5F8;
  --card: #fff;
  --ink: #0F1B2A;
  --muted: #5B6B7D;
  --line: #DCE2EA;
  --red: #C0392B;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* Header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--lime); }
.top-in { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); }
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.top h1 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.top .spacer { flex: 1; }
.cart-btn { margin-left: auto; background: var(--lime); color: var(--navy); border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.cart-btn .count { background: var(--navy); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }

.demo-bar { background: #FFF6D6; color: #6B5300; font-size: 13px; text-align: center; padding: 8px 12px; border-bottom: 1px solid #F0DE9A; }

.hero { padding: 22px 0 6px; }
.hero h2 { margin: 0 0 4px; font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.hero p { margin: 0; color: var(--muted); }
.announce { background: var(--navy); color: #fff; border-left: 6px solid var(--lime); border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; white-space: pre-line; }
.closed { background: #FDECEA; color: #8A1F14; border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; font-weight: 600; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; padding: 18px 0 40px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .ph { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3.4; display: grid; place-items: center; cursor: zoom-in; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; }
.card .ph .noimg { color: var(--muted); font-size: 13px; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.card .price { font-weight: 900; font-size: 20px; color: var(--navy); }
.card .desc { margin: 0; color: var(--muted); font-size: 14px; }
.card .actions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 16px; color: var(--ink); font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); border-color: var(--lime-dk); }
.field .hint { font-weight: 400; font-size: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 90px; gap: 8px; }
.pz { background: #F6F9EE; border: 1px dashed #C9DE97; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pz-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lime-dk); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 36px; height: 40px; font-size: 18px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

.btn { border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 800; cursor: pointer; background: var(--navy); color: #fff; }
.btn:hover { background: var(--navy-2); }
.btn.lime { background: var(--lime); color: var(--navy); }
.btn.lime:hover { background: #B3DA55; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn.danger { background: transparent; color: var(--red); border: 1px solid #F0C4BE; }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.add { flex: 1; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-bg { position: absolute; inset: 0; background: rgba(1, 30, 60, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 18px; text-transform: uppercase; font-weight: 900; color: var(--navy); }
.x { border: 0; background: #EEF1F4; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.drawer-body { padding: 16px; overflow: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; }
.line img { width: 56px; height: 56px; object-fit: contain; background: #EEF1F4; border-radius: 8px; }
.line .nm { font-weight: 700; font-size: 14px; line-height: 1.25; }
.line .sub { font-size: 12px; color: var(--muted); }
.line .rt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.line .qty button { width: 30px; height: 32px; }
.link-btn { background: none; border: 0; color: var(--red); font-size: 12px; cursor: pointer; padding: 0; }
.total-row { display: flex; justify-content: space-between; font-weight: 900; font-size: 18px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.err { background: #FDECEA; color: #8A1F14; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 12px; }

.confirm { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.confirm .check { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-size: 34px; font-weight: 900; margin: 6px auto 0; }
.confirm h3 { margin: 0; font-size: 22px; color: var(--navy); }
.paybox { background: #F3F5F8; border-radius: 12px; padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.paybox .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.venmo { background: #008CFF; color: #fff; text-decoration: none; text-align: center; }
.venmo:hover { background: #0077DB; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; z-index: 80; box-shadow: 0 8px 24px rgba(0,0,0,.25); border: 2px solid var(--lime); }

.lightbox { position: fixed; inset: 0; background: rgba(1,30,60,.85); z-index: 90; display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; background: #fff; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 16px 40px; }
footer a { color: var(--muted); }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; padding: 16px 0 0; flex-wrap: wrap; }
.tab { border: 0; background: #E3E8EF; border-radius: 999px; padding: 9px 16px; font-weight: 800; cursor: pointer; color: var(--navy); }
.tab.on { background: var(--navy); color: #fff; }
.panel { padding: 16px 0 60px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.toolbar .field { flex-direction: row; align-items: center; gap: 6px; }
.toolbar input, .toolbar select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stat .v { font-size: 22px; font-weight: 900; color: var(--navy); }
.order { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; display: grid; gap: 10px; }
.order-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.order-head .num { font-weight: 900; color: var(--navy); font-size: 17px; }
.order-head .when { color: var(--muted); font-size: 13px; }
.order-head .amt { font-weight: 900; margin-left: auto; }
.status { border-radius: 999px; padding: 6px 10px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.st-new { background: #FFF6D6; } .st-paid { background: #E6F4D2; } .st-ordered { background: #DDEBFA; } .st-delivered { background: #E9ECEF; } .st-cancelled { background: #FDECEA; }
.order-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; font-size: 14px; }
@media (max-width: 700px) { .order-grid { grid-template-columns: 1fr; } }
.order ul { margin: 0; padding-left: 18px; }
.order .muted, .muted { color: var(--muted); }
.order textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 14px; min-height: 38px; resize: vertical; }
.prod-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.prod-row img, .prod-row .noimg { width: 64px; height: 64px; object-fit: contain; background: #EEF1F4; border-radius: 8px; }
.prod-row .nm { font-weight: 800; }
.prod-row .btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #E3E8EF; color: var(--navy); margin-right: 4px; text-transform: uppercase; letter-spacing: .04em; }
.badge.off { background: #FDECEA; color: #8A1F14; }
.badge.lime { background: #E6F4D2; color: #3F5A0C; }
.hidden-row { opacity: .6; }
dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw); max-height: 92vh; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(1,30,60,.5); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.dlg-head h3 { margin: 0; color: var(--navy); }
.dlg-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dlg-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; position: sticky; bottom: 0; background: #fff; }
.img-pick { display: flex; gap: 12px; align-items: center; }
.img-pick img, .img-pick .noimg { width: 96px; height: 96px; object-fit: contain; background: #EEF1F4; border-radius: 10px; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.check-row { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.check-row input { width: 18px; height: 18px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { flex: 1; text-align: center; padding: 8px 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.seg input { display: none; }
.seg label:has(input:checked) { background: var(--navy); color: #fff; }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.switch { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.switch input { width: 22px; height: 22px; accent-color: var(--lime-dk); }
table.sum { width: 100%; border-collapse: collapse; font-size: 14px; }
table.sum th, table.sum td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.sum td.n, table.sum th.n { text-align: right; }
.login { max-width: 380px; margin: 50px auto; }
@media print {
  .top, .tabs, .toolbar, .no-print { display: none !important; }
  dialog { position: static; box-shadow: none; width: 100%; max-height: none; }
}
.top a.btn { text-decoration: none; }

.pay-slot { min-height: 45px; }
.btn.paypal { background: #FFC439; color: #003087; font-style: italic; font-weight: 900; }
.btn.paypal:hover { background: #F2BA36; }
.btn.zelle { background: #6D1ED4; color: #fff; }
.btn.zelle:hover { background: #5B17B3; }
.zelle-box { border: 1px solid #DCCBF7; background: #F7F2FE; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.copy-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; align-items: center; word-break: break-word; }
.paid-ok { background: #E6F4D2; color: #2F4708; border-radius: 12px; padding: 14px; text-align: center; }
.pay-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pay-tag.ok { background: #E6F4D2; color: #2F4708; }
.pay-tag.warn { background: #FFF1C2; color: #6B5300; }

/* Brand header + categories */
.brand-logo { height: 58px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.store-tag { margin: 0; font-size: 13px; line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); border-left: 2px solid rgba(255,255,255,.25); padding-left: 10px; }
@media (min-width: 700px) { .brand-logo { height: 70px; } .store-tag { font-size: 15px; } }
.cat-nav { position: sticky; top: var(--hdr, 82px); z-index: 15; background: var(--bg); display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-top: 8px; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-sec { scroll-margin-top: 140px; }
.cat-head { padding-top: 18px; border-bottom: 3px solid var(--lime); padding-bottom: 6px; }
.cat-head h2 { margin: 0; font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--navy); letter-spacing: .01em; }
.cat-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.cat-sec .grid { padding: 16px 0 12px; }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.cat-row .nm { font-weight: 800; }
.cat-row .btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.group-head { margin: 18px 0 8px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field { min-width: 0; } .field input, .field select, .field textarea { width: 100%; min-width: 0; }

/* Sub navigation (Shop / Photos) */
.subnav { background: var(--navy-2); }
.subnav .wrap { display: flex; gap: 4px; }
.subnav a { color: #C9D6E4; text-decoration: none; font-weight: 800; font-size: 14px; padding: 8px 14px; border-bottom: 3px solid transparent; text-transform: uppercase; letter-spacing: .06em; }
.subnav a.on { color: #fff; border-bottom-color: var(--lime); }
.subnav a:hover { color: #fff; }

/* Promo codes */
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-msg { font-size: 13px; font-weight: 600; }
.promo-msg.ok { color: #3F5A0C; }
.promo-msg.bad { color: var(--red); }
.sub-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); }
.sub-row.disc { color: #3F5A0C; font-weight: 700; }

/* Contact */
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink); }
.contact-box .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.contact-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.contact-links a { color: var(--navy-2); font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-actions a { text-decoration: none; }

/* Photos */
.photo-intro { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 22px 0 6px; }
.photo-intro h2 { margin: 0; font-size: 26px; font-weight: 900; text-transform: uppercase; color: var(--navy); }
.hashtag { display: inline-block; background: var(--navy); color: var(--lime); font-weight: 900; border-radius: 999px; padding: 6px 14px; font-size: 15px; letter-spacing: .02em; }
.gallery { columns: 3 260px; column-gap: 12px; padding: 16px 0 30px; }
.gallery figure { break-inside: avoid; margin: 0 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: 8px 10px; font-size: 13px; color: var(--ink); }
.gallery figcaption .by { color: var(--muted); font-size: 12px; }
.upload-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.upload-card h3 { margin: 0; color: var(--navy); }
.drop { border: 2px dashed #C9D6E4; border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; display: block; }
.drop:hover { border-color: var(--lime-dk); background: #F6F9EE; }
.drop input { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.social-feed { padding: 10px 0 30px; }
.section-title { margin: 24px 0 0; font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--navy); border-bottom: 3px solid var(--lime); padding-bottom: 6px; }

/* Admin photos */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.ph-card img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.ph-card .meta { padding: 8px 10px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ph-card .btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }

.set-h { margin: 10px 0 0; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; }
.code-tag { font-family: ui-monospace, Consolas, monospace; background: var(--navy); color: var(--lime); border-radius: 6px; padding: 2px 8px; font-weight: 800; letter-spacing: .04em; }
.tab-count { background: var(--lime); color: var(--navy); border-radius: 999px; font-size: 12px; padding: 1px 7px; margin-left: 4px; }

/* Team site */
.subnav .wrap { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; }
.page-head { padding: 22px 0 4px; }
.page-head h2 { margin: 0; font-size: 26px; font-weight: 900; text-transform: uppercase; color: var(--navy); }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.home-hero { position: relative; margin: 18px 0 6px; border-radius: 18px; overflow: hidden; background: var(--navy); color: #fff; padding: 34px 22px; text-align: center; border-bottom: 5px solid var(--lime); }
.home-hero.has-img { background-size: cover; background-position: center; padding: 70px 22px; }
.home-hero.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,30,60,.35), rgba(1,30,60,.85)); }
.home-hero > * { position: relative; }
.home-hero img.big-logo { width: min(460px, 86%); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }
.home-hero .tagline { color: var(--lime); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.home-hero .intro { max-width: 640px; margin: 10px auto 0; color: #DCE6F0; white-space: pre-line; }
.home-hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.home-hero .cta a { text-decoration: none; }
.btn.outline-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.home-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; padding: 10px 0 10px; }
@media (max-width: 800px) { .home-grid { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.box-title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.box-title h3 { margin: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-weight: 900; }
.box-title a { font-size: 13px; font-weight: 800; color: var(--navy-2); }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.quick a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; text-decoration: none; color: var(--navy); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.quick a span { display: block; font-size: 24px; margin-bottom: 4px; }
.quick a:hover { border-color: var(--lime-dk); background: #F6F9EE; }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: 0; }
.ev .dt { background: var(--navy); color: #fff; border-radius: 10px; text-align: center; padding: 6px 4px; line-height: 1.1; align-self: start; }
.ev .dt .m { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--lime); }
.ev .dt .d { font-size: 24px; font-weight: 900; }
.ev .dt .w { font-size: 11px; color: #C9D6E4; }
.ev .nm { font-weight: 800; font-size: 16px; }
.ev .meta { font-size: 14px; color: var(--muted); }
.ev .notes { font-size: 14px; margin-top: 4px; }
.ev .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ev .acts a, .ev .acts button { text-decoration: none; }
.ev.canceled .nm { text-decoration: line-through; color: var(--muted); }
.kind { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; margin-right: 6px; vertical-align: 2px; }
.kind.game { background: #DDEBFA; color: var(--navy); } .kind.tournament { background: #E6F4D2; color: #3F5A0C; } .kind.practice { background: #EEF1F4; color: #445; } .kind.event { background: #FFF1C2; color: #6B5300; }
.res { font-weight: 900; padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.res.W { background: #E6F4D2; color: #2F4708; } .res.L { background: #FDECEA; color: #8A1F14; } .res.T { background: #EEF1F4; color: #445; }
.record { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.record .stat { flex: 1; min-width: 90px; text-align: center; }
.subscribe { background: var(--navy); color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 14px 0; border-left: 6px solid var(--lime); }
.subscribe a { text-decoration: none; }
.month { margin: 22px 0 4px; font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 14px 0; }
.player { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: center; }
.player .num { background: var(--navy); color: #fff; font-size: 44px; font-weight: 900; padding: 14px 0 8px; border-bottom: 4px solid var(--lime); line-height: 1; }
.player .num.blank { font-size: 26px; color: var(--lime); padding: 22px 0 14px; }
.player .pn { font-weight: 900; font-size: 16px; padding: 10px 8px 2px; color: var(--navy); }
.player .pp { color: var(--muted); font-size: 13px; padding-bottom: 12px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 14px 0; }
.post img { width: 100%; max-height: 420px; object-fit: cover; }
.post .in { padding: 16px; }
.post h3 { margin: 0 0 2px; font-size: 20px; color: var(--navy); }
.post .when { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.rich p { margin: 0 0 10px; } .rich h3 { margin: 14px 0 6px; font-size: 17px; color: var(--navy); } .rich ul { margin: 0 0 10px; padding-left: 20px; } .rich a { word-break: break-word; }
.post.compact { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.post.compact .in { padding: 10px 0; }
.post.compact h3 { font-size: 16px; }
.pin { font-size: 12px; font-weight: 800; color: var(--lime-dk); text-transform: uppercase; letter-spacing: .06em; }
.sp-tier { margin: 22px 0 8px; font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sponsor { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.sponsor img { max-height: 90px; max-width: 100%; object-fit: contain; }
.sponsor .sn { font-weight: 900; color: var(--navy); font-size: 17px; }
.sponsor .sb { font-size: 13px; color: var(--muted); }
a.sponsor:hover { border-color: var(--lime-dk); }
.sp-strip { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.sp-strip a, .sp-strip span { display: flex; align-items: center; justify-content: center; height: 60px; min-width: 100px; text-decoration: none; color: var(--navy); font-weight: 900; }
.sp-strip img { max-height: 56px; max-width: 150px; object-fit: contain; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 14px 0 30px; }
.lock { max-width: 420px; margin: 30px auto; text-align: center; }
.lock .icon { font-size: 40px; }
.empty-note { color: var(--muted); padding: 20px 0; }

.tab-group { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); align-self: center; margin: 0 4px 0 2px; min-width: 70px; }
.tab-break { flex-basis: 100%; height: 0; }
.img-pick .ip-prev img, .img-pick .ip-prev .noimg, #heroPrev img, #heroPrev .noimg { width: 96px; height: 96px; object-fit: contain; background: #EEF1F4; border-radius: 10px; display: grid; place-items: center; font-size: 12px; color: var(--muted); }

.gc-box { margin: 14px 0; overflow: hidden; }
.gc-box iframe { max-width: 100%; }

.sub-rows { display: flex; flex-direction: column; gap: 8px; }
.sub-row2 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sub-l { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); min-width: 140px; }
.gcal-box { margin: 14px 0; }
.gcal-box iframe { width: 100%; height: 560px; border: 0; border-radius: 10px; background: #fff; }
.gcal-modes { display: flex; gap: 6px; }
.gcal-modes .chip { padding: 5px 12px; font-size: 13px; }
a.groupme { display: flex; align-items: center; gap: 12px; background: #00AFF0; color: #fff; text-decoration: none; border-radius: 14px; padding: 14px 16px; margin: 14px 0; max-width: 760px; }
a.groupme:hover { background: #009AD3; }
.gm-icon { font-size: 28px; }
.gm-go { white-space: nowrap; margin-left: auto; font-weight: 900; background: rgba(255,255,255,.2); border-radius: 999px; padding: 6px 12px; }

/* Compact hero without the big logo */
.home-hero { padding: 26px 20px 24px; }
.hero-title { margin: 0; font-size: clamp(26px, 6vw, 40px); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; color: #fff; line-height: 1.1; }
.home-hero .tagline { margin-top: 6px; }
.home-hero .cta { margin-top: 16px; }
.home-hero.has-img { padding: 56px 20px 40px; }
/* GroupMe button centered */
.gm-btn { text-decoration: none; margin-top: 8px; align-self: center; }
.contact-box.gm-only { align-items: center; padding: 10px; }

/* Subscribe box: line the buttons up in columns */
.sub-rows { display: grid; grid-template-columns: max-content max-content max-content max-content; gap: 8px 8px; align-items: center; }
.sub-row2 { display: contents; }
.sub-l { min-width: 0; padding-right: 6px; }
.sub-rows .btn { text-align: center; }
@media (max-width: 640px) {
  .sub-rows { grid-template-columns: 1fr 1fr 1fr; }
  .sub-l { grid-column: 1 / -1; margin-top: 4px; }
}
@media (max-width: 640px) {
  .sub-rows .btn { white-space: nowrap; padding: 8px 6px; font-size: 12px; }
}

/* Contacts */
.contact-box.centered { align-items: center; text-align: center; }
.people { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin: 4px 0; }
.people.left { justify-content: flex-start; text-align: left; }
.person { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 150px; }
.people.left .person { align-items: flex-start; }
.p-role { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-dk); }
.p-name { font-weight: 800; color: var(--navy); }
.p-links { display: flex; gap: 12px; font-weight: 700; font-size: 14px; }
.p-links a { color: var(--navy-2); }
.p-num { font-size: 12px; color: var(--muted); }
