@layer components {

  .brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
  }

  .logomark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
  }

  .logomark svg { width: 40px; height: 40px; }
  .logomark, .logomark svg { user-select: none; caret-color: transparent; }
  .logomark .wordmark {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .6px;
    line-height: 1;
    color: var(--muted);
  }
  .logomark .wordmark b { color: var(--wd-accent-ink); font-weight: 800; }

  .tools-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 13px;
    border-radius: 12px;
    color: var(--text);
    font-size: 0;
    font-weight: 800;
  }
  .tools-btn svg { width: 17px; height: 17px; flex: none; }
  .tools-btn span { font-size: 12.5px; font-weight: 800; }
  .hdr-actions { display: inline-flex; align-items: center; gap: 6px; }
  .shows-btn, .chan-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding-inline: 12px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--wd-accent) 14%, transparent);
    color: var(--wd-accent-ink);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
  .shows-btn:hover, .chan-btn:hover { background: color-mix(in srgb, var(--wd-accent) 24%, transparent); }
  .msg .chan-inline { min-height: 36px; padding-inline: 9px; font-size: 11.5px; }
  .wd-nochan .chan-btn { display: none; }
  .shows-btn[aria-pressed="true"] { background: color-mix(in srgb, var(--wd-accent) 26%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wd-accent) 55%, transparent); }
  @media (max-width: 480px) {
    .hdr-actions .shows-btn, .hdr-actions .chan-btn { gap: 5px; padding-inline: 9px; font-size: 11.5px; line-height: 1.15; white-space: normal; text-align: start; }
    .hdr-actions .shows-btn > span:last-child, .hdr-actions .chan-btn > span:last-child { inline-size: min-content; }
  }
  .wd-fmap { height: min(46vh, 380px); border-radius: 14px; overflow: hidden; background: var(--row2); }
  .wd-fmap-src { margin-block: 8px 0; font-size: 11.5px; color: var(--muted); }
  .fk-tiles { filter: var(--wd-map-filter, none); }
  .fk-hd { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .fk-hd small { font-size: 12px; font-weight: 600; color: var(--muted); }
  .fk-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-block-end: 10px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: var(--r-ctl); font-size: 13px; color: var(--muted); }
  .fk-city { flex: 1 1 140px; min-width: 0; min-height: 36px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--row); color: var(--text); font: inherit; font-size: 13px; }
  .fk-gps { color: var(--cool); }
  .fk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-block-end: 10px; padding-block-end: 2px; }
  .fk-chip { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; gap: 5px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--row); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
  .fk-chip small { color: var(--muted); font-weight: 800; }
  .fk-chip[aria-pressed="true"] { background: var(--wd-accent); border-color: var(--wd-accent); color: #1a0d05; }
  .fk-chip[aria-pressed="true"] small { color: #4a1f08; }
  .fk-pin { display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--wd-accent); box-shadow: 0 4px 12px rgb(0 0 0 / .45); font-size: 17px; line-height: 1; }
  .fk-me { border-radius: 50%; background: var(--cool); border: 3px solid #fff; box-shadow: 0 0 0 8px rgb(110 168 255 / .25); }
  .fk-popup > div:first-child, .fk-popup > div:nth-child(2) > div { background: var(--panel); color: var(--text); box-shadow: var(--sh-card); }
  .fk-popup > div:first-child { border: 1px solid var(--line); border-radius: 12px; }
  .fk-popup a { color: var(--wd-accent); font-weight: 800; }
  .fk-count { margin-block: 10px 6px; font-size: 13.5px; font-weight: 800; }
  .fk-count small { color: var(--muted); font-weight: 600; }
  .fk-list { display: grid; gap: 8px; }
  .fk-card { display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--row); }
  .fk-card.on { border-color: var(--gold); }
  .fk-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--row2); display: grid; place-items: center; font-size: 22px; }
  .fk-go { display: grid; gap: 3px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
  .fk-go b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fk-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .fk-tag { padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--wd-accent) 14%, transparent); color: var(--wd-accent-ink); font-size: 11.5px; font-weight: 800; }
  .fk-tag.fk-k { background: color-mix(in srgb, var(--cool) 16%, transparent); color: var(--cool); }
  .fk-tag.fk-d { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
  .fk-tag.fk-m { background: color-mix(in srgb, var(--hot) 16%, transparent); color: var(--hot); }
  .fk-meta { font-size: 12.5px; color: var(--muted); }
  .fk-nav { grid-column: 2; display: flex; gap: 6px; }
  .fk-nav a { flex: 1; min-height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--row2); color: var(--text); font-size: 12.5px; font-weight: 800; text-decoration: none; }
  .fk-nav .fk-waze { border-color: transparent; background: #33ccff; color: #052330; }
  .fk-more { min-height: 40px; border: 0; background: none; color: var(--wd-accent); font: inherit; font-weight: 800; cursor: pointer; }
  .fk-none { font-size: 13.5px; color: var(--muted); }
  .fk-none a { color: var(--wd-accent); font-weight: 800; }

  .tiles {

    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;

    scrollbar-width: none;
    gap: 7px;
    margin-block-start: 8px;
  }

  .tile {
    flex: 1 0 auto;
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 71px;
    padding: 8px 7px 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1.15;
  }
  @media (max-width: 480px) {
    .tile { width: 70px; height: 54px; font-size: 12px; }
  }
  .tile svg.wd-ic445 { width: 19px; height: 19px; flex: none; }
  .tile span { font-size: 12px; font-weight: 400; }
  .tile[data-pay] {
    border-color: rgba(39, 208, 134, .55);
    color: var(--money);
  }
  .tile[data-pay] svg.wd-ic445 { opacity: 1; }

  @media (max-width: 700px) {
    .tiles { display: flex; overflow-x: auto; scrollbar-width: none; }
    .tiles::-webkit-scrollbar { display: none; }
  }

  .search-wrap { position: relative; margin-block-start: 8px; }

  .searchbox {
    display: flex;

    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    min-height: 60px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--panel);
  }
  .searchbox input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--text);
  }
  .searchbox input::placeholder { color: var(--muted); }
  .searchbox input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
  .searchbox .search-clear {
    flex: none; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--row); color: var(--text); font-size: 20px; font-weight: 800; line-height: 1;
  }

  .search-go {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--wd-accent);
    color: #2d1200;
    font-size: 13.3333px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22),
                0 2px 8px -2px rgba(226, 82, 28, .45);
    transition: background .15s, box-shadow .15s;
  }
  .search-go svg { width: 19px; height: 19px; stroke-width: 2.3; }

  @media (max-width: 479px) {
    .search-go { padding: 0 10px; }
    .search-go span { display: none; }
  }

  .ac {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    z-index: 70;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--sh-float);
    max-height: 60vh;
    overflow-y: auto;
  }
  .ac[hidden] { display: none; }
  .acrow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    text-align: start;
  }
  .hl { color: var(--wd-accent-ink); font-weight: 800; }

  .rail {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    padding-block: 6px;

    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  [dir="rtl"] .rail {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
  }
  .rail-btn, .rail > * { flex: 0 0 auto; }
  .rail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
  }
  .rail-btn svg { width: 19px; height: 19px; flex: none; }
  #comfyBtn .comfy-lb { display: grid; }
  #comfyBtn .comfy-lb > span { grid-area: 1 / 1; text-align: center; }
  #comfyBtn .comfy-on { visibility: hidden; }
  :root.comfy #comfyBtn .comfy-off { visibility: hidden; }
  :root.comfy #comfyBtn .comfy-on { visibility: visible; }
  :root.comfy #comfyBtn { border-color: var(--wd-accent); color: var(--wd-accent); }
  .rail-btn span { font-size: 15px; font-weight: 800; }

  .rail-btn[data-open="dates"] span,
  .rail-btn[data-open="pax"] span { font-size: 16px; }
  .rail-btn[data-open="dates"] span { min-width: 5.4em; text-align: center; direction: ltr; unicode-bidi: isolate; }
  .rail-btn[data-open="pax"]   span { min-width: 5em;   text-align: center; }
  .price-btn [data-label="price"]  { min-width: 6em;   text-align: center; display: inline-block; }
  .rail-btn[data-open="dates"],
  .rail-btn[data-open="pax"] { gap: 4px; }
  #themeBtn svg { width: 15px; height: 15px; }
  #themeBtn .th-moon, :root[data-theme="dark"] #themeBtn .th-sun { display: none; }
  :root[data-theme="dark"] #themeBtn .th-moon { display: block; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #themeBtn .th-sun { display: none; } :root:not([data-theme="light"]) #themeBtn .th-moon { display: block; } }
  .rail-fly {
    justify-content: center;
    min-width: 136px;
    padding-inline: 15px;
    background: var(--wd-accent);
    border-color: var(--wd-accent);
    color: #fff;
    text-decoration: none;
  }
  .rail-fly span { font-size: 13.5px; }
  [dir="rtl"] .rail-fly svg { transform: scaleX(-1); }

  .price-row {
    display: flex;
    justify-content: flex-start;
    padding-block: 6px;
  }
  .price-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding-inline: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(127, 127, 127, .05);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
  }
  .price-btn .ch { font-size: 10px; opacity: .75; transition: transform .18s; }
  .price-btn[aria-expanded="true"] .ch { transform: rotate(180deg); }
  .dropdown {
    position: absolute;
    z-index: 60;
    min-width: 208px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--sh-float);
  }
  .dd-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    margin-block-end: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--row);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: start;
  }
  .dd-row:last-child { margin-block-end: 0; }

  .dropdown.price-dd {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 150px;
    min-width: 0;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .16);
  }
  .price-dd .dd-row {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    text-align: center;
  }
  .price-dd .dd-row.on { background: var(--card); color: #b6431c; font-weight: 800; }
  .price-dd #top10Chip.on { background: rgba(201, 138, 0, .16); }

  .dropdown.cats-dd {
    width: 166px;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
  }
  .cats-dd .subchip[data-wdn]::after {
    content: attr(data-wdn);
    margin-inline-start: auto;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }

  .cats-dd .subchip {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 124px;
    min-height: 36px;
    margin: 0 auto 8px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(127, 127, 127, .05);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 800;
    text-align: start;
  }
  .cats-dd .subchip .e472 { font-size: 14px; }
  .cats-dd .subchip.on { border-color: var(--wd-accent); color: var(--wd-accent); }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--row);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }
  .chip.on { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; }

  .sheet.cal {
    display: block;
    position: fixed;
    top: calc(190px / var(--fs));
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 80;
    width: 620px;
    max-width: calc((100vw - 24px) / var(--fs));
    height: auto;
    --wd-barh: 0px;
    max-height: calc((100vh - 220px) / var(--fs) - var(--wd-barh));
    overflow-y: auto;
    padding: 12px 12px 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--sh-float);
  }
  @media (max-width: 720px) {
    .sheet.cal { --wd-barh: calc(73px + env(safe-area-inset-bottom)); }
  }
  .cal .c-x {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(12, 18, 30, .46);
    color: #fff;
    font-size: 15px;
  }
  .cal .c-top,
  .cal .c-quick,
  .cal .c-months,
  .cal .c-foot { width: 100%; }
  .cal .c-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline-end: 40px;
  }
  .cal .c-ttl { font-size: 14.5px; font-weight: 900; }
  .cal .c-nav { display: flex; gap: 6px; }
  .cal .c-nav button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(120, 130, 160, .1);
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
  }
  .cal .c-nav button:disabled { opacity: .4; }
  .cal .c-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 8px; }
  .cal .c-q {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(120, 130, 160, .08);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }
  .cal .c-months { display: flex; gap: 14px; }
  .cal .c-m { flex: 1; min-width: 0; }
  .cal .c-mh { font-size: 13px; font-weight: 800; margin-block-end: 4px; }
  .cal .c-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
  .cal .c-w {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }
  .cal .c-d {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
  }
  .cal .c-d.mut { visibility: hidden; }
  .cal .c-d.off { opacity: .35; cursor: default; }
  .cal .c-d.e1, .cal .c-d.e2 { background: var(--wd-accent); color: #fff; }
  .cal .c-d.in { background: rgba(255, 107, 53, .14); color: var(--text); border-radius: 0; }
  .cal .c-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-block-start: 8px;
    padding: 9px 0 10px;
    border-top: 1px solid var(--line);
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--panel);
  }
  .cal .c-n { flex: 1; color: var(--muted); font-size: 12.5px; font-weight: 700; }
  .cal .c-clr { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
  .cal .c-ok {
    padding: 8px 22px;
    border-radius: 11px;
    background: var(--wd-accent);
    color: #2d1200;
    font-size: 13.5px;
    font-weight: 900;
  }
  .cal .c-ok:disabled { opacity: .45; }

  @media (max-width: 700px) {
    .cal .c-months { flex-direction: column; }
  }
  .sheet-in.build {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    max-height: none;
    border-radius: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: 0;
  }
  .build .sheet-top {
    position: sticky; top: 0; z-index: 3;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 12px 16px 10px;
    background: var(--panel);
    font-size: 16.5px; font-weight: 900;
  }
  .build .sheet-top .x {
    flex: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--row); color: var(--text); font-size: 17px; font-weight: 900;
  }
  .build .modes { display: flex; gap: 4px; margin: 0 16px 10px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--row); }
  .build .modes .mode { flex: 1; min-height: 42px; border: 0; border-radius: 10px; background: none; }
  .build .modes .mode.on { background: var(--wd-accent); color: #2d1200; }
  .build .bbody { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px 4px; border-block-start: 1px solid var(--line); }
  .build .bfs { margin: 0 0 16px; padding: 0; border: 0; background: none; }
  .build .bfs > legend { padding: 0; margin: 0 0 6px; font-size: 13px; color: var(--muted); }
  .build .fld { margin: 0; padding: 0; border: 0; background: none; }
  .build .fld input, .build .fld select { min-height: 44px; padding-inline: 12px; border-radius: 12px; background: var(--row); font-size: 16px; }
  .build .pickwin { border-color: var(--wd-accent); background: color-mix(in srgb, var(--wd-accent) 9%, var(--row)); }
  .build .bedit { margin-block: 10px 6px; color: var(--cool); font-size: 13px; font-weight: 800; }
  .build #bOut2 { padding-block-start: 4px; }
  .bfs {
    min-inline-size: 0;
    margin: 0 0 14px; padding: 12px;
    border: 1px solid var(--line); border-radius: 14px;
    background: var(--row);
  }
  .bfs > legend {
    padding: 0 8px; margin-inline-start: 4px;
    font-size: 13.5px; font-weight: 900; color: var(--text);
  }
  .bfs .bcount { color: var(--wd-accent); font-weight: 900; }
  .fld1 { display: grid; grid-template-columns: 1fr; gap: 10px; margin-block: 4px; }
  .fld3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  @media (max-width: 400px) { .fld3 { grid-template-columns: 1fr 1fr; } }
  .bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  @media (max-width: 460px) { .bgrid { grid-template-columns: 1fr; } }
  .bchk {
    display: flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 2px 4px;
    font-size: 14px; font-weight: 700;
  }
  .bchk input { flex: none; width: 20px; height: 20px; accent-color: var(--wd-accent); }
  .build .tactions {
    position: sticky; bottom: 0; z-index: 3;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-block-start: 1px solid var(--line);
    background: var(--panel);
  }
  .build .tactions { box-shadow: 0 -8px 18px rgb(0 0 0 / .18); }
  .build .tactions #bGo { flex: 1; min-height: 50px; border-radius: 14px; font-size: 16px; }
  .build .tactions .chip { min-height: 50px; padding-inline: 16px; border-radius: 14px; }
  .build .quickrow .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .sheet {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: end center;
    background: rgb(0 0 0 / .55);
  }
  .sheet-in {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    background: var(--panel);
  }
  @media (min-width: 700px) {
    .sheet { place-items: center; }
    .sheet-in { border-radius: 16px; }
  }
  .sheet-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block-end: 12px;
    font-size: 16px;
    font-weight: 800;
  }
  .sheet-top .x {
    margin-inline-start: auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(12, 18, 30, .46);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
  }

  .quickrow { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 10px; }

  .trow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-block: 8px;
    font-size: 14px;
    font-weight: 600;
  }
  .trow input {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-ctl);
    background: var(--card);
    color: var(--text);
    font-size: 14px;
  }
  .tstep { display: inline-flex; align-items: center; gap: 12px; }
  .tstep button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--row);
    font-size: 18px;
    font-weight: 700;
  }
  .tstep b { min-width: 22px; text-align: center; font-size: 16px; }
  .tactions { display: flex; gap: 10px; margin-block-start: 14px; }
  .tbtn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    background: var(--wd-accent);
    color: #2d1200;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
  }

  .tools-sheet {
    position: fixed;
    inset-block-start: 54px;
    right: 10px;
    left: auto;
    z-index: 9999;
    width: 298px;
    max-height: min(400px, calc(100dvh - 74px));
    overflow-y: auto;
    padding: 8px;
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  }
  .tools-sheet .t-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px 8px;
    font-weight: 800;
  }
  .tools-sheet .t-head .x {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(12, 18, 30, .46);
    color: #fff;
    font-size: 17px;
  }
  .tools-sheet .t-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 4px 6px;
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    text-align: start;
  }
  .tools-sheet .t-ico {
    position: relative;
    flex: none;
    overflow: hidden;
    font-size: 17px;
    line-height: 1;
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    font-size: 17px;
  }
  .tools-sheet .t-ico svg { width: 18px; height: 18px; }
  .tools-sheet .t-row.accent .t-ico {
    background: var(--wd-accent);
    border-color: var(--wd-accent);
    box-shadow: 0 0 0 1px var(--wd-accent);
  }
  .tools-sheet .t-badge {
    position: absolute;
    inset-block-start: -3px;
    inset-inline-start: -3px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--wd-accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
  }
  .tools-sheet .t-panel { padding: 2px 4px 6px; font-size: 14px; }
  .tools-sheet .t-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block-end: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
  }
  .tools-sheet .t-more {
    display: block;
    margin-block-end: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--row);
  }
  .tools-sheet .t-more b { display: block; font-size: 13.5px; }
  .tools-sheet .t-more small {
    display: block;
    margin-block-start: 3px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.45;
  }.tools-sheet .calc-tg {
    display: block;
    margin-block-end: 6px;
    padding: 10px;
    border-radius: 10px;
    background: #2aabee;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
  }
  .tools-sheet .lq-head { margin-block-start: 10px; font-size: 14px; font-weight: 800; }.tools-sheet .legal-sep {
    margin-block: 12px 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
  }
  .tools-sheet .lsc {
    margin-block-end: 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--row);
    overflow: hidden;
  }
  .tools-sheet .lsc > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }
  .tools-sheet .lsc > summary::-webkit-details-marker { display: none; }
  .tools-sheet .lsc-ic { font-size: 15px; }
  .tools-sheet .lsc-body {
    padding: 0 10px 10px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
  }
  .tools-sheet .lsc-cta {
    display: block;
    margin-block-start: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--wd-accent);
    color: #fff;
    font-weight: 800;
    text-align: center;
  }.tools-sheet .tnote,
  .tnote {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
  }.msg {

    overflow: hidden;
    position: relative;
    display: flex;
    gap: 11px;
    padding: 12px 14px 12px 16px;
    border-radius: var(--r-card);
    border: 1px solid transparent;
    background:
      linear-gradient(var(--row), var(--row)) padding-box,
      linear-gradient(135deg, rgba(255, 107, 53, .65), rgba(58, 123, 213, .45)) border-box;
    box-shadow: var(--sh-card);
  }
  .msg .bar {
    position: absolute;
    inset-block: 1px;
    inset-inline-start: 2px;
    width: 4px;
    background: var(--bar-color, var(--wd-accent));
  }
  .msg .em { font-size: 27px; line-height: 1.1; margin-top: 1px; }
  .msg .main { flex: 1; min-width: 0; }

  .msg .wd-fp92 {
    display: flex;
    gap: 4px;

    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-block-end: 4px;
  }
  .msg .wd-fp92 a, .msg .wd-fp92 > span {
    position: relative;
    flex: 1;
    min-width: 0;
    display: block;
  }
  .msg .wd-fp92 img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .msg .wd-fp92 .cap92 {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 3px 5px;
    background: rgba(10, 14, 24, .62);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .msg .wd-fp92 .g92 {
    position: absolute;
    top: 5px;
    inset-inline-start: 5px;
    padding: 2px 6px;
    border-radius: 7px;
    background: #15803d;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
  }
  .msg .wd-fp92.fp-wait { background: var(--row2); }
  .msg .wd-fpsrc92 {
    min-height: 17px;
    margin-block-end: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
  }

  .msg .ttl {
    margin: 0 0 2px;
    font-size: 18.5px;
    font-weight: 800;
    line-height: 1.4;
  }
  .msg .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 8px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--muted);
  }
  .msg .price { font-size: 20px; font-weight: 900; color: var(--text); }
  .msg .price.live { color: var(--ok); }
  .msg .old { text-decoration: line-through; color: var(--muted); font-size: 13px; }
  .msg .disc { color: var(--ok); font-weight: 800; font-size: 13px; }
  .msg .save { font-size: 12px; font-weight: 800; color: var(--ok); }
  .msg .basis { margin: 1px 0 4px; color: var(--muted); font-size: 14px; }
  .msg .estnote { margin: 1px 0 3px; color: var(--muted); font-size: 14px; line-height: 1.5; }

  .msg .trustrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-block: 6px 4px;
    font-size: 14px;
    color: var(--muted);
  }
  .msg .trustrow > span { flex: 0 0 100%; }

  .msg .go {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 220px;
    height: auto;
    min-height: 48px;
    line-height: 1.25;
    padding: 12px 26px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ef5a23, #ff9f1c);
    color: #2d1200;
    font-size: 18.5px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 5px 16px rgba(255, 107, 53, .4);
  }
  .msg .wd-shb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 120px;
    align-self: stretch;
    min-height: 48px;
    padding-inline: 20px;
    border: 1.5px solid var(--wd-accent);
    border-radius: 13px;
    background: var(--panel);
    color: var(--wd-accent-ink);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.25;
  }
  .msg .verdict { margin-block-start: 6px; }
  .msg .verdict summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #5d6678;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    overflow-wrap: anywhere;
  }
  .msg .verdict summary::-webkit-details-marker { display: none; }
  .msg .verdict summary .vb-close { display: none; }
  .msg .verdict[open] summary .vb-open { display: none; }
  .msg .verdict[open] summary .vb-close { display: inline; }
  .msg .vbody .vhead { display: block; margin-block-end: 4px; }
  .msg .ttl, .msg .basis, .msg .vbody, .msg .meta { overflow-wrap: anywhere; }
  .msg .vbody { padding-block: 8px; font-size: 13px; line-height: 1.6; }
  .msg .vsec b { display: block; margin-block-end: 3px; font-size: 12.5px; }
  .msg .vsec ul { padding-inline-start: 18px; margin-block-end: 8px; }
  .msg .vsec li { margin-block-end: 3px; }
  .msg .vsec.pro b { color: var(--ok); }
  .msg .vsec.con b { color: var(--hot); }
  .msg .vsec.warn b { color: var(--gold); }
  .msg .daily { font-size: 14px; color: var(--muted); line-height: 1.6; }
  .msg .vacts { display: flex; flex-direction: column; gap: 7px; margin-block: 8px; }
  .msg .vbtn {
    display: block;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--row);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }
  .msg .vfb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
  .msg .vfb button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    font-size: 18px;
  }
  .msg .tip {
    margin-block-start: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--row2);
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
  }

  .msg .fav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-block-start: 6px;
    min-height: 44px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .msg .fav-toggle[aria-pressed="true"] { color: var(--gold); }
  .msg .fav-toggle[aria-pressed="true"] svg { fill: var(--gold); }
  .msg .fav-toggle .wd-favlbl { display: grid; }
  .msg .fav-toggle .wd-favlbl > span { grid-area: 1 / 1; text-align: start; }
  .msg .fav-toggle .fav-on { visibility: hidden; }
  .msg .fav-toggle[aria-pressed="true"] .fav-off { visibility: hidden; }
  .msg .fav-toggle[aria-pressed="true"] .fav-on { visibility: visible; }
  .msg .fav-toggle .fav-del, #feed[data-view="fav"] .msg .fav-toggle[aria-pressed="true"] .fav-on { visibility: hidden; }
  #feed[data-view="fav"] .msg .fav-toggle[aria-pressed="true"] .fav-del { visibility: visible; }
  .msg .score { flex: 0 0 auto; min-width: 44px; max-width: 30%; }
  .msg .estbadge {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
  }

  .map-exact {
    display: block;
    width: 100%;
    margin-block-end: 10px;
    padding: 12px;
    border-radius: 12px;
    background: var(--wd-accent);
    color: #2d1200;
    font-weight: 800;
    font-size: 15px;
  }
  #wdLb {
    position: fixed; inset: 0; z-index: 80;
    zoom: calc(1 / var(--fs));
    background: rgba(10, 14, 25, .96);
    overflow: hidden;
    padding: 14px;
  }
  #wdLb .lb-x {
    position: fixed; top: 14px; inset-inline-start: 14px;
    width: 44px; height: 44px; border-radius: 50%;
    background: #eee; color: #222; font-size: 17px; z-index: 2;
  }
  #wdLb .lb-in {
    max-width: 1080px; margin-inline: auto; text-align: center; color: #eaf0fb;
    display: flex; flex-direction: column; height: 100%; min-height: 0;
  }
  #wdLb .lb-act {
    flex: none; margin-top: 4px;
    padding: 4px 10px calc(4px + env(safe-area-inset-bottom));
    border-top: 1px solid #2b3650; text-align: center;
  }
  #wdLb .lb-img { flex: 0 1 auto; width: 100%; height: 42dvh; min-height: 22dvh; object-fit: contain; display: block; background: #0a0e19; }
  #wdLb .lb-name { display: block; font-size: 14px; font-weight: 800; color: #fff; }
  #wdLb .lb-hint { color: #cdd5e4; font-size: 11.5px; margin: 4px 0 0; }
  #wdLb .lb-src { color: #9aa4b8; font-size: 11px; margin: 0 0 4px; }
  #wdLb .lb-more { flex: none; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #cdd5e4; margin: 16px 0 8px; }
  #wdLb .lb-more::before, #wdLb .lb-more::after { content: ""; flex: 1; height: 1px; background: #2b3650; }
  #wdLb .lb-price { color: #7ee2b0; font-weight: 800; font-size: 14px; margin: 2px 0 0; }
  #wdLb .lb-thumbs {
    flex: 1 1 auto; min-height: 158px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    display: flex; gap: 10px; justify-content: flex-start; flex-wrap: nowrap; align-items: center;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding: 2px 2px 6px;
  }
  #wdLb .lb-thumbs > :first-child { margin-inline-start: auto; }
  #wdLb .lb-thumbs > :last-child { margin-inline-end: auto; }
  #wdLb .lb-sentinel {
    flex: 0 0 auto; min-width: 96px; min-height: 44px; align-self: center; margin-top: 0; padding: 0 12px;
    border: 1px dashed #55607a; border-radius: 999px; background: transparent;
    color: #cdd5e4; font-size: 13.5px; font-weight: 700; cursor: pointer;
  }
  #wdLb .lb-sentinel b { color: #fff; }
  #wdLb .lb-cnt { color: #9aa4b8; font-weight: 600; }
  #wdLb .lb-dest { color: #fff; font-weight: 800; }
  #wdLb .lb-dest::before { content: "· "; color: #9aa4b8; font-weight: 600; }
  #wdLb .lb-price small { color: #9aa4b8; font-weight: 600; font-size: 11px; }
  #wdLb .lb-th {
    flex: 0 0 168px; width: 168px; margin: 0; padding: 0; border-radius: 10px; overflow: hidden; scroll-snap-align: center;
    background: #161d2e; border: 2px solid #2b3650; cursor: pointer; text-align: start;
  }
  #wdLb .lb-th img { display: block; width: 100%; height: 112px; object-fit: cover; }
  #wdLb .lb-th figcaption {
    display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: space-between; gap: 6px;
    padding: 7px 10px 8px; font-size: 14px; line-height: 1.3; color: #cdd5e4;
  }
  #wdLb .lb-th figcaption:empty { display: none; }
  #wdLb .lb-th .lb-thg { color: #ffd166; font-weight: 700; }
  #wdLb .lb-th .lb-thp { color: #7ee2b0; font-weight: 800; font-size: 16px; }
  #wdLb .lb-th:has(> img.on) { border-color: #ff6b35; background: #22180f; position: relative; }
  #wdLb .lb-th:has(> img.on)::after {
    content: "✓"; position: absolute; top: 6px; inset-inline-end: 6px;
    width: 22px; height: 22px; border-radius: 50%; background: #ff6b35; color: #fff;
    font-size: 13px; font-weight: 900; line-height: 22px; text-align: center;
  }
  #wdLb .lb-go {
    display: inline-block; margin-top: 2px; min-height: 44px; line-height: 22px;
    background: linear-gradient(135deg, #ff7a45, #ef5a23); color: #fff;
    border-radius: 11px; padding: 8px 16px; font-size: 14px; font-weight: 800;
  }
  #wdLb .lb-dt { color: #9aa4b8; font-weight: 600; }
  #wdLb .lb-dt::before { content: "· "; }
  #wdLb.kd-on .lb-name { font-size: 20px; line-height: 1.3; }
  @media (max-width: 600px) { #wdLb.kd-on .lb-name { font-size: 18px; } }
  #wdLb .kd-stage { position: relative; isolation: isolate; overflow: hidden; flex: 0 1 auto; min-height: 22dvh; display: flex; flex-direction: column; background: #0a0e19; }
  #wdLb .kd-stage .lb-img { position: relative; z-index: 1; background: transparent; }
  #wdLb .kd-amb { position: absolute; inset: -60px; z-index: 0; pointer-events: none; background: var(--kd-bg, none) center / cover no-repeat; filter: blur(46px) saturate(1.45) brightness(.5); opacity: .95; mask-image: radial-gradient(ellipse 62% 88% at 50% 50%, #000 35%, transparent 100%); }
  #wdLb .kd-side { position: absolute; inset-block: 0; z-index: 2; width: var(--kd-w, 0px); display: none; align-items: center; }
  #wdLb.kd-wide .kd-side { display: flex; }
  #wdLb.kd-wide .kd-m { display: none; }
  #wdLb .kd-g { inset-inline-start: 16px; }
  #wdLb .kd-c { inset-inline-end: 16px; }
  #wdLb .kd { --c: #7ee2b0; width: 100%; max-height: calc(100% - 16px); overflow: auto; text-align: start; background: #161d2e; border: 2px solid #2b3650; border-top: 3px solid var(--c); border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
  #wdLb .kd.kd-chk, #wdLb .kd-chip.kd-chk { --c: #ffd166; }
  #wdLb .kd-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; border-bottom: 1px solid #2b3650; background: color-mix(in srgb, var(--c) 7%, #161d2e); }
  #wdLb .kd-h { font-size: 13.5px; font-weight: 800; color: var(--c); }
  #wdLb .kd-over { font-size: 10.5px; font-weight: 700; color: #9aa4b8; }
  #wdLb .kd ul { list-style: none; margin: 0; padding: 11px 13px 13px; display: grid; gap: 11px; }
  #wdLb .kd li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; }
  #wdLb .kd-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; font-style: normal; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); }
  #wdLb .kd b { display: block; font-size: 14px; font-weight: 800; color: #fff; line-height: 1.35; }
  #wdLb .kd small { display: block; font-size: 11.5px; color: #9aa4b8; line-height: 1.4; margin-top: 2px; }
  #wdLb .kd-go { display: inline-flex; align-items: center; min-height: 30px; margin-top: 6px; padding: 0 11px; border: 1px dashed #55607a; border-radius: 999px; background: transparent; color: #cdd5e4; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
  #wdLb .kd-m { flex: none; text-align: start; margin: 8px 0 0; background: #161d2e; border: 2px solid #2b3650; border-radius: 12px; padding: 8px 10px 9px; }
  #wdLb .kd-m:empty { display: none; }
  #wdLb .kd-m .kd-over { display: block; margin-bottom: 5px; }
  #wdLb .kd-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  #wdLb .kd-row + .kd-row { margin-top: 6px; }
  #wdLb .kd-chip { --c: #7ee2b0; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700; color: #eaf0fb; white-space: nowrap; background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); }
  #wdLb button.kd-chip { cursor: pointer; }
  #wdLb .kd-chip i { font-style: normal; font-weight: 900; color: var(--c); }

  #wdSpot{position:relative;border:1.5px solid #a06bff;border-radius:18px;background:var(--panel);padding:12px;margin:0 0 12px;box-shadow:0 6px 20px rgba(0,0,0,.07)}
  #wdSpot .sp-x{position:absolute;top:8px;inset-inline-end:10px;z-index:2;background:rgba(0,0,0,.45);color:#fff;border:none;border-radius:50%;width:26px;height:26px;font-size:13px;font-weight:800;cursor:pointer;line-height:1}
  #wdSpot .sp-th{display:block;width:100%;padding:0;border:none;background:#000;border-radius:12px;overflow:hidden;cursor:pointer;position:relative;aspect-ratio:16/9}
  #wdSpot .sp-th img{width:100%;height:100%;object-fit:cover;display:block}
  #wdSpot .sp-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
  #wdSpot .sp-play span{width:54px;height:54px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;padding-inline-start:4px}
  #wdSpot iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;display:block;background:#000}
  #wdSpot .sp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:9px}
  #wdSpot .sp-t{flex:1 1 100%;font-size:14px;font-weight:800}
  #wdSpot .sp-t small{display:block;font-size:11.5px;color:var(--muted);font-weight:600}
  #wdSpot .sp-tk{background:linear-gradient(135deg,#a06bff,#7b4bd8);color:#fff;border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:800;text-decoration:none}
  #wdSpot .sp-yt { font-size: 12px; color: var(--muted); font-weight: 700; }

  #wdFlyCard {
    margin: 10px 12px;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  #wdFlyCard .fly-t { font-weight: 800; font-size: 15px; margin: 0; }
  #wdFlyCard .fly-s { color: var(--muted); font-size: 12px; margin: 0 0 2px; }
  #wdFlyCard .wdfly-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
  #wdFlyCard input {
    flex: 1 1 150px; min-width: 130px;
    background: var(--row); border: 1.5px solid var(--line); border-radius: 10px;
    color: var(--text); font: inherit; font-size: 14px; font-weight: 700; padding: 10px 12px;
  }
  #wdFlyCard input::placeholder { color: var(--muted); font-weight: 600; }
  #wdFlyCard input:focus { outline: none; border-color: var(--wd-accent); }
  #wdFlyCard input[type="date"] { font-size: 13px; }
  #wdFlyCard .wdfly-swap {
    flex: 0 0 auto; width: 40px; height: 40px;
    background: var(--row); border: 1.5px solid var(--line); border-radius: 10px;
    color: var(--text); font-size: 16px; padding: 0;
  }
  #wdFlyCard .wdfly-ow { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; flex: 0 0 auto; }
  #wdFlyCard .wdfly-ow input { flex: 0 0 auto; width: 16px; height: 16px; min-width: 0; margin: 0; accent-color: var(--wd-accent); padding: 0; }
  #wdFlyCard .wdfly-go {
    display: block; text-align: center;
    background: linear-gradient(135deg, #ff7a45, #ef5a23); color: #fff;
    border-radius: 10px; padding: 10px 15px; font-size: 13.5px; font-weight: 900;
  }
  #wdFlyCard .wdfly-note { font-size: 11.5px; color: var(--muted); font-weight: 600; margin: 0; }
  #wdFlyCard .wdfly-hint { display: none; font-size: 12px; font-weight: 800; color: #d33; margin: 0; }
  #wdFlyCard .wdfly-hint.on { display: block; }

  #wdLocalCard {
    margin: 10px 12px;
    padding: 12px 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    position: relative;
  }
  #wdLocalCard .lh { font-weight: 800; font-size: 14px; margin: 0 0 3px; }
  #wdLocalCard .ls { color: var(--muted); font-size: 12px; margin: 0 0 9px; }
  #wdLocalCard .lrow { display: flex; gap: 8px; flex-wrap: wrap; }
  #wdLocalCard .lbtn {
    flex: 1; min-width: 130px; min-height: 48px;
    border: 1.5px solid var(--line); background: transparent;
    border-radius: 10px; color: inherit;
    font-size: 13px; font-weight: 700; padding: 9px 8px;
  }
  #wdLocalCard .lbtn small { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted); }
  #wdLocalCard .lx {
    position: absolute; top: 8px; inset-inline-end: 10px;
    color: var(--muted); font-size: 16px; padding: 4px 6px;
  }

  #backTop, #nextDeal {
    position: fixed;
    bottom: calc(70px + env(safe-area-inset-bottom));
    inset-inline-end: 14px;
    z-index: 35;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(135deg, #3a7bd5, #2a5db0);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(58, 123, 213, .45);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  #backTop.show, #nextDeal.show { display: flex; }
  #backTop svg, #nextDeal svg { display: block; }
  #nextDeal { inset-inline-start: 14px; inset-inline-end: auto; }
  @media (max-width: 720px) {
    #backTop, #nextDeal { bottom: calc(85px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
    #nextDeal { bottom: calc(143px + env(safe-area-inset-bottom)); }
  }
  @media (min-width: 1360px) {
    #backTop { inset-inline-end: max(184px, calc(25% - 117px)); bottom: 40px; width: 60px; height: 60px; }
    #nextDeal { inset-inline-start: max(184px, calc(25% - 117px)); bottom: 40px; width: 60px; height: 60px; }
  }

  #wdbar { display: none; }
  @media (max-width: 720px) {
    #wdbar {
      display: flex;
      position: fixed;
      inset-inline: 0;
      bottom: 0;
      z-index: 45;
      gap: 6px;
      padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
      background: var(--panel);
      border-top: 1px solid var(--line);
    }
    #wdbar button {
      flex: 1;
      min-height: 56px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: transparent;
      color: inherit;
      font-weight: 800;
      font-size: 16.5px;
    }
    #wdbar button.acc { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; }
    #tabbar { display: none; }
  }

  .lcmp {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(0, 0, 0, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
  }
  .lc-box {
    position: relative;
    width: min(560px, 100%);
    max-height: 92dvh; overflow-y: auto;
    background: var(--panel);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
  }
  .lc-x {
    position: absolute; inset-inline-start: 12px; inset-block-start: 12px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--row); color: var(--text);
    font-size: 16px; line-height: 1;
  }
  .lc-title {
    text-align: center; font-size: 18px; font-weight: 800;
    margin-block: 4px 14px; color: var(--text);
  }
  .lc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .lc-sup {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    min-height: 64px; padding: 10px 14px;
    border-radius: 14px;
    background: #17203a; color: #fff;
    border: 1.5px solid #17203a;
  }
  .lc-sup i {
    flex: none; width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-style: normal; font-weight: 900; font-size: 12px;
    background: #fff; color: #17203a;
  }
  .lc-sup b { font-size: 15px; font-weight: 800; line-height: 1.2; }
  .lc-sup b small { display: block; font-size: 11.5px; font-weight: 600; opacity: .85; }
  .lc-sup.bk { background: linear-gradient(135deg, #0a53c2, #003b95); border-color: #0a53c2; }
  .lc-sup.bk i { color: #003b95; }
  .lc-sup.ag { border-color: #ffb300; } .lc-sup.ag i { background: #ffb300; color: #3a2600; }
  .lc-sup.ex { border-color: #16a34a; } .lc-sup.ex i { background: #16a34a; color: #fff; }
  .lc-sup.hc { border-color: #d63384; } .lc-sup.hc i { background: #d63384; color: #fff; }
  .lc-sup.vr { border-color: #3b82f6; } .lc-sup.vr i { background: #cfe3ff; color: #17203a; }
  .lc-sup.tc { border-color: #287dfa; } .lc-sup.tc i { background: #287dfa; color: #fff; }
  .lc-done {
    position: absolute; inset-inline-end: 10px; inset-block-start: 8px;
    font-size: 13px; font-weight: 900; color: #6ee7a0;
    opacity: 0;
  }
  .lc-sup.done .lc-done { opacity: 1; }
  .lc-sup.done { filter: saturate(.7) brightness(.92); }

  .lc-guide, .lc-best, .lc-all {
    display: block; width: 100%; text-align: center;
    border-radius: 14px; margin-block-start: 10px;
    padding: 11px 14px;
  }
  .lc-guide b, .lc-best b, .lc-all b { display: block; font-size: 15px; font-weight: 800; }
  .lc-guide small, .lc-best small, .lc-all small {
    display: block; min-height: 17px;
    font-size: 11.5px; font-weight: 600; line-height: 1.45;
  }
  .lc-guide {
    background: #0d2b18; color: #eafff2;
    border: 1.5px solid #2e7d4f;
  }
  .lc-best {
    background: linear-gradient(135deg, #ffb300, #ff8f00);
    color: #3a2600;
  }
  .lc-all {
    background: var(--row); color: var(--text);
    border: 1.5px solid var(--line);
  }
  @media (max-width: 480px) { .lc-grid { grid-template-columns: 1fr; } }

  .supmodal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .55);
  }
  .supm-box {
    position: relative;
    width: 460px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--sh-float);
  }
  .supm-x {
    position: absolute;
    inset-block-start: 13px;
    inset-inline-end: 11px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(12, 18, 30, .46);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
  }
  .supm-title { padding-inline-end: 34px; font-size: 17px; font-weight: 900; }
  .supm-sub { margin-block-start: 4px; color: var(--muted); font-size: 13px; }
  .supm-hint { margin-block: 10px 8px; font-size: 13px; font-weight: 800; }
  .catcard-suppliers { display: flex; flex-wrap: wrap; gap: 8px; }
  .catcard-supbtn {
    flex: 1 1 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 11px 8px;
    border-radius: 10px;
    background: var(--sc, var(--wd-accent));
    color: #fff;
    text-align: center;
  }
  .catcard-supbtn span { font-size: 14px; font-weight: 800; }
  .catcard-supbtn small { font-size: 10.5px; font-weight: 600; }
  .catcard-supbtn .sup-note { font-size: 9px; font-weight: 500; opacity: .95; }
  .supm-best {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-block-start: 10px;
    padding: 13px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ef5a23, #ff9f1c);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
  }
  .catcard-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-block-start: 10px;
    padding: 9px 14px;
    border-radius: 11px;
    background: var(--row);
    color: var(--text);
    font-size: 12.8px;
    font-weight: 800;
  }
  .sup {
    display: block;
    margin-block-end: 8px;
    padding: 12px;
    border-inline-start: 4px solid var(--sc, var(--wd-accent));
    border-radius: 10px;
    background: var(--row);
  }
  .sup b { display: block; font-size: 14.5px; }
  .sup small { color: var(--muted); font-size: 12px; }
  .feed {

    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    min-height: 620px;
  }

  @media (min-width: 1360px) {
    .feed { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feed > p { grid-column: 1 / -1; }
  }

  .feed-note {
    padding: 12px;
    text-align: center;
    font-size: 13px;
  }
  .res {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block-end: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
  }
  .res > img,
  .res > .res-pic,
  .res .res-noimg {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .res > .res-pic {
    overflow: hidden; display: block;
    padding: 0; border: 0; background: none;
    cursor: zoom-in; -webkit-appearance: none; appearance: none;
  }
  .res > .res-pic:focus-visible { outline: 2px solid var(--wd-accent); outline-offset: 2px; }
  .lsc-top:focus-visible { outline-offset: -3px; border-radius: 12px; }
  .res > .res-pic > img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 9px; display: block;
  }
  .res-main { flex: 1; min-width: 0; }
  .res-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
  }
  .res-top b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  @media (max-width: 560px) {
    .res-top { align-items: flex-start; flex-wrap: wrap; }
    .res-top > b { flex: 1 1 100%; }
    .res { flex-wrap: wrap; row-gap: 8px; }
    .res-main { flex: 1 1 calc(100% - 62px); }
    .res-price { flex: 1 1 auto; }
    .res-top > b {
      white-space: normal;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
  .res-x {
    flex: none;
    min-width: 44px;
    padding-inline: 10px;
    height: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: var(--text);
    font-size: 19px;
    font-weight: 900;
  }
  .res-x:hover { border-color: var(--wd-accent); color: var(--wd-accent); }
  .wd-about-hd { display: flex; justify-content: flex-end; margin-block-end: 8px; }

  .results {
    position: fixed; inset: 0; z-index: 75;
    background: var(--bg);
    overflow-y: auto;
    padding: 12px 16px 48px;
  }
  .results .res-head {
    display: flex; align-items: center; gap: 10px;
    position: sticky; top: 0; z-index: 1;
    background: var(--bg);
    padding-block: 10px 8px;
  }
  .res-head { font-size: 15px; font-weight: 800; }
  .res-count { color: var(--muted); font-size: 12.5px; font-weight: 600; }
  .res-main { display: flex; flex-direction: column; gap: 12px; }
  .res-main article.msg { font-size: 1.04em; }
  .res-grp { margin-block: 8px; }
  .res-grp-t { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-block-end: 6px; }
  .res-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 10px 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--row);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }
  .res-chip small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding-inline: 6px;
    border-radius: 999px;
    background: rgba(128, 128, 128, .22);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
  }
  .res-chip.on {
    border-color: var(--wd-accent);
    background: var(--wd-accent);
    color: #2d1200;
  }
  .res-chip.on small { background: rgba(0, 0, 0, .22); color: #2d1200; }
  .res-sub { font-size: 12.5px; color: var(--muted); }
  .res-sum { font-size: 13.5px; padding-block: 6px; border-top: 1px solid var(--line); }
  .res-best { color: var(--ok); font-weight: 800; }
  .res-bv {
    flex: none;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(201, 138, 0, .16);
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
  }
  .res-sups {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block-start: 4px;
  }
  .res-sup {
    padding: 1px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }
  .res-sup.on { border-color: var(--ok); color: var(--ok); }
  .wdbk-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-block-end: 12px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
  }
  .wdbk-bar span {
    flex: 1;
    min-width: 150px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
  }
  .wdbk-bar button {
    min-height: 44px;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--wd-accent);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
  }
  #wdBackup {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .55);
  }
  .wdbk-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--sh-float);
  }
  .wdbk-x {
    position: absolute;
    inset-inline-end: 14px;
    top: 12px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
  }
  .wdbk-h { margin: 0 0 8px; color: var(--text); font-size: 17px; font-weight: 800; }
  .wdbk-s { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
  .wdbk-l { display: block; margin: 0 0 6px; color: var(--text); font-size: 12.5px; font-weight: 800; }
  .wdbk-t {
    width: 100%;
    min-height: 70px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--row);
    color: var(--text);
    font-family: monospace;
    font-size: 12px;
    direction: ltr;
    text-align: left;
    resize: vertical;
  }
  .wdbk-b {
    width: 100%;
    min-height: 44px;
    margin-block-start: 9px;
    padding: 11px;
    border: 0;
    border-radius: 10px;
    background: var(--wd-accent);
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
  }
  .wdbk-hr { margin: 16px 0; border: 0; border-top: 1px solid var(--line); }
  .wdbk-note { min-height: 16px; margin: 9px 0 0; font-size: 12.5px; font-weight: 700; }
  .wdbk-note.ok { color: var(--ok); }
  .wdbk-note.bad { color: var(--hot); }
  .res-warn { color: var(--gold); font-size: 12.5px; }
  .res-note { color: var(--muted); font-size: 12px; }
  .res-opts { display: flex; flex-wrap: wrap; gap: 6px; }
  .res-go {
    flex: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 14px;
    border-radius: 10px;
    background: var(--wd-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
  .res-price { flex: none; text-align: start; }
  .res-price b { display: block; color: var(--ok); font-size: 15px; }
  .res-price small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
  .rgo { font-weight: 800; color: var(--cool); }
  .rx { color: var(--muted); }
  .ls-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--card);
  }
  .ls-head { display: flex; align-items: center; gap: 10px; margin-block-end: 8px; }
  .ls-icon { font-size: 24px; }
  .ls-head b { font-size: 15.5px; }
  .ls-head small { display: block; color: var(--muted); font-size: 12px; }
  .ls-lead { font-size: 13.5px; line-height: 1.6; margin-block-end: 8px; }
  .ls-cats { display: flex; gap: 6px; margin-block-end: 8px; }
  .ls-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-ctl);
    background: var(--panel);
    color: var(--text);
    font-size: 14px;
  }
  .ls-hint { color: var(--muted); font-size: 11.5px; margin-block: 4px 8px; }
  .ls-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 7px; }
  .ls-site {
    display: block;
    padding: 13px 12px;
    border-radius: 10px;
    background: var(--brand, var(--wd-accent));
    color: #fff;
    text-align: center;
    text-decoration: none;
  }
  .ls-site b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; }
  .ls-site small { display: block; color: rgba(255, 255, 255, .92); font-size: 12px; margin-block-start: 2px; }
  .ls-guide {
    display: block; width: 100%; text-align: center; border-radius: 14px; margin-block-start: 10px;
    padding: 11px 14px; background: #0d2b18; color: #eafff2; border: 1.5px solid #2e7d4f;
  }
  .ls-guide b { display: block; font-size: 15px; font-weight: 800; }
  .ls-guide small { display: block; min-height: 17px; font-size: 11.5px; font-weight: 600; line-height: 1.45; }
  .ls-guide small b { display: inline; font-size: inherit; }
  .lc-guide small b { display: inline; font-size: inherit; }
  .ls-site { position: relative; }
  .ls-done { position: absolute; inset-inline-end: 8px; inset-block-start: 6px; font-size: 13px; font-weight: 900; color: #fff; opacity: 0; }
  .ls-site.done .ls-done { opacity: 1; }
  .ls-site.done { filter: saturate(.7) brightness(.92); }
  .ls-note { margin-block-start: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
  .ls-res:empty { display: none; } .ls-res { margin-block: 2px 10px; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--row); } .ls-res-t b { display: block; font-size: 14px; font-weight: 800; } .ls-res-t small { display: block; color: var(--muted); font-size: 12px; }
  .ls-ev { margin-block-start: 7px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); } .ls-when { display: block; font-size: 14px; font-weight: 800; } .ls-where { display: block; color: var(--muted); font-size: 12.5px; } .ls-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 7px; }
  .ls-act { padding: 7px 9px; border-radius: 9px; color: #fff; font-size: 12.5px; font-weight: 800; text-decoration: none; } .ls-tix { background: #026cdf; } .ls-fly { background: var(--cool); } .ls-bed { background: var(--ok); }
  .ls-honest { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 13px; line-height: 1.55; } .ls-honest > b { font-size: 14px; } .ls-honest p { margin-block: 4px 0; } .ls-abroad { color: var(--muted); font-size: 12px; }
  .ls-ask { display: flex; gap: 6px; margin-block-start: 8px; } .ls-ask button { flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; } .ls-ask .ls-yes { background: #0d2b18; color: #eafff2; border-color: #2e7d4f; } .ls-wait { margin: 0; color: var(--muted); font-size: 12.5px; }
  .ls-site.ls-manual { background: var(--row); color: var(--text); border: 1px dashed var(--line); } .ls-site.ls-manual small { color: var(--muted); }
  .ls-gg:empty { display: none; } .ls-g { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-block: 0 10px; border: 1px dashed var(--line); border-radius: 12px; background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 800; text-decoration: none; }
  .ls-web:empty { display: none; } .ls-web { margin-block: 0 10px; } .ls-web-t { display: block; font-size: 14px; margin-block-end: 4px; } .ls-wr { display: block; padding: 8px 10px; margin-block-start: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); text-decoration: none; } .ls-wr b { display: block; font-size: 13.5px; color: var(--cool); } .ls-wr small { display: block; color: var(--muted); font-size: 11.5px; } .ls-wr span { display: block; font-size: 12.5px; line-height: 1.5; }
  .tixcard {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--card);
  }
  .tixtop { display: flex; align-items: center; gap: 8px; font-weight: 800; }
  .tixx { margin-inline-start: auto; color: var(--muted); }
  .tixrow { display: flex; align-items: center; gap: 8px; padding-block: 6px; border-top: 1px solid var(--line); }
  .tixname { flex: 1; font-size: 13.5px; font-weight: 700; }
  .tixmeta { color: var(--muted); font-size: 12px; }
  .tixprice { font-weight: 900; }
  .tixnote { color: var(--muted); font-size: 11.5px; margin-block-start: 6px; }
  .pickwin {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--row);
  }
  .fld {
    width: 100%;
    padding: 7px 9px;
    margin-block: 3px;
    border: 1px solid var(--line);
    border-radius: var(--r-ctl);
    background: var(--card);
    color: var(--text);
    font-size: 13.5px;
  }

  .fld2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-block: 4px;
  }
  .fld2 .fld { margin-block: 0; }

  .fld span {
    display: block;
    margin-block-end: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }
  .fld input,
  .fld select {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: var(--r-ctl);
    background: var(--panel);
    color: var(--text);
    font: inherit;
    font-size: 14px;
  }
  .fld input:focus,
  .fld select:focus { outline: none; border-color: var(--wd-accent); }
  .fld input::placeholder { color: var(--muted); }

  .bac { position: relative; }
  .bac-list {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 30;
    max-height: 240px;
    overflow-y: auto;
    margin-block-start: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  }
  .bac-r {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    text-align: start;
    cursor: pointer;
  }
  .bac-r + .bac-r { border-block-start: 1px solid var(--line); }
  .catw-smart {
    display: block;
    width: 100%;
    margin-block-start: 8px;
    padding: 10px;
    border: 1px solid var(--wd-accent);
    border-radius: var(--r-ctl);
    background: var(--panel);
    color: var(--wd-accent);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }
  .lp-box {
    margin-block: 8px 4px;
    padding: 10px 12px;
    border: 1px solid var(--ok);
    border-radius: var(--r-ctl);
    background: color-mix(in srgb, var(--ok) 8%, transparent);
  }
  .lp-h { font-size: 14px; font-weight: 800; color: var(--ok); }
  .lp-p { font-size: 17px; font-weight: 900; margin-block-start: 2px; }
  .lp-p small { font-size: 12px; font-weight: 600; color: var(--muted); }
  .lp-w { margin-block-start: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
  .lp-wait { border-style: dashed; }
  .bac-none { padding: 12px; color: var(--muted); font-size: 13.5px; text-align: start; }
  .bac-n { color: var(--muted); font-size: 12px; }
  .bac-r:hover,
  .bac-r:focus-visible { background: var(--row); }
  .fm { font-size: 13px; font-weight: 700; }
  .fn { color: var(--muted); font-size: 11.5px; }
  svg.wd-ic-tool { width: 1em; height: 1em; vertical-align: -0.15em; flex: none; }
  .wdm { position: fixed; inset-inline-start: 12px; bottom: 12px; z-index: 55; display: flex; align-items: flex-end; gap: 10px; max-width: min(92vw, 400px); }
  @media (max-width: 720px) { .wdm { bottom: calc(12px + 73px + env(safe-area-inset-bottom)); } }
  .wdm-bubble { position: relative; background: #fff; color: #17203a; border-radius: 16px; padding: 12px 14px; padding-inline-start: 40px; box-shadow: 0 10px 30px rgba(0,0,0,.45); font-size: 14px; line-height: 1.45; animation: wdm-pop .45s cubic-bezier(.2,.9,.3,1.3) both; }
  .wdm-bubble::after { content: ""; position: absolute; inset-inline-start: -8px; bottom: 22px; border: 8px solid transparent; border-inline-end-color: #fff; }
  .wdm-bubble > b { display: block; font-size: 15px; margin-bottom: 2px; }
  .wdm-body { display: block; }
  .wdm-deal { display: inline; }
  .wdm-bubble small { display: block; color: #5b6579; font-size: 12px; margin-top: 4px; }
  .wdm-cta { display: inline-block; margin-top: 8px; padding: 0 14px; min-height: 44px; line-height: 44px; border: 0; border-radius: 11px; background: var(--wd-accent); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
  .wdm-x { position: absolute; inset-inline-start: 2px; top: 2px; width: 34px; height: 34px; border: 0; background: transparent; color: #5b6579; font-size: 18px; cursor: pointer; border-radius: 50%; }
  .wdm-x:hover { background: #eef1f6; }
  .wdm-ch { width: 84px; height: 96px; position: relative; flex: none; animation: wdm-bounce 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
  .wdm-ch .body { position: absolute; inset: 16px 6px 0; background: linear-gradient(160deg, #ff8a4c, #ef5a23); border-radius: 14px; border: 3px solid #b8401a; }
  .wdm-ch .handle { position: absolute; top: 4px; left: 26px; width: 32px; height: 18px; border: 4px solid #b8401a; border-bottom: 0; border-radius: 10px 10px 0 0; }
  .wdm-ch .eye { position: absolute; top: 34px; width: 13px; height: 15px; background: #fff; border-radius: 50%; }
  .wdm-ch .eye::after { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 6px; background: #17203a; border-radius: 50%; animation: wdm-blink 4s infinite; }
  .wdm-ch .eye.l { left: 22px; } .wdm-ch .eye.r { left: 47px; }
  .wdm-ch .mouth { position: absolute; top: 58px; left: 30px; width: 24px; height: 11px; border: 3px solid #17203a; border-top: 0; border-radius: 0 0 14px 14px; }
  .wdm-ch .arm { position: absolute; top: 44px; right: -10px; width: 22px; height: 6px; background: #b8401a; border-radius: 4px; transform-origin: 0 50%; animation: wdm-wave .9s ease-in-out infinite alternate; }
  .wdm-ch .wheel { position: absolute; bottom: -2px; width: 12px; height: 12px; background: #17203a; border-radius: 50%; }
  .wdm-ch .wheel.l { left: 14px; } .wdm-ch .wheel.r { right: 14px; }
  @keyframes wdm-pop { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes wdm-bounce { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-8px) scaleY(1.04); } }
  @keyframes wdm-wave { from { transform: rotate(-30deg); } to { transform: rotate(25deg); } }
  @keyframes wdm-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
  @media (prefers-reduced-motion: reduce) { .wdm-ch, .wdm-ch .arm, .wdm-ch .eye::after, .wdm-bubble { animation: none; } }
  .wdm-ask { display: inline-block; margin-top: 8px; margin-inline-start: 8px; padding: 0 12px; min-height: 44px; line-height: 44px; border: 1.5px solid var(--wd-accent); border-radius: 11px; background: #fff; color: #b8401a; font-weight: 800; font-size: 14px; cursor: pointer; }
  .wdm-tab { position: fixed; inset-inline-start: 12px; bottom: 12px; z-index: 55; width: 48px; height: 48px; padding: 0; border: 2px solid var(--wd-accent); border-radius: 50%; background: var(--card); box-shadow: 0 6px 20px rgba(0,0,0,.35); cursor: pointer; overflow: hidden; }
  @media (max-width: 720px) { .wdm-tab { bottom: calc(12px + 73px + env(safe-area-inset-bottom)); } }
  .wdm-tab .wdm-ch { zoom: .45; margin: 6px auto 0; animation: none; }
  .wdm-panel { position: fixed; inset-inline-start: 12px; bottom: 12px; z-index: 55; width: min(92vw, 420px); max-height: min(80vh, 640px); display: flex; flex-direction: column; background: color-mix(in srgb, var(--wd-accent) 7%, var(--card)); color: var(--text); border: 2px solid var(--wd-accent); border-radius: 16px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--wd-accent) 22%, transparent), 0 18px 50px rgba(0,0,0,.55); overflow: hidden; }
  @media (max-width: 720px) { .wdm-panel { inset-inline: 8px; width: auto; bottom: calc(8px + 73px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 73px - 24px - env(safe-area-inset-bottom)); } }
  .wdm-ph { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; padding-inline-end: 56px; border-bottom: 1px solid var(--wd-accent); background: color-mix(in srgb, var(--wd-accent) 16%, var(--card)); }
  .wdm-ph .wdm-ch { zoom: .5; animation: none; }
  .wdm-pt b { display: block; font-size: 15px; }
  .wdm-pt small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin: 0; }
  .wdm-px { inset-inline-start: auto; inset-inline-end: 6px; top: 8px; width: 44px; height: 44px; color: var(--muted); }
  .wdm-pb { padding: 12px; overflow-y: auto; font-size: 14px; line-height: 1.5; }
  .wdm-pb p { margin: 0 0 8px; }
  .wdm-q { margin: 0 0 8px; font-weight: 800; }
  .wdm-opt { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; min-height: 48px; border: 1px solid var(--line); border-radius: 11px; background: var(--row); color: var(--text); font-weight: 700; font-size: 14px; text-align: start; cursor: pointer; }
  .wdm-opt:hover { border-color: var(--wd-accent); }
  .wdm-back { border: 0; background: transparent; color: var(--wd-accent-ink); font-weight: 800; padding: 6px 0; min-height: 44px; cursor: pointer; }
  .wdm-who { font-weight: 800; }
  .wdm-link { display: block; text-decoration: none; text-align: center; }
  .wdm-list { margin: 0; padding-inline-start: 18px; }
  .wdm-list li { margin-bottom: 6px; }
  .wdm-flags { list-style: none; margin: 10px 0 0; padding-inline-start: 0; }
  .wdm-flags li { margin-bottom: 6px; }
  .wdm-flags li.warn { color: var(--wd-accent-ink); font-weight: 700; }
  .wdm-flags li.ok { color: var(--ok); }
  .wdm-flags li.info { color: var(--muted); }
  .wdm-ta { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--row); color: var(--text); font: inherit; resize: vertical; }
  .wdm-fb { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
  .wdm-fb button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--row); font-size: 18px; cursor: pointer; }
  .wdm-pc { margin: 4px 0 10px; padding-inline-start: 18px; }
  .wdm-pc li { margin-bottom: 4px; }
  .wdm-pc.pro li::marker { color: var(--ok); }
  .wdm-pc.con li::marker { color: var(--wd-accent-ink); }
  .wdm-alt { display: block; width: 100%; margin-top: 6px; padding: 8px 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); text-align: start; font-size: 13px; cursor: pointer; }
  .wdm-alt:hover { border-color: var(--wd-accent); }
  .wdm-panel small { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
  .wdm-panel .wdm-cta { margin-top: 10px; }
  @media (prefers-reduced-motion: reduce) { .wdm-tab .wdm-ch, .wdm-ph .wdm-ch { animation: none; } }
  .wdm-card-ask { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 6px; border: 0; background: transparent; color: var(--wd-accent-ink); font-weight: 800; font-size: 13px; cursor: pointer; }
  .wdm-card-ask:hover { text-decoration: underline; }
  .wdm-live { margin: 4px 0 8px; }
  .wdm-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-size: 13px; }
  .wdm-h:hover { border-color: var(--wd-accent); }
  .wdm-h b { color: var(--ok); white-space: nowrap; }
  .wdm-h .wdm-hn { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wdm-h .wdm-hg { color: var(--muted); font-size: 12px; white-space: nowrap; }
  .msg[data-id] { cursor: pointer; }
  .wdm-dest, .wdm-basis { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
  .wdm-price { margin: 0 0 6px; font-size: 18px; }
  .wdm-price s { color: var(--muted); font-size: 14px; margin-inline-start: 6px; }
  .wdm-disc { color: var(--ok); font-weight: 800; font-size: 14px; margin-inline-start: 6px; }
  .wdm-det { margin: 6px 0 10px; }
  .wdm-det summary { display: flex; align-items: center; min-height: 44px; font-weight: 800; cursor: pointer; }
  .wdm-h98c { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "pic name" "pic meta" "pic sups"; column-gap: 10px; row-gap: 2px; align-items: start; }
  .wdm-h98c .wdm-hi { grid-area: pic; width: 46px; height: 40px; object-fit: cover; border-radius: 8px; }
  .wdm-h98c .wdm-hn { grid-area: name; font-weight: 700; }
  .wdm-h98c .wdm-hg { grid-area: meta; white-space: normal; }
  .wdm-h98c .wdm-sups { grid-area: sups; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
  .wdm-sup { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; font-size: 12px; }
  .wdm-sup b { color: var(--text); font-weight: 800; }
  .wdm-sup.best { border-color: var(--ok); }
  .wdm-sup.best b { color: var(--ok); }
  .wdm-sup:hover { border-color: var(--wd-accent); }
  .wdm-sups small { display: inline; margin: 0; }
  .wdm-supnote { margin: 0 0 4px; }
  .wdm-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

  .modes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

  .mode {
    flex: 1;
    padding: 9px 12px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--row);
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  .mode.on { background: var(--wd-accent); color: #fff; border-color: var(--wd-accent); }
  .pc, .pl, .pp { font-size: 13px; }.hchip {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--row);
    font-size: 12px;
  }

  html.wd468off .searchbox { opacity: .45; }
  html.wd468off .ac, html.wd468off #wd462, html.wd468off #wdCal162 { display: none; }
  .srch-msg {
    display: none;
    margin: 6px 0 2px;
    padding: 9px 12px;
    border: 1.5px solid var(--wd-accent);
    border-radius: 11px;
    background: var(--panel);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.6;
  }
  html.wd468off #wd468msg.on, #wdQmsg.on { display: block; }
  #wdQmsg .qw-q { color: var(--wd-accent); }
  .srch-msg .wd468c { display: inline-flex; gap: 6px; margin-inline-start: 8px; vertical-align: middle; }
  .srch-msg .wd468c button {
    padding: 4px 10px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    background: var(--bg);
    color: var(--text);
    font-weight: 800;
    font-size: 12.5px;
  }
  .srch-msg .wd468c button:hover { border-color: var(--wd-accent); color: var(--wd-accent); }

  html.wd462typing #feed,
  html.wd462typing .ac,
  html.wd462typing #priceRow,
  html.wd462typing .transparency,
  html.wd462typing .feed-note { display: none; }
  #wd462 { display: none; }
  html.wd462typing #wd462 { display: block; padding: 8px 0 44px; }
  #wd462 .r462 {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin: 0 0 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: var(--text);
    font: 800 16px/1.2 inherit;
    text-align: start;
    cursor: pointer;
  }
  #wd462 .r462:hover { border-color: var(--wd-accent); }
  #wd462 .r462 .en {
    margin-inline-start: auto;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    direction: ltr;
  }

  @media (max-width: 340px) {
    html, body { overflow-x: hidden; }
    .feed { grid-template-columns: 1fr; }
    .msg { max-width: 100%; }
    .search-wrap { padding-inline: 8px; }
    .tile { min-width: 58px; padding: 6px 7px 5px; font-size: 11px; }
    .rail { gap: 6px; }
    .rail-btn span { font-size: 12.5px; }
    #wd462 .r462 { font-size: 15px; }
    .logomark { transform: scale(.85); transform-origin: top right; }
  }
  #wdMoto26 {
    display: block;
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 12px;
    padding: 14px;
    border: 1.5px solid #8b5cf6;
    border-radius: 18px;
    background: var(--panel);
    position: relative;
  }
  #wdMoto26 .m-t { margin-block-end: 8px; font-size: 15px; font-weight: 800; color: var(--text); }
  #wdMoto26 .m-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-block: 6px; }
  #wdMoto26 .m-lbl { min-width: 64px; font-size: 12px; font-weight: 700; color: var(--muted); }
  #wdMoto26 .m-btn {
    padding: 7px 11px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    background: var(--row);
    color: var(--text);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
  }
  #wdMoto26 .m-btn.on { border-color: #8b5cf6; background: #8b5cf6; color: #fff; }
  #wdMoto26 select {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--row);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
  }
  #wdMoto26 .m-verdict { display: none; margin-block-start: 8px; padding: 10px 13px; border-radius: 11px; font-size: 13.5px; line-height: 1.55; }
  #wdMoto26 .m-verdict.g { display: block; border: 1.5px solid #22c55e; background: #f0fdf4; color: #14532d; }
  #wdMoto26 .m-verdict.y { display: block; border: 1.5px solid #eab308; background: #fef9c3; color: #713f12; }
  #wdMoto26 .m-verdict.r { display: block; border: 1.5px solid #ef4444; background: #fef2f2; color: #7f1d1d; }
  #wdMoto26 .m-ins { margin-block-start: 9px; padding: 8px 11px; border-radius: 9px; background: #fff7ed; color: #92400e; font-size: 12px; }
  #alertBudget { min-width: 0; }
  .calc-row2 label { min-width: 0; }
  .calc-row2 input { min-width: 0; width: 100%; box-sizing: border-box; }
  #alertSave { flex: 0 0 auto; white-space: nowrap; }
  .resume-res .rt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html,
  body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    caret-color: transparent;
  }
  input,
  textarea,
  select,
  [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
    caret-color: auto;
  }
  .transparency {

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 14px auto 8px;
    padding: 8px 16px;
    border: 1px solid rgba(128, 128, 128, .35);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
  }
  .transparency-body {
    max-width: 700px;
    margin-inline: auto;
    padding: 12px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
  }
  .transparency-body a { color: var(--cool); font-weight: 700; }

  .tabbar {
    position: fixed;
    inset-block-end: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 700px;
    max-width: 100%;
    height: 56px;
    padding: 7px 0;
    background: var(--bar);
  }
  .tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    color: #4a5163;
    font-size: 10.5px;
    font-weight: 700;
  }
  .tabbar button svg { width: 20px; height: 20px; }
  .tabbar button[aria-selected="true"] { color: var(--wd-accent-ink); }

  .catw {
    max-width: 700px;
    margin: 10px auto;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .catw-t { font-weight: 900; font-size: 16px; margin: 0 0 4px; }
  .catw-s { color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }
  .catw-in {
    width: 100%;
    font: inherit;
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--row);
    color: var(--text);
    margin-block-end: 10px;
  }
  .catw-sup { display: flex; flex-wrap: wrap; gap: 8px; }
  .catw-go {
    display: inline-block;
    background: var(--wd-accent);
    color: #2d1200;
    font-weight: 900;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
  }
  .catw-g { display: inline-block; margin-block-start: 10px; font-weight: 700; font-size: 13px; }

  .catw { position: relative; border-color: var(--cc, var(--line)); }
  .catw-x {
    position: absolute; top: 10px; inset-inline-end: 10px;
    width: 26px; height: 26px; border: none; border-radius: 50%;
    background: var(--row); color: var(--muted);
    font-size: 13px; font-weight: 900; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2;
  }
  .catw-x:hover { color: var(--cc, var(--wd-accent)); }
  .catw-reset {
    display: inline-flex; align-items: center; gap: 5px; margin-block: 2px 8px;
    background: none; border: none; color: var(--muted); font: inherit;
    font-size: 12.5px; font-weight: 800; cursor: pointer; padding: 4px 2px;
    text-decoration: underline;
  }
  .catw-ride { display: flex; gap: 7px; flex-wrap: wrap; margin-block-start: 10px; }
  .catw-ride a {
    flex: 1 1 auto; text-align: center; color: #fff; font-weight: 800; font-size: 13px;
    padding: 9px 10px; border-radius: 10px; text-decoration: none;
  }

  .transp-inner {
    max-width: 680px;
    margin: 8px auto 16px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
    line-height: 1.7;
  }
  .transp-inner > div { margin-bottom: 8px; }
  .transp-links { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
  .transp-inner a { color: var(--cool, #3a7bd5); font-weight: 700; text-decoration: none; }

  #bDest { width: 100%; min-width: 250px; }
  #bFrom { width: 100%; }

  .bfb { display: flex; flex-direction: column; gap: 8px; margin-block: 10px; }
  .bfb-a {
    display: block;
    background: var(--wd-accent);
    color: #2d1200;
    font-weight: 800;
    font-size: 14px;
    padding: 11px 14px;
    border-radius: 11px;
    text-decoration: none;
    text-align: center;
  }
.resume{
  position:fixed; left:12px; right:12px; bottom:76px;
  max-width:536px; margin-inline:auto;
  display:flex; align-items:center; gap:10px;
  padding:11px 13px; border-radius:14px;
  background:var(--panel); border:1px solid var(--line); color:var(--text);
  font-size:16.5px; font-weight:700;
  box-shadow:0 8px 30px rgba(0,0,0,.35);
  z-index:55;

}
.resume .rgo{
  min-height:44px; padding:11px 20px; border-radius:12px;
  background:transparent; color:var(--text); border:0;
  font:inherit; cursor:pointer;
}
.resume .rx{
  width:44px; height:44px; min-width:44px; min-height:44px;
  flex:none; border-radius:50%;
  background:transparent; color:var(--text); border:0;
  font-size:17px; cursor:pointer;
}
.toast{
  position:fixed; left:12px; right:12px; bottom:140px;
  max-width:536px; margin-inline:auto;
  padding:12px 16px; border-radius:14px;
  background:var(--panel); border:1px solid var(--wd-accent); color:var(--text);
  font-size:16px; font-weight:700; text-align:center;
  box-shadow:var(--sh-float);
  z-index:10000;
}
  .msg.flash { outline: 3px solid var(--wd-accent); outline-offset: 3px; }
  .compband { border: 1px solid var(--line); background: var(--row); color: var(--text); border-radius: 10px; padding: 10px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: start; }
  .compband.on { background: var(--wd-accent); color: #fff; border-color: var(--wd-accent); }
  .chabad-btn { display: block; width: 100%; text-align: center; background: #6b4eff; color: #fff; border: none; border-radius: 11px; padding: 13px; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; margin-bottom: 8px; }
  .chabad-btn:active { opacity: .85; }
  .catcard-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: var(--r-ctl); background: var(--cc, var(--wd-accent)); color: #fff; font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: filter .15s, transform .1s; }
  .catcard-btn:hover { filter: brightness(1.08); }
  .catcard-btn:active { transform: translateY(1px); }
  .cats-dd .subchip .t472 { flex: 1 1 auto; min-width: 0; text-align: start; white-space: normal; overflow-wrap: break-word; }
}

@layer components {
  .res-peer {
    display: block;
    margin-block-start: 3px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
  }
  .res-peer-off {
    font-weight: 700;
    color: var(--ok);
  }
  .res-peer-m { font-variant-numeric: tabular-nums; }
}

@layer components {
  .pr-page { max-inline-size: 860px; margin-inline: auto; padding-block: 16px 48px; }
  .pr-home { margin: 0 0 6px; font-size: 14px; }
  .pr-home a { color: var(--muted); text-decoration: none; }
  .pr-h1 { font-size: 24px; margin: 4px 0 10px; }
  .pr-h2 { font-size: 17px; margin: 22px 0 8px; }
  .pr-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-block-end: 10px; }
  .pr-tab { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
  .pr-tab[aria-current="page"] { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; }
  .pr-disc { font-size: 14px; color: var(--muted); margin: 6px 0 12px; }
  .pr-tg { display: inline-block; padding: 9px 14px; border-radius: var(--r-ctl); background: #229ED9; color: #fff; text-decoration: none; font-weight: 600; }
  .pr-list { list-style: none; margin: 0; padding: 0; }
  .pr-row { margin-block: 6px; }
  .pr-row a { display: block; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; line-height: 1.55; }
  .pr-row a:hover { border-color: var(--wd-accent); }
  .pr-src { display: block; margin: 3px 12px 0; font-size: 12px; color: var(--muted); }
  .pr-off { font-weight: 700; color: var(--ok); }
  .pr-none { padding: 6px 12px; font-size: 14px; color: var(--muted); }
  .pr-dates { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
  .pr-city { margin-block: 6px; }
  .pr-city summary { cursor: pointer; font-weight: 700; padding-block: 6px; }
  .pr-foot { font-size: 12.5px; color: var(--muted); margin-block-start: 18px; line-height: 1.6; }
  .chabad-map { margin-block-start: 6px; }
  .hf-list { display: grid; gap: 10px; margin-block: 10px; }
  .hf-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
  .hf-big { font-size: 18px; font-weight: 800; margin-block: 4px 2px; }
  .hf-big b { color: var(--wd-accent); }
  .hf-strip { display: flex; gap: 3px; overflow-x: auto; margin-block: 8px 6px; }
  .hf-d { flex: none; min-width: 32px; text-align: center; border-radius: 7px; padding: 2px 0 3px; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); color: var(--text); background: color-mix(in srgb, var(--text) 14%, var(--card)); }
  .hf-d small { display: block; font-size: 10px; font-weight: 500; }
  .hf-d.hol { background: #ffd166; border-color: #ffd166; color: #2a2000; }
  .hf-d.lv { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; }
  .hf-d.out { opacity: .35; }
  .hf-pr { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-block-start: 8px; }
}

@layer components {
  .sheet-top .x { position: relative; }
  .tools-sheet .t-head .x { position: relative; }
  #wdFlyCard .wdfly-swap { position: relative; }
  .logomark { position: relative; }
  .sheet-top .x::after { content: ''; position: absolute; inset: -4px; }
  .tools-sheet .t-head .x::after { content: ''; position: absolute; inset: -4px; }
  .supm-x::after { content: ''; position: absolute; inset: -4px; }
  .lc-x::after { content: ''; position: absolute; inset: -2px; }
  .cal .c-x::after { content: ''; position: absolute; inset-block: -5px; inset-inline-end: -5px; inset-inline-start: -1px; }
  .catw-x::after { content: ''; position: absolute; inset: -9px; }
  #wdFlyCard .wdfly-swap::after { content: ''; position: absolute; inset: -2px; }
  .logomark::after { content: ''; position: absolute; inset: -2px; }
}
