:root {
    --bs-success: #183f30;
    --bs-success-rgb: 24, 63, 48;
    --bs-primary: #426a80;
    --bs-primary-rgb: 66, 106, 128;
    --bs-info: #dce8e8;
    --bs-info-rgb: 220, 232, 232;
    --bs-warning: #e5ba69;
    --bs-warning-rgb: 229, 186, 105;
    --bs-danger: #a74635;
    --bs-danger-rgb: 167, 70, 53;
    --sn-ink: #18251d;
    --sn-forest: #183f30;
    --sn-forest-deep: #102b21;
    --sn-leaf: #397253;
    --sn-leaf-soft: #e7efe8;
    --sn-paper: #f4f3ed;
    --sn-surface: #fffefa;
    --sn-line: #dce2d8;
    --sn-muted: #68746b;
    --sn-amber: #b97924;
    --sn-amber-soft: #f7eedc;
    --sn-red: #a74635;
    --sn-red-soft: #f6e9e5;
    --sn-radius: 12px;
    --sn-radius-small: 8px;
    --sn-shadow: 0 12px 32px rgba(25, 39, 29, .08);
    --sn-content: 1240px;
}

html {
    min-height: 100%;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--sn-ink);
    background: var(--sn-paper);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: var(--sn-forest);
    text-underline-offset: .18em;
}

a:hover {
    color: var(--sn-leaf);
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid #bf8a38;
    outline-offset: 3px;
}

.app-container {
    width: min(var(--sn-content), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 254, 250, .97);
    border-bottom: 1px solid var(--sn-line);
}

.navbar-songnam {
    min-height: 74px;
    padding-block: 10px;
    background: transparent;
    box-shadow: none;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-right: 36px;
    color: var(--sn-ink) !important;
    font-size: .94rem;
    font-weight: 750;
    letter-spacing: .045em;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #f8f5e8;
    background: var(--sn-forest);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.08rem;
    letter-spacing: -.08em;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--sn-muted);
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .09em;
}

.navbar-songnam .navbar-toggler {
    border-color: var(--sn-line);
}

.navbar-songnam .navbar-toggler-icon {
    filter: invert(.5);
}

.nav-link-custom {
    padding: 10px 13px !important;
    border-radius: 7px;
    color: #4c5b50 !important;
    font-size: .94rem;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}

.nav-link-custom:hover,
.nav-link-custom[aria-current="page"] {
    color: var(--sn-forest) !important;
    background: var(--sn-leaf-soft);
}

.site-nav-actions {
    gap: 8px;
}

.site-nav-actions .dropdown-menu {
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--sn-line);
    border-radius: 10px;
    box-shadow: var(--sn-shadow);
}

.site-nav-actions .dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
}

.site-nav-actions .dropdown-item:hover {
    background: var(--sn-leaf-soft);
}

.site-main {
    width: 100%;
    flex: 1;
    padding-block: 34px 64px;
}

.site-alerts:empty {
    display: none;
}

.site-alerts {
    margin-top: 18px;
}

.site-alerts .alert {
    margin-bottom: 8px;
    border: 1px solid var(--sn-line);
    border-radius: 8px;
    box-shadow: none !important;
}

.footer-songnam {
    margin-top: auto;
    padding: 34px 0 24px;
    color: #e5e9e4;
    background: var(--sn-forest-deep);
    border: 0 !important;
}

.footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    color: #fffefa;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.footer-meta {
    color: #c6d0c8;
    font-size: .88rem;
}

.footer-caption {
    color: #aebdb2;
    font-size: .8rem;
    text-align: right;
}

.fixed-hotline {
    position: fixed;
    z-index: 999;
    bottom: 22px;
    left: 22px;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: #fffefa !important;
    background: var(--sn-forest);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(16, 43, 33, .2);
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.fixed-hotline:hover {
    color: #fffefa !important;
    background: var(--sn-forest-deep);
    transform: translateY(-2px);
}

.hotline-pulse-circle {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--sn-forest);
    background: #fffefa;
    border-radius: 50%;
}

.hotline-details {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.2;
}

.hotline-details small {
    color: #d6e0d8;
    font-size: .72rem;
}

.hotline-details strong {
    font-size: .92rem;
    font-weight: 700;
}

