
:root {
    color-scheme: light;
    --bg: #f7f2e8;
    --surface: #fffcf5;
    --surface-2: #f0eadf;
    --surface-3: #e7dfd2;
    --text: #10233b;
    --muted: #536071;
    --faint: #747d88;
    --line: #c9c2b5;
    --line-strong: #10233b;
    --accent: #f05a28;
    --accent-soft: rgba(240, 90, 40, 0.12);
    --accent-text: #fffaf0;
    --danger: #ba352c;
    --success: #16704a;
    --kakao: #fee500;
    --kakao-hover: #f3dc00;
    --shadow: 0 24px 70px rgba(16, 35, 59, 0.12);
    --radius: 0;
    --page-space: clamp(18px, 3.6vw, 56px);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(90deg, transparent calc(100% - 1px), rgba(16, 35, 59, 0.045) 1px) 0 0 / 80px 100%,
        var(--bg);
    color: var(--text);
    font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    word-break: keep-all;
}

[hidden] {
    display: none !important;
}

button,
input,
a {
    font: inherit;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 9px 13px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Login */
.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 430px);
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(32, 32, 31, 0.94);
    box-shadow: var(--shadow);
    text-align: center;
}

.login-mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface-2);
    font-size: 28px;
}

.login-card h1 {
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.login-card > p {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 15px;
}

#kakaoLoginBtn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--kakao);
    color: #191919;
    cursor: pointer;
    font-weight: 750;
    transition: background 140ms ease, transform 140ms ease;
}

#kakaoLoginBtn::before {
    content: "●";
    font-size: 13px;
}

#kakaoLoginBtn:hover:not(:disabled) {
    background: var(--kakao-hover);
    transform: translateY(-1px);
}

#kakaoLoginBtn:disabled {
    cursor: wait;
    opacity: 0.65;
}

.auth-status {
    min-height: 44px;
    margin: 15px 0 -14px !important;
    color: var(--muted) !important;
    font-size: 13px !important;
    line-height: 1.5;
}

/* Shared shell */
.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(23, 23, 23, 0.86);
    backdrop-filter: blur(18px);
}

.brand-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.brand-link span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-dot {
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

#logoutBtn {
    min-height: 34px;
    flex: none;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
}

#logoutBtn:hover {
    border-color: var(--line-strong);
    background: var(--surface-3);
}

.page-root {
    min-height: calc(100vh - 58px);
}

.page-wrap {
    width: min(calc(100% - 48px), 1180px);
    margin: 0 auto;
    padding: 70px 0 130px;
}

.page-wrap.narrow {
    width: min(calc(100% - 48px), 820px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 42px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}

.back-link:hover {
    color: var(--text);
}

.page-hero {
    margin-bottom: 42px;
}

.page-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--surface-3), var(--surface));
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
    font-size: 39px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-hero h1,
.home-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.13;
    letter-spacing: -0.05em;
}

.page-hero p,
.home-hero p {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.snapshot-note {
    margin-top: 16px !important;
    color: var(--faint) !important;
    font-size: 13px !important;
}

/* Home */
.home-hero {
    max-width: 760px;
    padding: 34px 0 52px;
}

.home-hero .home-kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hub-card {
    min-height: 138px;
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(32, 32, 31, 0.72);
    color: var(--text);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hub-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: var(--surface-2);
}

.hub-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--surface-3);
    font-size: 28px;
}

.hub-card strong {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    line-height: 1.35;
}

.hub-card small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.hub-arrow {
    color: var(--faint);
    font-size: 21px;
}

