:root { --bg: #eef3f8; --card: #fff; --line: #d3dce8; --text: #15132e; --dim: #5a6b85; --accent: #118cd0; --warn: #a15c00; }
.super { background: #15132e; color: #93d0e9; border-left: 6px solid #08bdf7; padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }
.head h1 { display: flex; align-items: center; gap: 10px; }
.head h1::before { content: ""; width: 54px; height: 40px; background: url(/img/invicto-icon.png) center / contain no-repeat; }
body { border-top: 6px solid; border-image: linear-gradient(90deg, #15132e, #1f5198, #08bdf7, #1f5198, #15132e) 1; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 "Segoe UI", Roboto, Arial, sans-serif; }
.wrap { max-width: 980px; margin: 0 auto; padding: 20px; }
.hidden { display: none !important; }
h1 { font-size: 26px; margin: 8px 0 16px; }
h2 { font-size: 19px; margin: 0 0 8px; }
.head { display: flex; justify-content: space-between; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.muted { color: var(--dim); font-size: 14px; }
.warn { color: var(--warn); }
.err { color: #b42318; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
label { display: block; font-weight: 600; }
input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
label > input:not([type=file]) { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.row input:not([type=file]) { flex: 1; min-width: 180px; }
button { font: inherit; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button:hover { filter: brightness(.96); }
.links, .courts { width: 100%; border-collapse: collapse; }
.links td, .courts td, .courts th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.courts input { width: 100%; }
.links a { color: var(--accent); word-break: break-all; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.grid label { font-weight: 600; font-size: 14px; }
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin-top: 10px; max-height: 420px; overflow: auto; padding: 4px; }
.team { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; cursor: pointer; }
.team img, .team .no { width: 32px; height: 32px; object-fit: contain; flex: none; }
.team .no { border-radius: 50%; background: #eef0f3; }
.team input { flex: none; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px dashed var(--accent); border-radius: 8px; color: var(--accent); cursor: pointer; font-weight: 600; }
.file input { display: none; }
.sp { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sp img { height: 40px; max-width: 140px; object-fit: contain; }
.sp .t { flex: 1; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #1b1f24; color: #fff; padding: 10px 16px; border-radius: 10px; }
.toast.bad { background: #b42318; }
