body:has(.section) .msg-section,
body:has(.section) .start_author,
body:has(.section) aside {
    display: none !important;
}

/* Текущие дуэли — компактный список как на Поэмбуке */
.current-duels-heading {
  margin-top: 32px;
  margin-bottom: 12px;
}

.current-duels-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fafafa;
}

.current-duel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.current-duel-row:last-child {
  border-bottom: none;
}

.current-duel-pair {
  color: #333;
  max-width: 100%;
}

.current-duel-vs {
  color: #038C8C;
  font-weight: 600;
  flex-shrink: 0;
}

.current-duel-open {
  margin-left: auto;
  padding: 6px 14px;
  background: #038C8C;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.current-duel-open:hover {
  background: #027a7a;
}

.featured-countdown {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
}

/* Шаринг дуэли и призыв после голоса */
.duel-share-block .duel-share-label { margin-right: 8px; font-size: 14px; color: #666; }
.duel-share-block .duel-share-btn,
.duel-share-buttons .duel-share-btn {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: #038C8C;
  color: #fff !important;
}
.duel-share-block .duel-share-btn:hover,
.duel-share-buttons .duel-share-btn:hover { background: #027a7a; }
.duel-vote-thanks { margin-top: 16px; padding: 16px; background: #f0f9f9; border-radius: 8px; text-align: center; }
.duel-vote-thanks-msg { margin: 0 0 10px 0; font-size: 14px; color: #333; }
.duel-share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.duel-onboarding-banner .duel-onboarding-cta { display: inline-block; padding: 8px 16px; background: #038C8C; color: #fff !important; text-decoration: none !important; border-radius: 6px; font-size: 14px; }
.duel-onboarding-banner .duel-onboarding-cta:hover { background: #027a7a; }
.duel-onboarding-banner .duel-onboarding-dismiss { padding: 8px 16px; background: transparent; border: 1px solid #038C8C; color: #038C8C; border-radius: 6px; font-size: 14px; cursor: pointer; }
.duel-onboarding-banner .duel-onboarding-dismiss:hover { background: rgba(3,140,140,0.1); }
.duel-landing-lead { font-size: 1.1em; color: #333; }

.duel-achievement-badge { display: inline-block; padding: 4px 10px; background: #e8f5e9; color: #2e7d32; border-radius: 12px; font-size: 13px; }
.duel-achievements-list .duel-achievement-badge { margin: 0; }

@media (max-width: 730px) {
  .current-duel-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .current-duel-open {
    margin-left: 0;
  }
  .active-duel-card {
    flex-direction: column;
    align-items: stretch;
  }

  .active-duel-timer {
    min-width: auto;
    width: 100%;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .timer-label {
    font-size: 12px;
  }

  .timer-value {
    font-size: 18px;
  }

  .active-duel-card .duel-participants {
    padding: 12px;
  }

  .active-duel-card .participant-left,
  .active-duel-card .participant-right {
    justify-content: flex-start;
  }

  .active-duel-card .duel-vs-icon-small {
    padding: 0 8px;
  }

  .active-duel-card > a {
    margin: 12px;
    margin-top: 0;
  }

  .completed-duel-card {
    flex-direction: column;
  }

  .completed-duel-card .duel-participants {
    order: 2;
    padding: 15px;
  }

  .duel-score-left,
  .duel-score-right {
    flex: none;
    width: 100%;
    min-width: auto;
    padding: 12px 18px;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .duel-score-right {
    order: 3;
  }

  .participants-row {
    flex-direction: column;
    gap: 10px;
  }
}

body:has(.section) .cnt,
body:has(.section) .cntl,
body:has(.section) .cntl-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body:has(.section) .cnt-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    flex-direction: column !important;
}

body:has(.section) main {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body:has(.section) {
  background-color: #f3f6f9;
}

.section {
  background-color: white;
  margin-top: 76px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 300px);
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
}

.section.list-page {
  padding-bottom: 60px;
  margin-bottom: 40px;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .section {
    margin-left: 50px;
    margin-right: 50px;
    width: calc(100% - 100px);
  }
}

@media (max-width: 980px) {
  .section {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    margin-top: 20px;
  }
}
.heading {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0%;
  color: #038c8c;
  padding-top: 32px;
  margin-bottom: 24px;
  margin-top: 76px;
  margin-left: 35px;
}

.section-heading {
  font-size: 20px;
  font-weight: 500;
  margin-top: 32px;
}

.section-heading a {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.paragraph {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0%;
  color: black;
  margin-left: 43px;
}
.list-item {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0%;
  color: black;
  margin-left: 43px;
}
.duel-actions-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  padding-bottom: 40px;
}
.duel-actions-container a {
  display: inline-block;
  text-decoration: none;
  pointer-events: auto;
}
.duel-actions-container button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 500;
  font-style: Regular;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0%;
  background-color: #13a8ae;
  color: white;
  border: 0;
  border-radius: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 28px;
  padding-right: 28px;
  cursor: pointer;
  display: inline-block;
  pointer-events: auto;
}
.duel-actions-container button:hover {
  opacity: 0.9;
}

/* duel.html */
.avatar-row {
  display: flex;
  gap: 20px;
  margin-top: 0;
  align-items: center;
  margin-left: auto;
  margin-right: 120px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e0e0e0;
}

.duel-timer {
  background-color: #13a8ae;
  border-radius: 20px;
  margin-left: 35px;
  margin-right: 35px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  height: 100px;
}

.duel-timer p {
  margin: 0;
  color: white;
}

.duel-icon {
  margin-left: 53px;
  margin-right: 31px;
}

.duel-icon img {
  width: 36px;
  height: 36px;
}

.duel-arena {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  margin-left: 88px;
  margin-right: 88px;
}

.duel-player {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.duel-player .nickname {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 31px;
}

.duel-vs-icon {
  margin-left: 35px;
  margin-right: 35px;
}

.vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vote-number {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0%;
}

.vote-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 18px;
  background-color: #13a8ae;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 64px;
  cursor: pointer;
}

.poem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  column-gap: 80px;
  row-gap: 40px;
  margin-top: 40px;
  margin-left: 88px;
  margin-right: 88px;
  justify-items: center;
}

.poem-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.poem-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: 0%;
  margin-bottom: 43px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.poem-desc {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0%;
  margin-bottom: 43px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .poem-grid {
    column-gap: 40px;
    row-gap: 30px;
    margin-left: 40px;
    margin-right: 40px;
  }

  .poem-title {
    font-size: 48px;
    margin-bottom: 30px;
  }

  .poem-desc {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .poem-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    margin-left: 12px;
    margin-right: 12px;
    column-gap: 16px;
    row-gap: 20px;
  }

  .poem-card {
    max-width: 100%;
  }

  .poem-title {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .poem-desc {
    font-size: 16px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .poem-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    column-gap: 12px;
    row-gap: 16px;
  }

  .poem-title {
    font-size: 24px;
  }

  .poem-desc {
    font-size: 15px;
  }
}

.action-button.promo-button {
  font-size: 18px;
  padding: 12px 52px;
  margin-left: 12px;
}

.promo-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 34, 47, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.promo-modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: promo-pop 0.25s ease;
}

.promo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.promo-modal-header h2 {
  margin: 0;
  font-size: 28px;
  color: #038C8C;
}

.promo-modal-close {
  font-size: 32px;
  cursor: pointer;
  color: #94a3b8;
  transition: color .2s ease;
}

.promo-modal-close:hover {
  color: #475569;
}

.promo-modal-body {
  padding: 24px;
}

.promo-info {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.promo-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.promo-form-group input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  padding: 12px;
  font-size: 18px;
}

.promo-price-info p,
.promo-balance-info p {
  margin: 6px 0;
  font-size: 18px;
}

.promo-warning {
  color: #dc2626;
  font-weight: 600;
}

.promo-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.promo-cancel-btn,
.promo-submit-btn {
  flex: 1;
  border-radius: 50px;
  border: none;
  font-size: 18px;
  padding: 14px 0;
  cursor: pointer;
  transition: opacity .2s ease;
}

.promo-cancel-btn {
  background: #f1f5f9;
  color: #1f2937;
}

.promo-submit-btn {
  background: #13A8AE;
  color: #fff;
}

.promo-cancel-btn:hover,
.promo-submit-btn:hover {
  opacity: .9;
}

.edit-duel-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 34, 47, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.edit-duel-modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: promo-pop 0.25s ease;
}

.edit-duel-modal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.edit-duel-modal-header h3 {
  margin: 0;
  font-size: 28px;
  color: #038C8C;
  font-weight: 600;
}

.edit-duel-modal-body {
  padding: 24px;
}

.edit-duel-modal-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.edit-duel-form-group {
  margin-bottom: 20px;
}

.edit-duel-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.edit-duel-form-label .required {
  color: red;
}

.edit-duel-form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.edit-duel-form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 150px;
  box-sizing: border-box;
}

.edit-duel-form-file {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.edit-duel-form-help {
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.edit-duel-audio-preview {
  margin-bottom: 10px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 4px;
}

.edit-duel-audio-preview audio {
  width: 100%;
  margin-bottom: 10px;
}

.edit-duel-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.edit-duel-checkbox-wrapper input[type="checkbox"] {
  cursor: pointer;
}

.edit-duel-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.edit-duel-btn-cancel {
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.edit-duel-btn-cancel:hover {
  opacity: 0.9;
}

.edit-duel-btn-submit {
  padding: 10px 20px;
  background: #038C8C;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.edit-duel-btn-submit:hover {
  opacity: 0.9;
}

.edit-duel-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.edit-duel-button {
  padding: 10px 20px;
  background: #038C8C;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.edit-duel-button:hover {
  opacity: 0.9;
}

@keyframes promo-pop {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.comments-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.comments-heading {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #038C8C;
  margin-bottom: 20px;
  margin-top: 0;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid #13A8AE;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.comment-author {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #038C8C;
}

.comment-author-link {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #038C8C;
  text-decoration: none;
}

.comment-author-link:hover {
  text-decoration: underline;
}

.comment-date {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
}

.comment-body {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}

.comment-body-wrapper {
  position: relative;
}

.comment-body-short {
  display: block;
}

.comment-body-full {
  display: none;
}

.comment-body-full.expanded {
  display: block;
}

.comment-body-short.collapsed {
  display: block;
}

.comment-body-short.collapsed.hidden {
  display: none;
}

.comment-expand-btn {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #13A8AE;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 0;
  margin-top: 8px;
  text-decoration: underline;
  transition: color 0.2s;
}

.comment-expand-btn:hover {
  color: #0e7a7e;
}

.comment-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.comment-form-block {
  background-color: #fff;
  border-radius: 20px;
  border: 8px solid #13A8AE;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.comment-input {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  resize: vertical;
  box-sizing: border-box;
  background-color: #fff;
}

.comment-input:focus {
  outline: none;
  border-color: #e0e0e0;
  background-color: #fff;
}

.comment-input::placeholder {
  color: #13A8AE;
}

.comment-submit-btn {
  align-self: flex-start;
  padding: 12px 30px;
  background-color: #fff;
  border: 2px solid #13A8AE;
  border-radius: 25px;
  color: #13A8AE;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-submit-btn:hover {
  background-color: #13A8AE;
  color: #fff;
}

.comment-submit-btn:active {
  transform: scale(0.98);
}

.comment-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.comment-login-prompt {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 20px;
}

.comment-login-prompt p {
  margin-bottom: 15px;
  color: #666;
  font-family: Tahoma, Geneva, sans-serif;
}

.comment-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 18px;
  background-color: #038C8C;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 16px 42px;
  cursor: pointer;
  margin-bottom: 29px;
}

.comment-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .comments-section {
    padding-top: 20px;
    margin-top: 30px;
  }

  .comments-heading {
    font-size: 20px;
    text-align: center;
  }

  .comment-item {
    padding: 16px;
  }

  .comment-form-block {
    padding: 20px;
    border-width: 6px;
    gap: 16px;
  }

  .comment-input {
    min-height: 120px;
    font-size: 15px;
    padding: 12px;
  }

  .comment-button {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .comment-form-block {
    padding: 16px;
    border-width: 5px;
  }

  .comment-input {
    min-height: 110px;
    font-size: 14px;
  }

  .comment-button {
    font-size: 15px;
    padding: 12px;
  }
}


.result-win {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #038C8C;
}

.result-lose {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000000;
}

.result-draw {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #f39c4b;
}

.result-number-win {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #038C8C;
}

.result-number-lose {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000000;
}

.result-number-draw {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #f39c4b;
}

@media (max-width: 1400px) {
  .duel-arena {
    margin-left: 40px;
    margin-right: 40px;
  }

  .duel-player svg {
    width: 190px !important;
    height: auto !important;
  }

  .duel-player .nickname {
    font-size: 28px;
  }

  .duel-vs-icon {
    margin-left: 24px;
    margin-right: 24px;
  }

  .duel-vs-icon svg {
    width: 32px;
    height: 32px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 54px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 40px;
  }
}

@media (max-width: 1100px) {
  .duel-timer {
    padding: 20px 30px;
    gap: 22px;
  }

  .duel-icon {
    margin-left: 24px;
    margin-right: 20px;
  }

  .duel-arena {
    margin-left: 20px;
    margin-right: 20px;
  }

  .duel-player svg {
    width: 160px !important;
  }

  .duel-player .nickname {
    font-size: 24px;
    margin-top: 20px;
  }

  .duel-vs-icon {
    margin-left: 18px;
    margin-right: 18px;
  }

  .duel-vs-icon svg {
    width: 28px;
    height: 28px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 45px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 30px;
  }

  .vote-button {
    font-size: 16px;
    padding: 10px 36px;
  }
}

@media (max-width: 900px) {
  .duel-timer {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    text-align: left;
    width: calc(100% - 30px);
    margin: 0 15px;
    padding: 12px 14px;
    height: auto;
  }

  .duel-timer p {
    font-size: 16px;
    flex: 1 1 auto;
  }

  .duel-icon {
    margin: 0;
    flex: 0 0 auto;
  }

  .duel-icon svg,
  .duel-icon img {
    width: 24px;
    height: 24px;
  }

  .avatar-row {
    margin: 0;
    gap: 6px;
  }

  .avatar {
    width: 34px;
    height: 34px;
  }

  .duel-arena {
    gap: 14px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .duel-player svg {
    width: 130px !important;
  }

  .duel-player .nickname {
    font-size: 18px;
  }

  .duel-vs-icon {
    margin-left: 14px;
    margin-right: 14px;
  }

  .duel-vs-icon svg {
    width: 22px;
    height: 22px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 34px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 22px;
  }

  .vote-button {
    font-size: 14px;
    padding: 6px 22px;
  }
}

@media (max-width: 700px) {
  .duel-arena {
    gap: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .duel-player svg {
    width: 115px !important;
  }

  .duel-player .nickname {
    font-size: 16px;
  }

  .duel-vs-icon {
    margin-left: 8px;
    margin-right: 8px;
  }

  .duel-vs-icon svg {
    width: 18px;
    height: 18px;
  }

  .vote-col {
    min-width: 50px;
    gap: 4px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 28px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .duel-timer {
    gap: 20px;
    padding: 20px 25px;
  }

  .duel-icon {
    margin-left: 20px;
    margin-right: 15px;
  }

  .duel-arena {
    margin-left: 20px;
    margin-right: 20px;
    gap: 20px;
  }

  .duel-player svg {
    width: 180px !important;
    height: auto !important;
  }

  .duel-player .nickname {
    font-size: 26px;
    margin-top: 20px;
  }

  .duel-vs-icon {
    margin-left: 20px;
    margin-right: 20px;
  }

  .duel-vs-icon svg {
    width: 32px;
    height: 32px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 48px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 36px;
  }

  .vote-button {
    padding: 10px 42px;
  }
}

@media (max-width: 820px) {
  .duel-timer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 15px;
  }

  .duel-arena {
    margin-left: 10px;
    margin-right: 10px;
    gap: 12px;
  }

  .duel-player svg {
    width: 130px !important;
  }

  .duel-player .nickname {
    font-size: 20px;
    margin-top: 14px;
  }

  .duel-vs-icon {
    margin-left: 12px;
    margin-right: 12px;
  }

  .duel-vs-icon svg {
    width: 26px;
    height: 26px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 40px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 28px;
  }

  .vote-button {
    font-size: 16px;
    padding: 8px 28px;
  }
}

@media (max-width: 520px) {
  .duel-arena {
    gap: 6px;
  }

  .duel-player svg {
    width: 100px !important;
  }

  .duel-player .nickname {
    font-size: 16px;
  }

  .duel-vs-icon {
    margin-left: 8px;
    margin-right: 8px;
  }

  .duel-vs-icon svg {
    width: 22px;
    height: 22px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 32px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 22px;
  }
}

.audio-heading {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000;
  margin-top: 0;
  margin-bottom: 22px;
}

.audio-player {
  background-color: #13A8AE;
  border-radius: 20px;
  padding: 20px;
  margin-top: 16px;
}

.audio-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.progress-bar {
  flex: 1;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.progress-circle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
}

.audio-time {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.control-btn {
  border: 0;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.control-btn-small {
  width: 16px;
  height: 16px;
}

.control-btn-large {
  width: 24px;
  height: 24px;
}

.search-content {
  margin-left: 35px;
  margin-right: 35px;
  margin-top: 40px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 53px;
}

.user-avatar-large {
  width: 169px;
  height: 169px;
  border-radius: 50%;
  background-color: #d9d9d9;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-nickname {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000;
}

.user-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-value {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #038C8C;
}

.search-content .user-rating,
.search-content .rating-value {
  display: none;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.form-card {
  background-color: #13A8AE;
  border-radius: 20px;
  padding: 27px 55px 46px 44px;
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background-color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 29px 42px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #000;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #999;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.form-input-comment {
  padding-right: 50px;
}

.attachment-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: none;
  z-index: 1;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  margin-right: 55px;
  flex-wrap: wrap;
}

.form-checkbox-outside {
  margin: 10px 0 0 0;
  padding-left: 5px;
}

@media (max-width: 900px) {
  .search-content {
    margin-left: 20px;
    margin-right: 20px;
  }

  .user-info {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .user-avatar-large {
    width: 130px;
    height: 130px;
  }

  .user-details {
    align-items: flex-start;
    gap: 10px;
  }

  .user-nickname {
    font-size: 20px;
  }

  .user-rating {
    display: none;
  }

  .rating-value {
    display: none;
  }

  .form-card {
    padding: 24px 32px 36px;
    width: 100%;
    box-sizing: border-box;
  }

  .form-label {
    font-size: 18px;
  }

  .form-input {
    padding: 22px 30px;
    font-size: 18px;
  }
}

@media (max-width: 634px) {
  .search-content {
    margin-left: 12px;
    margin-right: 12px;
  }

  .user-info {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .user-avatar-large {
    width: 110px;
    height: 110px;
  }

  .user-details {
    align-items: flex-start;
  }

  .user-rating {
    display: none;
  }

  .rating-value {
    display: none;
  }

  .form-card {
    padding: 20px;
    gap: 20px;
  }

  .form-label {
    font-size: 16px;
  }

  .form-input {
    padding: 18px 24px;
    font-size: 16px;
  }

  .checkbox-wrapper {
    margin-right: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .checkbox-wrapper span {
    white-space: nowrap;
  }

  .checkbox-wrapper br {
    display: none;
  }

  .checkbox-label {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 28px;
    display: block !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    min-width: 0;
    width: calc(100% - 34px);
    align-items: normal;
    gap: 0;
  }

  .checkbox-label::before {
    width: 20px;
    height: 20px;
    border-width: 2px;
    top: 2px;
  }

  .checkbox-label .checkbox-link {
    white-space: nowrap;
  }

  .form-checkbox-outside {
    margin: 0;
  }

  .form-action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .form-action-buttons .action-button {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
  }

  .action-button.promo-button {
    font-size: 16px;
    padding: 12px 24px;
  }

  .action-button.promo-button:not(:first-child) {
    margin-top: 8px;
  }
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  cursor: pointer;
}

.checkbox-label {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 42px;
}

.checkbox-label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-radius: 10px;
  background-color: transparent;
  transition: all 0.2s;
}

.checkbox-label-outside {
  color: #038C8C;
}

.checkbox-label-outside::before {
  border-color: #038C8C;
}

.checkbox-label-outside::after {
  border-color: #038C8C;
}
.checkbox-label-outside .checkbox-link {
  color: inherit;
}

.form-action-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.action-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  background-color: #13A8AE;
  border: none;
  border-radius: 50px;
  padding: 14px 64px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.action-button:hover {
  opacity: 0.9;
}

.checkbox-input:checked + .checkbox-label::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%2313A8AE' d='M7.5 15L2.5 10l1.41-1.41L7.5 12.17l7.59-7.59L16.5 6l-9 9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-group-vertical {
  flex-direction: column;
  gap: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  position: relative;
  padding-left: 42px;
}

.radio-group label span {
  color: #fff;
}

.radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  cursor: pointer;
}

.radio-group label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.2s;
  box-sizing: border-box;
}

.radio-group label:has(input[type="radio"]:checked)::before,
.radio-group label.radio-checked::before {
  background-color: #fff;
  border-color: #fff;
}

.radio-group label:has(input[type="radio"]:checked)::after,
.radio-group label.radio-checked::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #13A8AE;
  z-index: 1;
}

.checkbox-link {
  color: #fff;
  text-decoration: underline;
}

.checkbox-link:hover {
  color: #e0f7f7;
}

.form-group small {
  display: block;
  margin-top: 8px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 4px;
  padding-bottom: 56px;
}

.cancel-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  background-color: #13A8AE;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 32px;
  cursor: pointer;
}

.submit-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  background-color: #13A8AE;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 32px;
  cursor: pointer;
}

.duel-timer-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-left: 35px;
  margin-right: 35px;
}

.timer-card {
  background-color: #13A8AE;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 35px;
}

.timer-icon {
  flex-shrink: 0;
}

.timer-text {
  flex: 1;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  margin: 0;
}

.timer-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  background-color: #fff;
  color: #13A8AE;
  border: 0;
  border-radius: 50px;
  padding: 12px 32px;
  cursor: pointer;
  flex-shrink: 0;
}

.opponent-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-left: 35px;
  margin-right: 10px;
}

.invites-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.invite-card {
    background-color: white;
    border: 2px solid #13A8AE;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.invite-card:hover {
    box-shadow: 0 4px 12px rgba(19, 168, 174, 0.2);
    transform: translateY(-2px);
}

.invite-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.invite-from {
    font-size: 16px;
    color: #333;
}

.invite-from strong {
    color: #13A8AE;
    font-weight: 600;
}

.invite-date {
    font-size: 14px;
    color: #666;
}

.invite-body {
    margin-bottom: 20px;
}

.invite-duel-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.invite-duel-title strong {
    color: #13A8AE;
    font-weight: 600;
}

.invite-duel-time {
    font-size: 14px;
    color: #666;
}

.invite-duel-time strong {
    color: #333;
    font-weight: 600;
}

.invite-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-view-invite,
.btn-accept-invite,
.btn-decline-invite {
    padding: 10px 20px;
    border-radius: 25px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view-invite {
    background-color: white;
    border-color: #13A8AE;
    color: #13A8AE;
}

.btn-view-invite:hover {
    background-color: #13A8AE;
    color: white;
}

.btn-accept-invite {
    background-color: #13A8AE;
    border-color: #13A8AE;
    color: white;
}

.btn-accept-invite:hover {
    background-color: #0d8a8f;
    border-color: #0d8a8f;
}

.btn-decline-invite {
    background-color: white;
    border-color: #dc3545;
    color: #dc3545;
}

.btn-decline-invite:hover {
    background-color: #dc3545;
    color: white;
}

.opponent-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #13A8AE;
  border-radius: 20px;
  overflow: hidden;
  min-height: 100px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.opponent-card:hover {
  box-shadow: 0 4px 12px rgba(19, 168, 174, 0.3);
  transform: translateY(-2px);
}

.opponent-card.opponent-card--no-hover {
  transition: none !important;
}

.opponent-card.opponent-card--no-hover:hover {
  box-shadow: none !important;
  transform: none !important;
}

.opponent-card[data-duel-type="waiting"] {
  transition: none !important;
}

.opponent-card[data-duel-type="waiting"]:hover {
  box-shadow: none !important;
  transform: none !important;
}

.opponent-rating {
  background-color: #13A8AE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 150px;
  gap: 15px;
}

.trophy-icon-white {
  width: 24px;
  height: 30px;
}

.rating-number {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
}

.opponent-comment {
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  flex: 1 1 auto;
  min-width: 220px;
}

.opponent-avatar-small {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d9d9d9;
  flex-shrink: 0;
}

.opponent-avatar-small img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.comment-placeholder {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.opponent-topic {
  background-color: #13A8AE;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  min-width: 200px;
  flex: 0 0 220px;
}

.topic-placeholder {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.opponent-rating-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: #fff;
}

.waiting-duel-user {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.waiting-duel-topic-mobile {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  color: #fff;
  opacity: 0.85;
  display: none;
}

.opponent-action {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 25px;
  min-width: 200px;
  flex: 0 0 230px;
  box-sizing: border-box;
}

.opponent-list[data-duel-type="my-waiting"] .opponent-action {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.opponent-list[data-duel-type="my-waiting"] .opponent-action .challenge-button {
  width: 100%;
}

.opponent-list[data-duel-type="waiting"] .opponent-action {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.opponent-list[data-duel-type="waiting"] .opponent-action .challenge-button {
  width: 100%;
}

.opponent-list[data-duel-type="queue-match"] .opponent-action {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.opponent-list[data-duel-type="queue-match"] .opponent-action .challenge-button {
  width: 100%;
}

.show-more-btn {
  display: block;
  margin: 30px auto;
  padding: 12px 30px;
  background-color: #13A8AE;
  color: white;
  border: none;
  border-radius: 20px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-more-btn:hover {
  background-color: #038c8c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 168, 174, 0.3);
}

.show-more-btn:active {
  transform: translateY(0);
}

.challenge-button {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  background-color: #13A8AE;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 32px;
  cursor: pointer;
  white-space: nowrap;
}

.challenge-button:hover {
  background-color: #15b8bf;
}

.challenge-button:active {
  background-color: #0f8a8f;
}

.challenge-button--danger {
  background-color: #dc3545;
}

.challenge-button--danger:hover {
  background-color: #d23040;
}

.challenge-button--danger:active {
  background-color: #b71f2e;
}

.completed-duels-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin: 20px 35px 0 0;
}

.sort-label {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

.sort-select {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  border: 1px solid #13A8AE;
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2313A8AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-select:hover {
  border-color: #038C8C;
  box-shadow: 0 2px 4px rgba(19, 168, 174, 0.1);
}

.sort-select:focus {
  outline: none;
  border-color: #038C8C;
  box-shadow: 0 0 0 3px rgba(19, 168, 174, 0.1);
}

.completed-duels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-left: 35px;
  margin-right: 10px;
}

.completed-duel-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.completed-duel-card-link:hover {
  transform: translateY(-2px);
}

.completed-duel-card-link:hover .completed-duel-card {
  box-shadow: 0 4px 12px rgba(19, 168, 174, 0.3);
}

.completed-duel-item {
  margin-bottom: 20px;
}

.completed-duel-item:last-child {
  margin-bottom: 0;
}

.completed-duel-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #13A8AE;
  border-radius: 20px;
  overflow: hidden;
  min-height: 120px;
  transition: box-shadow 0.2s;
  position: relative;
}

.completed-duel-id {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #13A8AE;
}

.duel-score-left,
.duel-score-right {
  background-color: #13A8AE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 120px;
  gap: 10px;
}

.duel-participants {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 20px;
  gap: 15px;
  position: relative;
}

.participants-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.completed-duel-end-time {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  text-align: center;
  padding-top: 8px;
  width: 100%;
}

.participant-left {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.participant-right {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.participant-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.participant-nick {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #999;
}

.participant-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.flame-icon-winner {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.duel-player svg {
  width: 191px;
  height: 191px;
}

.avatar-loser {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d9d9d9;
  flex-shrink: 0;
}

.duel-vs-icon-small {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 18px;
}

.active-duels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-left: 35px;
  margin-right: 10px;
}

.active-duel-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #13A8AE;
  border-radius: 20px;
  overflow: hidden;
  min-height: 120px;
}

.active-duel-card:hover {
  box-shadow: none;
  transform: none;
}

.active-duel-card .duel-participants {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  min-height: 120px;
}

.active-duel-card .participant-left,
.active-duel-card .participant-right {
  flex: 1;
  min-width: 0;
}

.active-duel-card .duel-vs-icon-small {
  flex-shrink: 0;
}

.active-duel-votes-left,
.active-duel-votes-right {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #13A8AE;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.active-duel-timer {
  background-color: #13A8AE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 150px;
  gap: 10px;
  align-self: stretch;
}

.timer-label {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  text-align: center;
}

.timer-value {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fff;
  text-align: center;
}

.vote-button-active {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  background-color: #FF8C42;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 32px;
  cursor: pointer;
  white-space: nowrap;
  margin: 0;
  transition: background-color 0.2s ease;
}

.vote-button-active:hover {
  background-color: #ff994f;
}

.vote-button-active:active {
  background-color: #f97824;
}

.active-duel-card > a {
  margin-left: auto;
  margin-right: 30px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.active-duel-card > a:hover {
  text-decoration: none;
}

.waiting-duel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 30px;
  background-color: #fff;
  flex-shrink: 0;
  align-self: stretch;
}

.duel-delete-button {
  background-color: #dc3545;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.duel-delete-button:hover {
  background-color: #c82333;
}

.duel-join-button {
  background-color: #28a745;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.duel-join-button:hover {
  background-color: #218838;
}

.duel-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.duel-id-badge {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #13A8AE;
  text-align: center;
}

.duel-profile-tab {
  padding: 20px;
}

.duel-profile-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #038c8c;
  margin-top: 30px;
  margin-bottom: 20px;
}

.duel-profile-tab .duels-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  max-width: 800px;
}

.duel-profile-tab .duels-list .active-duel-card,
.duel-profile-tab .duels-list .completed-duel-card,
.duel-profile-tab .duels-list .active-duel-card-link,
.duel-profile-tab .duels-list .completed-duel-card-link {
  max-width: 100%;
}

.duel-stats-section {
  margin-bottom: 30px;
}

.duel-stats-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #038c8c;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.stat-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #038c8c;
}

.duel-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.duel-filters > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.duel-filters a {
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.duel-filters a:hover {
  background: #e0e0e0;
}

.duel-filters a.active {
  background: #038c8c;
  color: #fff;
}

.duel-notifications-link {
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.duel-notifications-link:hover {
  background: #e0e0e0;
}

.duels-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.duel-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.active-duels-list .duel-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.duel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.duel-link {
  font-size: 18px;
  font-weight: 600;
  color: #038c8c;
  text-decoration: none;
}

.duel-link:hover {
  text-decoration: underline;
}

.duel-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.duel-status-waiting {
  background: #fff3cd;
  color: #856404;
}

.duel-status-scheduled {
  background: #d1ecf1;
  color: #0c5460;
}

.duel-status-active {
  background: #d4edda;
  color: #155724;
}

.duel-status-finished {
  background: #e2e3e5;
  color: #383d41;
}

.duel-status-deleted {
  background: #f8d7da;
  color: #721c24;
}

.duel-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.no-duels {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.error-message {
  padding: 15px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
  margin-bottom: 20px;
}

/* Настройки уведомлений */
.notification-form {
  max-width: 800px;
}

.notification-intro {
  max-width: 720px;
  margin-bottom: 30px;
}

.notification-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.notification-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #038c8c;
}

.notification-item {
  margin-bottom: 15px;
}

.notification-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.notification-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.notification-description {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

.notification-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.notification-submit {
  padding: 12px 24px;
  font-size: 16px;
}

.alert {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.duel-stats-section {
  margin-bottom: 40px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
}

.duel-stats-title {
  margin-top: 0;
  color: #038C8C;
  font-size: 24px;
}

.duel-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.duel-stat-item {
  display: flex;
  flex-direction: column;
}

.duel-stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.duel-stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #038C8C;
}

.duel-stat-value-success {
  color: #28a745;
}

.duel-stat-value-warning {
  color: #ffc107;
}

.duel-stat-value-danger {
  color: #dc3545;
}

.scheduled-duel-description {
  color: #666;
  margin-bottom: 20px;
  margin-left: 35px;
}

.scheduled-duel-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scheduled-duel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.duel-status-scheduled {
  padding: 5px 15px;
  border-radius: 20px;
  background: #ffc107;
  color: #000;
  font-size: 14px;
}

.scheduled-duel-info {
  color: #666;
  font-size: 14px;
}

.scheduled-duel-work {
  color: #333;
  font-size: 16px;
  margin-top: 10px;
}

.duel-card-content {
  flex: 1;
  padding: 20px;
}

.duel-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.duel-status-badge {
  padding: 5px 15px;
  border-radius: 20px;
  background: #ddd;
  color: #333;
  font-size: 14px;
}

.duel-date-info {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

.duel-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.duel-empty-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.duel-create-button {
  display: inline-block;
  padding: 12px 32px;
  background: #038C8C;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
}

.duel-link-large {
  font-size: 20px;
  font-weight: 600;
  color: #038C8C;
  text-decoration: none;
}

#suggest_user {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 2px;
  background-color: #d0d0d0;
  overflow: auto;
  z-index: 1000;
}

@media (max-width: 980px) {
  .heading {
    font-size: 24px;
    margin-left: 0;
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .section-heading {
    font-size: 18px;
    margin-top: 28px;
  }

  .active-duel-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
  }

  .active-duel-card .duel-participants {
    padding: 12px 15px;
    gap: 10px;
    flex: 1 1 auto;
    align-items: center;
  }

  .active-duel-card .duel-vs-icon-small {
    padding: 0 6px;
  }

  .active-duel-card .duel-vs-icon-small svg {
    width: 34px;
    height: 34px;
  }

  .active-duel-timer {
    min-width: 120px;
    padding: 12px;
    border-radius: 0;
    flex-direction: column;
    gap: 4px;
  }

  .active-duel-card > a {
    margin-right: 12px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .active-duel-card > a .vote-button-active {
    width: 100%;
    padding: 10px 18px;
    border-radius: 40px;
  }

  .flame-icon-winner {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0;
  }

  .participant-text {
    min-width: 0;
    max-width: 140px;
    gap: 4px;
  }

  .participant-nick {
    font-size: 13px;
  }

  .participant-title {
    font-size: 12px;
    line-height: 1.2;
  }

  .vote-button-active {
    font-size: 16px;
    padding: 10px 18px;
  }

  .completed-duel-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
  }

  .completed-duel-card .duel-participants {
    padding: 12px 15px;
    flex: 1 1 auto;
    gap: 12px;
  }

  .duel-score-left,
  .duel-score-right {
    flex: 0 0 80px;
    padding: 10px;
  }

  .participants-row {
    gap: 10px;
  }

  .opponent-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    min-height: auto;
    border-radius: 24px;
    overflow: hidden;
  }

  .opponent-rating {
    grid-column: 1 / 3;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 18px 20px;
    min-width: auto;
    border-radius: 0;
  }

  .opponent-avatar-small {
    width: 48px;
    height: 48px;
  }

  .opponent-rating-text {
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }

  .waiting-duel-user {
    font-size: 16px;
  }

  .waiting-duel-topic-mobile {
    display: block;
    font-size: 14px;
    opacity: 0.85;
  }

  .opponent-topic {
    display: none;
  }

  .opponent-comment {
    grid-column: 1 / 2;
    grid-row: 2;
    width: 100%;
    padding: 14px 16px;
    border-top: none;
  }

  .comment-placeholder {
    font-size: 14px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .opponent-action {
    grid-column: 2 / 3;
    grid-row: 2;
    width: 100%;
    padding: 14px 16px;
    border-top: none;
    justify-content: center;
  }

  .opponent-action .challenge-button {
    width: auto;
    padding: 10px 18px;
    border-radius: 40px;
  }

  .active-duels-list,
  .completed-duels-list {
    margin-left: 0;
    margin-right: 0;
    gap: 15px;
  }

  .waiting-duels-list {
    margin-left: 0;
    margin-right: 0;
    gap: 15px;
  }

  .show-more-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    margin: 20px 0;
  }

  .completed-duels-sort {
    margin: 20px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sort-label {
    font-size: 14px;
  }

  .sort-select {
    width: 100%;
    font-size: 14px;
    padding: 8px 12px;
  }

  .timer-label {
    font-size: 14px;
  }

  .timer-value {
    font-size: 20px;
  }

  .duel-vs-icon-small svg {
    width: 35px;
    height: 34px;
  }

  .duel-profile-tab {
    padding: 15px;
  }

  .duel-profile-section-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .duel-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .duel-stat-item {
    padding: 15px;
  }

  .duel-stat-label {
    font-size: 12px;
  }

  .duel-stat-value {
    font-size: 24px;
  }

  .opponent-list {
    margin-left: 0;
    margin-right: 0;
    gap: 15px;
  }

  .invite-card {
    padding: 15px;
  }

  .invite-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .invite-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .invite-actions button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
}

@media (max-width: 450px) {
  .section {
    padding: 0 12px;
  }

  .heading {
    font-size: 20px;
  }

  .section-heading {
    font-size: 17px;
  }

  .duel-actions-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .duel-actions-container a {
    width: 100%;
  }

  .duel-actions-container button {
    width: 100%;
    font-size: 16px;
    padding: 10px 20px;
  }

  .form-action-buttons {
    gap: 8px;
  }

  .form-action-buttons .action-button {
    font-size: 15px;
    padding: 10px 0;
  }

  .action-button.promo-button {
    font-size: 15px;
    padding: 10px 20px;
  }

  .action-button.promo-button:not(:first-child) {
    margin-top: 8px;
  }

  .opponent-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .opponent-rating {
    grid-column: 1;
    justify-content: center;
    text-align: center;
  }

  .opponent-rating-text {
    align-items: center;
    text-align: center;
  }

  .waiting-duel-topic-mobile {
    text-align: center;
  }

  .opponent-comment {
    grid-column: 1;
    text-align: center;
  }

  .opponent-action {
    grid-column: 1;
    justify-content: center;
  }

  .opponent-action .challenge-button {
    width: 100%;
  }

  .opponent-list[data-duel-type="waiting"] .opponent-action {
    justify-content: center;
  }

  .opponent-list[data-duel-type="waiting"] .opponent-action a {
    width: 100%;
  }

  .opponent-list[data-duel-type="waiting"] .opponent-action .challenge-button {
    width: 100%;
  }

  .show-more-btn {
    font-size: 15px;
  }

  .vote-button-active {
    font-size: 15px;
  }

  .duel-timer {
    padding: 14px 16px;
    gap: 10px;
    text-align: center;
    width: calc(100% - 24px);
    margin: 0 auto;
    box-sizing: border-box;
  }

  .duel-icon {
    margin: 0;
    flex: 0 0 32px;
  }

  .duel-icon svg,
  .duel-icon img {
    width: 26px;
    height: 26px;
  }

  .duel-timer p {
    font-size: 14px;
    flex: 1 1 auto;
  }

  .duel-arena {
    margin: 0 auto;
    width: calc(100% - 10px);
    gap: 6px;
  }

  .vote-col {
    min-width: 48px;
    gap: 4px;
  }

  .vote-number,
  .result-number-win,
  .result-number-lose,
  .result-number-draw {
    font-size: 24px;
  }

  .result-win,
  .result-lose,
  .result-draw {
    font-size: 16px;
  }

  .duel-player svg {
    width: 90px !important;
  }

  .duel-player .nickname {
    font-size: 14px;
    margin-top: 10px;
  }

  .duel-vs-icon {
    margin: 0 4px;
  }

  .duel-vs-icon svg {
    width: 18px;
    height: 18px;
  }

  .vote-button {
    font-size: 14px;
    padding: 6px 18px;
  }

  .active-duel-card {
    flex-direction: column;
    gap: 0;
  }

  .active-duel-card .duel-participants {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 12px;
  }

  .active-duel-card .participant-left,
  .active-duel-card .participant-right {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .active-duel-card .duel-vs-icon-small {
    margin: 6px 0;
    padding: 0;
  }

  .flame-icon-winner {
    width: 46px !important;
    height: 46px !important;
  }

  .active-duel-card > a {
    width: calc(100% - 24px);
    margin: 10px 12px 12px;
  }

  .active-duel-card > a .vote-button-active {
    width: 100%;
  }

  .timer-label {
    font-size: 11px;
  }

  .timer-value {
    font-size: 16px;
  }

  .completed-duel-card {
    flex-direction: column;
  }

  .completed-duel-card .duel-participants {
    order: 2;
    padding: 14px;
  }

  .duel-score-left,
  .duel-score-right {
    width: 100%;
    min-width: auto;
    padding: 12px;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .duel-score-left {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .duel-score-right {
    order: 3;
  }

  .participants-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.queue-request-block {
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 27px 44px;
  margin-bottom: 27px;
  border: 2px solid #13A8AE;
}

.queue-request-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #13A8AE;
  margin-top: 0;
  margin-bottom: 20px;
}

.queue-request-info {
  margin-bottom: 20px;
}

.queue-request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.queue-request-item {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.queue-request-item strong {
  font-weight: 600;
  color: #038C8C;
}

.queue-request-field {
  margin-bottom: 10px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.queue-request-field strong {
  font-weight: 600;
  color: #038C8C;
}

.queue-request-status {
  padding: 15px 20px;
  background-color: #e8f5e9;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #2e7d32;
}

.queue-request-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.queue-stats {
  background-color: #f0f0f0;
  border-radius: 20px;
  padding: 20px 30px;
  margin-top: 27px;
}

.queue-stats-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #038C8C;
  margin-top: 0;
  margin-bottom: 15px;
}

.queue-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.queue-stats-item {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
}

.queue-stats-item strong {
  font-weight: 600;
  color: #038C8C;
}

.rules-content {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  margin-left: 43px;
  margin-right: 43px;
  margin-bottom: 30px;
  white-space: normal;
  word-wrap: break-word;
}

.rules-content p {
  margin: 0 0 12px 0;
}

.rules-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .queue-request-block {
    padding: 20px;
  }

  .queue-request-grid {
    grid-template-columns: 1fr;
  }

  .queue-request-actions {
    flex-direction: column;
  }

  .queue-request-actions .challenge-button {
    width: 100%;
  }

  .queue-stats {
    padding: 15px 20px;
  }

  .queue-stats-grid {
    grid-template-columns: 1fr;
  }
}