/* ============================================================================
   ch-077 — «ارتباط با ما»: دکمهٔ گوشهٔ صفحه، پنجرهٔ گفت‌وگو/راه‌های ارتباط (tkcw) و صفحهٔ /contact/ (tkx).
   ch-079: فضای نام پنجره tkcw است (کلاس‌ها، data-tkcw-* و keyframes). tkc و data-tkc مال نوار فیلتر کاتالوگ بازار است
   (market-category-v2.css)؛ اشتراک نام باعث عمودی شدن دکمه‌های «نحوهٔ نمایش» و از کار افتادن پنجره در صفحه‌های دسته شده بود.
   رفتار: statics/support_center/js/chat-widget.js · نشانه‌گذاری: templates/support_center/chat/_widget.html
   رنگ‌ها: ذغالی و طلایی تست‌کاو؛ حالت تیرهٔ سایت (html[data-theme="dark"]) هم پشتیبانی می‌شود.
   ============================================================================ */
.tkcw,.tkx{--c-ink:#17181c;--c-amber:#ffc218;--c-amber-deep:#b98500;--c-surface:#fff;--c-surface-2:#f6f5f1;--c-surface-3:#ecebe6;
  --c-line:rgba(23,24,28,.1);--c-line-strong:rgba(23,24,28,.18);--c-soft:rgba(23,24,28,.64);--c-faint:rgba(23,24,28,.44);
  --c-ok:#1f9d57;--c-danger:#e5484d;--c-own:#fff4cf;--c-own-line:rgba(233,173,0,.35);
  --c-font:var(--tk-font,'AzarMehr','Pinar','Vazirmatn',Tahoma,system-ui,sans-serif);--c-ease:cubic-bezier(.22,.61,.36,1)}