/* Shared component language: quiet surfaces, restrained radius, clear borders. */
.card {
    overflow: hidden;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line) !important;
    border-radius: var(--sn-radius) !important;
    box-shadow: none !important;
}

.card-header {
    border-bottom: 1px solid var(--sn-line);
}

.rounded-4 {
    border-radius: var(--sn-radius) !important;
}

.btn {
    min-height: 44px;
    padding: 9px 15px;
    border-radius: 7px;
    font-weight: 650;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-success,
.btn-primary {
    color: #fffefa;
    background: var(--sn-forest);
    border-color: var(--sn-forest);
}

.btn-success:hover,
.btn-primary:hover {
    color: #fffefa;
    background: var(--sn-forest-deep);
    border-color: var(--sn-forest-deep);
}

.btn-outline-success,
.btn-outline-primary {
    color: var(--sn-forest);
    border-color: #9aafa0;
}

.btn-outline-success:hover,
.btn-outline-primary:hover {
    color: #fffefa;
    background: var(--sn-forest);
    border-color: var(--sn-forest);
}

.btn-warning {
    color: #342817;
    background: #e5ba69;
    border-color: #d4a64e;
}

.btn-warning:hover {
    color: #241a0f;
    background: #d9a94f;
    border-color: #c99234;
}

.btn-danger {
    background: var(--sn-red);
    border-color: var(--sn-red);
}

.form-control,
.form-select,
.input-group-text {
    min-height: 44px;
    color: var(--sn-ink);
    background-color: #fffefa;
    border-color: #cbd4ca;
    border-radius: 7px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--sn-leaf);
    box-shadow: 0 0 0 3px rgba(57, 114, 83, .17);
}

.form-label {
    color: #35453a;
    font-size: .9rem;
    font-weight: 650;
}

.validation-summary-valid {
    display: none;
}

.form-text,
.text-muted {
    color: var(--sn-muted) !important;
}

.table {
    --bs-table-color: var(--sn-ink);
    --bs-table-border-color: var(--sn-line);
    margin-bottom: 0;
}

.table thead th {
    color: #526056;
    background: #f3f5ef;
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table td,
.table th {
    padding: 13px 12px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    --bs-table-accent-bg: #f7f8f3;
}

.badge {
    padding: .45em .72em;
    border-radius: 5px;
    font-weight: 650;
    letter-spacing: .01em;
}

.modal-content {
    overflow: hidden;
    border: 1px solid var(--sn-line) !important;
    border-radius: 13px !important;
    box-shadow: 0 24px 60px rgba(17, 35, 25, .22) !important;
}

.modal-header {
    padding: 18px 22px;
}

.modal-body {
    padding: 22px;
}

.modal-footer {
    padding: 14px 22px;
}

.countdown-container {
    padding: 16px;
    text-align: center;
    background: var(--sn-red-soft);
    border: 1px solid #e7c7be;
    border-radius: 9px;
}

.countdown-digits {
    color: var(--sn-red);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 2.2rem;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    letter-spacing: .04em;
}

.text-success {
    color: var(--sn-forest) !important;
}

.border-success {
    border-color: #72917c !important;
}

.text-primary {
    color: #315c72 !important;
}

.text-info {
    color: #335b60 !important;
}

.text-warning {
    color: #704812 !important;
}

.text-danger {
    color: var(--sn-red) !important;
}

/* Home page */
.home-hero {
    display: grid;
    min-height: 430px;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    overflow: hidden;
    background: var(--sn-forest);
    border-radius: 14px;
}

.home-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(30px, 5vw, 66px);
    color: #fffefa;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #c5d9bf;
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 550px;
    margin: 0 0 16px;
    color: #fffefa;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.3vw, 4rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.home-hero-copy > p {
    max-width: 460px;
    margin-bottom: 26px;
    color: #d9e3db;
    font-size: 1.04rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero .btn-primary {
    color: var(--sn-forest-deep);
    background: #e6c57d;
    border-color: #e6c57d;
}

.home-hero .btn-primary:hover {
    color: var(--sn-forest-deep);
    background: #f0d79f;
    border-color: #f0d79f;
}

.home-hero .btn-outline-light:hover {
    color: var(--sn-forest-deep);
}

.home-hero-figure {
    position: relative;
    min-height: 430px;
    margin: 0;
}

.home-hero-figure::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 63, 48, .42), transparent 42%), linear-gradient(0deg, rgba(10, 28, 20, .28), transparent 48%);
    content: "";
    pointer-events: none;
}

