/*
 * CDA search tools (P-CDA-140): shared styles for every tool shortcode.
 * Everything is scoped under .cda-tool so nothing leaks into the post.
 * Buttons, tabs, chips and dropdowns copy the live site's own components
 * (Elementor buttons, breadcrumb chips, archive filter dropdowns).
 * Blackbird @font-face rules are added inline by the module.
 *
 * The root class is doubled (.cda-tool.cda-tool) to outrank the theme's post
 * styles (".story a:not(.button)", "*, ::before { color }", kit label rules).
 */
.cda-tool.cda-tool, .cda-tool.cda-tool * { box-sizing: border-box; }
.cda-tool.cda-tool { color: #fff; font: 16px/1.4 "Blackbird Regular", arial, sans-serif; overflow-wrap: break-word; }
.cda-tool.cda-tool [hidden] { display: none !important; }
.cda-tool.cda-tool * { color: inherit; font-weight: inherit; }
.cda-tool.cda-tool a { color: inherit; text-decoration: none; }
.cda-tool.cda-tool b { font-weight: bold; }
.cda-tool.cda-tool label { margin: 0; font-size: inherit; }
.cda-tool.cda-tool h2.st-title { color: #fff; }
.cda-tool.cda-tool { --ink: #100F1A; --ink-2: #222032; --ink-3: #2A2740; --line: #322F4C; --muted: #868F98; --soft: #CDD2D7; --red: #FF2614; --green: #27AE60; --green-edge: #219653; --line-hover: #5D6486; --ctl: 200px; --body: #323232; --flag: #FFCC00; --font-big: italic 900 1em/1 "Blackbird Condensed", arial, sans-serif; --font-ui: 800 1em/1.2 "Blackbird Narrow", arial, sans-serif; --font-label: bold 12px/1.2 "Blackbird Narrow", arial, sans-serif; }
.cda-tool.cda-tool { margin: 28px 0; padding: 24px; background: var(--ink); color: #fff; border-radius: 14px; }
.cda-tool.cda-tool .st-title { margin: 0 0 4px; text-align: center; font: var(--font-ui); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.cda-tool.cda-tool .st-sub { margin: 0 0 16px; text-align: center; font-size: 12px; color: var(--muted); }
.cda-tool.cda-tool .st-sub b { color: var(--soft); font-weight: normal; }
.cda-tool.cda-tool .st-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0 18px; }
.cda-tool.cda-tool .st-visual { position: relative; width: 100%; max-width: 280px; margin: 0 auto 4px; }
.cda-tool.cda-tool .st-visual svg, .cda-tool.cda-tool .st-visual img { display: block; width: 100%; height: auto; }
.cda-tool.cda-tool .st-big { font: var(--font-big); font-size: 76px; letter-spacing: -.01em; }
.cda-tool.cda-tool .st-duo { display: flex; justify-content: center; gap: 40px; }
.cda-tool.cda-tool .st-stops { margin-top: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; font: 800 14px/1.2 "Blackbird Narrow", arial, sans-serif; text-transform: uppercase; color: var(--soft); }
.cda-tool.cda-tool .st-stops:empty { display: none; }
.cda-tool.cda-tool .st-big small { font-size: .45em; margin: 0 .1em; }
.cda-tool.cda-tool .st-unit { margin-top: 4px; font: var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cda-tool.cda-tool .st-caption { margin: 10px 0 0; font-size: 13px; color: var(--soft); max-width: 300px; }
.cda-tool.cda-tool .st-caption b { color: #fff; }
.cda-tool.cda-tool .st-warn { margin: 10px 0 0; padding: 8px 12px; border-radius: 4px; background: rgba(255,38,20,.14); color: #FFB3AC; font-size: 13px; }
.cda-tool.cda-tool .st-turn { transition: transform .45s cubic-bezier(.3,.7,.3,1); transform-origin: 50% 50%; }
.cda-tool.cda-tool .st-wheel { aspect-ratio: 1; }
.cda-tool.cda-tool .st-wheel svg { position: absolute; inset: 0; height: 100%; }
.cda-tool.cda-tool .st-wheel img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.cda-tool.cda-tool .st-bar { position: relative; display: flex; width: 100%; height: 14px; margin: 16px 0 8px; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.cda-tool.cda-tool .st-bar span { height: 100%; transition: width .25s; }
.cda-tool.cda-tool .st-bar i { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; }
.cda-tool.cda-tool .p1 { --c: var(--red); }
.cda-tool.cda-tool .p2 { --c: #B8261A; }
.cda-tool.cda-tool .p3 { --c: #6E2A24; }
.cda-tool.cda-tool .st-bar .p1, .cda-tool.cda-tool .st-bar .p2, .cda-tool.cda-tool .st-bar .p3 { background: var(--c); }
.cda-tool.cda-tool .st-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.cda-tool.cda-tool .st-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--c); }
.cda-tool.cda-tool .st-legend b { color: #fff; font-weight: normal; }
.cda-tool.cda-tool .st-arrow { display: inline-block; width: .8em; height: .8em; margin: 0 .35em; vertical-align: -.05em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .6; }
.cda-tool.cda-tool .st-link .st-arrow { margin-right: 0; }
.cda-tool.cda-tool .st-pill { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 0 0 16px; }
.cda-tool.cda-tool .st-pill button { min-width: 0; padding: 10px 8px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--soft); font: 800 14px/1.2 "Blackbird Narrow", arial, sans-serif; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.cda-tool.cda-tool .st-pill button, .cda-tool.cda-tool .st-chips button { transition: border-color .3s, color .3s; }
.cda-tool.cda-tool .st-pill button:hover, .cda-tool.cda-tool .st-chips button:hover { border-color: var(--line-hover); color: #fff; }
.cda-tool.cda-tool .st-pill button[aria-pressed="true"] { border-color: var(--red); color: var(--red); }
.cda-tool.cda-tool .st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cda-tool.cda-tool .st-chips button { padding: 6px 10px; border: 1px solid var(--ink-2); border-radius: 4px; background: transparent; color: var(--soft); font: 800 10px/1.4 "Blackbird Regular", arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.cda-tool.cda-tool .st-chips button[aria-pressed="true"] { border-color: var(--red); color: var(--red); }
.cda-tool.cda-tool button:focus-visible, .cda-tool.cda-tool select:focus-visible, .cda-tool.cda-tool input:focus-visible, .cda-tool.cda-tool a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cda-tool.cda-tool .st-group { margin: 0 0 16px; background: var(--ink-2); border-radius: 8px; overflow: hidden; }
.cda-tool.cda-tool .st-group-label { margin: 0 0 6px 14px; font: var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cda-tool.cda-tool .st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.cda-tool.cda-tool .st-row:first-child { border-top: 0; }
.cda-tool.cda-tool .st-row > span:first-child { min-width: 0; color: var(--soft); }
.cda-tool.cda-tool .st-row b { font-weight: normal; color: #fff; white-space: nowrap; }
.cda-tool.cda-tool a.st-row { text-decoration: none; transition: background-color .3s; }
.cda-tool.cda-tool a.st-row:hover { background-color: rgba(255,255,255,.06); }
.cda-tool.cda-tool a.st-row::after { content: "›"; margin-left: -4px; color: var(--muted); font-size: 22px; line-height: 1; }
.cda-tool.cda-tool .st-stepper { display: flex; align-items: center; gap: 8px; width: var(--ctl); flex: 0 0 var(--ctl); }
.cda-tool.cda-tool .st-stepper button { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: #fff; font: 18px/1 arial, sans-serif; cursor: pointer; }
.cda-tool.cda-tool .st-stepper button { transition: border-color .3s; }
.cda-tool.cda-tool .st-stepper button:hover:not(:disabled) { border-color: var(--line-hover); }
.cda-tool.cda-tool .st-stepper button:disabled { opacity: .35; cursor: default; }
.cda-tool.cda-tool .st-stepper output { flex: 1; min-width: 0; text-align: center; font: var(--font-ui); font-size: 17px; white-space: nowrap; }
/* :not([type]) lifts text inputs above the kit's ".elementor-kit-25 input:not([type=button]):not([type=submit])". */
.cda-tool.cda-tool .st-row select, .cda-tool.cda-tool .st-row input:not([type="checkbox"]) { width: var(--ctl); flex: 0 0 var(--ctl); min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background-color: transparent; color: #fff; text-align: right; font: 15px "Blackbird Regular", arial, sans-serif; }
/* custom-base.css sets every select's border with !important, so these must too. */
.cda-tool.cda-tool .st-row select { border: 1px solid var(--line) !important; }
.cda-tool.cda-tool .st-row select:hover, .cda-tool.cda-tool .st-row input:not([type="checkbox"]):hover { border-color: var(--line-hover) !important; }
.cda-tool.cda-tool .st-row select:focus, .cda-tool.cda-tool .st-row input:not([type="checkbox"]):focus { outline: none; border-color: var(--soft) !important; }
.cda-tool.cda-tool .st-row select { appearance: none; -webkit-appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23868F98' stroke-width='1.6'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; text-overflow: ellipsis; }
.cda-tool.cda-tool .st-row select option { color: #000; }
.cda-tool.cda-tool .st-row input { cursor: text; }
.cda-tool.cda-tool .st-row input::placeholder { color: #6E7090; }
.cda-tool.cda-tool .st-switch { position: relative; width: 51px; height: 31px; flex: 0 0 51px; }
.cda-tool.cda-tool .st-switch input { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cda-tool.cda-tool .st-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--ink-3); transition: background .2s; pointer-events: none; }
.cda-tool.cda-tool .st-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cda-tool.cda-tool .st-switch input:checked + span { background: var(--green); }
.cda-tool.cda-tool .st-switch input:checked + span::after { transform: translateX(20px); }
.cda-tool.cda-tool .st-search { width: 100%; margin: 0 0 14px; padding: 11px 14px 11px 38px; border: 1px solid var(--line); border-radius: 4px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239A9CB3' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 13px center; color: #fff; font: 15px "Blackbird Regular", arial, sans-serif; }
.cda-tool.cda-tool .st-search::placeholder { color: #6E7090; }
.cda-tool.cda-tool .st-tier-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 4px; background: var(--ink-3); font: var(--font-big); font-size: 17px; color: #fff; }
.cda-tool.cda-tool .st-tier-mark[data-tier="S"] { background: var(--red); }
.cda-tool.cda-tool .st-tier-mark[data-tier="A"] { background: #B8261A; }
.cda-tool.cda-tool .st-empty { text-align: center; color: var(--muted); font-size: 14px; }
.cda-tool.cda-tool .st-btn { display: block; width: 100%; padding: 12px 24px; border: 1px solid var(--green-edge); border-radius: 4px; background: var(--green); color: #fff; text-align: center; text-decoration: none; font: 800 16px/1.2 "Blackbird Narrow", arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.cda-tool.cda-tool .st-btn { transition: background-color .3s, border-color .3s, color .3s; }
.cda-tool.cda-tool .st-btn:hover, .cda-tool.cda-tool .st-btn:focus-visible { background-color: var(--green-edge); color: #fff; }
.cda-tool.cda-tool .st-btn--ghost:hover, .cda-tool.cda-tool .st-btn--ghost:focus-visible { border-color: var(--red); background-color: var(--red); }
.cda-tool.cda-tool .st-btn--ghost { padding: 10px 24px; border-color: var(--line-hover); border-radius: 6px; background: transparent; font: 600 14px/1.4 "Blackbird Regular", arial, sans-serif; text-transform: none; }
.cda-tool.cda-tool .st-btn + .st-btn, .cda-tool.cda-tool .st-btn + .st-link { margin-top: 10px; }
.cda-tool.cda-tool .st-link { margin-top: 10px; }
.cda-tool.cda-tool .st-link { display: block; text-align: center; color: var(--muted); font-size: 13px; transition: color .3s; }
.cda-tool.cda-tool .st-link:hover { color: #fff; }
/* Setup promo: game logo, headline, intro, three tiles, button. */
.cda-tool.cda-tool .st-logo { display: block; height: 44px; width: auto; max-width: 70%; margin: 0 auto 14px; }
.cda-tool.cda-tool .st-headline { margin: 0 0 10px; padding: 0; text-align: center; font: italic 900 34px/1 "Blackbird Condensed", arial, sans-serif; text-transform: uppercase; color: #fff; }
.cda-tool.cda-tool .st-lede { margin: 0 auto 20px; max-width: 520px; text-align: center; font-size: 15px; line-height: 1.45; color: var(--soft); }
.cda-tool.cda-tool .st-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.cda-tool.cda-tool .st-type { padding: 14px 12px; border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.cda-tool.cda-tool .st-type b { display: block; margin-bottom: 4px; font: 800 14px/1.2 "Blackbird Narrow", arial, sans-serif; text-transform: uppercase; color: #fff; }
.cda-tool.cda-tool .st-type span { font-size: 13px; line-height: 1.4; color: var(--soft); }
.cda-tool.cda-tool .st-trust { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .cda-tool.cda-tool { margin: 20px 0; padding: 20px 16px 16px; }
  .cda-tool.cda-tool .st-big { font-size: 68px; }
  .cda-tool.cda-tool .st-types { grid-template-columns: 1fr; }
  .cda-tool.cda-tool .st-headline { font-size: 28px; }
.cda-tool.cda-tool {--ctl: 156px;}
}
