.team-color-trigger{cursor:pointer;border:1px solid #ffffff55;color:#f7efdc;background:#1a1b21;border-radius:8px;font:600 13px system-ui,sans-serif}
.team-color-trigger:focus-visible,.team-color-choice:focus-visible{outline:3px solid #eacb8b;outline-offset:3px}
.team-color-field{min-height:44px;display:inline-flex;align-items:center;gap:10px;padding:6px 12px;margin-top:7px;text-align:left}
.team-color-current{width:30px;height:27px;border:1px solid #ffffff70;border-radius:4px;flex:none}
.team-color-trigger.swatch-mini{display:grid;place-items:center;min-height:42px;font-size:22px;background:conic-gradient(#1e5fbf,#d6467f,#f0b72b,#1e5c3a,#1e5fbf)}
.team-color-dialog{width:min(560px,calc(100vw - 28px));max-height:min(760px,calc(100dvh - 28px));overflow:auto;padding:22px;background:#181b20;color:#f7efdc;border:1px solid #d9af5080;border-radius:14px;box-shadow:0 20px 75px #000b}
.team-color-dialog::backdrop{background:#08090bd9}
.team-color-top{display:flex;align-items:start;justify-content:space-between;gap:20px}
.team-color-dialog h2{margin:0;font:700 24px system-ui,sans-serif;color:#f7efdc}
.team-color-dialog p{font:14px/1.45 system-ui,sans-serif;color:#d1c9b8}
.team-color-close,.team-color-exact button{border:1px solid #d9af50;background:#292b30;color:#fff0ce;border-radius:7px;padding:9px 13px;cursor:pointer;font:600 13px system-ui,sans-serif}
.team-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0}
.team-color-choice{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:73px;padding:7px 4px;border:1px solid #ffffff42;border-radius:7px;background:#24272c;color:#f5efdf;cursor:pointer;font:11px/1.2 system-ui,sans-serif;text-align:center}
.team-color-choice[aria-pressed=true]{border-color:#f4d89a;box-shadow:0 0 0 2px #f4d89a}
.team-color-choice-swatch{display:block;width:100%;height:30px;border:1px solid #ffffff70;border-radius:4px}
.team-color-exact{display:flex;align-items:end;gap:10px;border-top:1px solid #ffffff26;padding-top:14px}
.team-color-exact label{display:flex;flex:1;flex-direction:column;gap:6px;margin:0;color:#f5efdf;font:12px system-ui,sans-serif}
.team-color-exact input{width:100%;height:42px;padding:7px 10px;background:#0d1014;color:#fff;border:1px solid #ffffff65;border-radius:6px;font:15px ui-monospace,monospace}
.team-color-dialog .team-color-error{min-height:20px;color:#ffd098;margin-bottom:0}
@media(max-width:480px){.team-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-color-dialog{padding:16px}}
