:root {
  --at-bg: #101112;
  --at-panel: #151617;
  --at-panel-2: #1b1b1f;
  --at-line: #2d2d34;
  --at-text: #f4f4f6;
  --at-muted: #9497a1;
  --at-blue: #7652f4;
  --at-blue-2: #6847e5;
  --at-green: #46d89a;
  --at-red: #ff6b7a;
  --at-radius: 18px;
}

.at-auth-shell,
.at-profile,
.at-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 70px;
  color: var(--at-text);
}

.at-auth-shell {
  display: grid;
  place-items: center;
  min-height: 62vh;
}

.at-auth-card,
.at-panel,
.at-anime-card {
  border: 1px solid var(--at-line);
  background: linear-gradient(180deg, rgba(21, 29, 42, .94), rgba(14, 20, 30, .96));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.at-auth-card {
  width: min(100%, 470px);
  padding: 34px;
  border-radius: 22px;
}

.at-auth-card--wide { width: min(100%, 700px); }
.at-auth-card h1,
.at-dashboard h1,
.at-profile h1,
.at-panel h2,
.at-anime-card h2 { color: var(--at-text); margin-top: 0; }
.at-auth-card h1 { margin-bottom: 10px; font-size: clamp(30px, 5vw, 42px); }

.at-auth-card__eyebrow,
.at-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #9b84ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.at-auth-card__lead,
.at-dashboard-head p,
.at-anime-card__info p,
.at-panel p { color: var(--at-muted); }
.at-auth-card__lead { margin: 0 0 26px; line-height: 1.7; }
.at-auth-card__footer { margin-top: 24px; text-align: center; color: var(--at-muted); }
.at-auth-card__footer a { color: #b3a4ff; text-decoration: none; }

.at-form { display: grid; gap: 17px; }
.at-form--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.at-field { display: grid; gap: 8px; color: #dbe4f3; font-size: 13px; font-weight: 650; }
.at-field--full { grid-column: 1 / -1; }
.at-field input,
.at-field textarea,
.at-field select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #2a3954;
  border-radius: 12px;
  outline: none;
  background: #121216;
  color: var(--at-text);
  padding: 13px 14px;
  font: inherit;
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.at-field input:focus,
.at-field textarea:focus,
.at-field select:focus {
  border-color: #7652f4;
  box-shadow: 0 0 0 3px rgba(118,82,244,.14);
}
.at-field input[type="file"] { padding: 10px; }
.at-field small { color: #77859c; font-weight: 500; }

.at-password-wrap { position: relative; }
.at-password-wrap input { padding-right: 88px; }
.at-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #a996ff;
  font-size: 12px;
  cursor: pointer;
}

.at-check { display: flex; align-items: flex-start; gap: 9px; color: var(--at-muted); font-size: 13px; font-weight: 500; }
.at-check input { margin-top: 3px; accent-color: var(--at-blue); }

.at-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.at-button:hover { transform: translateY(-1px); }
.at-button--primary { background: linear-gradient(180deg, #7652f4, #6847e5); color: #fff !important; }
.at-button--ghost { border-color: #393944; background: #19191e; color: #dce7f8 !important; }

.at-notice { margin: 0 0 20px; padding: 12px 14px; border-radius: 11px; font-size: 13px; }
.at-notice--success { border: 1px solid rgba(70,216,154,.33); background: rgba(70,216,154,.09); color: #8ce8bf; }
.at-notice--error { border: 1px solid rgba(255,107,122,.35); background: rgba(255,107,122,.09); color: #ff9aa6; }

.at-profile-hero {
  min-height: 265px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding: 32px;
  border: 1px solid var(--at-line);
  border-radius: 24px;
  background: radial-gradient(circle at 78% 15%, rgba(69,126,230,.25), transparent 34%), linear-gradient(135deg,#18181c,#121216);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.at-profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.92);
  background: #151617;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.at-profile-identity h1 { margin: 8px 0 2px; font-size: 34px; }
.at-profile-identity p { margin: 0; color: #a8b4c6; }
.at-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(118,82,244,.34);
  border-radius: 999px;
  background: rgba(118,82,244,.12);
  color: #b3a4ff;
  font-size: 11px;
  font-weight: 800;
}

.at-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; margin-top: 22px; }
.at-panel { border-radius: var(--at-radius); padding: 26px; }
.at-panel__heading { margin-bottom: 20px; }
.at-panel__heading h2, .at-profile-side h2 { margin-bottom: 0; }
.at-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.at-profile-side { align-self: start; }
.at-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid #32323b;
  border-radius: 11px;
  background: #151519;
  color: #dce5f3 !important;
  text-decoration: none !important;
  font-weight: 700;
}
.at-menu-link--button { text-align: left; cursor: pointer; font: inherit; }
.at-menu-link:hover { border-color: #42679f; }

.at-dashboard-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.at-dashboard-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 7px; }
.at-dashboard-head p { margin: 0; }
.at-anime-list { display:grid; gap:18px; }
.at-anime-card { border-radius: 18px; overflow: hidden; }
.at-anime-card__top { display:flex; align-items:center; gap:18px; padding:18px; }
.at-anime-card__top img,
.at-anime-card__fallback { width: 92px; height: 125px; border-radius: 12px; object-fit: cover; flex:0 0 auto; }
.at-anime-card__fallback { display:grid; place-items:center; background:#1d2a3e; color:#9b84ff; font-weight:900; }
.at-anime-card__info h2 { margin: 8px 0 6px; font-size: 22px; }
.at-anime-card__info p { margin:0; }
.at-episode-form-wrap { border-top:1px solid var(--at-line); }
.at-episode-form-wrap summary { padding:16px 18px; cursor:pointer; color:#a996ff; font-weight:800; list-style:none; }
.at-episode-form-wrap summary::-webkit-details-marker { display:none; }
.at-episode-form-wrap[open] summary { background: rgba(118,82,244,.07); }
.at-episode-form-wrap .at-form { padding: 18px; border-top:1px solid rgba(36,48,71,.75); }
.at-empty { text-align:center; padding:40px 24px; }

@media (max-width: 760px) {
  .at-auth-shell,
  .at-profile,
  .at-dashboard { width: min(100% - 20px, 1180px); margin-top: 24px; }
  .at-auth-card { padding: 24px 18px; }
  .at-form--two,
  .at-profile-grid,
  .at-upload-grid { grid-template-columns: 1fr; }
  .at-field--full { grid-column:auto; }
  .at-profile-hero { min-height: 310px; padding:22px; align-items:flex-end; }
  .at-profile-avatar { width: 96px; height: 96px; border-radius: 20px; }
  .at-profile-identity h1 { font-size: 27px; }
  .at-dashboard-head { align-items:flex-start; flex-direction:column; }
  .at-anime-card__top img,
  .at-anime-card__fallback { width:78px; height:106px; }
}

/* Účet v horní části hlavičky */
.at-header-account-anchor {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 12px;
  z-index: 9990;
}

.at-header-account-anchor--overlay {
  position: absolute;
  margin-left: 0;
}

.at-header-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--at-text);
  font-family: inherit;
}

.at-header-account__trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  max-width: 230px;
  padding: 4px 10px 4px 5px;
  border: 1px solid #303038;
  border-radius: 12px;
  background: #151515;
  color: #e8edf5;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease;
}
.at-header-account__trigger:hover,
.at-header-account.is-open .at-header-account__trigger {
  border-color: #45414d;
  background: #191b1f;
}
.at-header-account__trigger:focus-visible {
  outline: 2px solid rgba(118,82,244,.72);
  outline-offset: 2px;
}

.at-header-account__avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #202025;
}
.at-header-account__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.at-header-account__avatar--guest {
  border: 1px solid #383842;
  color: #9ba6b5;
}
.at-header-account__avatar--guest svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-header-account__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 750;
}
.at-header-account__chevron {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: #8a8795;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}
.at-header-account.is-open .at-header-account__chevron { transform: rotate(180deg); }

.at-header-account__dropdown {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 268px;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #35323d;
  border-radius: 14px;
  background: rgba(17,18,21,.98);
  box-shadow: 0 18px 52px rgba(0,0,0,.46);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 99999;
}
.at-header-account.is-open .at-header-account__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.at-header-account__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px 10px;
}
.at-header-account__identity img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
}
.at-header-account__identity div,
.at-header-account__guest-title {
  min-width: 0;
}
.at-header-account__identity strong,
.at-header-account__guest-title strong {
  display: block;
  overflow: hidden;
  color: #f1f4f8;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.at-header-account__identity span,
.at-header-account__guest-title span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #8a8795;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
}
.at-header-account__guest-title { padding: 9px 8px 10px; }
.at-header-account__guest-title span { white-space: normal; }

.at-header-account__divider {
  height: 1px;
  margin: 4px 3px;
  background: #302d37;
}
.at-header-account__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 9px;
  color: #cbd3df !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
  transition: background .14s ease, color .14s ease;
}
.at-header-account__item:hover {
  background: #201e24;
  color: #fff !important;
}
.at-header-account__item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #918d9b;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.at-header-account__item--logout:hover { color: #ff8f99 !important; }
.at-header-account__item--logout:hover svg { stroke: #ff8f99; }

@media (max-width: 900px) {
  .at-header-account-anchor { margin-left: 8px; }
  .at-header-account__trigger { padding-right: 7px; }
  .at-header-account__name { display: none; }
  .at-header-account__chevron { display: none; }
  .at-header-account__dropdown { width: 250px; }
}

@media (max-width: 620px) {
  .at-header-account-anchor--overlay {
    right: 12px !important;
    left: auto !important;
  }
  .at-header-account__dropdown {
    position: fixed;
    top: 64px;
    right: 10px;
    width: min(280px, calc(100vw - 20px));
  }
}

/* Statistiky účtu */
.at-stats { display: grid; gap: 10px; margin-top: 18px; }
.at-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #32323b;
  border-radius: 12px;
  background: #151519;
}
.at-stat span { color: var(--at-muted); font-size: 13px; }
.at-stat strong { color: var(--at-text); font-size: 14px; text-align: right; }
.at-state-good { color: #75e2b0 !important; }
.at-state-warn { color: #f0b96a !important; }

/* 2FA */
.at-security-panel { margin-top: 22px; }
.at-security-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.at-security-head h2 { margin-bottom: 7px; }
.at-security-head p { margin: 0; max-width: 700px; }
.at-security-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  font-weight: 800;
}
.at-security-status.is-on { color: #8ce8bf; border-color: rgba(70,216,154,.3); background: rgba(70,216,154,.08); }
.at-security-status.is-off { color: #efbd76; border-color: rgba(239,189,118,.28); background: rgba(239,189,118,.07); }
.at-security-copy { margin-bottom: 18px; }
.at-security-copy strong { display: block; margin-bottom: 5px; color: var(--at-text); }
.at-security-copy p { margin: 0; }
.at-setup-box,
.at-recovery-box {
  padding: 18px;
  border: 1px solid #2b3a54;
  border-radius: 14px;
  background: #0d141f;
}
.at-secret-key {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #334662;
  border-radius: 12px;
  background: #090e16;
}
.at-secret-key span { color: var(--at-muted); font-size: 12px; font-weight: 700; }
.at-secret-key code {
  color: #b7a8ff;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 800;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
}
.at-form--security { max-width: 620px; }
.at-otp-input { letter-spacing: .18em; font-size: 18px !important; font-weight: 800 !important; }
.at-setup-reset { margin-top: 13px; }
.at-setup-reset button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a996ff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.at-recovery-box { margin-bottom: 20px; border-color: rgba(70,216,154,.28); background: rgba(70,216,154,.055); }
.at-recovery-box strong { color: #a3edca; }
.at-recovery-box p { margin: 5px 0 14px; }
.at-recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.at-recovery-codes code {
  display: block;
  padding: 9px 10px;
  border: 1px solid rgba(70,216,154,.2);
  border-radius: 9px;
  background: rgba(0,0,0,.18);
  color: #d8f8e9;
  text-align: center;
  letter-spacing: .06em;
}
.at-danger-zone { margin-top: 20px; border-top: 1px solid var(--at-line); padding-top: 16px; }
.at-danger-zone summary { color: #e78a94; cursor: pointer; font-weight: 750; }
.at-danger-zone .at-form { margin-top: 16px; }
.at-button--danger { border-color: rgba(255,107,122,.34); background: rgba(255,107,122,.1); color: #ff9aa6 !important; }

@media (max-width: 760px) {
  .at-security-head { flex-direction: column; gap: 12px; }
  .at-recovery-codes { grid-template-columns: 1fr; }
  .at-stat { align-items: flex-start; }
}

/* Komunitní profily a překladatelské skupiny */
.at-community-directory,
.at-group-profile {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 70px;
  color: var(--at-text);
}
.at-profile-badges { display:flex; flex-wrap:wrap; gap:7px; }
.at-badge--soft { border-color:rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:#cbd5e3; }
.at-profile-edit-link { position:absolute; right:28px; bottom:28px; z-index:2; }
.at-community-profile-grid,
.at-group-summary-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:22px; margin-top:22px; }
.at-community-description { color:#c3cedd; line-height:1.85; white-space:normal; }
.at-muted-copy { margin-bottom:0; }

.at-group-mini {
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:24px;
  padding:13px;
  border:1px solid #293952;
  border-radius:14px;
  background:#0d141e;
  color:var(--at-text) !important;
  text-decoration:none !important;
}
.at-group-mini img,
.at-group-mini__fallback { width:48px; height:48px; flex:0 0 48px; border-radius:12px; object-fit:cover; }
.at-group-mini__fallback { display:grid; place-items:center; background:#211d2c; color:#b3a4ff; font-weight:900; }
.at-group-mini small { display:block; color:var(--at-muted); font-size:11px; margin-bottom:2px; }
.at-group-mini strong { display:block; }
.at-group-mini__arrow { margin-left:auto; color:#9482df; font-size:20px; }

.at-member-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.at-member-card {
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  padding:15px;
  border:1px solid var(--at-line);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(21,29,42,.92),rgba(12,18,28,.95));
  color:var(--at-text) !important;
  text-decoration:none !important;
  transition:transform .16s ease,border-color .16s ease;
}
.at-member-card:hover { transform:translateY(-2px); border-color:#3b5f94; }
.at-member-card > img { width:62px; height:62px; flex:0 0 62px; border-radius:15px; object-fit:cover; background:#151617; }
.at-member-card__body { display:block; min-width:0; }
.at-member-card__body > strong,
.at-member-card__body > small,
.at-member-card__body > em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-member-card__body > strong { margin-top:6px; font-size:15px; }
.at-member-card__body > small { margin-top:2px; color:#8390a5; }
.at-member-card__body > em { margin-top:5px; color:#86a9e8; font-size:11px; font-style:normal; }

.at-group-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.at-group-card {
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
  padding:18px;
  border:1px solid var(--at-line);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(21,29,42,.94),rgba(13,19,29,.97));
  color:var(--at-text) !important;
  text-decoration:none !important;
  transition:transform .16s ease,border-color .16s ease;
}
.at-group-card:hover { transform:translateY(-2px); border-color:#40659d; }
.at-group-card > img,
.at-group-card__fallback { width:74px; height:74px; flex:0 0 74px; border-radius:18px; object-fit:cover; }
.at-group-card__fallback { display:grid; place-items:center; background:#211d2c; color:#a996ff; font-size:20px; font-weight:900; }
.at-group-card__body { min-width:0; }
.at-group-card__body strong,
.at-group-card__body small,
.at-group-card__body em { display:block; }
.at-group-card__body strong { margin-bottom:5px; font-size:17px; }
.at-group-card__body small { color:#9ca9bc; line-height:1.45; }
.at-group-card__body em { margin-top:8px; color:#7698ce; font-size:11px; font-style:normal; }

.at-group-hero {
  position:relative;
  display:flex;
  align-items:flex-end;
  gap:22px;
  min-height:320px;
  padding:32px;
  overflow:hidden;
  border:1px solid var(--at-line);
  border-radius:24px;
  background:radial-gradient(circle at 76% 13%,rgba(70,128,232,.24),transparent 33%),linear-gradient(135deg,#18181c,#0b111a);
  background-size:cover;
  background-position:center;
}
.at-group-avatar { width:138px; height:138px; flex:0 0 138px; border:4px solid rgba(255,255,255,.9); border-radius:28px; object-fit:cover; box-shadow:0 15px 36px rgba(0,0,0,.38); background:#151617; }
.at-group-avatar--fallback { display:grid; place-items:center; color:#b7a8ff; background:#211d2c; font-size:31px; font-weight:900; }
.at-group-identity h1 { margin:9px 0 5px; color:var(--at-text); font-size:clamp(34px,5vw,50px); }
.at-group-identity p { max-width:720px; margin:0; color:#b3bfd0; font-size:15px; }
.at-community-section { margin-top:34px; }
.at-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:15px; }
.at-section-heading h2 { margin:0; color:var(--at-text); font-size:25px; }
.at-section-heading > span { color:#718198; font-size:13px; font-weight:800; }
.at-community-anime-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.at-community-anime {
  display:flex;
  gap:14px;
  min-width:0;
  padding:13px;
  border:1px solid var(--at-line);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(21,29,42,.92),rgba(12,18,28,.96));
  color:var(--at-text) !important;
  text-decoration:none !important;
}
.at-community-anime > img,
.at-community-anime__fallback { width:76px; height:104px; flex:0 0 76px; border-radius:11px; object-fit:cover; }
.at-community-anime__fallback { display:grid; place-items:center; background:#211d2c; color:#9b84ff; font-weight:900; }
.at-community-anime__body { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-width:0; }
.at-community-anime__body strong { width:100%; margin-top:7px; overflow:hidden; color:#eff4fb; font-size:14px; line-height:1.4; text-overflow:ellipsis; }
.at-community-anime__body small { margin-top:5px; color:#8190a6; }

.at-translator-group-panel { margin-bottom:22px; }
.at-translator-group-head { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.at-translator-group-identity { display:flex; align-items:center; gap:15px; min-width:0; }
.at-translator-group-identity img,
.at-translator-group-fallback { width:68px; height:68px; flex:0 0 68px; border-radius:16px; object-fit:cover; }
.at-translator-group-fallback { display:grid; place-items:center; background:#211d2c; color:#b3a4ff; font-weight:900; }
.at-translator-group-identity h2 { margin:0 0 4px; }
.at-translator-group-identity p { margin:0; }
.at-group-edit-details { margin-top:18px; padding-top:16px; border-top:1px solid var(--at-line); }
.at-group-edit-details > summary { cursor:pointer; color:#a996ff; font-weight:800; }
.at-group-edit-details > .at-form { margin-top:18px; }

@media (max-width: 980px) {
  .at-member-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .at-group-grid,
  .at-community-anime-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .at-community-directory,
  .at-group-profile { width:min(100% - 20px,1180px); margin-top:24px; }
  .at-community-profile-grid,
  .at-group-summary-grid { grid-template-columns:1fr; }
  .at-profile-edit-link { position:static; margin-top:10px; }
  .at-group-hero { min-height:360px; align-items:flex-end; padding:22px; }
  .at-group-avatar { width:102px; height:102px; flex-basis:102px; border-radius:22px; }
  .at-group-identity h1 { font-size:30px; }
  .at-translator-group-head { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 560px) {
  .at-member-grid,
  .at-group-grid,
  .at-community-anime-grid { grid-template-columns:1fr; }
  .at-group-hero { flex-direction:column; align-items:flex-start; justify-content:flex-end; }
}

/* Správa fansubu */
.at-group-manage {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 70px;
  color: var(--at-text);
}
.at-button-row { display:flex; flex-wrap:wrap; gap:10px; }
.at-group-manage__hero {
  display:flex;
  align-items:flex-end;
  gap:18px;
  min-height:220px;
  margin-bottom:22px;
  padding:26px;
  border:1px solid var(--at-line);
  border-radius:22px;
  background:radial-gradient(circle at 78% 18%,rgba(72,132,235,.24),transparent 34%),linear-gradient(135deg,#18181c,#0b111a);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.at-group-manage__hero > img,
.at-group-manage__hero > span {
  width:104px;
  height:104px;
  flex:0 0 104px;
  border:3px solid rgba(255,255,255,.9);
  border-radius:22px;
  object-fit:cover;
  background:#211d2c;
}
.at-group-manage__hero > span { display:grid; place-items:center; color:#b7a8ff; font-size:25px; font-weight:900; }
.at-group-manage__hero div { display:grid; gap:4px; }
.at-group-manage__hero small { color:#8ea0b9; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.at-group-manage__hero strong { color:#fff; font-size:30px; line-height:1.15; }
.at-group-manage__hero em { color:#b5c1d2; font-size:14px; font-style:normal; }
.at-group-manage__form { gap:22px; }
.at-group-manage__grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:22px; }
.at-group-manage__stats { align-self:start; }
.at-panel__heading p { margin:7px 0 0; color:var(--at-muted); font-size:13px; line-height:1.6; }
.at-manage-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.at-manage-check {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:12px;
  border:1px solid #293952;
  border-radius:13px;
  background:#0d141e;
  cursor:pointer;
}
.at-manage-check:hover { border-color:#40649a; }
.at-manage-check--locked { cursor:default; opacity:.82; }
.at-manage-check input { accent-color:var(--at-blue); }
.at-manage-check img { width:42px; height:42px; flex:0 0 42px; border-radius:11px; object-fit:cover; }
.at-manage-check span { min-width:0; }
.at-manage-check strong,
.at-manage-check small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-manage-check strong { color:#eef4fc; font-size:13px; }
.at-manage-check small { margin-top:3px; color:#7f8ca0; font-size:11px; }
.at-project-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.at-project-check {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:10px;
  border:1px solid #293952;
  border-radius:13px;
  background:#0d141e;
  cursor:pointer;
}
.at-project-check:hover { border-color:#40649a; }
.at-project-check input { accent-color:var(--at-blue); }
.at-project-check img,
.at-project-check__fallback { width:46px; height:64px; flex:0 0 46px; border-radius:8px; object-fit:cover; }
.at-project-check__fallback { display:grid; place-items:center; background:#211d2c; color:#b3a4ff; font-weight:900; }
.at-project-check > span:last-child { min-width:0; }
.at-project-check strong,
.at-project-check small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-project-check strong { color:#eef4fc; font-size:12px; }
.at-project-check small { margin-top:4px; color:#7f8ca0; font-size:11px; }
.at-group-manage__actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }

@media (max-width: 980px) {
  .at-manage-check-grid,
  .at-project-check-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .at-group-manage { width:min(100% - 20px,1180px); margin-top:24px; }
  .at-group-manage__grid { grid-template-columns:1fr; }
  .at-group-manage__hero { min-height:190px; padding:20px; }
  .at-group-manage__hero > img,
  .at-group-manage__hero > span { width:84px; height:84px; flex-basis:84px; border-radius:18px; }
  .at-group-manage__hero strong { font-size:24px; }
}
@media (max-width: 560px) {
  .at-manage-check-grid,
  .at-project-check-grid { grid-template-columns:1fr; }
  .at-group-manage__hero { align-items:flex-start; flex-direction:column; justify-content:flex-end; }
  .at-group-manage__actions { justify-content:stretch; }
  .at-group-manage__actions .at-button { width:100%; }
}

.at-group-profile--v2 { width:min(1240px,calc(100% - 32px)); margin:42px auto 72px; }
.at-group-hero--v2 { min-height:390px; padding:34px; display:flex; flex-direction:column; justify-content:flex-end; gap:28px; background-position:center; }
.at-group-hero__identity { display:flex; align-items:flex-end; gap:24px; min-width:0; }
.at-group-eyebrow { display:inline-flex; align-items:center; width:max-content; padding:6px 10px; border:1px solid rgba(155,132,255,.32); border-radius:999px; background:rgba(17,16,21,.58); color:#b7a8ff; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; backdrop-filter:blur(12px); }
.at-group-hero--v2 .at-group-identity h1 { margin:10px 0 7px; font-size:clamp(38px,5vw,60px); line-height:1.02; }
.at-group-hero--v2 .at-group-identity p { max-width:760px; color:#d3dbe7; font-size:16px; line-height:1.55; text-shadow:0 2px 14px rgba(0,0,0,.45); }
.at-group-hero__stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:18px; background:rgba(7,11,17,.68); backdrop-filter:blur(14px); }
.at-group-hero__stats > div { display:flex; align-items:baseline; gap:8px; padding:16px 18px; border-right:1px solid rgba(255,255,255,.09); }
.at-group-hero__stats > div:last-child { border-right:0; }
.at-group-hero__stats strong { color:#fff; font-size:24px; line-height:1; }
.at-group-hero__stats span { color:#8d9caf; font-size:12px; font-weight:700; }

.at-group-overview-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr); gap:20px; margin-top:20px; }
.at-group-about-panel,.at-group-status-panel { min-height:100%; }
.at-group-description { color:#c3cedd; font-size:14px; line-height:1.8; }
.at-group-leader-line { display:flex; align-items:center; gap:12px; margin-top:24px; padding-top:18px; border-top:1px solid var(--at-line); }
.at-group-leader-line img { width:46px; height:46px; flex:0 0 46px; border-radius:13px; object-fit:cover; }
.at-group-leader-line > span { min-width:0; }
.at-group-leader-line small,.at-group-leader-line strong { display:block; }
.at-group-leader-line small { margin-bottom:2px; color:#71839d; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.at-group-leader-line strong { color:#edf4ff; font-size:14px; }
.at-group-leader-line a { margin-left:auto; color:#a996ff !important; font-size:12px; font-weight:800; text-decoration:none !important; }
.at-group-status-list { display:grid; gap:8px; margin-top:4px; }
.at-group-status-list > div { display:grid; grid-template-columns:12px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px 12px; border:1px solid #25344a; border-radius:12px; background:#0d141e; }
.at-group-status-list span:not(.at-status-dot) { color:#a8b5c6; font-size:12px; }
.at-group-status-list strong { color:#f0f5fc; font-size:15px; }
.at-status-dot { width:8px; height:8px; border-radius:50%; box-shadow:0 0 0 4px rgba(255,255,255,.03); }
.at-status-dot--active { background:#7652f4; }
.at-status-dot--planned { background:#b28cff; }
.at-status-dot--done { background:#6dd3a8; }
.at-status-dot--paused { background:#d8aa64; }

.at-group-release-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.at-group-release { display:flex; align-items:center; gap:12px; min-width:0; padding:11px; border:1px solid var(--at-line); border-radius:15px; background:linear-gradient(180deg,rgba(20,29,42,.94),rgba(11,17,26,.97)); color:var(--at-text) !important; text-decoration:none !important; transition:transform .15s ease,border-color .15s ease; }
.at-group-release:hover { transform:translateY(-2px); border-color:#42679c; }
.at-group-release img,.at-group-release__fallback { width:46px; height:62px; flex:0 0 46px; border-radius:9px; object-fit:cover; }
.at-group-release__fallback { display:grid; place-items:center; background:#1b2940; color:#87b0f2; font-size:11px; font-weight:900; }
.at-group-release > span:last-child { min-width:0; }
.at-group-release small,.at-group-release strong,.at-group-release em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-group-release small { margin-bottom:3px; color:#7fa9e9; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.at-group-release strong { color:#edf3fb; font-size:12px; }
.at-group-release em { margin-top:4px; color:#718096; font-size:10px; font-style:normal; }

.at-group-team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.at-group-member-card { display:flex; align-items:center; gap:12px; min-width:0; padding:14px; border:1px solid var(--at-line); border-radius:16px; background:linear-gradient(180deg,rgba(20,29,42,.94),rgba(11,17,26,.97)); color:var(--at-text) !important; text-decoration:none !important; }
a.at-group-member-card:hover { border-color:#42679c; transform:translateY(-1px); }
.at-group-member-card > img { width:58px; height:58px; flex:0 0 58px; border-radius:15px; object-fit:cover; }
.at-group-member-card__body { min-width:0; }
.at-group-member-card__body strong,.at-group-member-card__body small,.at-group-member-card__body em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.at-group-member-card__body strong { margin-top:5px; color:#f0f5fb; font-size:13px; }
.at-group-member-card__body small { margin-top:1px; color:#7c8ba1; font-size:10px; }
.at-group-member-card__body em { margin-top:6px; color:#7596c7; font-size:10px; font-style:normal; }

.at-group-library__heading { align-items:flex-start; }
.at-group-library__heading p { max-width:760px; margin:7px 0 0; color:#7f8da1; font-size:12px; line-height:1.55; }
.at-group-library__toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:17px; }
.at-group-project-search { display:flex; align-items:center; gap:8px; width:min(330px,100%); padding:0 12px; border:1px solid #2a394f; border-radius:13px; background:#0d141e; color:#75869d; }
.at-group-project-search:focus-within { border-color:#5c45b8; box-shadow:0 0 0 3px rgba(118,82,244,.11); }
.at-group-project-search input { width:100%; height:42px; padding:0; border:0 !important; outline:0 !important; background:transparent !important; color:#edf4fc !important; box-shadow:none !important; font-size:12px; }
.at-group-project-search input::placeholder { color:#66758a; }
.at-group-project-filters { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.at-group-project-filters button { appearance:none; padding:8px 10px; border:1px solid #28384e; border-radius:999px; background:#151519; color:#8999ad; cursor:pointer; font:inherit; font-size:11px; font-weight:800; transition:border-color .15s ease,background .15s ease,color .15s ease; }
.at-group-project-filters button span { margin-left:4px; color:#63738a; }
.at-group-project-filters button:hover { border-color:#456b9f; color:#bed0eb; }
.at-group-project-filters button.is-active { border-color:#65569a; background:#211c2c; color:#eeeaff; }
.at-group-project-filters button.is-active span { color:#8db4ed; }

.at-group-project-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:15px; }
.at-group-project-card { min-width:0; overflow:hidden; border:1px solid var(--at-line); border-radius:17px; background:linear-gradient(180deg,rgba(20,29,42,.94),rgba(10,16,25,.98)); color:var(--at-text) !important; text-decoration:none !important; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.at-group-project-card:hover { transform:translateY(-3px); border-color:#456fa9; box-shadow:0 14px 32px rgba(0,0,0,.2); }
.at-group-project-card[hidden] { display:none !important; }
.at-group-project-card__poster { position:relative; display:block; aspect-ratio:2/3; overflow:hidden; background:#121b28; }
.at-group-project-card__poster img,.at-group-project-card__fallback { width:100%; height:100%; object-fit:cover; }
.at-group-project-card__fallback { display:grid; place-items:center; color:#80aaf0; font-size:24px; font-weight:900; background:radial-gradient(circle at 30% 20%,#233858,#101925 65%); }
.at-group-project-card__poster::after { content:""; position:absolute; inset:auto 0 0; height:36%; background:linear-gradient(180deg,transparent,rgba(7,11,17,.7)); pointer-events:none; }
.at-group-project-card__status { position:absolute; z-index:1; left:9px; top:9px; max-width:calc(100% - 18px); padding:5px 7px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:rgba(7,12,19,.82); color:#d8e5f8; font-size:9px; font-weight:900; letter-spacing:.03em; backdrop-filter:blur(8px); }
.at-group-project-card__status--active { color:#b7a8ff; }
.at-group-project-card__status--planned { color:#c8adff; }
.at-group-project-card__status--done { color:#9ce2c4; }
.at-group-project-card__status--paused { color:#e5bd80; }
.at-group-project-card__content { display:block; padding:12px 12px 13px; }
.at-group-project-card__content strong { display:-webkit-box; min-height:38px; overflow:hidden; color:#eff5fc; font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.at-group-project-card__content small { display:block; height:17px; margin-top:3px; overflow:hidden; color:#748399; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.at-group-project-card__progress { display:block; height:4px; margin-top:10px; overflow:hidden; border-radius:999px; background:#202d3e; }
.at-group-project-card__progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6847e5,#8668fa); }
.at-group-project-card__episodes { display:block; margin-top:6px; color:#7e90a9; font-size:9px; }
.at-group-project-empty { padding:28px; border:1px dashed #2d3b4f; border-radius:15px; color:#77879d; text-align:center; }

.at-group-projects-auto .at-group-auto-projects { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:18px; margin-top:10px; padding:15px; border:1px solid #26374d; border-radius:14px; background:#0d141e; }
.at-group-auto-projects > div { display:flex; align-items:baseline; gap:8px; }
.at-group-auto-projects strong { color:#fff; font-size:28px; }
.at-group-auto-projects span { color:#8190a4; font-size:11px; }
.at-group-auto-projects p { margin:0; color:#8290a3; font-size:12px; line-height:1.6; }

@media (max-width:1100px) {
  .at-group-project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .at-group-team-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .at-group-release-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .at-group-profile--v2 { width:min(100% - 20px,1240px); margin-top:24px; }
  .at-group-hero--v2 { min-height:360px; padding:22px; }
  .at-group-hero__stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .at-group-hero__stats > div:nth-child(2) { border-right:0; }
  .at-group-hero__stats > div:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.09); }
  .at-group-overview-grid { grid-template-columns:1fr; }
  .at-group-library__toolbar { align-items:stretch; flex-direction:column; }
  .at-group-project-search { width:100%; }
  .at-group-project-filters { justify-content:flex-start; }
  .at-group-project-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .at-group-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .at-group-hero__identity { align-items:flex-start; flex-direction:column; }
  .at-group-hero--v2 .at-group-avatar { width:96px; height:96px; flex-basis:96px; border-radius:21px; }
  .at-group-hero--v2 .at-group-identity h1 { font-size:32px; }
  .at-group-hero--v2 .at-group-identity p { font-size:13px; }
  .at-group-hero__stats strong { font-size:20px; }
  .at-group-release-grid,.at-group-team-grid { grid-template-columns:1fr; }
  .at-group-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .at-group-project-card__content { padding:10px; }
  .at-group-project-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .at-group-project-filters button { width:100%; }
  .at-group-projects-auto .at-group-auto-projects { grid-template-columns:1fr; }
}

.at-profile-edit-head { margin-bottom:18px; }
.at-group-edit-link {
  position:absolute;
  z-index:4;
  top:28px;
  right:28px;
  border-color:rgba(255,255,255,.18);
  background:rgba(9,14,22,.72);
  backdrop-filter:blur(12px);
}
@media (max-width:760px) {
  .at-group-edit-link { top:18px; right:18px; }
}
@media (max-width:560px) {
  .at-group-edit-link { position:static; align-self:flex-end; margin-bottom:2px; }
}

.at-group-profile--v3 {
  width:min(1240px,calc(100% - 32px));
  margin:38px auto 72px;
  --at-group-surface:#151515;
  --at-group-surface-2:#111214;
  --at-group-border:#2a2d31;
  --at-group-muted:#8d949e;
  --at-group-blue:#7652f4;
}

.at-group-profile--v3 .at-panel {
  border-color:var(--at-group-border);
  background:var(--at-group-surface);
  box-shadow:none;
}

.at-group-profile--v3 .at-kicker {
  color:var(--at-group-blue);
  letter-spacing:.1em;
}

.at-group-hero--v3 {
  min-height:310px;
  display:flex;
  flex-direction:row;
  align-items:flex-end;
  justify-content:flex-start;
  padding:30px;
  border:1px solid #2c3440;
  border-radius:20px;
  background-color:#111;
  background-size:cover;
  background-position:center;
  box-shadow:none;
}
.at-group-hero--v3::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.04) 35%,rgba(0,0,0,.26) 100%);
}
.at-group-hero--v3 .at-group-hero__content {
  position:relative;
  z-index:2;
  width:min(900px,calc(100% - 150px));
  display:grid;
  grid-template-columns:126px minmax(0,1fr);
  align-items:end;
  gap:22px;
}
.at-group-hero--v3 .at-group-avatar {
  width:126px;
  height:126px;
  flex-basis:126px;
  border:3px solid rgba(255,255,255,.9);
  border-radius:22px;
  background:#151515;
  box-shadow:0 12px 28px rgba(0,0,0,.36);
}
.at-group-hero--v3 .at-group-eyebrow {
  display:inline-flex;
  width:fit-content;
  margin:0 0 8px;
  padding:5px 9px;
  border:1px solid rgba(77,163,255,.34);
  border-radius:999px;
  background:rgba(8,14,22,.72);
  color:#b7a8ff;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.at-group-hero--v3 .at-group-identity {
  min-width:0;
}
.at-group-hero--v3 .at-group-identity h1 {
  max-width:100%;
  margin:0;
  overflow-wrap:anywhere;
  color:#fff;
  font-size:clamp(34px,4.1vw,52px);
  line-height:1.04;
  letter-spacing:-.025em;
  text-shadow:0 2px 18px rgba(0,0,0,.45);
}
.at-group-hero--v3 .at-group-identity p {
  max-width:720px;
  margin:8px 0 0;
  color:#d1d4d9;
  font-size:14px;
  line-height:1.55;
  text-shadow:0 2px 12px rgba(0,0,0,.5);
}
.at-group-hero__facts {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:16px;
}
.at-group-hero__facts > span {
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  min-height:30px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(10,10,11,.72);
  color:#9098a3;
  font-size:10px;
  font-weight:700;
  backdrop-filter:blur(8px);
}
.at-group-hero__facts strong {
  color:#fff;
  font-size:14px;
}
.at-group-profile--v3 .at-group-edit-link {
  top:22px;
  right:22px;
  z-index:5;
  min-height:40px;
  border-color:#343a43;
  border-radius:10px;
  background:rgba(14,15,17,.82);
  color:#e6e9ee !important;
  backdrop-filter:blur(10px);
}

.at-group-overview-grid--v3 {
  grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr);
  gap:16px;
  margin-top:16px;
}
.at-group-profile--v3 .at-panel {
  padding:22px;
  border-radius:15px;
}
.at-group-profile--v3 .at-panel__heading {
  margin-bottom:15px;
}
.at-group-profile--v3 .at-panel__heading h2,
.at-group-profile--v3 .at-section-heading h2 {
  color:#f3f3f3;
  font-size:21px;
}
.at-group-profile--v3 .at-group-description {
  color:#b5bac1;
  font-size:13px;
  line-height:1.75;
}
.at-group-profile--v3 .at-group-leader-line {
  margin-top:19px;
  padding-top:15px;
  border-color:#292c30;
}
.at-group-profile--v3 .at-group-leader-line img {
  width:42px;
  height:42px;
  border-radius:50%;
}
.at-group-profile--v3 .at-group-leader-line small { color:#777f89; }
.at-group-profile--v3 .at-group-leader-line strong { color:#f0f0f0; }
.at-group-profile--v3 .at-group-leader-line a { color:#a996ff !important; }

.at-group-profile--v3 .at-group-status-list {
  gap:7px;
}
.at-group-profile--v3 .at-group-status-list > div {
  padding:10px 11px;
  border-color:#292c30;
  border-radius:10px;
  background:#111214;
}
.at-group-profile--v3 .at-group-status-list span:not(.at-status-dot) { color:#9aa0a8; }
.at-group-profile--v3 .at-group-status-list strong { color:#f3f3f3; }

.at-group-profile--v3 .at-community-section {
  margin-top:30px;
}
.at-group-profile--v3 .at-section-heading {
  align-items:flex-end;
  margin-bottom:12px;
  padding-left:12px;
  border-left:3px solid var(--at-group-blue);
}
.at-group-profile--v3 .at-section-heading > span {
  color:#767d86;
  font-size:11px;
}
.at-group-profile--v3 .at-section-heading .at-kicker {
  margin-bottom:3px;
  font-size:9px;
}
.at-group-profile--v3 .at-section-heading p {
  margin:5px 0 0;
  color:#777e87;
  font-size:11px;
}

/* Tým – každý přiřazený uživatel se skutečně zobrazí */
.at-group-profile--v3 .at-group-team-grid {
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
  gap:10px;
}
.at-group-profile--v3 .at-group-member-card {
  gap:11px;
  padding:11px;
  border-color:#292c30;
  border-radius:12px;
  background:#151515;
  box-shadow:none;
}
.at-group-profile--v3 a.at-group-member-card:hover {
  border-color:#3a6fa4;
  background:#181a1d;
  transform:translateY(-1px);
}
.at-group-profile--v3 .at-group-member-card > img {
  width:52px;
  height:52px;
  flex-basis:52px;
  border-radius:50%;
}
.at-group-member-card__role {
  display:block;
  margin-bottom:2px;
  color:#9b84ff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.at-group-profile--v3 .at-group-member-card__body strong {
  margin-top:0;
  color:#f1f1f1;
  font-size:13px;
}
.at-group-profile--v3 .at-group-member-card__body small {
  color:#737b85;
}
.at-group-profile--v3 .at-group-member-card__body em {
  margin-top:4px;
  color:#8c949e;
  font-size:9px;
}

/* Projekty – pouze malé informační obdélníkové dlaždice, bez hledání a filtrů */
.at-group-library--compact .at-group-library__heading p {
  max-width:680px;
}
.at-group-project-tiles {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(285px,1fr));
  gap:9px;
}
.at-group-project-tile {
  position:relative;
  display:grid;
  grid-template-columns:56px minmax(0,1fr) 16px;
  align-items:center;
  gap:11px;
  min-width:0;
  min-height:78px;
  padding:8px 10px 8px 8px;
  border:1px solid #292c30;
  border-radius:11px;
  background:#151515;
  color:#f1f1f1 !important;
  text-decoration:none !important;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.at-group-project-tile:hover {
  border-color:#386b9e;
  background:#181a1d;
  transform:translateY(-1px);
}
.at-group-project-tile__poster {
  display:block;
  width:56px;
  height:78px;
  overflow:hidden;
  border-radius:7px;
  background:#1c1d20;
}
.at-group-project-tile__poster img,
.at-group-project-tile__fallback {
  width:100%;
  height:100%;
  object-fit:cover;
}
.at-group-project-tile__fallback {
  display:grid;
  place-items:center;
  color:#9b84ff;
  font-size:13px;
  font-weight:900;
}
.at-group-project-tile__body {
  display:block;
  min-width:0;
}
.at-group-project-tile__top {
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  margin-bottom:5px;
}
.at-group-project-tile__top small {
  overflow:hidden;
  color:#727982;
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-project-tile__status {
  flex:0 0 auto;
  padding:3px 6px;
  border:1px solid #34383d;
  border-radius:999px;
  background:#101113;
  font-size:8px;
  font-weight:850;
}
.at-group-project-tile__status--active { color:#a996ff; border-color:rgba(155,132,255,.32); }
.at-group-project-tile__status--planned { color:#bba1ff; border-color:rgba(187,161,255,.28); }
.at-group-project-tile__status--done { color:#7bd9ae; border-color:rgba(123,217,174,.28); }
.at-group-project-tile__status--paused { color:#dcb677; border-color:rgba(220,182,119,.28); }
.at-group-project-tile__body > strong {
  display:block;
  overflow:hidden;
  color:#f1f1f1;
  font-size:12px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-project-tile__meta {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:6px;
  color:#7f8791;
  font-size:9px;
}
.at-group-project-tile__meta em {
  padding-left:7px;
  border-left:1px solid #32353a;
  color:#9b84ff;
  font-style:normal;
  font-weight:800;
}
.at-group-project-tile__arrow {
  color:#555d67;
  font-size:20px;
  line-height:1;
}
.at-group-project-tile:hover .at-group-project-tile__arrow { color:#9b84ff; }

.at-group-profile--v3 .at-group-release-grid {
  grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:9px;
}
.at-group-profile--v3 .at-group-release {
  border-color:#292c30;
  border-radius:11px;
  background:#151515;
  box-shadow:none;
}
.at-group-profile--v3 .at-group-release:hover {
  border-color:#386b9e;
  background:#181a1d;
}

@media (max-width:860px) {
  .at-group-profile--v3 { width:min(100% - 20px,1240px); margin-top:24px; }
  .at-group-hero--v3 { min-height:330px; padding:22px; }
  .at-group-hero--v3 .at-group-hero__content { width:100%; grid-template-columns:104px minmax(0,1fr); }
  .at-group-hero--v3 .at-group-avatar { width:104px; height:104px; flex-basis:104px; border-radius:18px; }
  .at-group-overview-grid--v3 { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .at-group-hero--v3 { min-height:390px; padding:18px; }
  .at-group-hero--v3 .at-group-hero__content {
    grid-template-columns:1fr;
    align-items:end;
    gap:12px;
    padding-top:60px;
  }
  .at-group-hero--v3 .at-group-avatar { width:88px; height:88px; flex-basis:88px; border-radius:17px; }
  .at-group-hero--v3 .at-group-identity h1 { font-size:31px; }
  .at-group-hero__facts { gap:5px; }
  .at-group-hero__facts > span { padding:0 8px; }
  .at-group-profile--v3 .at-group-edit-link { top:14px; right:14px; }
  .at-group-project-tiles { grid-template-columns:1fr; }
}

.at-group-profile--v4 {
  width:min(1240px,calc(100% - 32px));
  margin:38px auto 72px;
  --at-fs-bg:#101112;
  --at-fs-panel:#151617;
  --at-fs-panel-soft:#121314;
  --at-fs-line:#2b2d31;
  --at-fs-line-soft:#232529;
  --at-fs-text:#f2f3f5;
  --at-fs-muted:#8c939d;
  --at-fs-muted-2:#6f7680;
  --at-fs-accent:#9b84ff;
}

.at-group-profile--v4 .at-panel {
  border:1px solid var(--at-fs-line);
  border-radius:14px;
  background:var(--at-fs-panel);
  box-shadow:none;
}

.at-group-hero--v4 {
  position:relative;
  min-height:275px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  padding:28px;
  border:1px solid #2e3136;
  border-radius:18px;
  background:#141516 linear-gradient(135deg,#17191c,#101112);
  background-size:cover;
  background-position:center;
  box-shadow:none;
}
.at-group-hero--v4::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(0,0,0,.20) 100%);
}
.at-group-hero--v4 .at-group-hero__content {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:end;
  gap:20px;
  width:min(900px,calc(100% - 150px));
}
.at-group-hero--v4 .at-group-avatar {
  width:112px;
  height:112px;
  flex-basis:112px;
  overflow:hidden;
  border:3px solid rgba(240,243,247,.92);
  border-radius:20px;
  background:#17191c;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  object-fit:cover;
}
.at-group-hero--v4 .at-group-eyebrow {
  display:inline-flex;
  width:fit-content;
  margin:0 0 7px;
  padding:4px 8px;
  border:1px solid rgba(114,174,234,.34);
  border-radius:999px;
  background:rgba(13,15,18,.72);
  color:#9cc7f1;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.at-group-hero--v4 .at-group-identity { min-width:0; }
.at-group-hero--v4 .at-group-identity h1 {
  margin:0;
  color:#fff;
  font-size:clamp(34px,4.2vw,52px);
  font-weight:850;
  line-height:1.02;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
  text-shadow:0 2px 18px rgba(0,0,0,.48);
}
.at-group-hero--v4 .at-group-identity p {
  max-width:720px;
  margin:8px 0 0;
  color:#d4d7dc;
  font-size:14px;
  line-height:1.55;
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.at-group-profile--v4 .at-group-edit-link {
  top:20px;
  right:20px;
  z-index:5;
  min-height:38px;
  padding:0 14px;
  border-color:#3a3d43;
  border-radius:9px;
  background:rgba(18,19,21,.84);
  color:#ebedf0 !important;
  backdrop-filter:blur(10px);
}
.at-group-profile--v4 .at-group-edit-link:hover {
  border-color:#65569a;
  background:#1b1e22;
}

.at-group-profile-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:start;
  gap:16px;
  margin-top:16px;
}
.at-group-profile-main { min-width:0; }
.at-group-profile-sidebar { min-width:0; }
.at-group-profile-sidebar .at-group-stats-card {
  position:sticky;
  top:92px;
  padding:20px;
}

.at-group-section-title {
  display:flex;
  align-items:center;
  min-height:28px;
  margin-bottom:14px;
}
.at-group-section-title h2,
.at-group-section-heading h2 {
  margin:0;
  color:var(--at-fs-text);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.015em;
}
.at-group-about-card { padding:22px; }
.at-group-profile--v4 .at-group-description {
  margin:0;
  color:#b7bcc4;
  font-size:13px;
  line-height:1.78;
}

/* Poslední vydání – malá, lehká galerie přímo pod popisem */
.at-group-latest {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--at-fs-line-soft);
}
.at-group-latest__heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.at-group-latest__heading h3 {
  margin:0;
  color:#e8eaed;
  font-size:13px;
  font-weight:800;
}
.at-group-latest__heading > span {
  color:var(--at-fs-muted-2);
  font-size:10px;
}
.at-group-latest__grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(86px,108px));
  gap:10px;
}
.at-group-latest-item {
  display:block;
  min-width:0;
  color:inherit !important;
  text-decoration:none !important;
}
.at-group-latest-item__image {
  position:relative;
  display:block;
  aspect-ratio:4/5;
  overflow:hidden;
  border:1px solid #2c2f34;
  border-radius:10px;
  background:#111214;
  transition:border-color .15s ease,transform .15s ease;
}
.at-group-latest-item:hover .at-group-latest-item__image {
  border-color:#4a6f94;
  transform:translateY(-1px);
}
.at-group-latest-item__image img,
.at-group-latest-item__fallback {
  width:100%;
  height:100%;
  object-fit:cover;
}
.at-group-latest-item__fallback {
  display:grid;
  place-items:center;
  color:#79b1e9;
  font-size:14px;
  font-weight:900;
}
.at-group-latest-item__image::after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:42%;
  background:linear-gradient(180deg,transparent,rgba(5,6,7,.82));
  pointer-events:none;
}
.at-group-latest-item__image strong {
  position:absolute;
  z-index:2;
  right:6px;
  bottom:6px;
  padding:3px 5px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:6px;
  background:rgba(8,10,12,.82);
  color:#f4f6f8;
  font-size:8px;
  font-weight:900;
  letter-spacing:.035em;
  backdrop-filter:blur(6px);
}
.at-group-latest-item__text {
  display:block;
  min-width:0;
  padding:6px 2px 0;
}
.at-group-latest-item__text b {
  display:block;
  overflow:hidden;
  color:#bfc4ca;
  font-size:9px;
  font-weight:700;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-latest-item__text small {
  display:block;
  margin-top:2px;
  color:#6f7680;
  font-size:8px;
}

/* Statistiky v bočním sloupci */
.at-group-stat-primary {
  display:flex;
  flex-direction:column;
  padding:16px 0 18px;
  border-top:1px solid var(--at-fs-line-soft);
  border-bottom:1px solid var(--at-fs-line-soft);
}
.at-group-stat-primary strong {
  color:#f7f8f9;
  font-size:36px;
  font-weight:850;
  line-height:1;
  letter-spacing:-.035em;
}
.at-group-stat-primary span {
  margin-top:6px;
  color:#8d949e;
  font-size:11px;
}
.at-group-stat-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  margin-top:16px;
  overflow:hidden;
  border:1px solid var(--at-fs-line-soft);
  border-radius:10px;
  background:var(--at-fs-line-soft);
}
.at-group-stat-grid > div {
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px;
  background:#121314;
}
.at-group-stat-grid strong {
  color:#f0f2f4;
  font-size:19px;
  line-height:1;
}
.at-group-stat-grid span {
  margin-top:6px;
  color:#7f8791;
  font-size:9px;
  line-height:1.35;
}
.at-group-leader-card {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--at-fs-line-soft);
}
.at-group-leader-card img {
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
}
.at-group-leader-card span { min-width:0; }
.at-group-leader-card small {
  display:block;
  color:#707781;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.at-group-leader-card strong {
  display:block;
  overflow:hidden;
  margin-top:2px;
  color:#e7e9ec;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-leader-card > a {
  display:grid;
  place-items:center;
  width:18px;
  height:28px;
  color:#6c8daf !important;
  font-size:20px;
  text-decoration:none !important;
}
.at-group-leader-card > a:hover { color:#8fc3f5 !important; }

/* Tým */
.at-group-team-section-v4 { margin-top:28px; }
.at-group-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:11px;
}
.at-group-section-heading > span {
  color:#747b84;
  font-size:10px;
}
.at-group-section-heading p {
  margin:4px 0 0;
  color:#727982;
  font-size:10px;
}
.at-group-team-grid--v4 {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(225px,1fr));
  gap:9px;
}
.at-group-profile--v4 .at-group-member-card--v4 {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px;
  border:1px solid var(--at-fs-line);
  border-radius:11px;
  background:#151617;
  color:inherit !important;
  text-decoration:none !important;
  box-shadow:none;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.at-group-profile--v4 a.at-group-member-card--v4:hover {
  border-color:#3b5f83;
  background:#181a1c;
  transform:translateY(-1px);
}
.at-group-profile--v4 .at-group-member-card--v4 > img {
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:50%;
  object-fit:cover;
}
.at-group-profile--v4 .at-group-member-card__role {
  display:block;
  margin-bottom:2px;
  color:#9b84ff;
  font-size:8px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.at-group-profile--v4 .at-group-member-card__body { min-width:0; }
.at-group-profile--v4 .at-group-member-card__body strong {
  display:block;
  overflow:hidden;
  color:#f0f1f2;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v4 .at-group-member-card__body small {
  display:block;
  margin-top:1px;
  color:#737a84;
  font-size:9px;
}
.at-group-profile--v4 .at-group-member-card__body em {
  display:block;
  margin-top:4px;
  color:#8a919a;
  font-size:8px;
  font-style:normal;
}

/* Kompletní anime skupiny – malé informační řádky bez hledání a filtrů */
.at-group-anime-section-v4 { margin-top:34px; }
.at-group-section-heading--anime {
  padding-bottom:11px;
  border-bottom:1px solid #26282c;
}
.at-group-project-tiles--v4 {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
  gap:8px;
}
.at-group-profile--v4 .at-group-project-tile {
  grid-template-columns:48px minmax(0,1fr) 15px;
  min-height:68px;
  gap:10px;
  padding:7px 9px 7px 7px;
  border:1px solid #292c30;
  border-radius:10px;
  background:#141516;
  box-shadow:none;
}
.at-group-profile--v4 .at-group-project-tile:hover {
  border-color:#3a5d80;
  background:#17191b;
  transform:translateY(-1px);
}
.at-group-profile--v4 .at-group-project-tile__poster {
  width:48px;
  height:66px;
  border-radius:6px;
}
.at-group-profile--v4 .at-group-project-tile__body > strong {
  font-size:11px;
}
.at-group-profile--v4 .at-group-project-tile__top { margin-bottom:4px; }
.at-group-profile--v4 .at-group-project-tile__status {
  padding:2px 5px;
  font-size:7px;
}
.at-group-profile--v4 .at-group-project-tile__top small,
.at-group-profile--v4 .at-group-project-tile__meta {
  font-size:8px;
}
.at-group-profile--v4 .at-group-project-tile__arrow {
  font-size:18px;
}

@media (max-width:960px) {
  .at-group-profile-layout { grid-template-columns:1fr; }
  .at-group-profile-sidebar { order:-1; }
  .at-group-profile-sidebar .at-group-stats-card { position:static; }
  .at-group-stat-grid { grid-template-columns:repeat(3,1fr); }
  .at-group-stat-primary { flex-direction:row; align-items:baseline; gap:8px; }
  .at-group-stat-primary strong { font-size:30px; }
  .at-group-hero--v4 .at-group-hero__content { width:100%; }
}

@media (max-width:680px) {
  .at-group-profile--v4 { width:min(100% - 18px,1240px); margin-top:20px; }
  .at-group-hero--v4 { min-height:330px; padding:17px; }
  .at-group-hero--v4 .at-group-hero__content {
    grid-template-columns:1fr;
    gap:11px;
    padding-top:52px;
  }
  .at-group-hero--v4 .at-group-avatar {
    width:82px;
    height:82px;
    flex-basis:82px;
    border-radius:16px;
  }
  .at-group-hero--v4 .at-group-identity h1 { font-size:31px; }
  .at-group-profile--v4 .at-group-edit-link { top:12px; right:12px; }
  .at-group-about-card,
  .at-group-profile-sidebar .at-group-stats-card { padding:17px; }
  .at-group-stat-grid { grid-template-columns:1fr 1fr; }
  .at-group-latest__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .at-group-latest-item__text b { font-size:8px; }
  .at-group-team-grid--v4,
  .at-group-project-tiles--v4 { grid-template-columns:1fr; }
}

/* ========================================================================== */
/* ========================================================================== */

/* Uživatelský profil 2.0 – čistší a blíž vzhledu AnimeTitulky */
.at-public-profile--v2 {
  width:min(1160px,calc(100% - 32px));
  margin:38px auto 72px;
  --at-user-panel:#151719;
  --at-user-panel-soft:#111315;
  --at-user-line:#2b2e33;
  --at-user-line-soft:#23262a;
  --at-user-text:#f3f4f6;
  --at-user-muted:#9298a2;
  --at-user-accent:#9b84ff;
}
.at-public-profile--v2 .at-panel {
  border:1px solid var(--at-user-line);
  border-radius:14px;
  background:var(--at-user-panel);
  box-shadow:none;
}
.at-user-hero {
  position:relative;
  min-height:255px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  padding:28px;
  border:1px solid #2d3035;
  border-radius:18px;
  background:
    radial-gradient(circle at 76% 18%,rgba(87,143,211,.16),transparent 34%),
    linear-gradient(135deg,#17191d,#101214);
  background-size:cover;
  background-position:center;
}
.at-user-hero::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.24));
}
.at-user-hero__identity {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  align-items:end;
  gap:20px;
  width:min(820px,calc(100% - 150px));
}
.at-user-hero__avatar {
  width:118px;
  height:118px;
  border:3px solid rgba(244,246,249,.92);
  border-radius:22px;
  background:#17191c;
  object-fit:cover;
  box-shadow:0 14px 34px rgba(0,0,0,.34);
}
.at-user-hero__copy { min-width:0; }
.at-user-hero__copy .at-profile-badges {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}
.at-public-profile--v2 .at-badge {
  min-height:24px;
  box-sizing:border-box;
  padding:4px 8px;
  border-color:rgba(121,175,240,.32);
  background:rgba(12,15,18,.72);
  color:#a9cff8;
  font-size:9px;
  letter-spacing:.045em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.at-public-profile--v2 .at-badge--soft {
  border-color:#3b3f46;
  color:#c4c9d0;
}
.at-user-hero__copy h1 {
  margin:0;
  color:#fff;
  font-size:clamp(32px,4vw,48px);
  font-weight:850;
  line-height:1.03;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
  text-shadow:0 2px 16px rgba(0,0,0,.42);
}
.at-user-hero__copy p {
  margin:7px 0 0;
  color:#c3c7cd;
  font-size:13px;
  line-height:1.4;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
}
.at-public-profile--v2 .at-profile-edit-link {
  position:absolute;
  z-index:5;
  top:18px;
  right:18px;
  min-height:38px;
  padding:0 14px;
  border-color:#3b3f45;
  border-radius:9px;
  background:rgba(17,19,22,.84);
  color:#edf0f4 !important;
  backdrop-filter:blur(10px);
}
.at-public-profile--v2 .at-profile-edit-link:hover {
  border-color:#65569a;
  background:#1b1e22;
}
.at-user-profile-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:start;
  gap:16px;
  margin-top:16px;
}
.at-user-profile-main { min-width:0; }
.at-user-profile-sidebar { min-width:0; }
.at-user-profile-sidebar .at-user-stats-card {
  position:sticky;
  top:92px;
  padding:20px;
}
.at-user-about-card { padding:22px; }
.at-user-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.at-user-section-heading .at-kicker {
  margin:0 0 4px;
  color:#78aee8;
  font-size:9px;
  letter-spacing:.1em;
}
.at-user-section-heading h2 {
  margin:0;
  color:var(--at-user-text);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.015em;
}
.at-user-description {
  max-width:820px;
  color:#b9bec6;
  font-size:13px;
  line-height:1.82;
}
.at-user-group-card {
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 24px;
  align-items:center;
  gap:13px;
  margin-top:12px;
  padding:12px;
  border:1px solid var(--at-user-line);
  border-radius:13px;
  background:#131517;
  color:inherit !important;
  text-decoration:none !important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.at-user-group-card:hover {
  border-color:#3e6184;
  background:#17191c;
  transform:translateY(-1px);
}
.at-user-group-card__avatar {
  width:58px;
  height:58px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:1px solid #34383e;
  border-radius:12px;
  background:#191c20;
  color:#8bbcf0;
  font-size:14px;
  font-weight:900;
}
.at-user-group-card__avatar img { width:100%; height:100%; object-fit:cover; }
.at-user-group-card__body { min-width:0; }
.at-user-group-card__body small {
  display:block;
  margin-bottom:3px;
  color:#78aee8;
  font-size:8px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.at-user-group-card__body strong {
  display:block;
  overflow:hidden;
  color:#eef0f2;
  font-size:14px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-user-group-card__body em {
  display:block;
  overflow:hidden;
  margin-top:3px;
  color:#7f8791;
  font-size:10px;
  font-style:normal;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-user-group-card__arrow {
  color:#6e8fac;
  font-size:24px;
  transition:transform .16s ease,color .16s ease;
}
.at-user-group-card:hover .at-user-group-card__arrow { color:#94c5f4; transform:translateX(2px); }
.at-user-stats-list {
  overflow:hidden;
  border:1px solid var(--at-user-line-soft);
  border-radius:11px;
  background:var(--at-user-line-soft);
}
.at-user-stat {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:49px;
  padding:10px 12px;
  background:#121416;
}
.at-user-stat + .at-user-stat { border-top:1px solid var(--at-user-line-soft); }
.at-user-stat span { color:#818893; font-size:9px; line-height:1.35; }
.at-user-stat strong {
  max-width:56%;
  overflow:hidden;
  color:#e9ebee;
  font-size:10px;
  font-weight:750;
  text-align:right;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-user-stat--heart strong { color:#f08da1; }

.at-group-profile--v5 {
  width:min(1240px,calc(100% - 32px));
  margin:38px auto 72px;
  --at-fs-bg:#101112;
  --at-fs-panel:#151617;
  --at-fs-panel-soft:#121314;
  --at-fs-line:#2b2d31;
  --at-fs-line-soft:#232529;
  --at-fs-text:#f2f3f5;
  --at-fs-muted:#8c939d;
  --at-fs-muted-2:#6f7680;
  --at-fs-accent:#9b84ff;
}
.at-group-profile--v5 .at-panel {
  border:1px solid var(--at-fs-line);
  border-radius:14px;
  background:var(--at-fs-panel);
  box-shadow:none;
}
.at-group-hero--v5 {
  position:relative;
  min-height:270px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  padding:28px;
  border:1px solid #2e3136;
  border-radius:18px;
  background:
    radial-gradient(circle at 78% 18%,rgba(84,139,199,.13),transparent 36%),
    linear-gradient(135deg,#17191c,#101112);
  background-size:cover;
  background-position:center;
  box-shadow:none;
}
.at-group-hero--v5::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(0,0,0,.22));
}
.at-group-hero--v5 .at-group-hero__content {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:end;
  gap:20px;
  width:min(920px,calc(100% - 160px));
}
.at-group-hero--v5 .at-group-avatar {
  width:112px;
  height:112px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:3px solid rgba(240,243,247,.92);
  border-radius:20px;
  background:#17191c;
  color:#8ab9ea;
  font-size:20px;
  font-weight:900;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  object-fit:cover;
}
.at-group-hero--v5 .at-group-identity { min-width:0; }
.at-group-hero--v5 .at-group-eyebrow {
  display:inline-flex;
  width:fit-content;
  margin:0 0 7px;
  padding:4px 8px;
  border:1px solid rgba(114,174,234,.34);
  border-radius:999px;
  background:rgba(13,15,18,.72);
  color:#9cc7f1;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.at-group-hero--v5 .at-group-identity h1 {
  margin:0;
  color:#fff;
  font-size:clamp(34px,4.2vw,50px);
  font-weight:850;
  line-height:1.03;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
  text-shadow:0 2px 18px rgba(0,0,0,.48);
}
.at-group-hero--v5 .at-group-identity p {
  max-width:720px;
  margin:8px 0 0;
  color:#d0d4d9;
  font-size:13px;
  line-height:1.55;
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.at-group-profile--v5 .at-group-edit-link {
  position:absolute;
  top:18px;
  right:18px;
  z-index:5;
  min-height:38px;
  padding:0 14px;
  border-color:#3a3d43;
  border-radius:9px;
  background:rgba(18,19,21,.84);
  color:#ebedf0 !important;
  backdrop-filter:blur(10px);
}
.at-group-profile--v5 .at-group-edit-link:hover { border-color:#65569a; background:#1b1e22; }
.at-group-profile--v5 .at-group-profile-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:start;
  gap:16px;
  margin-top:16px;
}
.at-group-profile--v5 .at-group-profile-main,
.at-group-profile--v5 .at-group-profile-sidebar { min-width:0; }
.at-group-profile--v5 .at-group-profile-sidebar .at-group-stats-card {
  position:sticky;
  top:92px;
  padding:20px;
}
.at-group-profile--v5 .at-group-about-card { padding:22px; }
.at-group-profile--v5 .at-group-section-title {
  display:flex;
  align-items:center;
  min-height:28px;
  margin-bottom:14px;
}
.at-group-profile--v5 .at-group-section-title h2,
.at-group-profile--v5 .at-group-section-heading h2 {
  margin:0;
  color:var(--at-fs-text);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.015em;
}
.at-group-profile--v5 .at-group-description {
  margin:0;
  color:#b7bcc4;
  font-size:13px;
  line-height:1.8;
}

/* Nejnovější překlady – lehká galerie pěti posledních vydání */
.at-group-profile--v5 .at-group-latest--v5 {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--at-fs-line-soft);
}
.at-group-profile--v5 .at-group-latest__heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.at-group-profile--v5 .at-group-latest__heading h3 {
  margin:0;
  color:#eceef0;
  font-size:13px;
  font-weight:800;
}
.at-group-profile--v5 .at-group-latest__heading span {
  display:block;
  margin-top:2px;
  color:#747b85;
  font-size:9px;
}
.at-group-latest__grid--v5 {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.at-group-release-card {
  display:block;
  min-width:0;
  padding:7px;
  border:1px solid #292c30;
  border-radius:10px;
  background:#121315;
  color:inherit !important;
  text-decoration:none !important;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.at-group-release-card:hover {
  border-color:#3d6083;
  background:#16181a;
  transform:translateY(-1px);
}
.at-group-release-card__cover {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:7px;
  background:#181a1d;
}
.at-group-release-card__cover img,
.at-group-release-card__fallback {
  width:100%;
  height:100%;
  object-fit:cover;
}
.at-group-release-card__fallback {
  display:grid;
  place-items:center;
  color:#81b2e4;
  font-size:15px;
  font-weight:900;
}
.at-group-release-card__body { display:block; min-width:0; padding:8px 2px 2px; }
.at-group-release-card__body > strong {
  display:block;
  overflow:hidden;
  color:#d7dbe0;
  font-size:9.5px;
  font-weight:800;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-release-card__episode-info {
  display:flex;
  align-items:center;
  min-width:0;
  gap:4px;
  margin-top:5px;
  color:#858d98;
  font-size:7.5px;
  line-height:1.35;
}
.at-group-release-card__episode-info b {
  flex:0 0 auto;
  color:#a996ff;
  font-size:7.5px;
  font-weight:800;
}
.at-group-release-card__episode-info i {
  flex:0 0 auto;
  color:#535a63;
  font-style:normal;
}
.at-group-release-card__episode-info > span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-release-card__meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-top:6px;
}
.at-group-release-card__meta small { color:#6f7680; font-size:7px; }
.at-group-release-card__meta em {
  color:#d98799;
  font-size:8px;
  font-style:normal;
  font-weight:750;
  white-space:nowrap;
}

/* Výraznější, ale pořád decentní statistiky skupiny */
.at-group-stat-featured {
  display:block;
  margin-top:2px;
  padding-top:14px;
  border-top:1px solid var(--at-fs-line-soft);
}
.at-group-stat-featured__heart {
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto auto;
  align-items:center;
  column-gap:9px;
  padding:13px;
  border:1px solid rgba(202,99,121,.25);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(143,54,73,.11),#121314 58%);
}
.at-group-stat-featured__icon {
  grid-row:1 / 4;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:9px;
  background:rgba(198,85,108,.11);
  color:#e18397;
  font-size:15px;
}
.at-group-stat-featured strong {
  color:#f0c6cf;
  font-size:22px;
  font-weight:850;
  line-height:1;
  letter-spacing:-.025em;
}
.at-group-stat-featured__heart > span:not(.at-group-stat-featured__icon) {
  margin-top:3px;
  color:#828993;
  font-size:8px;
}
.at-group-stat-featured__founded {
  display:block;
  margin-top:5px;
  color:#5f6670;
  font-size:7.5px;
  font-weight:600;
  line-height:1.3;
}
.at-group-stat-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  margin-top:10px;
  overflow:hidden;
  border:1px solid var(--at-fs-line-soft);
  border-radius:10px;
  background:var(--at-fs-line-soft);
}
.at-group-stat-pair > div {
  min-height:72px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:11px;
  background:#121314;
}
.at-group-stat-pair strong {
  color:#eff1f3;
  font-size:18px;
  font-weight:820;
  line-height:1;
}
.at-group-stat-pair span {
  margin-top:5px;
  color:#7d848e;
  font-size:8px;
  line-height:1.35;
}
.at-group-profile--v5 .at-group-leader-card {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--at-fs-line-soft);
}
.at-group-profile--v5 .at-group-leader-card img { width:38px; height:38px; border-radius:50%; object-fit:cover; }
.at-group-profile--v5 .at-group-leader-card span { min-width:0; }
.at-group-profile--v5 .at-group-leader-card small { display:block; color:#707781; font-size:8px; text-transform:uppercase; letter-spacing:.055em; }
.at-group-profile--v5 .at-group-leader-card strong { display:block; overflow:hidden; margin-top:2px; color:#e7e9ec; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.at-group-profile--v5 .at-group-leader-card > a { display:grid; place-items:center; color:#6c8daf !important; font-size:20px; text-decoration:none !important; }

/* Tým a katalog – kompaktní, informační */
.at-group-team-section-v5 { margin-top:26px; }
.at-group-profile--v5 .at-group-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.at-group-profile--v5 .at-group-section-heading > span { color:#747b84; font-size:9px; }
.at-group-profile--v5 .at-group-section-heading p { margin:4px 0 0; color:#727982; font-size:9px; }
.at-group-team-grid--v5 {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(225px,1fr));
  gap:8px;
}
.at-group-profile--v5 .at-group-member-card--v5 {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px;
  border:1px solid var(--at-fs-line);
  border-radius:11px;
  background:#151617;
  color:inherit !important;
  text-decoration:none !important;
  box-shadow:none;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.at-group-profile--v5 a.at-group-member-card--v5:hover { border-color:#3b5f83; background:#181a1c; transform:translateY(-1px); }
.at-group-profile--v5 .at-group-member-card--v5 > img { width:48px; height:48px; flex:0 0 48px; border-radius:50%; object-fit:cover; }
.at-group-profile--v5 .at-group-member-card__role { display:block; margin-bottom:2px; color:#9b84ff; font-size:8px; font-weight:850; letter-spacing:.055em; text-transform:uppercase; }
.at-group-profile--v5 .at-group-member-card__body { min-width:0; }
.at-group-profile--v5 .at-group-member-card__body strong { display:block; overflow:hidden; color:#f0f1f2; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.at-group-profile--v5 .at-group-member-card__body small { display:block; margin-top:1px; color:#737a84; font-size:9px; }
.at-group-profile--v5 .at-group-member-card__body em { display:block; margin-top:4px; color:#8a919a; font-size:8px; font-style:normal; }
.at-group-anime-section-v5 { margin-top:32px; }
.at-group-profile--v5 .at-group-section-heading--anime { padding-bottom:10px; border-bottom:1px solid #26282c; }
.at-group-project-tiles--v5 { display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:8px; }
.at-group-profile--v5 .at-group-project-tile {
  grid-template-columns:48px minmax(0,1fr) 15px;
  min-height:68px;
  gap:10px;
  padding:7px 9px 7px 7px;
  border:1px solid #292c30;
  border-radius:10px;
  background:#141516;
  box-shadow:none;
}
.at-group-profile--v5 .at-group-project-tile:hover { border-color:#3a5d80; background:#17191b; transform:translateY(-1px); }
.at-group-profile--v5 .at-group-project-tile__poster { width:48px; height:66px; border-radius:6px; }
.at-group-profile--v5 .at-group-project-tile__body > strong { font-size:11px; }
.at-group-profile--v5 .at-group-project-tile__top { margin-bottom:4px; }
.at-group-profile--v5 .at-group-project-tile__status { padding:2px 5px; font-size:7px; }
.at-group-profile--v5 .at-group-project-tile__top small,
.at-group-profile--v5 .at-group-project-tile__meta { font-size:8px; }
.at-group-profile--v5 .at-group-project-tile__arrow { font-size:18px; }

/* Srdíčka u jednotlivých vydaných epizod */
.hs-episode-actions {
  display:flex;
  align-items:center;
  gap:8px;
}
.at-episode-heart {
  appearance:none;
  min-width:42px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
  padding:0 10px;
  border:1px solid #34373c;
  border-radius:10px;
  outline:none;
  background:#17191c;
  color:#858b94;
  font:inherit;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease,opacity .15s ease;
}
.at-episode-heart svg {
  width:16px;
  height:16px;
  fill:transparent;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:fill .15s ease,transform .15s ease;
}
.at-episode-heart:hover {
  border-color:#70424c;
  background:#1d1719;
  color:#d0798c;
  transform:translateY(-1px);
}
.at-episode-heart.is-hearted {
  border-color:rgba(210,97,121,.38);
  background:rgba(137,49,68,.13);
  color:#e27d92;
}
.at-episode-heart.is-hearted svg { fill:currentColor; }
.at-episode-heart.is-loading { pointer-events:none; opacity:.58; }
.at-episode-heart.has-popped svg { animation:at-heart-pop .28s ease; }
.at-episode-heart.has-error { border-color:#a65362; }
.at-episode-heart__count { min-width:8px; line-height:1; }
@keyframes at-heart-pop {
  0% { transform:scale(1); }
  45% { transform:scale(1.28); }
  100% { transform:scale(1); }
}

@media (max-width:980px) {
  .at-user-profile-layout,
  .at-group-profile--v5 .at-group-profile-layout { grid-template-columns:1fr; }
  .at-user-profile-sidebar,
  .at-group-profile--v5 .at-group-profile-sidebar { order:-1; }
  .at-user-profile-sidebar .at-user-stats-card,
  .at-group-profile--v5 .at-group-profile-sidebar .at-group-stats-card { position:static; }
  .at-user-stats-list { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; }
  .at-user-stat + .at-user-stat { border-top:0; }
  .at-user-stat { min-width:0; flex-direction:column; align-items:flex-start; justify-content:center; }
  .at-user-stat strong { max-width:100%; text-align:left; }
  .at-group-latest__grid--v5 { grid-template-columns:repeat(5,minmax(110px,1fr)); overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; }
  .at-group-release-card { min-width:110px; }
  .at-group-stat-pair { grid-template-columns:1fr 1fr; }
  .at-group-hero--v5 .at-group-hero__content,
  .at-user-hero__identity { width:100%; }
}

@media (max-width:680px) {
  .at-public-profile--v2,
  .at-group-profile--v5 { width:min(100% - 18px,1240px); margin-top:20px; }
  .at-user-hero,
  .at-group-hero--v5 { min-height:315px; padding:17px; }
  .at-user-hero__identity,
  .at-group-hero--v5 .at-group-hero__content { grid-template-columns:1fr; gap:11px; padding-top:50px; }
  .at-user-hero__avatar,
  .at-group-hero--v5 .at-group-avatar { width:82px; height:82px; border-radius:16px; }
  .at-user-hero__copy h1,
  .at-group-hero--v5 .at-group-identity h1 { font-size:30px; }
  .at-public-profile--v2 .at-profile-edit-link,
  .at-group-profile--v5 .at-group-edit-link { top:11px; right:11px; }
  .at-user-about-card,
  .at-user-profile-sidebar .at-user-stats-card,
  .at-group-profile--v5 .at-group-about-card,
  .at-group-profile--v5 .at-group-profile-sidebar .at-group-stats-card { padding:17px; }
  .at-user-stats-list { grid-template-columns:1fr 1fr; }
  .at-group-latest__grid--v5 { grid-template-columns:repeat(3,minmax(104px,1fr)); }
  .at-group-stat-pair { grid-template-columns:1fr 1fr; }
  .at-group-team-grid--v5,
  .at-group-project-tiles--v5 { grid-template-columns:1fr; }
  .at-episode-heart { height:38px; min-width:40px; padding:0 9px; }
}

/* Překladatelský tým v detailu anime */
.at-hs-team {
  margin:22px 0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.085);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(27,27,33,.98),rgba(18,18,22,.99));
  box-shadow:0 10px 28px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.02);
}
.at-hs-team__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:15px 16px;
  border-bottom:1px solid rgba(255,255,255,.065);
}
.at-hs-team__title { min-width:0; }
.at-hs-team__eyebrow {
  display:block;
  margin-bottom:4px;
  color:#a78bfa;
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.at-hs-team__head h2 {
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:16px !important;
  line-height:1.2;
  font-weight:800 !important;
}
.at-hs-team__group {
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 22px;
  align-items:center;
  gap:10px;
  min-width:220px;
  max-width:320px;
  padding:7px 9px 7px 7px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:rgba(255,255,255,.028);
  color:#eeeaf8 !important;
  text-decoration:none !important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.at-hs-team__group:hover {
  border-color:rgba(139,92,246,.38);
  background:rgba(139,92,246,.075);
  transform:translateY(-1px);
}
.at-hs-team__group-avatar {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  background:#202027;
  color:#c7b8fb;
  font-size:9px;
  font-weight:900;
}
.at-hs-team__group-avatar img { width:100%; height:100%; display:block; object-fit:cover; pointer-events:none; }
.at-hs-team__group-copy { min-width:0; }
.at-hs-team__group small,.at-hs-team__group strong { display:block; }
.at-hs-team__group small {
  color:#888490;
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.065em;
  text-transform:uppercase;
}
.at-hs-team__group strong {
  margin-top:3px;
  overflow:hidden;
  color:#f5f3f8;
  font-size:11.5px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-hs-team__group-arrow {
  display:grid;
  width:22px;
  height:22px;
  place-items:center;
  border-radius:6px;
  color:#77727f;
  font-size:12px;
  transition:color .18s ease,background .18s ease;
}
.at-hs-team__group:hover .at-hs-team__group-arrow { color:#bba9fb; background:rgba(139,92,246,.08); }
.at-hs-team__roles { display:grid; grid-template-columns:1fr 1fr; }
.at-hs-team__role {
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-height:60px;
  padding:11px 16px;
}
.at-hs-team__role + .at-hs-team__role { border-left:1px solid rgba(255,255,255,.06); }
.at-hs-team__role-label {
  color:#8c8894;
  font-size:9px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.at-hs-team__people { display:flex; flex-wrap:wrap; gap:6px; }
.at-hs-team-person {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  padding:3px 9px 3px 3px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#d9d5df !important;
  font-size:9.5px;
  font-weight:750;
  text-decoration:none !important;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}
.at-hs-team-person:hover {
  border-color:rgba(139,92,246,.28);
  background:rgba(139,92,246,.055);
  color:#fff !important;
}
.at-hs-team-person__avatar { width:23px; height:23px; overflow:hidden; border-radius:50%; background:#24232a; }
.at-hs-team-person__avatar img { width:100%; height:100%; display:block; object-fit:cover; pointer-events:none; }
.at-hs-team-person__avatar--fallback { display:grid; place-items:center; color:#b9a8f7; font-size:8px; font-weight:900; }
.at-hs-team__empty { color:#6f6b76; font-size:9.5px; }

@media (max-width:760px) {
  .at-hs-team__head { align-items:flex-start; flex-direction:column; }
  .at-hs-team__group { width:100%; max-width:none; min-width:0; }
  .at-hs-team__roles { grid-template-columns:1fr; }
  .at-hs-team__role { grid-template-columns:1fr; gap:7px; }
  .at-hs-team__role + .at-hs-team__role { border-left:0; border-top:1px solid rgba(255,255,255,.06); }
}

/* =========================================================
   Uživatelský profil 2.2 – kompaktní akce
   ========================================================= */
.at-public-profile--v2 .at-profile-edit-link {
  display:inline-flex !important;
  width:auto !important;
  height:34px !important;
  min-width:0 !important;
  min-height:34px !important;
  max-height:34px !important;
  align-self:flex-start !important;
  padding:0 12px !important;
  border-radius:8px !important;
  font-size:11px !important;
  line-height:1 !important;
  white-space:nowrap;
}
.at-user-profile-sidebar {
  display:grid;
  gap:12px;
}
.at-user-profile-sidebar .at-user-stats-card {
  position:static;
  top:auto;
}

@media (max-width:980px) {
  .at-user-stats-list { grid-template-columns:repeat(4,1fr); }
}
@media (max-width:680px) {
  .at-public-profile--v2 .at-profile-edit-link {
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    padding:0 10px !important;
  }
}

/* =========================================================
   Nastavení profilu 2.3 – sjednocené nastavovací centrum
   ========================================================= */
.at-profile-settings {
  --at-settings-surface:#12171f;
  --at-settings-surface-2:#0e131a;
  --at-settings-line:#28313c;
  --at-settings-line-soft:#202832;
  --at-settings-text:#f3f5f7;
  --at-settings-muted:#8e9aaa;
  --at-settings-accent:#7652f4;
  width:min(1260px,calc(100% - 34px));
}
.at-profile-settings .at-panel {
  border-color:var(--at-settings-line);
  background:linear-gradient(180deg,#151a21 0%,#10151b 100%);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.at-settings-head {
  display:block;
  margin-bottom:22px;
}
.at-settings-head__copy { display:grid; justify-items:start; }
.at-settings-head h1 {
  margin:0 0 7px;
  font-size:clamp(30px,4vw,46px);
  letter-spacing:-.025em;
}
.at-settings-head p { margin:0; color:var(--at-settings-muted); }
.at-settings-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:20px;
  align-items:start;
}
.at-settings-main,
.at-settings-sidebar { min-width:0; }
.at-settings-form,
.at-settings-main,
.at-settings-sidebar { display:grid; gap:16px; }
.at-settings-sidebar { position:sticky; top:20px; }
.at-settings-card { padding:22px; border-radius:16px; }
.at-settings-card__head {
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin-bottom:20px;
}
.at-settings-card__head--spread { justify-content:space-between; }
.at-settings-card__head-main { display:block; min-width:0; }
.at-settings-card__head--compact { margin-bottom:13px; }
.at-settings-card__head h2 { margin:0 0 5px; font-size:20px; }
.at-settings-card__head p { margin:0; color:var(--at-settings-muted); font-size:13px; line-height:1.55; }
.at-settings-card__head .at-kicker { margin-bottom:4px; font-size:10px; }
.at-settings-fields { display:grid; gap:15px; }
.at-settings-fields--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.at-profile-settings .at-field input,
.at-profile-settings .at-field textarea,
.at-profile-settings .at-field select {
  border-color:#303a47;
  border-radius:10px;
  background:#0d1218;
  color:#eef3f8;
}
.at-profile-settings .at-field input:hover,
.at-profile-settings .at-field textarea:hover { border-color:#3a4858; }
.at-profile-settings .at-field input:focus,
.at-profile-settings .at-field textarea:focus,
.at-profile-settings .at-field select:focus {
  border-color:#5f9fe9;
  box-shadow:0 0 0 3px rgba(95,159,233,.12);
}
.at-profile-settings .at-field > span { color:#dbe3ec; }
.at-profile-settings .at-field small { color:#778494; line-height:1.45; }
.at-profile-media-settings { display:grid; gap:12px; }
.at-media-setting {
  display:grid;
  grid-template-columns:116px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:13px;
  border:1px solid var(--at-settings-line-soft);
  border-radius:13px;
  background:#0e1319;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
}
.at-media-setting:hover { border-color:#3d5878; background:#101720; }
.at-media-setting--banner { grid-template-columns:190px minmax(0,1fr); }
.at-media-setting__preview {
  display:grid;
  place-items:center;
  width:100%;
  height:86px;
  overflow:hidden;
  border:1px solid #2e3945;
  border-radius:10px;
  background:#0a0e13;
  color:#667587;
}
.at-media-setting__preview--avatar { width:86px; border-radius:50%; }
.at-media-setting__preview--banner { height:82px; }
.at-media-setting__preview img { width:100%; height:100%; object-fit:cover; }
.at-media-setting__empty { padding:10px; font-size:11px; text-align:center; }
.at-media-setting__body { display:grid; justify-items:start; gap:5px; min-width:0; }
.at-media-setting__body strong { color:#edf3f9; font-size:14px; }
.at-media-setting__body small { color:#7f8b9a; font-size:11px; line-height:1.45; }
.at-media-setting__actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:4px;
}
.at-file-button {
  display:inline-flex;
  align-items:center;
  min-height:31px;
  margin-top:0;
  padding:0 11px;
  border:1px solid #334964;
  border-radius:8px;
  background:#141d28;
  color:#c2b5ff;
  font-size:11px;
  font-weight:800;
}
.at-file-remove {
  display:inline-flex;
  align-items:center;
  min-height:31px;
  padding:0 11px;
  border:1px solid #5b343b;
  border-radius:8px;
  background:#211419;
  color:#f0a4af;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.at-file-remove:hover { border-color:#8b4652; background:#2a171d; color:#ffc0c8; }
.at-file-remove:disabled { opacity:.55; cursor:default; }
.at-visually-hidden {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.at-anime-picker-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:29px;
  padding:0 10px;
  border:1px solid #33465e;
  border-radius:999px;
  background:#111a24;
  color:#9fc5f5;
  font-size:11px;
  font-weight:900;
}
.at-anime-picker { display:grid; gap:12px; }
.at-anime-picker__selected {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.at-anime-picker__selected:empty { display:none; }
.at-anime-picker__chosen {
  display:grid;
  grid-template-columns:54px minmax(80px,1fr) 28px;
  align-items:center;
  gap:9px;
  width:min(100%,270px);
  min-height:54px;
  padding:5px 6px 5px 5px;
  border:1px solid #2b3744;
  border-radius:10px;
  background:#121216;
}
.at-anime-picker__chosen-image {
  display:grid;
  place-items:center;
  width:54px;
  height:43px;
  overflow:hidden;
  border-radius:7px;
  background:#172231;
  color:#89b6f1;
  font-size:10px;
  font-weight:900;
}
.at-anime-picker__chosen-image img { width:100%; height:100%; object-fit:cover; }
.at-anime-picker__chosen strong {
  overflow:hidden;
  color:#e9eff6;
  font-size:11px;
  line-height:1.35;
  text-overflow:ellipsis;
}
.at-anime-picker__chosen button {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#778696;
  font-size:18px;
  cursor:pointer;
}
.at-anime-picker__chosen button:hover { background:rgba(255,107,122,.08); color:#ff8995; }
.at-anime-search {
  position:relative;
  display:flex;
  align-items:center;
  min-height:48px;
  border:1px solid #313d4b;
  border-radius:12px;
  background:linear-gradient(180deg,#0f151c 0%,#0b1016 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 8px 20px rgba(0,0,0,.10);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.at-anime-search:focus-within {
  border-color:#5d9ae0;
  background:#0d141c;
  box-shadow:0 0 0 3px rgba(93,154,224,.11),0 10px 26px rgba(0,0,0,.15);
}
.at-anime-search__icon {
  position:absolute;
  left:14px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  z-index:2;
  color:#7590ad;
  pointer-events:none;
}
.at-anime-search__icon svg {
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.at-anime-search input {
  width:100%;
  height:46px;
  padding:0 46px 0 43px;
  border:0 !important;
  border-radius:12px;
  outline:0;
  background:transparent !important;
  color:#edf2f7;
  font:inherit;
  font-size:13px;
  box-shadow:none !important;
}
.at-anime-search input::placeholder { color:#647487; opacity:1; }
.at-anime-search input:focus { border:0; box-shadow:none !important; }
.at-anime-search input:disabled { opacity:.58; cursor:not-allowed; }
.at-anime-search__spinner {
  position:absolute;
  top:15px;
  right:15px;
  width:16px;
  height:16px;
  border:2px solid #344354;
  border-top-color:#7db5f6;
  border-radius:50%;
  animation:at-spin .7s linear infinite;
}
@keyframes at-spin { to { transform:rotate(360deg); } }
.at-anime-search__results {
  position:absolute;
  z-index:30;
  top:calc(100% + 7px);
  left:0;
  right:0;
  max-height:330px;
  overflow:auto;
  padding:5px;
  border:1px solid #324051;
  border-radius:12px;
  background:#0d1218;
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}
.at-anime-search__result {
  display:grid;
  grid-template-columns:62px minmax(0,1fr) 28px;
  align-items:center;
  gap:10px;
  width:100%;
  padding:6px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#edf3f9;
  text-align:left;
  cursor:pointer;
}
.at-anime-search__result:hover:not(:disabled) { background:#151e28; }
.at-anime-search__result:disabled { opacity:.5; cursor:default; }
.at-anime-search__thumb {
  display:grid;
  place-items:center;
  width:62px;
  height:42px;
  overflow:hidden;
  border-radius:7px;
  background:#182332;
  color:#8fb8ee;
  font-size:10px;
  font-weight:900;
}
.at-anime-search__thumb img { width:100%; height:100%; object-fit:cover; }
.at-anime-search__text { display:grid; gap:2px; min-width:0; }
.at-anime-search__text strong { overflow:hidden; color:#eaf0f6; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.at-anime-search__text small { color:#768495; font-size:10px; }
.at-anime-search__add { color:#7eb2f0; font-size:20px; text-align:center; }
.at-anime-search__empty { padding:15px 12px; color:#8290a0; font-size:12px; text-align:center; }
.at-settings-help { margin:0 !important; color:#7e8b9b !important; font-size:11px !important; line-height:1.55; }
.at-settings-savebar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px 13px 18px;
  border:1px solid #2c3948;
  border-radius:13px;
  background:rgba(15,21,28,.94);
}
.at-settings-savebar span { color:#7e8b99; font-size:11px; }
.at-settings-savebar .at-button { min-height:38px; }
.at-account-summary-card h2 { margin:0 0 15px; font-size:21px; }
.at-account-summary { display:grid; border-top:1px solid #252e38; }
.at-account-summary > div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:11px 0;
  border-bottom:1px solid #252e38;
}
.at-account-summary span { color:#858893; font-size:10px; }
.at-account-summary strong { color:#e9eef4; font-size:11px; text-align:right; }
.at-password-card .at-form { gap:12px; margin-top:15px; }
.at-password-card .at-button { width:100%; min-height:39px; }
.at-button--secondary {
  border:1px solid #35506d;
  background:#14202c;
  color:#c2b5ff !important;
}
.at-button--secondary:hover { border-color:#4f78a5; background:#182838; }
.at-profile-settings .at-security-panel {
  margin-top:0;
  padding:22px;
  border-radius:16px;
}
.at-profile-settings .at-security-head { gap:12px; margin-bottom:16px; }
.at-profile-settings .at-security-head h2 { font-size:18px; }
.at-profile-settings .at-security-head p { font-size:11px; line-height:1.55; }
.at-profile-settings .at-security-copy p,
.at-profile-settings .at-setup-box p,
.at-profile-settings .at-recovery-box p { font-size:11px; line-height:1.55; }
.at-profile-settings .at-security-status { min-height:26px; padding:0 8px; font-size:10px; }
.at-profile-settings .at-secret-key code { font-size:12px; }

@media (max-width:1040px) {
  .at-settings-grid { grid-template-columns:minmax(0,1fr) 310px; }
}
@media (max-width:860px) {
  .at-settings-grid { grid-template-columns:1fr; }
  .at-settings-sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .at-settings-sidebar .at-security-panel { grid-column:1 / -1; }
}
@media (max-width:680px) {
  .at-profile-settings { width:min(100% - 22px,1260px); margin-top:26px; }
 .at-settings-head { align-items:flex-start; flex-direction:column; }
  .at-settings-fields--two { grid-template-columns:1fr; }
  .at-settings-sidebar { grid-template-columns:1fr; }
  .at-settings-sidebar .at-security-panel { grid-column:auto; }
  .at-settings-card { padding:17px; }
  .at-media-setting,
  .at-media-setting--banner { grid-template-columns:82px minmax(0,1fr); }
  .at-media-setting__preview,
  .at-media-setting__preview--banner { width:72px; height:72px; }
  .at-media-setting__preview--avatar { width:72px; }
  .at-settings-savebar { align-items:stretch; flex-direction:column; }
  .at-settings-savebar .at-button { width:100%; }
  .at-anime-picker__chosen { width:100%; }
}
.at-profile-settings .at-security-head { flex-direction:column; align-items:flex-start; }
.at-profile-settings .at-recovery-codes { grid-template-columns:1fr; }
.at-profile-settings .at-security-panel .at-button { max-width:100%; }

.at-profile-settings .at-settings-card__head > div,
.at-profile-settings .at-settings-card__head-main,
.at-profile-settings .at-settings-card__head-main > div {
  min-width:0;
  width:100%;
}
.at-profile-settings .at-settings-card__head h2:last-child { margin-bottom:0; }
.at-profile-settings .at-anime-picker { gap:14px; }
.at-profile-settings .at-anime-picker__selected {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:100%;
}
.at-profile-settings .at-anime-picker__selected:empty { display:none; }
.at-profile-settings .at-anime-picker__chosen {
  width:100%;
  min-width:0;
}
.at-profile-settings .at-settings-fields,
.at-profile-settings .at-profile-media-settings,
.at-profile-settings .at-anime-picker,
.at-profile-settings .at-anime-search,
.at-profile-settings .at-settings-savebar {
  width:100%;
  box-sizing:border-box;
}
@media (max-width:680px) {
  .at-profile-settings .at-anime-picker__selected { grid-template-columns:1fr; }
}


.at-profile-settings .at-settings-fields--two { align-items:start; }
.at-profile-settings .at-settings-fields--two > .at-field { align-content:start; align-self:start; }
.at-profile-settings .at-settings-fields--two > .at-field:not(.at-field--full) > input { min-height:42px; }
.at-profile-settings .at-password-card .at-settings-card__head { margin-bottom:7px; }
.at-profile-settings .at-password-card .at-settings-help { margin-bottom:0 !important; }
.at-profile-settings .at-password-card .at-form { margin-top:9px; }
.at-profile-settings .at-anime-search__results {
  top:calc(100% + 8px);
  padding:6px;
  border-color:#34465a;
  border-radius:13px;
  background:#0d131a;
  box-shadow:0 20px 48px rgba(0,0,0,.46);
}
.at-profile-settings .at-anime-search__result { min-height:54px; padding:6px 8px 6px 6px; }
.at-profile-settings .at-anime-search__result:hover:not(:disabled) { background:#151f2a; }
.at-profile-settings .at-anime-search__add {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border:1px solid #314963;
  border-radius:8px;
  background:#111b26;
  color:#a996ff;
  font-size:17px;
  line-height:1;
}


.at-profile-settings .at-field--identity {
  display:grid;
  grid-template-rows:auto 42px auto;
  gap:8px;
  align-content:start;
}
.at-profile-settings .at-field--identity > span,
.at-profile-settings .at-field--identity > input,
.at-profile-settings .at-field--identity > small {
  margin:0 !important;
}
.at-profile-settings .at-field--identity > span {
  min-height:16px;
  line-height:16px;
}
.at-profile-settings .at-field--identity > input {
  height:42px;
  min-height:42px;
}
.at-profile-settings .at-field--identity > small {
  min-height:16px;
  line-height:16px;
}
.at-profile-settings .at-field-spacer {
  visibility:hidden;
  pointer-events:none;
}
.at-profile-settings .at-password-card .at-settings-card__head {
  margin-bottom:9px !important;
}
.at-profile-settings .at-password-card .at-settings-card__head > div {
  display:grid;
  gap:0;
}
.at-profile-settings .at-password-card .at-settings-card__head h2 {
  margin:0 0 4px !important;
}
.at-profile-settings .at-password-card .at-settings-help {
  margin:0 !important;
}
.at-profile-settings .at-password-card .at-form {
  margin-top:0;
}


.at-user-translator-stats-card {
  padding:20px;
}
.at-user-translator-stats-card .at-user-section-heading {
  margin-bottom:14px;
}
.at-user-translator-stats-card .at-kicker {
  color:#78aee8;
}
@media (max-width:980px) {
  .at-user-profile-sidebar .at-user-stats-list {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:680px) {
  .at-user-profile-sidebar .at-user-stats-list {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .at-user-translator-stats-card { padding:17px; }
}
@media (max-width:520px) {
  .at-user-profile-sidebar .at-user-stats-list {
    grid-template-columns:1fr;
  }
  .at-user-stat {
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .at-user-stat strong { text-align:right; }
}


.at-group-profile--v5 .at-group-profile-sidebar {
  position:sticky;
  top:92px;
  display:grid;
  gap:12px;
  align-self:start;
}
.at-group-profile--v5 .at-group-profile-sidebar .at-group-stats-card {
  position:static;
  top:auto;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stat-featured,
.at-group-profile--v5 .at-group-stat-featured__heart,
.at-group-profile--v5 .at-group-stat-pair {
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stat-featured__heart {
  grid-template-columns:32px minmax(0,1fr);
}
.at-group-profile--v5 .at-group-stat-featured strong,
.at-group-profile--v5 .at-group-stat-featured__heart > span:not(.at-group-stat-featured__icon),
.at-group-profile--v5 .at-group-stat-featured__founded {
  min-width:0;
}
.at-group-profile--v5 .at-group-stat-pair {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.at-group-profile--v5 .at-group-stat-pair > div {
  min-width:0;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stat-pair strong,
.at-group-profile--v5 .at-group-stat-pair span {
  max-width:100%;
  overflow-wrap:anywhere;
}

/* Tým je součást pravého sloupce přímo pod statistikami. */
.at-group-profile--v5 .at-group-team-panel {
  margin-top:0;
  padding:18px;
  min-width:0;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-team-panel .at-group-section-heading {
  align-items:center;
  margin-bottom:10px;
}
.at-group-profile--v5 .at-group-team-panel .at-group-section-heading h2 {
  font-size:16px;
}
.at-group-profile--v5 .at-group-team-panel .at-group-section-heading > span {
  flex:0 0 auto;
}
.at-group-profile--v5 .at-group-team-panel .at-group-team-grid--v5 {
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.at-group-profile--v5 .at-group-team-panel .at-group-member-card--v5 {
  width:100%;
  box-sizing:border-box;
}

@media (max-width:980px) {
  .at-group-profile--v5 .at-group-profile-sidebar {
    position:static;
    top:auto;
  }
}

.at-group-profile--v5 .at-group-profile-layout {
  grid-template-columns:minmax(0,1fr) 320px;
  gap:16px;
}

/* Statistiky: vlastní jednoduchá struktura bez dědění starých layoutů. */
.at-group-profile--v5 .at-group-stats-v6 {
  display:grid;
  gap:10px;
  width:100%;
  min-width:0;
  padding-top:14px;
  border-top:1px solid var(--at-fs-line-soft);
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stats-v6__heart {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  padding:13px 14px;
  border:1px solid rgba(202,99,121,.25);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(143,54,73,.10),#121314 62%);
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stats-v6__heart-icon {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:9px;
  background:rgba(198,85,108,.12);
  color:#e18397;
  font-size:17px;
  line-height:1;
}
.at-group-profile--v5 .at-group-stats-v6__heart-copy {
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.at-group-profile--v5 .at-group-stats-v6__heart-copy small {
  min-width:0;
  color:#858c96;
  font-size:9px;
  font-weight:700;
  line-height:1.35;
}
.at-group-profile--v5 .at-group-stats-v6__heart-copy strong {
  flex:0 0 auto;
  margin:0;
  color:#f0c6cf;
  font-size:25px;
  font-weight:850;
  line-height:1;
  letter-spacing:-.025em;
}
.at-group-profile--v5 .at-group-stats-v6__founded {
  margin:-2px 2px 0;
  color:#666d77;
  font-size:8px;
  font-weight:600;
  line-height:1.4;
}
.at-group-profile--v5 .at-group-stats-v6__pair {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  width:100%;
  min-width:0;
}
.at-group-profile--v5 .at-group-stats-v6__tile {
  display:flex;
  min-width:0;
  min-height:78px;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:12px;
  border:1px solid var(--at-fs-line-soft);
  border-radius:10px;
  background:#121314;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stats-v6__tile strong {
  display:block;
  margin:0;
  color:#f0f2f4;
  font-size:21px;
  font-weight:850;
  line-height:1;
}
.at-group-profile--v5 .at-group-stats-v6__tile span {
  display:block;
  margin:0;
  color:#7f8791;
  font-size:8.5px;
  font-weight:650;
  line-height:1.35;
}

/* Tým: stejná šířka a rytmus jako statistiky. */
.at-group-profile--v5 .at-group-team-panel {
  padding:18px 20px;
}
.at-group-profile--v5 .at-group-team-panel .at-group-section-heading {
  padding:0 1px;
  margin-bottom:12px;
}
.at-group-profile--v5 .at-group-team-panel .at-group-member-card--v5 {
  min-height:78px;
  padding:11px 12px;
}

/* Nejnovější překlady: kompaktní horizontální karty místo úzkých plakátů. */
.at-group-profile--v5 .at-group-latest__grid--v5 {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.at-group-profile--v5 .at-group-release-card {
  width:300px;
  max-width:100%;
  min-height:94px;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  padding:7px;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-release-card__cover {
  height:80px;
  aspect-ratio:auto;
  align-self:center;
}
.at-group-profile--v5 .at-group-release-card__body {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:4px 5px 4px 11px;
}
.at-group-profile--v5 .at-group-release-card__body > strong {
  font-size:10.5px;
  line-height:1.35;
}
.at-group-profile--v5 .at-group-release-card__episode-info {
  display:block;
  margin-top:6px;
  color:#8a929d;
  font-size:8.5px;
  line-height:1.45;
}
.at-group-profile--v5 .at-group-release-card__episode-info b {
  display:block;
  margin-bottom:2px;
  color:#a996ff;
  font-size:8.5px;
}
.at-group-profile--v5 .at-group-release-card__episode-info i {
  display:none;
}
.at-group-profile--v5 .at-group-release-card__episode-info > span {
  display:block;
  overflow:hidden;
  color:#949ba5;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-release-card__meta {
  margin-top:auto;
  padding-top:7px;
}
.at-group-profile--v5 .at-group-release-card__meta small {
  font-size:7.5px;
}
.at-group-profile--v5 .at-group-release-card__meta em {
  font-size:8px;
}

@media (max-width:980px) {
  .at-group-profile--v5 .at-group-profile-layout {
    grid-template-columns:1fr;
  }
  .at-group-profile--v5 .at-group-release-card {
    width:300px;
  }
}
@media (max-width:680px) {
  .at-group-profile--v5 .at-group-stats-v6__pair {
    grid-template-columns:1fr 1fr;
  }
  .at-group-profile--v5 .at-group-release-card {
    width:100%;
    grid-template-columns:104px minmax(0,1fr);
  }
}
@media (max-width:430px) {
  .at-group-profile--v5 .at-group-stats-v6__pair {
    grid-template-columns:1fr;
  }
}

.at-group-profile--v5 .at-group-stats-v6__founded {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:31px;
  margin:0;
  padding:6px 9px;
  border:1px solid #24282e;
  border-radius:8px;
  background:linear-gradient(180deg,#121416 0%,#101214 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stats-v6__founded > span {
  color:#666e79;
  font-size:8px;
  font-weight:650;
  line-height:1;
}
.at-group-profile--v5 .at-group-stats-v6__founded > strong {
  color:#a0a7b0;
  font-size:8.5px;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-stats-v6__tile {
  position:relative;
  overflow:hidden;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:13px 14px;
  border:1px solid #272c33;
  border-radius:11px;
  background:linear-gradient(145deg,#15181b 0%,#111315 72%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 22px rgba(0,0,0,.08);
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-stats-v6__tile::before {
  content:"";
  position:absolute;
  top:0;
  left:12px;
  right:12px;
  height:2px;
  border-radius:0 0 2px 2px;
  opacity:.72;
}
.at-group-profile--v5 .at-group-stats-v6__tile--episodes::before {
  background:linear-gradient(90deg,rgba(83,148,218,.2),#5794d5,rgba(83,148,218,.2));
}
.at-group-profile--v5 .at-group-stats-v6__tile--done::before {
  background:linear-gradient(90deg,rgba(78,171,127,.18),#59ae82,rgba(78,171,127,.18));
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy {
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:7px;
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy strong {
  display:block;
  margin:0;
  color:#f4f6f8;
  font-size:24px;
  font-weight:850;
  line-height:.92;
  letter-spacing:-.035em;
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy > span {
  display:block;
  margin:0;
  color:#9097a1;
  font-size:8.5px;
  font-weight:700;
  line-height:1.25;
}
@media (max-width:520px) {
  .at-group-profile--v5 .at-group-stats-v6__tile {
    min-height:70px;
    padding:11px 12px;
  }
  .at-group-profile--v5 .at-group-stats-v6__tile-copy strong {
    font-size:22px;
  }
}



.at-group-profile--v5 .at-group-stats-v6__tile {
  min-height:58px;
  padding:9px 12px 8px;
  justify-content:center;
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy {
  width:100%;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:5px;
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy > span {
  color:#8d949e;
  font-size:8.5px;
  font-weight:700;
  line-height:1.15;
}
.at-group-profile--v5 .at-group-stats-v6__tile-copy strong {
  color:#f4f6f8;
  font-size:21px;
  line-height:1;
  letter-spacing:-.03em;
}
@media (max-width:520px) {
  .at-group-profile--v5 .at-group-stats-v6__tile {
    min-height:56px;
    padding:8px 10px;
  }
  .at-group-profile--v5 .at-group-stats-v6__tile-copy strong {
    font-size:20px;
  }
}

.at-group-profile--v5 .at-group-anime-section-v5 {
  margin-top:16px;
  padding:20px 22px 22px;
  min-width:0;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-section-heading--anime {
  align-items:flex-end;
  margin:0 0 12px;
  padding:0 0 11px;
  border-bottom:1px solid var(--at-fs-line-soft);
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-section-heading--anime h2 {
  margin:0;
  font-size:18px;
  line-height:1.15;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-section-heading--anime p {
  margin:5px 0 0;
  color:#747c86;
  font-size:8.5px;
  line-height:1.4;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-section-heading--anime > span {
  flex:0 0 auto;
  padding:4px 7px;
  border:1px solid #292e34;
  border-radius:7px;
  background:#111315;
  color:#7e8690;
  font-size:8px;
  font-weight:700;
  line-height:1;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile {
  width:100%;
  min-width:0;
}
.at-group-profile--v5 .at-group-projects-empty {
  padding:16px 2px 2px;
  border:0;
  background:transparent;
}
.at-group-profile--v5 .at-group-projects-empty h2 {
  margin:0 0 5px;
  font-size:13px;
}
.at-group-profile--v5 .at-group-projects-empty p {
  margin:0;
  font-size:9px;
  line-height:1.55;
}
@media (max-width:1120px) {
  .at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
    grid-template-columns:1fr;
  }
}
@media (max-width:980px) {
  .at-group-profile--v5 .at-group-anime-section-v5 {
    margin-top:14px;
  }
}
@media (max-width:680px) {
  .at-group-profile--v5 .at-group-anime-section-v5 {
    padding:17px 16px 18px;
  }
  .at-group-profile--v5 .at-group-anime-section-v5 .at-group-section-heading--anime {
    align-items:flex-start;
  }
}

.at-group-profile--v5 .at-group-project-tabs {
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 15px;
  padding:4px;
  width:max-content;
  max-width:100%;
  overflow-x:auto;
  border:1px solid #282d34;
  border-radius:12px;
  background:#101214;
  scrollbar-width:none;
}
.at-group-profile--v5 .at-group-project-tabs::-webkit-scrollbar { display:none; }
.at-group-profile--v5 .at-group-project-tabs button {
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:34px;
  padding:7px 11px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#7f8791;
  font:inherit;
  font-size:9px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.at-group-profile--v5 .at-group-project-tabs button:hover {
  color:#c9d2dd;
  background:#15191e;
}
.at-group-profile--v5 .at-group-project-tabs button.is-active {
  border-color:#34465d;
  background:linear-gradient(180deg,#182230 0%,#151d27 100%);
  color:#eef5ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.at-group-profile--v5 .at-group-project-tabs button b {
  display:grid;
  min-width:18px;
  height:18px;
  padding:0 5px;
  place-items:center;
  border-radius:999px;
  background:#1e2329;
  color:#727c88;
  font-size:8px;
  font-weight:850;
  line-height:1;
}
.at-group-profile--v5 .at-group-project-tabs button.is-active b {
  background:#22344b;
  color:#9fc4f5;
}
.at-group-profile--v5 .at-group-project-tile[hidden] { display:none !important; }
.at-group-profile--v5 .at-group-project-filter-empty {
  padding:22px 16px;
  border:1px dashed #2a3038;
  border-radius:12px;
  background:#101214;
  color:#6f7781;
  font-size:10px;
  text-align:center;
}
.at-group-profile--v5 .at-group-project-filter-empty[hidden] { display:none !important; }

@media (max-width:560px) {
  .at-group-profile--v5 .at-group-project-tabs {
    width:100%;
    box-sizing:border-box;
  }
  .at-group-profile--v5 .at-group-project-tabs button {
    flex:1 0 auto;
  }
}

.at-group-profile--v5 .at-group-latest--v5 {
  overflow:hidden;
}
.at-group-profile--v5 .at-group-latest__grid--v5 {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  width:100%;
  min-width:0;
  overflow:visible;
}
.at-group-profile--v5 .at-group-release-card {
  width:auto;
  max-width:none;
  min-width:0;
  min-height:78px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  padding:6px;
  border-radius:9px;
  box-sizing:border-box;
}
.at-group-profile--v5 .at-group-release-card__cover {
  width:58px;
  height:66px;
  aspect-ratio:auto;
  align-self:center;
  border-radius:6px;
}
.at-group-profile--v5 .at-group-release-card__cover img,
.at-group-profile--v5 .at-group-release-card__fallback {
  width:100%;
  height:100%;
  object-fit:cover;
}
.at-group-profile--v5 .at-group-release-card__body {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:flex-start;
  padding:2px 1px 1px 8px;
  overflow:hidden;
}
.at-group-profile--v5 .at-group-release-card__body > strong {
  display:-webkit-box;
  min-width:0;
  max-height:2.65em;
  margin:0;
  overflow:hidden;
  color:#e8ebef;
  font-size:9.25px;
  font-weight:800;
  line-height:1.32;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.at-group-profile--v5 .at-group-release-card__episode-info {
  display:block;
  min-width:0;
  margin-top:4px;
  overflow:hidden;
  font-size:8px;
  line-height:1.25;
}
.at-group-profile--v5 .at-group-release-card__episode-info b {
  display:block;
  min-width:0;
  margin:0 0 2px;
  overflow:hidden;
  color:#a996ff;
  font-size:8px;
  font-weight:800;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-release-card__episode-info > span {
  display:block;
  min-width:0;
  overflow:hidden;
  color:#8d949e;
  font-size:7.75px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-release-card__meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  min-width:0;
  margin-top:auto;
  padding-top:4px;
}
.at-group-profile--v5 .at-group-release-card__meta small,
.at-group-profile--v5 .at-group-release-card__meta em {
  min-width:0;
  overflow:hidden;
  font-size:7px;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Na užších displejích zůstává jeden řádek; karty se neposílají pod sebe. */
@media (max-width:980px) {
  .at-group-profile--v5 .at-group-latest--v5 {
    overflow:visible;
  }
  .at-group-profile--v5 .at-group-latest__grid--v5 {
    grid-template-columns:repeat(4,minmax(150px,1fr));
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:5px;
    scrollbar-width:thin;
    scroll-snap-type:x proximity;
  }
  .at-group-profile--v5 .at-group-release-card {
    width:auto;
    min-width:150px;
    scroll-snap-align:start;
  }
}
@media (max-width:680px) {
  .at-group-profile--v5 .at-group-latest__grid--v5 {
    grid-template-columns:repeat(4,168px);
  }
  .at-group-profile--v5 .at-group-release-card {
    width:auto;
    min-width:168px;
    grid-template-columns:58px minmax(0,1fr);
  }
}

.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile {
  grid-template-columns:44px minmax(0,1fr) 12px;
  gap:8px;
  min-height:62px;
  padding:6px 7px 6px 6px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__poster {
  width:44px;
  height:60px;
  border-radius:6px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__body > strong {
  display:block;
  overflow:hidden;
  font-size:10.5px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__top {
  gap:5px;
  margin-bottom:3px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__status {
  padding:2px 4px;
  font-size:6.8px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__top small,
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__meta {
  font-size:7.5px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__meta {
  gap:5px;
  margin-top:4px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__meta em {
  padding-left:5px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__arrow {
  font-size:16px;
}

@media (max-width:760px) {
  .at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:480px) {
  .at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
    grid-template-columns:1fr;
  }
}

.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__meta .at-group-project-tile__hearts { color:#d8798c; }

.at-group-settings {
  --at-settings-surface:#12171f;
  --at-settings-surface-2:#0e131a;
  --at-settings-line:#28313c;
  --at-settings-line-soft:#202832;
  --at-settings-text:#f3f5f7;
  --at-settings-muted:#8e9aaa;
  --at-settings-accent:#7652f4;
  width:min(1260px,calc(100% - 34px));
  margin:42px auto 72px;
}
.at-group-settings .at-panel {
  border-color:var(--at-settings-line);
  background:linear-gradient(180deg,#151a21 0%,#10151b 100%);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.at-group-settings__head { margin-bottom:22px; }
.at-group-settings__head h1 {
  margin:0 0 7px;
  font-size:clamp(30px,4vw,46px);
  letter-spacing:-.025em;
}
.at-group-settings__head p {
  margin:0;
  color:var(--at-settings-muted);
  font-size:14px;
  font-weight:700;
}
.at-group-settings__form { display:block; }
.at-group-settings__grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:20px;
  align-items:start;
}
.at-group-settings__main,
.at-group-settings__sidebar { min-width:0; }
.at-group-settings__main,
.at-group-settings__sidebar { display:grid; gap:16px; }
.at-group-settings__sidebar { position:sticky; top:20px; }
.at-group-settings-card { padding:22px; border-radius:16px; }
.at-group-settings .at-settings-card__head { margin-bottom:18px; }
.at-group-settings .at-settings-card__head h2 { margin:0; font-size:20px; }
.at-group-settings .at-settings-card__head .at-kicker { margin-bottom:4px; font-size:10px; }
.at-group-settings .at-settings-fields { display:grid; gap:15px; }
.at-group-settings .at-settings-fields--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.at-group-settings .at-field--full { grid-column:1 / -1; }
.at-group-settings__date-field { max-width:260px; }
.at-group-settings .at-field input,
.at-group-settings .at-field textarea,
.at-group-settings .at-field select {
  width:100%;
  border:1px solid #303a47;
  border-radius:10px;
  background:#0d1218;
  color:#eef3f8;
  box-shadow:none;
}
.at-group-settings .at-field input,
.at-group-settings .at-field select { min-height:42px; }
.at-group-settings .at-field textarea { min-height:132px; resize:vertical; }
.at-group-settings .at-field input:hover,
.at-group-settings .at-field textarea:hover,
.at-group-settings .at-field select:hover { border-color:#3a4858; }
.at-group-settings .at-field input:focus,
.at-group-settings .at-field textarea:focus,
.at-group-settings .at-field select:focus {
  border-color:#5f9fe9;
  outline:0;
  box-shadow:0 0 0 3px rgba(95,159,233,.12);
}
.at-group-settings .at-field > span { color:#dbe3ec; }
.at-group-settings .at-field small { color:#778494; line-height:1.45; }
.at-group-media-settings { gap:12px; }
.at-group-media-settings .at-media-setting { margin:0; }

.at-group-settings-summary { padding:0; overflow:hidden; border-radius:16px; }
.at-group-settings-summary__cover {
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:142px;
  padding:16px;
  border-bottom:1px solid #27313c;
  background:radial-gradient(circle at 72% 16%,rgba(91,151,231,.24),transparent 38%),linear-gradient(135deg,#152130,#0c1219);
  background-size:cover;
  background-position:center;
}
.at-group-settings-summary__cover::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 32%,rgba(8,12,18,.64) 100%);
  pointer-events:none;
}
.at-group-settings-summary__cover > img,
.at-group-settings-summary__cover > span {
  position:relative;
  z-index:1;
  width:76px;
  height:76px;
  flex:0 0 76px;
  border:3px solid rgba(255,255,255,.9);
  border-radius:18px;
  object-fit:cover;
  background:#211d2c;
  box-shadow:0 10px 26px rgba(0,0,0,.32);
}
.at-group-settings-summary__cover > span {
  display:grid;
  place-items:center;
  color:#b7a8ff;
  font-size:20px;
  font-weight:900;
}
.at-group-settings-summary__body { padding:18px; }
.at-group-settings-summary__body h2 {
  margin:5px 0 5px;
  overflow:hidden;
  color:#f2f5f8;
  font-size:21px;
  line-height:1.25;
  text-overflow:ellipsis;
}
.at-group-settings-summary__body > p {
  margin:0;
  color:#8795a6;
  font-size:11px;
  line-height:1.5;
}
.at-group-settings-summary__link { width:100%; min-height:36px; }

.at-group-settings-save { padding:18px; border-radius:16px; }
.at-group-settings-save h2 { margin:5px 0 7px; font-size:18px; }
.at-group-settings-save p { margin:0 0 14px; color:#858893; font-size:11px; line-height:1.55; }
.at-group-settings-save .at-button { width:100%; min-height:39px; }

@media (max-width:1040px) {
  .at-group-settings__grid { grid-template-columns:minmax(0,1fr) 310px; }
}
@media (max-width:860px) {
  .at-group-settings__grid { grid-template-columns:1fr; }
  .at-group-settings__sidebar {
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:680px) {
  .at-group-settings { width:min(100% - 22px,1260px); margin-top:26px; }
  .at-group-settings .at-settings-fields--two { grid-template-columns:1fr; }
  .at-group-settings__date-field { max-width:none; }
  .at-group-settings__sidebar { grid-template-columns:1fr; }
  .at-group-settings-card { padding:17px; }
  .at-group-settings .at-media-setting,
  .at-group-settings .at-media-setting--banner { grid-template-columns:88px minmax(0,1fr); }
  .at-group-settings .at-media-setting__preview--banner { height:72px; }
}


.at-group-settings-summary__body > .at-kicker {
  display:block;
  margin:0 0 2px;
  line-height:1.2;
}
.at-group-settings-summary__body h2 {
  margin:0 0 5px;
}
.at-group-settings-summary__stats--single {
  grid-template-columns:1fr;
}
.at-group-settings-summary__stats--single > div {
  justify-content:space-between;
}
.at-group-settings-summary__stats--single > div + div {
  border-left:0;
}

.at-public-profile--v2 .at-profile-edit-link,
.at-group-profile--v5 .at-group-edit-link {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:36px !important;
  min-width:0 !important;
  min-height:36px !important;
  max-height:36px !important;
  padding:0 13px !important;
  border:1px solid #3b4653 !important;
  border-radius:9px !important;
  background:rgba(17,20,24,.88) !important;
  color:#edf2f7 !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:1 !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  box-shadow:0 8px 22px rgba(0,0,0,.18) !important;
  backdrop-filter:blur(10px);
  transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
.at-public-profile--v2 .at-profile-edit-link:hover,
.at-group-profile--v5 .at-group-edit-link:hover {
  border-color:#65569a !important;
  background:#1a2028 !important;
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.24) !important;
}
.at-public-profile--v2 .at-profile-edit-link:focus-visible,
.at-group-profile--v5 .at-group-edit-link:focus-visible {
  outline:2px solid rgba(93,131,173,.7) !important;
  outline-offset:2px;
}
@media (max-width:680px) {
  .at-public-profile--v2 .at-profile-edit-link,
  .at-group-profile--v5 .at-group-edit-link {
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    padding:0 10px !important;
    font-size:10px !important;
  }
}

/* 2.5 – multi-fansub account compatibility */
.at-user-groups-list{display:grid;gap:10px}
.at-user-groups-list .at-user-group-card{margin:0}
.at-group-settings-switcher{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:8px 10px;border:1px solid #303039;border-radius:10px;background:#151a1f}
.at-group-settings-switcher label{color:#858893;font-size:10px;font-weight:750}
.at-group-settings-switcher select{min-width:220px;min-height:36px;padding:0 30px 0 10px;border:1px solid #383842;border-radius:8px;outline:0;background:#121216;color:#e4e4e9;font-size:10px}
.at-group-settings-switcher select:focus{border-color:#527da9;box-shadow:0 0 0 2px rgba(90,169,255,.08)}
@media(max-width:620px){.at-group-settings-switcher{align-items:stretch;flex-direction:column}.at-group-settings-switcher select{width:100%;min-width:0}}


/* =========================================================
   AnimeTitulky.com – sjednocený header 3.11
   Zachovává rozložení Blocksy, mění pouze vizuální jazyk.
   ========================================================= */
.at-site-header {
  --at-header-accent:#655a80;
  --at-header-accent-hover:#786b96;
  --at-header-accent-soft:rgba(118,82,244,.055);
  --at-header-bg:#111113;
  --at-header-surface:#18181b;
  --at-header-surface-hover:#1e1d23;
  --at-header-border:#303038;
  --at-header-border-hover:#45414d;
  --at-header-text:#f2f1f6;
  --at-header-muted:#8a8795;
}

/* Oddělení řádků headeru zůstává subtilní, ale ladí s grafitovým panelem. */
.at-site-header [data-row],
.at-site-header .ct-header-row,
.at-site-header .ct-container-fluid {
  border-color:var(--at-header-border) !important;
}

/* Vyhledávač šablony. Třída se doplní pouze skutečnému poli v headeru. */
.at-site-header__search {
  position:relative;
}
.at-site-header__search-input,
.at-site-header input[type="search"] {
  min-height:42px !important;
  background:var(--at-header-surface) !important;
  border:1px solid var(--at-header-border) !important;
  border-radius:12px !important;
  color:var(--at-header-text) !important;
  box-shadow:none !important;
  outline:none !important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease !important;
}
.at-site-header__search-input::placeholder,
.at-site-header input[type="search"]::placeholder {
  color:#777482 !important;
  opacity:1 !important;
}
.at-site-header__search-input:hover,
.at-site-header input[type="search"]:hover {
  background:#1b1a1f !important;
  border-color:#3b3943 !important;
}
.at-site-header__search-input:focus,
.at-site-header input[type="search"]:focus {
  background:#1a191d !important;
  border-color:#5b536a !important;
  box-shadow:0 0 0 2px var(--at-header-accent-soft) !important;
}
.at-site-header__search:focus-within svg,
.at-site-header__search:focus-within [class*="search"] svg {
  color:#91899f !important;
  stroke:#91899f !important;
}

/* Profil v headeru navazuje na stejné plochy a akcent jako překladatelský panel. */
.at-site-header .at-header-account__trigger {
  border-color:var(--at-header-border);
  background:var(--at-header-surface);
}
.at-site-header .at-header-account__trigger:hover,
.at-site-header .at-header-account.is-open .at-header-account__trigger {
  border-color:var(--at-header-border-hover);
  background:var(--at-header-surface-hover);
}
.at-site-header .at-header-account__trigger:focus-visible {
  outline-color:var(--at-header-accent);
}
.at-site-header .at-header-account__chevron { stroke:#8b8797; }
.at-site-header .at-header-account__dropdown {
  border-color:#35323d;
  background:rgba(20,19,24,.985);
  box-shadow:0 20px 52px rgba(0,0,0,.48);
}
.at-site-header .at-header-account__divider { background:#302d37; }
.at-site-header .at-header-account__item:hover {
  background:var(--at-header-accent-soft);
  color:#fff !important;
}
.at-site-header .at-header-account__item:not(.at-header-account__item--logout):hover svg {
  stroke:#8e849e;
}

@media (max-width:620px) {
  .at-site-header__search-input,
  .at-site-header input[type="search"] { min-height:40px !important; }
}

.at-site-header .at-header-account__item:not(.at-header-account__item--logout):hover svg {
  stroke:#8b6cff !important;
}


/* ========================================================================== */
/* Grafit + tlumená fialová. Zelená/oranžová/červená zůstávají stavové barvy. */
/* ========================================================================== */

/* Účty, registrace, přihlášení a obecné formuláře */
.at-auth-card,
.at-profile:not(.at-public-profile--v2),
.at-dashboard,
.at-panel,
.at-anime-card {
  --at-accent:#7652f4;
  --at-accent-hover:#8668fa;
  --at-accent-soft:rgba(118,82,244,.12);
}
.at-auth-card,
.at-dashboard .at-panel,
.at-dashboard .at-anime-card,
.at-profile-settings > .at-panel,
.at-security-panel.at-panel {
  border-color:#2d2d34;
  background:linear-gradient(180deg,#19191d 0%,#151517 100%);
}
.at-auth-card__eyebrow,
.at-kicker { color:#9b84ff; }
.at-auth-card__footer a,
.at-password-toggle { color:#aa99ff; }
.at-field { color:#d7d7dd; }
.at-field input,
.at-field textarea,
.at-field select {
  border-color:#34343d;
  background:#121216;
  color:#f4f4f6;
}
.at-field input:hover,
.at-field textarea:hover,
.at-field select:hover { border-color:#454550; }
.at-field input:focus,
.at-field textarea:focus,
.at-field select:focus {
  border-color:#7652f4;
  box-shadow:0 0 0 3px rgba(118,82,244,.12);
}
.at-field small { color:#858893; }
.at-button--primary {
  background:linear-gradient(180deg,#7652f4,#6847e5);
  color:#fff !important;
}
.at-button--primary:hover { background:linear-gradient(180deg,#8363f7,#7252e7); }
.at-button--ghost {
  border-color:#393944;
  background:#19191e;
  color:#dedee5 !important;
}
.at-button--ghost:hover { border-color:#5a4c87; background:#1e1d24; }
.at-check input { accent-color:#7652f4; }
.at-menu-link {
  border-color:#32323b;
  background:#151519;
  color:#dedee5 !important;
}
.at-menu-link:hover { border-color:#574782; background:#1b1a20; }
.at-anime-card__fallback { background:#211d2c; color:#a996ff; }
.at-episode-form-wrap summary { color:#a996ff; }
.at-episode-form-wrap[open] summary { background:rgba(118,82,244,.07); }

/* Uživatelský profil */
.at-public-profile--v2 {
  --at-user-panel:#151617;
  --at-user-panel-soft:#121314;
  --at-user-line:#2d2d34;
  --at-user-line-soft:#24242a;
  --at-user-text:#f4f4f6;
  --at-user-muted:#92959f;
  --at-user-accent:#9b84ff;
}
.at-user-hero {
  border-color:#303038;
  background:
    radial-gradient(circle at 76% 18%,rgba(118,82,244,.17),transparent 34%),
    linear-gradient(135deg,#18181c,#101012);
}
.at-public-profile--v2 .at-badge {
  border-color:rgba(155,132,255,.34);
  background:rgba(18,17,23,.74);
  color:#b7a8ff;
}
.at-public-profile--v2 .at-profile-edit-link:hover {
  border-color:#65569a !important;
  background:#1c1b22 !important;
}
.at-public-profile--v2 .at-profile-edit-link:focus-visible { outline-color:rgba(118,82,244,.65) !important; }
.at-user-section-heading .at-kicker,
.at-user-group-card__body small { color:#9b84ff; }
.at-user-group-card { border-color:#2d2d34; background:#131316; }
.at-user-group-card:hover { border-color:#574782; background:#18171c; }
.at-user-group-card__avatar { border-color:#383842; background:#1c1a22; color:#a996ff; }
.at-user-group-card__arrow { color:#8c7bd4; }
.at-user-group-card:hover .at-user-group-card__arrow { color:#b3a4ff; }
.at-user-stats-list { border-color:#24242a; background:#24242a; }
.at-user-stat { background:#121215; }

/* Veřejný profil skupiny */
.at-group-profile--v5 {
  --at-fs-bg:#101112;
  --at-fs-panel:#151617;
  --at-fs-panel-soft:#121314;
  --at-fs-line:#2d2d34;
  --at-fs-line-soft:#24242a;
  --at-fs-text:#f4f4f6;
  --at-fs-muted:#92959f;
  --at-fs-muted-2:#747781;
  --at-fs-accent:#9b84ff;
}
.at-group-hero--v5 {
  border-color:#303038;
  background:
    radial-gradient(circle at 78% 18%,rgba(118,82,244,.15),transparent 36%),
    linear-gradient(135deg,#18181c,#101012);
}
.at-group-hero--v5 .at-group-avatar { background:#19191d; color:#a996ff; }
.at-group-hero--v5 .at-group-eyebrow {
  border-color:rgba(155,132,255,.34);
  background:rgba(17,16,21,.74);
  color:#b7a8ff;
}
.at-group-profile--v5 .at-group-edit-link:hover {
  border-color:#65569a !important;
  background:#1c1b22 !important;
}
.at-group-profile--v5 .at-group-edit-link:focus-visible { outline-color:rgba(118,82,244,.65) !important; }
.at-group-release-card { border-color:#2b2b32; background:#121215; }
.at-group-release-card:hover { border-color:#574782; background:#17161b; }
.at-group-release-card__fallback,
.at-group-release-card__episode-info b { color:#9b84ff; }
.at-group-profile--v5 .at-group-leader-card > a { color:#9482df !important; }
.at-group-profile--v5 .at-group-leader-card > a:hover { color:#b7a8ff !important; }
.at-group-profile--v5 .at-group-member-card__role { color:#9b84ff; }
.at-group-profile--v5 a.at-group-member-card--v4:hover,
.at-group-profile--v5 .at-group-project-tile:hover { border-color:#574782; }
.at-group-project-tile__status--active { color:#a996ff; border-color:rgba(155,132,255,.32); }
.at-group-project-tile__status--planned { color:#b9a8ff; border-color:rgba(185,168,255,.28); }

/* Seznamy členů a skupin */
.at-group-mini__fallback { background:#211d2c; color:#a996ff; }
.at-group-mini__arrow { color:#9382df; }
.at-member-card:hover,
.at-group-card:hover { border-color:#574782; }
.at-member-card__body > em { color:#a392ee; }

/* Nastavení profilu/skupiny mimo překladatelskou zónu */
.at-settings-card,
.at-group-settings-card { border-color:#2d2d34; background:#151617; }
.at-media-setting,
.at-group-settings-switcher { border-color:#303039; background:#17171b; }
.at-media-setting:hover { border-color:#4e426f; }
.at-file-button { border-color:#393943; background:#1a1a1f; color:#dedee5 !important; }
.at-file-button:hover { border-color:#7652f4; color:#fff !important; }
.at-group-settings-switcher select { border-color:#383842; background:#121216; color:#e4e4e9; }
.at-group-settings-switcher select:focus { border-color:#7652f4; box-shadow:0 0 0 2px rgba(118,82,244,.11); }
.at-group-settings-summary__cover > span { color:#a996ff; }
.at-group-settings-summary__stats { border-color:#2d2d34; background:#121216; }
.at-group-settings-summary__stats > div + div { border-left-color:#2d2d34; }

/* Header: neutrální text, fialová pouze jako jemná interakce. */
.at-site-header { --at-header-accent:#7652f4; --at-header-accent-hover:#8668fa; --at-header-accent-soft:rgba(118,82,244,.07); }
.at-site-header .at-header-account__trigger:focus-visible { outline-color:rgba(118,82,244,.64); }
.at-site-header .at-header-account__item:not(.at-header-account__item--logout):hover svg { stroke:#8b6cff !important; }

.at-community-directory .at-panel,
.at-group-manage .at-panel {
  border-color:#2d2d34;
  background:linear-gradient(180deg,#19191d,#151517);
}
.at-group-mini {
  border-color:#2d2d34;
  background:#131316;
}
.at-group-mini:hover { border-color:#574782; background:#18171c; }
.at-member-card,
.at-group-card,
.at-community-anime {
  border-color:#2d2d34;
  background:linear-gradient(180deg,#19191d,#151517);
}
.at-member-card:hover,
.at-group-card:hover,
.at-community-anime:hover { border-color:#574782; }
.at-member-card__body > em,
.at-group-card__body em { color:#a392ee; }
.at-group-hero,
.at-group-manage__hero {
  border-color:#303038;
  background:
    radial-gradient(circle at 78% 16%,rgba(118,82,244,.16),transparent 34%),
    linear-gradient(135deg,#18181c,#101012);
}
.at-group-eyebrow,
.at-group-edit-details > summary { color:#b7a8ff; }
.at-group-project-filters button.is-active {
  border-color:#65569a;
  background:#211c2c;
  color:#eeeaff;
}
.at-status-dot--active { background:#7652f4; }
.at-group-project-card__progress i,
.at-translator-progress span { background:linear-gradient(90deg,#6847e5,#8668fa); }

/* ========================================================================== */
/* ========================================================================== */

/* Veřejný profil: oddělit O mně od seznamu skupin. */
.at-public-profile--v2 .at-user-groups-list {
  margin-top:16px;
}

/* Základní informace: klikací je pouze skutečný popisek/ovládací prvek,
   nikoli prázdná plocha celé buňky gridu. */
.at-profile-settings .at-field > label,
.at-group-settings .at-field > label {
  display:inline-block;
  justify-self:start;
  color:#d7d7dd;
  font-size:13px;
  font-weight:650;
  line-height:1.35;
  cursor:pointer;
}
.at-profile-settings .at-field--identity > label,
.at-profile-settings .at-field--identity > input,
.at-profile-settings .at-field--identity > small {
  width:100%;
  min-width:0;
}

/* Editace profilu — stejná grafitově-fialová paleta jako galerie a panel. */
.at-profile-settings {
  --at-settings-surface:#151617;
  --at-settings-surface-2:#121216;
  --at-settings-line:#2d2d34;
  --at-settings-line-soft:#24242a;
  --at-settings-text:#f4f4f6;
  --at-settings-muted:#92959f;
  --at-settings-accent:#7652f4;
}
.at-profile-settings .at-panel,
.at-profile-settings .at-settings-card,
.at-profile-settings .at-security-panel {
  border-color:#2d2d34 !important;
  background:linear-gradient(180deg,#19191d 0%,#151517 100%) !important;
  box-shadow:0 14px 36px rgba(0,0,0,.18) !important;
}
.at-profile-settings .at-field input,
.at-profile-settings .at-field textarea,
.at-profile-settings .at-field select,
.at-profile-settings .at-password-wrap {
  border-color:#34343d !important;
  background:#121216 !important;
  color:#f4f4f6 !important;
}
.at-profile-settings .at-field input:hover,
.at-profile-settings .at-field textarea:hover,
.at-profile-settings .at-field select:hover {
  border-color:#454550 !important;
}
.at-profile-settings .at-field input:focus,
.at-profile-settings .at-field textarea:focus,
.at-profile-settings .at-field select:focus {
  border-color:#7652f4 !important;
  box-shadow:0 0 0 3px rgba(118,82,244,.11) !important;
  outline:0 !important;
}
.at-profile-settings .at-media-setting {
  border-color:#303039 !important;
  background:#17171b !important;
}
.at-profile-settings .at-media-setting:hover {
  border-color:#4e426f !important;
  background:#1a191f !important;
}
.at-profile-settings .at-media-setting__preview {
  border-color:#34343d !important;
  background:#121216 !important;
  color:#9b84ff !important;
}
.at-profile-settings .at-file-button {
  border-color:#3a3944 !important;
  background:#1a1a1f !important;
  color:#dedee5 !important;
}
.at-profile-settings .at-file-button:hover {
  border-color:#7652f4 !important;
  color:#fff !important;
}
.at-profile-settings .at-anime-picker-count {
  border-color:#3d3652 !important;
  background:#19171f !important;
  color:#b5a2ff !important;
}
.at-profile-settings .at-settings-savebar {
  border-color:#2d2d34 !important;
  background:#17171b !important;
}
.at-profile-settings .at-button--secondary {
  border-color:#3b3947 !important;
  background:#1a191f !important;
  color:#ddd9ee !important;
}
.at-profile-settings .at-button--secondary:hover {
  border-color:#65569a !important;
  background:#211e29 !important;
  color:#fff !important;
}
.at-password-recovery-link {
  display:block;
  margin-top:2px;
  color:#a996ff !important;
  font-size:11px;
  font-weight:700;
  text-align:center;
  text-decoration:none !important;
}
.at-password-recovery-link:hover { color:#c5b8ff !important; text-decoration:underline !important; }

/* Nastavení skupiny — stejná paleta, správné klikací oblasti. */
.at-group-settings {
  --at-settings-surface:#151617;
  --at-settings-surface-2:#121216;
  --at-settings-line:#2d2d34;
  --at-settings-line-soft:#24242a;
  --at-settings-text:#f4f4f6;
  --at-settings-muted:#92959f;
  --at-settings-accent:#7652f4;
}
.at-group-settings .at-panel,
.at-group-settings .at-settings-card {
  border-color:#2d2d34 !important;
  background:linear-gradient(180deg,#19191d 0%,#151517 100%) !important;
}
.at-group-settings .at-field input,
.at-group-settings .at-field textarea,
.at-group-settings .at-field select {
  border-color:#34343d !important;
  background:#121216 !important;
  color:#f4f4f6 !important;
}
.at-group-settings .at-field input:hover,
.at-group-settings .at-field textarea:hover,
.at-group-settings .at-field select:hover { border-color:#454550 !important; }
.at-group-settings .at-field input:focus,
.at-group-settings .at-field textarea:focus,
.at-group-settings .at-field select:focus {
  border-color:#7652f4 !important;
  box-shadow:0 0 0 3px rgba(118,82,244,.11) !important;
  outline:0 !important;
}
.at-group-settings .at-media-setting--button-only,
.at-profile-settings .at-media-setting--button-only {
  cursor:default !important;
}
.at-group-settings .at-media-setting--button-only {
  border-color:#303039 !important;
  background:#17171b !important;
}
.at-group-settings .at-media-setting--button-only:hover {
  border-color:#303039 !important;
  background:#17171b !important;
}
.at-profile-settings .at-media-setting--button-only:hover {
  border-color:var(--at-settings-line-soft) !important;
  background:#0e1319 !important;
}
.at-group-settings .at-media-setting--button-only .at-file-button,
.at-profile-settings .at-media-setting--button-only .at-file-button {
  cursor:pointer !important;
  user-select:none;
}
.at-group-settings .at-media-setting__preview {
  border-color:#34343d !important;
  background:#121216 !important;
  color:#9b84ff !important;
}
.at-group-settings .at-file-button {
  border-color:#3a3944 !important;
  background:#1a1a1f !important;
  color:#dedee5 !important;
}
.at-group-settings .at-file-button:hover {
  border-color:#7652f4 !important;
  color:#fff !important;
}

/* Projekty na veřejném profilu skupiny: stav jako tmavý štítek galerie. */
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__status,
.at-group-profile--v5 .at-group-project-tile__status--active,
.at-group-profile--v5 .at-group-project-tile__status--done,
.at-group-profile--v5 .at-group-project-tile__status--planned,
.at-group-profile--v5 .at-group-project-tile__status--paused {
  display:inline-flex !important;
  align-items:center !important;
  min-height:20px !important;
  padding:4px 7px !important;
  border:1px solid rgba(222,232,241,.22) !important;
  border-radius:6px !important;
  background:rgba(12,14,17,.92) !important;
  color:#f2f3f5 !important;
  font-size:8px !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

/* 2FA uvnitř editace profilu: neutrální plochy, stavové barvy jen pro stav. */
.at-profile-settings .at-setup-box,
.at-profile-settings .at-recovery-box,
.at-profile-settings .at-secret-key {
  border-color:#303039 !important;
  background:#121216 !important;
}
.at-profile-settings .at-secret-key code { color:#b5a2ff !important; }
.at-profile-settings .at-setup-reset button { color:#a996ff !important; }
.at-profile-settings .at-setup-reset button:hover { color:#c5b8ff !important; }
.at-profile-settings .at-recovery-box {
  border-color:rgba(77,184,124,.28) !important;
  background:rgba(47,134,85,.07) !important;
}
.at-profile-settings .at-recovery-codes code {
  border-color:rgba(77,184,124,.20) !important;
  background:#111315 !important;
}

/* Header search skin je v Accounts CSS také, aby vzhled zůstal aktivní i na
   stránkách, kde by se modul galerie nenačetl jako první. */
.at-site-header .at-site-header__search-input,
.at-site-header input[type="search"] {
  border-color:#35313c !important;
  background:#17161b !important;
  color:#f2f2f5 !important;
}
.at-site-header .at-site-header__search-input::placeholder,
.at-site-header input[type="search"]::placeholder { color:#77737f !important; }
.at-site-header .at-site-header__search-input:hover,
.at-site-header input[type="search"]:hover { border-color:#45404a !important; }
.at-site-header .at-site-header__search-input:focus,
.at-site-header input[type="search"]:focus {
  border-color:#5a506d !important;
  box-shadow:0 0 0 2px rgba(118,82,244,.05) !important;
}

/* ========================================================================== */
/* ========================================================================== */
.at-group-profile--v5 .at-group-project-tile__status--done,
.at-project-status--done{
  border-color:rgba(88,200,137,.40) !important;
  background:rgba(36,111,72,.16) !important;
  color:#72daa2 !important;
}
.at-group-profile--v5 .at-group-project-tile__status--active,
.at-group-profile--v5 .at-group-project-tile__status--paused,
.at-project-status--active,
.at-project-status--paused{
  border-color:rgba(226,166,75,.42) !important;
  background:rgba(129,82,20,.17) !important;
  color:#edb15a !important;
}
.at-group-profile--v5 .at-group-project-tile__status--planned,
.at-project-status--planned{
  border-color:rgba(118,82,244,.44) !important;
  background:rgba(82,57,177,.18) !important;
  color:#b19cff !important;
}

.at-group-profile--v5 .at-group-latest--v5 {
  margin-top:18px;
  padding-top:15px;
  border-top:1px solid #24242a;
}
.at-group-profile--v5 .at-group-latest__heading--mini {
  align-items:flex-end;
  margin-bottom:9px;
}
.at-group-profile--v5 .at-group-latest__heading--mini h3 {
  color:#f0f0f3;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-latest__heading--mini span {
  margin-top:3px;
  color:#777781;
  font-size:8px;
  line-height:1.35;
}
.at-group-profile--v5 .at-group-mini-releases {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  min-width:0;
}
.at-group-profile--v5 .at-group-mini-release {
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid #2b2b32;
  border-radius:10px;
  background:linear-gradient(180deg,#17171b 0%,#131316 100%);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.at-group-profile--v5 .at-group-mini-release:hover {
  border-color:#574782;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.at-group-profile--v5 .at-group-mini-release__main {
  display:block;
  min-width:0;
  flex:1;
  color:inherit !important;
  text-decoration:none !important;
}
.at-group-profile--v5 .at-group-mini-release__cover {
  position:relative;
  display:block;
  overflow:hidden;
  width:100%;
  aspect-ratio:16/8.8;
  background:#101012;
}
.at-group-profile--v5 .at-group-mini-release__cover img,
.at-group-profile--v5 .at-group-mini-release__fallback {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease,filter .25s ease;
}
.at-group-profile--v5 .at-group-mini-release:hover .at-group-mini-release__cover img {
  transform:scale(1.025);
  filter:brightness(.96);
}
.at-group-profile--v5 .at-group-mini-release__fallback {
  display:grid;
  place-items:center;
  color:#9b84ff;
  font-size:12px;
  font-weight:900;
}
.at-group-profile--v5 .at-group-mini-release__shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.01) 48%,rgba(0,0,0,.28) 100%);
  pointer-events:none;
}
.at-group-profile--v5 .at-group-mini-release__copy {
  display:block;
  min-width:0;
  padding:7px 8px 6px;
}
.at-group-profile--v5 .at-group-mini-release__copy > strong {
  display:block;
  min-width:0;
  overflow:hidden;
  color:#f1f1f4;
  font-size:9px;
  font-weight:800;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-mini-release__episode {
  display:flex;
  align-items:center;
  min-width:0;
  gap:3px;
  margin-top:3px;
  color:#888791;
  font-size:7.25px;
  line-height:1.3;
}
.at-group-profile--v5 .at-group-mini-release__episode b {
  flex:0 0 auto;
  color:#a996ff;
  font-weight:750;
}
.at-group-profile--v5 .at-group-mini-release__episode i {
  flex:0 0 auto;
  color:#50505a;
  font-style:normal;
}
.at-group-profile--v5 .at-group-mini-release__episode span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-mini-release__copy > small {
  display:block;
  margin-top:4px;
  color:#686873;
  font-size:6.75px;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-mini-release__actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) 29px;
  gap:5px;
  padding:6px;
  border-top:1px solid #24242a;
  background:#121215;
}
.at-group-profile--v5 .at-group-mini-release__download {
  min-width:0;
  min-height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:4px 7px;
  border:1px solid #34343c;
  border-radius:6px;
  background:#1a1a1f;
  color:#c8c7ce !important;
  font-size:7.5px;
  font-weight:750;
  line-height:1;
  text-decoration:none !important;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.at-group-profile--v5 .at-group-mini-release__download:hover {
  border-color:#574782;
  background:#201e26;
  color:#fff !important;
}
.at-group-profile--v5 .at-group-mini-release__download svg {
  width:10px;
  height:10px;
  flex:0 0 10px;
}
.at-group-profile--v5 .at-group-mini-release__download.is-disabled {
  color:#62626b !important;
  cursor:default;
}
.at-group-profile--v5 .at-group-mini-release__heart {
  width:29px;
  height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid #34343c;
  border-radius:6px;
  background:#1a1a1f;
  color:#7f7d87;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.at-group-profile--v5 .at-group-mini-release__heart:hover {
  border-color:#4b4b55;
  background:#1f1f24;
  color:#aaa8b0;
}
.at-group-profile--v5 .at-group-mini-release__heart svg {
  width:13px;
  height:13px;
  fill:transparent;
  stroke:currentColor;
  stroke-width:1.8;
  transition:fill .15s ease,stroke .15s ease,transform .15s ease;
}
.at-group-profile--v5 .at-group-mini-release__heart.is-hearted {
  border-color:rgba(239,68,68,.30);
  background:rgba(239,68,68,.07);
  color:#ef4444;
}
.at-group-profile--v5 .at-group-mini-release__heart.is-hearted svg {
  fill:#ef4444;
  stroke:#ef4444;
}
.at-group-profile--v5 .at-group-mini-release__heart:active svg { transform:scale(.82); }
.at-group-profile--v5 .at-group-mini-release__heart.is-loading { opacity:.65; pointer-events:none; }

@media (max-width:980px) {
  .at-group-profile--v5 .at-group-mini-releases {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:560px) {
  .at-group-profile--v5 .at-group-mini-releases {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .at-group-profile--v5 .at-group-mini-release__download span { display:none; }
  .at-group-profile--v5 .at-group-mini-release__download { padding:4px; }
}

.at-group-profile--v5 .at-group-latest--v5 {
  margin-top:18px;
  padding:14px 15px 15px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(22,21,28,.97),rgba(17,17,22,.99));
}
.at-group-profile--v5 .at-group-latest__heading--mini {
  display:flex;
  align-items:center;
  margin:0 0 13px;
}
.at-group-profile--v5 .at-group-latest__heading--mini h3 {
  position:relative;
  margin:0 !important;
  padding:0 0 0 12px !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:850 !important;
  line-height:1.2 !important;
  letter-spacing:-.015em;
  text-transform:none;
}
.at-group-profile--v5 .at-group-latest__heading--mini h3::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:16px;
  border-radius:3px;
  background:#8b5cf6;
  transform:translateY(-50%);
}
.at-group-profile--v5 .at-group-mini-releases {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:13px;
  min-width:0;
}
.at-group-profile--v5 .at-group-mini-release {
  min-width:0;
  overflow:visible;
  display:block;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transition:none;
}
.at-group-profile--v5 .at-group-mini-release:hover {
  border:0;
  background:transparent;
  transform:none;
  box-shadow:none;
}
.at-group-profile--v5 .at-group-mini-release__main {
  display:block;
  min-width:0;
  height:100%;
  color:inherit !important;
  text-decoration:none !important;
}
.at-group-profile--v5 .at-group-mini-release__cover {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:5/7;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:6px;
  background:#101012;
  box-shadow:0 7px 18px rgba(0,0,0,.14);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.at-group-profile--v5 .at-group-mini-release__cover img,
.at-group-profile--v5 .at-group-mini-release__fallback {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .24s ease,filter .24s ease;
}
.at-group-profile--v5 .at-group-mini-release__fallback {
  display:grid;
  place-items:center;
  color:#b6a4ff;
  font-size:12px;
  font-weight:900;
}
.at-group-profile--v5 .at-group-mini-release:hover .at-group-mini-release__cover {
  border-color:rgba(139,92,246,.34);
  transform:translateY(-1px);
  box-shadow:0 9px 22px rgba(0,0,0,.19);
}
.at-group-profile--v5 .at-group-mini-release:hover .at-group-mini-release__cover img {
  transform:scale(1.018);
  filter:brightness(.97);
}
.at-group-profile--v5 .at-group-mini-release__shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 62%,rgba(0,0,0,.10) 100%);
  pointer-events:none;
}
.at-group-profile--v5 .at-group-mini-release__copy {
  display:block;
  min-width:0;
  padding:8px 1px 0;
}
.at-group-profile--v5 .at-group-mini-release__copy > strong {
  display:-webkit-box;
  min-width:0;
  overflow:hidden;
  margin:0;
  color:#fff !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
  letter-spacing:-.01em;
  text-overflow:ellipsis;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.at-group-profile--v5 .at-group-mini-release__episode {
  display:block;
  min-width:0;
  margin-top:5px;
  overflow:hidden;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-mini-release__episode b {
  display:block;
  min-width:0;
  margin:0;
  overflow:hidden;
  color:#b6a6f7;
  font-size:9px;
  font-weight:800;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-mini-release__episode i {
  display:none !important;
}
.at-group-profile--v5 .at-group-mini-release__episode span {
  display:block;
  min-width:0;
  margin-top:2px;
  overflow:hidden;
  color:#c9c6cf;
  font-size:8.7px;
  font-weight:600;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-mini-release__copy > small {
  display:block;
  margin-top:5px;
  color:#96919e;
  font-size:8px;
  font-weight:600;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-mini-release__actions {
  display:none !important;
}

@media (max-width:1180px) {
  .at-group-profile--v5 .at-group-mini-releases { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:940px) {
  .at-group-profile--v5 .at-group-mini-releases { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .at-group-profile--v5 .at-group-mini-releases { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
}
@media (max-width:470px) {
  .at-group-profile--v5 .at-group-latest--v5 { padding:12px; }
  .at-group-profile--v5 .at-group-latest__heading--mini h3 { font-size:12.5px !important; }
  .at-group-profile--v5 .at-group-mini-releases { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
}

.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile {
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:stretch;
  gap:10px;
  min-width:0;
  min-height:88px;
  padding:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(24,24,29,.98),rgba(18,18,22,.99));
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile:hover {
  border-color:rgba(139,92,246,.30);
  background:linear-gradient(145deg,rgba(27,27,33,.99),rgba(20,20,25,.99));
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025);
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__poster {
  display:block;
  width:52px;
  height:72px;
  align-self:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  border-radius:6px;
  background:#111114;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__poster img,
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__fallback {
  width:100%;
  height:100%;
  object-fit:cover;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__body {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:1px 0;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__body > strong {
  display:-webkit-box;
  min-width:0;
  overflow:hidden;
  margin:0;
  color:#fff !important;
  font-size:10.5px !important;
  font-weight:800 !important;
  line-height:1.28 !important;
  letter-spacing:-.01em;
  white-space:normal;
  text-overflow:ellipsis;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.at-group-profile--v5 .at-group-project-tile__submeta {
  display:block;
  min-width:0;
  margin-top:2px;
  overflow:hidden;
  color:#77737f;
  font-size:7.4px;
  font-weight:600;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-project-tile__summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-top:6px;
  color:#8d8995;
  font-size:7.7px;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-project-tile__summary > span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-project-tile__summary b {
  color:#d9d5df;
  font-size:8.3px;
  font-weight:800;
}
.at-group-profile--v5 .at-group-project-tile__summary small {
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  color:#706d77;
  font-size:7px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-group-profile--v5 .at-group-project-tile__summary--done small {
  color:#75c894;
}
.at-group-profile--v5 .at-group-project-tile__summary--planned b {
  color:#b7a5f4;
}
.at-group-profile--v5 .at-group-project-tile__progress {
  display:block;
  width:100%;
  height:3px;
  margin-top:5px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.065);
}
.at-group-profile--v5 .at-group-project-tile__progress i {
  display:block;
  height:100%;
  border-radius:inherit;
  background:#8b5cf6;
}
.at-group-profile--v5 .at-group-project-tile__footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-top:auto;
  padding-top:6px;
  color:#6f6b76;
  font-size:7.2px;
  line-height:1;
}
.at-group-profile--v5 .at-group-project-tile__hearts {
  color:#b87280;
  font-style:normal;
  font-weight:700;
}
.at-group-profile--v5 .at-group-project-tile__open {
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#77737f;
  font-weight:700;
  white-space:nowrap;
  transition:color .16s ease;
}
.at-group-profile--v5 .at-group-project-tile__open i {
  color:#8b5cf6;
  font-size:12px;
  font-style:normal;
  line-height:.7;
}
.at-group-profile--v5 .at-group-project-tile:hover .at-group-project-tile__open {
  color:#aaa4b2;
}
.at-group-profile--v5 .at-group-project-tile__top,
.at-group-profile--v5 .at-group-project-tile__status,
.at-group-profile--v5 .at-group-project-tile__meta,
.at-group-profile--v5 .at-group-project-tile__arrow {
  display:none !important;
}
.at-group-profile--v5 .at-group-project-more {
  appearance:none;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  margin:11px auto 0;
  padding:7px 13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:7px;
  background:#19191e;
  color:#aaa6b1;
  font:inherit;
  font-size:8.5px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.at-group-profile--v5 .at-group-project-more:hover {
  border-color:rgba(139,92,246,.28);
  background:#1d1d23;
  color:#d3c9f8;
}
.at-group-profile--v5 .at-group-project-more[hidden] { display:none !important; }

@media (max-width:760px) {
  .at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tiles--v5 {
    grid-template-columns:1fr;
  }
}

.at-group-profile--v5 .at-group-project-tabs {
  gap:5px;
  margin-bottom:14px;
  padding:4px;
  border-color:rgba(255,255,255,.075);
  border-radius:10px;
  background:#16161a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.at-group-profile--v5 .at-group-project-tabs button {
  min-height:32px;
  padding:7px 10px;
  border-radius:7px;
  color:#96929e;
  font-size:9px;
  font-weight:800;
}
.at-group-profile--v5 .at-group-project-tabs button:hover {
  border-color:rgba(255,255,255,.08);
  background:#1c1c21;
  color:#d5d2da;
}
.at-group-profile--v5 .at-group-project-tabs button.is-active {
  border-color:rgba(139,92,246,.28);
  background:rgba(139,92,246,.085);
  color:#f2efff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.at-group-profile--v5 .at-group-project-tabs button b {
  min-width:18px;
  height:18px;
  padding:0 5px;
  background:rgba(255,255,255,.045);
  color:#85818d;
  font-size:8px;
}
.at-group-profile--v5 .at-group-project-tabs button.is-active b {
  background:rgba(139,92,246,.15);
  color:#c7b7ff;
}

.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile {
  grid-template-columns:54px minmax(0,1fr);
  gap:11px;
  min-height:92px;
  padding:9px;
  border-color:rgba(255,255,255,.085);
  background:linear-gradient(145deg,rgba(26,26,31,.99),rgba(19,19,23,.99));
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile:hover {
  border-color:rgba(139,92,246,.30);
  background:linear-gradient(145deg,rgba(29,29,35,.99),rgba(21,21,26,.99));
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__poster {
  width:54px;
  height:74px;
  border-color:rgba(255,255,255,.09);
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__body {
  padding:1px 0;
}
.at-group-profile--v5 .at-group-anime-section-v5 .at-group-project-tile__body > strong {
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.28 !important;
  letter-spacing:-.012em;
}
.at-group-profile--v5 .at-group-project-tile__submeta {
  margin-top:3px;
  color:#aaa6b1;
  font-size:8.7px;
  font-weight:600;
  line-height:1.3;
}
.at-group-profile--v5 .at-group-project-tile__summary {
  gap:9px;
  margin-top:7px;
  color:#b1adb7;
  font-size:8.8px;
  font-weight:600;
  line-height:1.25;
}
.at-group-profile--v5 .at-group-project-tile__summary b {
  color:#f0edf4;
  font-size:9.4px;
  font-weight:800;
}
.at-group-profile--v5 .at-group-project-tile__summary small {
  color:#918d98;
  font-size:8px;
  font-weight:600;
  line-height:1.2;
}
.at-group-profile--v5 .at-group-project-tile__summary--done small {
  color:#82cf9e;
}
.at-group-profile--v5 .at-group-project-tile__summary--planned b {
  color:#c4b6fb;
}
.at-group-profile--v5 .at-group-project-tile__progress {
  height:4px;
  margin-top:6px;
  background:rgba(255,255,255,.075);
}
.at-group-profile--v5 .at-group-project-tile__progress i {
  background:#8b5cf6;
}
.at-group-profile--v5 .at-group-project-tile__footer {
  gap:9px;
  padding-top:7px;
  color:#918d98;
  font-size:8.2px;
  line-height:1.1;
}
.at-group-profile--v5 .at-group-project-tile__hearts {
  color:#d08391;
  font-weight:750;
}
.at-group-profile--v5 .at-group-project-tile__open {
  color:#9a96a1;
  font-weight:700;
}
.at-group-profile--v5 .at-group-project-tile__open i {
  color:#a78bfa;
  font-size:13px;
}
.at-group-profile--v5 .at-group-project-tile:hover .at-group-project-tile__open {
  color:#cbc6d1;
}
.at-group-profile--v5 .at-group-project-filter-empty {
  border-color:rgba(255,255,255,.085);
  background:#16161a;
  color:#918d98;
}

/* 2FA – QR nastavení */
.at-profile-settings .at-2fa-setup-grid,
.at-security-panel .at-2fa-setup-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  width:100%;
  min-width:0;
  margin:15px 0 18px;
}
.at-profile-settings .at-2fa-qr-card,
.at-security-panel .at-2fa-qr-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-width:0;
  padding:16px;
  border:1px solid #303039;
  border-radius:13px;
  background:#111115;
}
.at-profile-settings .at-2fa-qr,
.at-security-panel .at-2fa-qr {
  display:grid !important;
  place-items:center !important;
  width:min(190px,100%) !important;
  height:auto !important;
  aspect-ratio:1 / 1;
  overflow:hidden !important;
  padding:8px !important;
  border:0 !important;
  border-radius:10px !important;
  background:#ffffff !important;
  color:#625e69 !important;
  font-size:11px !important;
  line-height:1.35 !important;
  text-align:center !important;
  box-shadow:0 8px 24px rgba(0,0,0,.22) !important;
}
.at-profile-settings .at-2fa-qr__svg,
.at-security-panel .at-2fa-qr__svg {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  background:#fff !important;
}
.at-profile-settings .at-2fa-qr.is-error,
.at-security-panel .at-2fa-qr.is-error {
  aspect-ratio:auto;
  min-height:150px;
  padding:18px !important;
  background:#17171c !important;
  color:#aaa6b1 !important;
  border:1px dashed #383842 !important;
  box-shadow:none !important;
}
.at-profile-settings .at-2fa-qr-card__hint,
.at-security-panel .at-2fa-qr-card__hint {
  display:block;
  max-width:230px;
  color:#8d8995;
  font-size:10.5px;
  line-height:1.45;
  text-align:center;
}
.at-profile-settings .at-2fa-manual,
.at-security-panel .at-2fa-manual {
  display:block;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid #303039;
  border-radius:11px;
  background:#151519;
}
.at-profile-settings .at-2fa-manual > summary,
.at-security-panel .at-2fa-manual > summary {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-width:0;
  padding:11px 13px;
  color:#d7d4dd;
  font-size:11px;
  line-height:1.3;
  font-weight:750;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.at-profile-settings .at-2fa-manual > summary::-webkit-details-marker,
.at-security-panel .at-2fa-manual > summary::-webkit-details-marker {
  display:none;
}
.at-profile-settings .at-2fa-manual > summary::after,
.at-security-panel .at-2fa-manual > summary::after {
  content:'+';
  flex:0 0 auto;
  color:#9b84ff;
  font-size:16px;
  line-height:1;
  font-weight:500;
}
.at-profile-settings .at-2fa-manual[open] > summary::after,
.at-security-panel .at-2fa-manual[open] > summary::after {
  content:'−';
}
.at-profile-settings .at-2fa-manual > summary:hover,
.at-security-panel .at-2fa-manual > summary:hover {
  background:rgba(255,255,255,.025);
  color:#fff;
}
.at-profile-settings .at-2fa-manual__content,
.at-security-panel .at-2fa-manual__content {
  min-width:0;
  padding:0 13px 13px;
  border-top:1px solid rgba(255,255,255,.055);
}
.at-profile-settings .at-2fa-manual__content > p,
.at-security-panel .at-2fa-manual__content > p {
  margin:11px 0 10px !important;
  color:#9996a1 !important;
  font-size:10.5px !important;
  line-height:1.5 !important;
}
.at-profile-settings .at-2fa-manual .at-secret-key,
.at-security-panel .at-2fa-manual .at-secret-key {
  display:block;
  width:100%;
  min-width:0;
  margin:0;
  padding:10px 11px;
  overflow:hidden;
  border-color:#34343d !important;
  background:#101014 !important;
}
.at-profile-settings .at-2fa-manual .at-secret-key span,
.at-security-panel .at-2fa-manual .at-secret-key span {
  display:block;
  margin-bottom:5px;
}
.at-profile-settings .at-2fa-manual .at-secret-key code,
.at-security-panel .at-2fa-manual .at-secret-key code {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  color:#d4c9ff !important;
  font-size:11px !important;
  line-height:1.4 !important;
  letter-spacing:.045em !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
.at-profile-settings .at-2fa-manual__meta,
.at-security-panel .at-2fa-manual__meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  min-width:0;
  margin-top:9px;
  color:#77747f;
  font-size:9.5px;
}
.at-profile-settings .at-2fa-manual__meta b,
.at-security-panel .at-2fa-manual__meta b {
  color:#aaa7b1;
  font-weight:700;
}
@media (max-width:480px) {
  .at-profile-settings .at-2fa-qr-card,
  .at-security-panel .at-2fa-qr-card {
    padding:13px;
  }
  .at-profile-settings .at-2fa-qr,
  .at-security-panel .at-2fa-qr {
    width:min(176px,100%) !important;
  }
}


.at-profile-settings .at-settings-main > .at-security-panel {
  width:100%;
  min-width:0;
  margin-top:16px;
}
.at-profile-settings .at-settings-main > .at-security-panel .at-security-head {
  align-items:flex-start;
}
.at-profile-settings .at-settings-main > .at-security-panel .at-2fa-setup-grid {
  max-width:520px;
}
.at-profile-settings .at-settings-main > .at-security-panel .at-2fa-qr-card {
  padding:18px;
}
.at-profile-settings .at-settings-main > .at-security-panel .at-2fa-qr {
  width:min(210px,100%) !important;
}
@media (max-width:760px) {
  .at-profile-settings .at-settings-main > .at-security-panel {
    margin-top:12px;
  }
}


.at-profile-settings .at-danger-zone {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}
.at-profile-settings .at-2fa-disable-toggle {
  width:auto;
  min-height:38px;
  padding:0 14px;
}
.at-profile-settings .at-2fa-disable-panel {
  width:100%;
  padding:15px;
  border:1px solid rgba(255,107,122,.18);
  border-radius:12px;
  background:rgba(255,107,122,.035);
}
.at-profile-settings .at-2fa-disable-panel[hidden] { display:none !important; }
.at-profile-settings .at-2fa-disable-panel__intro {
  margin:0 0 14px;
  color:#9996a2;
  font-size:11px;
  line-height:1.55;
}
.at-profile-settings .at-2fa-disable-panel .at-form { margin-top:0; }
@media (max-width:520px) {
  .at-profile-settings .at-2fa-disable-toggle { width:100%; }
}

.at-profile-settings .at-recovery-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px 12px;
  margin-top:13px;
}
.at-profile-settings .at-recovery-actions > span {
  color:#7f7c87;
  font-size:10px;
  line-height:1.45;
}
.at-profile-settings .at-recovery-download {
  min-height:34px;
  padding:0 12px;
}

html.at-modal-open,
html.at-modal-open body {
  overflow:hidden;
}
.at-2fa-action-modal[hidden] {
  display:none !important;
}
.at-2fa-action-modal {
  position:fixed;
  inset:0;
  z-index:1000000;
  display:grid;
  place-items:center;
  padding:20px;
}
.at-2fa-action-modal__backdrop {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(5,5,8,.72);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  cursor:default;
}
.at-2fa-action-modal__dialog {
  position:relative;
  z-index:1;
  width:min(420px,100%);
  padding:21px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(27,27,33,.995),rgba(17,17,21,.995));
  box-shadow:0 26px 70px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.025);
  color:#f5f4f7;
}
.at-2fa-action-modal__dialog h2,
.at-2fa-action-modal__dialog h3 {
  margin:5px 0 7px !important;
  padding:0 !important;
  color:#fff !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:-.02em;
}
.at-2fa-action-modal__dialog > p {
  margin:0 0 16px !important;
  color:#9d9aa5 !important;
  font-size:11px !important;
  line-height:1.55 !important;
}
.at-2fa-action-modal__dialog .at-form {
  margin:0;
}
.at-2fa-action-modal__dialog .at-field {
  margin:0;
}
.at-2fa-action-modal__dialog .at-otp-input {
  width:100%;
  letter-spacing:.12em;
}
.at-2fa-action-modal__actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:16px;
}
.at-2fa-action-modal__actions .at-button {
  min-height:36px;
}
.at-auth-shell--2fa-step {
  position:relative;
}
.at-auth-card--2fa-underlay {
  opacity:.58;
  filter:saturate(.7);
  pointer-events:none;
}
.at-2fa-action-modal--login {
  position:fixed;
}
.at-2fa-action-modal--login .at-2fa-action-modal__backdrop {
  display:block;
}
@media (max-width:520px) {
  .at-2fa-action-modal {
    padding:14px;
  }
  .at-2fa-action-modal__dialog {
    padding:18px;
    border-radius:13px;
  }
  .at-2fa-action-modal__actions {
    display:grid;
    grid-template-columns:1fr;
  }
  .at-2fa-action-modal__actions .at-button {
    width:100%;
    justify-content:center;
  }
  .at-profile-settings .at-recovery-download {
    width:100%;
  }
}

.at-destructive-card,
.at-group-settings-danger {
  border-color: rgba(239,68,68,.14) !important;
  background: linear-gradient(145deg,rgba(28,25,28,.98),rgba(18,18,22,.99)) !important;
}
.at-destructive-card .at-settings-card__head,
.at-group-settings-danger .at-kicker {
  margin-bottom: 10px;
}
.at-destructive-card .at-settings-help,
.at-group-settings-danger p {
  color: #918e99 !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}
.at-group-settings-danger h2 {
  margin: 4px 0 6px !important;
  color: #f3f1f4 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.at-group-settings-danger p {
  margin: 0 0 14px !important;
}
.at-button--danger {
  border-color: rgba(239,68,68,.30) !important;
  background: rgba(239,68,68,.075) !important;
  color: #f19a9a !important;
}
.at-button--danger:hover {
  border-color: rgba(239,68,68,.48) !important;
  background: rgba(239,68,68,.13) !important;
  color: #fff !important;
}
.at-2fa-action-modal__dialog--danger {
  border-color: rgba(239,68,68,.20);
}
.at-2fa-action-modal__dialog--danger .at-kicker {
  color: #d77f86;
}
.at-2fa-action-modal__dialog--danger .at-form {
  display: grid;
  gap: 12px;
}
.at-profile-settings .at-destructive-card {
  margin-top: 16px;
}
.at-group-settings-danger .at-button--danger {
  width: 100%;
  justify-content: center;
}
@media (max-width: 520px) {
  .at-profile-settings .at-destructive-card .at-button--danger {
    width: 100%;
    justify-content: center;
  }
}

.at-profile-links-settings .at-settings-help{
  margin:5px 0 0;
}
.at-user-profile-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.07);
}
.at-user-profile-link{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-width:0;
  min-height:42px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  color:#c5c1cb!important;
  font-size:10px;
  font-weight:750;
  text-decoration:none!important;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.at-user-profile-link:hover{
  border-color:rgba(139,92,246,.30);
  background:rgba(139,92,246,.055);
  color:#fff!important;
  transform:translateY(-1px);
}
.at-user-profile-link__icon{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:0 0 27px;
  border-radius:7px;
  background:rgba(139,92,246,.09);
  color:#a998ef;
}
.at-user-profile-link__icon svg{
  display:block;
  width:15px;
  height:15px;
}
.at-user-profile-link__label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-user-profile-link--discord .at-user-profile-link__icon{color:#aaa0ff;background:rgba(88,101,242,.12)}
.at-user-profile-link--anilist .at-user-profile-link__icon{color:#8bbff5;background:rgba(61,180,242,.09)}
.at-user-profile-link--myanimelist .at-user-profile-link__icon{color:#8aa8ff;background:rgba(46,81,162,.12)}
@media(max-width:760px){
  .at-user-profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .at-user-profile-links{grid-template-columns:1fr}
}


.at-hs-team {
  margin:20px 0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(25,25,30,.98),rgba(18,18,22,.99));
  box-shadow:0 10px 26px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.018);
}
.at-hs-team__group--hero {
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 28px;
  align-items:center;
  gap:11px;
  width:100%;
  max-width:none;
  min-width:0;
  padding:11px 13px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.06);
  border-radius:0;
  background:transparent;
}
.at-hs-team__group--hero:hover {
  border-color:rgba(255,255,255,.06);
  background:rgba(139,92,246,.045);
  transform:none;
}
.at-hs-team__group--hero .at-hs-team__group-avatar {
  width:46px;
  height:46px;
  border-radius:9px;
  background:#202027;
}
.at-hs-team__group--hero .at-hs-team__group-copy small {
  color:#9b84ff;
  font-size:7.5px;
}
.at-hs-team__group--hero .at-hs-team__group-copy strong {
  margin-top:2px;
  color:#f6f4f9;
  font-size:12.5px;
}
.at-hs-team__group--hero .at-hs-team__group-copy em {
  display:block;
  margin-top:3px;
  color:#77737f;
  font-size:8px;
  font-style:normal;
  font-weight:600;
}
.at-hs-team__group--hero .at-hs-team__group-arrow {
  width:28px;
  height:28px;
  color:#77727f;
}
.at-hs-team__roles {
  background:rgba(255,255,255,.008);
}
.at-hs-team__role {
  min-height:56px;
  padding:10px 13px;
}
.at-hs-team-person--text {
  padding:5px 9px;
}

@media (max-width:760px) {
  .at-hs-team__group--hero { grid-template-columns:42px minmax(0,1fr) 26px; padding:10px; }
  .at-hs-team__group--hero .at-hs-team__group-avatar { width:42px; height:42px; }
}


.at-public-profile--v2 .at-user-profile-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:17px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.07);
}
.at-public-profile--v2 .at-user-profile-link{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 16px;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:54px;
  padding:8px 9px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.085);
  border-radius:11px;
  background:linear-gradient(145deg,rgba(29,29,34,.96),rgba(20,20,24,.98));
  color:#d8d5de!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease,color .17s ease;
}
.at-public-profile--v2 .at-user-profile-link::before{
  content:"";
  position:absolute;
  inset:auto 0 0;
  z-index:-1;
  height:2px;
  opacity:.55;
  background:var(--at-social-accent,#8b5cf6);
  transform:scaleX(.34);
  transform-origin:left center;
  transition:opacity .17s ease,transform .17s ease;
}
.at-public-profile--v2 .at-user-profile-link:hover,
.at-public-profile--v2 .at-user-profile-link:focus-visible{
  border-color:rgba(139,92,246,.34);
  background:linear-gradient(145deg,rgba(34,33,40,.98),rgba(23,22,28,.99));
  color:#fff!important;
  box-shadow:0 9px 22px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035);
  transform:translateY(-2px);
  outline:none;
}
.at-public-profile--v2 .at-user-profile-link:hover::before,
.at-public-profile--v2 .at-user-profile-link:focus-visible::before{
  opacity:1;
  transform:scaleX(1);
}
.at-public-profile--v2 .at-user-profile-link__icon{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid color-mix(in srgb,var(--at-social-accent,#8b5cf6) 24%,transparent);
  border-radius:9px;
  background:color-mix(in srgb,var(--at-social-accent,#8b5cf6) 10%,rgba(255,255,255,.02));
  color:var(--at-social-accent,#a78bfa);
  transition:background .17s ease,border-color .17s ease,transform .17s ease;
}
.at-public-profile--v2 .at-user-profile-link:hover .at-user-profile-link__icon,
.at-public-profile--v2 .at-user-profile-link:focus-visible .at-user-profile-link__icon{
  border-color:color-mix(in srgb,var(--at-social-accent,#8b5cf6) 42%,transparent);
  background:color-mix(in srgb,var(--at-social-accent,#8b5cf6) 15%,rgba(255,255,255,.025));
  transform:scale(1.03);
}
.at-public-profile--v2 .at-user-profile-link__icon svg{
  display:block;
  width:18px;
  height:18px;
}
.at-public-profile--v2 .at-user-profile-link__copy{
  display:grid;
  gap:2px;
  min-width:0;
}
.at-public-profile--v2 .at-user-profile-link__copy strong{
  min-width:0;
  overflow:hidden;
  color:inherit;
  font-size:10px;
  font-weight:800;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-public-profile--v2 .at-user-profile-link__copy small{
  overflow:hidden;
  color:#7f7c88;
  font-size:7px;
  font-weight:650;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
  transition:color .17s ease;
}
.at-public-profile--v2 .at-user-profile-link:hover .at-user-profile-link__copy small,
.at-public-profile--v2 .at-user-profile-link:focus-visible .at-user-profile-link__copy small{
  color:#aaa5b4;
}
.at-public-profile--v2 .at-user-profile-link__arrow{
  display:grid;
  place-items:center;
  width:16px;
  height:16px;
  color:#5f5c67;
  transition:color .17s ease,transform .17s ease;
}
.at-public-profile--v2 .at-user-profile-link__arrow svg{
  width:13px;
  height:13px;
}
.at-public-profile--v2 .at-user-profile-link:hover .at-user-profile-link__arrow,
.at-public-profile--v2 .at-user-profile-link:focus-visible .at-user-profile-link__arrow{
  color:#b3a4ff;
  transform:translate(1px,-1px);
}
.at-public-profile--v2 .at-user-profile-link--myanimelist{--at-social-accent:#6f8fe8}
.at-public-profile--v2 .at-user-profile-link--anilist{--at-social-accent:#63b9ef}
.at-public-profile--v2 .at-user-profile-link--discord{--at-social-accent:#9297ff}
@supports not (color:color-mix(in srgb,#fff 20%,transparent)){
  .at-public-profile--v2 .at-user-profile-link__icon{border-color:rgba(139,92,246,.20);background:rgba(139,92,246,.08)}
}
@media(max-width:920px){
  .at-public-profile--v2 .at-user-profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:460px){
  .at-public-profile--v2 .at-user-profile-links{grid-template-columns:1fr}
  .at-public-profile--v2 .at-user-profile-link{min-height:50px}
}

/* Vlastní přihlášení/registrace jako modal a veřejný download gate. */
.at-auth-modal[hidden] { display:none !important; }
.at-auth-modal {
  position:fixed;
  inset:0;
  z-index:1000002;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease,visibility .18s ease;
  font-family:inherit;
}
.at-auth-modal.is-open {
  opacity:1;
  visibility:visible;
}
.at-auth-modal__backdrop {
  position:absolute;
  inset:0;
  background:rgba(5,5,8,.76);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.at-auth-modal__dialog {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(250px,.78fr) minmax(420px,1.22fr);
  width:min(930px,100%);
  max-height:min(760px,calc(100vh - 48px));
  overflow:hidden;
  border:1px solid rgba(255,255,255,.105);
  border-radius:22px;
  background:#141418;
  box-shadow:0 34px 100px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.025);
  transform:translateY(10px) scale(.985);
  transition:transform .18s ease;
}
.at-auth-modal.is-open .at-auth-modal__dialog { transform:translateY(0) scale(1); }
.at-auth-modal__close {
  position:absolute;
  top:14px;
  right:14px;
  z-index:4;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  background:rgba(20,20,24,.78);
  color:#9c99a5;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.at-auth-modal__close:hover { background:#211f27;border-color:rgba(139,92,246,.34);color:#fff; }
.at-auth-modal__close svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round; }
.at-auth-modal__intro {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
  padding:42px 34px 36px;
  overflow:hidden;
  border-right:1px solid rgba(255,255,255,.075);
  background:
    radial-gradient(circle at 20% 18%,rgba(118,82,244,.25),transparent 34%),
    radial-gradient(circle at 92% 86%,rgba(118,82,244,.11),transparent 42%),
    linear-gradient(145deg,#1a1820 0%,#111115 70%);
}
.at-auth-modal__intro::before {
  content:"";
  position:absolute;
  top:52px;
  left:34px;
  width:84px;
  height:84px;
  border:1px solid rgba(166,141,255,.18);
  border-radius:24px;
  box-shadow:34px 28px 0 -1px rgba(118,82,244,.055),68px 56px 0 -1px rgba(118,82,244,.025);
  transform:rotate(8deg);
}
.at-auth-modal__brand {
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  width:fit-content;
  min-height:27px;
  margin-bottom:16px;
  padding:0 10px;
  border:1px solid rgba(139,92,246,.25);
  border-radius:999px;
  background:rgba(118,82,244,.08);
  color:#b8a9ff;
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.at-auth-modal__intro h2 {
  position:relative;
  z-index:1;
  margin:0 0 12px;
  color:#f4f2f7;
  font-size:clamp(24px,3vw,34px);
  line-height:1.12;
  letter-spacing:-.035em;
}
.at-auth-modal__intro p {
  position:relative;
  z-index:1;
  margin:0;
  color:#9995a2;
  font-size:12px;
  line-height:1.65;
}
.at-auth-modal__benefits {
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
  margin-top:25px;
}
.at-auth-modal__benefits span {
  display:flex;
  align-items:center;
  gap:9px;
  color:#c3becb;
  font-size:11px;
  font-weight:650;
}
.at-auth-modal__benefits svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:#9c83ff;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.at-auth-modal__content {
  min-width:0;
  overflow:auto;
  padding:34px 38px 38px;
  background:linear-gradient(180deg,#17171b,#131317);
  scrollbar-width:thin;
}
.at-auth-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  margin:0 46px 28px 0;
  padding:4px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:#101014;
}
.at-auth-tab {
  min-height:38px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#817e89;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease;
}
.at-auth-tab.is-active {
  background:#232128;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.045),0 4px 14px rgba(0,0,0,.16);
}
.at-auth-view { animation:at-auth-view-in .18s ease both; }
.at-auth-view[hidden] { display:none !important; }
@keyframes at-auth-view-in { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }
.at-auth-view__head { margin-bottom:21px; }
.at-auth-view__kicker {
  display:block;
  margin-bottom:5px;
  color:#9d86ff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.at-auth-view__head h3 {
  margin:0 0 5px;
  color:#f4f3f7;
  font-size:25px;
  line-height:1.18;
  letter-spacing:-.025em;
}
.at-auth-view__head p { margin:0;color:#85828d;font-size:11px;line-height:1.55; }
.at-auth-modal .at-form { gap:14px; }
.at-auth-modal .at-field { gap:6px;color:#c9c5ce;font-size:10px;font-weight:750; }
.at-auth-modal .at-field input {
  min-height:44px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.095);
  border-radius:10px;
  background:#101014;
  color:#f2f0f5;
  font-size:12px;
  box-shadow:none;
}
.at-auth-modal .at-field input:hover { border-color:rgba(255,255,255,.15); }
.at-auth-modal .at-field input:focus {
  border-color:rgba(139,92,246,.62);
  box-shadow:0 0 0 3px rgba(118,82,244,.12);
}
.at-auth-modal .at-password-wrap input { padding-right:72px; }
.at-auth-modal .at-password-toggle { right:8px;color:#9f8aff;font-size:9px;font-weight:800; }
.at-auth-form-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.at-auth-form-meta { display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0; }
.at-auth-modal .at-check { gap:7px;color:#85818d;font-size:10px;line-height:1.45; }
.at-auth-modal .at-check input { margin-top:1px;accent-color:#7652f4; }
.at-auth-text-button,
.at-auth-back {
  padding:0;
  border:0;
  background:transparent;
  color:#a996ff;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
  text-decoration:none;
}
.at-auth-text-button:hover,
.at-auth-back:hover { color:#c5baff;text-decoration:underline; }
.at-auth-back { display:block;margin-bottom:15px; }
.at-auth-submit { width:100%;min-height:44px;border-radius:10px;font-size:11px;box-shadow:0 8px 22px rgba(87,59,191,.16); }
.at-auth-submit:hover { transform:none;filter:brightness(1.04); }
.at-auth-inline-link { color:#a996ff!important;font-size:11px;font-weight:750;text-decoration:none!important; }
.at-auth-inline-link:hover { color:#c3b7ff!important;text-decoration:underline!important; }
.at-header-account__trigger--guest { padding-right:12px; }

/* Samostatné auth stránky zůstávají jako bezpečný fallback, ale vizuálně odpovídají modalu. */
.at-auth-shell { min-height:66vh; }
.at-auth-shell .at-auth-card {
  border-color:rgba(255,255,255,.095);
  background:
    radial-gradient(circle at 85% 0,rgba(118,82,244,.10),transparent 30%),
    linear-gradient(180deg,#19191e,#131317);
  box-shadow:0 28px 78px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.025);
}
.at-auth-shell .at-auth-card__eyebrow { color:#a38cff; }
.at-auth-shell .at-field input,
.at-auth-shell .at-field textarea,
.at-auth-shell .at-field select { border-color:#34323b;background:#111115; }
.at-auth-shell .at-field input:focus,
.at-auth-shell .at-field textarea:focus,
.at-auth-shell .at-field select:focus { border-color:#7652f4;box-shadow:0 0 0 3px rgba(118,82,244,.12); }

@media (max-width:760px) {
  .at-auth-modal { padding:12px;align-items:end; }
  .at-auth-modal__dialog {
    grid-template-columns:1fr;
    width:100%;
    max-height:calc(100vh - 24px);
    border-radius:18px;
  }
  .at-auth-modal__intro { display:none; }
  .at-auth-modal__content { padding:25px 20px calc(24px + env(safe-area-inset-bottom)); }
  .at-auth-tabs { margin-right:42px;margin-bottom:23px; }
}
@media (max-width:520px) {
  .at-auth-form-grid { grid-template-columns:1fr;gap:14px; }
  .at-auth-form-meta { align-items:flex-start; }
  .at-auth-modal__content { padding-left:17px;padding-right:17px; }
}

/* --------------------------------------------------------------------------
   3.29 – stabilnější a jednodušší přihlášení / registrace
   -------------------------------------------------------------------------- */
.at-modal-open,
.at-modal-open body {
  overflow: hidden !important;
}

.at-auth-modal {
  padding: 18px;
}

.at-auth-modal__backdrop {
  background: rgba(6, 6, 8, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.at-auth-modal__dialog {
  display: block;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: #17171b;
  box-shadow: 0 28px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.025);
  transform: translateY(8px) scale(.99);
  outline: none;
}

.at-auth-modal__content {
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  background: #17171b;
  scrollbar-width: thin;
}

.at-auth-modal__head {
  padding: 0 48px 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.at-auth-modal__brand {
  min-height: 24px;
  margin: 0 0 10px;
  padding: 0 9px;
  border-color: rgba(139,92,246,.22);
  border-radius: 999px;
  background: rgba(118,82,244,.08);
  color: #aa98ff;
  font-size: 9px;
  letter-spacing: .09em;
}

.at-auth-modal__head h2 {
  margin: 0 0 7px;
  color: #f5f4f7;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.at-auth-modal__head p {
  margin: 0;
  color: #8e8a95;
  font-size: 11px;
  line-height: 1.6;
}

.at-auth-modal.is-download-context .at-auth-modal__head p {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(139,92,246,.20);
  border-radius: 10px;
  background: rgba(118,82,244,.065);
  color: #b7adc9;
}

.at-auth-modal__close {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-color: rgba(255,255,255,.075);
  border-radius: 9px;
  background: #1d1d22;
  color: #8f8b96;
}

.at-auth-modal__close:hover {
  background: #25242b;
  border-color: rgba(139,92,246,.28);
  color: #fff;
}

.at-auth-tabs {
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 22px 0 24px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: #111115;
}

.at-auth-tab {
  min-height: 38px;
  border-radius: 8px;
  color: #827f89;
  font-size: 11px;
  font-weight: 780;
}

.at-auth-tab.is-active {
  background: #242329;
  color: #f5f4f7;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.at-auth-view {
  animation: at-auth-view-in .14s ease both;
}

.at-auth-view__head {
  margin-bottom: 18px;
}

.at-auth-view__kicker {
  margin-bottom: 5px;
  color: #9d89ff;
  font-size: 9px;
  letter-spacing: .08em;
}

.at-auth-view__head h3 {
  margin-bottom: 5px;
  font-size: 21px;
}

.at-auth-view__head p {
  font-size: 11px;
  color: #85818c;
}

.at-auth-modal .at-form {
  gap: 13px;
}

.at-auth-modal .at-field {
  gap: 8px;
  color: #c9c6cf;
  font-size: 10px;
  font-weight: 700;
}

.at-auth-modal .at-field input {
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: #111115;
  color: #f3f1f5;
  font-size: 12px;
}

.at-auth-modal .at-field input:hover {
  border-color: rgba(255,255,255,.14);
}

.at-auth-modal .at-field input:focus {
  border-color: rgba(139,92,246,.58);
  box-shadow: 0 0 0 3px rgba(118,82,244,.10);
}

.at-auth-modal .at-check {
  color: #85818c;
  font-size: 10px;
}

.at-auth-form-grid {
  gap: 10px;
}

.at-auth-submit {
  min-height: 43px;
  border-radius: 9px;
  box-shadow: none;
}

.at-auth-submit:hover {
  transform: none;
}

.at-auth-text-button,
.at-auth-back {
  color: #a997ff;
  font-size: 10px;
}

/* Samostatné fallback stránky používají stejný klidný vzhled jako dialog. */
.at-auth-shell {
  min-height: 58vh;
}

.at-auth-shell > .at-auth-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: #17171b;
  box-shadow: 0 26px 72px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.025);
}

.at-auth-shell > .at-auth-card--wide {
  width: min(650px, 100%);
}

.at-auth-shell > .at-auth-card h1 {
  margin: 0 0 8px;
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.at-auth-shell > .at-auth-card .at-auth-card__lead {
  margin-bottom: 22px;
  color: #8d8994;
  font-size: 12px;
  line-height: 1.65;
}

.at-auth-shell > .at-auth-card .at-field {
  color: #c9c6cf;
  font-size: 11px;
}

.at-auth-shell > .at-auth-card .at-field input,
.at-auth-shell > .at-auth-card .at-field textarea,
.at-auth-shell > .at-auth-card .at-field select {
  border-color: rgba(255,255,255,.09);
  border-radius: 9px;
  background: #111115;
}

.at-auth-shell > .at-auth-card .at-field input:focus,
.at-auth-shell > .at-auth-card .at-field textarea:focus,
.at-auth-shell > .at-auth-card .at-field select:focus {
  border-color: rgba(139,92,246,.58);
  box-shadow: 0 0 0 3px rgba(118,82,244,.10);
}

.at-auth-shell > .at-auth-card .at-button {
  border-radius: 9px;
}

/* Přihlašovací 2FA už není druhý modal nad přihlašovacím modalem. */
.at-auth-card--2fa-login {
  text-align: left;
}

.at-auth-card__security-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(139,92,246,.20);
  border-radius: 12px;
  background: rgba(118,82,244,.075);
  color: #aa98ff;
}

.at-auth-card__security-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-auth-card--2fa-login .at-otp-input {
  text-align: center;
  letter-spacing: .20em;
  font-size: 16px;
  font-weight: 800;
}

.at-auth-card__actions {
  display: grid;
  grid-template-columns: minmax(110px,.7fr) minmax(180px,1.3fr);
  gap: 10px;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .at-auth-modal {
    align-items: end;
    padding: 10px;
  }

  .at-auth-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .at-auth-modal__content {
    max-height: calc(100vh - 20px);
    padding: 24px 18px calc(22px + env(safe-area-inset-bottom));
  }

  .at-auth-modal__head {
    padding-right: 44px;
  }

  .at-auth-tabs {
    margin: 20px 0 22px;
  }
}

@media (max-width: 520px) {
  .at-auth-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .at-auth-form-meta {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .at-auth-card__actions {
    grid-template-columns: 1fr;
  }

  .at-auth-card__actions .at-button--primary {
    order: -1;
  }
}

.at-auth-card--2fa-login {
  position: relative;
}

.at-auth-card__close-link {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 9px;
  background: #1d1d22;
  color: #8f8b96 !important;
  text-decoration: none !important;
}

.at-auth-card__close-link:hover {
  border-color: rgba(139,92,246,.28);
  background: #25242b;
  color: #fff !important;
}

.at-auth-card__close-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Anti-bot honeypot: musí zůstat mimo viditelný i klávesový tok formuláře. */
.at-hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.at-field-note--pending{display:block;margin-top:6px;color:var(--at-accent,#9d7bff)}
.at-check a{color:inherit;text-decoration:underline;text-underline-offset:2px}


/* Hlavička: navigační vyhledávání + centrum oznámení */
.at-header-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.at-nav-row-host {
  display: flex !important;
  align-items: center !important;
  gap: clamp(18px, 2vw, 34px) !important;
  min-width: 0;
}

.at-nav-row-host > nav {
  min-width: 0;
}

@media (max-width: 999px) {
  .at-nav-row-host { gap: 14px !important; }
}

.at-header-notifications {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}

.at-header-notifications__trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid #303038;
  border-radius: 12px;
  background: #151515;
  color: #d8d5df;
  cursor: pointer;
  box-shadow: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.at-header-notifications__trigger:hover,
.at-header-notifications.is-open .at-header-notifications__trigger {
  border-color: rgba(118,82,244,.6);
  background: #1b1920;
  color: #fff;
}

.at-header-notifications__trigger:focus-visible {
  outline: 2px solid rgba(118,82,244,.72);
  outline-offset: 2px;
}

.at-header-notifications__trigger svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-header-notifications__count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: none;
  place-items: center;
  min-width: 18px;
  height: 18px;
  box-sizing: border-box;
  padding: 0 5px;
  border: 2px solid #101112;
  border-radius: 999px;
  background: #7652f4;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.at-header-notifications__count.is-visible { display: grid; }

.at-notifications {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: min(380px, calc(100vw - 22px));
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #35323d;
  border-radius: 16px;
  background: rgba(17,18,21,.985);
  box-shadow: 0 22px 64px rgba(0,0,0,.52);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: top right;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 100000;
}

.at-header-notifications.is-open .at-notifications {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.at-notifications__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-bottom: 1px solid #302d37;
}
.at-notifications__head div { min-width: 0; }
.at-notifications__head strong {
  display: block;
  color: #f5f3f8;
  font-size: 14.5px;
  font-weight: 850;
}
.at-notifications__read-all {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #a996ff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.at-notifications__read-all:hover { color: #c2b6ff; }
.at-notifications__read-all:disabled { opacity: .55; cursor: wait; }

.at-notifications__list {
  max-height: min(440px, 62vh);
  overflow-y: auto;
  padding: 6px;
}

.at-notification-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 11px;
  color: inherit !important;
  text-decoration: none !important;
  transition: background .14s ease;
}
.at-notification-item:hover { background: #201e24; }
.at-notification-item.is-unread { background: rgba(118,82,244,.075); }
.at-notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8f70ff;
  box-shadow: 0 0 0 3px rgba(118,82,244,.12);
}

.at-notification-item__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #37323f;
  border-radius: 10px;
  background: #211e27;
  color: #a996ff;
}
.at-notification-item__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.at-notification-item--group .at-notification-item__icon { color: #c99bff; }
.at-notification-item--release .at-notification-item__icon { color: #79d9aa; }
.at-notification-item--system .at-notification-item__icon { color: #b9b5c3; }

.at-notification-item__body {
  display: block;
  min-width: 0;
  flex: 1;
  padding-right: 10px;
}
.at-notification-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.at-notification-item__top strong {
  min-width: 0;
  overflow: hidden;
  color: #eeebf2;
  font-size: 12.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.at-notification-item__top time {
  flex: 0 0 auto;
  padding-right: 5px;
  color: #6f6b76;
  font-size: 10px;
  font-weight: 700;
}
.at-notification-item__message {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: #9994a1;
  font-size: 11.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.at-notifications__empty {
  display: flex;
  min-height: 104px;
  padding: 18px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.at-notifications__empty strong {
  display: block;
  margin: 0;
  color: #e4e1e8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
.at-notifications__empty span {
  display: block;
  max-width: 280px;
  margin: 0;
  color: #85808b;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .at-header-tools { gap: 6px; }
  .at-header-notifications__trigger { width: 40px; height: 40px; min-width: 40px; }
  .at-notifications {
    position: fixed;
    top: 64px;
    right: 10px;
    width: min(360px, calc(100vw - 20px));
  }
}


/* Plugin vlastní celý header search; Blocksy už nedodává HTML vyhledávače */
.at-header-search-anchor {
  width: clamp(240px, 25vw, 340px);
  max-width: 36vw;
  margin-left: auto;
  flex: 0 1 340px;
  position: relative;
  z-index: 80;
}

.at-header-search-anchor:not(.is-placed) {
  position: fixed !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Starý [hs_anime_search] vložený v HTML prvku hlavičky se záměrně nepoužívá.
   Díky tomu se po aktualizaci nezobrazí dva vyhledávače ještě před tím, než
   administrátor starý HTML prvek z Blocksy odstraní. */
.at-site-header .at-legacy-header-search {
  display: none !important;
}

.at-header-search-anchor .hs-anime-search,
.at-header-search-anchor .hs-anime-search__form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.at-header-search-anchor .hs-anime-search__input {
  height: 38px !important;
  min-height: 38px !important;
}

.at-header-search-anchor .hs-anime-search__results {
  right: 0 !important;
  left: auto !important;
  width: min(440px, calc(100vw - 24px)) !important;
}

.at-nav-search-column,
.at-account-tools-column {
  display: flex !important;
  align-items: center !important;
  min-width: 0;
}

.at-nav-search-column {
  justify-content: flex-end !important;
}

.at-nav-search-column--shared {
  gap: clamp(16px, 2vw, 30px) !important;
}

.at-nav-search-column--shared > nav,
.at-nav-search-column--shared > [class*="menu"] {
  min-width: 0;
}

.at-account-tools-column {
  justify-content: flex-end !important;
  gap: 8px;
}

/* Obranná pojistka: zvoneček nikdy nesmí být viditelný anonymnímu návštěvníkovi,
   i kdyby jej do DOM přidal cache/plugin třetí strany. Server jej hostům vůbec
   negeneruje; toto je pouze druhá vrstva. */
body:not(.logged-in) .at-header-notifications {
  display: none !important;
}

@media (min-width: 760px) {
  .at-header-search-anchor--desktop {
    width: clamp(240px, 25vw, 340px);
    max-width: 36vw;
    padding: 0;
  }
}

@media (max-width: 759px) {
  .at-header-search-anchor--mobile {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 16px 10px;
    overflow: visible !important;
    background: #111113 !important;
    border-top: 1px solid #2d2d34;
    border-bottom: 1px solid #2d2d34;
  }

  .at-header-search-anchor--mobile .hs-anime-search,
  .at-header-search-anchor--mobile .hs-anime-search__form {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .at-header-search-anchor--mobile .hs-anime-search__input {
    height: 44px !important;
    min-height: 44px !important;
    /* iOS Safari automaticky zoomuje formulářová pole pod 16 px. Zoom dříve
       vyvolal resize a spolu s přesunem headeru shazoval focus vyhledávače. */
    font-size: 16px !important;
    touch-action: manipulation;
  }

  .at-header-search-anchor--mobile .hs-anime-search__results {
    right: auto !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(52dvh, 430px) !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* — stabilní kompaktní desktopová hlavička.
   Nástroje jsou ukotvené k hornímu řádku, ne k internímu Blocksy sloupci.
   Díky tomu nepřidávají řádku výšku a logo/search/účet drží jednu osu. */
@media (min-width: 760px) {
  .at-site-header .at-header-primary-row {
    position: relative !important;
  }

  .at-site-header .at-header-primary-tools {
    position: absolute !important;
    top: 50% !important;
    right: max(16px, calc((100vw - var(--theme-normal-container-max-width, 1280px)) / 2)) !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    margin: 0;
    z-index: 120;
  }

  .at-site-header .at-header-primary-tools:empty {
    display: none;
  }

  .at-site-header .at-header-primary-tools .at-header-search-anchor,
  .at-site-header .at-header-search-anchor--desktop {
    width: clamp(210px, 12vw, 240px);
    max-width: 240px;
    flex: 0 1 240px;
    margin: 0;
    padding: 0;
  }

  .at-site-header .at-header-primary-tools .at-header-account-anchor {
    margin-left: 0;
  }

 /* Druhý řádek zůstává pouze pro navigaci. */
  .at-site-header .at-nav-search-column,
  .at-site-header .at-nav-search-column--shared {
    gap: initial !important;
  }
}

@media (min-width: 760px) and (max-width: 1240px) {
  .at-site-header .at-header-primary-tools {
    right: 16px !important;
  }
  .at-site-header .at-header-primary-tools .at-header-search-anchor,
  .at-site-header .at-header-search-anchor--desktop {
    width: clamp(185px, 18vw, 215px);
    max-width: 215px;
    flex-basis: 215px;
  }
}

@media (min-width: 760px) and (max-width: 1080px) {
  .at-site-header .at-header-primary-tools { gap: 7px; }
  .at-site-header .at-header-primary-tools .at-header-search-anchor,
  .at-site-header .at-header-search-anchor--desktop {
    width: clamp(150px, 18vw, 175px);
    max-width: 175px;
    flex-basis: 175px;
  }
  .at-site-header .at-header-account__name,
  .at-site-header .at-header-account__chevron { display: none; }
  .at-site-header .at-header-account__trigger { padding-right: 5px; }
}


/* — souvislé responsivní chování headeru.
   Tablet/menší desktop drží search v horním řádku; samostatný mobilní search
   se zapíná až na skutečně úzké šířce, aby nevznikal mezistav headeru. */
@media (min-width: 760px) and (max-width: 920px) {
  .at-site-header .at-header-primary-tools {
    right: 12px !important;
    gap: 6px !important;
  }

  .at-site-header .at-header-primary-tools .at-header-search-anchor,
  .at-site-header .at-header-search-anchor--desktop {
    width: clamp(145px, 18vw, 165px);
    max-width: 165px;
    flex: 0 1 165px;
  }

  .at-site-header .at-header-notifications__trigger {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .at-site-header .at-header-account__trigger {
    min-height: 40px;
  }
}

@media (max-width: 759px) {
  .at-site-header .at-header-primary-tools {
    display: none !important;
  }

  .at-header-search-anchor--mobile {
    position: relative;
    z-index: 70;
  }
}

/* — kompaktnější panel oznámení. */
.at-notifications__head { min-height: 45px; }
.at-notifications__list:has(.at-notifications__empty) { padding: 4px 6px 6px; }

/* – společný vizuální jazyk stavů projektu. */
.at-project-status,
.at-group-profile--v5 .at-group-project-tile__status {
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
.at-project-status::before,
.at-group-profile--v5 .at-group-project-tile__status::before {
  content:"";
  display:block;
  flex:0 0 5px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}
.at-project-status--done,
.at-group-profile--v5 .at-group-project-tile__status--done { color:#74cf95 !important; }
.at-project-status--active,
.at-project-status--paused,
.at-group-profile--v5 .at-group-project-tile__status--active,
.at-group-profile--v5 .at-group-project-tile__status--paused { color:#e5aa54 !important; }
.at-project-status--planned,
.at-group-profile--v5 .at-group-project-tile__status--planned { color:#b5a4f4 !important; }


.at-auth-modal__dialog {
  width: min(460px, 100%);
  border-radius: 16px;
  background: #17171b;
}
.at-auth-modal__content {
  padding: 24px;
}
.at-auth-modal__head,
.at-auth-modal__brand {
  display: none !important;
}
.at-auth-tabs {
  margin: 0 44px 22px 0;
  padding: 3px;
  border-radius: 10px;
}
.at-auth-context {
  display: none;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 10px;
  background: rgba(118,82,244,.065);
  color: #b7adc9;
  font-size: 10.5px;
  line-height: 1.5;
}
.at-auth-modal.is-download-context .at-auth-context,
.at-auth-modal.has-context .at-auth-context {
  display: block;
}
.at-auth-context.is-error {
  border-color: rgba(239,68,68,.22);
  background: rgba(127,29,29,.14);
  color: #efb4b4;
}
.at-auth-context.is-success {
  border-color: rgba(74,222,128,.20);
  background: rgba(20,83,45,.14);
  color: #a7dbb8;
}
.at-auth-view__title {
  margin: 0 0 18px;
  color: #f4f3f7;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.at-auth-view__note {
  margin: -10px 0 18px;
  color: #8b8792;
  font-size: 12px;
  line-height: 1.6;
}
.at-auth-modal .at-form,
.at-auth-shell .at-form {
  gap: 12px;
}
.at-auth-modal .at-field,
.at-auth-shell .at-field {
  gap: 6px;
}
.at-auth-modal .at-field > span,
.at-auth-shell .at-field > span {
  font-size: 10px;
  font-weight: 740;
  color: #c9c6cf;
}
.at-auth-modal .at-field input,
.at-auth-shell > .at-auth-card .at-field input {
  min-height: 44px;
  border-radius: 9px;
  background: #111115;
}
.at-auth-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.at-auth-back {
  margin: 0 0 14px;
}
.at-auth-submit {
  margin-top: 2px;
  min-height: 44px;
}
.at-auth-submit:disabled,
form[aria-busy="true"] .at-auth-submit {
  cursor: wait;
  opacity: .68;
}
.at-recaptcha-error {
  margin-top: -2px;
  padding: 9px 10px;
  border: 1px solid rgba(248,113,113,.20);
  border-radius: 9px;
  background: rgba(127,29,29,.12);
  color: #f0aaaa;
  font-size: 10px;
  line-height: 1.45;
}
.at-auth-shell {
  display: grid;
  place-items: start center;
  min-height: 58vh;
  padding: clamp(34px,6vw,68px) 16px;
}
.at-auth-shell > .at-auth-card,
.at-auth-shell > .at-auth-card--compact,
.at-auth-shell > .at-auth-card--wide {
  width: min(460px, 100%);
  padding: 26px;
  border-radius: 16px;
}
.at-auth-shell > .at-auth-card h1 {
  margin: 0 0 22px;
  font-size: 26px;
}
.at-auth-shell > .at-auth-card .at-auth-card__lead {
  margin: -12px 0 20px;
  font-size: 11px;
}
.at-auth-card__eyebrow {
  display: none !important;
}
.at-auth-card__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.065);
  color: #85818d;
  font-size: 10.5px;
  text-align: center;
}
.at-auth-card__footer a {
  color: #aa98ff !important;
  font-weight: 750;
  text-decoration: none !important;
}
.at-auth-card__footer a:hover { text-decoration: underline !important; }
.at-recaptcha-active .grecaptcha-badge { visibility: hidden !important; }
.at-recaptcha-disclosure {
  margin: 14px 2px 0;
  color: #73707a;
  font-size: 9.5px;
  line-height: 1.45;
  text-align: center;
}
.at-recaptcha-disclosure a {
  color: #91889f !important;
  text-decoration: none !important;
}
.at-recaptcha-disclosure a:hover {
  color: #b5a7f7 !important;
  text-decoration: underline !important;
}
.at-auth-shell .at-recaptcha-disclosure {
  margin-top: 14px;
}

@media (max-width: 520px) {
  .at-auth-modal__content { padding: 20px 17px calc(20px + env(safe-area-inset-bottom)); }
  .at-auth-tabs { margin-right: 42px; margin-bottom: 20px; }
  .at-auth-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .at-auth-shell { padding: 24px 12px; }
  .at-auth-shell > .at-auth-card,
  .at-auth-shell > .at-auth-card--compact,
  .at-auth-shell > .at-auth-card--wide { padding: 22px 18px; }
}

/* – schvalovaná žádost Návštěvník -> Překladatel */
.at-translator-application{max-width:860px;margin:32px auto;padding:30px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(180deg,rgba(24,25,30,.96),rgba(17,18,22,.98));box-shadow:0 20px 60px rgba(0,0,0,.22)}
.at-translator-application__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}
.at-translator-application h1{margin:4px 0 6px;font-size:clamp(26px,3vw,36px);line-height:1.08}
.at-translator-application__head p,.at-translator-application>p{margin:0;color:var(--at-muted,#aeb3bf)}
.at-translator-application__form .at-field label span{font-weight:500;color:var(--at-muted,#9096a3);font-size:.82em}
.at-translator-application__actions{display:flex;justify-content:flex-end;margin-top:22px}
.at-translator-application--pending,.at-translator-application--approved,.at-translator-application--rejected{text-align:left}
@media(max-width:700px){.at-translator-application{margin:18px 0;padding:22px 18px;border-radius:16px}.at-translator-application__actions{justify-content:stretch}.at-translator-application__actions .at-button{width:100%;justify-content:center}}
.at-profile-translator-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;padding:22px 24px}.at-profile-translator-cta h2{margin:3px 0 5px}.at-profile-translator-cta p{margin:0;color:var(--at-muted,#9ca3af)}@media(max-width:700px){.at-profile-translator-cta{align-items:stretch;flex-direction:column}.at-profile-translator-cta .at-button{justify-content:center}}

/* Obecná ochrana proti přetečení obsahu pluginu. */
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings,.at-auth-modal),
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings,.at-auth-modal) * {
  box-sizing:border-box;
}
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings) img { max-width:100%; }
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings) input,
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings) select,
:where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings) textarea { max-width:100%; }

@media (max-width:980px) {
  .at-public-profile--v2,
  .at-group-profile--v5,
  .at-community-directory,
  .at-profile-settings,
  .at-group-settings,
  .at-group-manage {
    width:min(100% - 24px,1200px);
    margin-left:auto;
    margin-right:auto;
  }
  .at-group-profile--v5 .at-group-profile-layout,
  .at-profile-settings .at-settings-grid,
  .at-group-settings .at-group-settings__grid,
  .at-group-manage .at-group-settings__grid { grid-template-columns:1fr!important; }
  .at-profile-settings .at-settings-sidebar,
  .at-group-settings .at-group-settings__sidebar { position:static!important; }
  .at-user-stats-list { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .at-group-project-tiles--v5 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .at-group-team-grid--v5 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:760px) {
  /* Formuláře: 16 px zabrání zoomu Safari, 44 px je pohodlný dotykový cíl. */
  :where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings,.at-auth-modal)
  :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea) {
    min-height:44px!important;
    font-size:16px!important;
    line-height:1.25!important;
  }
  :where(.at-profile,.at-dashboard,.at-community-directory,.at-group-profile,.at-group-manage,.at-profile-settings,.at-group-settings,.at-auth-modal)
  :where(.at-button,button:not(.at-auth-modal__close)) {
    min-height:42px;
    touch-action:manipulation;
  }

  .at-public-profile--v2,
  .at-group-profile--v5,
  .at-community-directory,
  .at-profile-settings,
  .at-group-settings,
  .at-group-manage {
    width:min(100% - 16px,1200px);
  }

  .at-user-hero,
  .at-group-hero--v5 {
    min-height:0;
    border-radius:16px;
  }
  .at-user-hero__identity,
  .at-group-hero--v5 .at-group-hero__content {
    grid-template-columns:1fr!important;
    gap:12px;
    padding:54px 15px 16px!important;
  }
  .at-user-hero__avatar,
  .at-group-avatar { width:78px!important; height:78px!important; }
  .at-user-hero__copy h1,
  .at-group-identity h1 { font-size:clamp(22px,7vw,30px)!important; overflow-wrap:anywhere; }
  .at-profile-edit-link,
  .at-group-edit-link {
    top:12px!important;
    right:12px!important;
    min-height:40px!important;
  }

  .at-user-stats-list,
  .at-group-stats-v6__pair { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .at-user-stat { min-height:70px; }
  .at-user-groups-list,
  .at-group-team-grid--v5,
  .at-group-project-tiles--v5,
  .at-member-grid,
  .at-group-grid { grid-template-columns:1fr!important; }

  .at-group-mini-releases,
  .at-group-latest__grid--v5 {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:min(74vw,190px);
    grid-template-columns:none!important;
    gap:8px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    padding-bottom:5px;
  }
  .at-group-mini-release,
  .at-group-release-card { scroll-snap-align:start; min-width:0!important; }

  .at-group-project-tabs,
  .at-group-project-filters {
    display:flex;
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap!important;
    gap:6px;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .at-group-project-tabs::-webkit-scrollbar,
  .at-group-project-filters::-webkit-scrollbar { display:none; }
  .at-group-project-tabs button,
  .at-group-project-filters button { flex:0 0 auto; min-height:40px; }

  .at-settings-fields--two,
  .at-profile-media-settings,
  .at-group-media-settings { grid-template-columns:1fr!important; }
  .at-media-setting,
  .at-media-setting--banner,
  .at-group-settings .at-media-setting,
  .at-group-settings .at-media-setting--banner {
    grid-template-columns:1fr!important;
    gap:10px;
  }
  .at-media-setting__preview,
  .at-media-setting__preview--banner { width:100%!important; max-width:220px; }
  .at-settings-card__head,
  .at-dashboard-head,
  .at-group-section-heading,
  .at-group-members-settings__head {
    align-items:flex-start!important;
    flex-direction:column;
    gap:8px;
  }
  .at-dashboard-head>.at-button,
  .at-group-section-heading>.at-button,
  .at-settings-card__head>.at-button { width:100%; justify-content:center; }

  .at-group-member-add { grid-template-columns:1fr!important; }
  .at-group-member-add .at-button { width:100%; justify-content:center; }
  .at-group-members-settings__member { min-width:0; }

  .at-header-account__dropdown {
    position:fixed!important;
    top:64px!important;
    right:8px!important;
    left:auto!important;
    width:min(340px,calc(100vw - 16px))!important;
    max-height:calc(100dvh - 76px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .at-header-account__item { min-height:44px; }
  .at-notifications {
    top:64px!important;
    right:8px!important;
    left:8px!important;
    width:auto!important;
    max-height:calc(100dvh - 76px);
  }
  .at-notifications__list { max-height:calc(100dvh - 140px); }
}

@media (max-width:560px) {
  .at-public-profile--v2,
  .at-group-profile--v5,
  .at-community-directory,
  .at-profile-settings,
  .at-group-settings,
  .at-group-manage { width:100%; }

  .at-user-hero,
  .at-group-hero--v5,
  .at-panel,
  .at-settings-card,
  .at-group-settings-card { border-radius:12px; }
  .at-user-hero,
  .at-group-hero--v5 { border-left:0; border-right:0; border-radius:0; }
  .at-user-stats-list { grid-template-columns:1fr 1fr!important; }
  .at-group-stats-v6__pair { grid-template-columns:1fr!important; }
  .at-group-stats-v6__heart,
  .at-group-stats-v6__founded,
  .at-group-stats-v6__tile { min-width:0; }
  .at-group-project-tile { grid-template-columns:44px minmax(0,1fr)!important; }
  .at-group-project-tile__footer { grid-column:1/-1; }
  .at-group-project-tile__open { width:100%; justify-content:center; min-height:40px; }
  .at-group-member-card--v5 { min-width:0; }

  .at-profile-settings .at-settings-card,
  .at-group-settings .at-settings-card { padding:14px; }
  .at-profile-settings .at-settings-sidebar,
  .at-group-settings .at-group-settings__sidebar { display:grid; grid-template-columns:1fr!important; }
  .at-group-settings-switcher { align-items:stretch; flex-direction:column; }
  .at-group-settings-switcher select { width:100%; min-width:0; }

  .at-header-account__name,
  .at-header-account__chevron { display:none; }
  .at-header-account__trigger { padding-left:4px!important; padding-right:4px!important; }
}

/* Přihlášení/registrace: na telefonu scrollovatelný sheet. */
@media (max-width:680px) {
  .at-auth-modal {
    align-items:flex-end!important;
    padding:8px 8px max(8px,env(safe-area-inset-bottom))!important;
  }
  .at-auth-modal__dialog {
    width:100%!important;
    max-width:none!important;
    max-height:calc(100dvh - 16px)!important;
    overflow:auto!important;
    border-radius:16px 16px 10px 10px!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  @supports not (height:100dvh) {
    .at-auth-modal__dialog { max-height:calc(100vh - 16px)!important; }
  }
  .at-auth-modal__close { width:42px!important; height:42px!important; }
  .at-auth-tabs { gap:5px; }
  .at-auth-tab { min-height:42px; }
  .at-auth-modal__content { padding-left:14px!important; padding-right:14px!important; }
  .at-recaptcha-disclosure { font-size:10px; line-height:1.45; }
}

@media (hover:none), (pointer:coarse) {
  .at-member-card:hover,
  .at-group-card:hover,
  .at-user-group-card:hover,
  .at-group-project-tile:hover,
  .at-group-release-card:hover { transform:none!important; }
}

/* 3.46.0 – samostatné přihlašovací stránky, žádost překladatele a 2FA. */
@media (max-width:760px) {
  .at-auth-shell {
    width:100%!important;
    min-height:auto!important;
    padding:18px 10px 28px!important;
  }
  .at-auth-shell>.at-auth-card,
  .at-auth-shell>.at-auth-card--compact,
  .at-auth-shell>.at-auth-card--wide {
    width:100%!important;
    max-width:520px!important;
    padding:20px 16px!important;
    border-radius:14px!important;
  }
  .at-auth-shell>.at-auth-card h1 { font-size:clamp(25px,8vw,34px)!important; }
  .at-auth-shell .at-form { gap:13px; }
  .at-auth-shell .at-field input,
  .at-auth-shell .at-field select,
  .at-auth-shell .at-field textarea,
  .at-translator-application input,
  .at-translator-application select,
  .at-translator-application textarea,
  .at-2fa-action-modal input {
    min-height:44px!important;
    font-size:16px!important;
  }
  .at-auth-shell .at-button,
  .at-translator-application .at-button { min-height:42px; }
  .at-translator-application { width:min(100% - 16px,860px); margin-left:auto; margin-right:auto; }
  .at-translator-application__actions { width:100%; }
}
@media (max-width:520px) {
  .at-2fa-action-modal {
    place-items:end center;
    padding:8px 8px max(8px,env(safe-area-inset-bottom));
  }
  .at-2fa-action-modal__dialog {
    width:100%;
    max-height:calc(100dvh - 16px);
    overflow:auto;
    padding:18px 15px;
    border-radius:16px 16px 10px 10px;
    -webkit-overflow-scrolling:touch;
  }
  .at-translator-application { width:100%; border-radius:0; }
}

/* Bezpečné odsazení mobilního vyhledávání a nástrojů u zařízení s výřezem. */
@media (max-width:759px) {
  .at-header-search-anchor--mobile {
    padding-left:max(12px,env(safe-area-inset-left))!important;
    padding-right:max(12px,env(safe-area-inset-right))!important;
  }
  .at-header-account__dropdown,
  .at-notifications { margin-bottom:max(8px,env(safe-area-inset-bottom)); }
}

/* ========================================================================== */
/* 3.46.1 – stabilní header pro tablet a telefon                              */
/* ========================================================================== */
@media (max-width:999px) {
  /* Blocksy přepíná na tabletový/mobilní header dřív než původních 760 px.
     Nástroje proto držíme v právě viditelném kompaktním řádku. */
  .at-site-header .at-header-primary-tools { display:none!important; }

  .at-header-account-anchor--compact {
    display:inline-flex!important;
    align-items:center!important;
    margin:0!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    z-index:9998!important;
  }
  .at-header-account-anchor--compact .at-header-tools {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    min-width:max-content;
  }
  .at-header-compact-actions {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin-left:auto!important;
    padding-left:8px;
    position:relative;
    z-index:9998;
  }

  .at-header-account-anchor--compact .at-header-account__name,
  .at-header-account-anchor--compact .at-header-account__chevron { display:none!important; }
  .at-header-account-anchor--compact .at-header-account__trigger {
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    padding:4px!important;
    border-radius:11px!important;
  }
  .at-header-account-anchor--compact .at-header-account__avatar {
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
  }
  .at-header-account-anchor--compact .at-header-notifications__trigger {
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:11px!important;
  }

  /* Search dostane vlastní stabilní řádek pod aktivním mobilním headerem.
     Stejné rozložení používá tablet i telefon, takže nevzniká mezistav. */
  .at-header-search-anchor--mobile {
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:9px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))!important;
    overflow:visible!important;
    background:#111113!important;
    border-top:1px solid #28282f!important;
    border-bottom:1px solid #28282f!important;
    z-index:120!important;
  }
  .at-header-search-anchor--mobile .hs-anime-search,
  .at-header-search-anchor--mobile .hs-anime-search__form {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    overflow:visible!important;
  }
  .at-header-search-anchor--mobile .hs-anime-search__input {
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding-left:14px!important;
    padding-right:14px!important;
    font-size:16px!important;
    line-height:1.2!important;
    touch-action:manipulation;
  }
  .at-header-search-anchor--mobile .hs-anime-search__results {
    top:calc(100% + 7px)!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
    max-height:min(54dvh,460px)!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:9999999!important;
  }

  /* Dropdowny nejsou vázané na overflow Blocksy řádků. Jejich horní hranu
     dopočítává JS z reálné pozice kliknutého zvonku/avataru. */
  .at-header-account__dropdown,
  .at-notifications {
    position:fixed!important;
    top:var(--at-header-popover-top,72px)!important;
    right:max(8px,env(safe-area-inset-right))!important;
    left:auto!important;
    box-sizing:border-box!important;
    max-height:calc(100dvh - var(--at-header-popover-top,72px) - 10px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:1000000!important;
  }
  .at-header-account__dropdown {
    width:min(300px,calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
  }
  .at-notifications {
    width:min(390px,calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
  }
  .at-notifications__list {
    max-height:min(54dvh,430px)!important;
  }
}

@media (max-width:520px) {
  .at-header-account-anchor--compact .at-header-account__trigger,
  .at-header-account-anchor--compact .at-header-notifications__trigger {
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
  }
  .at-header-account-anchor--compact .at-header-account__avatar {
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }
  .at-header-search-anchor--mobile { padding-top:8px!important; padding-bottom:9px!important; }
}
@media (max-width:999px) {
  .at-site-header .at-account-tools-column {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    overflow:visible!important;
    z-index:9998!important;
  }
}

/* ========================================================================== */
/* 3.47.0 – kompaktní mobilní/tabletový header                                */
/* ========================================================================== */
.at-header-search-toggle {
  display:none;
  place-items:center;
  width:42px;
  height:42px;
  min-width:42px;
  padding:0;
  border:1px solid #303038;
  border-radius:11px;
  background:#151515;
  color:#d8d5df;
  cursor:pointer;
  box-shadow:none;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.at-header-search-toggle svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.at-header-search-toggle:hover,
.at-header-search-toggle.is-active {
  border-color:rgba(118,82,244,.62);
  background:#1b1920;
  color:#fff;
}
.at-header-search-toggle:focus-visible {
  outline:2px solid rgba(118,82,244,.72);
  outline-offset:2px;
}

@media (max-width:999px) {
  .at-header-account-anchor--compact .at-header-search-toggle { display:grid!important; }

  /* Na mobilu už search nezabírá permanentně celý druhý řádek. Otevře se jen
     na vyžádání přes lupu vedle zvonečku a účtu. */
  .at-header-search-anchor--mobile {
    display:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:9px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))!important;
    border-top:1px solid #28282f!important;
    border-bottom:1px solid #28282f!important;
    background:#111113!important;
    box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
    position:relative!important;
    z-index:9997!important;
  }
  .at-header-search-anchor--mobile.is-open { display:block!important; }

  .at-header-search-anchor--mobile .hs-anime-search__form {
    border-radius:12px!important;
  }
  .at-header-search-anchor--mobile .hs-anime-search__input {
    height:44px!important;
    min-height:44px!important;
    border-radius:11px!important;
    font-size:16px!important;
  }
  .at-header-search-anchor--mobile .hs-anime-search__results {
    top:calc(100% + 7px)!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
  }

  /* Nástroje jsou jedna jasná skupina: lupa → zvoneček → účet. */
  .at-header-account-anchor--compact .at-header-tools,
  .at-header-compact-actions {
    gap:6px!important;
  }
  .at-header-account-anchor--compact .at-header-account__trigger,
  .at-header-account-anchor--compact .at-header-notifications__trigger,
  .at-header-account-anchor--compact .at-header-search-toggle {
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    border-radius:10px!important;
  }
  .at-header-account-anchor--compact .at-header-account__avatar {
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }
}

@media (max-width:430px) {
  .at-header-account-anchor--compact .at-header-tools,
  .at-header-compact-actions { gap:5px!important; }
  .at-header-account-anchor--compact .at-header-account__trigger,
  .at-header-account-anchor--compact .at-header-notifications__trigger,
  .at-header-account-anchor--compact .at-header-search-toggle {
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
  }
  .at-header-account-anchor--compact .at-header-account__avatar {
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }
}


/* ========================================================================== */
/* 3.47.1 – kompletní navigace telefonu/tabletu + klidné otevření přihlášení  */
/* ========================================================================== */
.at-header-menu-toggle {
  display:none;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  margin-right:7px;
  padding:0;
  border:1px solid #303038;
  border-radius:10px;
  background:#151515;
  color:#d8d5df;
  cursor:pointer;
  box-shadow:none;
  flex:0 0 auto;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.at-header-menu-toggle svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.at-header-menu-toggle:hover,
.at-header-menu-toggle[aria-expanded="true"] {
  border-color:rgba(118,82,244,.62);
  background:#1b1920;
  color:#fff;
}
.at-header-menu-toggle:focus-visible {
  outline:2px solid rgba(118,82,244,.72);
  outline-offset:2px;
}

.at-mobile-navigation[hidden] { display:none!important; }
.at-mobile-navigation {
  position:fixed;
  inset:0;
  z-index:10000020;
  pointer-events:none;
}
.at-mobile-navigation.is-open { pointer-events:auto; }
.at-mobile-navigation__backdrop {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(5,5,8,.68);
  opacity:0;
  cursor:default;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  transition:opacity .18s ease;
}
.at-mobile-navigation.is-open .at-mobile-navigation__backdrop { opacity:1; }
.at-mobile-navigation__panel {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:min(350px,88vw);
  max-width:100%;
  padding:max(18px,env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
  border-right:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 0 0,rgba(118,82,244,.12),transparent 32%),
    #111113;
  box-shadow:26px 0 70px rgba(0,0,0,.38);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  transform:translateX(-104%);
  transition:transform .2s cubic-bezier(.2,.75,.2,1);
}
.at-mobile-navigation.is-open .at-mobile-navigation__panel { transform:translateX(0); }
.at-mobile-navigation__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:52px;
  margin:0 2px 13px;
  padding:0 2px 14px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.at-mobile-navigation__head div { min-width:0; }
.at-mobile-navigation__head span {
  display:block;
  margin-bottom:2px;
  color:#817d8a;
  font-size:10px;
  font-weight:700;
  letter-spacing:.035em;
}
.at-mobile-navigation__head strong {
  display:block;
  color:#f4f2f7;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.025em;
}
.at-mobile-navigation__close {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  padding:0;
  border:1px solid #303038;
  border-radius:10px;
  background:#17171a;
  color:#c9c6d0;
  cursor:pointer;
}
.at-mobile-navigation__close:hover { border-color:#45414d;background:#1e1d23;color:#fff; }
.at-mobile-navigation__close svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.at-mobile-navigation__links {
  display:flex;
  flex-direction:column;
  gap:5px;
}
.at-mobile-navigation__links a {
  display:flex;
  align-items:center;
  min-height:50px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:11px;
  color:#d9d6df;
  font-size:14px;
  font-weight:720;
  line-height:1.3;
  text-decoration:none!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.at-mobile-navigation__links a:hover,
.at-mobile-navigation__links a:focus-visible {
  border-color:rgba(118,82,244,.20);
  background:rgba(118,82,244,.08);
  color:#fff;
}
.at-mobile-navigation__links a.is-current,
.at-mobile-navigation__links a[aria-current="page"] {
  border-color:rgba(118,82,244,.28);
  background:rgba(118,82,244,.11);
  color:#c7baff;
}
html.at-mobile-nav-open,
html.at-mobile-nav-open body { overflow:hidden!important; }

@media (max-width:999px) {
  .at-header-menu-toggle.is-placed { display:grid!important; }

  /* Hamburger patří na začátek aktivního Blocksy řádku, před logo. Plugin tak
     doplňuje jen mobilní ovládání, zatímco samotný obsah menu dál bere z
     hlavní WordPress/Blocksy navigace. */
  .at-site-header [data-device="mobile"] [data-column="start"],
  .at-site-header [data-row] [data-column="start"] {
    min-width:0;
  }

  /* iOS Safari: pole necháváme dostatečně velké, ale modal se při otevření na
     telefonu/tabletu záměrně soustředí na dialog, nikoli na první input. */
  .at-auth-modal .at-field input,
  .at-auth-modal .at-field select,
  .at-auth-modal .at-field textarea {
    font-size:16px!important;
  }
}

@media (max-width:430px) {
  .at-header-menu-toggle {
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    margin-right:5px;
  }
  .at-mobile-navigation__panel { width:min(330px,91vw); }
}

/* ========================================================================== */
/* 3.47.2 – mobilní/tabletový header ve vlastní druhé liště                    */
/* ========================================================================== */
.at-header-secondary-bar { display:none; }

@media (max-width:999px) {
  /* První řádek Blocksy necháváme úplně na pokoji. Logo se tak už nikdy
     nepotkává s hamburgerem, účtem ani zvonečkem. */
  .at-site-header .at-header-secondary-bar {
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left))!important;
    border-top:1px solid #28282f!important;
    border-bottom:1px solid #28282f!important;
    background:#111113!important;
    position:relative!important;
    z-index:9997!important;
  }

  .at-header-secondary-bar__inner {
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:var(--theme-normal-container-max-width,1290px)!important;
    min-height:58px!important;
    margin:0 auto!important;
    padding:7px 0!important;
    box-sizing:border-box!important;
  }

  .at-header-secondary-bar__menu,
  .at-header-secondary-bar__search,
  .at-header-secondary-bar__actions {
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
  }
  .at-header-secondary-bar__actions { justify-content:flex-end!important; }

  .at-header-menu-toggle {
    display:grid!important;
    margin:0!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
  }

  /* Vyhledávání je součást stejné druhé lišty, nikoli dalšího třetího řádku. */
  .at-header-secondary-bar .at-header-search-anchor--mobile {
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    position:relative!important;
    z-index:1!important;
  }
  .at-header-secondary-bar .at-header-search-anchor--mobile .hs-anime-search,
  .at-header-secondary-bar .at-header-search-anchor--mobile .hs-anime-search__form {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  .at-header-secondary-bar .at-header-search-anchor--mobile .hs-anime-search__input {
    width:100%!important;
    height:42px!important;
    min-height:42px!important;
    padding-left:40px!important;
    padding-right:12px!important;
    border-radius:10px!important;
    font-size:16px!important;
  }
  .at-header-secondary-bar .at-header-search-anchor--mobile .hs-anime-search__results {
    top:calc(100% + 8px)!important;
    right:0!important;
    left:0!important;
    width:min(520px,calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
  }

  /* Lupa v účtovém bloku už není potřeba – search je přímo viditelný uprostřed. */
  .at-header-secondary-bar .at-header-search-toggle { display:none!important; }

  .at-header-secondary-bar .at-header-account-anchor--compact {
    display:flex!important;
    margin:0!important;
    position:relative!important;
    z-index:3!important;
  }
  .at-header-secondary-bar .at-header-account-anchor--compact .at-header-tools {
    gap:6px!important;
    min-width:auto!important;
  }
  .at-header-secondary-bar .at-header-account-anchor--compact .at-header-account__trigger,
  .at-header-secondary-bar .at-header-account-anchor--compact .at-header-notifications__trigger {
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    border-radius:10px!important;
  }
  .at-header-secondary-bar .at-header-account-anchor--compact .at-header-account__avatar {
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }

  /* Staré kompaktní hosty po předchozích verzích nesmějí zabírat místo. */
  .at-site-header .at-header-compact-actions:empty { display:none!important; }
}

@media (max-width:520px) {
  .at-site-header .at-header-secondary-bar {
    padding-left:max(10px,env(safe-area-inset-left))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
  }
  .at-header-secondary-bar__inner {
    grid-template-columns:40px minmax(0,1fr) auto!important;
    gap:6px!important;
    min-height:56px!important;
    padding:7px 0!important;
  }
  .at-header-secondary-bar .at-header-menu-toggle,
  .at-header-secondary-bar .at-header-account__trigger,
  .at-header-secondary-bar .at-header-notifications__trigger {
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
  }
  .at-header-secondary-bar .at-header-search-anchor--mobile .hs-anime-search__input {
    height:40px!important;
    min-height:40px!important;
    padding-left:37px!important;
    padding-right:9px!important;
  }
  .at-header-secondary-bar .at-header-account-anchor--compact .at-header-tools { gap:5px!important; }
}

@media (max-width:360px) {
  .at-site-header .at-header-secondary-bar {
    padding-left:max(8px,env(safe-area-inset-left))!important;
    padding-right:max(8px,env(safe-area-inset-right))!important;
  }
  .at-header-secondary-bar__inner {
    grid-template-columns:38px minmax(0,1fr) auto!important;
    gap:5px!important;
  }
  .at-header-secondary-bar .at-header-menu-toggle,
  .at-header-secondary-bar .at-header-account__trigger,
  .at-header-secondary-bar .at-header-notifications__trigger {
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
  }
}


/* ========================================================================== */
/* 3.47.3 – čistý auth toolbar: přepínač Přihlášení/Registrace + samostatné X */
/* ========================================================================== */
.at-auth-modal__toolbar {
  display:grid;
  grid-template-columns:minmax(0,1fr) 38px;
  align-items:center;
  gap:10px;
  width:100%;
  margin:0 0 22px;
}
.at-auth-modal__toolbar .at-auth-tabs {
  width:100%;
  min-width:0;
  margin:0!important;
}
.at-auth-modal__toolbar .at-auth-modal__close {
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  align-self:center;
}
@media (max-width:520px) {
  .at-auth-modal__toolbar {
    grid-template-columns:minmax(0,1fr) 40px;
    gap:8px;
    margin-bottom:20px;
  }
  .at-auth-modal__toolbar .at-auth-modal__close {
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
  }
}

/* ========================================================================== */
/* 3.47.4 – mobilní auth: zavírání má vlastní vyhrazený prostor nad záložkami */
/* ========================================================================== */
@media (max-width:999px) {
  .at-auth-modal .at-auth-modal__toolbar {
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 20px!important;
    padding:48px 0 0!important;
  }
  .at-auth-modal .at-auth-modal__toolbar .at-auth-modal__close {
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    margin:0!important;
    transform:none!important;
    z-index:2!important;
  }
  .at-auth-modal .at-auth-modal__toolbar .at-auth-tabs {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:3px!important;
    box-sizing:border-box!important;
  }
  .at-auth-modal .at-auth-modal__toolbar .at-auth-tab {
    min-width:0!important;
    width:100%!important;
  }
}

/* ========================================================================== */
/* 3.47.6 – tým na mobilním detailu anime je kompaktní                       */
/* ========================================================================== */
@media (max-width:760px) {
  .hs-anime-detail-page .at-hs-team {
    margin:0 !important;
    border-radius:12px !important;
  }
  .hs-anime-detail-page .at-hs-team__group--hero {
    grid-template-columns:38px minmax(0,1fr) 24px !important;
    gap:8px !important;
    padding:8px 9px !important;
  }
  .hs-anime-detail-page .at-hs-team__group--hero .at-hs-team__group-avatar {
    width:38px !important;
    height:38px !important;
    border-radius:8px !important;
  }
  .hs-anime-detail-page .at-hs-team__group--hero .at-hs-team__group-copy strong { font-size:11px !important; }
  .hs-anime-detail-page .at-hs-team__group--hero .at-hs-team__group-copy em { margin-top:2px !important; font-size:7.5px !important; }

  /* Překlad a korekce zůstávají vedle sebe i na telefonu. */
  .hs-anime-detail-page .at-hs-team__roles {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .hs-anime-detail-page .at-hs-team__role {
    display:grid !important;
    grid-template-columns:1fr !important;
    align-content:start !important;
    gap:6px !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:9px !important;
  }
  .hs-anime-detail-page .at-hs-team__role + .at-hs-team__role {
    border-top:0 !important;
    border-left:1px solid rgba(255,255,255,.06) !important;
  }
  .hs-anime-detail-page .at-hs-team__role-label { font-size:7.5px !important; }
  .hs-anime-detail-page .at-hs-team__people {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:4px !important;
    min-width:0 !important;
  }
  .hs-anime-detail-page .at-hs-team-person {
    width:100% !important;
    min-width:0 !important;
    min-height:27px !important;
    gap:5px !important;
    padding:2px 6px 2px 2px !important;
    overflow:hidden !important;
    border-radius:7px !important;
    font-size:8.5px !important;
  }
  .hs-anime-detail-page .at-hs-team-person > span:last-child {
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .hs-anime-detail-page .at-hs-team-person__avatar {
    width:21px !important;
    height:21px !important;
    flex:0 0 21px !important;
  }

  /* Srdíčko má stejnou výšku jako nové kompaktní stažení. */
  .hs-anime-detail-page .at-episode-heart {
    flex:0 0 auto !important;
    min-width:38px !important;
    height:38px !important;
    padding:0 9px !important;
    border-radius:9px !important;
  }
}

/* 3.47.7 – srdíčko v horním řádku epizody je stejně vysoké jako stažení. */
@media (max-width:760px) {
  .hs-anime-detail-page .hs-episode-topline .at-episode-heart {
    min-width:34px !important;
    height:34px !important;
    padding:0 7px !important;
    border-radius:8px !important;
    font-size:9px !important;
  }
  .hs-anime-detail-page .hs-episode-topline .at-episode-heart svg {
    width:14px !important;
    height:14px !important;
  }
}


/* 3.47.8 – srdíčko a stažení mají v detailu anime vždy shodnou výšku. */
.hs-anime-detail-page .hs-episode-topline .hs-episode-actions {
  --at-episode-action-height:38px;
  align-items:center !important;
}
.hs-anime-detail-page .hs-episode-topline .hs-episode-btn,
.hs-anime-detail-page .hs-episode-topline .at-episode-heart {
  box-sizing:border-box !important;
  height:var(--at-episode-action-height) !important;
  min-height:var(--at-episode-action-height) !important;
  margin:0 !important;
}
.hs-anime-detail-page .hs-episode-topline .at-episode-heart {
  min-width:40px !important;
  padding:0 9px !important;
  border-radius:9px !important;
  line-height:1 !important;
}
@media (max-width:760px) {
  .hs-anime-detail-page .hs-episode-topline .hs-episode-actions {
    --at-episode-action-height:34px;
  }
  .hs-anime-detail-page .hs-episode-topline .at-episode-heart {
    min-width:38px !important;
    padding:0 7px !important;
    border-radius:8px !important;
    font-size:9px !important;
  }
}


/* =========================================================
   Legal notice and rights pages – 3.66.4
   ========================================================= */
.at-auth-privacy-note {
  margin: -1px 2px 1px;
  color: #85818d;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}
.at-auth-privacy-note a {
  color: #aa98ff !important;
  font-weight: 750;
  text-decoration: none !important;
}
.at-auth-privacy-note a:hover { text-decoration: underline !important; }

.at-rights,
.at-rights * { box-sizing: border-box; }
.at-rights {
  width: min(980px, calc(100% - 32px));
  margin: 28px auto 64px;
  color: #eeeef2;
}
.at-rights__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 23px 25px;
  border: 1px solid #2b2b33;
  border-radius: 16px;
  background: linear-gradient(135deg, #17171c 0%, #18151f 100%);
}
.at-rights__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #9f87ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.at-rights__head h1 { margin: 0; color: #fff; font-size: clamp(24px,3vw,34px); line-height: 1.1; }
.at-rights__head p { margin: 8px 0 0; color: #95959f; font-size: 12px; line-height: 1.55; }
.at-rights__languages {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #2d2d35;
  border-radius: 10px;
  background: #111216;
  flex: 0 0 auto;
}
.at-rights__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 148px;
  padding: 9px 11px;
  border: 1px solid #2d2d35;
  border-radius: 10px;
  background: #111216;
  flex: 0 0 auto;
}
.at-rights__meta span {
  color: #777983;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.at-rights__meta strong {
  color: #c2b5ff;
  font-size: 11px;
  font-weight: 850;
}
.at-privacy__document strong { color: #e8e6ef; }
.at-rights__language {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8f9099;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.at-rights__language.is-active { background: #2a2245; color: #c2b5ff; }
.at-rights__document {
  padding: clamp(22px,4vw,36px);
  border: 1px solid #2b2b33;
  border-radius: 16px;
  background: #16171a;
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.at-rights__document[hidden] { display: none !important; }
.at-rights__lead {
  margin: 0 0 26px !important;
  padding: 13px 15px;
  border-left: 3px solid #7652f4;
  border-radius: 0 9px 9px 0;
  background: rgba(118,82,244,.08);
  color: #b9b8c1 !important;
}
.at-rights__document h2 {
  margin: 28px 0 9px;
  color: #f5f4f8;
  font-size: 16px;
  line-height: 1.35;
}
.at-rights__document h2:first-of-type { margin-top: 0; }
.at-rights__document p {
  margin: 0 0 11px;
  color: #aaaab3;
  font-size: 12.5px;
  line-height: 1.72;
}
.at-rights__document a { color: #aa98ff !important; }

@media (max-width: 680px) {
  .at-rights { width: min(100% - 22px, 980px); margin-top: 18px; }
  .at-rights__head { align-items: flex-start; flex-direction: column; padding: 19px; }
  .at-rights__languages { width: 100%; }
  .at-rights__language { flex: 1; }
  .at-rights__meta { align-items: flex-start; width: 100%; min-width: 0; }
  .at-rights__document { padding: 20px 18px; }
}


/* ========================================================================== */
/* Členové – škálovatelný komunitní adresář 3.68.1                          */
/* ========================================================================== */
.at-members-directory { max-width:1180px; }
.at-members-header {
  margin-bottom:14px;
  overflow:hidden;
  border:1px solid #2c2d34;
  border-radius:16px;
  background:#17181c;
}
.at-members-header__intro {
  padding:18px 20px 15px;
  border-bottom:1px solid #292a31;
}
.at-members-header__title-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.at-members-header h1 {
  margin:3px 0 0;
  color:#ececf0;
  font-size:clamp(25px,2.8vw,32px);
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.08;
}
.at-members-header__intro > p {
  max-width:620px;
  margin:8px 0 0;
  color:#858a95;
  font-size:12px;
  line-height:1.55;
}
.at-members-total {
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  flex:0 0 auto;
  padding:0 1px 2px 12px;
  color:#747985;
  font-size:10px;
  white-space:nowrap;
}
.at-members-total strong {
  color:#c8bbff;
  font-size:16px;
  font-weight:800;
  line-height:1;
}

.at-members-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0;
  padding:10px 12px;
  background:#141519;
}
.at-members-toolbar__controls {
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 520px;
  min-width:0;
}
.at-members-search {
  position:relative;
  display:block;
  flex:1 1 320px;
  min-width:180px;
  margin:0;
}
.at-members-search svg {
  position:absolute;
  top:50%;
  left:12px;
  width:15px;
  height:15px;
  transform:translateY(-50%);
  fill:none;
  stroke:#777b86;
  stroke-width:1.8;
  pointer-events:none;
}
.at-members-search input {
  width:100%;
  height:36px;
  margin:0;
  padding:0 12px 0 36px;
  border:1px solid #32343b;
  border-radius:9px;
  outline:0;
  background:#0f1013;
  color:#e8e8ec;
  font:inherit;
  font-size:12px;
  box-shadow:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.at-members-search input::placeholder { color:#666a75; }
.at-members-search input:hover { border-color:#444650; }
.at-members-search input:focus,
.at-members-search input:focus-visible {
  outline:none !important;
  border-color:#7861d6 !important;
  background:#111217;
  box-shadow:0 0 0 2px rgba(118,82,244,.12) !important;
}

.at-members-sort {
  position:relative;
  display:block;
  flex:0 0 auto;
  min-width:142px;
  margin:0;
}
.at-members-sort__native {
  width:auto;
  min-width:142px;
  height:36px;
  margin:0;
  padding:0 30px 0 12px;
  border:1px solid #32343b;
  border-radius:9px;
  outline:0 !important;
  background:#0f1013;
  color:#d7d8de;
  font:inherit;
  font-size:11px;
  font-weight:650;
  box-shadow:none !important;
  cursor:pointer;
}
.at-members-sort.is-enhanced .at-members-sort__native {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.at-members-sort__button {
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  min-width:142px;
  height:36px;
  margin:0;
  padding:0 10px;
  border:1px solid #32343b;
  border-radius:9px;
  outline:none !important;
  background:#0f1013;
  color:#d7d8de;
  font:inherit;
  font-size:11px;
  font-weight:650;
  line-height:1;
  box-shadow:none !important;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.at-members-sort__button:hover { border-color:#444650; background:#121318; }
.at-members-sort__button:focus,
.at-members-sort__button:focus-visible,
.at-members-sort.is-open .at-members-sort__button {
  outline:none !important;
  border-color:#7861d6 !important;
  background:#111217;
  box-shadow:0 0 0 2px rgba(118,82,244,.12) !important;
}
.at-members-sort__icon,
.at-members-sort__chevron {
  flex:0 0 auto;
  width:14px;
  height:14px;
  fill:none;
  stroke:#777b86;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.at-members-sort__button > span { flex:1 1 auto; text-align:left; white-space:nowrap; }
.at-members-sort__chevron { width:13px; height:13px; margin-left:2px; transition:transform .15s ease; }
.at-members-sort.is-open .at-members-sort__chevron { transform:rotate(180deg); }
.at-members-sort__menu {
  position:absolute;
  z-index:40;
  top:calc(100% + 6px);
  right:0;
  width:100%;
  min-width:150px;
  padding:5px;
  border:1px solid #343640;
  border-radius:10px;
  background:#17181d;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}
.at-members-sort__menu[hidden] { display:none !important; }
.at-members-sort__menu button {
  display:flex;
  align-items:center;
  width:100%;
  min-height:32px;
  margin:0;
  padding:0 10px;
  border:0;
  border-radius:7px;
  outline:none;
  background:transparent;
  color:#aeb1ba;
  font:inherit;
  font-size:11px;
  font-weight:650;
  text-align:left;
  cursor:pointer;
}
.at-members-sort__menu button:hover,
.at-members-sort__menu button:focus-visible { background:#202128; color:#eeeeF2; }
.at-members-sort__menu button.is-active,
.at-members-sort__menu button[aria-selected="true"] { background:#292438; color:#c1b4ff; }

.at-members-role-filters {
  display:flex;
  align-items:center;
  gap:2px;
  flex:0 0 auto;
  padding:3px;
  border:1px solid #2f3037;
  border-radius:9px;
  background:#0f1013;
}
.at-members-role-filters a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:6px;
  color:#777c87 !important;
  font-size:9px;
  font-weight:750;
  line-height:1;
  text-decoration:none !important;
  white-space:nowrap;
  transition:background .15s ease,color .15s ease;
}
.at-members-role-filters a:hover { color:#c7c8cf !important; }
.at-members-role-filters a.is-active { background:#282333; color:#b9abff !important; }

.at-members-results { position:relative; min-height:120px; transition:opacity .15s ease; }
.at-members-results.is-loading { opacity:.48; pointer-events:none; }
.at-members-results.is-loading::after {
  content:"";
  position:absolute;
  top:16px;
  right:16px;
  width:16px;
  height:16px;
  border:2px solid #3b3c44;
  border-top-color:#8c72ff;
  border-radius:50%;
  animation:at-members-spin .65s linear infinite;
}
@keyframes at-members-spin { to { transform:rotate(360deg); } }
.at-members-results__meta { display:flex; justify-content:flex-end; min-height:22px; margin:0 1px 7px; color:#686d78; font-size:10px; }

.at-member-grid.at-member-grid--directory {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.at-member-card.at-member-card--directory {
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 16px;
  align-items:center;
  gap:11px;
  min-height:68px;
  padding:10px 11px;
  border:1px solid #2c2d34;
  border-radius:11px;
  background:#17181c;
  transform:none;
  box-shadow:none;
}
.at-member-card.at-member-card--directory:hover { border-color:#4d426e; background:#1a1a20; transform:none; }
.at-member-card.at-member-card--directory > img { width:46px; height:46px; border-radius:50%; background:#111216; }
.at-member-card--directory .at-member-card__body { min-width:0; }
.at-member-card--directory .at-member-card__topline { display:flex; align-items:center; gap:7px; min-width:0; }
.at-member-card--directory .at-member-card__topline > strong {
  min-width:0;
  margin:0;
  overflow:hidden;
  color:#e4e5e9;
  font-size:12px;
  font-weight:750;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.at-member-role {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  min-height:18px;
  padding:0 6px;
  border:1px solid #34353c;
  border-radius:999px;
  color:#777c87;
  font-size:7px;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.at-member-role.is-translator { border-color:rgba(130,99,239,.32); background:rgba(118,82,244,.07); color:#aa97ff; }
.at-member-card--directory .at-member-card__body > small { margin-top:3px; color:#6f747f; font-size:9px; }
.at-member-card--directory .at-member-card__body > em { margin-top:3px; color:#9182d1; font-size:9px; }
.at-member-card__arrow { width:15px; height:15px; fill:none; stroke:#555a65; stroke-width:1.7; transition:transform .15s ease,stroke .15s ease; }
.at-member-card--directory:hover .at-member-card__arrow { transform:translateX(2px); stroke:#9179f2; }

.at-members-empty {
  display:grid;
  place-items:center;
  min-height:190px;
  padding:30px;
  border:1px dashed #33343c;
  border-radius:12px;
  background:#15161a;
  text-align:center;
}
.at-members-empty__icon { color:#7564bd; font-size:24px; line-height:1; }
.at-members-empty strong { margin-top:7px; color:#d7d8dd; font-size:13px; }
.at-members-empty p { margin:4px 0 0; color:#737884; font-size:11px; }

.at-members-pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:4px; margin-top:16px; }
.at-members-pagination .page-numbers {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:32px;
  padding:0 8px;
  border:1px solid #303139;
  border-radius:8px;
  background:#17181c;
  color:#858a95 !important;
  font-size:10px;
  font-weight:750;
  text-decoration:none !important;
}
.at-members-pagination a.page-numbers:hover { border-color:#4e426f; color:#d3cdf1 !important; }
.at-members-pagination .page-numbers.current { border-color:#5e4ca1; background:#282232; color:#bbaeff !important; }
.at-members-pagination .page-numbers.dots { border-color:transparent; background:transparent; }

[data-at-theme="light"] .at-member-card.at-member-card--directory,
[data-at-theme="light"] .at-members-pagination .page-numbers { border-color:#d9dde5; background:#fff; }
[data-at-theme="light"] .at-members-search input,
[data-at-theme="light"] .at-members-role-filters,
[data-at-theme="light"] .at-members-sort__native,
[data-at-theme="light"] .at-members-sort__button { border-color:#d5dae3; background:#f7f8fa; color:#222631; }
[data-at-theme="light"] .at-members-sort__menu { border-color:#d7dce4; background:#fff; box-shadow:0 12px 28px rgba(25,28,35,.14); }
[data-at-theme="light"] .at-members-sort__menu button { color:#656b76; }
[data-at-theme="light"] .at-members-sort__menu button:hover,
[data-at-theme="light"] .at-members-sort__menu button:focus-visible { background:#f3f1fa; color:#2e3038; }
[data-at-theme="light"] .at-members-sort__menu button.is-active,
[data-at-theme="light"] .at-members-sort__menu button[aria-selected="true"] { background:#eeeafd; color:#654cb8; }
[data-at-theme="light"] .at-members-role-filters a { color:#6b7280 !important; }
[data-at-theme="light"] .at-members-role-filters a.is-active { background:#ece8fb; color:#654cb8 !important; }
[data-at-theme="light"] .at-member-card.at-member-card--directory:hover { border-color:#b7abd9; background:#faf9fd; }
[data-at-theme="light"] .at-member-card--directory .at-member-card__topline > strong { color:#232631; }
[data-at-theme="light"] .at-members-total strong { color:#292d37; }
[data-at-theme="light"] .at-members-empty { border-color:#d6dbe4; background:#fafbfc; }
[data-at-theme="light"] .at-members-empty strong { color:#30343e; }

@media (max-width:900px) {
  .at-member-grid.at-member-grid--directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .at-members-directory { width:min(100% - 18px,1180px); }
  .at-member-grid.at-member-grid--directory { grid-template-columns:1fr; }
  .at-members-results__meta { justify-content:flex-start; }
}

/* Členové 3.68.1 – sjednocená hlavička a ovládání */
[data-at-theme="light"] .at-members-header { border-color:#d9dde5; background:#fff; }
[data-at-theme="light"] .at-members-header__intro { border-color:#e5e8ee; }
[data-at-theme="light"] .at-members-header h1 { color:#232631; }
[data-at-theme="light"] .at-members-header__intro > p { color:#6f7580; }
[data-at-theme="light"] .at-members-total { color:#7b818d; }
[data-at-theme="light"] .at-members-total strong { color:#654cb8; }
[data-at-theme="light"] .at-members-toolbar { background:#f8f9fb; }
[data-at-theme="light"] .at-members-search input,
[data-at-theme="light"] .at-members-sort__native,
[data-at-theme="light"] .at-members-sort__button,
[data-at-theme="light"] .at-members-role-filters { border-color:#d7dce4; background:#fff; color:#242833; }
[data-at-theme="light"] .at-members-search input:focus,
[data-at-theme="light"] .at-members-search input:focus-visible,
[data-at-theme="light"] .at-members-sort__button:focus,
[data-at-theme="light"] .at-members-sort__button:focus-visible,
[data-at-theme="light"] .at-members-sort.is-open .at-members-sort__button { border-color:#7962cf !important; background:#fff; box-shadow:0 0 0 2px rgba(121,98,207,.10) !important; }
[data-at-theme="light"] .at-members-role-filters a { color:#707682 !important; }
[data-at-theme="light"] .at-members-role-filters a.is-active { background:#eeeafd; color:#654cb8 !important; }

@media (max-width:900px) {
  .at-members-toolbar { align-items:stretch; flex-direction:column; gap:8px; }
  .at-members-toolbar__controls { flex:0 0 auto; width:100%; }
  .at-members-role-filters { align-self:flex-start; }
}
@media (max-width:640px) {
  .at-members-header { border-radius:13px; }
  .at-members-header__intro { padding:15px 14px 13px; }
  .at-members-header__title-row { align-items:flex-start; flex-direction:column; gap:8px; }
  .at-members-total { padding:0; }
  .at-members-toolbar { padding:9px; }
  .at-members-toolbar__controls { flex-direction:column; align-items:stretch; }
  .at-members-search { flex:0 0 auto; min-width:0; width:100%; }
  .at-members-sort { width:100%; }
  .at-members-sort__native, .at-members-sort__button { width:100%; }
  .at-members-role-filters { width:100%; overflow-x:auto; }
  .at-members-role-filters a { flex:1 0 auto; }
}

/* Členové 3.68.2 – vlastní focus a řazení bez systémového dropdownu */
.at-members-sort__button[hidden] { display:none !important; }
.at-members-search input { -webkit-appearance:none; appearance:none; }


/* Členové 3.68.3 – oprava dropdownu a jemnější vyhledávání */
.at-members-header {
  position:relative;
  z-index:20;
  overflow:visible;
}
.at-members-toolbar {
  position:relative;
  z-index:21;
  border-radius:0 0 15px 15px;
}
.at-members-sort { z-index:50; }
.at-members-sort__menu {
  z-index:100;
  top:calc(100% + 7px);
  overflow:hidden;
}
.at-members-results {
  position:relative;
  z-index:1;
}

.at-members-search svg {
  left:14px;
  width:16px;
  height:16px;
  stroke:#7f8490;
  transition:stroke .15s ease;
}
.at-members-search input {
  height:38px;
  padding:0 14px 0 43px !important;
  border:1px solid #3a3c45 !important;
  border-radius:10px;
  background:#111216;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015) !important;
  -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.015) !important;
}
.at-members-search input::placeholder { color:#686d79; }
.at-members-search:hover input { border-color:#4b4e59 !important; }
.at-members-search:focus-within svg { stroke:#9a84ff; }
.at-members-search input:focus,
.at-members-search input:focus-visible {
  outline:0 !important;
  border-color:#7652f4 !important;
  background:#121318;
  box-shadow:inset 0 0 0 1px rgba(118,82,244,.22) !important;
  -webkit-box-shadow:inset 0 0 0 1px rgba(118,82,244,.22) !important;
}

[data-at-theme="light"] .at-members-toolbar { border-radius:0 0 15px 15px; }
[data-at-theme="light"] .at-members-search input {
  border-color:#d7dbe3 !important;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(20,24,35,.02) !important;
  -webkit-box-shadow:inset 0 1px 0 rgba(20,24,35,.02) !important;
}
[data-at-theme="light"] .at-members-search:hover input { border-color:#c3c8d2 !important; }
[data-at-theme="light"] .at-members-search input:focus,
[data-at-theme="light"] .at-members-search input:focus-visible {
  border-color:#7652f4 !important;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(118,82,244,.16) !important;
  -webkit-box-shadow:inset 0 0 0 1px rgba(118,82,244,.16) !important;
}

@media (max-width:640px) {
  .at-members-toolbar { border-radius:0 0 12px 12px; }
}

/* ========================================================================== */
/* 3.68.4 – sjednocení vyhledávacích polí napříč veřejným webem              */
/* ========================================================================== */

/* Členové: vyhledávání a řazení mají stejnou geometrii. */
.at-members-search input,
.at-members-sort__native,
.at-members-sort__button {
  height:38px !important;
  min-height:38px !important;
  border-radius:11px !important;
}
.at-members-search input {
  padding:0 14px 0 40px !important;
  border-color:#34363e !important;
  background:#111216 !important;
}
.at-members-search svg {
  left:13px !important;
  width:15px !important;
  height:15px !important;
}
.at-members-search input:hover { border-color:#474a54 !important; }
.at-members-search input:focus,
.at-members-search input:focus-visible {
  border-color:#7652f4 !important;
  background:#121318 !important;
  box-shadow:0 0 0 2px rgba(118,82,244,.10) !important;
  -webkit-box-shadow:0 0 0 2px rgba(118,82,244,.10) !important;
}
.at-members-sort__native,
.at-members-sort__button {
  border-color:#34363e !important;
  background:#111216 !important;
}
.at-members-sort__button:hover { border-color:#474a54 !important; }
.at-members-sort__button:focus,
.at-members-sort__button:focus-visible,
.at-members-sort.is-open .at-members-sort__button {
  border-color:#7652f4 !important;
  background:#121318 !important;
  box-shadow:0 0 0 2px rgba(118,82,244,.10) !important;
}

/* Veřejný profil skupiny – vyhledávání projektů. */
.at-group-project-search {
  min-height:38px;
  padding:0 12px;
  border-color:#34363e;
  border-radius:11px;
  background:#111216;
  box-shadow:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.at-group-project-search:hover { border-color:#474a54; }
.at-group-project-search:focus-within {
  border-color:#7652f4;
  background:#121318;
  box-shadow:0 0 0 2px rgba(118,82,244,.10);
}
.at-group-project-search input {
  height:36px !important;
  min-height:36px !important;
  font-size:12px !important;
}

/* Výběr anime v účtových formulářích. */
.at-anime-search {
  min-height:38px;
  border-color:#34363e;
  border-radius:11px;
  background:#111216;
  box-shadow:none;
}
.at-anime-search:hover { border-color:#474a54; }
.at-anime-search:focus-within {
  border-color:#7652f4;
  background:#121318;
  box-shadow:0 0 0 2px rgba(118,82,244,.10);
}
.at-anime-search__icon {
  left:13px;
  width:15px;
  height:15px;
  color:#7f8490;
}
.at-anime-search input {
  height:36px;
  min-height:36px;
  padding:0 40px 0 39px;
  border-radius:11px;
  font-size:12px;
}
.at-anime-search input::placeholder { color:#686d79; }

/* Starší/theme search pole v hlavičce, pokud je někde ještě použito. */
.at-site-header__search-input,
.at-site-header input[type="search"] {
  height:38px !important;
  min-height:38px !important;
  border-radius:11px !important;
}

[data-at-theme="light"] .at-members-search input,
[data-at-theme="light"] .at-members-sort__native,
[data-at-theme="light"] .at-members-sort__button,
[data-at-theme="light"] .at-group-project-search,
[data-at-theme="light"] .at-anime-search {
  border-color:#d5d9e1 !important;
  background:#fff !important;
}
[data-at-theme="light"] .at-members-search input:hover,
[data-at-theme="light"] .at-members-sort__button:hover,
[data-at-theme="light"] .at-group-project-search:hover,
[data-at-theme="light"] .at-anime-search:hover { border-color:#c3c8d2 !important; }
[data-at-theme="light"] .at-members-search input:focus,
[data-at-theme="light"] .at-members-search input:focus-visible,
[data-at-theme="light"] .at-members-sort__button:focus,
[data-at-theme="light"] .at-members-sort__button:focus-visible,
[data-at-theme="light"] .at-members-sort.is-open .at-members-sort__button,
[data-at-theme="light"] .at-group-project-search:focus-within,
[data-at-theme="light"] .at-anime-search:focus-within {
  border-color:#7652f4 !important;
  background:#fff !important;
  box-shadow:0 0 0 2px rgba(118,82,244,.09) !important;
}


/* Banner profilů a skupin: zabránění opakování obrázku. */
.at-user-hero,
.at-group-hero--v5 {
  background-repeat:no-repeat;
}

/* Zarovnání ovládacích prvků avataru a banneru: oba řádky používají stejný sloupec náhledu. */
@media (min-width:681px) {
  .at-profile-settings .at-media-setting,
  .at-profile-settings .at-media-setting--banner,
  .at-group-settings .at-media-setting,
  .at-group-settings .at-media-setting--banner {
    grid-template-columns:190px minmax(0,1fr);
  }
  .at-profile-settings .at-media-setting__preview--avatar,
  .at-group-settings .at-media-setting__preview--avatar {
    justify-self:center;
  }
}

.at-profile-settings .at-media-setting__actions,
.at-group-settings .at-media-setting__actions {
  align-items:center;
}

.at-profile-settings .at-file-button,
.at-profile-settings .at-file-remove,
.at-group-settings .at-file-button,
.at-group-settings .at-file-remove {
  box-sizing:border-box;
  height:32px;
  min-height:32px;
  margin:0;
  line-height:1;
  justify-content:center;
}

/* Bannery profilů a skupin: zdrojový obrázek může zůstat 16:9,
   ale samotný profilový banner zůstává nízký jako dříve.
   Obrázek vyplní celý prostor přes cover, takže se na širokém banneru
   mírně ořízne nahoře/dole místo nepřirozeného natažení. */
.at-user-hero {
  aspect-ratio:auto !important;
  min-height:255px !important;
  background-repeat:no-repeat !important;
  background-size:100% 100%,100% 100%,cover !important;
}
.at-group-hero--v5 {
  aspect-ratio:auto !important;
  min-height:270px !important;
  background-repeat:no-repeat !important;
  background-size:100% 100%,100% 100%,cover !important;
}

.at-profile-settings .at-media-setting__preview--banner,
.at-group-settings .at-media-setting__preview--banner {
  width:190px;
  height:auto !important;
  aspect-ratio:16 / 9;
  background:#0e0f12;
}
.at-profile-settings .at-media-setting__preview--banner img,
.at-group-settings .at-media-setting__preview--banner img {
  width:100%;
  height:100%;
  object-fit:cover !important;
  background:#0e0f12;
}

@media (max-width:680px) {
  .at-profile-settings .at-media-setting__preview--banner,
  .at-group-settings .at-media-setting__preview--banner {
    width:min(100%,220px) !important;
    max-width:220px;
    height:auto !important;
    aspect-ratio:16 / 9;
  }
}

@media (max-width:680px) {
  .at-user-hero,
  .at-group-hero--v5 {
    min-height:230px !important;
  }
}


/* Interaktivní výběr důležité části banneru. Náhled odpovídá přibližně
   širokému veřejnému banneru; uložená pozice se následně použije na profilu. */
.at-media-setting--banner .at-banner-positioner {
  grid-column:1 / -1;
  display:grid;
  gap:8px;
  width:100%;
  margin-top:4px;
}
.at-media-setting--banner .at-banner-positioner[hidden] { display:none !important; }
.at-banner-positioner__frame {
  position:relative;
  width:100%;
  max-width:760px;
  aspect-ratio:5 / 1;
  overflow:hidden;
  border:1px solid #30343a;
  border-radius:10px;
  background:#0e0f12;
  cursor:grab;
  touch-action:none;
  user-select:none;
  outline:none;
}
.at-banner-positioner__frame:focus-visible {
  border-color:#7652f4;
  box-shadow:0 0 0 2px rgba(118,82,244,.18);
}
.at-banner-positioner__frame.is-dragging { cursor:grabbing; }
.at-banner-positioner__frame > img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  pointer-events:none;
  user-select:none;
}
.at-banner-positioner__frame::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.08),transparent 22%,transparent 78%,rgba(0,0,0,.08));
}
.at-banner-positioner__hint {
  position:absolute;
  left:50%;
  bottom:8px;
  z-index:1;
  transform:translateX(-50%);
  padding:4px 8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(10,11,13,.72);
  color:#e8e9ec;
  font-size:10px;
  font-weight:700;
  line-height:1;
  pointer-events:none;
  backdrop-filter:blur(4px);
}
.at-banner-positioner__controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  max-width:760px;
}
.at-banner-positioner__controls small {
  color:#8f949d;
  font-size:11px;
  line-height:1.45;
}
.at-banner-positioner__reset {
  flex:0 0 auto;
  min-height:30px;
  padding:0 10px;
  border:1px solid #343941;
  border-radius:7px;
  background:#15181c;
  color:#dfe2e7;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
}
.at-banner-positioner__reset:hover { border-color:#5b4a92; background:#1b1922; color:#fff; }

@media (max-width:680px) {
  .at-banner-positioner__frame { aspect-ratio:4 / 1; }
  .at-banner-positioner__controls { align-items:flex-start; flex-direction:column; }
}
