:root {
    --berry: #e85d6c;
    --leaf: #4ea24a;
    --grape: #7b3fd4;
    --sky: #3ec8e8;
    --gold: #f0c14b;
    --gold-deep: #c99216;
    --wood: #c48a4a;
    --ink: #1c2340;
    --muted: #5d6784;
    --paper: #f7fbf1;
    --sheet: #ffffff;
    --line: rgba(28, 35, 64, 0.12);
    --navy: #1a1540;
    --danger: #c63b3b;
    --ok: #2f9e6b;
    --wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Mulish, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(62, 200, 232, 0.18), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(232, 93, 108, 0.16), transparent 32%),
        linear-gradient(180deg, #eef8ff 0%, var(--paper) 28%, #fff4e8 100%);
    min-height: 100vh;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--grape); text-decoration: none; }
a:hover { color: var(--berry); }
h1, h2, h3 {
    font-family: Fraunces, Georgia, serif;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.18;
}
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }

.ch-root { min-height: 100vh; display: flex; flex-direction: column; }
.ch-body { flex: 1; padding-bottom: 52px; }
.ch-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.ch-mast { position: sticky; top: 0; z-index: 40; }
.ch-mast-top {
    background: linear-gradient(90deg, #1a1540 0%, #2a1d63 48%, #164a62 100%);
    color: #fff;
}
.ch-mast-brand {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ch-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    min-width: 0;
}
.ch-sign:hover { color: var(--gold); }
.ch-sign img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 4px;
    flex-shrink: 0;
}
.ch-sign-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ch-sign-copy strong {
    font-size: 17px;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.ch-sign-copy em {
    font-style: normal;
    font-size: 12px;
    color: #c9eef7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ch-fold {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--gold);
    color: var(--navy);
    cursor: pointer;
}

.ch-mast-lane {
    background: #fff8e8;
    border-bottom: 4px solid rgba(196, 138, 74, 0.35);
    box-shadow: 0 10px 24px rgba(26, 21, 64, 0.08);
}
.ch-lane ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 62px;
    flex-wrap: wrap;
}
.ch-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 2px solid transparent;
    color: var(--ink);
    font-weight: 800;
    font-size: 14px;
    background: #fff;
    white-space: nowrap;
}
.ch-tag i { font-size: 13px; }
.ch-tag:hover { transform: translateY(-1px); }
.ch-tag-leaf.is-now,
.ch-tag-leaf:hover { background: #e8f7e4; border-color: var(--leaf); color: #2b6b2a; }
.ch-tag-berry.is-now,
.ch-tag-berry:hover { background: #fde8eb; border-color: var(--berry); color: #a12d3d; }
.ch-tag-grape.is-now,
.ch-tag-grape:hover { background: #f1e8ff; border-color: var(--grape); color: #5b2d9a; }
.ch-tag-sky.is-now,
.ch-tag-sky:hover { background: #e4f8fd; border-color: var(--sky); color: #156d82; }
.ch-tag-shop {
    background: linear-gradient(135deg, var(--gold), #e2a31a);
    color: #3a2804 !important;
    border-color: #d9a21a;
    box-shadow: 0 8px 0 #c99216, 0 14px 22px rgba(201, 146, 22, 0.28);
    padding: 10px 18px;
    font-size: 15px;
    transform: translateY(-6px);
}
.ch-tag-shop:hover { color: #1a1404 !important; transform: translateY(-8px); }
.ch-tag-shop.is-now { box-shadow: 0 6px 0 #a87810, 0 12px 18px rgba(201, 146, 22, 0.35); }

.ch-page { padding-top: 28px; }
.ch-mark {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--leaf);
    margin-bottom: 8px;
}
.ch-tone-grove .ch-mark { color: var(--berry); }
.ch-tone-harvest .ch-mark { color: var(--grape); }
.ch-tone-contact .ch-mark { color: var(--sky); }
.ch-tone-shop .ch-mark { color: var(--gold-deep); }
.ch-lead { font-size: 17px; color: var(--muted); max-width: 64ch; }

.ch-store-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 18px 0 8px;
}
.ch-store-link img {
    height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.ch-banner {
    position: relative;
    padding: 22px 0 8px;
}
.ch-banner-art {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(26, 21, 64, 0.16);
}
.ch-banner-art img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}
.ch-banner-card {
    width: min(100%, 620px);
    margin: -72px 0 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px 8px 24px 8px;
    padding: 22px 24px 18px;
    box-shadow: 0 18px 36px rgba(26, 21, 64, 0.12);
}
.ch-banner-card h1 { font-size: clamp(28px, 4vw, 42px); }

.ch-home-board {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    margin-top: 28px;
}
.ch-postcard {
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(26, 21, 64, 0.06);
}
.ch-postcard h2 { font-size: 26px; }
.ch-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}
.ch-shot-lane {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr;
    gap: 12px;
    margin-top: 22px;
}
.ch-shot-lane img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(26, 21, 64, 0.1);
}
.ch-shot-lane img:nth-child(2) { margin-top: 18px; }

.ch-studio {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.ch-studio figure {
    margin: 0;
    max-width: 220px;
}
.ch-studio img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(26, 21, 64, 0.12);
}
.ch-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}
.ch-pillar {
    background: var(--sheet);
    border-left: 6px solid var(--leaf);
    border-radius: 4px 16px 16px 4px;
    padding: 16px 18px;
}
.ch-pillar:nth-child(2) { border-left-color: var(--berry); }
.ch-pillar:nth-child(3) { border-left-color: var(--grape); }
.ch-pillar:nth-child(4) { border-left-color: var(--sky); }
.ch-pillar h3 { font-size: 18px; }

.ch-trail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}
.ch-step {
    background: var(--sheet);
    border-radius: 20px;
    padding: 18px 18px 16px 68px;
    position: relative;
    border: 1px solid var(--line);
}
.ch-step b {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Fraunces, serif;
    background: var(--leaf);
}
.ch-step:nth-child(2) b { background: var(--berry); }
.ch-step:nth-child(3) b { background: var(--grape); }
.ch-step:nth-child(4) b { background: var(--sky); }
.ch-film {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}
.ch-film img {
    height: 170px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.ch-reach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    align-items: start;
}
.ch-reach figure {
    margin: 0;
    max-width: 240px;
}
.ch-reach img {
    width: 100%;
    border-radius: 50% 16px 50% 16px;
    box-shadow: 0 12px 24px rgba(26, 21, 64, 0.12);
}
.ch-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.ch-info i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef8ff;
    color: var(--grape);
    flex-shrink: 0;
}
.ch-info h3 { font-size: 16px; margin-bottom: 4px; }
.ch-info p { margin: 0; }

