/*
 * 2026-06-21 체크인 독립형 반영
 * 체크인 지도, 카드, 폼, 목록 전용 스타일입니다.
 */
.place-checkin-shell,
.place-detail,
.place-form-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.place-map-panel,
.place-result-panel,
.place-detail-section,
.place-checkin-form {
    margin-bottom: 18px;
}

.place-search-form {
    display: grid;
    grid-template-columns: 1fr 88px;
    gap: 8px;
    margin-bottom: 10px;
}

.place-search-form input,
.place-field input,
.place-field textarea {
    width: 100%;
    border: 1px solid #d7dde2;
    border-radius: 6px;
    padding: 11px 12px;
    background: #fff;
    color: #202427;
}

.place-search-form button,
.place-card-actions button,
.place-detail-actions button,
.place-detail-actions a,
.place-form-actions button,
.place-form-actions a,
.place-photo-edit-list button {
    border: 0;
    border-radius: 6px;
    padding: 10px 13px;
    background: #24313a;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.place-search-form button {
    background: #1d7f75;
}

.place-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.place-filter-tabs button,
.place-filter-tabs a {
    border: 1px solid #cfd8dc;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #3b454b;
    text-decoration: none;
}

.place-filter-tabs .active,
.place-filter-tabs button.active {
    border-color: #1d7f75;
    background: #e6f4f1;
    color: #11675e;
}

.place-kakao-notice {
    margin: 0 0 10px;
    border: 1px solid #ffe0a6;
    border-radius: 8px;
    padding: 11px 13px;
    background: #fff8e8;
    color: #7a4c00;
    line-height: 1.5;
}

.place-map {
    width: 100%;
    height: 430px;
    overflow: hidden;
    border: 1px solid #d8e0e4;
    border-radius: 8px;
    background: #eef2f3;
}

.place-map-stage {
    position: relative;
    min-width: 0;
}

.place-map-area-search {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 510;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: #086cd9;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(8, 108, 217, .28);
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.place-map-area-search::before {
    content: "↻";
    display: inline-block;
    margin-right: 6px;
    font-size: 16px;
    line-height: 1;
}

.place-map-area-search.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.place-map-area-search:hover,
.place-map-area-search:focus {
    background: #075dbb;
    box-shadow: 0 14px 30px rgba(8, 108, 217, .34);
}

.place-map-area-search[hidden] {
    display: none;
}

.place-my-location .place-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;
}

.place-my-location {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 512;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    background: #fff;
    color: #175cd3;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .14);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.place-my-location::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 999px;
    box-shadow: inset 0 0 0 5px #fff;
}

.place-my-location::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.place-my-location:hover,
.place-my-location:focus {
    border-color: #84adff;
    background: #eef4ff;
    color: #1849a9;
    box-shadow: 0 12px 26px rgba(21, 112, 239, .2);
}

.place-my-location:disabled {
    cursor: wait;
    opacity: .74;
}

.place-my-location.is-loading::before {
    border-color: rgba(23, 92, 211, .24);
    border-top-color: currentColor;
    box-shadow: none;
    animation: place-my-location-spin .72s linear infinite;
}

.place-my-location.is-loading::after {
    display: none;
}

@keyframes place-my-location-spin {
    to {
        transform: rotate(360deg);
    }
}

.place-marker-icon {
    border: 0;
    background: transparent;
}

.place-map-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 8px;
    background: #2673ff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(28, 37, 52, .22);
    transform: rotate(-45deg);
}

.place-map-marker span {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transform: rotate(45deg);
}

.place-map-marker.search {
    background: #2673ff;
}

.place-map-marker.want {
    background: #f04f8b;
}

.place-map-marker.visited {
    background: #18845f;
}

.place-map-marker.current {
    width: 38px;
    height: 38px;
    background: #0b63ce;
    box-shadow: 0 10px 24px rgba(11, 99, 206, .34);
}

.place-map-logo-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 13px 13px 13px 5px;
    background: #2673ff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(28, 37, 52, .22);
    transform: rotate(-45deg);
}

.place-map-logo-marker span {
    display: block;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(45deg);
}

.place-map-logo-marker.search {
    background: #2673ff;
}

.place-map-logo-marker.want {
    background: #f04482;
}

.place-map-logo-marker.visited {
    background: #18845f;
}

.place-map-logo-marker.current {
    width: 40px;
    height: 40px;
    border-color: #fff;
    background: #0b63ce;
    box-shadow: 0 10px 24px rgba(11, 99, 206, .34);
}

.place-map-status-marker {
    display: block;
    transform: translateY(-2px);
}

.place-map-status-pin {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 13px 13px 13px 5px;
    background: #2673ff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(28, 37, 52, .22);
    transform: rotate(-45deg);
}

.place-map-status-pin > span {
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(45deg);
}

.place-map-category-text {
    min-width: 16px;
    text-align: center;
}

.place-map-category-icon {
    width: 23px;
    height: 23px;
}

.place-map-category-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.place-map-status-marker.want .place-map-status-pin {
    background: #f04482;
}

.place-map-status-marker.visited .place-map-status-pin {
    background: #18845f;
}

.place-map-status-marker.current .place-map-status-pin {
    width: 40px;
    height: 40px;
    box-shadow: 0 10px 24px rgba(28, 37, 52, .3);
}

.place-map-photo-marker {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    border: 3px solid #fff;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28, 37, 52, .24);
    transform: rotate(-45deg);
    overflow: hidden;
}

.place-map-photo-marker img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(45deg) scale(1.35);
}

.place-map-photo-marker.current {
    border-color: #2673ff;
    box-shadow: 0 10px 26px rgba(38, 115, 255, .36);
}

.place-map-photo-status {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2673ff;
    box-shadow: 0 2px 5px rgba(28, 37, 52, .2);
}

.place-map-photo-marker.want .place-map-photo-status {
    background: #f04482;
}

.place-map-photo-marker.visited .place-map-photo-status {
    background: #18845f;
}

.place-map-photo-marker.current .place-map-photo-status {
    background: #2673ff;
}

.place-map-popup {
    min-width: 190px;
}

.place-map-popup-title {
    display: block;
    margin-bottom: 5px;
    color: #202427;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.place-map-popup-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 0 0 7px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 900;
}

.place-map-popup-status.want {
    background: #fff5f8;
    color: #b0124f;
}

.place-map-popup-status.visited {
    background: #ecfdf5;
    color: #11675e;
}

.place-map-popup p {
    margin: 0 0 9px;
    color: #5a666d;
    font-size: 12px;
    line-height: 1.4;
}

