.v21-boot-message{padding:48px;font:14px system-ui;color:#665e50}
#v21-integration-controls{position:fixed;right:12px;bottom:12px;z-index:1400;display:flex;align-items:center;gap:8px}
#v21-integration-controls button{font:12px system-ui;padding:7px 12px;border:1px solid var(--line,#cfc4b1);border-radius:4px;background:var(--panel,#f4eee3);color:var(--text,#332f27);cursor:pointer}
#v21-save-status{position:fixed;left:12px;bottom:12px;max-width:calc(100vw - 160px);z-index:1500;background:var(--panel,#f4eee3);color:#a02736;padding:8px 12px;font:12px system-ui;border:1px solid #a02736;border-radius:4px}
#v21-save-status[hidden]{display:none}
@media(max-width:600px){#v21-integration-controls{bottom:8px;right:8px}}
#v21-integration-controls .v21-admin-button{position:static}

#vct-quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(20 16 12 / 55%);
}
.v21-quote-dialog {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 640px);
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--text);
}
.v21-quote-header, .v21-quote-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-rail);
}
.v21-quote-header { justify-content: space-between; border-bottom: 1px solid var(--line); }
.v21-quote-header h2 { margin: 0; font-size: 15px; }
.v21-quote-header button { flex-shrink: 0; }
.v21-quote-footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.v21-quote-body { min-height: 0; overflow: auto; padding: 12px 14px; }
.v21-quote-player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.v21-quote-face { flex: 0 0 42px; height: 42px; overflow: hidden; background: var(--well); }
.v21-quote-face img { width: 100%; height: 100%; object-fit: cover; }
.v21-quote-meta { color: var(--muted); font-size: 12px; line-height: 1.5; }
.v21-quote-hint { margin: 12px 0 0; }
.v21-quote-modes { display: flex; gap: 6px; margin-bottom: 10px; }
.v21-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; font-size: 13px; }
.v21-terms-field { min-width: 0; }
.v21-terms-field label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.v21-terms-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--line-hi);
  border-radius: 3px;
  background: var(--well);
  color: var(--text);
  font: inherit;
}
.v21-terms-choice { margin: 2px 4px 2px 0; }
button.v21-terms-choice[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
[data-form-scope] input { accent-color: var(--accent); }
.v21-terms-fold { margin-top: 10px; border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; background: var(--bg); }
.v21-terms-fold summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.v21-terms-fold > div { margin-top: 8px; }
@media (max-width: 460px) {
  #vct-quote-overlay { padding: 8px; }
  .v21-quote-dialog { max-height: calc(100dvh - 16px); }
  .v21-terms-grid { grid-template-columns: minmax(0, 1fr); }
}
.v21-board-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 12px; padding:12px 14px; border-bottom:1px solid var(--line); }
.v21-board-field { display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--muted); max-width:100%; }
.v21-board-field input, .v21-board-field select { min-height:32px; max-width:100%; box-sizing:border-box; }
.v21-board-search { flex:1 1 180px; }
.v21-player-board { min-width:0; }
.v21-player-board .table-wrap { max-width:100%; }
.v21-player-board table { width:100%; white-space:nowrap; }
.v21-board-name { font-weight:600; }
.v21-player-board th button, .v21-player-board .v21-board-name { padding:0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; box-shadow:none; }
.v21-player-board .v21-board-name { font-weight:600; }
.v21-board-player { display:inline-flex; align-items:center; gap:7px; }
.v21-player-board .v21-board-name.mine { color:var(--accent); }
.v21-player-board th button:hover, .v21-player-board .v21-board-name:hover { color:var(--accent); }
.v21-board-teams span { display:inline-flex; align-items:center; gap:4px; }
.v21-board-teams img { object-fit:contain; }
.v21-board-empty { padding:30px 12px; text-align:center; }
.v21-board-pagination { display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:10px 14px; border-top:1px solid var(--line); }
@media (max-width:540px) { .v21-board-field { flex:1 1 130px; min-width:0; } .v21-board-pagination { flex-wrap:wrap; } }
