[x-cloak] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.cc-results {
    --cc-accent: #f59e0b;
    --cc-accent-strong: #d97706;
    --cc-accent-soft: #fffbeb;
    --cc-accent-ring: rgba(245, 158, 11, .18);
    --cc-ink: #18181b;
    --cc-ink-2: #3f3f46;
    --cc-muted: #71717a;
    --cc-line: #e4e4e7;
    --cc-line-soft: #f4f4f5;
    --cc-surface: #ffffff;
    --cc-bg: #fafafa;
    --cc-danger: #e11d48;
    --cc-radius: 14px;

    background: var(--cc-bg);
    padding: 40px 0 64px;
}
.cc-wrap { max-width: 80rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .cc-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .cc-wrap { padding: 0 32px; } }

.cc-sr { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cc-only-mobile { display: inline-flex; }
@media (min-width: 1024px) { .cc-only-mobile { display: none !important; } }

.cc-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 16px;
}
.cc-count { margin: 0; font-size: 18px; color: var(--cc-ink-2); }
.cc-count strong { color: var(--cc-ink); font-weight: 800; }
.cc-count__sub { margin: 2px 0 0; font-size: 13px; color: var(--cc-muted); }
.cc-toolbar__actions { display: flex; align-items: center; gap: 10px; }
.cc-sort { display: flex; align-items: center; gap: 8px; }
.cc-sort__label { font-size: 13px; color: var(--cc-muted); white-space: nowrap; }
@media (max-width: 480px) { .cc-sort__label { display: none; } }

.cc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.cc-btn svg { width: 18px; height: 18px; }
.cc-btn--ghost { background: var(--cc-surface); border: 1px solid var(--cc-line); color: var(--cc-ink); }
.cc-btn--ghost:hover { border-color: var(--cc-accent); }
.cc-btn--primary { background: var(--cc-ink); border: 1px solid var(--cc-ink); color: #fff; padding: 12px 16px; }
.cc-btn--primary:hover { background: var(--cc-accent); border-color: var(--cc-accent); color: var(--cc-ink); }
.cc-badge {
    display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
    padding: 0 6px; border-radius: 999px; background: var(--cc-accent); color: var(--cc-ink);
    font-size: 11px; font-weight: 800;
}
.cc-icon-btn {
    width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--cc-line-soft);
    color: var(--cc-ink-2); align-items: center; justify-content: center; cursor: pointer;
}
.cc-icon-btn svg { width: 18px; height: 18px; }
.cc-link-danger {
    border: 0; background: none; color: var(--cc-danger); font-size: 13px; font-weight: 600;
    cursor: pointer; padding: 6px 8px; border-radius: 8px;
}
.cc-link-danger:hover { background: #fff1f2; }

.cc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.cc-chip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    padding: 6px 8px 6px 12px; border-radius: 999px;
    background: var(--cc-accent-soft); border: 1px solid #fcd34d; color: #92400e;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.cc-chip svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.cc-chip:hover { background: #fef3c7; }
.cc-chip:hover svg { opacity: 1; }

.cc-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .cc-layout { grid-template-columns: 290px minmax(0, 1fr); } }
.cc-main { min-width: 0; }

.cc-sidebar {
    background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
@media (min-width: 1024px) {
    .cc-sidebar { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; }
}
@media (max-width: 1023.98px) {
    .cc-sidebar {
        position: fixed; z-index: 60; top: 0; bottom: 0; left: 0;
        width: min(360px, 92vw); border-radius: 0 18px 18px 0;
        overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease;
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
    }
    .cc-sidebar.is-open { transform: translateX(0); }
}
.cc-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(9,9,11,.45); }
@media (min-width: 1024px) { .cc-backdrop { display: none !important; } }

.cc-sidebar__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--cc-line-soft);
    position: sticky; top: 0; background: var(--cc-surface); z-index: 2;
}
.cc-sidebar__title { margin: 0; font-size: 16px; font-weight: 800; color: var(--cc-ink); }
.cc-sidebar__foot {
    position: sticky; bottom: 0; background: var(--cc-surface);
    padding: 14px 18px; border-top: 1px solid var(--cc-line-soft); display: block;
}

.cc-group { padding: 18px; border-bottom: 1px solid var(--cc-line-soft); }
.cc-group:last-of-type { border-bottom: 0; }
.cc-group--stack { display: grid; gap: 14px; }
.cc-group__head { display: flex; align-items: baseline; justify-content: space-between; }
.cc-group__title {
    margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--cc-muted);
}
.cc-group__hint { font-size: 11px; font-weight: 700; color: var(--cc-muted); background: var(--cc-line-soft); padding: 2px 8px; border-radius: 999px; }