.place-map-popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.place-map-popup-actions button,
.place-map-popup-actions a {
    min-height: 32px;
    border: 1px solid #d4dde1;
    border-radius: 8px;
    background: #fff;
    color: #344047;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.place-map-popup-actions a {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    border-color: #7b3fe4;
    background: #7b3fe4;
    color: #fff;
}

.place-map-popup-actions button[data-place-action="want"].active {
    border-color: #f04482;
    background: #f04482;
    color: #fff;
}

.place-map-popup-actions button[data-place-action="visited"].active {
    border-color: #18845f;
    background: #18845f;
    color: #fff;
}

.place-detail-map {
    height: 320px;
}

.place-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.place-panel-head h3,
.place-detail-section h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.place-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.place-card {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 126px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.place-card.is-selected {
    border-color: #2673ff;
    box-shadow: 0 0 0 3px rgba(38, 115, 255, .12);
}

.place-thumb {
    display: block;
    min-height: 126px;
    background: linear-gradient(135deg, #dcebe7, #f1e9d9);
}

.place-thumb img,
.place-detail-hero img,
.place-photo-grid img,
.place-photo-edit-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.place-card-body {
    min-width: 0;
    padding: 12px;
}

.place-card-body h4 {
    margin: 4px 0 6px;
    font-size: 16px;
    line-height: 1.35;
}

.place-card-body h4 a {
    color: #202427;
    text-decoration: none;
}

.place-card-body p,
.place-detail-copy p,
.place-memo {
    margin: 0 0 8px;
    color: #5a666d;
    line-height: 1.5;
}

.place-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 3px 8px;
    background: #eef2f3;
    color: #59666d;
    font-size: 12px;
    font-weight: 900;
}

.place-badge.want {
    background: #fff5f8;
    color: #b0124f;
}

.place-badge.visited {
    background: #e6f4f1;
    color: #11675e;
}

.place-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
    color: #67737a;
    font-size: 13px;
}

.place-card-actions,
.place-detail-actions,
.place-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.place-card-actions a,
.place-card-actions button {
    border: 1px solid #d4dde1;
    background: #fff;
    color: #344047;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(28, 37, 52, .06);
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.place-card-actions a:hover,
.place-card-actions button:hover,
.place-card-actions a:focus,
.place-card-actions button:focus {
    box-shadow: 0 4px 12px rgba(28, 37, 52, .12);
    transform: translateY(-1px);
}

.place-card-actions .place-edit-link {
    border-color: #7b3fe4;
    background: #7b3fe4;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(123, 63, 228, .18);
}

.place-card-actions .place-edit-link:hover,
.place-card-actions .place-edit-link:focus {
    border-color: #6330c8;
    background: #6330c8;
    color: #fff;
    text-decoration: none;
}

.place-card-actions button.active,
.place-detail-actions button.active {
    border-color: #1d7f75;
    background: #1d7f75;
    color: #fff;
}

.place-empty {
    grid-column: 1 / -1;
    border: 1px dashed #ccd6db;
    border-radius: 8px;
    padding: 18px;
    background: #fbfcfc;
    color: #647178;
    text-align: center;
}

.place-detail-hero {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #dcebe7, #f1e9d9);
}

.place-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    margin: 18px 0;
}

.place-detail-copy h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
}

.place-category {
    color: #1d7f75;
    font-weight: 700;
}

.place-detail-actions a {
    text-decoration: none;
}

.place-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.place-photo-grid img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background: #eef2f3;
}

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

.place-review-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 12px;
    color: #263138;
    text-decoration: none;
}

.place-form-place {
    margin-bottom: 16px;
}

.place-checkin-form {
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.place-checkin-form fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px;
    border: 0;
    padding: 0;
}

.place-checkin-form legend,
.place-field span {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #263138;
}

.place-field {
    display: block;
    margin-bottom: 16px;
}

.place-field.is-hidden {
    display: none;
}

.place-form-help {
    display: block;
    margin-top: 6px;
    color: #6b747b;
    font-size: 13px;
    font-style: normal;
    line-height: 1.45;
}

.place-photo-edit-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
}

.place-photo-edit-list figure {
    position: relative;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #eef2f3;
}

.place-photo-edit-list button {
    position: absolute;
    padding: 6px 8px;
    font-size: 12px;
    background: rgba(36, 49, 58, .85);
}

.place-photo-edit-list .place-photo-represent {
    right: 6px;
    bottom: 6px;
}

.place-photo-edit-list .place-photo-represent.active {
    background: #1d7f75;
}

.place-photo-edit-list .place-photo-delete {
    top: 6px;
    right: 6px;
    background: rgba(185, 67, 52, .9);
}

.place-photo-status {
    position: absolute;
    left: 6px;
    bottom: 6px;
    border-radius: 999px;
    padding: 5px 7px;
    background: rgba(36, 49, 58, .82);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.place-photo-edit-list figure.is-uploading img {
    opacity: .5;
}

.place-photo-edit-list figure.is-error {
    outline: 2px solid #b94334;
    outline-offset: -2px;
}

.place-photo-edit-list figure.is-error .place-photo-status {
    background: rgba(185, 67, 52, .92);
}

.place-form-actions .danger {
    background: #b94334;
}

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

    .place-detail-actions {
        align-content: start;
    }

    .place-photo-grid,
    .place-photo-edit-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .place-checkin-shell,
    .place-detail,
    .place-form-page {
        padding: 16px 12px 36px;
    }

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

    .place-map {
        height: 360px;
    }

    .place-card {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 104px;
    }

    .place-thumb {
        min-height: 104px;
    }

    .place-detail-hero {
        height: 220px;
    }

    .place-photo-grid,
    .place-photo-edit-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Reference image alignment */
.place-ref-screen {
    color: #111827;
}

.place-ref-main {
    max-width: 1240px;
}

.place-ref-detail,
.place-ref-form {
    max-width: 720px;
}

.place-ref-panel {
    container-type: inline-size;
    border: 1px solid #bfd0f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 42, 92, .06);
}

.place-ref-main .place-map-panel,
.place-ref-main .place-result-panel,
.place-ref-detail .place-detail-main,
.place-ref-detail .place-detail-section,
.place-ref-form .place-card,
.place-ref-form .place-checkin-form {
    padding: 14px;
}

.place-ref-main .place-filter-tabs,
.place-detail-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0 0 12px;
    border-bottom: 1px solid #dfe5f2;
}

.place-ref-main .place-filter-tabs button,
.place-detail-tabs a {
    flex: 1 1 0;
    min-height: 38px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #5e6678;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.place-ref-main .place-filter-tabs button.active,
.place-detail-tabs a.active {
    border-bottom-color: #f04482;
    background: transparent;
    color: #f04482;
}

.place-ref-main .place-filter-tabs button.is-disabled {
    color: #9aa3b4;
    cursor: default;
}

.place-visibility-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 12px;
}

