:root {
  --cmp-page-bg: #ffffff;
  --cmp-card-bg: #fdfcf8;
  --cmp-card-soft: #fff9e8;
  --cmp-surface: #f8f5ef;
  --cmp-text: #1c1a14;
  --cmp-text-sub: #5c5647;
  --cmp-text-muted: #8a8070;
  --cmp-border: rgba(0, 0, 0, 0.1);
  --cmp-radius: 14px;
  --cmp-radius-sm: 8px;
  --cmp-a: #1a3a6e;
  --cmp-a-light: #c5d4f0;
  --cmp-a-mid: #3b6dbf;
  --cmp-b: var(--main-color);
  --cmp-b-light: #f5e199;
  --cmp-b-mid: #e8c44a;
  --cmp-b-ink: #7a5800;
  --cmp-b-glow: rgba(201, 149, 26, 0.06);
  --cmp-b-badge-border: rgba(201, 149, 26, 0.5);
  --cmp-b-badge-bg: rgba(201, 149, 26, 0.2);
  --cmp-red: #b02020;
  --cmp-red-light: #f9dada;
  --cmp-green: #1a6e3a;
  --cmp-green-light: #d4f0dc;
  --cmp-stars: #2e7d32;
  --cmp-live: #c0392b;
  --cmp-theme-accent: var(--main-color);
  --cmp-theme-accent-2: var(--main-color-2);
}

#comparisonHeaderArea.comparison-hero-area.bg-overlay {
  padding: 90px 0 0px;
}

#comparisonHeaderArea.comparison-hero-area.bg-overlay:after {
  background: none;
}

#comparisonHeaderArea.comparison-hero-area .sweet-overlay {
  padding: 0;
  background: none;
}
#comparisonHeaderArea.comparison-hero-area .verdict-overlay {
  background-color: var(--cmp-page-bg);
}
#comparisonHeaderArea.comparison-hero-area .sweet-overlay:before,
#comparisonHeaderArea.comparison-hero-area .sweet-overlay:after {
  display: none;
}

#comparisonContentArea.comparison-content {
  background-color: var(--cmp-page-bg);
}

.comparison-page {
  color: var(--cmp-text);
}

.comparison-page a {
  color: var(--cmp-a);
  text-decoration: none;
}

