/*
Theme Name: Tech Index
Template: kazhangben
Description: A technology directory, comparison tool, and affiliate site assessment.
Version: 3.1.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: xuanyan
*/
:root {
  --ink: #171827;
  --muted: #565b71;
  --paper: #fafafc;
  --border: #e0e1eb;
  --white: #fff;
  --accent: #3528df;
  --xi-indigo: #372de5;
  --xi-indigo-dark: #2720aa;
  --xi-navy: #141435;
  --xi-cloud: #f0efff;
  --xi-line: #dadbef;
  --xi-radius: 18px;
  --xi-width: 1248px;
  --xi-ease: cubic-bezier(.19,1,.22,1);
}
body.xi-site { background: var(--paper); }
.xi-site :where(a,button,input,select,[tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.xi-shell { width: min(var(--xi-width), calc(100% - 88px)); margin-inline: auto; }
.xi-header { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--border); }
.xi-header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.xi-site .brand { color: inherit; gap: 10px; font-weight: 820; letter-spacing: -.035em; line-height: 1; }
.xi-site .brand img { width: 36px; height: 36px; }
.xi-header .main-nav { gap: 32px; }
.xi-header .main-nav a { color: #383b50; font-weight: 620; }
.xi-header .main-nav a:hover, .xi-header .main-nav .current-menu-item a { color: var(--xi-indigo); }
.xi-header-action, .xi-text-action { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 720; text-decoration: none; flex: none; }
.xi-header-action { color: var(--xi-indigo); border: 1px solid #e0ddfe; background: #f7f6ff; border-radius: 10px; padding: 8px 13px; }
.xi-header-action:hover { background: #eae7ff; }
.xi-header-action svg, .xi-text-action svg { width: 18px; height: 18px; }
.xi-text-action { color: var(--xi-indigo); }
.xi-text-action:hover { text-decoration: underline; }
.xi-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 720; font-size: 14px; line-height: 1.35; text-align: center; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.xi-button svg { width: 19px; height: 19px; }
.xi-button-primary { background: var(--xi-indigo); color: white; }
.xi-button-primary:hover { background: var(--xi-indigo-dark); }
.xi-button-primary:disabled { cursor: default; background: #e3e2ef; color: #54566b; }
.xi-button-bright { background: #d8d2ff; color: #191246; }
.xi-button-bright:hover { background: white; }
.xi-hero { position: relative; overflow: hidden; background: #ecedff; border-bottom: 1px solid #dedff1; }
.xi-hero-inner { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; min-height: 500px; }
.xi-hero-copy { padding-block: 55px 61px; position: relative; z-index: 1; }
.xi-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 19px; color: #3c319d; background: #e0dcff; border: 1px solid #d8d2ff; border-radius: 100px; padding: 4px 11px; font-size: 12px; letter-spacing: .055em; font-weight: 750; }
.xi-hero-eyebrow::before { content: ""; border-radius: 100%; width: 6px; height: 6px; background: var(--xi-indigo); }
.xi-hero h1 { font-size: clamp(46px, 6.55vw, 94px); line-height: 1.04; letter-spacing: -.038em; font-weight: 830; margin: 0 0 25px; }
.xi-hero h1 span { color: var(--xi-indigo); }
.xi-hero-description { color: #424965; font-size: clamp(15px, 1.35vw, 19px); max-width: 27em; line-height: 1.8; margin: 0 0 29px; }
.xi-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.xi-hero-visual { position: relative; align-self: stretch; display: grid; align-items: center; pointer-events: none; isolation: isolate; min-width: 0; }
.xi-hero-depth { position: absolute; display: grid; align-items: center; inset: 0; }
.xi-hero-image { width: 128%; max-width: none; margin-inline-start: -10%; position: relative; z-index: -1; mask-image: radial-gradient(ellipse 74% 73% at 53% 49%, #000 46%, transparent 91%); }
.xi-hero-strip { position: absolute; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(transparent,#4b3ce465,transparent); left: 15%; opacity: 0; }
.xi-search { display: flex; flex: 1; align-items: center; gap: 8px; max-width: 400px; min-width: min(219px,100%); background: #fff; border: 1px solid #dad9ec; border-radius: 11px; padding: 4px 5px 4px 11px; }
.xi-search:focus-within { border-color: var(--xi-indigo); }
.xi-search > svg { width: 20px; height: 20px; color: #595b79; }
.xi-search input { align-self: stretch; min-width: 0; width: 100%; flex: 1; padding: 0; background: transparent; border: 0; font-size: 14px; }
.xi-search input:focus { outline: 0; }
.xi-search button { flex: none; border: 0; border-radius: 7px; color: #3028ad; background: #edeaff; min-height: 36px; padding-inline: 10px; font-weight: 750; font-size: 13px; }
.xi-search button:hover { background: #ded8ff; }

.xi-topics { padding-block: 53px 57px; }
.xi-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.xi-section-head h2, .xi-inline-callout h2 { margin: 0 0 6px; font-size: clamp(28px, 3.15vw, 42px); letter-spacing: -.041em; line-height: 1.2; font-weight: 820; }
.xi-section-head p, .xi-inline-callout p { color: var(--muted); margin: 0; font-size: 15px; }
.xi-topic-rule { height: 1px; margin-bottom: 12px; background: linear-gradient(to right, #4838e8, #a396f1 46%, #e0e1eb); transform-origin: left; }
.xi-topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; }
.xi-topic { position: relative; display: grid; justify-items: start; align-content: start; min-width: 0; gap: 4px; padding: 16px 15px 14px; min-height: 126px; border: 1px solid var(--border); border-radius: 13px; background: white; text-decoration: none; transition: background-color .23s ease, border-color .23s ease, box-shadow .26s ease; }
.xi-topic:hover, .xi-topic:focus-visible { background: #faf9ff; border-color: #a29bf6; box-shadow: 0 8px 24px #231f6210; }
.xi-topic-icon, .xi-tool-mark { height: 40px; width: 40px; display: grid; place-items: center; border-radius: 10px; flex: none; color: #4432b7; background: #ece8ff; }
.xi-topic-icon svg { height: 23px; width: 23px; transition: transform .32s var(--xi-ease); }
.xi-topic:is(:hover,:focus-visible) .xi-topic-icon svg { transform: translateY(-2px) rotate(-10deg); }
[data-tone="sky"] { background: #e4efff; color: #2257a4; }
[data-tone="peach"] { background: #f9e9e1; color: #984c2d; }
[data-tone="mint"] { background: #e2f3eb; color: #24644d; }
[data-tone="blush"] { background: #f6e8f3; color: #8a3870; }
[data-tone="sand"] { background: #f9efd9; color: #815613; }
.xi-topic-name { overflow-wrap: anywhere; line-height: 1.25; margin-top: 4px; font-size: 15px; font-weight: 770; }
.xi-topic-count { color: var(--muted); font-size: 12px; }
.xi-topic-chevron { position: absolute; right: 10px; top: 13px; color: #6c68a2; }
.xi-topic-chevron svg { width: 16px; height: 16px; }

.xi-featured { padding-block: 58px 65px; background: #f1f1f8; border-block: 1px solid #e9e9f4; }
.xi-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.xi-tool { display: flex; flex-direction: column; gap: 12px; background: white; border: 1px solid var(--border); border-radius: 15px; min-width: 0; padding: 16px 17px 14px; transition: border-color .2s ease, box-shadow .25s ease; }
.xi-tool:hover, .xi-tool:focus-within { border-color: #b4aef1; box-shadow: 0 7px 20px #26195508; }
.xi-tool-heading { display: flex; align-items: center; gap: 10px; }
.xi-tool-mark { font-size: 18px; font-weight: 820; overflow: hidden; }
.xi-tool-mark img { width: 100%; height: 100%; object-fit: cover; }
.xi-tool-heading > div { min-width: 0; }
.xi-tool-heading h3 { margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xi-tool-heading h3 a { text-decoration: none; }
.xi-tool-heading h3 a:hover { text-decoration: underline; }
.xi-tool-heading > div span { color: var(--muted); font-size: 12px; }
.xi-tool-arrow { margin-left: auto; align-self: flex-start; color: #5c578a; }
.xi-tool-arrow svg { width: 18px; height: 18px; }
.xi-tool > p { color: var(--muted); flex: 1; margin: 0; line-height: 1.65; font-size: 13px; }
.xi-tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #ebebf1; padding-top: 9px; margin-top: auto; min-height: 43px; }
.xi-plan { font-size: 14px; font-weight: 780; line-height: 1.25; overflow-wrap: anywhere; }
.xi-plan small { display: inline-block; margin-inline-start: 5px; color: var(--muted); font-size: 11px; font-weight: 500; }
.xi-site .out-link { border-color: #dedafc; color: #4033b1; }
.xi-site .out-link:hover { background: #efedfd; }
.xi-compare-check { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 35px; font-size: 12px; color: #483f7f; padding: 2px 7px; border: 1px solid #e0ddf4; border-radius: 7px; cursor: pointer; }
.xi-compare-check input { accent-color: var(--xi-indigo); width: 15px; height: 15px; margin: 0; }
.xi-compare-check:has(input:checked) { background: #eceaff; border-color: #c8c2fb; }

.xi-stage { padding-block: 68px 26px; }
.xi-stage-frame { display: grid; grid-template-columns: minmax(270px,.86fr) minmax(0,1.14fr); gap: 32px; padding: 43px 47px; background: var(--xi-navy); color: #fff; border-radius: 24px; position: relative; isolation: isolate; }
.xi-stage-frame::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(ellipse at 9% 2%, #322476, transparent 67%); }
.xi-stage-icon { display: grid; place-items: center; border-radius: 10px; width: 42px; height: 42px; color: #ded6ff; background: #ffffff12; border: 1px solid #ffffff35; }
.xi-stage-icon svg { width: 21px; height: 21px; }
.xi-stage-side h2 { font-size: clamp(32px,4.9vw,66px); font-weight: 820; letter-spacing: -.041em; line-height: 1.08; margin: 16px 0 11px; }
.xi-stage-side p { font-size: 14px; color: #cfcae8; margin: 0 0 22px; }
.xi-scene-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.xi-scene-tabs button { background: transparent; border: 1px solid #6d6498; color: #e7e3f9; border-radius: 7px; padding: 6px 10px; min-height: 38px; font-size: 13px; font-weight: 700; }
.xi-scene-tabs button[aria-pressed="true"] { background: #d9d3fb; color: #1b1447; border-color: #d9d3fb; }
.xi-stage :focus-visible { outline-color: #d9d3fb !important; }
.xi-stage-data { display: grid; align-items: center; gap: 13px; min-width: 0; }
.xi-scene-panel { background: #222048; padding: 22px; border: 1px solid #514d7a; border-radius: 15px; }
.xi-scene-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.xi-scene-caption h3 { margin: 0; font-size: 20px; }
.xi-scene-caption > span { font-size: 12px; color: #d7d1ed; }
.xi-scene-list { list-style: none; margin: 12px 0 16px; padding: 0; }
.xi-scene-list li { border-top: 1px solid #454063; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding-block: 8px; font-size: 13px; }
.xi-scene-list li a { font-weight: 720; text-decoration: none; }
.xi-scene-list li a:hover { text-decoration: underline; }
.xi-scene-list li > span:last-child { color: #ded8fa; text-align: right; }
.xi-scene-list .xi-tool-mark { width: 30px; height: 30px; border-radius: 7px; font-size: 15px; }
.xi-scene-panel .xi-button { min-height: 39px; }

.xi-editorial { padding-block: 52px 74px; }
.xi-editorial-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); column-gap: 20px; }
.xi-editorial-list article { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 13px; min-width: 0; padding: 17px 0; border-bottom: 1px solid var(--border); }
.xi-editorial-list article h3 { font-size: 17px; margin: 3px 0; line-height: 1.35; letter-spacing: -.023em; }
.xi-editorial-list article h3 a { text-decoration: none; }
.xi-editorial-list article h3 a:hover { text-decoration: underline; }
.xi-editorial-list article h3 a::after { position: absolute; inset: 0; content: ""; }
.xi-editorial-label { color: var(--xi-indigo); font-size: 12px; font-weight: 710; }
.xi-editorial-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #ebe8fd; color: var(--xi-indigo); }
.xi-editorial-icon svg, .xi-editorial-arrow svg { width: 18px; height: 18px; }
.xi-editorial-arrow { color: #6259ab; }
.xi-editorial-list article p { margin: 0; color: var(--muted); font-size: 13px; }

.xi-footer { padding-top: 42px; background: #eeeff7; border-top: 1px solid #e1e1f0; color: #252641; }
.xi-footer-main { display: grid; grid-template-columns: 1fr auto auto; gap: 55px; }
.xi-footer-main p { font-size: 14px; color: var(--muted); }
.xi-footer .footer-menu a { color: #474961; }
.xi-footer .footer-menu a:hover { color: var(--accent); }
.xi-footer-bottom { margin-top: 24px; padding-block: 15px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #d9daeb; color: #50536b; font-size: 12px; }
.xi-footer-bottom a { text-decoration: none; }

.xi-interior-hero { border-bottom: 1px solid var(--xi-line); background: var(--xi-cloud); padding-block: 45px 42px; }
.xi-interior-hero h1 { font-size: clamp(36px, 5.65vw, 72px); letter-spacing: -.045em; line-height: 1.09; margin: 8px 0; font-weight: 820; overflow-wrap: anywhere; }
.xi-interior-hero p { color: var(--muted); margin: 10px 0 0; max-width: 40em; }
.xi-interior-hero .xi-search { margin-top: 18px; }
.xi-back { font-size: 13px; color: var(--accent); text-decoration: none; }
.xi-back:hover { text-decoration: underline; }
.xi-directory-body { padding-block: 28px 68px; }
.xi-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; }
.xi-pills a { padding: 6px 11px; border: 1px solid var(--border); border-radius: 7px; text-decoration: none; font-size: 13px; color: #424464; background: #fff; }
.xi-pills a:hover { border-color: #a49bf2; }
.xi-pills a[aria-current] { background: var(--xi-indigo); border-color: var(--xi-indigo); color: #fff; }
.xi-directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px 15px; margin-bottom: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.xi-directory-toolbar > div { display: flex; align-items: center; gap: 9px; }
.xi-directory-toolbar .xi-button { min-height: 37px; padding: 6px 10px; }
.xi-selected-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.xi-selected-tools button { color: #3726a8; background: #efecff; border: 1px solid #ddd6fb; border-radius: 7px; padding: 5px 9px; font-size: 12px; }
.xi-selected-tools button:hover { background: #e7e0ff; }
.xi-empty { border: 1px solid var(--border); border-radius: 14px; background: white; padding: 25px; }
.xi-empty h2 { margin-top: 0; }
.xi-empty p { color: var(--muted); }
.xi-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.xi-matrix { overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.xi-matrix table { width: 100%; border-collapse: collapse; text-align: start; font-size: 14px; }
.xi-matrix :is(th,td) { padding: 14px 16px; text-align: start; vertical-align: top; }
.xi-matrix thead th { background: #eeedfb; }
.xi-matrix tbody tr { border-top: 1px solid var(--border); }
.xi-matrix tbody th { width: 14%; min-width: 7em; }
.xi-matrix tbody td { min-width: 10em; }
.xi-matrix-name { display: flex; align-items: center; gap: 8px; }
.xi-matrix-name a { text-decoration: none; }
.xi-matrix-name a:hover { text-decoration: underline; }
.xi-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.xi-sources > a { color: var(--accent); font-size: 13px; font-weight: 650; }
.xi-sources > a svg { width: 14px; height: 14px; }
.xi-comparison-page .xi-stage { padding-block: 0 55px; }
.xi-inline-callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 24px; border: 1px solid var(--xi-line); border-radius: var(--xi-radius); background: var(--xi-cloud); margin-bottom: 48px; }
.xi-inline-callout h2 { font-size: 25px; }
.xi-directory .comparison { padding-top: 0; }
.xi-site .compare-table thead { background: #eeedfb; }
.xi-site .compare-table th { color: var(--ink); }
.xi-site .compare-table .region-tag { background: #eeecfd; color: #45388e; }
.xi-site .filters button[aria-pressed="true"] { background: var(--xi-indigo); border-color: var(--xi-indigo); }
.xi-payment-body { display: grid; grid-template-columns: minmax(0,394px) minmax(0,1fr); gap: 32px; margin-block: 28px 64px; }
.xi-payment-body .hero-art { display: block; min-height: 0; padding: 0; }
.xi-payment-body .artwork { display: none; }
.xi-payment-body .calculator { width: 100%; margin: 0; border: 1px solid var(--border); box-shadow: none; background: white; }
.xi-payment-body .receipt-icon { background: #eeebff; color: var(--accent); }
.xi-payment-body .receipt-total output { color: var(--accent); }
.xi-detail-heading { display: flex; align-items: center; gap: 13px; }
.xi-detail-heading .xi-tool-mark { width: 54px; height: 54px; font-size: 26px; }
.xi-detail-body { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(250px,.55fr); gap: 35px; padding-block: 28px 68px; }
.xi-detail-body article h2, .xi-details-box h2 { font-size: 22px; letter-spacing: -.035em; margin-block: 0 6px; }
.xi-details-box { border: 1px solid var(--border); border-radius: 14px; background: white; padding: 18px; }
.xi-details-box dl { margin: 8px 0 15px; display: grid; gap: 8px; }
.xi-details-box dl div { border-bottom: 1px solid #eeeef5; padding-bottom: 6px; }
.xi-details-box dt { font-size: 12px; color: var(--muted); }
.xi-details-box dd { margin: 0; color: var(--ink); font-weight: 680; overflow-wrap: anywhere; }
.xi-details-box p, .xi-disclosure { color: var(--muted); font-size: 12px; }
.xi-details-box p { margin-bottom: 4px; }
.xi-site .page-surface { background: var(--paper); }
.xi-site .guide-card { background: white; border-color: var(--border); }
.xi-site .guide-card:hover { border-color: #ada6ed; }

@media (max-width: 1040px) {
  .xi-shell { width: calc(100% - 58px); }
  .xi-hero-inner { min-height: 440px; }
  .xi-hero-image { width: 141%; }
}
@media (max-width: 840px) {
  .xi-shell { width: calc(100% - 44px); }
  .xi-header .main-nav { gap: 18px; }
  .xi-topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .xi-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xi-stage-frame { padding: 28px; gap: 18px; }
  .xi-site .compare-table tbody th { background: #eeedfb; }
}
@media (max-width: 680px) {
  .xi-shell { width: calc(100% - 34px); }
  .xi-header-inner { min-height: 63px; gap: 8px; justify-content: flex-start; }
  .xi-header-action { margin-left: auto; padding: 7px 9px; font-size: 12px; }
  .xi-header .mobile-nav { margin-left: 0; }
  .xi-header .mobile-nav summary { color: var(--xi-indigo); background: #f7f6ff; border-color: #dedafc; }
  .xi-header .mobile-nav nav .main-nav { gap: 0; }
  .xi-hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .xi-hero-copy { padding-block: 34px 6px; }
  .xi-hero-description { margin-bottom: 19px; }
  .xi-hero h1 { font-size: clamp(40px,10vw,62px); margin-bottom: 14px; }
  .xi-hero-eyebrow { margin-bottom: 12px; }
  .xi-hero-visual { height: clamp(210px, 69vw, 335px); }
  .xi-hero-image { width: 112%; max-width: 670px; margin-inline-start: -5%; transform: translateY(-7%); align-self: center; }
  .xi-hero-strip { display: none; }
  .xi-topics, .xi-featured, .xi-editorial { padding-block: 39px 45px; }
  .xi-section-head { align-items: flex-start; }
  .xi-section-head p { font-size: 13px; }
  .xi-section-head .xi-text-action { margin-top: 5px; font-size: 12px; }
  .xi-topic { min-height: 114px; padding: 10px 9px; }
  .xi-topic-name { font-size: 13px; }
  .xi-topic-icon { width: 34px; height: 34px; }
  .xi-topic-icon svg { width: 19px; height: 19px; }
  .xi-topic-chevron { top: 9px; right: 7px; }
  .xi-topic-chevron svg { width: 14px; height: 14px; }
  .xi-stage { padding-block: 40px 4px; }
  .xi-stage-frame { grid-template-columns: minmax(0,1fr); padding: 21px; border-radius: 17px; }
  .xi-stage-side h2 br { display: none; }
  .xi-stage-side p { margin-bottom: 12px; }
  .xi-scene-panel { padding: 14px; }
  .xi-editorial-list { grid-template-columns: minmax(0,1fr); }
  .xi-footer-main { grid-template-columns: 1fr 1fr; gap: 16px; }
  .xi-footer-main > div { grid-column: 1 / -1; }
  .xi-interior-hero { padding-block: 29px; }
  .xi-directory-body, .xi-detail-body { padding-bottom: 47px; }
  .xi-detail-body, .xi-payment-body { grid-template-columns: minmax(0,1fr); gap: 18px; }
}
@media (max-width: 470px) {
  .xi-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xi-pills { flex-wrap: nowrap; overflow-x: auto; padding-block: 4px; scrollbar-width: thin; }
  .xi-pills a { flex: none; white-space: nowrap; }
  .xi-header-action svg { display: none; }
  .xi-tool-grid { grid-template-columns: minmax(0,1fr); }
  .xi-hero-actions .xi-search { flex-basis: 100%; }
  .xi-hero-visual { margin-top: 2px; }
}

.xi-affiliate-offer {
  margin-block: 21px;
  padding: 17px 19px;
  border: 1px solid #d8d1f1;
  border-radius: 15px;
  background: #f3f0ff;
}
.xi-affiliate-offer h2 { font-size: 21px; line-height: 1.2; margin: 0 0 5px; }
.xi-affiliate-offer p { color: #514768; font-size: 13px; line-height: 1.5; margin: 7px 0 10px; }
.xi-affiliate-offer .xi-offer-codes { list-style: none; padding: 0; margin: 11px 0; display: grid; gap: 5px; }
.xi-offer-codes li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
  padding: 6px 8px;
  border: 1px solid #ded8f1;
  border-radius: 8px;
  background: #fff;
  color: #443760;
  font-size: 12px;
}
.xi-offer-codes code { color: #241358; font-size: 13px; font-weight: 680; overflow-wrap: anywhere; }
.xi-offer-codes button {
  margin-inline-start: auto;
  padding: 4px 8px;
  min-height: 31px;
  border: 1px solid #d9cff8;
  border-radius: 6px;
  background: #f3efff;
  color: #39278e;
  font-size: 12px;
}
.xi-offer-codes button:hover { background: #e8e0ff; }
.xi-affiliate-offer .xi-button { min-height: 40px; padding: 7px 12px; color: #fff; }