.place-visibility-controls.is-hidden {
    display: none;
}

.place-visibility-controls button {
    min-height: 34px;
    border: 1px solid #d7deea;
    border-radius: 999px;
    padding: 0 12px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.place-visibility-controls button:hover,
.place-visibility-controls button:focus {
    border-color: #b9c5d8;
    background: #f8fafc;
}

.place-visibility-controls button.is-off {
    border-style: dashed;
    background: #f2f4f7;
    color: #667085;
}

.place-map-workspace {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
}

.place-map-sidebar {
    border: 1px solid #d8e2f4;
    border-radius: 10px;
    padding: 12px;
    background: #fbfdff;
}

.place-map-sidebar .place-search-form {
    display: block;
    margin: 0 0 14px;
}

.place-map-sidebar .place-search-form label {
    display: block;
    margin-bottom: 8px;
    color: #1e2a4a;
    font-weight: 800;
}

.place-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px;
}

.place-search-row input {
    min-height: 42px;
}

.place-search-row button {
    min-height: 42px;
    padding: 0;
    background: #244fce;
}

.place-kakao-notice {
    border-color: #ffd39a;
    border-radius: 8px;
    background: #fff8e8;
    font-size: 13px;
}

.place-recent-search strong {
    display: block;
    margin-bottom: 6px;
    color: #1e2a4a;
}

.place-recent-search p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.place-ref-main .place-map {
    height: 560px;
    border-color: #d8e2f4;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef5fb, #f8fafc);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.place-map-selected-card {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 500;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(.98);
    transition: opacity .22s ease, transform .22s ease;
    will-change: opacity, transform;
}

.place-map-selected-card[hidden] {
    display: none;
}

.place-map-selected-card.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.place-map-selected-inner {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(196, 207, 230, .9);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 40px rgba(23, 35, 66, .18);
    backdrop-filter: blur(14px);
}

.place-map-selected-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d7deea;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #344054;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .08);
}

.place-map-selected-close:hover,
.place-map-selected-close:focus {
    border-color: #b9c5d8;
    background: #f5f7fb;
    color: #111827;
}

.place-map-selected-thumb {
    display: block;
    overflow: hidden;
    min-height: 104px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef5fb, #f6f1ff);
}

.place-map-selected-thumb img,
.place-map-selected-fallback {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 104px;
    object-fit: cover;
}

.place-map-selected-fallback {
    background:
        radial-gradient(circle at 30% 25%, rgba(240, 68, 130, .22), transparent 34%),
        linear-gradient(135deg, #eef5fb, #f8fafc);
}

.place-map-selected-body {
    min-width: 0;
}

.place-map-selected-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-right: 30px;
}

.place-map-selected-head h4 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.place-map-selected-head a {
    color: #111827;
    text-decoration: none;
}

.place-map-selected-body p {
    margin: 5px 0 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.place-map-selected-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    color: #5f6b7a;
    font-size: 13px;
}

.place-ref-main .place-card-actions {
    align-items: center;
}

.place-ref-main .place-card-actions button,
.place-ref-main .place-card-actions a {
    min-height: 38px;
    border-radius: 8px;
    padding: 0 12px;
    font-weight: 700;
}