.ch-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff1f1;
    color: var(--danger);
    border: 1px solid #f3c4c4;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0 18px;
    font-weight: 700;
}
.ch-money {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 8px 0 18px;
}
.ch-money-btn {
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}
.ch-money-btn.is-on {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.ch-crate-list { display: grid; gap: 10px; }
.ch-pack {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 16px;
    padding: 10px 14px;
    cursor: pointer;
}
.ch-pack img { width: 52px; height: 52px; object-fit: contain; }
.ch-pack-title { font-weight: 800; }
.ch-pack-price {
    font-family: Fraunces, serif;
    font-size: 22px;
    color: var(--gold-deep);
}
.ch-pack.is-on {
    border-color: var(--gold-deep);
    background: #fff8e0;
    box-shadow: 0 8px 18px rgba(201, 146, 22, 0.18);
}
.ch-stall {
    margin-top: 24px;
    max-width: 620px;
    background: #fffdf7;
    border: 2px dashed rgba(196, 138, 74, 0.45);
    border-radius: 22px;
    padding: 22px;
}
.ch-field { margin-bottom: 14px; }
.ch-field label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 6px;
}
.ch-field input[type="text"],
.ch-field input[type="email"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
}
.ch-field input[readonly] { background: #f4f1ea; }
.ch-picked {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
}
.ch-pay-list { display: grid; gap: 8px; }
.ch-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
}
.ch-pay input { accent-color: var(--grape); }
.ch-pay.is-on { border-color: var(--grape); background: #f6eeff; }
.ch-pay.is-show { opacity: 0.72; cursor: default; }
.ch-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
}
.ch-err { color: var(--danger); font-size: 13px; font-weight: 700; min-height: 16px; display: block; }
.ch-load, .ch-empty { padding: 18px; color: var(--muted); }
.ch-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.ch-btn-gold {
    background: linear-gradient(135deg, var(--gold), #e2a31a);
    color: #3a2804 !important;
    width: 100%;
}
.ch-btn-ghost {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink) !important;
}

