/* Shared geometry from the account's subscription plans, fields and checkout. */
:root {
  --bb-radius-field: 6px;
  --bb-radius-action: 7px;
  --bb-radius-inset: 8px;
  --bb-radius-note: 9px;
  --bb-radius-card: 11px;
  --bb-radius-dialog: 15px;
  --bb-radius-badge: 30px;
}

/* Navigation and actions. Include the masthead selectors that set square corners. */
.site-header .header-actions :is(.auth-link, .play-link, .mobile-toggle),
:where(header) .menu, .nav-end, .nav-trigger, .nav-dropdown a,
.language-switch a, .mobile-languages a, .section-nav a, .mobile-main,
.button, .play-link, .auth-link, .auth-start, .telegram-login-preview, .paid-button,
.download-button, .clan-detail-link, .clan-character-link, .clan-back,
.launch-reading-links a, .tabs button, .choices button, .age-gate button,
.map-controls button, .map-zone-choice, .account-button, .account-refresh, .account-sidebar .account-nav a,
.chat-menu nav > :is(a, button), .chat-menu [data-auth-control], .chat-languages a,
.journal-nav button, .note-filters button, .round-control, .menu-control, .text-control,
.connection-control, .retry-message, .latest-messages, .send-control, .upload-button,
.bloodbound-atlas button:not(.atlas-marker, .atlas-cluster), .atlas-filters label {
  border-radius: var(--bb-radius-action);
}

.chat-page #chat-action, .atlas-search input {
  border-radius: var(--bb-radius-field);
}

.language-switch, .dialogue-message, .scene-map, .avatar-image, .account-avatar,
.location-image, .chicago-illustration, .map-pin span, .atlas-viewport, .launch-route-number {
  border-radius: var(--bb-radius-inset);
}
.account-empty, .auth-notice, .editorial-note, .support-contacts {
  border-radius: var(--bb-radius-note);
}

#mechanic-panel, .guide-cards article, .story-choices article, .bp-panel, .scene, .clan-card,
.download-card, .clan-discipline-grid article, .clan-concept-grid article, .clan-questions,
.clan-variant-note, .force-balance-grid article, .launch-stage, .launch-bot-entry,
.chicago-grid article, .chicago-map, .dialogue-example, .purchase-table-wrap,
.account-table-wrap, .account-panel, .active-character, .bp-card, .account-metrics > div,
.game-panel, .bloodbound-atlas, .nav-dropdown {
  border-radius: var(--bb-radius-card);
}

/* Full-width art meets the top edge of its card and the caption below. */
:is(.location-card, .clan-card) > .location-image,
.chicago-grid article > .chicago-portrait, .chicago-map > .chicago-illustration {
  border-radius: var(--bb-radius-card) var(--bb-radius-card) 0 0;
}
.chicago-map { overflow: clip; }
.cinematic-scene > img, .cinematic-scene::before, .cinematic-scene::after {
  border-radius: inherit;
}
.cinematic-scene { border-radius: var(--bb-radius-card); }

.age-gate, .chat-dialog, .atlas-detail { border-radius: var(--bb-radius-dialog); }
.account-verified, .message-speaker, .atlas-status { border-radius: var(--bb-radius-badge); }
@media (max-width: 1000px) {
  .atlas-card { border-radius: var(--bb-radius-dialog) var(--bb-radius-dialog) 0 0; }
  .atlas-card-tools { border-start-start-radius: inherit; border-start-end-radius: inherit; }
}