.place-card-actions button,
.place-card-actions a,
.place-detail-actions button,
.place-detail-actions a {
    border: 1px solid #d7deea;
    background: #fff;
    color: #344054;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.place-card-actions button:hover,
.place-card-actions a:hover,
.place-card-actions button:focus,
.place-card-actions a:focus,
.place-detail-actions button:hover,
.place-detail-actions a:hover,
.place-detail-actions button:focus,
.place-detail-actions a:focus {
    border-color: #b9c5d8;
    background: #f9fbff;
    color: #1d2939;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .09);
}

.place-card-actions .place-edit-link,
.place-detail-actions a {
    border-color: #d7deea;
    background: #f5f7fb;
    color: #344054;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.place-card-actions .place-edit-link:hover,
.place-card-actions .place-edit-link:focus,
.place-detail-actions a:hover,
.place-detail-actions a:focus {
    border-color: #b9c5d8;
    background: #eef2f8;
    color: #1d2939;
}

.place-ref-main .place-card-list {
    grid-template-columns: 1fr;
}

.place-ref-main .place-card,
.place-ref-form .place-form-place {
    border-color: #d8e2f4;
    border-radius: 10px;
}

.place-card-actions button[data-place-action="want"],
.place-detail-actions button[data-place-action="want"] {
    border-color: #f04482;
    color: #f04482;
}

.place-card-actions button[data-place-action="visited"],
.place-detail-actions button[data-place-action="visited"] {
    border-color: #2fa66d;
    color: #18845f;
}

.place-card-actions button[data-place-action].active,
.place-detail-actions button[data-place-action].active {
    color: #fff;
}

.place-card-actions button[data-place-action="want"].active,
.place-detail-actions button[data-place-action="want"].active {
    border-color: #f04482;
    background: #f04482;
}

.place-card-actions button[data-place-action="visited"].active,
.place-detail-actions button[data-place-action="visited"].active {
    border-color: #18845f;
    background: #18845f;
}

.place-ref-detail .place-detail-hero {
    height: 250px;
    border-radius: 12px 12px 0 0;
    border: 1px solid #bfd0f4;
    border-bottom: 0;
}

.place-ref-detail .place-detail-main {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 12px;
    border-radius: 0 0 12px 12px;
}

.place-ref-detail .place-detail-copy h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.place-ref-detail .place-category {
    color: #f59f00;
}

.place-ref-detail .place-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #edf0fa;
    border-radius: 10px;
    background: linear-gradient(90deg, #fff6fa, #f6f1ff);
}

.place-ref-detail .place-counts span {
    padding: 12px 10px;
    text-align: center;
}

.place-ref-detail .place-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.place-ref-detail .place-detail-actions button,
.place-ref-detail .place-detail-actions a {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
}

.place-ref-detail .place-detail-actions a {
    background: #7b3fe4;
    color: #fff;
}

.place-detail-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    border: 1px solid #bfd0f4;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.place-ref-detail .place-detail-section {
    margin-bottom: 12px;
}

.place-ref-detail .place-photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.place-ref-detail .place-review-list a {
    border-color: #d8e2f4;
    border-radius: 10px;
}

.place-ref-form .place-form-place {
    grid-template-columns: 88px minmax(0, 1fr);
    position: relative;
    min-height: 88px;
    padding-top: 34px;
}

.place-form-section-title {
    position: absolute;
    top: 10px;
    left: 14px;
    color: #1e2a4a;
    font-weight: 800;
}

.place-ref-form .place-checkin-form {
    border-color: #bfd0f4;
}

.place-status-field label,
.place-open-field label {
    flex: 1 1 150px;
    border: 1px solid #d8e2f4;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: #28354f;
}

.place-status-field label:has(input:checked),
.place-open-field label:has(input:checked) {
    border-color: #7b3fe4;
    background: #f6f1ff;
    color: #5b2cc8;
    font-weight: 800;
}

.place-ref-form .place-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.place-ref-form .place-form-actions button[type="submit"] {
    background: #7b3fe4;
}

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

    .place-ref-main .place-map {
        height: 460px;
    }

    .place-ref-main .place-filter-tabs button,
    .place-detail-tabs a {
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    .place-ref-main .place-map-panel,
    .place-ref-main .place-result-panel,
    .place-ref-detail .place-detail-main,
    .place-ref-detail .place-detail-section,
    .place-ref-form .place-card,
    .place-ref-form .place-checkin-form {
        padding: 12px;
    }

    .place-ref-detail .place-detail-hero {
        height: 220px;
    }

    .place-ref-main .place-map {
        height: 420px;
    }

    .place-ref-detail .place-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .place-ref-detail .place-detail-actions,
    .place-ref-form .place-form-actions {
        grid-template-columns: 1fr;
    }

    .place-map-selected-card {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .place-map-area-search {
        top: 10px;
        min-height: 38px;
        padding: 0 15px;
        font-size: 13px;
    }

    .place-map-selected-inner {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .place-map-selected-thumb,
    .place-map-selected-thumb img,
    .place-map-selected-fallback {
        min-height: 84px;
    }

    .place-map-selected-actions {
        gap: 6px;
    }
}

.place-card-actions .place-edit-link,
.place-ref-detail .place-detail-actions a {
    border-color: #d7deea;
    background: #f5f7fb;
    color: #344054;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.place-card-actions .place-edit-link:hover,
.place-card-actions .place-edit-link:focus,
.place-ref-detail .place-detail-actions a:hover,
.place-ref-detail .place-detail-actions a:focus {
    border-color: #b9c5d8;
    background: #eef2f8;
    color: #1d2939;
}

.place-card-actions .place-clear-action {
    border-color: #d0d5dd;
    background: #f9fafb;
    color: #667085;
}

.place-card-actions .place-clear-action:hover,
.place-card-actions .place-clear-action:focus {
    border-color: #98a2b3;
    background: #f2f4f7;
    color: #344054;
}

.place-card-actions button[data-place-action="want"],
.place-detail-actions button[data-place-action="want"] {
    border-color: #f5b3cd;
    background: #fff;
    color: #d92d6b;
}

.place-card-actions button[data-place-action="visited"],
.place-detail-actions button[data-place-action="visited"] {
    border-color: #a9dfc1;
    background: #fff;
    color: #158358;
}

.place-card-actions button[data-place-action="want"].active,
.place-detail-actions button[data-place-action="want"].active {
    border-color: #f04482;
    background: #fff0f6;
    color: #d92d6b;
}

.place-card-actions button[data-place-action="visited"].active,
.place-detail-actions button[data-place-action="visited"].active {
    border-color: #6cc99a;
    background: #ecfdf3;
    color: #087443;
}

.place-card-actions .place-clear-action[data-place-action] {
    border-color: #d0d5dd;
    background: #f9fafb;
    color: #667085;
}

.place-card-actions .place-clear-action[data-place-action]:hover,
.place-card-actions .place-clear-action[data-place-action]:focus {
    border-color: #98a2b3;
    background: #f2f4f7;
    color: #344054;
}

/* Button clarity refinement */
.place-ref-main {
    max-width: 1360px;
}

.place-map-workspace {
    grid-template-columns: 200px minmax(0, 1fr);
}

.place-ref-main .place-map {
    height: 640px;
}

.place-visibility-controls button {
    border-color: #b7c4d8;
    background: #eef5ff;
    color: #175cd3;
}

.place-visibility-controls button::before {
    content: "✓";
    display: inline-block;
    margin-right: 6px;
    font-weight: 900;
}

.place-visibility-controls button.is-off {
    border-style: solid;
    border-color: #d0d5dd;
    background: #f2f4f7;
    color: #667085;
}

.place-visibility-controls button.is-off::before {
    content: "×";
}

.place-visibility-controls button.is-mixed {
    border-color: #f2c94c;
    background: #fff8df;
    color: #946200;
}

.place-visibility-controls button.is-mixed::before {
    content: "−";
}

.place-card-actions {
    gap: 7px;
}

.place-card-actions button,
.place-card-actions a {
    min-height: 40px;
    border-radius: 9px;
    padding: 0 13px;
    font-weight: 800;
}

.place-card-actions button[data-place-action="want"]:not(.place-clear-action)::before {
    content: "♡";
    margin-right: 6px;
}

.place-card-actions button[data-place-action="want"].active:not(.place-clear-action)::before {
    content: "♥";
}

.place-card-actions button[data-place-action="visited"]:not(.place-clear-action)::before {
    content: "✓";
    margin-right: 6px;
}

.place-card-actions .place-clear-action[data-place-action]::before {
    content: "×";
    margin-right: 6px;
}

.place-card-actions .place-edit-link::before,
.place-ref-detail .place-detail-actions a::before {
    content: "✎";
    margin-right: 6px;
}

.place-card-actions .place-edit-link,
.place-ref-detail .place-detail-actions a {
    border-color: #c7d7fe;
    background: #eef4ff;
    color: #175cd3;
}

.place-card-actions .place-edit-link:hover,
.place-card-actions .place-edit-link:focus,
.place-ref-detail .place-detail-actions a:hover,
.place-ref-detail .place-detail-actions a:focus {
    border-color: #84adff;
    background: #dbeafe;
    color: #1849a9;
}

.place-card-actions .place-review-link,
.place-map-popup-actions .place-review-link {
    border-color: #d0d5dd;
    background: #f9fafb;
    color: #475467;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.place-card-actions .place-review-link:hover,
.place-card-actions .place-review-link:focus,
.place-map-popup-actions .place-review-link:hover,
.place-map-popup-actions .place-review-link:focus {
    border-color: #b9c5d8;
    background: #f2f4f7;
    color: #344054;
    text-decoration: none;
}

.place-card-actions .place-review-link::before {
    content: "\270E";
    margin-right: 5px;
    color: #175cd3;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 760px) {
    .place-ref-main .place-map {
        height: 500px;
    }
}

@media (max-width: 560px) {
    .place-ref-main .place-map {
        height: 440px;
    }
}

/* Final UX cleanup: compact action buttons and wider map reading area */
.place-ref-main {
    max-width: 1440px;
}

.place-map-workspace {
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.place-map-sidebar {
    padding: 12px;
}

.place-search-row {
    grid-template-columns: minmax(0, 1fr) 50px;
}

.place-ref-main .place-map {
    height: 720px;
    min-height: 640px;
}

.place-visibility-controls {
    gap: 6px;
    margin: -2px 0 12px;
}

.place-visibility-controls button {
    min-height: 32px;
    border-color: #d6ddea;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800;
    padding: 0 12px;
}

.place-visibility-controls button::before {
    content: "✓";
    margin-right: 5px;
    color: #175cd3;
}

.place-visibility-controls button.is-off {
    border-color: #d0d5dd;
    background: #f5f6f8;
    color: #8a94a6;
    text-decoration: line-through;
    opacity: .82;
}

.place-visibility-controls button.is-off::before {
    content: "×";
    color: #667085;
}

.place-visibility-controls button.is-mixed {
    border-color: #f2c94c;
    background: #fff8df;
    color: #946200;
    text-decoration: none;
    opacity: 1;
}

.place-visibility-controls button.is-mixed::before {
    content: "−";
    color: #946200;
}

.place-card-head,
.place-map-selected-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.place-card-title,
.place-map-selected-title {
    min-width: 0;
}

.place-card-head h4,
.place-map-selected-head h4 {
    margin: 4px 0 6px;
}

.place-edit-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 30px;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    background: #eef4ff;
    color: #175cd3;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 0 10px;
    text-decoration: none;
    white-space: nowrap;
}

.place-edit-inline::before {
    content: "✎";
    margin-right: 4px;
}

.place-edit-inline:hover,
.place-edit-inline:focus {
    border-color: #84adff;
    background: #dbeafe;
    color: #1849a9;
}

.place-card-actions,
.place-map-selected-actions {
    gap: 6px;
    align-items: center;
}

.place-card-actions button,
.place-card-actions a,
.place-map-selected-actions button,
.place-map-selected-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1;
}

.place-card-actions button[data-place-action="want"]:not(.place-clear-action),
.place-map-selected-actions button[data-place-action="want"]:not(.place-clear-action) {
    min-width: 96px;
}

.place-card-actions button[data-place-action="visited"]:not(.place-clear-action),
.place-map-selected-actions button[data-place-action="visited"]:not(.place-clear-action) {
    min-width: 102px;
}

.place-card-actions .place-clear-action[data-place-action],
.place-map-selected-actions .place-clear-action[data-place-action] {
    min-width: 58px;
    color: #667085;
}

@media (max-width: 1180px) {
    .place-map-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .place-map-sidebar {
        display: block;
    }

    .place-map-sidebar .place-search-form {
        margin-bottom: 0;
    }

    .place-ref-main .place-map {
        height: 660px;
        min-height: 580px;
    }
}

@media (max-width: 760px) {
    .place-ref-main .place-map {
        height: 600px;
        min-height: 540px;
    }
}

@media (max-width: 560px) {
    .place-card-actions button,
    .place-card-actions a,
    .place-map-selected-actions button {
        min-width: 0;
        padding: 0 9px;
    }

    .place-card-actions button[data-place-action="want"]:not(.place-clear-action),
    .place-map-selected-actions button[data-place-action="want"]:not(.place-clear-action) {
        min-width: 92px;
    }

    .place-card-actions button[data-place-action="visited"]:not(.place-clear-action),
    .place-map-selected-actions button[data-place-action="visited"]:not(.place-clear-action) {
        min-width: 100px;
    }

    .place-card-actions .place-clear-action[data-place-action],
    .place-map-selected-actions .place-clear-action[data-place-action] {
        min-width: 56px;
    }

    .place-ref-main .place-map {
        height: 560px;
        min-height: 500px;
    }
}

/* Search result map focus action */
.place-map-focus-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 30px;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    background: #fff;
    color: #175cd3;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    margin: 2px 0 8px;
    padding: 0 10px;
}

.place-map-focus-action::before {
    content: "⌖";
    margin-right: 5px;
}

.place-map-focus-action:hover,
.place-map-focus-action:focus {
    border-color: #84adff;
    background: #eef4ff;
    color: #1849a9;
}

/* 20260617 catchtable-style map layout */
.place-checkin-shell.place-ref-main {
    max-width: 1480px;
    padding-top: 18px;
}

.place-ref-main .place-map {
    height: clamp(720px, 80vh, 920px);
    min-height: 720px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #eef0f2;
    box-shadow: none;
}

.place-ref-panel {
    border-color: #e5e7ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.place-ref-main .place-filter-tabs {
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 0;
}

.place-ref-main .place-filter-tabs button,
.place-visibility-controls button {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid #e2e4e8;
    border-radius: 999px;
    padding: 0 12px;
    border-color: #e2e4e8;
    background: #fff;
    color: #555b64;
    box-shadow: none;
}

.place-ref-main .place-filter-tabs button.active,
.place-visibility-controls button:not(.is-off) {
    border-color: #17191c;
    background: #17191c;
    color: #fff;
}

.place-ref-main .place-filter-tabs button.is-disabled {
    border-color: #eceef1;
    background: #f7f7f8;
    color: #a2a6ad;
}

.place-map-sidebar .place-search-row input,
.place-map-sidebar .place-search-row button {
    min-height: 44px;
}

.place-map-sidebar .place-search-row button {
    background: #ff5a5f;
}

.place-map-sidebar .place-search-row button:hover,
.place-map-sidebar .place-search-row button:focus {
    background: #e94b50;
}

.place-map-area-search {
    background: #fff;
    color: #2e3238;
    box-shadow: 0 5px 16px rgba(20, 25, 35, .14);
}

.place-map-area-search:hover,
.place-map-area-search:focus {
    background: #f6f7f8;
    color: #17191c;
}

.place-map-selected-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: 820px;
}

.place-map-selected-inner {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 118px;
    gap: 14px;
    min-height: 124px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20, 25, 35, .18);
    backdrop-filter: none;
}

.place-map-selected-thumb,
.place-map-selected-thumb img,
.place-map-selected-fallback {
    min-height: 102px;
    border-radius: 6px;
}

.place-map-selected-body {
    align-self: center;
}

.place-map-selected-meta,
.place-compact-meta {
    color: #ff5a5f;
    font-size: 12px;
    font-weight: 800;
}

.place-map-selected-body h4 {
    margin: 5px 32px 5px 0;
    font-size: 18px;
    letter-spacing: 0;
}

.place-map-selected-body h4 a {
    color: #17191c;
    text-decoration: none;
}

.place-map-selected-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.place-map-selected-status-actions button {
    min-height: 31px;
    border: 1px solid #e0e2e6;
    border-radius: 6px;
    padding: 0 9px;
    background: #fff;
    color: #4c5159;
    font-size: 12px;
    font-weight: 800;
}

.place-map-selected-status-actions button.active,
.place-map-selected-status-actions button[data-place-action="want"].active {
    border-color: #ff5a5f;
    background: #fff1f2;
    color: #d43d43;
}

.place-map-selected-status-actions button[data-place-action="visited"].active {
    border-color: #16805d;
    background: #edf9f4;
    color: #116b4f;
}

.place-map-selected-primary {
    display: grid;
    align-content: center;
    gap: 7px;
}

.place-map-selected-primary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #e0e2e6;
    border-radius: 6px;
    background: #fff;
    color: #34383f;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.place-map-selected-primary .place-selected-view-link {
    border-color: #ff5a5f;
    background: #ff5a5f;
    color: #fff;
}

