.top-language {
  max-width: 104px;
  height: 38px;
  padding: 0 10px;
  background: #231d26;
  border: 1px solid #48414d;
  border-radius: 8px;
  color: #e6e1dc;
  font-size: 11px;
  font-weight: 800;
}
.board-controls { margin: 14px 0 8px; }
.board-controls .pin-tabs { margin: 0 0 9px; }
.board-filters { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kind-tabs { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #4f444e; border-radius: 7px; background: #1e1821; }
.kind-tab { border: 0; background: none; color: #c3b5c1; border-radius: 5px; padding: 6px 10px; font-size: 10px; font-weight: 800; }
.kind-tab.active { background: #403944; color: #e7d9ff; }
.language-filter { display: inline-flex; align-items: center; gap: 7px; color: #c3b5c1; font-size: 10px; font-weight: 800; }
.language-filter select { background: #251f29; border: 1px solid #50454f; color: #f2ece8; border-radius: 6px; padding: 7px 8px; font-size: 10px; font-weight: 700; }
.board-count { color: #a89ba6; font-size: 10px; font-weight: 800; margin: 12px 0; text-transform: uppercase; letter-spacing: 1px; }
.pinwall-toolbar { margin: 8px 0 13px; justify-content: flex-end; }
.pin-labels { display: flex; justify-content: space-between; gap: 7px; align-items: flex-start; }
.pin-language-badge { background: #362f3a; border: 1px solid #2d6c8f; color: #a9eaff; border-radius: 4px; padding: 3px 6px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.pin-card.is-post { border-top-color: #4ac5db; }
.pin-card.is-post .pin-icon { border-color: #338daa; }
.pin-content .post-text { color: #f8f2ee; font-size: 14px; line-height: 1.55; margin-top: 9px; }
.pin-card.is-post .pin-meta { color: #78cfde; }
.profile-tag-groups { display: grid; gap: 14px; margin: 20px 0; }
.profile-tag-groups .chips { margin-top: 7px; }
.no-go { background: #30233d; border: 1px solid #815482; border-radius: 8px; padding: 12px 14px; display: grid; gap: 5px; margin-top: 18px; }
.no-go strong { color: #e4bbdc; font-size: 11px; }
.no-go span { font-size: 12px; color: #faf4ef; }
.settings-layout { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 13px; align-items: start; }
.settings-tabs { display: grid; gap: 6px; position: sticky; top: 15px; }
.settings-tabs button { text-align: left; border: 1px solid #47404c; border-radius: 7px; background: #221c26; color: #cfc1cd; padding: 11px 12px; font-size: 11px; font-weight: 800; }
.settings-tabs button.active { border-color: #a889eb; background: #3b343f; color: #f1ebe6; box-shadow: inset 3px 0 #ff9e57; }
.settings-panel { background: #231d26; border: 1px solid #47404c; border-radius: 10px; padding: 22px; min-width: 0; }
.settings-panel h2 { font: 800 22px var(--font); letter-spacing: -.5px; margin: 0 0 14px; }
.settings-panel h3 { font: 800 16px var(--font); margin: 0 0 6px; }
.settings-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.settings-panel-head .btn { font-size: 10px; padding: 7px; }
.settings-panel .field { margin: 15px 0; }
.settings-panel .field small { display: block; color: #b4a7b2; margin-bottom: 9px; }
.settings-panel .field input, .settings-panel .field textarea, .settings-panel .field select { background: #1b161e; border: 1px solid #5a4e58; color: #fbf5f0; }
.settings-panel .field input:disabled { opacity: .55; cursor: not-allowed; }
.settings-panel .text-link { display: block; margin-top: 13px; }
.settings-tag-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-option { cursor: pointer; }
.tag-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tag-option span { display: block; background: #332b37; border: 1px solid #594d57; color: #daccd8; border-radius: 6px; padding: 8px 10px; font-size: 10px; font-weight: 800; }
.tag-option input:checked + span { background: #423a46; border-color: #b68df5; color: #eadbff; }
.tag-option input:focus-visible + span { outline: 2px solid #ff9e57; outline-offset: 2px; }
.settings-explainer { color: #c1b3bf; font-size: 12px; line-height: 1.6; }
.btn.danger { background: transparent; color: #ff7a7a; border-color: #ff7a7a66; }
.btn.danger:hover { background: #ff7a7a1f; }
.discord-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; position: relative; z-index: 2; }
.auth-top { border: 1px solid #9b8e9a; background: #37303b; color: #eee3ff; border-radius: 7px; padding: 9px 12px; font: 800 10px var(--font); white-space: nowrap; cursor: pointer; }
.auth-top:hover { background: #453265; }
.account-gate { max-width: 560px; margin: 36px auto; padding: 32px; background: #231d26; border: 1px solid #594d57; border-radius: 11px; text-align: center; }
.account-gate h1 { font: 800 27px var(--font); margin: 7px 0; }
.account-gate p { color: #cdbfcb; font-size: 13px; line-height: 1.65; }
.account-gate .btn { display: inline-block; margin-top: 10px; }
.account-gate-icon { display: inline-grid; place-items: center; width: 49px; height: 49px; border-radius: 12px; background: #544852; color: #ff9e57; font-size: 27px; }
.discord-connected { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid #6e708a; background: #312a35; border-radius: 8px; margin: 15px 0; }
.discord-connected > span { color: #a695ff; font-size: 26px; }
.discord-connected strong, .discord-connected small { display: block; }
.discord-connected strong { font-size: 12px; }
.discord-connected small { color: #c3b6c1; font-size: 10px; margin-top: 3px; }
.profile-card-actions .btn:disabled { opacity: .55; cursor: default; }
.settings-divider { height: 1px; background: #4c4450; margin: 22px 0; }
.handle-form { display: flex; align-items: center; gap: 7px; }
.handle-form > span { font-size: 19px; color: #ff9e57; }
.handle-form input { flex: 1; min-width: 0; background: #1b161e; color: #fbf5f0; border: 1px solid #5a4e58; padding: 10px; border-radius: 7px; }
.handle-form .btn { padding: 8px; font-size: 10px; }
.visibility-options { display: grid; gap: 8px; margin-bottom: 17px; }
.visibility-option { display: flex; align-items: flex-start; gap: 10px; background: #1d1720; border: 1px solid #514650; border-radius: 8px; padding: 12px; cursor: pointer; }
.visibility-option.selected { border-color: #ff9e57; background: #2c2530; }
.visibility-option input { accent-color: #ff9e57; margin-top: 2px; }
.visibility-option strong { display: block; font-size: 12px; }
.visibility-option small { display: block; color: #beb1bc; font-size: 10px; line-height: 1.5; margin-top: 2px; }
.settings-panel .notice { margin: 17px 0; }
.compose-kind { display: flex; gap: 6px; margin: 18px 0; }
.compose-kind button { flex: 1; border: 1px solid #5c515b; background: #2b242e; color: #dbcdd9; padding: 9px; border-radius: 7px; font-size: 11px; font-weight: 800; }
.compose-kind button.active { border-color: #ff9e57; color: #ff9e57; background: #322b36; }
body[data-lang="fr"] .hero h1, body[data-lang="es"] .hero h1 { font-size: clamp(30px,2.8vw,42px); }
@media (max-width: 730px) {
  .auth-top { font-size: 8px; padding: 8px 6px; max-width: 102px; white-space: normal; }
  .account-gate { margin: 18px auto; padding: 22px; }
  .top-language { margin-left: 0; max-width: 86px; padding: 0 4px; font-size: 10px; }
  .mobile-nav { gap: 0; }
  .mobile-nav button { padding: 4px 2px; flex: 1; min-width: 0; font-size: 8px; }
  .mobile-nav button span { font-size: 17px; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-tabs { display: flex; overflow: auto; position: static; }
  .settings-tabs button { flex: 0 0 auto; }
  .settings-panel { padding: 17px; }
  .board-filters { align-items: stretch; }
  .language-filter { width: 100%; justify-content: space-between; }
  .language-filter select { min-width: 150px; }
  body[data-lang="fr"] .hero h1, body[data-lang="es"] .hero h1 { font-size: 29px; }
}