.comparison-page a:hover {
  color: var(--main-color);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 80px;
  background: linear-gradient(135deg, #0d2247 0%, #1a3a6e 50%, #0d2247 100%);
  color: #ffffff;
  text-align: center;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    var(--cmp-b-glow) 40px,
    var(--cmp-b-glow) 41px
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 18px;
  border: 1px solid var(--cmp-b-badge-border);
  border-radius: 100px;
  background: var(--cmp-b-badge-bg);
  color: var(--cmp-b-mid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 20px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
}

.hero h1 .vs {
  color: var(--cmp-b-mid);
  font-style: italic;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.hero-meta span b {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.verdict {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  max-width: 900px;
  margin: -28px auto 56px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: var(--cmp-radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}

.verdict-side {
  padding: 28px 24px;
  background: var(--cmp-card-bg);
  border: 1px solid var(--cmp-border);
  text-align: center;
}

.verdict-side.master {
  border-right: none;
}

.verdict-side.gold,
.verdict-side.rummy {
  border-left: none;
}

.verdict-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
}

.verdict-logo.m,
.verdict-logo.tm {
  background: var(--cmp-a);
}

.verdict-logo.g,
.verdict-logo.rm,
.verdict-logo.r {
  background: var(--cmp-b);
}

.verdict-name {
  margin-bottom: 8px;
  color: var(--cmp-text-sub);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.verdict-score {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.verdict-score.m,
.verdict-score.tpm {
  color: var(--cmp-a);
}

.verdict-score.g,
.verdict-score.rummy {
  color: var(--cmp-b);
}

.verdict-label {
  color: var(--cmp-text-muted);
  font-size: 12px;
}

.verdict-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--cmp-text);
}

.verdict-vs-text {
  color: var(--cmp-b-mid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
}

.verdict-vs-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#comparisonContentArea.comparison-content .section-title.mb-0 {
  margin: 0;
  text-align: left;
}

.comparison-section {
  margin-bottom: 60px;
  scroll-margin-top: 110px;
}

.comparison-panel,
.intro-box,
.comp-card,
.rating-card,
.callout,
.key-diff,
.skill-block {
  padding: 24px;
  background: var(--cmp-card-bg);
  border: 1px solid var(--cmp-border);
  border-radius: var(--cmp-radius);
}

.comparison-panel.toc {
  margin-bottom: 48px;
}

.section-label {
  margin-bottom: 8px;
  color: var(--cmp-text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#comparisonContentArea.comparison-content section .section-title {
  margin: 0 0 6px;
  color: var(--cmp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.section-desc {
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--cmp-text-sub);
  font-size: 15px;
  line-height: 1.75;
}

.comparison-doc-title {
  margin-bottom: 36px;
}

.comparison-doc-title h2 {
  margin: 0;
  color: var(--cmp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.doc-link-panel {
  padding: 26px 28px;
  background: var(--cmp-card-bg);
  border: 1px solid var(--cmp-border);
  border-left: 4px solid var(--cmp-b);
  border-radius: 0 var(--cmp-radius) var(--cmp-radius) 0;
}

.doc-link-title {
  margin-bottom: 12px;
  color: var(--cmp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.doc-link-inline {
  color: var(--cmp-text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.doc-link-inline a,
.doc-link-grid a,
.verdict-table td:nth-child(2) a {
  color: var(--cmp-theme-accent-2);
  text-decoration: none;
}

.doc-link-inline a:hover,
.doc-link-grid a:hover,
.verdict-table td:nth-child(2) a:hover {
  color: var(--cmp-b);
  text-decoration: underline;
}

.doc-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

.doc-link-grid a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--cmp-border);
  font-size: 14px;
  line-height: 1.55;
}

.doc-link-grid a:last-child,
.doc-link-grid a:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

.cmp-why-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cmp-why-card:hover {
  transform: translateY(-2px);
}

.cmp-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

.cmp-why-title {
  margin-bottom: 4px;
  color: var(--cmp-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cmp-why-desc {
  margin: 0;
  color: var(--cmp-text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.cmp-callout-accent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 4px solid var(--cmp-b);
  background: var(--cmp-card-soft);
  border-radius: 0 var(--cmp-radius-sm) var(--cmp-radius-sm) 0;
}

.cmp-callout-icon {
  flex-shrink: 0;
  color: var(--cmp-b-ink);
  font-size: 18px;
  line-height: 1.2;
}

.alt-mini-stat,
.comparison-theme-best-apps .sb {
  padding: 12px 15px;
  border-radius: var(--cmp-radius-sm);
  background: var(--cmp-surface);
}

.alt-mini-stat .ms-val,
.comparison-theme-best-apps .sb-v {
  margin-bottom: 2px;
  color: var(--cmp-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.alt-mini-stat .ms-key,
.comparison-theme-best-apps .sb-k {
  color: var(--cmp-text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.comparison-theme-best-apps .who {
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid var(--cmp-b-badge-border);
  border-radius: var(--cmp-radius-sm);
  background: var(--cmp-card-soft);
  color: var(--cmp-text-sub);
  font-size: 13px;
  line-height: 1.65;
}

.comparison-theme-best-apps .who strong {
  color: var(--cmp-b-ink);
  font-weight: 700;
}

.comparison-mini-title {
  margin-bottom: 16px;
  color: var(--cmp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.comparison-links-panel {
  margin-top: 24px;
}

.comparison-inline-links {
  color: var(--cmp-text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.comparison-inline-links a {
  font-weight: 600;
  text-decoration: underline;
}

.comparison-inline-links a:hover,
.comparison-link-list a:hover,
.toc a:hover,
.comparison-game-title:hover {
  color: var(--main-color);
}

.comparison-game-card {
  height: 100%;
  padding: 18px 16px;
  background: var(--cmp-card-bg);
  border: 1px solid var(--cmp-border);
  border-radius: var(--cmp-radius-sm);
  text-align: center;
}

.comparison-game-title {
  display: block;
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--cmp-text);
  font-weight: 600;
  line-height: 1.45;
}

.comparison-game-title:hover {
  color: var(--main-color);
}

.comparison-game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 30px;
  background: var(--main-color);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 44px;
}

.comparison-game-btn:hover {
  background: var(--main-color-2);
  color: #ffffff;
}

.comparison-link-list {
  margin: 0;
  padding: 0;
}

.comparison-link-list li {
  margin-bottom: 10px;
}

.comparison-link-list li:last-child {
  margin-bottom: 0;
}

.comparison-link-list a {
  color: var(--cmp-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: underline;
}

.toc-title {
  margin-bottom: 16px;
  color: var(--cmp-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.toc li {
  color: var(--cmp-text-sub);
  font-size: 14px;
  margin-bottom: 0 !important;
}
.ilink,
.toc a {
  color: inherit;
  text-decoration: underline;
}

.divider {
  position: relative;
  margin: 0 0 32px;
  text-align: center;
}

.divider:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--cmp-border);
  transform: translateY(-50%);
}

.divider-dot {
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--cmp-theme-accent),
    var(--cmp-theme-accent-2)
  );
}

.intro-box,
.comp-card {
  height: 100%;
}

.intro-box.master-box,
.comp-card.tpm-card,
.comp-card.master-card {
  border-top: 3px solid var(--cmp-a);
}

.intro-box.gold-box,
.intro-box.rummy-box,
.comp-card.gold-card,
.comp-card.rummy-card {
  border-top: 3px solid var(--cmp-b);
}

.winner-card {
  border-color: var(--main-color-2);
  background: linear-gradient(160deg, #fffdf5 0%, var(--cmp-card-soft) 100%);
}

.winner-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--cmp-b);
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ib-label,
.card-sub,
.rating-card h4,
.skill-block h4,
.kd-label {
  color: var(--cmp-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-box h3,
.comp-card h3,
.kd-title {
  margin: 10px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.intro-box h3,
.comp-card h3,
.rating-card h4,
.skill-block h4,
.kd-title,
.kd-mid-text {
  color: var(--cmp-text);
}

.master-color,
.tpm-color,
.si-val.m,
.si-val.tm {
  color: var(--cmp-a);
}

.gold-color,
.rummy-color,
.si-val.g,
.si-val.rm {
  color: var(--cmp-b);
}

.intro-box p,
.comp-card p,
.callout,
.faq-a,
.kd-desc,
.skill-block p {
  color: var(--cmp-text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.intro-stat {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.stat-item {
  min-width: 110px;
}

.si-val {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.si-label {
  margin-top: 4px;
  color: var(--cmp-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cmp-border);
  color: var(--cmp-text-sub);
  font-size: 13.5px;
  line-height: 1.7;
}

.feature-list li:last-child {
  border-bottom: none;
}

.check,
.cross,
.warning,
.dot {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 14px;
}

.check {
  color: var(--cmp-green);
}
.warning {
  color: var(--cmp-b-ink);
}
.cross {
  color: var(--cmp-red);
}

.dot {
  color: var(--cmp-b);
}

.table-wrap {
  overflow-x: auto;
  background: var(--cmp-card-bg);
  border: 1px solid var(--cmp-border);
  border-radius: var(--cmp-radius);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comp-table thead {
  background: var(--cmp-text);
  color: #ffffff;
}

.comp-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.comp-table thead th:nth-child(2) {
  color: var(--cmp-a-light);
}

.comp-table thead th:nth-child(3) {
  color: var(--cmp-b-mid);
}

.comp-table tbody tr {
  border-bottom: 1px solid var(--cmp-border);
}

.comp-table tbody tr:last-child {
  border-bottom: none;
}

.comp-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.comp-table td {
  padding: 12px 20px;
  vertical-align: middle;
}

.comp-table td:first-child {
  color: var(--cmp-text);
  font-weight: 500;
}

.comp-table td:nth-child(2) {
  color: var(--cmp-a);
}

.comp-table td:nth-child(3) {
  color: var(--cmp-b);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.badge-master,
.badge-tpm {
  background: var(--cmp-a-light);
  color: var(--cmp-a);
}

.badge-gold,
.badge-rummy {
  background: var(--cmp-b-light);
  color: var(--cmp-b-ink);
}

.badge-tie {
  background: #e9e6e0;
  color: var(--cmp-text-sub);
}

.rating-card h4 {
  margin-bottom: 18px;
}

.rating-row {
  margin-bottom: 14px;
}

.rating-row:last-child {
  margin-bottom: 0;
}

.rating-row-label,
.sm-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  color: var(--cmp-text-sub);
  font-size: 13px;
}

.rating-row-label span:last-child,
.sm-label span:last-child {
  color: var(--cmp-text);
  font-weight: 500;
}

.bar-bg,
.sm-track {
  height: 7px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.08);
}

.bar-fill,
.sm-fill {
  height: 100%;
  border-radius: 100px;
}

.bar-fill.master,
.bar-fill.tpm-bar {
  background: var(--cmp-a-mid);
}

.bar-fill.gold,
.bar-fill.rummy-bar,
.sm-fill.skill {
  background: var(--cmp-b);
}

.bar-fill.stars {
  background: var(--cmp-stars);
}

.bar-fill.live {
  background: var(--cmp-live);
}

.sm-fill.luck {
  background: var(--cmp-a-mid);
}

.key-diff,
.skill-block {
  height: 100%;
}

.kd-side {
  height: 100%;
}

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

.kd-desc {
  margin-bottom: 0;
}

.kd-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.kd-mid-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.comparison-theme-rummy .key-diff {
  background: linear-gradient(135deg, #0d2247 0%, #1a3a6e 38%, #5a0a0a 100%);
  padding: 32px 28px;
  border-color: transparent;
  color: #ffffff;
}

.comparison-theme-rummy .key-diff .kd-side {
  text-align: center;
}

.comparison-theme-rummy .key-diff .kd-label {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.comparison-theme-rummy .key-diff .kd-title,
.comparison-theme-rummy .key-diff .kd-mid-text {
  color: #ffffff;
}

.comparison-theme-rummy .key-diff .kd-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.comparison-theme-rummy .key-diff .kd-title.tpm-color {
  color: var(--cmp-a-light);
}

.comparison-theme-rummy .key-diff .kd-title.rummy-color {
  color: #ff8a80;
}

.comparison-theme-rummy .key-diff .kd-desc {
  max-width: 250px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.comparison-theme-rummy .key-diff .kd-mid-text {
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.08em;
  color: #f5d06f;
}

.skill-meter {
  margin-bottom: 18px;
}

.skill-meter:last-child {
  margin-bottom: 0;
}

.callout strong {
  color: var(--cmp-text);
}

.faq-item {
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cmp-border);
  border-radius: var(--cmp-radius);
  background: var(--cmp-card-bg);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  color: var(--cmp-text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q span:last-child {
  flex-shrink: 0;
  margin-top: -2px;
  color: var(--cmp-theme-accent);
  font-size: 20px;
  transition: transform 0.2s ease;
}

details[open].faq-item .faq-q span:last-child,
.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 20px 18px;
  border-top: 1px solid var(--cmp-border);
}

.faq-a p:last-child {
  margin-bottom: 0;
}

details.faq-item:not([open]) .faq-a {
  display: none;
}

@media (max-width: 991.98px) {
  .toc ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 60px 20px 72px;
  }

  .hero-meta {
    gap: 14px 20px;
  }

  .comparison-panel,
  .intro-box,
  .comp-card,
  .rating-card,
  .callout,
  .key-diff,
  .skill-block {
    padding: 20px 18px;
  }

  .verdict {
    grid-template-columns: 1fr;
    margin: -18px auto 48px;
  }

  .verdict-side.master,
  .verdict-side.gold,
  .verdict-side.rummy {
    border: 1px solid var(--cmp-border);
  }

  .verdict-mid {
    min-height: 72px;
  }

  .comp-table td,
  .comp-table thead th {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-q {
    padding: 16px 16px;
  }

  .faq-a {
    padding: 0 16px 16px;
  }

  .doc-link-grid {
    grid-template-columns: 1fr;
  }
}
