:root {
    --navy: #0b2f72;
    --navy-deep: #071e4d;
    --navy-2: #123f8f;
    --blue: #1f6fe8;
    --blue-2: #3c8bff;
    --gold: #e0b23a;
    --gold-2: #f3d48a;
    --ink: #1b2b48;
    --muted: #6d7d95;
    --line: #e5edf6;
    --bg: #f4f7fb;
    --card: #fff;
    --ok: #178a4b;
    --warn: #c4841a;
    --bad: #c2413b;
    --shadow: 0 16px 40px rgba(16, 42, 92, .08);
    --radius: 18px;
    --font: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.cc-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cc-skip {
    position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20;
}
.cc-skip:focus { top: 8px; }

.cc-header {
    background: linear-gradient(180deg, #0a2a68 0%, #0c3278 100%);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(6, 22, 58, .18);
}
body { padding-top: 74px; }
.cc-header-bar {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}
.cc-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; flex: 1 1 auto; }
.cc-logo span { min-width: 0; }
.cc-logo strong, .cc-logo small { white-space: nowrap; }
.cc-logo svg { width: 36px; height: 36px; flex: none; }
.cc-logo strong { display: block; font-size: 18px; letter-spacing: -.02em; line-height: 1.1; }
.cc-logo small { display: block; opacity: .86; font-size: 12px; }
.cc-slogan {
    color: rgba(255,255,255,.78);
    font-size: 13px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.2);
    white-space: nowrap;
}
.cc-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cc-nav a {
    color: rgba(255,255,255,.88);
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 8px;
    border-radius: 999px;
    position: relative;
    white-space: nowrap;
}
.cc-nav a.active { color: #fff; }
.cc-nav a.active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.cc-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cc-one-line { white-space: nowrap; display: inline-block; line-height: 1; }
.cc-lang { position: relative; flex: 0 0 auto; }
.cc-lang summary {
    list-style: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    width: max-content;
    flex: 0 0 auto;
}
.cc-lang summary::-webkit-details-marker { display: none; }
.cc-lang form { display: flex; }
.cc-lang button {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    color: var(--ink);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
}
.cc-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    color: var(--ink);
    min-width: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.cc-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    padding: 7px 12px;
    min-width: 40px;
    min-height: 36px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    background: rgba(255,255,255,.06);
    white-space: nowrap;
    flex: 0 0 auto;
    width: max-content;
}
.cc-auth.solid { background: #fff; color: var(--navy); border-color: #fff; }
.cc-menu-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
    width: max-content;
}
.cc-menu-btn svg { width: 16px; height: 16px; }
.cc-drawer {
    display: none;
    background: #082456;
    padding: 8px 20px 18px;
}
.cc-drawer a, .cc-drawer button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-weight: 700;
}
.cc-header.is-open .cc-drawer { display: block; }

.cc-hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 26, 70, .94) 0%, rgba(10, 39, 102, .82) 46%, rgba(10, 39, 102, .28) 100%),
        url("/images/hero-gavel.jpg") right center / cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.cc-hero-copy { width: min(680px, 100%); padding: 64px 0 72px; }