.cc-field { display: grid; gap: 6px; }
.cc-field__label { font-size: 13px; font-weight: 600; color: var(--cc-ink-2); }
.cc-select {
    width: 100%; appearance: none; -webkit-appearance: none;
    padding: 10px 36px 10px 12px; border: 1px solid var(--cc-line); border-radius: 10px;
    background: var(--cc-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2371717a'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
    font-size: 14px; color: var(--cc-ink); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.cc-select:hover { border-color: #d4d4d8; }
.cc-select:focus { outline: none; border-color: var(--cc-accent); box-shadow: 0 0 0 4px var(--cc-accent-ring); }
.cc-select--inline { width: auto; min-width: 190px; font-weight: 600; }

.cc-field__control {
    display: flex; align-items: center; gap: 4px; border: 1px solid var(--cc-line); border-radius: 10px;
    padding: 0 10px; background: var(--cc-surface); transition: border-color .15s, box-shadow .15s;
}
.cc-field__control:focus-within { border-color: var(--cc-accent); box-shadow: 0 0 0 4px var(--cc-accent-ring); }
.cc-field__prefix { font-size: 13px; color: var(--cc-muted); font-weight: 600; }
.cc-field__control input {
    width: 100%; min-width: 0; border: 0; outline: none; box-shadow: none; background: transparent;
    padding: 9px 0; font-size: 14px; font-weight: 600; color: var(--cc-ink);
    -moz-appearance: textfield;
}
.cc-field__control input:focus { box-shadow: none; }
.cc-field__control input::-webkit-outer-spin-button,
.cc-field__control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cc-range__values {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px;
    font-size: 17px; font-weight: 800; color: var(--cc-ink); font-variant-numeric: tabular-nums;
}
.cc-range__dash { font-size: 12px; font-weight: 600; color: var(--cc-muted); }
.cc-range { position: relative; height: 28px; margin: 0 2px 14px; }
.cc-range__track, .cc-range__fill {
    position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px;
}
.cc-range__track { left: 0; right: 0; background: var(--cc-line); }
.cc-range__fill { background: linear-gradient(90deg, #fbbf24, var(--cc-accent-strong)); }
.cc-range__input {
    position: absolute; inset: 0; width: 100%; height: 28px; margin: 0;
    background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.cc-range__input.is-top { z-index: 3; }
.cc-range__input:focus { outline: none; }
.cc-range__input::-webkit-slider-runnable-track { background: none; height: 28px; }
.cc-range__input::-moz-range-track { background: none; height: 28px; }
.cc-range__input::-webkit-slider-thumb {
    -webkit-appearance: none; pointer-events: auto; cursor: grab;
    width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
    background: #fff; border: 2px solid var(--cc-accent-strong);
    box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s;
}
.cc-range__input::-moz-range-thumb {
    pointer-events: auto; cursor: grab; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--cc-accent-strong); box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.cc-range__input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.cc-range__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--cc-accent-ring); }
.cc-range__input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--cc-accent-ring); }
.cc-range__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cc-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--cc-line-soft); border-radius: 12px; }
.cc-segment__item { position: relative; }
.cc-segment__item span {
    display: block; text-align: center; padding: 8px 6px; border-radius: 9px;
    font-size: 13px; font-weight: 600; color: var(--cc-muted); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.cc-segment__item span:hover { color: var(--cc-ink); }
.cc-segment__item input:checked + span { background: var(--cc-surface); color: var(--cc-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cc-segment__item input:focus-visible + span { box-shadow: 0 0 0 3px var(--cc-accent-ring); }

.cc-options { display: grid; gap: 6px; }
.cc-option { position: relative; }
.cc-option__box {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
    border: 1px solid var(--cc-line); font-size: 13px; font-weight: 600; color: var(--cc-ink-2);
    cursor: pointer; transition: all .15s;
}
.cc-option__box:hover { border-color: #fcd34d; }
.cc-option input:checked + .cc-option__box { border-color: var(--cc-accent); background: var(--cc-accent-soft); color: #92400e; box-shadow: 0 0 0 1px var(--cc-accent) inset; }
.cc-option input:focus-visible + .cc-option__box { box-shadow: 0 0 0 4px var(--cc-accent-ring); }
.cc-stars { display: inline-flex; gap: 1px; }
.cc-stars svg { width: 15px; height: 15px; fill: #e4e4e7; }
.cc-stars svg.is-on { fill: #f59e0b; }

.cc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-pill { position: relative; }
.cc-pill span {
    display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--cc-line);
    font-size: 13px; font-weight: 600; color: var(--cc-ink-2); cursor: pointer; transition: all .15s;
}
.cc-pill span:hover { border-color: #fcd34d; }
.cc-pill input:checked + span { background: var(--cc-ink); border-color: var(--cc-ink); color: #fff; }
.cc-pill input:focus-visible + span { box-shadow: 0 0 0 4px var(--cc-accent-ring); }

.cc-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
}
.cc-toggle__text { display: grid; gap: 2px; }
.cc-toggle__title { font-size: 14px; font-weight: 700; color: var(--cc-ink); }
.cc-toggle__sub { font-size: 12px; color: var(--cc-muted); }
.cc-toggle__switch {
    flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px;
    background: #d4d4d8; transition: background .2s;
}
.cc-toggle__switch::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s;
}
.cc-toggle.is-on .cc-toggle__switch { background: var(--cc-accent); }
.cc-toggle.is-on .cc-toggle__switch::after { transform: translateX(18px); }
.cc-toggle:focus-visible { outline: none; }
.cc-toggle:focus-visible .cc-toggle__switch { box-shadow: 0 0 0 4px var(--cc-accent-ring); }

.cc-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cc-card-rating { display: inline-flex; align-items: center; gap: 4px; margin: 1px 0 0; font-size: 12px; color: var(--cc-muted); }
.cc-card-rating svg { width: 13px; height: 13px; fill: #f59e0b; }
.cc-card-rating strong { color: var(--cc-ink); font-weight: 700; }
.cc-stars svg.is-half { fill: #fcd34d; }

.cc-grid article .border-t.pt-4 { gap: 12px; }
.cc-grid article .border-t.pt-4 > div:first-child p:first-child { white-space: nowrap; }
.cc-grid article .border-t.pt-4 a { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.cc-grid article .border-t.pt-4 .text-xl { font-size: 18px; }