.home-hero-figure img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center 58%;
}

.hero-photo-caption {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 20px;
    left: 24px;
    color: #fffefa;
    font-size: .82rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

.home-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 0 54px;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 10px;
}

.home-fact {
    padding: 16px 22px;
}

.home-fact + .home-fact {
    border-left: 1px solid var(--sn-line);
}

.home-fact strong {
    display: block;
    color: var(--sn-forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.36rem;
    font-weight: 700;
}

.home-fact span {
    color: var(--sn-muted);
    font-size: .84rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-heading h2,
.page-heading h1 {
    margin: 0;
    color: var(--sn-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.025em;
}

.section-heading p {
    max-width: 520px;
    margin: 6px 0 0;
    color: var(--sn-muted);
}

.pitch-card {
    height: 100%;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 10px;
    transition: border-color .18s ease, transform .18s ease;
}

.pitch-card:hover {
    border-color: #99ad9d;
    transform: translateY(-2px);
}

.pitch-card-image {
    width: 100%;
    height: 172px;
    object-fit: cover;
}

.pitch-card-body {
    padding: 18px;
}

.pitch-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pitch-category {
    color: var(--sn-leaf);
    font-size: .73rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pitch-price {
    color: var(--sn-forest);
    font-size: .94rem;
    font-weight: 750;
    white-space: nowrap;
}

.pitch-card h3 {
    margin: 0 0 7px;
    font-size: 1.1rem;
    font-weight: 700;
}

.pitch-card p {
    min-height: 42px;
    margin: 0 0 16px;
    color: var(--sn-muted);
    font-size: .9rem;
}

.home-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 54px;
    border-top: 1px solid var(--sn-line);
    border-bottom: 1px solid var(--sn-line);
}

.process-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 22px 20px 22px 0;
}

.process-step + .process-step {
    padding-left: 20px;
    border-left: 1px solid var(--sn-line);
}

.process-number {
    color: var(--sn-amber);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1;
}

.process-step h3 {
    margin: 0 0 4px;
    font-size: .98rem;
    font-weight: 700;
}

.process-step p {
    margin: 0;
    color: var(--sn-muted);
    font-size: .86rem;
}

/* Booking calendar */
.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.page-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--sn-muted);
}

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.legend-item {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    color: #46554a;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
}

.state-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: currentColor;
    border-radius: 50%;
}

.legend-free .state-dot,
.slot-state-free .state-dot {
    color: var(--sn-leaf);
}

.legend-waiting .state-dot,
.slot-state-waiting .state-dot {
    color: var(--sn-amber);
}

.legend-full .state-dot,
.slot-state-full .state-dot {
    color: var(--sn-red);
}

.pitch-tabs {
    display: flex;
    gap: 8px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--sn-line);
}

.pitch-tab {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 15px;
    color: #4c5b50;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.pitch-tab:hover {
    color: var(--sn-forest);
    background: #e8eee7;
}

.pitch-tab.active {
    color: #fffefa;
    background: var(--sn-forest);
}

.date-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0 24px;
}

.date-toolbar-label {
    flex: 0 0 auto;
    color: #47564b;
    font-size: .88rem;
    font-weight: 700;
}

.date-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
}

.date-option {
    display: grid;
    min-width: 74px;
    min-height: 58px;
    place-content: center;
    padding: 7px 11px;
    color: #506055;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 7px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.date-option small {
    color: var(--sn-muted);
    font-size: .72rem;
}

.date-option.active {
    color: #fffefa;
    background: var(--sn-forest);
    border-color: var(--sn-forest);
}

.date-option.active small {
    color: #d5e2d8;
}

.pitch-board {
    margin-bottom: 22px;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 11px;
}

.pitch-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--sn-line);
}

.pitch-board-header h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 750;
}

.pitch-board-header p {
    margin: 3px 0 0;
    color: var(--sn-muted);
    font-size: .84rem;
}

.pitch-board-price {
    color: var(--sn-forest);
    font-size: 1rem;
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}

.pitch-board-price small {
    display: block;
    color: var(--sn-muted);
    font-size: .72rem;
    font-weight: 500;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
}