.place-card-list {
    grid-template-columns: 1fr;
    gap: 8px;
}

.place-compact-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 92px;
    gap: 10px;
    align-items: center;
    min-height: 90px;
    border: 1px solid #e5e7ea;
    border-radius: 8px;
    padding: 8px;
}

.place-compact-card .place-thumb,
.place-compact-card .place-thumb img {
    width: 82px;
    min-height: 72px;
    height: 72px;
    border-radius: 6px;
}

.place-compact-card .place-card-body {
    padding: 0;
}

.place-compact-card .place-card-body h4 {
    margin: 4px 0;
    font-size: 15px;
}

.place-compact-card .place-card-body p {
    margin-bottom: 4px;
    font-size: 12px;
}

.place-compact-card .place-counts {
    margin: 4px 0 0;
    font-size: 11px;
}

.place-compact-action {
    display: grid;
}

.place-compact-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #ff5a5f;
    border-radius: 6px;
    background: #ff5a5f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 760px) {
    .place-ref-main .place-map {
        height: 620px;
        min-height: 620px;
    }

    .place-map-selected-inner {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .place-map-selected-primary {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .place-compact-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .place-compact-card .place-thumb,
    .place-compact-card .place-thumb img {
        width: 72px;
        height: 72px;
    }

    .place-compact-action {
        grid-column: 1 / -1;
    }
}

/* Leaflet map with a clean, familiar Korean map-service UI */
.checkin-map-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "map";
    gap: 0;
    align-items: stretch;
}