.cc-kicker {
    color: var(--gold-2);
    letter-spacing: .22em;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 12px;
}
.cc-hero h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.18;
    letter-spacing: -.03em;
    font-weight: 800;
}
.cc-hero .cc-lead { margin: 16px 0 0; font-size: 16px; color: rgba(255,255,255,.88); }
.cc-hero .cc-slogan-line { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.cc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cc-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.cc-points article { display: flex; gap: 10px; align-items: flex-start; max-width: 210px; }
.cc-points strong { display: block; font-size: 14px; }
.cc-points span { display: block; color: rgba(255,255,255,.72); font-size: 12px; }
.cc-ico {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center; flex: none;
    background: rgba(255,255,255,.12);
}
.cc-ico svg, .cc-ico-blue svg { width: 18px; height: 18px; }

.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 12px 22px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
}
.cc-btn-gold { background: linear-gradient(180deg, #f0c85a, #d7a322); color: #3a2a04; }
.cc-btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cc-btn-blue { background: linear-gradient(180deg, #3b8cff, #1d68e0); color: #fff; box-shadow: 0 8px 18px rgba(31, 111, 232, .25); }
.cc-btn-ghost { background: #fff; color: var(--blue); border-color: #d5e4f8; }
.cc-btn-block { width: 100%; }
.cc-btn { white-space: nowrap; }
.cc-btn svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; flex: 0 0 18px; }
.cc-apply-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cc-apply-actions .cc-btn { flex: 0 0 auto; }
.cc-my { max-width: 520px; display: grid; gap: 14px; }
.cc-my-profile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-top: -34px; position: relative; z-index: 2; }
.cc-my-profile .cc-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f6fe8; flex: 0 0 56px; }
.cc-my-profile .cc-avatar svg { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
.cc-my-list a { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 800; text-align: left; }
.cc-my-list a:last-child { border-bottom: 0; }
.cc-my-list svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; color: var(--blue); flex: 0 0 22px; }
.cc-my-list a span { flex: 1; min-width: 0; }
.cc-my-list a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid #c5d0de; border-right: 2px solid #c5d0de; transform: rotate(45deg); flex: 0 0 8px; }
.cc-count { margin-left: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e23d3d; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.cc-bubble svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; flex: 0 0 22px; }

.cc-sheet { margin-top: -34px; position: relative; z-index: 2; }
.cc-source-grid, .cc-split, .cc-news-grid, .cc-program-grid, .cc-stat-grid, .cc-contact-grid, .cc-auth-grid {
    display: grid;
    gap: 16px;
}
.cc-source-grid { grid-template-columns: repeat(4, 1fr); }
.cc-card {
    background: var(--card);
    border: 1px solid #edf2f8;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cc-source {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    min-height: 92px;
}
.cc-source .cc-ico { background: #eef4ff; color: var(--blue); }
.cc-source strong { display: block; font-size: 15px; }
.cc-source span { color: var(--muted); font-size: 12px; }
.cc-go { margin-left: auto; color: #b7c3d4; }

.cc-section { padding: 28px 0; }
.cc-split { grid-template-columns: 1.15fr .85fr; }
.cc-panel { padding: 26px; }
.cc-panel h2 { margin: 0 0 8px; font-size: 26px; }
.cc-panel p { margin: 0; color: var(--muted); }
.cc-panel.alt {
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(255,255,255,.55), transparent 60%),
        linear-gradient(180deg, #fff8ea, #fff);
}
.cc-form { margin-top: 18px; }
.cc-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f9fc;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    padding: 0 12px;
}
.cc-field input, .cc-field select, .cc-input, .cc-select, .cc-area {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 0;
    outline: none;
    color: var(--ink);
    font-size: 14px;
}
.cc-input, .cc-select, .cc-area {
    background: #f7f9fc;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    padding: 13px 14px;
}
.cc-area { min-height: 120px; resize: vertical; }
.cc-label { display: block; font-weight: 800; font-size: 13px; margin: 14px 0 6px; }
.cc-check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin: 12px 0; }

.cc-process { text-align: center; padding-bottom: 10px; }
.cc-process h2 { margin: 8px 0 22px; font-size: 28px; }
.cc-rule { width: 72px; height: 3px; border-radius: 3px; background: var(--gold); margin: 0 auto; }
.cc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cc-step:nth-child(3n)::after { display: none; }
.cc-step { position: relative; padding: 8px; }
.cc-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px; right: -10px;
    width: 18px; height: 2px;
    background: #d5e0ee;
}
.cc-bubble {
    width: 54px; height: 54px; margin: 0 auto 10px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #3d8cff, #1d66dc);
    color: #fff;
    position: relative;
    box-shadow: 0 8px 16px rgba(31, 111, 232, .25);
}
.cc-bubble b {
    position: absolute; left: -2px; bottom: -2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #123f8f; color: #fff; font-size: 11px;
    display: grid; place-items: center;
}
.cc-step strong { display: block; }
.cc-step span { color: var(--muted); font-size: 13px; }

.cc-news-grid { grid-template-columns: 1.15fr .85fr; }
.cc-block { padding: 8px 8px 12px; }
.cc-block header, .cc-block-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 16px 8px;
}
.cc-block h2 { margin: 0; font-size: 22px; }
.cc-more { color: var(--blue); font-weight: 800; font-size: 14px; }
.cc-news { list-style: none; margin: 0; padding: 0 16px 8px; }
.cc-news li { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cc-news time { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.cc-faq { padding: 0 8px 12px; }
.cc-faq details { border-bottom: 1px solid var(--line); padding: 12px 12px; }
.cc-faq summary { cursor: pointer; font-weight: 700; }

.cc-footer { position: relative; color: rgba(255,255,255,.86); margin-top: 28px; overflow: hidden; }
.cc-footer-gold { height: 5px; background: linear-gradient(90deg, #8d6a16, #f0d48a, #8d6a16); }
.cc-footer-main {
    background:
        linear-gradient(180deg, rgba(8, 28, 74, .2), rgba(8, 28, 74, .55)),
        url("/images/about-city.jpg") center bottom / cover no-repeat,
        linear-gradient(180deg, #0c2f72, #071a40);
    padding: 42px 0 28px;
}
.cc-foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr .8fr; gap: 18px; position: relative; }
.cc-footer h3 { margin: 0 0 10px; font-size: 15px; color: #fff; }
.cc-footer a, .cc-footer p { color: rgba(255,255,255,.78); font-size: 14px; }
.cc-footer li { list-style: none; margin: 7px 0; }
.cc-footer ul { margin: 0; padding: 0; }
.cc-social { display: flex; gap: 8px; }
.cc-social a {
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}
.cc-social svg { width: 16px; height: 16px; display: block; }
.cc-copy {
    position: relative;
    text-align: center;
    font-size: 13px;
    padding-bottom: 8px;
    color: rgba(255,255,255,.7);
}
.cc-copy span { margin: 0 8px; }

.cc-banner {
    background: linear-gradient(100deg, #0b2f72 0%, #1a4e9e 58%, #2e73d6 100%);
    color: #fff;
    padding: 34px 0;
}
.cc-banner h1 { margin: 0; font-size: 34px; }
.cc-banner p { margin: 6px 0 0; color: rgba(255,255,255,.8); }

.cc-page { padding: 28px 0 10px; }
.cc-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cc-chip {
    border: 1px solid #d7e3f3;
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}
.cc-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cc-program-grid { grid-template-columns: repeat(2, 1fr); }
.cc-program { padding: 22px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.cc-program .cc-max { color: var(--blue); font-weight: 800; }
.cc-program .cc-btn { align-self: flex-start; margin-top: auto; }

.cc-auth-grid { grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.cc-auth-copy, .cc-auth-side { padding: 32px; }
.cc-auth-side {
    background:
        linear-gradient(180deg, rgba(8, 30, 78, .2), rgba(8, 30, 78, .55)),
        url("/images/hero-gavel.jpg") center / cover no-repeat;
    color: #fff;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.cc-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    border-radius: 12px;
    background: #25d366;
    color: #fff;
    font-weight: 800;
    padding: 12px;
}
.cc-whatsapp svg { width: 20px; height: 20px; }
.cc-phone { display: flex; gap: 8px; align-items: stretch; }
.cc-dial {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 148px;
    border: 1px solid #e1e8f2;
    background: #f7f9fc;
    border-radius: 12px;
    padding: 0 8px;
}
.cc-dial select { border: 0; background: transparent; font-weight: 800; width: 100%; padding: 13px 0; color: var(--ink); }
.cc-flag { width: 28px; height: 20px; flex: none; display: block; }
.cc-flag svg { width: 28px; height: 20px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16,42,92,.12); }
.cc-captcha { display: flex; gap: 10px; align-items: center; }
.cc-captcha img { height: 68px; width: 176px; border-radius: 12px; border: 1px solid #d5e0ee; cursor: pointer; background: #fff; flex: none; }
.cc-fab {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 45;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(11, 47, 114, .28);
    background: #fff;
}
.cc-fab svg { width: 62px; height: 62px; display: block; }
.cc-fab-inline { position: static; width: 56px; height: 56px; box-shadow: none; flex: none; }
.cc-fab-inline svg { width: 56px; height: 56px; }
.cc-service-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cc-note { color: var(--muted); font-size: 14px; }
.cc-error { color: var(--bad); font-size: 13px; margin-top: 4px; }
.cc-flash { margin: 16px auto 0; width: min(1180px, calc(100% - 40px)); background: #e8f7ee; color: #0f6b38; border-radius: 12px; padding: 12px 14px; }
.cc-flash-error { background: #fdecec; color: #9f2d28; }

.cc-member { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.cc-side {
    background: linear-gradient(180deg, #0d3278, #0a255c);
    color: #fff;
    border-radius: 20px;
    padding: 18px 12px;
    position: sticky;
    top: 92px;
}
.cc-side-user { display: flex; gap: 10px; align-items: center; padding: 6px 10px 14px; }
.cc-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: #2f6fe0; font-weight: 800;
}
.cc-side a, .cc-side button {
    display: flex; width: 100%; text-align: left; gap: 8px; align-items: center;
    color: rgba(255,255,255,.86); background: transparent; border: 0;
    padding: 11px 12px; border-radius: 12px; font-weight: 700; cursor: pointer;
}
.cc-side a.active { background: rgba(255,255,255,.12); color: #fff; }
.cc-stat-grid { grid-template-columns: repeat(3, 1fr); }
.cc-stat { padding: 18px; }
.cc-stat b { display: block; font-size: 28px; color: var(--blue); }
.cc-stat span { color: var(--muted); font-size: 13px; }
.cc-table-wrap { overflow-x: auto; }
.cc-table { width: 100%; border-collapse: collapse; }
.cc-table th, .cc-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cc-table th { color: var(--muted); font-weight: 700; }
.cc-badge { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; background: #e8f1ff; color: #1d5fbf; }
.cc-badge-approved, .cc-badge-paid, .cc-badge-processing { background: #e7f7ee; color: var(--ok); }
.cc-badge-rejected { background: #fdecec; color: var(--bad); }
.cc-badge-submitted, .cc-badge-under_review { background: #e8f1ff; color: #1d5fbf; }
.cc-badge-amount_pending, .cc-badge-pending_payout, .cc-badge-more_info_required { background: #fff4df; color: #c47a10; }
.cc-kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; }
.cc-kv dt { color: var(--muted); }
.cc-amount { font-size: 32px; font-weight: 800; color: var(--navy); margin: 8px 0; }
.cc-drop {
    border: 1.5px dashed #b9ccea;
    border-radius: 16px;
    background: #f8fbff;
    padding: 28px;
    text-align: center;
}
.cc-help-list details { background: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(16,42,92,.04); }
.cc-help-list summary { cursor: pointer; font-weight: 800; }
.cc-contact-grid { grid-template-columns: .8fr 1.2fr; }
.cc-contact-card { padding: 22px; display: grid; gap: 14px; }
.cc-legal { display: grid; gap: 14px; }
.cc-legal article { padding: 20px 22px; }
.cc-legal h2 { margin: 0 0 8px; font-size: 18px; }
.cc-about-hero, .cc-help-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: center;
}
.cc-help-layout { align-items: start; grid-template-columns: minmax(0, 1fr) 280px; }
.cc-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.cc-about-hero img { border-radius: 20px; height: 280px; width: 100%; object-fit: cover; }
.cc-link { color: var(--blue); font-weight: 800; }

.cc-tabs {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 60;
    min-height: 64px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    box-shadow: 0 -6px 18px rgba(16, 42, 92, .06);
}
.cc-tabs a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    text-align: center;
    font-size: 11px;
    line-height: 1.15;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}
.cc-tabs a.active { color: var(--blue); }
.cc-tabs svg { width: 20px; height: 20px; display: block; margin: 0 auto 2px; }

@media (max-width: 1100px) {
    .cc-slogan { display: none; }
    .cc-nav { display: none; }
    .cc-menu-btn { display: inline-flex; }
    .cc-tools { margin-left: auto; flex: none; }
    .cc-hero h1 { font-size: 36px; }
    .cc-source-grid, .cc-foot-grid { grid-template-columns: 1fr 1fr; }
    .cc-split, .cc-news-grid, .cc-auth-grid, .cc-member, .cc-contact-grid, .cc-about-hero, .cc-help-layout, .cc-program-grid, .cc-three { grid-template-columns: 1fr; }
    .cc-auth-side { min-height: 220px; }
    .cc-step:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
    .cc-wrap { width: min(100% - 16px, 1180px); }
    .cc-header-bar { gap: 8px; }
    .cc-logo { gap: 8px; }
    .cc-logo svg { width: 30px; height: 30px; }
    .cc-lang summary, .cc-menu-btn { padding: 6px 9px; font-size: 13px; }
    .cc-lang summary svg, .cc-menu-btn svg { width: 16px; height: 16px; max-width: 16px; max-height: 16px; flex: 0 0 16px; }
    .cc-source-grid, .cc-stat-grid, .cc-foot-grid { grid-template-columns: 1fr; }
    .cc-step strong { font-size: 13px; }
    .cc-step span { font-size: 11px; }
    .cc-bubble { width: 46px; height: 46px; }
    .cc-phone { flex-direction: column; }
    .cc-fab { bottom: 86px; right: 14px; }
    .cc-hero { min-height: 0; background-position: center top; }
    .cc-hero-copy { padding: 36px 0 48px; }
    .cc-hero h1 { font-size: 30px; }
    .cc-logo small { display: none; }
    .cc-logo strong { font-size: 16px; }
    .cc-tools { gap: 6px; }
    .cc-tools .cc-auth span { display: none; }
    .cc-tabs { display: grid; }
    body { padding-bottom: 88px; }
    .cc-side { position: static; }
    .cc-banner h1 { font-size: 28px; }
    .cc-kv { grid-template-columns: 1fr; }
}

.cc-my, .cc-sheet-narrow { width: min(520px, 100%); margin-left: auto; margin-right: auto; }
.cc-profile-band {
    background: linear-gradient(180deg, #0c3278 0%, #1d4e9e 70%, #2f6ed0 100%);
    color: #fff;
    padding: 22px 0 48px;
}
.cc-person { display: flex; align-items: center; gap: 14px; }
.cc-profile-band .cc-avatar { width: 64px; height: 64px; background: #3b86f6; flex: 0 0 64px; }
.cc-profile-band .cc-avatar svg { width: 30px; height: 30px; max-width: 30px; max-height: 30px; }
.cc-profile-band strong { display: block; font-size: 22px; line-height: 1.2; }
.cc-uid { opacity: .85; font-size: 13px; margin-top: 2px; }
.cc-edit {
    display: inline-flex; margin-top: 8px; border: 1px solid rgba(255,255,255,.75);
    border-radius: 999px; padding: 3px 12px; color: #fff; font-size: 12px; font-weight: 700;
}
.cc-profile-band + .cc-page { padding-top: 0; }
.cc-profile-band + .cc-page .cc-my { margin-top: -28px; position: relative; z-index: 2; }
.cc-hub { background: linear-gradient(180deg, #0c3278, #16448f); color: #fff; padding: 22px 0 28px; }
.cc-hub h1 { margin: 0; font-size: 28px; }
.cc-hub p { margin: 4px 0 0; color: rgba(255,255,255,.78); font-size: 14px; }
.cc-filters { display: flex; gap: 8px; background: #fff; border-radius: 14px; padding: 6px; margin-bottom: 14px; box-shadow: var(--shadow); }
.cc-filters a { flex: 1; text-align: center; border-radius: 10px; padding: 8px 4px; font-size: 13px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.cc-filters a.active { background: #1f6fe8; color: #fff; }
.cc-stack { display: grid; gap: 12px; }
.cc-record { display: block; padding: 14px 36px 14px 16px; position: relative; color: var(--ink); }
a.cc-record::after { content: ""; position: absolute; right: 16px; top: 22px; width: 8px; height: 8px; border-top: 2px solid #c5d0de; border-right: 2px solid #c5d0de; transform: rotate(45deg); }
.cc-record-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-record-top strong { font-size: 16px; }
.cc-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; }
.cc-line span { color: var(--muted); }
.cc-line strong { font-weight: 800; text-align: right; }
.cc-rows { display: grid; gap: 0; margin-bottom: 14px; }
.cc-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cc-rows > div:last-child { border-bottom: 0; }
.cc-lang-pick { display: grid; gap: 10px; }
.cc-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #f7f9fc; margin-top: 14px; }
.cc-search input { border: 0; background: transparent; width: 100%; min-height: 46px; outline: none; }
.cc-lookup-art { display: grid; place-items: center; padding: 8px 0 4px; }
.cc-lookup-art svg { width: 168px; height: 140px; max-width: 168px; max-height: 140px; }
.cc-points-list { display: grid; gap: 12px; }
.cc-points-list article { display: flex; gap: 10px; align-items: flex-start; }
.cc-points-list span { width: 36px; height: 36px; border-radius: 50%; background: #e8f1ff; display: grid; place-items: center; flex: 0 0 36px; }
.cc-points-list svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; }
.cc-points-list strong, .cc-points-list em { display: block; font-style: normal; }
.cc-points-list em { color: var(--muted); font-size: 13px; }
.cc-result { position: relative; }
.cc-coins { display: flex; justify-content: flex-end; margin-top: 8px; pointer-events: none; }
.cc-coins svg { width: 150px; height: 92px; max-width: 150px; max-height: 92px; }
.cc-drop { display: grid; justify-items: center; gap: 4px; text-align: center; border: 1.5px dashed #b9d2f5; border-radius: 16px; background: #f5f9ff; padding: 22px 12px; margin: 14px 0; cursor: pointer; }
.cc-drop svg { width: 36px; height: 36px; max-width: 36px; max-height: 36px; }
.cc-drop strong { color: var(--ink); }
.cc-drop span { color: var(--muted); font-size: 12px; }
.cc-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cc-files { display: grid; gap: 8px; margin-bottom: 14px; }
.cc-file { display: flex; align-items: center; gap: 10px; }
.cc-file svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; flex: 0 0 18px; }
.cc-file span { flex: 1; min-width: 0; }
.cc-file strong, .cc-file em { display: block; font-style: normal; }
.cc-file em { color: var(--muted); font-size: 12px; }
.cc-msg-list { padding: 4px 0; }
.cc-msg { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cc-msg:last-child { border-bottom: 0; }
.cc-msg-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 36px; }
.cc-msg-ico.case { background: #e8f1ff; color: #1f6fe8; }
.cc-msg-ico.system { background: #fdecec; color: #d34545; }
.cc-msg-ico svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; }
.cc-msg strong { display: block; }
.cc-msg p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.cc-msg time { color: #9aa8bc; font-size: 12px; }
.cc-source-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: #fff; border-radius: 18px; padding: 16px 8px; box-shadow: var(--shadow); }
.cc-source-row a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--navy); min-width: 0; }
.cc-source-ico { width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); }
.cc-source-ico svg { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
.cc-source-row strong { font-size: 12px; line-height: 1.25; font-weight: 800; }
.cc-chat { display: flex; flex-direction: column; min-height: 480px; padding: 14px; }
.cc-chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 10px; max-height: 520px; padding-bottom: 8px; }
.cc-chat-row { max-width: 80%; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cc-chat-row p { margin: 0; }
.cc-chat-row time { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.cc-chat-row.mine { margin-left: auto; background: #1f6fe8; color: #fff; }
.cc-chat-row.mine time { color: rgba(255,255,255,.75); }
.cc-chat form { display: flex; gap: 8px; }
.cc-chat input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; min-height: 44px; }