.slot-card {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fffefa;
    border: 1px solid var(--sn-line);
    border-left: 3px solid #a5b4a8;
    border-radius: 7px;
}

.slot-card--free {
    border-left-color: var(--sn-leaf);
}

.slot-card--waiting {
    background: #fffdf8;
    border-left-color: var(--sn-amber);
}

.slot-card--closed {
    background: #fcfaf5;
    border-left-color: var(--sn-amber);
}

.slot-card--full {
    background: #faf7f5;
    border-left-color: var(--sn-red);
}

.slot-time {
    color: var(--sn-ink);
    font-size: 1rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.slot-duration {
    margin-top: 1px;
    color: var(--sn-muted);
    font-size: .76rem;
}

.slot-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 12px 0 10px;
    color: #4c5b50;
    font-size: .78rem;
    font-weight: 700;
}

.slot-team {
    margin: -5px 0 10px;
    color: #47564b;
    font-size: .81rem;
    overflow-wrap: anywhere;
}

.slot-card .btn {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 7px 10px;
    font-size: .81rem;
}

.slot-closed-note {
    margin-top: auto;
    padding: 7px 9px;
    color: #70451a;
    background: var(--sn-amber-soft);
    border-radius: 6px;
    font-size: .76rem;
}

.booking-summary {
    padding: 14px;
    background: #f3f5ef;
    border: 1px solid var(--sn-line);
    border-radius: 8px;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
}

.booking-summary-row + .booking-summary-row {
    border-top: 1px solid #e0e5dc;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.choice-option {
    position: relative;
    display: block;
    padding: 13px;
    background: #fffefa;
    border: 1px solid var(--sn-line);
    border-radius: 8px;
    cursor: pointer;
}

.choice-option:has(input:checked) {
    background: var(--sn-leaf-soft);
    border-color: var(--sn-leaf);
}

.choice-option input {
    margin-right: 5px;
}

.match-summary {
    padding: 14px;
    background: #f6f2e9;
    border-left: 3px solid var(--sn-amber);
    border-radius: 7px;
}

.empty-state {
    padding: 44px 24px;
    color: var(--sn-muted);
    background: var(--sn-surface);
    border: 1px dashed #bcc8bc;
    border-radius: 10px;
    text-align: center;
}

.empty-state h2 {
    color: var(--sn-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
    gap: 16px;
}

.payment-panel,
.receipt-panel {
    padding: 24px;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 10px;
}

.payment-panel-heading {
    margin-bottom: 18px;
}

.payment-panel-heading .eyebrow {
    margin-bottom: 5px;
}

.payment-panel-heading h2,
.receipt-heading h2 {
    margin: 0 0 5px;
    color: var(--sn-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.38rem;
    font-weight: 600;
}

.payment-panel-heading p {
    margin: 0;
    color: var(--sn-muted);
    font-size: .88rem;
}

.payment-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.payment-qr .payment-panel-heading {
    align-self: stretch;
    text-align: left;
}

.payment-qr img {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 1;
    margin: 2px auto 16px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--sn-line);
    border-radius: 8px;
}

.transfer-details {
    margin: 0;
}

.transfer-details > div {
    display: grid;
    grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sn-line);
}

.transfer-details > div:last-child {
    border-bottom: 0;
}

.transfer-details dt {
    color: var(--sn-muted);
    font-size: .84rem;
    font-weight: 500;
}

.transfer-details dd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: var(--sn-ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.transfer-details code {
    padding: 4px 7px;
    color: var(--sn-forest-deep);
    background: #eef2eb;
    border-radius: 4px;
    font-size: .83rem;
}

.transfer-amount {
    color: var(--sn-red) !important;
    font-size: 1.12rem;
    font-variant-numeric: tabular-nums;
}

.payment-note {
    margin-top: 18px;
    padding: 13px 15px;
    color: #47564b;
    background: #f1f4ef;
    border-left: 3px solid var(--sn-leaf);
    border-radius: 5px;
    font-size: .86rem;
}

.payment-note--cancelled {
    color: #693c31;
    background: var(--sn-red-soft);
    border-left-color: var(--sn-red);
}

.receipt-panel {
    padding: 22px 24px;
}

.receipt-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sn-line);
}

.receipt-heading .eyebrow {
    margin-bottom: 4px;
}

