* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-soft: #f8faf9;
    --text: #202124;
    --muted: #667085;
    --line: #e4e7ec;
    --line-soft: #edf0f3;
    --brand: #0f6b4f;
    --brand-soft: #eef6f2;
    --warning-bg: #fff7e6;
    --warning-line: #ffe1a6;
    --warning-text: #7a4b00;
    --radius: 8px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, "Malgun Gothic", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    padding: 10px 0;
}

.header-top {
    display: contents;
}

.brand {
    order: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
}

.brand img {
    display: block;
    width: 210px;
    height: auto;
}

.main-nav {
    order: 2;
    display: flex;
    gap: 6px;
    flex: 999 1 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
}

.main-nav a:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.auth-links {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.auth-links span,
.auth-links a {
    font-size: 14px;
}

.auth-link,
.auth-links > a:not(.button) {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: #4b5563;
    font-weight: 700;
}

.page {
    padding: 36px 0 64px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.25;
}

.hero p {
    margin: 0;
    color: #667085;
}

.ad-strip {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px 20px;
    background: #fff7e6;
    border: 1px solid #ffe1a6;
    border-radius: 8px;
}

.ad-strip p {
    margin: 0;
    color: #7a4b00;
    font-size: 14px;
    font-weight: 700;
}

.notice-strip {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.notice-title {
    display: grid;
    gap: 6px;
    align-content: start;
}

.notice-title strong {
    font-size: 18px;
}

.notice-title a {
    color: #0f6b4f;
    font-size: 14px;
    font-weight: 700;
}

.notice-list {
    display: grid;
    gap: 8px;
}

.notice-list a,
.notice-list p {
    margin: 0;
    color: #344054;
    font-weight: 700;
}

.notice-list time {
    margin-left: 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 400;
}

.daangn-bridge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: stretch;
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff8f1 0%, #ffffff 52%, #eef6f2 100%);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.daangn-bridge * {
    box-sizing: border-box;
}

.daangn-bridge-copy p {
    margin: 0 0 8px;
    color: #ff6f0f;
    font-size: 12px;
    font-weight: 800;
}

.daangn-bridge-copy h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
}

.daangn-bridge-copy span {
    color: var(--muted);
}

.daangn-bridge-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.daangn-bridge-actions a {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 94px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.daangn-bridge-actions a:first-child {
    border-color: #ffd5b7;
}

.daangn-bridge-actions a:last-child {
    border-color: #c9e1d6;
}

.daangn-bridge-actions strong {
    font-size: 18px;
}

.daangn-bridge-actions a:first-child strong {
    color: #ff6f0f;
}

.daangn-bridge-actions a:last-child strong {
    color: var(--brand);
}

.daangn-bridge-actions em {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
}

.portal-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    padding: 50px 40px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 56%, rgba(238, 246, 242, 0.92) 100%),
        linear-gradient(90deg, rgba(15, 107, 79, 0.08), rgba(255, 255, 255, 0));
    border: 1px solid #dce3df;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 107, 79, 0.12) 0 2px, transparent 2px 100%),
        linear-gradient(180deg, rgba(15, 107, 79, 0.08) 0 2px, transparent 2px 100%);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.48) 100%);
}

.portal-copy,
.portal-panel {
    position: relative;
    z-index: 1;
}

.portal-location {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin: 0 0 10px;
    padding: 0 10px;
    background: #eef6f2;
    border: 1px solid #cfe5db;
    border-radius: 6px;
    color: #0f6b4f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.portal-copy h1 {
    max-width: 720px;
    margin: 0 0 18px;
    color: #101828;
    font-size: 44px;
    line-height: 1.14;
    word-break: keep-all;
}

.portal-copy p {
    max-width: 680px;
    margin: 0;
    color: #475467;
    font-size: 17px;
    line-height: 1.75;
    word-break: keep-all;
}

.portal-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.portal-actions .button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(15, 107, 79, 0.12);
}

.button.secondary {
    background: #eef6f2;
    color: #0f6b4f;
    box-shadow: none;
}

.opinion-poll {
    max-width: 720px;
    margin-top: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cfe5db;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.opinion-poll-head {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.opinion-poll-head span {
    color: #0f6b4f;
    font-size: 12px;
    font-weight: 900;
}

.opinion-poll-head strong {
    color: #101828;
    font-size: 18px;
    line-height: 1.35;
    word-break: keep-all;
}

.opinion-poll-head em,
.opinion-deadline-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid #cfe5db;
    border-radius: 999px;
    background: #eef6f2;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    font-style: normal;
}

.opinion-poll-head em.is-closed,
.opinion-deadline-badge.is-closed {
    border-color: #f2c7c3;
    background: #fff1f0;
    color: #b42318;
}

.opinion-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.opinion-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #ffd5bd;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
}

.opinion-countdown span {
    color: #9a3412;
    font-size: 11px;
}

.opinion-countdown strong {
    color: #c2410c;
    font-size: 13px;
}

.opinion-countdown.compact {
    justify-self: start;
    min-height: 26px;
    padding: 0 9px;
}

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

.opinion-choice {
    display: grid;
    gap: 8px;
    min-height: 124px;
    padding: 14px;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    background: #ffffff;
    color: #101828;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.opinion-choice:hover,
.opinion-choice.is-selected {
    border-color: var(--brand);
    box-shadow: 0 8px 18px rgba(15, 107, 79, 0.12);
    transform: translateY(-1px);
}

.opinion-choice:disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

.opinion-choice:disabled:hover {
    border-color: #d8e0dc;
    box-shadow: none;
    transform: none;
}

.opinion-choice:disabled.is-selected {
    border-color: var(--brand);
}

.opinion-choice-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 900;
}

.opinion-choice-label b,
.previous-result-item strong b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #0f6b4f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.opinion-choice-desc {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.opinion-choice-meter {
    overflow: hidden;
    display: block;
    height: 8px;
    margin-top: 2px;
    background: #eef2f0;
    border-radius: 999px;
}

.opinion-choice-meter span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #20a37a);
    border-radius: inherit;
}

.opinion-choice.is-hidden-result .opinion-choice-meter span {
    width: 0 !important;
}

.opinion-choice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.opinion-choice-meta b {
    color: #0f6b4f;
    font-size: 15px;
}