html[data-theme="dark"] .tkcw,html[data-theme="dark"] .tkx{--c-ink:#f1f2ee;--c-surface:#16181c;--c-surface-2:#1d2025;--c-surface-3:#262a30;
  --c-line:rgba(241,242,238,.1);--c-line-strong:rgba(241,242,238,.18);--c-soft:rgba(241,242,238,.68);--c-faint:rgba(241,242,238,.45);
  --c-own:rgba(255,194,24,.14);--c-own-line:rgba(255,194,24,.3);--c-amber-deep:#ffd45a}
.tkcw *,.tkcw *::before,.tkcw *::after{box-sizing:border-box}
.tkcw [hidden]{display:none!important}
.tkcw svg{display:block;flex:none}
.tkcw button{font:inherit;cursor:pointer;font-size:14px!important;line-height:1.6;text-align:center}

/* ── دکمهٔ گوشه ─────────────────────────────────────────────────────────── */
.tkcw .tkcw-launch{position:fixed;z-index:150;inset-inline-end:22px;bottom:22px;display:grid;place-items:center;width:60px;height:60px;padding:0;border:0;border-radius:50%;
  background:#17181c;color:#ffc218;box-shadow:0 18px 38px -14px rgba(23,24,28,.6),0 0 0 1px rgba(255,255,255,.06) inset;
  transition:transform .2s var(--c-ease),box-shadow .2s var(--c-ease);-webkit-tap-highlight-color:transparent}

.tkcw .tkcw-launch:focus-visible{outline:3px solid #ffc218;outline-offset:3px}
html[data-theme="dark"] .tkcw .tkcw-launch{box-shadow:0 18px 38px -14px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.14)}
.tkcw .tkcw-launch svg{width:28px;height:28px}
.tkcw .tkcw-launch__x{display:none}
.tkcw.is-open .tkcw-launch__ic{display:none}
.tkcw.is-open .tkcw-launch__x{display:grid}
.tkcw .tkcw-launch__badge{position:absolute;top:-3px;inset-inline-start:-3px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--c-danger);
  color:#fff;font:800 12px/22px var(--c-font);text-align:center;box-shadow:0 0 0 3px #fff}
.tkcw .tkcw-launch__dot{position:absolute;bottom:5px;inset-inline-start:5px;width:13px;height:13px;border-radius:50%;background:#2fd17a;box-shadow:0 0 0 3px #17181c}
.tkcw.is-open .tkcw-launch__dot{display:none}
@keyframes tkcw-nudge{0%,100%{transform:none}30%{transform:translateY(-5px)}60%{transform:translateY(0)}}
.tkcw .tkcw-launch.is-nudge{animation:tkcw-nudge .9s var(--c-ease) 2}

/* ── پنجره ──────────────────────────────────────────────────────────────── */
.tkcw .tkcw-panel{position:fixed;z-index:151;inset-inline-end:22px;bottom:96px;display:flex;flex-direction:column;width:388px;height:min(640px,calc(100vh - 128px));height:min(640px,calc(100dvh - 128px));
  overflow:hidden;border-radius:24px;background:var(--c-surface);color:var(--c-ink);font-family:var(--c-font);font-size:14px;line-height:1.85;direction:rtl;text-align:right;
  box-shadow:0 34px 90px -24px rgba(23,24,28,.5),0 0 0 1px var(--c-line);transform-origin:bottom left;animation:tkcw-pop .22s var(--c-ease)}
@keyframes tkcw-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}

.tkcw .tkcw-head{flex:none;padding:16px 16px 12px;background:radial-gradient(120% 140% at 100% 0%,rgba(255,194,24,.18),transparent 55%),#17181c;color:#fff}
.tkcw .tkcw-head__row{display:flex;align-items:center;gap:11px}
.tkcw .tkcw-mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#ffc218;color:#17181c}
.tkcw .tkcw-mark svg{width:22px;height:22px}
.tkcw .tkcw-head__t{display:flex;flex-direction:column;min-width:0;flex:1}
.tkcw .tkcw-head__t b{font-size:15.5px;font-weight:800;line-height:1.5}
.tkcw .tkcw-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:rgba(255,255,255,.72)}
.tkcw .tkcw-status i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35)}
.tkcw .tkcw-status.is-online i{background:#2fd17a;box-shadow:0 0 0 3px rgba(47,209,122,.22)}
.tkcw .tkcw-iconbtn{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:11px;background:rgba(255,255,255,.08);color:#fff}

.tkcw .tkcw-iconbtn svg{width:19px;height:19px}
.tkcw .tkcw-iconbtn:focus-visible,.tkcw .tkcw-tab:focus-visible{outline:2px solid #ffc218;outline-offset:2px}
.tkcw .tkcw-tabs{display:flex;gap:4px;margin-top:14px;padding:4px;border-radius:13px;background:rgba(255,255,255,.08)}
.tkcw .tkcw-tab{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;border:0;border-radius:10px;background:transparent;color:rgba(255,255,255,.72);
  font-size:13px!important;font-weight:700;transition:background .15s var(--c-ease),color .15s var(--c-ease)}
.tkcw .tkcw-tab svg{width:17px;height:17px}
.tkcw .tkcw-tab.is-on{background:#ffc218;color:#17181c}

.tkcw .tkcw-view{flex:1;display:flex;flex-direction:column;min-height:0;background:var(--c-surface-2)}
.tkcw .tkcw-loading{flex:1;display:flex;align-items:center;justify-content:center;gap:6px}
.tkcw .tkcw-loading i,.tkcw .tkcw-typing i{width:7px;height:7px;border-radius:50%;background:var(--c-faint);animation:tkcw-dot 1.2s infinite ease-in-out}
.tkcw .tkcw-loading i:nth-child(2),.tkcw .tkcw-typing i:nth-child(2){animation-delay:.15s}
.tkcw .tkcw-loading i:nth-child(3),.tkcw .tkcw-typing i:nth-child(3){animation-delay:.3s}
@keyframes tkcw-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

/* سلام و نام */
.tkcw .tkcw-hello{flex:1;display:flex;flex-direction:column;gap:10px;padding:16px 14px 14px;overflow:auto}
.tkcw .tkcw-hello .tkcw-note{margin:2px 0 0;max-width:none}
.tkcw .tkcw-hello__card{display:grid;gap:10px;margin-top:auto;padding:14px;border-radius:18px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line)}
.tkcw .tkcw-field{display:grid;gap:6px;font-size:13px;font-weight:700;color:var(--c-ink)}
.tkcw .tkcw-field input,.tkcw .tkcw-compose textarea,.tkcw .tkcw-ended__c{width:100%;padding:11px 14px;border:1px solid var(--c-line-strong);border-radius:13px;background:var(--c-surface);color:var(--c-ink);
  font:inherit;font-size:14px;outline:0;transition:border-color .15s var(--c-ease),box-shadow .15s var(--c-ease)}
.tkcw .tkcw-field input:focus,.tkcw .tkcw-compose textarea:focus,.tkcw .tkcw-ended__c:focus{border-color:rgba(233,173,0,.7);box-shadow:0 0 0 4px rgba(255,194,24,.18);outline:0}
.tkcw .tkcw-hp{position:absolute!important;inset-inline-start:-9999px;width:1px;height:1px;opacity:0}
.tkcw .tkcw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:13px;background:#ffc218;color:#17181c;
  font-size:14px!important;font-weight:800;transition:filter .15s var(--c-ease),transform .15s var(--c-ease)}

.tkcw .tkcw-btn:active{transform:translateY(1px)}
.tkcw .tkcw-btn:focus-visible{outline:2px solid var(--c-ink);outline-offset:2px}
.tkcw .tkcw-btn--ghost{background:var(--c-surface);color:var(--c-ink);box-shadow:0 0 0 1px var(--c-line-strong) inset}
.tkcw .tkcw-btn[aria-busy="true"]{opacity:.7;pointer-events:none}
.tkcw .tkcw-fine{margin:0;font-size:12px;color:var(--c-faint);text-align:center}
.tkcw .tkcw-fine a{color:var(--c-amber-deep);font-weight:700}
.tkcw .tkcw-err{margin:0;font-size:12.5px;font-weight:700;color:var(--c-danger)}

/* گفت‌وگو */
.tkcw .tkcw-chat{flex:1;display:flex;flex-direction:column;min-height:0}
.tkcw .tkcw-msgs{flex:1;display:flex;flex-direction:column;gap:6px;margin:0;padding:16px 14px 10px;overflow-y:auto;list-style:none;overscroll-behavior:contain;scroll-behavior:smooth}
/* ch-079: پیام خود کاربر سمت راست، پیام پشتیبانی سمت چپ */
.tkcw .tkcw-msg{display:flex;flex-direction:column;align-items:flex-end;max-width:84%;margin-inline-start:auto}
.tkcw .tkcw-msg--visitor{margin-inline-start:0;margin-inline-end:auto;align-items:flex-start}
.tkcw .tkcw-msg__name{margin:6px 4px 1px;font-size:11.5px;font-weight:800;color:var(--c-amber-deep)}
.tkcw .tkcw-bubble{padding:9px 13px;border-radius:18px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line);font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.tkcw .tkcw-msg--agent .tkcw-bubble{border-start-end-radius:6px}
.tkcw .tkcw-msg--visitor .tkcw-bubble{background:var(--c-own);box-shadow:0 0 0 1px var(--c-own-line);border-start-start-radius:6px}
.tkcw .tkcw-bubble a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tkcw .tkcw-bubble bdi,.tkcw .tkcw-bubble a{unicode-bidi:isolate}
.tkcw .tkcw-msg__meta{display:flex;align-items:center;gap:5px;margin:2px 6px 0;font-size:10.5px;color:var(--c-faint)}
.tkcw .tkcw-msg__meta svg{width:13px;height:13px;color:var(--c-ok)}
.tkcw .tkcw-msg.is-pending .tkcw-bubble{opacity:.6}
.tkcw .tkcw-msg.is-failed .tkcw-bubble{box-shadow:0 0 0 1px var(--c-danger)}
.tkcw .tkcw-msg--system{max-width:100%;margin:6px auto;align-items:center}
.tkcw .tkcw-msg--system .tkcw-bubble{padding:4px 12px;border-radius:999px;background:transparent;box-shadow:0 0 0 1px var(--c-line);font-size:12px;color:var(--c-soft)}
.tkcw .tkcw-note{margin:4px auto 8px;max-width:92%;padding:9px 12px;border-radius:13px;background:rgba(255,194,24,.12);box-shadow:0 0 0 1px rgba(255,194,24,.35) inset;font-size:12.5px;line-height:1.85;color:var(--c-ink);text-align:center}
.tkcw .tkcw-typing{display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;gap:8px;padding:0 18px 6px;font-size:12px;color:var(--c-faint)}
.tkcw .tkcw-typing span{display:inline-flex;gap:3px;padding:7px 10px;border-radius:12px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line)}
.tkcw .tkcw-typing i{width:5px;height:5px}
.tkcw .tkcw-compose{flex:none;display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--c-line);background:var(--c-surface)}
.tkcw .tkcw-compose textarea{min-height:44px;max-height:132px;resize:none;line-height:1.7;border-radius:16px}
.tkcw .tkcw-send{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#ffc218;color:#17181c;transition:transform .15s var(--c-ease),opacity .15s}
.tkcw .tkcw-send svg{width:20px;height:20px;transform:scaleX(-1)}
.tkcw .tkcw-send:disabled{opacity:.45;cursor:default}

.tkcw .tkcw-send:focus-visible{outline:2px solid var(--c-ink);outline-offset:2px}
.tkcw .tkcw-foot{flex:none;display:flex;align-items:center;gap:10px;min-height:30px;padding:0 14px 8px;background:var(--c-surface);font-size:12px}
.tkcw .tkcw-foot .tkcw-err{flex:1}
.tkcw .tkcw-link{margin-inline-start:auto;padding:2px 4px;border:0;background:none;color:var(--c-faint);font-size:12px!important;font-weight:700;text-decoration:underline;text-underline-offset:3px}

.tkcw .tkcw-confirm{margin-inline-start:auto;color:var(--c-soft)}
.tkcw .tkcw-confirm button{margin-inline-start:6px;padding:2px 10px;border:0;border-radius:8px;background:var(--c-surface-3);color:var(--c-ink);font-size:12px!important;font-weight:800}
.tkcw .tkcw-confirm button:first-of-type{background:var(--c-danger);color:#fff}
.tkcw .tkcw-chat.is-closed .tkcw-compose,.tkcw .tkcw-chat.is-closed .tkcw-foot{display:none}
.tkcw .tkcw-intro{display:flex;flex-direction:column;gap:6px;margin-bottom:4px}
.tkcw .tkcw-day{display:flex;justify-content:center;margin:8px 0 2px}
.tkcw .tkcw-day span{padding:2px 12px;border-radius:999px;background:var(--c-surface-3);font-size:11.5px;font-weight:700;color:var(--c-soft)}
.tkcw .tkcw-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tkcw .tkcw-msg.is-grouped{margin-top:-3px}
.tkcw .tkcw-msg.is-grouped .tkcw-msg__name{display:none}
.tkcw .tkcw-msg:not(.is-tail) .tkcw-msg__meta{display:none}
.tkcw .tkcw-msg.is-seen .tkcw-msg__meta,.tkcw .tkcw-msg.is-pending .tkcw-msg__meta,.tkcw .tkcw-msg.is-failed .tkcw-msg__meta{display:flex}
.tkcw .tkcw-msg__seen{display:none;align-items:center;gap:3px;color:var(--c-ok);font-weight:700}
.tkcw .tkcw-msg.is-seen .tkcw-msg__seen{display:inline-flex}
.tkcw .tkcw-msg__seen svg{width:14px;height:14px}
.tkcw .tkcw-msg.is-failed .tkcw-msg__state{color:var(--c-danger);font-weight:700}
.tkcw .tkcw-retry{padding:0 2px;border:0;background:none;color:var(--c-ink);font-size:11px!important;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.tkcw .tkcw-foot{flex-wrap:wrap;row-gap:2px}
.tkcw .tkcw-count{font-size:11.5px;font-weight:700;color:var(--c-faint)}
.tkcw .tkcw-count.is-over{color:var(--c-danger)}
.tkcw .tkcw-hint{font-size:11px;color:var(--c-faint)}
.tkcw .tkcw-hint kbd{display:inline-block;padding:0 5px;border-radius:5px;background:var(--c-surface-3);font:700 10.5px/1.6 var(--c-font);color:var(--c-soft);direction:ltr}
.tkcw .tkcw-ended:focus{outline:none}
.tkcw .tkcw-ended:focus-visible{box-shadow:0 0 0 2px var(--c-amber)}
.tkcw .tkcw-ended .tkcw-err{text-align:center}

/* پایان و امتیاز */
.tkcw .tkcw-ended{flex:none;display:grid;gap:10px;margin:0 12px 12px;padding:14px;border-radius:18px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line)}
.tkcw .tkcw-ended__t{margin:0;font-size:13.5px;font-weight:800;text-align:center}
.tkcw .tkcw-stars{display:flex;flex-direction:row-reverse;justify-content:center;gap:2px}
.tkcw .tkcw-stars button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:none;color:var(--c-line-strong)}
.tkcw .tkcw-stars button svg{width:28px;height:28px;fill:currentColor;stroke:none}
.tkcw .tkcw-stars button.is-on,.tkcw .tkcw-stars button.is-on~button{color:#ffc218}
.tkcw .tkcw-stars button:focus-visible{outline:2px solid var(--c-ink)}
.tkcw .tkcw-ended__c{min-height:56px;resize:none;font-size:13px}
.tkcw .tkcw-ended__a{display:flex;gap:8px}
.tkcw .tkcw-ended__a .tkcw-btn{flex:1}
.tkcw .tkcw-ended.is-thanks .tkcw-stars,.tkcw .tkcw-ended.is-thanks .tkcw-ended__c,.tkcw .tkcw-ended.is-thanks [data-tkcw-rate]{display:none}

/* راه‌های ارتباط */
.tkcw .tkcw-contact{overflow-y:auto;padding:16px}
.tkcw .tkcw-contact__lead{margin:0 0 12px;font-size:13px;color:var(--c-soft)}
.tkcw .tkcw-ways{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.tkcw .tkcw-ways a,.tkcw .tkcw-ways__row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:15px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line);color:inherit;text-decoration:none;
  transition:box-shadow .15s var(--c-ease)}

.tkcw .tkcw-ways__ic{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:rgba(255,194,24,.16);color:var(--c-amber-deep)}
.tkcw .tkcw-ways__ic svg{width:19px;height:19px}
.tkcw .tkcw-ways small{display:block;font-size:11.5px;color:var(--c-faint);line-height:1.6}
.tkcw .tkcw-ways b{display:block;font-size:13.5px;font-weight:800;line-height:1.6}
.tkcw .tkcw-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tkcw .tkcw-social a{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:999px;background:var(--c-surface);box-shadow:0 0 0 1px var(--c-line);color:var(--c-ink);font-size:12.5px;font-weight:700;text-decoration:none}

.tkcw .tkcw-social svg{width:17px;height:17px}
.tkcw .tkcw-contact__more{display:inline-flex;align-items:center;gap:4px;margin-top:14px;font-size:12.5px;font-weight:800;color:var(--c-amber-deep);text-decoration:none}
.tkcw .tkcw-contact__more svg{width:15px;height:15px;transform:scaleX(-1)}

/* ── تلفن ───────────────────────────────────────────────────────────────── */
@media (max-width:820px){
  .tkcw .tkcw-launch{inset-inline-end:14px;bottom:calc(80px + env(safe-area-inset-bottom,0px));width:54px;height:54px}
  .tkcw .tkcw-panel{inset-inline-end:12px;bottom:calc(144px + env(safe-area-inset-bottom,0px));height:min(600px,calc(100dvh - 170px))}
}
@media (max-width:540px){
  html.tkcw-locked,html.tkcw-locked body{overflow:hidden}
  .tkcw .tkcw-panel{inset:0;width:auto;height:100%;height:100dvh;border-radius:0;animation:tkcw-sheet .24s var(--c-ease)}
  .tkcw.is-open .tkcw-launch{display:none}
  .tkcw .tkcw-head{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .tkcw .tkcw-compose{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
@keyframes tkcw-sheet{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
/* حالت‌های اشاره‌گر فقط برای دستگاه‌هایی که hover واقعی دارند (در لمسی، رنگ هاور روی دکمه نمی‌ماند) */
@media (hover:hover){
  .tkcw .tkcw-launch:hover{transform:translateY(-2px);box-shadow:0 22px 44px -14px rgba(23,24,28,.7)}
  .tkcw .tkcw-iconbtn:hover{background:rgba(255,255,255,.16)}
  .tkcw .tkcw-btn:hover{filter:brightness(.96)}
  .tkcw .tkcw-send:not(:disabled):hover{transform:scale(1.05)}
  .tkcw .tkcw-link:hover{color:var(--c-danger)}
  .tkcw .tkcw-stars button:hover,.tkcw .tkcw-stars button:hover~button{color:#ffc218}
  .tkcw .tkcw-ways a:hover{box-shadow:0 0 0 1px rgba(233,173,0,.6)}
  .tkcw .tkcw-social a:hover{box-shadow:0 0 0 1px rgba(233,173,0,.6)}
}
@media (prefers-reduced-motion:reduce){
  .tkcw *,.tkcw .tkcw-panel,.tkcw .tkcw-launch{animation:none!important;transition:none!important}
}
@media print{.tkcw{display:none!important}}

/* ============================================================================ صفحهٔ «ارتباط با ما» */
/* ch-079: روشن و هم‌سبک صفحه‌های داخلی سایت (سربرگ pub-inner-hero)؛ سه کارت هم‌وزن و یک ردیف پیوند */
.tkx *,.tkx *::before,.tkx *::after{box-sizing:border-box}
.tkx svg{display:block;flex:none}
.tkx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.tkx-ch{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:24px;border-radius:22px;background:var(--c-surface);
  box-shadow:0 0 0 1px var(--c-line);color:var(--c-ink)}
.tkx-ch--chat{box-shadow:0 0 0 1.5px rgba(233,173,0,.6),0 22px 44px -36px rgba(185,133,0,.6)}
.tkx-ch__ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,194,24,.16);color:var(--c-amber-deep)}
.tkx-ch__ic svg{width:22px;height:22px}
.tkx-ch h2{margin:6px 0 0;font-size:18px;font-weight:800;line-height:1.6;color:var(--c-ink)}
.tkx-ch p{margin:0;font-size:14px;line-height:1.95;color:var(--c-soft)}
.tkx-ch .tkx-state{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--c-ink)}
.tkx-state i{flex:none;width:8px;height:8px;border-radius:50%;background:#2fd17a;box-shadow:0 0 0 4px rgba(47,209,122,.18)}
.tkx-state.is-off i{background:var(--c-faint);box-shadow:none}
.tkx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:auto;padding:0 20px;border:0;border-radius:13px;
  background:var(--c-surface-2);box-shadow:0 0 0 1px var(--c-line-strong) inset;color:var(--c-ink);font:inherit;font-size:14px;font-weight:800;text-decoration:none;
  cursor:pointer;transition:background .15s var(--c-ease)}
.tkx-btn--primary{background:#ffc218;box-shadow:none;color:#17181c}
.tkx-btn:focus-visible,.tkx-help a:focus-visible,.tkx-social a:focus-visible{outline:2px solid var(--c-amber-deep);outline-offset:2px}
.tkx-lines{display:grid;gap:10px;width:100%;margin:2px 0 0;padding:0;list-style:none}
.tkx-lines li{display:grid;gap:1px;min-width:0}
.tkx-lines span{font-size:12px;line-height:1.7;color:var(--c-faint)}
.tkx-lines b,.tkx-lines a{justify-self:start;font-size:14.5px;font-weight:800;line-height:1.7;color:var(--c-ink);text-decoration:none;overflow-wrap:anywhere}
.tkx-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:6px}
.tkx-social a{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:999px;background:var(--c-surface-2);color:var(--c-ink);
  font-size:13px;font-weight:700;text-decoration:none}
.tkx-social svg{width:17px;height:17px}
.tkx-help{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:20px;padding:16px 20px;border-radius:18px;background:var(--c-surface);
  box-shadow:0 0 0 1px var(--c-line);font-size:14px;line-height:1.8}
.tkx-help__t{color:var(--c-soft)}
.tkx-help a{font-weight:800;color:var(--c-ink);text-decoration:none;box-shadow:0 1.5px 0 rgba(233,173,0,.6)}
@media (hover:hover){
  .tkx-btn:hover{background:var(--c-surface-3)}
  .tkx-btn--primary:hover{background:#ffcd3f}
  .tkx-social a:hover{box-shadow:0 0 0 1px rgba(233,173,0,.55)}
  .tkx-help a:hover{color:var(--c-amber-deep)}
}
@media (max-width:980px){
  .tkx-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:540px){
  .tkx-ch{padding:20px}
  .tkx-ch .tkx-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.tkx *{transition:none!important}}