.order-status {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 5px 10px;
    color: var(--sn-forest);
    background: var(--sn-leaf-soft);
    border-radius: 5px;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.order-status--ChoCoc {
    color: #704b17;
    background: var(--sn-amber-soft);
}

.order-status--DaHuy {
    color: #713d32;
    background: var(--sn-red-soft);
}

.receipt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 22px;
    margin: 6px 0 0;
}

.receipt-grid > div {
    padding: 12px 0;
    border-bottom: 1px solid #e8ebe5;
}

.receipt-grid dt {
    margin-bottom: 3px;
    color: var(--sn-muted);
    font-size: .77rem;
    font-weight: 600;
}

.receipt-grid dd {
    margin: 0;
    color: var(--sn-ink);
    font-size: .91rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.receipt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.demo-credentials {
    padding: 12px 14px;
    color: #526056;
    background: #f3f5ef;
    border: 1px solid var(--sn-line);
    border-radius: 7px;
    font-size: .84rem;
}

.demo-credentials summary {
    color: var(--sn-forest);
    font-weight: 700;
    cursor: pointer;
}

.demo-credentials code {
    color: var(--sn-ink);
}

/* Authentication, profile, admin and settings pages */
.auth-layout {
    display: grid;
    max-width: 980px;
    min-height: 590px;
    grid-template-columns: .88fr 1.12fr;
    margin: 18px auto;
    overflow: hidden;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 13px;
}

.auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 100%;
    padding: 34px;
    color: #fffefa;
    background: var(--sn-forest);
}

.auth-aside::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 36, 26, .88), rgba(13, 36, 26, .06) 78%);
    content: "";
}

.auth-aside img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-aside-content {
    position: relative;
    z-index: 1;
}

.auth-aside h1 {
    margin: 0 0 10px;
    color: #fffefa;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    line-height: 1.08;
}

.auth-aside p {
    max-width: 330px;
    margin: 0;
    color: #e0e8e1;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    padding: clamp(26px, 5vw, 54px);
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
    margin: auto;
}

.auth-form-inner h2 {
    margin: 0 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 600;
}

.auth-form-inner > p {
    margin: 0 0 25px;
    color: var(--sn-muted);
}

.profile-page,
.admin-dashboard,
.customer-admin-page,
.settings-page {
    color: var(--sn-ink);
}

.profile-page .progress {
    height: 9px;
    background: #e6eae3;
    border-radius: 20px;
}

.profile-page .progress-bar {
    background: var(--sn-leaf) !important;
}

.admin-dashboard .card,
.customer-admin-page .card,
.settings-page .card,
.profile-page .card {
    border-radius: 10px !important;
}

.admin-dashboard .card-header.bg-danger,
.admin-dashboard .modal-header.bg-warning,
.settings-page .card-header.bg-danger {
    color: #fffefa !important;
    background: var(--sn-forest) !important;
}

.admin-dashboard .btn-sm,
.customer-admin-page .btn-sm {
    min-height: 36px;
    padding: 6px 10px;
    font-size: .8rem;
}

.admin-dashboard .table-responsive,
.customer-admin-page .table-responsive,
.profile-page .table-responsive {
    border: 1px solid var(--sn-line);
    border-radius: 8px;
}

.admin-dashboard .shadow-sm,
.customer-admin-page .shadow-sm,
.settings-page .shadow-sm,
.profile-page .shadow-sm {
    box-shadow: none !important;
}

.admin-dashboard h2,
.customer-admin-page h2,
.settings-page h2,
.profile-page h2,
.profile-page h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600 !important;
    letter-spacing: -.02em;
}