.opinion-poll p {
    margin-top: 10px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.opinion-poll p a {
    margin-left: 8px;
    color: var(--brand);
    font-weight: 900;
}

.opinion-page {
    display: grid;
    gap: 18px;
}

.opinion-page-hero,
.opinion-reactions {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.opinion-page-hero h1 {
    max-width: 820px;
    margin: 6px 0 10px;
    color: #101828;
    font-size: 34px;
    line-height: 1.25;
    word-break: keep-all;
}

.opinion-page-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.opinion-page-hero .opinion-deadline-badge {
    margin-top: 14px;
}

.opinion-poll-large {
    max-width: none;
    margin-top: 0;
    padding: 22px;
}

.opinion-poll-large .opinion-choice {
    min-height: 150px;
    padding: 18px;
}

.opinion-poll-large .opinion-choice-label {
    font-size: 26px;
}

.opinion-reactions {
    display: grid;
    gap: 16px;
}

.opinion-comment-form {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid #cfe5db;
    border-radius: 8px;
    background: #f8fcfa;
}

.opinion-comment-form label {
    color: #344054;
    font-size: 14px;
    font-weight: 900;
}

.opinion-comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.opinion-comment-top input {
    width: min(240px, 100%);
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.opinion-comment-write {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.opinion-comment-form textarea {
    width: 100%;
    min-height: 112px;
    padding: 13px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
}

.opinion-comment-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 107, 79, 0.12);
    outline: none;
}

.opinion-comment-top input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 107, 79, 0.12);
    outline: none;
}

.opinion-comment-form .button {
    min-width: 118px;
    min-height: 46px;
}

.opinion-comment-list {
    display: grid;
    gap: 10px;
}

.opinion-comment {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fbfcfd;
}

.opinion-comment div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.opinion-comment strong {
    color: var(--text);
}

.opinion-comment time {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.opinion-comment div span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f4f6f5;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
}

.opinion-comment div .opinion-vote-mark {
    background: #eef6f2;
    color: #0f6b4f;
}

.opinion-comment p {
    margin: 0;
    color: #344054;
    line-height: 1.7;
}

.opinion-previous-result {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fffaf5;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.opinion-previous-result .section-head {
    align-items: flex-start;
}

.opinion-previous-result h2 {
    margin: 2px 0 6px;
}

.opinion-previous-result p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.previous-result-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.previous-result-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
    padding: 16px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #ffffff;
}

.previous-result-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #101828;
    font-size: 20px;
}

.previous-result-item span {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.previous-result-item b {
    color: #ea580c;
    font-size: 24px;
}

.previous-result-meter {
    overflow: hidden;
    grid-column: 1 / -1;
    height: 10px;
    border-radius: 999px;
    background: #ffedd5;
}

.previous-result-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #0f6b4f);
}

.previous-result-item small {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.previous-result-summary {
    color: #9a3412 !important;
    font-size: 13px;
    font-weight: 900;
}

.opinion-admin-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid #cfe5db;
    border-radius: 8px;
    background: #f8fcfa;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.opinion-fixed-deadline {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    background: #ffffff;
}

.opinion-fixed-deadline span,
.opinion-fixed-deadline em {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    font-style: normal;
}

.opinion-fixed-deadline strong {
    color: #101828;
    font-size: 14px;
}

.opinion-admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.portal-panel {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    backdrop-filter: blur(8px);
}

.portal-panel strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 18px;
}

.portal-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 2px;
    border-top: 1px solid #e8ece9;
    color: #344054;
    font-weight: 700;
}

.portal-panel a::after {
    content: ">";
    color: #98a2b3;
    font-size: 15px;
    font-weight: 800;
}

.chat-card-link {
    display: grid;
    gap: 4px;
    padding: 14px !important;
    border: 1px solid #c9e1d6 !important;
    border-radius: var(--radius);
    background: var(--brand-soft);
}

.chat-card-link strong {
    color: var(--brand);
    font-size: 16px;
}

.chat-card-link span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.visitor-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding-top: 14px;
    border-top: 1px solid #e8ece9;
}

.visitor-widget span {
    display: grid;
    place-items: center;
    min-height: 54px;
    padding: 8px 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
    border: 1px solid #dfe6e2;
    border-radius: 6px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.visitor-widget.prominent {
    padding: 0 0 14px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
}

.visitor-widget.prominent span {
    min-height: 64px;
    align-content: center;
    gap: 2px;
}

.visitor-widget.prominent b {
    display: block;
    color: var(--brand);
    font-size: 24px;
    line-height: 1;
}

.today-activity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
}

.today-activity span {
    display: grid;
    place-items: center;
    min-height: 54px;
    padding: 8px 6px;
    border: 1px solid #dfe6e2;
    border-radius: 6px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.today-activity b {
    display: block;
    color: #ff6f0f;
    font-size: 22px;
    line-height: 1;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.home-chat-preview {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #c9e1d6;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(238, 246, 242, 0.92), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at 100% 0, rgba(15, 107, 79, 0.12), transparent 34%);
}

.home-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.home-chat-head p {
    margin: 0 0 4px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.home-chat-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.home-chat-messages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-chat-message {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    min-height: 92px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
}

.home-chat-message strong {
    color: var(--brand);
    font-size: 14px;
}

.home-chat-message span {
    grid-column: 1 / -1;
    color: #344054;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.home-chat-message time {
    color: var(--muted);
    font-size: 12px;
}

.home-chat-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px;
    border: 1px dashed #c9e1d6;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.portal-card {
    min-height: 164px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.portal-card:hover {
    border-color: #0f6b4f;
}

.portal-card span {
    display: block;
    color: #0f6b4f;
    font-weight: 800;
}

.portal-card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
}

.portal-card p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
}

.portal-section {
    margin-top: 32px;
}

.media-swipe-section {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.media-swipe-head {
    align-items: center;
}

.media-swipe-controls {
    display: flex;
    gap: 8px;
}

.media-swipe-controls button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #ffffff;
    color: #0f6b4f;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
}

.media-swipe-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 280px);
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.media-swipe-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 86px 294px 76px;
    height: 456px;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    background: #f8faf9;
    scroll-snap-align: start;
}

.media-swipe-card.is-instagram {
    background: #fffafa;
}

.media-swipe-title,
.media-swipe-meta {
    display: grid;
    gap: 4px;
    padding: 12px;
    color: inherit;
    min-width: 0;
}

.media-swipe-title span {
    color: #0f6b4f;
    font-size: 12px;
    font-weight: 900;
}