.ch-slip {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(26, 21, 64, 0.1);
}
.ch-slip-top {
    background: linear-gradient(90deg, #1a1540, #164a62);
    color: #fff;
    padding: 22px 24px;
}
.ch-slip table { width: 100%; border-collapse: collapse; }
.ch-slip th, .ch-slip td {
    text-align: left;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
}
.ch-slip th { width: 34%; color: var(--muted); }
.ch-total { font-family: Fraunces, serif; font-size: 22px; color: var(--gold-deep); }
.ch-count {
    font-family: Fraunces, serif;
    font-size: 42px;
    text-align: center;
    margin: 8px 0;
}
.ch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 22px 24px;
}
.ch-result {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    padding: 36px 24px;
    box-shadow: 0 18px 36px rgba(26, 21, 64, 0.1);
}
.ch-result i { font-size: 46px; margin-bottom: 10px; }
.ch-result.ok i { color: var(--ok); }
.ch-result.bad i { color: var(--danger); }
.ch-result .ch-actions { justify-content: center; padding: 8px 0 0; }

.ch-base {
    margin-top: auto;
    background:
        radial-gradient(circle at 12% 0%, rgba(62, 200, 232, 0.18), transparent 36%),
        linear-gradient(180deg, #1a1540 0%, #120e2c 100%);
    color: #e9e4f8;
}
.ch-base a { color: #c9eef7; }
.ch-base a:hover { color: var(--gold); }
.ch-base-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1fr;
    gap: 28px;
    padding: 36px 18px 28px;
}
.ch-base-sign img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 6px;
    margin-bottom: 10px;
}
.ch-base-legal { font-weight: 800; margin: 0 0 4px; }
.ch-base-game { color: #c9eef7; margin: 0; }
.ch-base h2 {
    font-size: 18px;
    color: var(--gold);
}
.ch-base-reach li,
.ch-base-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.ch-base-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ch-base-links a {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 6px 12px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}
.ch-base-shop {
    background: linear-gradient(135deg, var(--gold), #e2a31a) !important;
    color: #3a2804 !important;
}
.ch-base-strip {
    background: #0e0a22;
    color: #a8a0c6;
    padding: 12px 0;
    font-size: 13px;
}
.ch-base-strip p { margin: 0; }

@media (max-width: 900px) {
    .ch-home-board,
    .ch-studio,
    .ch-reach,
    .ch-base-grid,
    .ch-trail,
    .ch-pillars,
    .ch-film,
    .ch-shot-lane {
        grid-template-columns: 1fr;
    }
    .ch-banner-card { margin-top: -36px; }
    .ch-studio figure,
    .ch-reach figure { max-width: 180px; }
    .ch-reach { grid-template-columns: 1fr; }
    .ch-fold { display: inline-flex; align-items: center; justify-content: center; }
    .ch-lane {
        display: none;
        padding: 8px 0 14px;
    }
    .ch-lane.is-open { display: block; }
    .ch-lane ul {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }
    .ch-tag, .ch-tag-shop { transform: none; justify-content: center; }
    .ch-sign-copy strong { font-size: 15px; }
}
