/* TEAMCOOP.LINK — COMMAND DECK / scoped, theme-safe presentation layer */
:root{--tc-night:#020e22;--tc-panel:#03142b;--tc-ice:#20dfff;--tc-electric:#0882ff;--tc-lime:#a3ff12}
.tc-command-header,.tc-command-header *,.tc-member-command,.tc-member-command *{box-sizing:border-box}
.tc-command-header{position:relative!important;isolation:isolate;z-index:150;background:linear-gradient(120deg,#020e22 0%,#041e37 47%,#020d21 100%)!important;border:0!important;border-bottom:1px solid #13749b!important;box-shadow:0 8px 38px #0008,0 2px 22px #20dfff20!important;width:100%;min-height:94px}
.tc-header-sheen{position:absolute;inset:0;pointer-events:none;opacity:.75;background:radial-gradient(ellipse at 14% -50%,#20dfff3b,transparent 38%),linear-gradient(105deg,transparent 25%,#20dfff08 44%,transparent 57%,#a3ff1210 85%,transparent)}
.tc-header-inner{position:relative;margin:0 auto;width:min(100% - 36px,1340px);min-height:93px;display:flex;align-items:center;gap:25px;justify-content:space-between}
.tc-command-brand{display:flex!important;align-items:center!important;gap:12px!important;text-decoration:none!important;white-space:nowrap;min-width:0;flex-shrink:0}
.tc-command-brand .tc-logo{width:59px!important;height:58px!important;max-height:58px!important;object-fit:contain;filter:drop-shadow(0 0 13px #20dfff65)}
.tc-command-brand .tc-brand-wordmark{font:950 clamp(20px,2.2vw,34px)/1.03 system-ui,Arial,sans-serif!important;letter-spacing:-1.6px;color:#fff!important;text-shadow:0 0 20px #20dfff1f}
.tc-command-brand .tc-link{color:var(--tc-ice)!important}
.tc-command-brand small{display:block!important;margin-top:6px;font-size:8px!important;letter-spacing:2.2px!important;color:#afdeef!important;font-weight:850;line-height:1.1}
.tc-brand-pulse{font:850 10px system-ui,Arial,sans-serif;letter-spacing:1.9px;color:#b4d8e8;flex:1;text-align:center;white-space:nowrap}.tc-brand-pulse span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--tc-lime);box-shadow:0 0 12px var(--tc-lime);margin-right:8px}.tc-brand-pulse b{color:var(--tc-lime);margin:0 5px}
.tc-primary-links{display:flex!important;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end;background:none!important}
.tc-primary-links .tc-primary-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid transparent;padding:11px 12px;border-radius:7px;color:#e5f7ff!important;white-space:nowrap;font:750 12px system-ui,Arial,sans-serif!important;letter-spacing:.1px;transition:color .2s,background .2s,border-color .2s,box-shadow .2s}
.tc-primary-links .tc-primary-link:hover,.tc-primary-links .tc-primary-link:focus-visible{color:var(--tc-lime)!important;background:#20dfff14!important;border-color:#20dfff55!important;box-shadow:0 0 18px #20dfff1c}
.tc-link-symbol{font-size:17px;color:var(--tc-ice);margin-right:5px;line-height:1}
.tc-primary-links .tc-link-surf,.tc-primary-links .tc-link-join{color:#061b22!important;background:linear-gradient(120deg,#b9ff4d,#83e800)!important;border:1px solid #ddff9c!important;box-shadow:inset 0 1px 0 #ffffffaa,0 4px 18px #a3ff1238!important;font-weight:900!important}
.tc-primary-links .tc-link-surf .tc-link-symbol{color:#061b22}.tc-primary-links .tc-link-surf:hover,.tc-primary-links .tc-link-join:hover{background:#d7ff97!important;color:#071927!important;box-shadow:0 5px 28px #a3ff1270!important}
.tc-primary-links .tc-link-exit{color:#a2bdcc!important}
.tc-header-track{position:absolute;bottom:-2px;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent 0%,#20dfff 22%,#0882ff 48%,#a3ff12 76%,transparent 100%);box-shadow:0 0 13px #20dfff80}
.tc-nav-toggle{display:none;background:#06314c;border:1px solid #20dfff80;border-radius:8px;min-width:46px;min-height:43px;padding:9px;cursor:pointer}.tc-nav-toggle span{display:block;height:2px;background:#20dfff;margin:5px 0;width:24px}
/* Member command deck: the original native-menu.php remains intact underneath. */
.tc-member-command{position:relative;isolation:isolate;width:min(100%,1160px);margin:22px auto 28px;color:#f2fbff!important;font:14px/1.5 system-ui,Arial,sans-serif;background:radial-gradient(circle at 84% 0%,#0a38586b,transparent 36%),linear-gradient(155deg,#051c34,#020e22 76%);border:1px solid #14729b;border-radius:17px;box-shadow:0 18px 46px #0006,0 0 25px #0882ff14;overflow:visible;padding:0!important}
.tc-member-command:before{content:"";position:absolute;inset:0 0 auto;height:3px;border-radius:17px 17px 0 0;background:linear-gradient(90deg,#20dfff,#0882ff 52%,#a3ff12);box-shadow:0 0 16px #20dfff88;pointer-events:none}
.tc-command-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;padding:21px 24px 18px;border-bottom:1px solid #1b5d7970}
.tc-command-overline{display:block;color:#20dfff;letter-spacing:2.5px;font-size:10px;font-weight:900;margin-bottom:3px}
.tc-live-dot{display:inline-block;width:7px;height:7px;background:#a3ff12;border-radius:50%;box-shadow:0 0 9px #a3ff12;margin-left:5px}
.tc-command-heading strong{display:block;font-size:clamp(18px,2.4vw,28px);font-weight:950;letter-spacing:-1px;line-height:1.05;color:#fff}
.tc-command-heading em{color:#a3ff12;font-style:normal}
.tc-command-hint{color:#9bc7df;font-weight:650;font-size:12px;text-align:right}.tc-command-hint span{color:#a3ff12;font-size:21px;margin-left:6px}
.tc-native-wrap .lfm_menu_bar,.tc-native-wrap .navbar,.tc-native-wrap .navbar-collapse{background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;width:100%!important;min-height:0!important}
.tc-native-wrap .lfm_menu_logo,.tc-native-wrap .navbar > a.d-lg-block{display:none!important}
.tc-native-wrap #lfm_members_mainmenu{display:block!important;height:auto!important;visibility:visible!important;opacity:1!important}
.tc-native-wrap ul,.tc-native-wrap li{list-style:none!important;margin:0!important;padding:0!important;float:none!important}
.tc-native-wrap .tc-deck-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;width:100%!important;position:relative!important;align-items:start!important;flex-direction:row!important}
.tc-native-wrap .tc-deck-tabs > li.nav-item{display:contents!important;position:static!important}
.tc-native-wrap .tc-deck-trigger{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:91px;padding:16px 13px;background:linear-gradient(160deg,#08223c,#04172c);color:#fff;border:0;border-bottom:3px solid #13506a;border-right:1px solid #1b5570;font:inherit;cursor:pointer;text-align:left;transition:background .2s,color .2s,box-shadow .2s}
.tc-native-wrap .tc-deck-trigger:hover,.tc-native-wrap .tc-deck-trigger:focus-visible{background:#0a3554;outline:0;color:#a3ff12}
.tc-native-wrap .tc-deck-active > .tc-deck-trigger{background:linear-gradient(165deg,#0c3a53,#072038);border-bottom-color:#a3ff12;box-shadow:inset 0 2px 18px #20dfff20,0 3px 16px #a3ff1220}
.tc-deck-index{align-self:flex-start;font-size:10px;font-weight:900;color:#5fafd3;letter-spacing:1px}
.tc-deck-glyph{font-size:30px;line-height:1;min-width:32px;color:#20dfff;text-shadow:0 0 14px #20dfff66;text-align:center}
.tc-deck-active .tc-deck-glyph{color:#a3ff12;text-shadow:0 0 14px #a3ff1277}
.tc-deck-label{min-width:0;flex:1}.tc-deck-label strong{display:block;font-size:clamp(12px,1.4vw,16px);font-weight:950;letter-spacing:.35px;line-height:1.1}.tc-deck-label small{display:block;margin-top:4px;color:#9dc3d5;font-size:11px;font-weight:550;line-height:1.3}
.tc-deck-caret{color:#a3ff12;font-weight:900;font-size:24px}
.tc-native-wrap .tc-deck-panel{grid-column:1/-1;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;align-content:start;align-items:start;width:100%!important;padding:22px 23px 25px!important;min-height:120px;position:relative!important;background:linear-gradient(180deg,#04182d,#031529)!important;border:0!important;box-shadow:none!important}
.tc-native-wrap .tc-deck-panel[hidden]{display:none!important}
.tc-native-wrap .tc-deck-panel > li{display:block!important;width:auto!important;border:0!important;background:none!important;box-shadow:none!important;position:static!important;margin:0!important;padding:0!important}
.tc-native-wrap .tc-deck-panel > li.dropdown{grid-row:span 4;padding:0 0 7px!important;border-left:1px solid #20dfff30!important;padding-left:15px!important}
.tc-native-wrap .tc-group-label{margin-bottom:10px;padding:0 0 9px;font-size:11px;letter-spacing:1.5px;color:#a3ff12;font-weight:950;text-transform:uppercase;border-bottom:1px solid #1c647a}
.tc-native-wrap .tc-group-links{display:block!important;background:none!important;position:static!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important;visibility:visible!important;opacity:1!important}
.tc-native-wrap .tc-deck-panel li a{display:block!important;width:100%!important;padding:9px 10px!important;border:1px solid transparent!important;border-radius:5px!important;text-decoration:none!important;white-space:normal!important;font:700 12px/1.35 system-ui,Arial,sans-serif!important;letter-spacing:.1px;color:#d3e9f5!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
.tc-native-wrap .tc-deck-panel li a span{font:inherit!important;color:inherit!important}
.tc-native-wrap .tc-deck-panel li a:hover,.tc-native-wrap .tc-deck-panel li a:focus-visible{color:#a3ff12!important;background:#0b3e5e!important;border-color:#20dfff40!important;transform:translateX(2px)}
.tc-native-wrap .tc-deck-panel li a:before{content:"›";font-weight:900;font-size:17px;line-height:10px;color:#20dfff;display:inline-block;margin-right:7px}
.tc-native-wrap .tc-deck-panel li a:hover span{color:#a3ff12!important}
.tc-command-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;background:#020d1ec9;border-top:1px solid #1b5d7959;border-radius:0 0 17px 17px;color:#8bbcd1;font-weight:850;font-size:10px;letter-spacing:1.25px}
.tc-command-bottom b{color:#a3ff12;margin:0 7px}.tc-command-bottom a{color:#a3ff12!important;text-decoration:none!important;font-weight:950;white-space:nowrap}.tc-command-bottom a:hover{text-decoration:underline!important}
@media(max-width:1160px){.tc-brand-pulse{display:none}.tc-header-inner{gap:12px}}
@media(max-width:830px){.tc-command-header{min-height:75px}.tc-header-inner{min-height:74px}.tc-command-brand .tc-logo{width:48px!important;height:48px!important}.tc-command-brand .tc-brand-wordmark{font-size:24px!important}.tc-nav-toggle{display:block;margin-left:auto}.tc-primary-links{display:none!important;position:absolute;top:calc(100% - 1px);left:-18px;right:-18px;padding:11px 18px 16px;z-index:50;background:#03142b!important;border-bottom:2px solid #20dfff;box-shadow:0 15px 32px #000b;flex-direction:column;align-items:stretch}.tc-primary-links.tc-links-open{display:flex!important}.tc-primary-links .tc-primary-link{justify-content:flex-start;padding:13px}.tc-native-wrap .tc-deck-trigger{min-height:78px;gap:5px;padding:12px 7px}.tc-deck-index,.tc-deck-caret{display:none}.tc-deck-glyph{font-size:25px;min-width:24px}.tc-deck-label small{font-size:10px}.tc-native-wrap .tc-deck-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:16px!important}}
@media(max-width:530px){.tc-command-heading{padding:18px 14px;align-items:start}.tc-command-hint{display:none}.tc-command-brand .tc-brand-wordmark{font-size:22px!important}.tc-command-brand small{font-size:6px!important;letter-spacing:1.5px!important}.tc-member-command{margin:13px auto 20px;border-radius:12px}.tc-deck-label strong{font-size:11px}.tc-deck-label small{font-size:9px}.tc-deck-glyph{font-size:21px}.tc-native-wrap .tc-deck-panel{grid-template-columns:1fr;gap:4px;padding:14px!important}.tc-native-wrap .tc-deck-panel > li.dropdown{grid-row:auto;padding-left:11px!important;margin:10px 0!important}.tc-command-bottom{padding:12px;font-size:9px}.tc-command-bottom > span{display:none}}
@media(prefers-reduced-motion:reduce){.tc-primary-links .tc-primary-link,.tc-native-wrap .tc-deck-trigger,.tc-native-wrap .tc-deck-panel li a{transition:none!important}}
/* Keep all three triggers on the same row regardless of hidden panels. */
.tc-native-wrap .tc-deck-tabs > li:nth-child(1) > .tc-deck-trigger{grid-row:1!important;grid-column:1!important}
.tc-native-wrap .tc-deck-tabs > li:nth-child(2) > .tc-deck-trigger{grid-row:1!important;grid-column:2!important}
.tc-native-wrap .tc-deck-tabs > li:nth-child(3) > .tc-deck-trigger{grid-row:1!important;grid-column:3!important}
.tc-command-header{display:block!important;padding:0!important}

/* ================================================================
   COMMAND DECK v2.0 — CLOSED BY DEFAULT, EXPANDS ON DEMAND
   Scoped to the command deck; does not change native links or PHP.
   ================================================================ */
#tc-command-content[hidden]{display:none!important}
.tc-member-command{margin:12px auto 16px!important;overflow:hidden!important}
.tc-command-compact-bar{align-items:center!important;gap:18px!important;padding:11px 18px!important;border-bottom:0!important;min-height:68px}
.tc-command-compact-id{min-width:0}
.tc-command-compact-id .tc-command-overline{font-size:9px!important;letter-spacing:1.8px!important;margin-bottom:3px!important}
.tc-command-compact-id strong{font-size:clamp(17px,2vw,23px)!important;line-height:1.1!important;white-space:nowrap}
.tc-command-actions{margin-left:auto;display:flex;align-items:center;gap:18px;min-width:0}
.tc-command-shortcut{color:#91c8df;font-size:10px;font-weight:800;letter-spacing:1.25px;white-space:nowrap}
.tc-command-shortcut b{color:#a3ff12;padding:0 5px}
.tc-command-expand{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;min-height:41px;padding:9px 16px;border:1px solid #a3ff12;border-radius:10px;background:linear-gradient(135deg,#a3ff12,#72de08);color:#03172a;font:900 12px/1.1 system-ui,Arial,sans-serif;letter-spacing:.7px;box-shadow:inset 0 1px 0 #ffffff77,0 0 17px #a3ff1238;cursor:pointer;transition:filter .2s,box-shadow .2s}
.tc-command-expand:hover{filter:brightness(1.09);box-shadow:inset 0 1px 0 #ffffff77,0 0 24px #a3ff1266}
.tc-command-expand:focus-visible{outline:3px solid #20dfff;outline-offset:3px}
.tc-command-expand-icon{font-size:19px;line-height:0;transform:translateY(-2px);transition:transform .2s}
.tc-command-is-open .tc-command-expand-icon{transform:rotate(180deg) translateY(2px)}
.tc-command-is-open .tc-command-heading{border-bottom:1px solid #1b5d7970!important}
@media(max-width:900px){.tc-command-shortcut{display:none}}
@media(max-width:540px){.tc-member-command{margin:9px auto 13px!important}.tc-command-compact-bar{padding:11px!important;min-height:63px;gap:8px!important}.tc-command-compact-id .tc-command-overline{font-size:8px!important;letter-spacing:.8px!important}.tc-command-compact-id strong{font-size:15px!important}.tc-command-expand{min-height:39px;padding:8px 10px;font-size:10px;gap:3px;letter-spacing:0}.tc-command-expand-icon{font-size:17px}}
@media(max-width:365px){.tc-command-expand-label{max-width:70px;white-space:normal;text-align:center}.tc-command-compact-id strong{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){.tc-command-expand,.tc-command-expand-icon{transition:none!important}}