.media-swipe-title strong {
    display: -webkit-box;
    overflow: hidden;
    color: #101828;
    font-size: 15px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.media-swipe-frame {
    overflow: hidden;
    display: grid;
    place-items: center;
    height: 294px;
    background: #111827;
}

.media-swipe-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.media-swipe-frame .instagram-media {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.media-swipe-meta {
    align-content: center;
    border-top: 1px solid #e4e7ec;
    background: rgba(255, 255, 255, 0.72);
}

.media-swipe-meta span {
    display: -webkit-box;
    overflow: hidden;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.media-swipe-meta small {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.spotlight-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.spotlight-column {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.spotlight-column.popular {
    border-color: #ffd5b7;
    background: linear-gradient(135deg, #fff8f1 0%, #ffffff 72%);
}

.spotlight-head p {
    margin: 0 0 4px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.spotlight-column.popular .spotlight-head p {
    color: #ff6f0f;
}

.spotlight-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.spotlight-list {
    display: grid;
    gap: 10px;
}

.spotlight-post {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #f8faf9;
}

.spotlight-post:hover {
    border-color: #c9e1d6;
    background: var(--brand-soft);
}

.spotlight-column.popular .spotlight-post:hover {
    border-color: #ffd5b7;
    background: #fff8f1;
}

.spotlight-thumb {
    position: relative;
    overflow: hidden;
    align-self: start;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #d8e0dc;
    border-radius: 8px;
    background: #eef6f2;
}

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

.spotlight-thumb i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #0f6b4f;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.spotlight-thumb.is-youtube {
    background: linear-gradient(135deg, #111827, #374151);
}

.spotlight-thumb.is-youtube::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    transform: translate(-50%, -50%);
}

.spotlight-thumb.is-youtube::after {
    content: "";
    position: absolute;
    left: calc(50% - 5px);
    top: calc(50% - 9px);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #ef4444;
}

.spotlight-thumb.is-youtube i {
    top: auto;
    height: 30px;
    color: #ffffff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}

.spotlight-thumb.is-instagram {
    background: linear-gradient(135deg, #f97316, #db2777 52%, #6d28d9);
}

.spotlight-thumb.is-instagram::before {
    content: "";
    position: absolute;
    inset: 30px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
}

.spotlight-thumb.is-instagram::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.spotlight-thumb.is-instagram i {
    top: auto;
    height: 30px;
    color: #ffffff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.spotlight-thumb.is-default {
    background:
        linear-gradient(135deg, rgba(15, 107, 79, 0.15), rgba(255, 111, 15, 0.14)),
        #ffffff;
}

.spotlight-body {
    display: grid;
    grid-template-rows: 19px minmax(23px, auto) minmax(40px, auto) auto;
    gap: 6px;
    min-width: 0;
}

.spotlight-board-name {
    overflow: hidden;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-post strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    line-height: 1.45;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.spotlight-post p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.spotlight-meta,
.spotlight-meta small,
.spotlight-empty {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    align-self: end;
    min-width: 0;
    line-height: 1.45;
}

.spotlight-meta b {
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.spotlight-meta .post-feature-tags {
    display: inline-flex;
    flex: 0 1 auto;
    gap: 4px;
    overflow: hidden;
    max-width: 100%;
    vertical-align: middle;
}

.spotlight-meta small {
    display: inline-flex;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-empty {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: #f8faf9;
    text-align: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #0f6b4f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.button.small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
}

.board-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 10px;
}

.board-toolbar h2 {
    margin: 0;
    font-size: 22px;
}

.board-toolbar p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.board-search,
.admin-filter-form {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.board-search label,
.admin-filter-form label span {
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.board-search > div,
.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 8px;
}

.board-search input,
.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #ffffff;
    font: inherit;
}

.admin-filter-form label {
    display: grid;
    gap: 6px;
}

.admin-filter-form {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr) auto auto;
}

.admin-filter-form fieldset {
    display: grid;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-filter-form legend {
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.admin-board-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-board-checks label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.admin-board-checks input {
    width: 14px;
    min-height: auto;
    height: 14px;
    padding: 0;
}

.post-list {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    overflow: hidden;
}

.post-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 48px;
    padding: 9px 12px;
    border-bottom: 1px solid #edf0f3;
    align-items: center;
}

.post-row:last-child {
    border-bottom: 0;
}

.post-row:hover {
    background: #f9fafb;
}

.post-row span,
.post-row time {
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.post-row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.post-row-meta > span:not(.like-badge),
.post-row-meta > time {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid #edf0f3;
    border-radius: 999px;
    background: #f8faf9;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.post-title-cell {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.post-title-cell strong {
    color: var(--text);
    overflow: hidden;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}

.is-read-post .post-title-cell strong,
.is-read-post h3,
.is-read-post strong,
.is-read-post span:first-child {
    color: #667085;
}

.read-post-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin-left: 7px;
    padding: 0 7px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #f4f6f5;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    vertical-align: 1px;
}

.portal-post-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.pagination a,
.pagination span,
.pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: #475467;
    font-size: 14px;
    font-weight: 800;
}

.pagination a:hover,
.pagination strong {
    border-color: #c9e1d6;
    background: var(--brand);
    color: #ffffff;
}

.pagination span {
    color: #98a2b3;
    background: #f4f6f5;
}

.compact-pagination {
    margin-top: 12px;
    justify-content: center;
}

.compact-pagination a,
.compact-pagination span,
.compact-pagination strong {
    min-width: 32px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
}

.like-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid #c9e1d6 !important;
    border-radius: 999px;
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
    font-size: 11px !important;
    font-weight: 900;
    white-space: nowrap;
}

.post-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post-feature-tags span {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    min-height: 21px;
    padding: 0 7px;
    border: 1px solid #d7e8df;
    border-radius: 999px;
    background: #ffffff;
    color: #0f6b4f !important;
    font-size: 11px !important;
    font-weight: 900;
    white-space: nowrap;
}

.qna-toolbar {
    align-items: center;
}

.qna-list {
    display: grid;
    gap: 10px;
}

.qna-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.qna-question {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
}

.qna-question:hover {
    background: #f8faf9;
}

.qna-question-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
}

.qna-label {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff8f1;
    color: #ff6f0f;
    font-weight: 900;
}

.qna-label.answer {
    background: var(--brand-soft);
    color: var(--brand);
}

.qna-question h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    word-break: keep-all;
}

.qna-question p {
    display: -webkit-box;
    overflow: hidden;
    margin: 5px 0 0;
    color: var(--muted);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qna-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-left: 44px;
}

.qna-meta span,
.qna-meta time {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f4f6f5;
    color: #59636f;
    font-size: 12px;
    font-weight: 800;
}

.qna-meta span:first-child {
    background: #fff8f1;
    color: #ff6f0f;
}

.qna-meta span.answered {
    background: var(--brand-soft);
    color: var(--brand);
}

.qna-answer-preview {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-soft);
    background: #f8faf9;
}

.qna-answer,
.qna-empty-answer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 9px;
    padding: 11px 16px;
    border-top: 1px solid var(--line-soft);
}

.qna-answer:first-child,
.qna-empty-answer:first-child {
    border-top: 0;
}

.qna-answer:hover,
.qna-empty-answer:hover {
    background: var(--brand-soft);
}

.qna-answer strong {
    color: var(--brand);
    font-size: 14px;
}

.qna-answer p {
    display: -webkit-box;
    overflow: hidden;
    margin: 3px 0;
    color: #344054;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qna-answer time {
    color: var(--muted);
    font-size: 12px;
}

.qna-empty-answer {
    display: block;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.image-mark {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #eef6f2;
    color: #0f6b4f !important;
    font-size: 12px !important;
    font-weight: 700;
    vertical-align: middle;
}

.empty-box,
.form-panel,
.post-detail,
.comments {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 28px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.detail-layout-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    margin: 0 auto;
}

.detail-main {
    min-width: 0;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
}

.side-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.side-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line-soft);
}

.side-list-head strong {
    font-size: 16px;
}

.side-list-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.side-post {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-soft);
}

.side-post:last-child {
    border-bottom: 0;
}

.side-post:hover {
    background: var(--brand-soft);
}

.side-post span {
    color: var(--text);
    font-weight: 800;
    line-height: 1.45;
}

.side-post small,
.side-empty {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.side-empty {
    margin: 0;
    padding: 16px;
}

.post-head {
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f3;
}

.post-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.post-like-area {
    min-width: 0;
}

.post-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.post-menu a,
.post-share-button,
.admin-toolbox button,
.admin-toolbox select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: #344054;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.post-menu a:hover,
.post-share-button:hover,
.post-share-button.is-copied {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.admin-toolbox {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #f8faf9;
}

.admin-toolbox form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-toolbox label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-toolbox select {
    min-width: 150px;
    font: inherit;
}

.admin-toolbox button {
    cursor: pointer;
}

.admin-toolbox button:hover {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.admin-toolbox .danger {
    border-color: #f2c7c3;
    color: #b42318;
}

.admin-toolbox .danger:hover {
    border-color: #b42318;
    background: #fff1f0;
    color: #b42318;
}

.post-head h1 {
    margin: 8px 0;
    font-size: 30px;
}

.post-head p {
    color: #667085;
    margin: 0;
}

.auto-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.auto-tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #c9e1d6;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.auto-tag-list a:hover {
    border-color: var(--brand);
    background: #ffffff;
}

.board-label {
    color: #0f6b4f !important;
    font-weight: 700;
}

.qna-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 8px;
    padding: 0 10px;
    border: 1px solid #ffd5b7;
    border-radius: 999px;
    background: #fff8f1;
    color: #ff6f0f;
    font-size: 13px;
    font-weight: 800;
}

.qna-status.answered {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.post-content {
    padding-top: 24px;
    min-height: 160px;
    white-space: normal;
}

.post-content a,
.comment p a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.post-content a:hover,
.comment p a:hover {
    color: #0b513c;
}

.post-image {
    margin: 24px 0 0;
}

.post-image img {
    display: block;
    width: min(100%, 760px);
    max-height: 720px;
    object-fit: contain;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f6f7f9;
}

.post-attachments {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.post-card {
    margin: 16px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8faf9;
}

.post-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.post-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.post-card p {
    margin: 0 0 12px;
    color: #475467;
}

.map-link-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    width: 100%;
    margin: 16px 0;
    border: 1px solid #d7e5df;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

a.map-link-card:hover {
    border-color: #9fd3bd;
    box-shadow: 0 10px 24px rgba(16, 122, 85, 0.12);
    transform: translateY(-1px);
}

.map-preview-art {
    position: relative;
    min-height: 142px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 122, 85, 0.88), rgba(132, 195, 140, 0.5) 34%, transparent 35%),
        linear-gradient(25deg, transparent 45%, rgba(255, 255, 255, 0.84) 46%, rgba(255, 255, 255, 0.84) 53%, transparent 54%),
        linear-gradient(150deg, transparent 40%, rgba(255, 255, 255, 0.72) 41%, rgba(255, 255, 255, 0.72) 48%, transparent 49%),
        linear-gradient(180deg, #b9dcf4 0%, #dff0fa 45%, #e9dfbf 46%, #c7d1a5 100%);
}

.map-preview-art::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 28px;
    height: 14px;
    border-radius: 999px;
    background: rgba(48, 63, 79, 0.26);
}

.map-preview-art span {
    position: absolute;
    left: 50%;
    top: 34px;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: #ff6f0f;
    transform: rotate(-45deg);
    box-shadow: 0 5px 14px rgba(255, 111, 15, 0.28);
}

.map-preview-art span::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 11px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
}

.map-preview-art i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.map-link-body {
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 18px 20px;
}

.map-link-body strong {
    color: var(--brand);
    font-size: 13px;
    line-height: 1.35;
    text-transform: uppercase;
}

.map-link-body p {
    margin: 0;
    color: #101828;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.map-link-body span {
    color: #475467;
    font-size: 14px;
    line-height: 1.5;
}

.map-link-body em {
    color: #ff6f0f;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.poll-form {
    display: grid;
    gap: 10px;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    font-weight: 800;
}

.poll-option input {
    width: auto;
}

.poll-results {
    display: grid;
    gap: 10px;
}

.poll-result {
    position: relative;
    overflow: hidden;
    min-height: 50px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
}

.poll-result div {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.poll-result span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.poll-result i {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    background: #dff3ea;
}

.poll-result.selected {
    border-color: #8bc7ae;
}

.poll-result.selected strong::after {
    content: " 선택";
    color: var(--brand);
    font-size: 12px;
}

.video-embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #111827;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.instagram-card {
    background: #fffafa;
}

.instagram-card .instagram-media {
    min-width: 0 !important;
    max-width: 540px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.instagram-preview {
    display: grid;
    place-items: center;
    min-height: 180px;
    border: 1px dashed #f5b5c8;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
    color: #9f1239;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.post-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
}

.comments {
    margin-top: 20px;
}

.comment {
    padding: 16px 0;
    border-bottom: 1px solid #edf0f3;
}

.comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.comment time {
    margin-left: 8px;
    color: #667085;
    font-size: 13px;
}

.comment p {
    margin: 8px 0 0;
}

.comment-board-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.comment-board-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-board-list-head strong {
    font-size: 16px;
}

.comment-board-list-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.comment-board-list-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.comment-board-posts {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #ffffff;
}

.comment-board-posts a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
}

.comment-board-posts a:last-child {
    border-bottom: 0;
}

.comment-board-posts a:hover {
    background: var(--brand-soft);
}

.related-tag-list {
    border-color: #c9e1d6;
    background: linear-gradient(135deg, #eef6f2 0%, #ffffff 72%);
}

.tag-hero {
    margin-bottom: 16px;
}

.tag-post-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.tag-post-list .post-title-cell small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-keyword-mark {
    padding: 1px 3px;
    border-radius: 4px;
    background: #fff2d9;
    color: #b54708;
    font-weight: 900;
}

.comment-board-posts span {
    color: var(--text);
    font-weight: 800;
    line-height: 1.4;
}

.comment-board-posts small,
.comment-board-empty {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.comment-board-empty {
    margin: 0;
}

.accepted-answer {
    margin: 0 -12px;
    padding: 16px 12px;
    border: 1px solid #c9e1d6;
    border-radius: var(--radius);
    background: var(--brand-soft);
}

.accepted-badge,
.answer-accept-button,
.comment-like-button,
.comment-like-badge,
.comment-manage-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.accepted-badge,
.comment-like-badge {
    background: var(--brand);
    color: #ffffff;
}

.comment-like-badge {
    background: #f4f6f5;
    color: #59636f;
}

.answer-accept-button,
.comment-like-button,
.comment-manage-link {
    border: 1px solid #c9e1d6;
    background: #ffffff;
    color: var(--brand);
    cursor: pointer;
}

.answer-accept-button:hover,
.comment-like-button:hover,
.comment-manage-link:hover {
    background: var(--brand);
    color: #ffffff;
}

.comment-manage-link {
    font-family: inherit;
    text-decoration: none;
}

.comment-manage-link.danger {
    border-color: #f2c7c3;
    color: #b42318;
}

.comment-manage-link.danger:hover {
    background: #fff1f0;
    color: #b42318;
}

.admin-page {
    display: grid;
    gap: 20px;
}

.admin-hero,
.admin-section {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.admin-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-hero h1 {
    margin: 6px 0 8px;
    font-size: 30px;
}

.admin-hero p,
.admin-section-head p {
    margin: 0;
    color: var(--muted);
}

.admin-stat-grid,
.admin-board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat-grid article,
.admin-board-grid a {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.admin-stat-grid span,
.admin-board-grid span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-stat-grid strong,
.admin-board-grid strong {
    color: var(--text);
    font-size: 24px;
}

.admin-board-grid a:hover {
    border-color: #c9e1d6;
    background: var(--brand-soft);
}

.admin-chart-total {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #c9e1d6;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.admin-visitor-chart {
    display: grid;
    grid-template-columns: repeat(14, minmax(42px, 1fr));
    gap: 10px;
    min-height: 230px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfd;
}

.visitor-bar-item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
    align-items: end;
    min-height: 198px;
    text-align: center;
}

.visitor-bar-item strong {
    color: var(--text);
    font-size: 13px;
}

.visitor-bar-track {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 140px;
    border-radius: 999px 999px 6px 6px;
    background: #edf0f3;
}

.visitor-bar-track i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #2fa779, var(--brand));
}

.visitor-bar-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-section {
    display: grid;
    gap: 16px;
}

.admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-section-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-section-head h2 {
    margin: 0 0 6px;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: #ffffff;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    background: #f8faf9;
    color: #344054;
    font-size: 13px;
}

.admin-table td {
    color: #475467;
    font-size: 14px;
}

.admin-table td small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-table code {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f4f6f5;
    color: #59636f;
    font-family: Consolas, monospace;
    font-size: 12px;
}

.admin-live-table {
    min-width: 760px;
}

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

.admin-title-link {
    color: var(--text);
    font-weight: 800;
}

.admin-actions,
.admin-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.admin-actions a,
.admin-actions button,
.admin-actions select,
.admin-inline-form button,
.admin-inline-form select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: #344054;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.admin-actions button,
.admin-inline-form button {
    cursor: pointer;
}

.admin-actions a:hover,
.admin-actions button:hover,
.admin-inline-form button:hover {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.admin-actions .danger {
    border-color: #f2c7c3;
    color: #b42318;
}

.admin-actions .danger:hover {
    background: #fff1f0;
    color: #b42318;
}

.admin-inline-form button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.admin-poll-form {
    display: grid;
    gap: 14px;
}

.admin-poll-form label,
.admin-poll-options fieldset {
    display: grid;
    gap: 7px;
}

.admin-poll-form label span,
.admin-poll-options legend {
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.admin-poll-form input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font: inherit;
}

.admin-poll-form small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-poll-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-poll-options fieldset {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-poll-form .button {
    justify-self: start;
}

.form {
    display: grid;
    gap: 10px;
}

.form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.form-head h1 {
    margin: 0 0 6px;
}

.form-head p {
    margin: 0;
    color: var(--muted);
}

.form label {
    font-weight: 700;
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 12px;
    font: inherit;
}

.form textarea {
    resize: vertical;
}

.bulk-write-panel {
    display: grid;
    gap: 18px;
}

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

.bulk-guide article {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #dfe6e2;
    border-radius: 8px;
    background: #f8faf9;
}

.bulk-guide strong {
    color: var(--brand);
    font-size: 14px;
}

.bulk-guide p,
.bulk-alert p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.bulk-alert {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 8px;
}

.bulk-alert.error {
    border: 1px solid #f2c7c3;
    background: #fff1f0;
}

.bulk-alert.error p {
    color: #b42318;
    font-weight: 700;
}

.bulk-alert.success {
    border: 1px solid #c9e1d6;
    background: var(--brand-soft);
}

.bulk-alert.success strong {
    color: var(--brand);
}

.bulk-created-list {
    display: grid;
    gap: 6px;
}

.bulk-created-list a {
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.bulk-form select {
    width: min(100%, 320px);
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.bulk-form textarea {
    min-height: 460px;
    font-family: Consolas, "Malgun Gothic", monospace;
    line-height: 1.7;
}

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

.bulk-preview {
    margin-top: 20px;
}

.bulk-preview-list {
    display: grid;
    gap: 10px;
}

.bulk-preview-list article {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.bulk-preview-list span {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.bulk-preview-list strong {
    color: var(--text);
    font-size: 17px;
}

.bulk-preview-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.compose-source {
    position: absolute;
    left: -9999px;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
}

.compose-rich-editor {
    width: 100%;
    min-height: 320px;
    padding: 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: #101828;
    line-height: 1.75;
    white-space: pre-wrap;
    outline: none;
}

.compose-rich-editor:focus {
    border-color: #78b79c;
    box-shadow: 0 0 0 3px rgba(16, 122, 85, 0.1);
}

.compose-rich-editor:empty::before {
    content: attr(data-placeholder);
    color: #98a2b3;
}

.compose-edit-line {
    min-height: 1.75em;
    margin: 0;
}

.compose-embedded-card {
    display: block;
    max-width: 100%;
    margin: 14px 0;
    overflow: hidden;
    border: 1px solid #c9e1d6;
    border-radius: 8px;
    background: #f8faf9;
    white-space: normal;
}

.compose-embedded-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #d9ebe3;
    background: #eef8f3;
}

.compose-embedded-card-head strong {
    color: var(--brand);
    font-size: 14px;
}

.compose-embedded-card-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.compose-embedded-card-head button {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #f2c7c3;
    border-radius: 999px;
    background: #fff1f0;
    color: #b42318;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.compose-embedded-card .preview-card {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.compose-embedded-card .map-link-card {
    max-width: none;
}

.compose-rich-editor .poll-form {
    gap: 8px;
}

.compose-rich-editor .poll-option {
    justify-content: flex-start;
    min-height: 44px;
}

.compose-rich-editor .poll-option input {
    flex: 0 0 auto;
    width: 16px !important;
    height: 16px;
    margin: 0;
}

.compose-rich-editor .poll-option span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.form-help {
    margin: -4px 0 8px;
    color: #667085;
    font-size: 14px;
}

.compose-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 2px;
}

.compose-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.compose-tool:hover,
.compose-tool.is-active {
    border-color: #9fd3bd;
    background: var(--brand-soft);
    color: var(--brand);
}

.compose-tool-icon {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
}

.vote-icon {
    border-radius: 4px;
}

.vote-icon::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 8px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.place-icon {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.place-icon::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.video-icon {
    border-radius: 4px;
}

.video-icon::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid currentColor;
}

.instagram-icon {
    border-radius: 6px;
}

.instagram-icon::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.instagram-icon::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 3px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.modal-open {
    overflow: hidden;
}

.feature-modal[hidden] {
    display: none;
}

.feature-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.feature-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.feature-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(560px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    padding: 22px;
    border: 1px solid #c9e1d6;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(16, 24, 40, 0.24);
}

.feature-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.feature-modal-head h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.feature-modal-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: #344054;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.feature-modal-close:hover {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.poll-option-builder {
    display: grid;
    gap: 8px;
}

.poll-option-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.poll-option-row button {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #f2c7c3;
    border-radius: 6px;
    background: #fff1f0;
    color: #b42318;
    font-weight: 800;
    cursor: pointer;
}

.compose-preview {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.compose-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft);
    background: #f8faf9;
}

.compose-preview-head strong {
    font-size: 15px;
}

.compose-preview-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.compose-preview-body {
    min-height: 110px;
    padding: 16px;
}

.compose-preview-body > p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.compose-preview-body > p:last-child {
    margin-bottom: 0;
}

.preview-empty {
    color: var(--muted);
    font-weight: 700;
}

.preview-card {
    margin: 12px 0;
}

.preview-video {
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
}

.paste-preview {
    margin-top: -2px;
}

.paste-preview-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #c9e1d6;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
}

.paste-preview-card img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    background: #ffffff;
}

.error {
    padding: 12px;
    border-radius: 6px;
    background: #fff1f0;
    color: #b42318;
}

.login-guide {
    color: #667085;
}

.login-guide a {
    color: #0f6b4f;
    font-weight: 700;
}

.upgrade-row {
    display: grid;
    grid-template-columns: 180px 90px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #edf0f3;
}

.ok {
    color: #0f6b4f;
    font-weight: 700;
}

.fail {
    color: #b42318;
    font-weight: 700;
}

.notice-box {
    padding: 14px;
    border-radius: 6px;
    background: #fff7e6;
}

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

.chat-page {
    max-width: 860px;
    margin: 0 auto;
}

.chat-shell {
    display: grid;
    gap: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #0f6b4f 0%, #178360 100%);
    color: #ffffff;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 10px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
}

.chat-head h1 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.25;
}

.chat-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.chat-head .button.secondary {
    background: #ffffff;
    color: var(--brand);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 500px;
    overflow-y: auto;
    padding: 22px;
    background:
        linear-gradient(rgba(248, 250, 249, 0.92), rgba(248, 250, 249, 0.92)),
        radial-gradient(circle at 0 0, rgba(15, 107, 79, 0.10), transparent 28%);
}

.chat-message {
    max-width: min(78%, 560px);
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.chat-message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.chat-message-meta strong {
    color: var(--brand);
    font-size: 14px;
}

.chat-message-meta time {
    color: var(--muted);
    font-size: 12px;
}

.chat-message p,
.chat-loading {
    margin: 0;
}

.chat-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.chat-reaction {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #59636f;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.chat-reaction b {
    color: var(--text);
}

.chat-reaction:hover,
.chat-reaction.is-active {
    border-color: #c9e1d6;
    background: var(--brand-soft);
    color: var(--brand);
}

.chat-reaction.is-active {
    cursor: default;
}

.chat-reaction.is-locked {
    opacity: 0.78;
}

.chat-loading {
    align-self: center;
    padding: 12px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted);
    font-weight: 700;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.chat-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 14px;
    background: #f9fafb;
    font: inherit;
}

.chat-form input:focus {
    outline: 2px solid rgba(15, 107, 79, 0.18);
    border-color: var(--brand);
    background: #ffffff;
}

.chat-form .button {
    min-width: 84px;
    border-radius: 8px;
}

.chat-login-guide {
    margin: 16px;
    padding: 14px;
    border-radius: 8px;
    background: var(--warning-bg);
    color: var(--warning-text);
    font-weight: 700;
}

.chat-login-guide a {
    color: var(--brand);
}

.hero,
.portal-hero,
.notice-strip,
.home-chat-preview,
.spotlight-column,
.portal-card,
.post-list,
.empty-box,
.form-panel,
.post-detail,
.comments,
.chat-shell {
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.button {
    transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
    background: #0b5a42;
}

.button:active {
    transform: translateY(1px);
}

.button.secondary:hover {
    background: #dff0e8;
}

.portal-card,
.post-row,
.main-nav a,
.auth-link {
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-footer {
    border-top: 1px solid #e4e7ec;
    color: #667085;
    background: #ffffff;
    padding: 24px 0;
}

@media (max-width: 760px) {
    body {
        background: #f8faf9;
    }

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

    .container {
        width: min(100% - 24px, 1120px);
    }

    .page {
        padding: 18px 0 44px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0;
        padding: 12px 0;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand img {
        width: 156px;
        height: auto;
    }

    .auth-links {
        flex: 0 0 auto;
        gap: 6px;
    }

    .auth-links span {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auth-link,
    .auth-links > a:not(.button),
    .button.small {
        min-height: 32px;
        padding: 0 10px;
        border-radius: 6px;
        font-size: 13px;
    }

    .auth-link,
    .auth-links > a:not(.button) {
        background: #f4f6f5;
    }

    .main-nav {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 12px;
        background: #f4f6f5;
        font-size: 13px;
    }

    .ad-strip,
    .notice-strip,
    .hero,
    .portal-hero,
    .portal-card,
    .post-list,
    .empty-box,
    .form-panel,
    .post-detail,
    .comments {
        border-radius: 8px;
    }

    .ad-strip {
        gap: 6px;
        margin-bottom: 12px;
        padding: 12px 14px;
    }

    .ad-strip p {
        font-size: 13px;
        line-height: 1.45;
    }

    .post-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 14px 16px;
    }

    .notice-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 12px;
        padding: 14px 16px;
    }

    .daangn-bridge {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 18px;
        margin-bottom: 18px;
        padding: 16px;
    }

    .daangn-bridge-copy p {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .daangn-bridge-copy h2 {
        font-size: 21px;
        word-break: keep-all;
    }

    .daangn-bridge-copy span {
        font-size: 14px;
        line-height: 1.55;
    }

    .daangn-bridge-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .daangn-bridge-actions a {
        min-height: 72px;
        padding: 12px;
    }

    .daangn-bridge-actions strong {
        font-size: 16px;
    }

    .notice-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .notice-title strong {
        font-size: 16px;
    }

    .notice-list {
        gap: 6px;
    }

    .notice-list a,
    .notice-list p {
        display: grid;
        gap: 2px;
        font-size: 14px;
        line-height: 1.45;
    }

    .notice-list time {
        margin-left: 0;
        font-size: 12px;
    }

    .hero {
        gap: 16px;
        padding: 22px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .portal-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
        box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
    }

    .portal-hero::before {
        background-size: 34px 34px;
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.36) 100%);
    }

    .portal-location {
        min-height: 24px;
        margin-bottom: 9px;
        padding: 0 9px;
        font-size: 11px;
    }

    .portal-copy h1 {
        margin-bottom: 12px;
        font-size: 28px;
        line-height: 1.25;
        word-break: keep-all;
    }

    .portal-copy p {
        font-size: 15px;
        line-height: 1.65;
        word-break: keep-all;
    }

    .portal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .portal-actions .button {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
    }

    .opinion-poll {
        margin-top: 16px;
        padding: 12px;
    }

    .opinion-choice-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .opinion-choice {
        min-height: 108px;
        padding: 12px;
    }

    .opinion-choice-label {
        font-size: 18px;
    }

    .opinion-page-hero,
    .opinion-reactions,
    .opinion-poll-large {
        padding: 16px;
    }

    .opinion-page-hero h1 {
        font-size: 26px;
    }

    .opinion-comment-top,
    .opinion-comment-write {
        grid-template-columns: 1fr;
    }

    .opinion-comment-top {
        display: grid;
    }

    .opinion-comment-top input {
        width: 100%;
    }

    .opinion-comment-form .button {
        width: 100%;
    }

    .previous-result-bars {
        grid-template-columns: 1fr;
    }

    .opinion-previous-result .section-head {
        display: grid;
        gap: 12px;
    }

    .opinion-previous-result .button {
        width: 100%;
    }

    .portal-panel {
        gap: 8px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.94);
    }

    .portal-panel strong {
        font-size: 16px;
    }

    .portal-panel a {
        min-height: 40px;
        padding: 0 2px;
        font-size: 14px;
    }

    .portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .admin-section-head,
    .form-head {
        display: grid;
    }

    .admin-section-actions,
    .bulk-actions {
        justify-content: stretch;
    }

    .admin-section-actions .button,
    .bulk-actions .button {
        width: 100%;
    }

    .admin-poll-options {
        grid-template-columns: 1fr;
    }

    .bulk-guide {
        grid-template-columns: 1fr;
    }

    .bulk-form textarea {
        min-height: 360px;
    }

    .home-chat-preview {
        gap: 12px;
        margin-top: 16px;
        padding: 16px;
    }

    .home-chat-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .home-chat-head h2 {
        font-size: 21px;
        word-break: keep-all;
    }

    .home-chat-head .button {
        width: 100%;
    }

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

    .home-chat-message {
        min-height: auto;
        padding: 12px;
    }

    .portal-card {
        min-height: auto;
        padding: 14px;
    }

    .portal-card strong {
        margin-top: 6px;
        font-size: 18px;
    }

    .portal-card p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
        word-break: keep-all;
    }

    .visitor-widget {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding-top: 12px;
    }

    .visitor-widget span {
        min-height: 48px;
        padding: 6px;
        font-size: 12px;
        line-height: 1.35;
    }

    .portal-section {
        margin-top: 22px;
    }

    .media-swipe-section {
        gap: 12px;
        margin-top: 16px;
        padding: 16px;
    }

    .media-swipe-head {
        display: grid;
        gap: 12px;
    }

    .media-swipe-controls {
        display: none;
    }

    .media-swipe-track {
        grid-auto-columns: minmax(280px, calc(100vw - 32px));
        gap: 12px;
        margin: 0 -8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .media-swipe-card {
        grid-template-rows: 82px 420px 74px;
        height: 576px;
    }

    .media-swipe-frame,
    .media-swipe-frame iframe {
        height: 420px;
    }

    .spotlight-section {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 18px;
    }

    .spotlight-column {
        gap: 12px;
        padding: 16px;
    }

    .spotlight-list {
        gap: 8px;
    }

    .spotlight-head h2 {
        font-size: 21px;
    }

    .spotlight-post {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 7px;
        padding: 14px;
    }

    .spotlight-body {
        grid-template-rows: auto auto minmax(34px, auto) auto;
        gap: 4px;
    }

    .spotlight-thumb.is-instagram::before {
        inset: 22px;
        border-width: 3px;
        border-radius: 10px;
    }

    .spotlight-thumb.is-instagram::after {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .spotlight-thumb.is-youtube::before {
        width: 34px;
        height: 34px;
    }

    .spotlight-post strong {
        font-size: 15px;
        word-break: normal;
    }

    .spotlight-post p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .spotlight-meta small {
        display: inline-flex;
        line-height: 1.5;
    }

    .board-toolbar {
        gap: 4px;
        margin: 18px 0 8px;
    }

    .board-toolbar h2 {
        font-size: 19px;
    }

    .board-toolbar p {
        font-size: 13px;
    }

    .image-mark {
        margin-left: 4px;
    }

    .post-list {
        display: grid;
        overflow: visible;
        gap: 6px;
        border: 0;
        background: transparent;
    }

    .board-search,
    .board-search > div,
    .admin-filter-form {
        grid-template-columns: 1fr;
    }

    .board-search .button,
    .admin-filter-form .button {
        width: 100%;
    }

    .post-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-height: auto;
        padding: 11px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
    }

    .post-row strong {
        overflow: hidden;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .post-title-cell {
        flex: 1 0 100%;
        gap: 5px;
    }

    .post-row-meta {
        justify-content: flex-start;
        gap: 4px;
        width: 100%;
    }

    .post-row-meta > span:not(.like-badge),
    .post-row-meta > time {
        min-height: 21px;
        padding: 0 6px;
        font-size: 11px;
    }

    .post-feature-tags {
        gap: 4px;
    }

    .post-row span,
    .post-row time {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        min-height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: #f4f6f5;
        color: #59636f;
        font-size: 11px;
        line-height: 1;
    }

    .pagination {
        gap: 5px;
        margin-top: 14px;
    }

    .pagination a,
    .pagination span,
    .pagination strong {
        min-width: 34px;
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    .qna-question {
        padding: 12px;
    }

    .qna-question-main {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .qna-label {
        width: 30px;
        height: 30px;
    }

    .qna-question h3 {
        font-size: 17px;
        word-break: normal;
    }

    .qna-question p {
        margin-top: 4px;
        font-size: 13px;
    }

    .qna-list {
        gap: 8px;
    }

    .qna-meta {
        padding-left: 0;
        gap: 4px;
    }

    .qna-meta span,
    .qna-meta time {
        min-height: 22px;
        padding: 0 6px;
        font-size: 11px;
    }

    .qna-answer {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px 12px;
    }

    .qna-empty-answer {
        padding: 10px 12px;
        font-size: 13px;
    }

    .empty-box,
    .form-panel,
    .post-detail,
    .comments {
        padding: 20px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-sidebar {
        position: static;
    }

    .side-list-head {
        padding: 14px;
    }

    .side-post {
        padding: 12px 14px;
    }

    .comment-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .comment-actions {
        justify-content: flex-start;
    }

    .comment-board-list {
        margin: 18px 0;
        padding: 14px;
    }

    .comment-board-posts {
        grid-template-columns: 1fr;
    }

    .comment-board-posts a {
        grid-template-columns: 1fr;
        gap: 3px;
        min-height: auto;
    }

    .accepted-answer {
        margin: 0;
        padding: 14px;
    }

    .post-head h1 {
        font-size: 25px;
        word-break: keep-all;
    }

    .post-action-row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .post-menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
        justify-content: stretch;
        width: 100%;
    }

    .post-menu a,
    .post-share-button,
    .admin-toolbox button,
    .admin-toolbox select {
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
    }

    .admin-toolbox,
    .admin-toolbox form {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .admin-toolbox select,
    .admin-toolbox button {
        width: 100%;
    }

    .form-head {
        flex-direction: column;
        gap: 12px;
    }

    .form-head .button {
        width: 100%;
    }

    .form input,
    .form textarea {
        padding: 11px;
    }

    .admin-hero,
    .admin-section-head {
        flex-direction: column;
    }

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

    .admin-visitor-chart {
        grid-template-columns: repeat(14, 48px);
        overflow-x: auto;
    }

    .compose-preview-head,
    .poll-option-row {
        grid-template-columns: 1fr;
    }

    .compose-preview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .poll-option-row {
        display: grid;
    }

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

    .map-preview-art {
        min-height: 120px;
    }

    .map-link-body {
        padding: 16px;
    }

    .map-link-body p {
        font-size: 18px;
    }

    .site-footer {
        padding: 18px 0;
        font-size: 13px;
    }

    .chat-shell {
        padding: 16px;
    }

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

    .chat-head h1 {
        font-size: 23px;
    }

    .chat-messages {
        height: 420px;
        padding: 12px;
    }

    .chat-message {
        max-width: 100%;
    }

    .chat-reaction {
        min-height: 28px;
        padding: 0 9px;
        font-size: 12px;
    }

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

    .chat-form input,
    .chat-form .button {
        min-height: 42px;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(100% - 18px, 1120px);
    }

    .brand img {
        width: 138px;
    }

    .auth-link,
    .auth-links > a:not(.button),
    .button.small {
        min-height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .main-nav a {
        min-height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .portal-copy h1 {
        font-size: 25px;
    }

    .portal-actions {
        grid-template-columns: 1fr;
    }

    .visitor-widget {
        grid-template-columns: 1fr;
    }

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

    .daangn-bridge-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 761px) and (max-width: 1040px) {
    .portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.local-map-picker {
    display: grid;
    gap: 8px;
    margin: 10px 0 18px;
}

.local-map-mini,
.local-map-card-map,
.local-map-large {
    position: relative;
    overflow: hidden;
    border: 1px solid #bfe3d5;
    background:
        linear-gradient(135deg, rgba(247, 156, 51, .12) 0 18%, transparent 18% 100%),
        linear-gradient(155deg, transparent 0 45%, rgba(15, 118, 83, .10) 45% 56%, transparent 56% 100%),
        radial-gradient(circle at 48% 58%, rgba(15, 118, 83, .18), transparent 18%),
        #f8fcfa;
}

.local-map-mini {
    width: 100%;
    min-height: 260px;
    border-radius: 14px;
    cursor: crosshair;
}

.local-map-mini:focus {
    outline: 3px solid rgba(15, 118, 83, .22);
    outline-offset: 3px;
}

.local-map-zone {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(15, 118, 83, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #0f7653;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 118, 83, .08);
}

.zone-north {
    top: 14%;
    left: 52%;
}

.zone-west {
    top: 41%;
    left: 18%;
}

.zone-center {
    top: 57%;
    left: 45%;
}

.zone-east {
    top: 49%;
    left: 63%;
}

.zone-south {
    top: 73%;
    left: 34%;
}

[data-local-map-pin],
.local-map-card-map i,
.local-map-marker::before {
    position: absolute;
    z-index: 3;
    width: 24px;
    height: 24px;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #ff6b13;
    box-shadow: 0 12px 26px rgba(255, 107, 19, .32);
    transform: translate(-50%, -100%) rotate(-45deg);
}

[data-local-map-pin]::after,
.local-map-card-map i::after,
.local-map-marker::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    content: "";
    transform: translate(-50%, -50%);
}

.local-map-card {
    display: grid;
    grid-template-columns: minmax(220px, 32%) 1fr;
    overflow: hidden;
    width: 100%;
    border: 1px solid #cfe2dc;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

a.local-map-card:hover {
    border-color: #0f7653;
}

.local-map-card-map {
    min-height: 170px;
    border-width: 0 1px 0 0;
    border-radius: 0;
}

.local-map-card-map i {
    left: var(--pin-x, 50%);
    top: var(--pin-y, 50%);
}

.local-map-card-body {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
}

.local-map-card-body strong {
    color: #0f7653;
    font-size: 13px;
}

.local-map-card-body p {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.local-map-card-body span {
    color: #49627d;
    font-size: 14px;
}

.local-map-card-body em {
    color: #ff6b13;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.map-hero-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 28px;
    border: 1px solid #d9e2e8;
    border-radius: 10px;
    background: #fff;
}

.map-hero-panel h1 {
    margin: 4px 0 8px;
    font-size: 34px;
}

.map-hero-panel p:last-child {
    margin: 0;
    color: #49627d;
}

.local-map-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.local-map-board,
.local-map-list,
.map-unpinned-list {
    border: 1px solid #d9e2e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.local-map-board {
    padding: 18px;
}

.local-map-board-head,
.local-map-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.local-map-board-head div,
.local-map-list-head {
    color: #111827;
}

.local-map-board-head strong,
.local-map-list-head strong {
    display: block;
    font-size: 18px;
}

.local-map-board-head span,
.local-map-board-head small,
.local-map-list-head span {
    color: #49627d;
    font-size: 13px;
}

.local-map-large {
    min-height: 620px;
    border-radius: 16px;
}

.local-map-marker {
    position: absolute;
    z-index: 4;
    left: var(--pin-x, 50%);
    top: var(--pin-y, 50%);
    color: #111827;
    text-decoration: none;
}

.local-map-marker::before {
    left: 0;
    top: 0;
    content: "";
}

.local-map-marker span {
    position: absolute;
    left: 12px;
    top: -42px;
    min-width: 86px;
    max-width: 150px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 107, 19, .18);
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.local-map-marker:hover span {
    border-color: #ff6b13;
    color: #ff6b13;
}

.local-map-list {
    display: grid;
    gap: 0;
    max-height: 720px;
    overflow: auto;
    padding: 16px;
}

.local-map-place {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-top: 1px solid #edf2f4;
    color: inherit;
    text-decoration: none;
}

.local-map-place:first-of-type {
    border-top: 0;
}

.local-map-place strong {
    color: #111827;
    font-size: 15px;
}

.local-map-place span,
.local-map-place small,
.map-empty {
    color: #49627d;
    font-size: 13px;
}

.local-map-place:hover strong {
    color: #0f7653;
}

.map-unpinned-list {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .local-map-card {
        grid-template-columns: 1fr;
    }

    .local-map-card-map {
        min-height: 190px;
        border-width: 0 0 1px;
    }

    .map-hero-panel,
    .local-map-page {
        grid-template-columns: 1fr;
    }

    .map-hero-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .map-hero-panel h1 {
        font-size: 28px;
    }

    .local-map-large {
        min-height: 520px;
    }

    .local-map-list {
        max-height: none;
    }

    .local-map-marker span {
        display: none;
    }
}