.checkin-map-canvas {
    grid-area: map;
    position: relative;
    min-width: 0;
}

.checkin-map-fullscreen-control {
    margin-top: 14px !important;
    margin-right: 14px !important;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .14) !important;
    border-radius: 10px !important;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .16) !important;
}

.checkin-map-fullscreen-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 0;
    background: #fff;
    color: #34383f;
    cursor: pointer;
}

.checkin-map-fullscreen-toggle:hover,
.checkin-map-fullscreen-toggle:focus-visible {
    background: #f3f5f7;
    color: #0052a4;
    outline: 0;
}

.checkin-map-fullscreen-icon {
    width: 20px;
    height: 20px;
    background:
        linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat;
}

.checkin-map-fullscreen-toggle.is-active .checkin-map-fullscreen-icon {
    transform: rotate(180deg);
    background:
        linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat;
}

.checkin-map-fullscreen-scroll-lock {
    overflow: hidden;
}

.checkin-map-canvas.checkin-map-fullscreen-active {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    background: #eef1f3;
}

.checkin-map-canvas.checkin-map-fullscreen-active:not(:fullscreen) {
    position: fixed;
    z-index: 100000;
    inset: 0;
}

.checkin-map-canvas.checkin-map-fullscreen-active .place-map {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 0;
}

.checkin-map-canvas.checkin-map-fullscreen-active .checkin-search-box {
    top: calc(14px + env(safe-area-inset-top));
    right: calc(74px + env(safe-area-inset-right));
    left: calc(14px + env(safe-area-inset-left));
}

.checkin-map-canvas.checkin-map-fullscreen-active .checkin-map-fullscreen-control {
    margin-top: calc(14px + env(safe-area-inset-top)) !important;
    margin-right: calc(14px + env(safe-area-inset-right)) !important;
}

.checkin-map-canvas.checkin-map-fullscreen-active .leaflet-bottom {
    bottom: env(safe-area-inset-bottom);
}

.checkin-map-canvas.checkin-map-fullscreen-active .place-map-selected-card {
    bottom: calc(86px + env(safe-area-inset-bottom));
}