@media (max-width: 991.98px) {
    .navbar-brand-logo {
        margin-right: 12px;
    }

    .navbar-songnam .navbar-collapse {
        padding: 12px 0 6px;
    }

    .site-nav-actions {
        align-items: stretch !important;
        padding-top: 10px;
        border-top: 1px solid var(--sn-line);
    }

    .home-hero {
        grid-template-columns: 1fr 1fr;
    }

    .slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .app-container {
        width: min(100% - 28px, var(--sn-content));
    }

    .site-main {
        padding-block: 24px 50px;
    }

    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        padding: 34px 26px;
    }

    .home-hero-figure,
    .home-hero-figure img {
        min-height: 250px;
        max-height: 290px;
    }

    .home-hero-figure::after {
        background: linear-gradient(0deg, rgba(10, 28, 20, .36), transparent 62%);
    }

    .home-facts {
        grid-template-columns: 1fr;
        margin: 12px 0 42px;
    }

    .home-fact {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
    }

    .home-fact + .home-fact {
        border-top: 1px solid var(--sn-line);
        border-left: 0;
    }

    .home-fact strong {
        font-size: 1.14rem;
    }

    .section-heading,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-process {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 16px 0;
    }

    .process-step + .process-step {
        padding-left: 0;
        border-top: 1px solid var(--sn-line);
        border-left: 0;
    }

    .pitch-tabs {
        overflow-x: auto;
    }

    .pitch-tab {
        flex: 0 0 auto;
    }

    .date-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
    }

    .slot-card {
        min-height: 142px;
        padding: 11px;
    }

    .pitch-board-header {
        align-items: flex-start;
        padding: 14px;
    }

    .pitch-board-price {
        font-size: .9rem;
    }

    .auth-layout {
        min-height: auto;
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .receipt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-aside {
        min-height: 190px;
        padding: 24px;
    }

    .auth-aside h1 {
        font-size: 1.85rem;
    }

    .auth-form-panel {
        padding: 26px 22px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-caption {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 16px;
    }

    .fixed-hotline {
        bottom: 12px;
        left: 12px;
        min-height: 44px;
        padding: 7px 12px;
    }

    .hotline-details small {
        display: none;
    }

    .pitch-card-image {
        height: 145px;
    }

    .slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .receipt-grid {
        grid-template-columns: 1fr;
    }

    .receipt-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .receipt-actions {
        justify-content: stretch;
    }

    .receipt-actions .btn {
        flex: 1;
    }

    .table td,
    .table th {
        padding: 10px 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Song Nam club identity: ink, chalk, turf and a single lime accent. */
:root {
    --bs-success: #214c39;
    --bs-success-rgb: 33, 76, 57;
    --bs-primary: #35647d;
    --bs-primary-rgb: 53, 100, 125;
    --bs-warning: #c6d686;
    --bs-warning-rgb: 198, 214, 134;
    --sn-ink: #17221c;
    --sn-forest: #214c39;
    --sn-forest-deep: #10251c;
    --sn-leaf: #55733c;
    --sn-leaf-soft: #e9efd9;
    --sn-paper: #f1efe6;
    --sn-surface: #fffdf7;
    --sn-line: #d8dccf;
    --sn-muted: #626b63;
    --sn-amber: #b76f4d;
    --sn-amber-soft: #f5e6dc;
    --sn-radius: 10px;
    --sn-radius-small: 6px;
    --sn-shadow: 0 12px 28px rgba(16, 37, 28, .08);
    --sn-lime: #c6d686;
}

body {
    color: var(--sn-ink);
    background: var(--sn-paper);
    font-family: "Avenir Next", system-ui, "Segoe UI", sans-serif;
    letter-spacing: -.008em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Avenir Next", system-ui, "Segoe UI", sans-serif !important;
    letter-spacing: -.04em;
}

.site-header {
    background: var(--sn-forest-deep);
    border-bottom: 1px solid rgba(234, 239, 217, .15);
}

.navbar-songnam {
    min-height: 70px;
}

.navbar-brand-logo {
    color: #fffdf7 !important;
}

.brand-mark {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
    border-radius: 10px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: -.08em;
}

.brand-copy small {
    color: #aebdb1;
}

.nav-link-custom {
    color: #dce5dd !important;
    border-radius: 5px;
}

.nav-link-custom:hover,
.nav-link-custom[aria-current="page"] {
    color: var(--sn-lime) !important;
    background: rgba(215, 235, 118, .09);
}

.navbar-songnam .navbar-toggler {
    border-color: rgba(255, 255, 255, .28);
}

.navbar-songnam .navbar-toggler-icon {
    filter: invert(1);
}

.site-nav-actions .btn-success {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
    border-color: var(--sn-lime);
}

.site-nav-actions .btn-success:hover {
    color: var(--sn-forest-deep);
    background: #d6e2a1;
    border-color: #d6e2a1;
}

.fixed-hotline {
    background: var(--sn-forest-deep);
    border-color: rgba(215, 235, 118, .3);
    border-radius: 7px;
}

.hotline-pulse-circle {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
    border-radius: 7px;
}

.home-hero {
    min-height: 448px;
    background: var(--sn-forest-deep);
    border-radius: 10px;
}

.home-hero-copy {
    position: relative;
    isolation: isolate;
    padding: clamp(34px, 5.2vw, 72px);
}

.home-hero-copy::after {
    position: absolute;
    z-index: -1;
    right: -116px;
    bottom: -186px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(215, 235, 118, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(215, 235, 118, .035), 0 0 0 84px rgba(215, 235, 118, .025);
    content: "";
    pointer-events: none;
}

.home-hero .eyebrow {
    color: var(--sn-lime);
    letter-spacing: .16em;
}

.home-hero h1 {
    max-width: 540px;
    font-family: inherit;
    font-size: clamp(3rem, 5vw, 4.85rem);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .98;
}

.home-hero h1 span {
    color: var(--sn-lime);
}

.home-hero-copy > p {
    max-width: 420px;
    color: #d0dbd1;
    font-size: 1rem;
}

.home-hero .btn-primary {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
    border-color: var(--sn-lime);
}

.home-hero .btn-primary:hover {
    color: var(--sn-forest-deep);
    background: #d6e2a1;
    border-color: #d6e2a1;
}

.home-hero .btn-outline-light {
    border-color: rgba(255, 255, 255, .45);
}

.home-hero .btn-outline-light:hover {
    color: var(--sn-forest-deep);
    background: #fffdf7;
}

.hero-photo-caption {
    right: auto;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    background: rgba(12, 29, 21, .8);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 5px;
    font-size: .76rem;
    letter-spacing: .01em;
}

.hero-caption-index {
    color: var(--sn-lime);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .12em;
}

.home-facts {
    gap: 12px;
    margin: 14px 0 58px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.home-fact,
.home-fact + .home-fact {
    padding: 15px 20px;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-left: 3px solid var(--sn-lime);
    border-radius: 7px;
}

.home-fact strong {
    color: var(--sn-forest-deep);
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.05em;
}

.home-fact span {
    font-size: .8rem;
}

.section-heading h2,
.page-heading h1 {
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -.055em;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section-heading .eyebrow {
    color: var(--sn-leaf) !important;
}

.pitch-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pitch-category-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--sn-surface);
    border: 1px solid var(--sn-line);
    border-radius: 9px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pitch-category-card:hover {
    border-color: #9eaa8a;
    box-shadow: 0 12px 25px rgba(16, 37, 28, .08);
    transform: translateY(-3px);
}

.pitch-category-visual {
    position: relative;
    display: grid;
    min-height: 188px;
    align-items: center;
    justify-items: center;
    overflow: hidden;
    padding: 26px 22px 14px;
    color: var(--sn-lime);
    background: var(--sn-forest-deep);
}

.pitch-category-visual--San7 {
    color: #f3eee0;
    background: #33533d;
}

.pitch-category-visual--San11 {
    color: var(--sn-forest-deep);
    background: #d9e8a0;
}

.pitch-visual-label {
    position: absolute;
    top: 14px;
    left: 17px;
    color: currentColor;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    opacity: .88;
}

.pitch-visual-count {
    position: absolute;
    top: 4px;
    right: 13px;
    color: currentColor;
    font-size: 2.8rem;
    font-weight: 850;
    letter-spacing: -.1em;
    line-height: 1;
    opacity: .14;
}

.pitch-field-diagram {
    width: 100%;
    max-width: 310px;
    height: 112px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    opacity: .88;
}

.pitch-field-diagram .field-mark {
    fill: currentColor;
    stroke: none;
}

.pitch-category-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 19px 16px;
}

.pitch-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.pitch-category-heading h3 {
    margin: 0;
    font-family: inherit;
    font-size: 1.17rem;
    font-weight: 700;
    letter-spacing: -.045em;
}

.pitch-count-badge {
    flex: 0 0 auto;
    padding: 4px 8px;
    color: var(--sn-leaf);
    background: var(--sn-leaf-soft);
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 750;
}

.pitch-options {
    margin: 0 0 13px;
    padding: 0;
    list-style: none;
}

.pitch-option {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--sn-line);
    color: #4c5850;
    font-size: .78rem;
    line-height: 1.4;
}

.pitch-option strong {
    flex: 0 0 auto;
    color: var(--sn-forest);
    font-size: .76rem;
    font-variant-numeric: tabular-nums;
}

.pitch-category-action {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 10px 13px;
    color: #fffdf7;
    background: var(--sn-forest);
    border-radius: 5px;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}

.pitch-category-action:hover {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
}

.pitch-category-action span:last-child {
    font-size: 1.1rem;
}

.process-number {
    color: var(--sn-amber);
    font-family: inherit;
    font-size: 1.18rem;
    font-weight: 850;
    letter-spacing: -.07em;
}

.process-step h3 {
    letter-spacing: -.025em;
}

.venue-contact-section {
    margin-top: 60px !important;
}

.venue-map-image {
    display: block;
    min-height: 320px;
    max-height: 390px;
    object-fit: cover;
    object-position: center 78%;
    border: 1px solid var(--sn-line);
    border-radius: 8px;
}

.venue-contact-panel {
    min-height: 320px;
    color: #f7f5ec;
    background: var(--sn-forest-deep);
    border: 1px solid var(--sn-forest-deep);
    border-radius: 8px;
}

.venue-contact-panel .eyebrow {
    color: var(--sn-lime);
}

.venue-contact-panel h2 {
    max-width: 360px;
    color: #fffdf7;
    font-family: inherit;
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    font-weight: 750;
    letter-spacing: -.055em;
}

.venue-contact-panel .text-muted,
.venue-contact-panel .small {
    color: #c8d2ca !important;
}

.venue-contact-action {
    color: var(--sn-forest-deep);
    background: var(--sn-lime);
    border-color: var(--sn-lime);
}

.venue-contact-action:hover {
    color: var(--sn-forest-deep);
    background: #d6e2a1;
    border-color: #d6e2a1;
}

.auth-layout,
.payment-panel,
.receipt-panel,
.pitch-board,
.countdown-container,
.modal-content {
    border-radius: 8px !important;
}

.auth-aside {
    background: var(--sn-forest-deep);
}

.auth-aside::before {
    background: linear-gradient(0deg, rgba(11, 29, 21, .9), rgba(11, 29, 21, .08) 80%);
}

.profile-page h2,
.admin-dashboard h2,
.customer-admin-page h2,
.settings-page h2 {
    font-family: "Avenir Next", system-ui, "Segoe UI", sans-serif !important;
    font-weight: 720 !important;
}

@media (max-width: 991.98px) {
    .pitch-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-facts {
        gap: 8px;
    }
}

@media (max-width: 767.98px) {
    .pitch-category-grid {
        grid-template-columns: 1fr;
    }

    .pitch-category-card {
        display: grid;
        grid-template-columns: minmax(135px, .76fr) minmax(0, 1.24fr);
    }

    .pitch-category-visual {
        min-height: 100%;
        padding: 25px 10px 12px;
    }

    .pitch-visual-label {
        top: 12px;
        left: 12px;
        font-size: .55rem;
    }

    .pitch-visual-count {
        top: 20px;
        right: 10px;
        font-size: 2rem;
    }

    .pitch-field-diagram {
        height: 92px;
    }

    .pitch-category-body {
        padding: 15px;
    }

    .pitch-category-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        min-height: 0;
    }

    .home-hero-copy {
        padding: 30px 23px;
    }

    .home-hero h1 {
        font-size: clamp(2.75rem, 13vw, 3.55rem);
    }

    .home-hero-figure,
    .home-hero-figure img {
        min-height: 230px;
        max-height: 260px;
    }

    .home-facts {
        gap: 7px;
        margin-bottom: 42px;
    }

    .home-fact,
    .home-fact + .home-fact {
        border-top: 1px solid var(--sn-line);
        border-left: 3px solid var(--sn-lime);
    }

    .pitch-category-card {
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .pitch-category-visual {
        padding-inline: 5px;
    }

    .pitch-visual-label {
        max-width: 72px;
        line-height: 1.3;
    }

    .pitch-visual-count {
        top: 40px;
        right: 8px;
        font-size: 1.6rem;
    }

    .pitch-field-diagram {
        height: 78px;
    }

    .venue-map-image {
        min-height: 230px;
        max-height: 270px;
    }

    .venue-contact-panel {
        min-height: 270px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