.comments-section {
    margin-top: 62px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.section-heading {
    margin: 0 0 18px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.comments-frame {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: var(--radius);
    background: #fff;
}

/* Controls and stats */
.toolbar {
    margin: 0 0 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.search-field {
    width: min(100%, 430px);
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.search-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
}

.search-field input::placeholder {
    color: var(--faint);
}

.result-count {
    color: var(--muted);
    font-size: 14px;
}

.result-count strong {
    color: var(--text);
}

.data-section + .data-section {
    margin-top: 50px;
}

.data-section-title {
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
}

.count-badge {
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    text-align: center;
}

/* Tables */
.data-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(32, 32, 31, 0.74);
}

.data-table {
    width: 100%;
    min-width: 1030px;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th,
.data-table td {
    padding: 14px 13px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

.data-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #242423;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.venue-name {
    min-width: 145px;
    color: var(--text);
    font-weight: 750;
}

.menu-cell {
    min-width: 180px;
}

.address-cell {
    min-width: 220px;
    color: var(--muted);
}

.venue-address {
    display: block;
    line-height: 1.5;
}

.venue-map-link {
    color: var(--accent);
    font-weight: 760;
    text-decoration: none;
}

.venue-map-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.venue-map-action {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: fit-content;
    margin-top: 5px;
    font-size: 12px;
}

.drive-time-badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 4px 8px;
    border: 1px solid rgba(236, 168, 37, 0.34);
    border-radius: 999px;
    background: rgba(236, 168, 37, 0.09);
    color: var(--accent);
    font-size: 11px;
    font-weight: 760;
    line-height: 1.2;
    white-space: nowrap;
}

.phone-cell {
    white-space: nowrap;
}

.score-cell {
    min-width: 230px;
}

.vote-unavailable {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2px 8px;
    color: var(--muted);
}

.vote-unavailable .score {
    grid-row: span 2;
    color: var(--faint);
}

.vote-unavailable strong {
    color: var(--text);
    font-size: 12px;
}

.vote-unavailable small {
    color: var(--faint);
    font-size: 11px;
}

.note-cell {
    min-width: 190px;
    white-space: pre-line;
}

.hours-cell {
    min-width: 210px;
    color: var(--muted);
    white-space: pre-line;
}

.phone-link,
.text-link {
    color: var(--accent);
    text-decoration: none;
}

.phone-link:hover,
.text-link:hover {
    text-decoration: underline;
}

.faint {
    color: var(--faint);
}

.restaurant-source-note {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.restaurant-source-note p {
    margin: 0;
}

.restaurant-source-note p + p {
    margin-top: 4px;
}

.restaurant-source-note strong {
    color: var(--text);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d8d6d2;
    font-size: 11px;
    line-height: 1.45;
}

.score {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
}

.score.positive {
    color: var(--success);
}

.score.negative {
    color: var(--danger);
}

.score-detail {
    display: block;
    margin-top: 4px;
    color: var(--faint);
    font-size: 10px;
}

.vote-control {
    min-width: 204px;
    display: grid;
    gap: 8px;
}

.vote-summary {
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vote-summary .score-detail {
    margin: 0;
}

.vote-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.vote-button {
    min-height: 44px;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 720;
    line-height: 1;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.vote-button strong {
    min-width: 13px;
    color: var(--text);
    font-size: 11px;
    text-align: right;
}

.vote-button:hover:not(:disabled) {
    border-color: var(--line-strong);
    background: var(--surface-3);
    color: var(--text);
}

.vote-button.recommend[aria-pressed="true"] {
    border-color: rgba(115, 215, 160, 0.55);
    background: rgba(115, 215, 160, 0.14);
    color: var(--success);
}

.vote-button.not-recommend[aria-pressed="true"] {
    border-color: rgba(255, 142, 135, 0.55);
    background: rgba(255, 142, 135, 0.13);
    color: var(--danger);
}

.vote-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.vote-control.is-loading .vote-button {
    cursor: wait;
}

.vote-status {
    min-height: 16px;
    display: block;
    color: var(--faint);
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
}

.mobile-cards {
    display: none;
}

/* Content cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.content-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(32, 32, 31, 0.78);
}

.card-topline {
    margin-bottom: 16px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.card-topline h2,
.card-topline h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.status-pill {
    flex: none;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(115, 215, 160, 0.13);
    color: var(--success);
    font-size: 11px;
    font-weight: 800;
}

.status-pill.done {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.status-pill.sell {
    background: rgba(115, 215, 160, 0.13);
    color: var(--success);
}

.status-pill.buy {
    background: rgba(255, 193, 105, 0.13);
    color: #ffc169;
}

.price {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 22px;
    font-weight: 850;
}

.meta-list {
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.meta-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
}

.meta-row dt {
    color: var(--faint);
    font-size: 12px;
    font-weight: 700;
}

.meta-row dd {
    min-width: 0;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    white-space: pre-line;
}

.detail-text {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    white-space: pre-line;
}

.card-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.action-link {
    min-height: 38px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.action-link.primary {
    border-color: transparent;
    background: var(--accent);
    color: var(--accent-text);
}

.updated-at {
    margin-top: 16px;
    color: var(--faint);
    font-size: 11px;
}

/* Partner */
.partner-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
}

.partner-photo {
    min-height: 330px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.partner-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.company-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.company-card h2 {
    margin: 0 0 20px;
    font-size: 28px;
}

.key-phrases {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.key-phrases p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.product-section {
    margin-top: 50px;
}

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

.product-card {
    min-height: 210px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.product-card .product-icon {
    margin-bottom: 12px;
    font-size: 27px;
}

.product-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.product-card .product-price {
    margin: 16px 0 0;
    color: var(--accent);
    font-size: 21px;
    font-weight: 850;
}

.product-card .product-benefit {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    white-space: pre-line;
}

/* Shuttle */
.shuttle-list {
    display: grid;
    gap: 36px;
}

.shuttle-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.shuttle-copy {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.shuttle-copy h2 {
    margin: 0 0 5px;
    font-size: 22px;
}

.shuttle-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.shuttle-image {
    width: 100%;
    max-height: 720px;
    display: block;
    object-fit: contain;
    border-top: 1px solid var(--line);
    background: #fff;
}

/* Empty and footer */
.empty-state {
    padding: 58px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: rgba(32, 32, 31, 0.52);
    text-align: center;
}

.empty-state span {
    display: block;
    margin-bottom: 13px;
    font-size: 36px;
}

.empty-state h2 {
    margin: 0 0 7px;
    font-size: 20px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.source-footer {
    margin-top: 58px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 12px;
}

.noscript {
    padding: 18px;
    background: #422;
    color: #fff;
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .hub-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

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

    .partner-layout {
        grid-template-columns: 1fr;
    }

    .partner-photo {
        min-height: 280px;
        max-height: 440px;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 54px;
        padding: 0 15px;
    }

    .page-wrap,
    .page-wrap.narrow {
        width: min(calc(100% - 32px), 1180px);
        padding: 44px 0 90px;
    }

    .back-link {
        margin-bottom: 32px;
    }

    .page-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 32px;
    }

    .page-hero h1,
    .home-hero h1 {
        font-size: clamp(32px, 11vw, 43px);
    }

    .page-hero p,
    .home-hero p {
        font-size: 15px;
    }

    .home-hero {
        padding-top: 18px;
    }

    .hub-card {
        min-height: 112px;
        padding: 18px;
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }

    .data-table-wrap {
        display: none;
    }

    .mobile-cards {
        display: grid;
        gap: 11px;
    }

    .venue-card {
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
    }

    .venue-card h3 {
        margin: 0 0 10px;
        font-size: 17px;
    }

    .venue-card .tag-list {
        margin-bottom: 14px;
    }

    .venue-card .venue-meta {
        display: grid;
        gap: 8px;
        color: var(--muted);
        font-size: 13px;
    }

    .venue-card .venue-meta p {
        margin: 0;
        white-space: pre-line;
    }

    .venue-card .venue-address-line {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        gap: 6px;
    }

    .venue-card .drive-time-badge {
        margin-top: 6px;
    }

    .venue-score {
        margin-top: 14px;
        padding-top: 13px;
        display: block;
        border-top: 1px solid var(--line);
    }

    .venue-score .vote-control {
        width: 100%;
    }

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

    .shuttle-copy {
        grid-template-columns: 1fr;
    }

    .shuttle-copy .action-link {
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 31px 23px;
    }

    .brand-link span:last-child {
        max-width: 190px;
    }

    .hub-card {
        grid-template-columns: auto 1fr;
    }

    .hub-arrow {
        display: none;
    }

    .meta-row {
        grid-template-columns: 78px 1fr;
    }

    .company-card,
    .content-card {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Alpine Editorial renewal */
.login-screen {
    position: fixed;
    inset: 0;
    z-index: 200;
    padding: var(--page-space);
    background:
        linear-gradient(90deg, transparent calc(100% - 1px), rgba(16, 35, 59, 0.045) 1px) 0 0 / 80px 100%,
        rgba(247, 242, 232, 0.96);
    backdrop-filter: blur(12px);
}

body[data-login-open="true"] {
    overflow: hidden;
}

.login-card {
    position: relative;
    width: min(100%, 460px);
    padding: 44px;
    border: 1px solid var(--text);
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    text-align: left;
}

.login-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--text);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.login-close:hover,
.login-close:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: #fffaf0;
}

.login-card::before {
    content: "GO.YOUNGO · MEMBER ACCESS";
    display: block;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.login-mark {
    width: 54px;
    height: 54px;
    margin: 0 0 20px;
    border: 1px solid var(--text);
    border-radius: 0;
    background: var(--bg);
    font-size: 25px;
}

.login-card h1 {
    color: var(--text);
    font-size: clamp(27px, 5vw, 35px);
    font-weight: 880;
    letter-spacing: -0.055em;
}

.login-card > p {
    color: var(--muted);
}

#kakaoLoginBtn {
    min-height: 54px;
    border: 1px solid #191919;
    border-radius: 0;
}

.site-header {
    min-height: 68px;
    padding: 0 var(--page-space);
    border-bottom-color: var(--text);
    background: rgba(247, 242, 232, 0.94);
    backdrop-filter: blur(16px);
}

.brand-link {
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.brand-dot {
    width: 12px;
    height: 3px;
    border-radius: 0;
    background: var(--accent);
    box-shadow: none;
}

#logoutBtn {
    min-height: 40px;
    padding: 7px 14px;
    border-color: var(--text);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

#logoutBtn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-text);
}

.page-root {
    min-height: calc(100vh - 68px);
}

.page-wrap,
.page-wrap.narrow {
    width: min(calc(100% - (var(--page-space) * 2)), 1320px);
    padding: 48px 0 112px;
}

.page-wrap.narrow {
    max-width: 920px;
}

.page-wrap.home-page {
    width: min(100%, 1520px);
    padding: 0 var(--page-space) 80px;
}

.back-link {
    min-height: 44px;
    margin-bottom: 32px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.page-hero {
    position: relative;
    margin-bottom: 40px;
    padding: 0 0 34px 96px;
    border-bottom: 1px solid var(--text);
}

.page-icon {
    position: absolute;
    top: 4px;
    left: 0;
    width: 70px;
    height: 70px;
    margin: 0;
    border: 1px solid var(--text);
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    font-size: 32px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.page-hero h1 {
    max-width: 950px;
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.02;
    font-weight: 880;
    letter-spacing: -0.065em;
}

.page-hero p {
    color: var(--muted);
}

.snapshot-note {
    color: var(--faint) !important;
}

/* Home */
.home-hero {
    max-width: none;
    min-height: 292px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(280px, 0.75fr);
    border-bottom: 1px solid var(--text);
}

.home-hero-main {
    padding: 38px 44px 34px 0;
    overflow: hidden;
}

.home-hero .home-kicker {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.home-hero .home-kicker::before {
    content: "";
    width: 24px;
    height: 3px;
    background: var(--accent);
}

.home-hero h1 {
    max-width: 900px;
    font-size: clamp(52px, 5.5vw, 82px);
    line-height: 0.97;
    font-weight: 900;
    letter-spacing: -0.077em;
}

.home-hero-foot {
    margin-top: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.home-hero-foot p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.home-hero-foot a {
    flex: none;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--accent);
    color: var(--text);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.season-note {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--accent);
    color: #fffaf0;
}

.season-note-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.09em;
}

.season-note strong {
    display: block;
    margin: 22px 0 14px;
    font-size: clamp(58px, 5vw, 76px);
    line-height: 0.86;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.season-note p {
    max-width: 320px;
    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.55;
}

.directory-heading {
    padding: 26px 0 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.directory-heading h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 880;
    letter-spacing: -0.05em;
}

.directory-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--text);
    border-left: 1px solid var(--text);
}

.hub-card {
    position: relative;
    grid-column: span 2;
    min-width: 0;
    min-height: 156px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0;
    border-right: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
    border-radius: 0;
    background: rgba(255, 252, 245, 0.68);
    color: var(--text);
    transition: background-color 160ms ease, color 160ms ease;
}

.hub-card.is-featured {
    grid-column: span 4;
    min-height: 188px;
}

.hub-card:hover,
.hub-card:focus-visible {
    transform: none;
    border-color: var(--text);
    outline: none;
    background: var(--text);
    color: #fffaf0;
}

.hub-index {
    padding-right: 38px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.hub-card strong {
    margin: auto 0 8px;
    display: block;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 880;
    letter-spacing: -0.05em;
}

.hub-card.is-featured strong {
    font-size: clamp(29px, 2.35vw, 38px);
}

.hub-card small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.hub-card:hover small,
.hub-card:focus-visible small {
    color: #d7dce3;
}

.hub-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    color: inherit;
    font-size: 15px;
}

.hub-card:hover .hub-arrow,
.hub-card:focus-visible .hub-arrow {
    border-color: var(--accent);
    background: var(--accent);
}

.comments-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top-color: var(--text);
}

.comments-heading {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.35fr);
    gap: 30px;
    align-items: end;
}

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

.comments-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.section-heading {
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 880;
    letter-spacing: -0.045em;
}

.comments-frame {
    height: clamp(420px, 50vw, 620px);
    border: 1px solid var(--text);
    border-radius: 0;
}

.update-request {
    margin-top: 28px;
    padding: 24px 0 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr) auto;
    gap: 24px;
    align-items: center;
    border-top: 1px solid var(--text);
}

.update-request-intro {
    grid-column: span 2;
}

.update-request-intro .eyebrow {
    margin-bottom: 5px;
}

.update-request-intro h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 880;
    letter-spacing: -0.045em;
}

.update-request-intro > p:last-child {
    max-width: 660px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.update-request-button {
    min-height: 46px;
    padding: 8px 18px;
    border: 1px solid var(--text);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.update-request-button:hover,
.update-request-button:focus-visible,
.update-request-button[aria-expanded="true"] {
    border-color: var(--accent);
    background: var(--accent);
    color: #fffaf0;
}

.update-request-form {
    grid-column: 1 / -1;
    padding: 22px;
    border: 1px solid var(--text);
    background: var(--surface);
}

.update-form-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.65fr) minmax(260px, 1.35fr);
    gap: 16px;
}

.update-form-grid label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.update-form-detail {
    grid-column: 1 / -1;
}

.update-form-grid input,
.update-form-grid select,
.update-form-grid textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--text);
    border-radius: 0;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.update-form-grid textarea {
    min-height: 128px;
    resize: vertical;
}

.update-form-actions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.update-form-actions button {
    flex: none;
    cursor: pointer;
}

.update-form-actions button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.update-form-status {
    color: var(--muted);
    font-size: 12px;
}

/* Data, cards and controls */
.toolbar {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.search-field input {
    min-height: 48px;
    border-color: var(--text);
    border-radius: 0;
    background: var(--surface);
}

.count-badge {
    border-radius: 0;
    background: var(--accent);
    color: #fffaf0;
}

.data-table-wrap,
.content-card,
.company-card,
.product-card,
.shuttle-item,
.empty-state,
.venue-card {
    border-color: var(--text);
    border-radius: 0;
    background: rgba(255, 252, 245, 0.78);
}

.data-table th {
    background: var(--text);
    color: #fffaf0;
}

.data-table tbody tr:hover td {
    background: var(--accent-soft);
}

.tag {
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-2);
    color: var(--text);
}

.phone-link,
.text-link,
.price,
.product-card .product-price {
    color: var(--accent);
}

.vote-button {
    border-color: var(--text);
    border-radius: 0;
    background: var(--surface);
    color: var(--muted);
}

.vote-button:hover:not(:disabled) {
    border-color: var(--accent);
    background: var(--accent);
    color: #fffaf0;
}

.vote-button:hover:not(:disabled) strong {
    color: #fffaf0;
}

.vote-button.recommend[aria-pressed="true"] {
    border-color: var(--success);
    background: rgba(22, 112, 74, 0.12);
}

.vote-button.not-recommend[aria-pressed="true"] {
    border-color: var(--danger);
    background: rgba(186, 53, 44, 0.1);
}

.status-pill,
.status-pill.sell {
    border-radius: 0;
    background: rgba(22, 112, 74, 0.12);
    color: var(--success);
}

.status-pill.done {
    background: var(--surface-2);
}

.status-pill.buy {
    background: var(--accent-soft);
    color: var(--accent);
}

.action-link {
    min-height: 44px;
    border-color: var(--text);
    border-radius: 0;
    background: transparent;
}

.action-link:hover,
.action-link:focus-visible {
    background: var(--text);
    color: #fffaf0;
}

.action-link.primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #fffaf0;
}

.partner-photo {
    border-color: var(--text);
    border-radius: 0;
}

.source-footer {
    border-top-color: var(--text);
}

.source-footer strong {
    color: var(--text);
    letter-spacing: 0.04em;
}

@media (max-width: 980px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .season-note {
        min-height: 190px;
    }

    .hub-card.is-featured {
        grid-column: span 6;
    }

    .hub-card {
        grid-column: span 3;
    }

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

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

    .partner-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        background: var(--bg);
    }

    .site-header {
        min-height: 60px;
        padding: 0 16px;
    }

    .brand-link {
        max-width: calc(100% - 90px);
        font-size: 13px;
    }

    #logoutBtn {
        min-height: 44px;
        padding-inline: 11px;
    }

    .page-root {
        min-height: calc(100vh - 60px);
    }

    .page-wrap,
    .page-wrap.narrow {
        width: min(calc(100% - 28px), 1320px);
        padding: 32px 0 78px;
    }

    .page-wrap.home-page {
        width: 100%;
        padding: 0 16px 64px;
    }

    .page-hero {
        margin-bottom: 30px;
        padding: 0 0 28px;
    }

    .page-icon {
        position: static;
        width: 58px;
        height: 58px;
        margin-bottom: 18px;
        font-size: 27px;
    }

    .page-hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .page-hero p {
        font-size: 15px;
    }

    .home-hero-main {
        padding: 30px 0 28px;
    }

    .home-hero h1 {
        font-size: clamp(46px, 14vw, 62px);
    }

    .home-hero-foot {
        margin-top: 24px;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .season-note {
        min-height: 184px;
        padding: 24px 20px;
    }

    .directory-heading {
        padding: 23px 0 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

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

    .hub-card.is-featured {
        grid-column: span 2;
        min-height: 154px;
    }

    .hub-card {
        grid-column: span 1;
        min-height: 142px;
        padding: 15px;
    }

    .hub-card strong,
    .hub-card.is-featured strong {
        font-size: 21px;
    }

    .hub-card small {
        font-size: 10px;
    }

    .comments-heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .comments-frame {
        height: 520px;
    }

    .update-request {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .update-request-intro {
        grid-column: auto;
    }

    .update-request-button {
        width: 100%;
    }

    .update-request-form {
        grid-column: auto;
        padding: 18px;
    }

    .update-form-grid {
        grid-template-columns: 1fr;
    }

    .update-form-detail {
        grid-column: auto;
    }

    .update-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .update-form-actions .action-link {
        justify-content: center;
    }

    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }

    .data-table-wrap {
        display: none;
    }

    .mobile-cards {
        display: grid;
        gap: 12px;
    }

    .venue-card {
        padding: 18px;
        overflow-wrap: anywhere;
    }

    .venue-card h3 {
        margin: 0 0 10px;
        font-size: 19px;
    }

    .venue-card .tag-list {
        margin-bottom: 15px;
    }

    .venue-card .venue-meta {
        display: grid;
        gap: 8px;
        color: var(--muted);
        font-size: 13px;
    }

    .venue-card .venue-meta p {
        margin: 0;
        white-space: pre-line;
    }

    .venue-score {
        margin-top: 16px;
        padding-top: 15px;
        border-top: 1px solid var(--line);
    }

    .venue-score .vote-control {
        width: 100%;
        min-width: 0;
    }

    .vote-button {
        min-height: 48px;
    }

    .card-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .content-card,
    .company-card {
        padding: 20px;
    }

    .meta-row {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .meta-row dd {
        overflow-wrap: anywhere;
    }

    .partner-photo {
        min-height: 240px;
    }

    .shuttle-copy {
        grid-template-columns: 1fr;
    }

    .shuttle-copy .action-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .login-screen {
        padding: 14px;
    }

    .login-card {
        padding: 30px 22px;
    }

    .brand-link span:last-child {
        max-width: 185px;
    }

    .home-hero h1 {
        font-size: clamp(42px, 13.2vw, 52px);
    }

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

    .hub-card,
    .hub-card.is-featured {
        grid-column: span 1;
        min-height: 132px;
    }

    .meta-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .vote-buttons {
        grid-template-columns: 1fr;
    }

    .card-topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Public restaurant rankings */
.restaurant-rankings {
    margin: 0 0 34px;
    padding: 24px;
    border: 1px solid var(--text);
    background: rgba(255, 252, 245, 0.78);
}

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

.ranking-heading h2,
.ranking-heading p {
    margin: 0;
}

.ranking-heading h2 {
    margin-top: 4px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.ranking-heading p {
    color: var(--muted);
    font-size: 13px;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ranking-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.42);
}

.ranking-panel.is-recommend {
    box-shadow: inset 4px 0 0 #249a67;
}

.ranking-panel.is-not-recommend {
    box-shadow: inset 4px 0 0 #cf5d4f;
}

.ranking-panel h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.ranking-list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 7px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ranking-item:hover,
.ranking-item:focus-visible {
    background: rgba(26, 24, 20, 0.06);
    outline: none;
}

.ranking-position {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--text);
    color: var(--background);
    font-size: 12px;
    font-weight: 800;
}

.ranking-name {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ranking-empty {
    margin: 0;
    padding: 20px 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.ranking-target {
    animation: ranking-target-pulse 1.6s ease-out;
}

@keyframes ranking-target-pulse {
    0%,
    40% {
        outline: 3px solid var(--accent);
        outline-offset: 4px;
    }
    100% {
        outline-color: transparent;
        outline-offset: 10px;
    }
}

@media (max-width: 760px) {
    .restaurant-rankings {
        padding: 18px;
    }

    .ranking-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

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