.checkin-status-list-section {
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.checkin-status-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.checkin-status-list-head h3 {
    margin: 0;
    color: #17191c;
    font-size: 18px;
}

.checkin-status-list-tabs {
    display: inline-flex;
    gap: 4px;
    border-radius: 999px;
    padding: 4px;
    background: #f1f3f5;
}

.checkin-status-list-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 15px;
    background: transparent;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.checkin-status-list-tabs button.is-active {
    background: #fff;
    color: #0052a4;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

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

.checkin-status-list-grid > .place-empty {
    grid-column: 1 / -1;
}

.checkin-status-list-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7e9ed;
    border-radius: 13px;
    background: #fff;
}

.checkin-status-list-focus {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    width: 100%;
    min-height: 106px;
    border: 0;
    padding: 0;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.checkin-status-list-focus:hover,
.checkin-status-list-focus:focus-visible {
    background: #f6f9fc;
    outline: 0;
}

.checkin-status-list-thumb,
.checkin-status-list-thumb img,
.checkin-status-list-fallback {
    display: block;
    width: 86px;
    height: 106px;
    object-fit: cover;
    background: #eef1f3;
}

.checkin-status-list-fallback::after {
    content: "장소";
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 800;
}

.checkin-status-list-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 11px 12px;
}

.checkin-status-list-meta,
.checkin-status-list-address,
.checkin-status-list-dates {
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkin-status-list-body strong {
    overflow: hidden;
    color: #17191c;
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkin-status-list-dates {
    color: #0052a4;
}

.checkin-status-list-actions {
    display: flex;
    gap: 6px;
    border-top: 1px solid #eef0f2;
    padding: 8px 10px;
}

.checkin-status-list-actions a {
    flex: 1 1 0;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    padding: 7px 8px;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.checkin-status-list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
}

.checkin-status-list-pagination:empty {
    display: none;
}

.checkin-status-list-pagination button {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    padding: 0 10px;
    background: #fff;
    color: #475467;
    font-weight: 800;
    cursor: pointer;
}

.checkin-status-list-pagination button.is-current {
    border-color: #0052a4;
    background: #0052a4;
    color: #fff;
}

.checkin-status-list-pagination button:disabled {
    cursor: default;
    opacity: .4;
}

.checkin-bottom-sheet {
    grid-area: sheet;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: clamp(720px, 80vh, 920px);
    overflow: hidden auto;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.checkin-list-section {
    min-height: 0;
    border-bottom: 1px solid #eef0f2;
    padding-bottom: 12px;
}

.checkin-list-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkin-list-section .place-panel-head {
    margin-bottom: 8px;
}

.checkin-list-section .place-panel-head h3 {
    color: #17191c;
    font-size: 15px;
}

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

.checkin-search-box {
    position: absolute;
    top: 14px;
    right: 74px;
    left: 14px;
    z-index: 520;
    display: block;
    max-width: 560px;
    margin: 0;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
    backdrop-filter: blur(8px);
}

.checkin-search-box > .place-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.checkin-search-box .place-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 6px;
}

.checkin-search-box .place-search-row input,
.checkin-search-box .place-search-row button {
    min-height: 46px;
    border-radius: 10px;
}

.checkin-search-box .place-search-row input {
    border: 0;
    padding: 0 13px;
    background: #f7f8fa;
    color: #17191c;
    font-size: 15px;
    outline: 0;
}

.checkin-search-box .place-search-row input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px #03c75a;
}

.checkin-search-box .place-search-row button {
    border: 0;
    background: #03c75a;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.checkin-search-box .place-search-row button:hover,
.checkin-search-box .place-search-row button:focus {
    background: #02b451;
}

.checkin-search-results-panel {
    display: none;
    max-height: min(360px, 48vh);
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.checkin-search-results-panel.is-visible {
    display: block;
}

.checkin-search-results-panel[hidden] {
    display: none;
}

.checkin-search-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #eef0f2;
    padding: 10px 12px;
}

.checkin-search-results-head strong {
    color: #17191c;
    font-size: 14px;
    line-height: 1.35;
}

.checkin-search-results-head span {
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.checkin-search-results-list {
    max-height: min(304px, 40vh);
    overflow-y: auto;
}

.checkin-search-results-panel .checkin-search-result-item {
    display: grid;
    width: 100%;
    gap: 3px;
    min-height: 0;
    border: 0;
    border-bottom: 1px solid #f0f2f4;
    border-radius: 0;
    padding: 11px 12px;
    background: #fff;
    color: #17191c;
    text-align: left;
    cursor: pointer;
}

.checkin-search-results-panel .checkin-search-result-item:last-child {
    border-bottom: 0;
}

.checkin-search-results-panel .checkin-search-result-item:hover,
.checkin-search-results-panel .checkin-search-result-item:focus {
    background: #f4fbf7;
    color: #17191c;
    outline: 0;
}

.checkin-search-results-panel .checkin-search-result-item:focus-visible {
    box-shadow: inset 0 0 0 2px #03c75a;
}

.checkin-search-result-item strong {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkin-search-result-item span,
.checkin-search-result-item small {
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkin-map-canvas .place-map-area-search {
    top: 82px;
}

.checkin-map-canvas .place-my-location {
    top: 82px;
}

.checkin-map-canvas .place-map {
    border-color: #dfe3e8;
    border-radius: 14px;
    background: #eef1f3;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.checkin-map-canvas .leaflet-tile {
    filter: none;
}

.checkin-map-canvas .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

.checkin-map-canvas .leaflet-control-zoom a {
    width: 40px;
    height: 40px;
    border-color: #eceef1;
    color: #34383f;
    font-size: 20px;
    line-height: 40px;
}

.checkin-map-canvas .leaflet-control-zoom .checkin-map-zoom-level {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 24px;
    box-sizing: border-box;
    border-top: 1px solid #eceef1;
    background: #fff;
    color: #667085;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.checkin-map-canvas .leaflet-control-zoom .checkin-map-zoom-level.is-subway-exit-zoom {
    background: #eef6ff;
    color: #0052a4;
}

.checkin-marker {
    border: 0;
    background: transparent;
}

.checkin-marker .place-map-status-pin {
    border-radius: 50% 50% 50% 7px;
    background: #4b5563;
}

.checkin-map-place-marker .place-map-status-pin {
    border-color: #fff;
    background: #4b5563;
    color: #fff;
}

.checkin-map-place-marker .checkin-marker-symbol svg {
    width: 21px;
    height: 21px;
}

.checkin-map-place-marker .checkin-marker-symbol circle {
    fill: #4b5563;
    stroke: #fff;
    stroke-width: 2;
}

.checkin-map-selected-marker {
    z-index: 900 !important;
}

.checkin-map-selected-marker-label {
    position: relative;
    display: flex;
    width: 220px;
    height: 74px;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}

.checkin-map-selected-marker-text {
    display: block;
    max-width: 190px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, .97);
    color: #20242a;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .18);
}

.checkin-map-selected-marker-label > .checkin-map-place-marker {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.checkin-marker .place-map-status-marker.want .place-map-status-pin {
    background: #ff5a72;
}

.checkin-marker .place-map-status-marker.visited .place-map-status-pin {
    background: #03a66a;
}

.checkin-marker .place-map-status-marker.unchecked .place-map-status-pin {
    background: #7b8490;
}

.checkin-marker .place-map-status-marker.current .place-map-status-pin {
    box-shadow: 0 0 0 4px rgba(3, 199, 90, .2), 0 10px 24px rgba(15, 23, 42, .28);
}

.checkin-marker-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
}

.checkin-marker-symbol > svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkin-marker .place-map-status-marker.want .checkin-marker-symbol > svg {
    fill: currentColor;
    stroke: currentColor;
}

.checkin-leaflet-popup .leaflet-popup-content-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
}

.checkin-leaflet-popup .leaflet-popup-content {
    min-width: 230px;
    margin: 14px;
}

.checkin-leaflet-popup .leaflet-popup-tip {
    box-shadow: 3px 3px 8px rgba(15, 23, 42, .08);
}

.checkin-leaflet-popup .leaflet-popup-close-button {
    top: 5px;
    right: 6px;
    color: #6b7280;
}

.checkin-place-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    border-color: #e7e9ed;
    border-radius: 12px;
    padding: 9px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.checkin-place-card:hover,
.checkin-place-card.is-selected {
    border-color: #a7d8bb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
}

.checkin-place-card .place-thumb,
.checkin-place-card .place-thumb img {
    width: 76px;
    height: 76px;
    min-height: 76px;
    border-radius: 10px;
}

.checkin-place-card .place-thumb.is-empty {
    background: linear-gradient(145deg, #edf1f3, #dfe5e8);
}

.checkin-card-status-actions {
    display: flex;
    gap: 5px;
    margin-top: 7px;
}

.checkin-card-status-actions button {
    min-height: 34px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    padding: 0 8px;
    background: #fff;
    color: #4b5563;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.checkin-card-status-actions button[data-place-action="want"].active {
    border-color: #ff9cab;
    background: #fff1f3;
    color: #d93655;
}

.checkin-card-status-actions button[data-place-action="visited"].active {
    border-color: #7ed7b0;
    background: #edf9f4;
    color: #087a50;
}

.checkin-place-card .place-compact-action {
    grid-column: 1 / -1;
}

.place-card-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.place-card-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.place-card-links a:first-child {
    border-color: #03c75a;
    background: #03c75a;
    color: #fff;
}

@media (max-width: 980px) {
    .checkin-map-wrap {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .checkin-status-list-section {
        margin-top: 12px;
        border-radius: 14px;
        padding: 12px;
    }

    .checkin-status-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    .checkin-status-list-tabs {
        align-self: flex-start;
    }

    .checkin-status-list-grid {
        grid-template-columns: 1fr;
    }

    .checkin-status-list-pagination {
        flex-wrap: wrap;
    }

    .checkin-map-wrap {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "map";
        gap: 0;
    }

    .checkin-map-canvas .place-map {
        height: 620px;
        min-height: 620px;
        border-radius: 14px;
    }

    .checkin-search-box {
        position: absolute;
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        border-radius: 13px;
        padding: 7px;
    }

    .checkin-search-box .place-search-row {
        grid-template-columns: minmax(0, 1fr) 58px;
    }

    .checkin-search-box .place-search-row input,
    .checkin-search-box .place-search-row button {
        min-height: 44px;
    }

    .checkin-search-results-panel {
        max-height: min(300px, 42vh);
    }

    .checkin-search-results-list {
        max-height: min(244px, 34vh);
    }

    .checkin-map-canvas .place-map-area-search,
    .checkin-map-canvas .place-my-location {
        top: 72px;
    }

    .checkin-bottom-sheet {
        position: relative;
        z-index: 530;
        max-height: none;
        margin: -74px 8px 0;
        overflow: visible;
        border-radius: 18px 18px 12px 12px;
        padding: 12px 10px 14px;
        box-shadow: 0 -8px 26px rgba(15, 23, 42, .14);
    }

    .checkin-bottom-sheet::before {
        content: "";
        display: block;
        width: 42px;
        height: 4px;
        margin: -3px auto 8px;
        border-radius: 999px;
        background: #d4d7dc;
    }

    .checkin-place-list {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .checkin-place-list .checkin-place-card {
        flex: 0 0 min(82vw, 340px);
        scroll-snap-align: start;
    }

    .checkin-map-canvas .place-map-selected-card {
        right: 10px;
        bottom: 86px;
        left: 10px;
    }

    .checkin-map-canvas .place-map-selected-inner {
        border-radius: 14px;
    }

    .checkin-map-canvas .place-map-selected-thumb,
    .checkin-map-canvas .place-map-selected-thumb img,
    .checkin-map-canvas .place-map-selected-fallback {
        align-self: start;
        height: 82px;
        min-height: 82px;
    }
}

@media (max-width: 440px) {
    .checkin-bottom-sheet {
        margin-right: 5px;
        margin-left: 5px;
    }

    .checkin-map-canvas .place-map-selected-card {
        bottom: 94px;
    }

    .checkin-card-status-actions button {
        flex: 1 1 0;
        min-height: 38px;
    }
}

@media (min-width: 761px) {
    @container (max-width: 900px) {
        .checkin-map-wrap {
            grid-template-columns: minmax(0, 1fr);
            grid-template-areas: "map";
            gap: 0;
        }

        .checkin-bottom-sheet {
            max-height: none;
            overflow: visible;
        }
    }
}

/* Dedicated Leaflet subway overlay */
.checkin-subway-control {
    margin: 0 0 14px 14px !important;
}

.checkin-subway-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    border: 1px solid rgba(0, 63, 127, .22);
    border-radius: 50%;
    padding: 0;
    background: #0052a4;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .16);
    backdrop-filter: blur(8px);
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.checkin-subway-toggle:hover,
.checkin-subway-toggle:focus-visible {
    border-color: #003f7f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 82, 164, .18), 0 8px 22px rgba(15, 23, 42, .2);
    transform: translateY(-1px);
}

.checkin-subway-toggle-icon {
    position: relative;
    display: block;
    width: 21px;
    height: 23px;
    border: 2px solid currentColor;
    border-radius: 7px 7px 5px 5px;
    box-sizing: border-box;
}

.checkin-subway-toggle-icon::before,
.checkin-subway-toggle-icon::after {
    content: "";
    position: absolute;
    bottom: -5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.checkin-subway-toggle-icon::before {
    left: 2px;
}

.checkin-subway-toggle-icon::after {
    right: 2px;
}

.checkin-subway-toggle-window {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 11px;
    height: 6px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}

.checkin-subway-toggle-rail {
    position: absolute;
    right: 3px;
    bottom: 4px;
    left: 3px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.checkin-subway-toggle.is-off {
    border-color: #c9ced6;
    background: #e5e7eb;
    color: #626b78;
}

.checkin-subway-toggle.is-off:hover,
.checkin-subway-toggle.is-off:focus-visible {
    border-color: #aeb4bd;
    box-shadow: 0 0 0 3px rgba(98, 107, 120, .14), 0 8px 22px rgba(15, 23, 42, .18);
}

.checkin-subway-route-casing,
.checkin-subway-route-line {
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.checkin-subway-station-icon,
.checkin-subway-exit-icon {
    border: 0;
    background: transparent;
}

.checkin-subway-station-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 120px;
    min-height: 27px;
    border: 1px solid rgba(32, 36, 42, .2);
    border-radius: 999px;
    padding: 2px 8px 2px 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    color: #17191c;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .18);
}

.checkin-subway-station-symbol {
    display: inline-flex;
    flex: 0 0 21px;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #0052a4;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.checkin-subway-exit-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    border: 2px solid #0052a4;
    border-radius: 9px;
    padding: 0 5px;
    background: #fff;
    color: #003f7f;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .22);
    transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.checkin-subway-exit-highlight {
    z-index: 1000 !important;
}

.checkin-subway-exit-highlight .checkin-subway-exit-badge {
    background: #0052a4;
    color: #fff;
    transform: scale(1.28);
    box-shadow: 0 0 0 5px rgba(0, 82, 164, .2), 0 7px 18px rgba(15, 23, 42, .28);
}

@media (max-width: 760px) {
    .checkin-subway-control {
        margin: 0 0 10px 10px !important;
    }

    .checkin-subway-toggle {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
}
