:root {
    --paper: #f5efe4;
    --paper-2: #eee3d2;
    --ink: #211f1b;
    --muted: #726b5f;
    --line: #d7c9b6;
    --accent: #b64224;
    --accent-dark: #8f2e18;
    --moss: #657457;
    --moss-light: #dfe6d4;
    --cream: #fffaf1;
    --shadow: 0 24px 70px rgba(42, 33, 22, 0.13);
    --radius: 8px;
    --font-display: Georgia, "Times New Roman", serif;
    --font-sans: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(180, 66, 36, 0.10), transparent 34rem),
        linear-gradient(90deg, rgba(33, 31, 27, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(33, 31, 27, 0.03) 1px, transparent 1px),
        var(--paper);
    background-size: auto, 34px 34px, 34px 34px, auto;
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.5;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 4.35rem;
    padding: 0.72rem clamp(1rem, 4vw, 4rem);
    background: rgba(245, 239, 228, 0.92);
    border-bottom: 1px solid rgba(33, 31, 27, 0.10);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    flex: 0 0 auto;
    height: 2.95rem;
}

.brand-mark-img {
    width: 2.55rem;
    height: 2.55rem;
    object-fit: contain;
}

.brand-wordmark {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.main-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 620;
    letter-spacing: 0;
}

.main-nav a:hover,
.site-footer a:hover {
    color: var(--ink);
}

.mobile-nav-menu {
    display: none;
}

.nav-submit {
    padding: 0.62rem 1rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: "⌄";
    margin-left: 0.35rem;
    color: var(--accent);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 50%;
    display: grid;
    width: 13.5rem;
    padding: 0.55rem;
    border: 1px solid rgba(33, 31, 27, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.98);
    box-shadow: 0 18px 42px rgba(33, 31, 27, 0.14);
    transform: translateX(-50%);
}

.nav-dropdown-menu a {
    padding: 0.62rem 0.7rem;
    border-radius: 6px;
    color: var(--ink);
}

.nav-dropdown-menu a:hover {
    background: var(--moss-light);
}

.section {
    padding: clamp(3.6rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-tight {
    padding-top: clamp(2rem, 5vw, 4rem);
}

.hero {
    padding: clamp(1.2rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.7rem) 1.4rem;
}

.hero-editorial {
    display: block;
}

.hero-panel {
    position: relative;
    min-height: min(70vh, 47rem);
    overflow: hidden;
    border-radius: 12px;
    background: var(--paper-2);
    box-shadow: var(--shadow);
}

.hero-panel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(245, 239, 228, 0.28), rgba(245, 239, 228, 0.02) 42%),
        linear-gradient(0deg, rgba(33, 31, 27, 0.14), transparent 44%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(47rem, 49%);
    padding: clamp(3.6rem, 6vw, 7rem) 0 0 clamp(2.2rem, 5vw, 5.2rem);
    max-width: none;
}

.hero-copy h1 {
    max-width: 34rem;
    font-size: clamp(3.35rem, 5.05vw, 5.25rem);
    line-height: 1.02;
}

.hero-location {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    color: var(--moss);
    font-size: 0.88rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.hero-location span::before {
    content: "";
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--moss);
}

.hero-location strong {
    color: var(--moss);
    font-weight: 850;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
.page-title {
    margin-bottom: 1.2rem;
    font-size: clamp(2.85rem, 5.2vw, 5.1rem);
    line-height: 1.02;
    letter-spacing: 0;
    font-family: var(--font-display);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.85rem, 3vw, 3.15rem);
    line-height: 1.07;
    letter-spacing: 0;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.16;
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.lede {
    max-width: 42rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.actions,
.card-actions,
.map-tools,
.marker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.actions {
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--ink);
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff8ec;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
}

.hero-media {
    position: relative;
    min-height: min(69vh, 48rem);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.hero-media img,
.place-hero-image img,
.editorial-image img,
.event-image img,
.guide-card img,
.place-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after,
.editorial-image::after,
.place-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(182, 66, 36, 0.23), transparent 38%),
        linear-gradient(0deg, rgba(33, 31, 27, 0.36), transparent 55%);
    pointer-events: none;
}

.map-linework {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(255, 250, 241, 0.38);
    transform: rotate(-3deg);
}

.map-linework::before,
.map-linework::after {
    content: "";
    position: absolute;
    background: rgba(255, 250, 241, 0.55);
}

.map-linework::before {
    left: 18%;
    right: 8%;
    top: 42%;
    height: 1px;
    transform: rotate(14deg);
}

.map-linework::after {
    width: 1px;
    top: 8%;
    bottom: 14%;
    left: 57%;
    transform: rotate(-20deg);
}

.hero-peek {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.90);
    color: var(--ink);
}

.hero-peek span {
    color: var(--muted);
    font-size: 0.86rem;
}

.split-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: 2.4rem;
}

.place-grid,
.guide-grid,
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.nightlife-link-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.nightlife-link-card {
    display: grid;
    gap: 0.35rem;
    min-height: 6.8rem;
    align-content: end;
    padding: 1rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.72);
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.nightlife-link-card:hover {
    border-color: rgba(182, 66, 36, 0.36);
    background: rgba(255, 250, 241, 0.92);
    transform: translateY(-1px);
}

.nightlife-link-card span {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.05;
}

.nightlife-link-card strong,
.result-summary,
.pagination-status {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.result-summary {
    margin: -1.1rem 0 1.4rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.pagination .button {
    min-width: 7rem;
    justify-content: center;
}

.pagination .is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.place-card,
.guide-card,
.event-card,
.info-block,
.submit-panel,
.map-panel,
.list-panel {
    background: rgba(255, 250, 241, 0.72);
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
}

.place-card {
    display: grid;
    grid-template-rows: 13rem 1fr;
    overflow: hidden;
}

.place-photo,
.guide-card figure,
.event-image {
    display: block;
    margin: 0;
    overflow: hidden;
    background: var(--paper-2);
}

.place-card-body,
.guide-card-body,
.event-body {
    padding: 1.1rem;
}

.place-card-body h3 a {
    color: inherit;
}

.meta-row,
.tag-row,
.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.meta-row {
    color: var(--muted);
    font-size: 0.9rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--moss-light);
    color: #35412f;
    font-size: 0.78rem;
    font-weight: 750;
}

.score {
    color: var(--accent);
    font-weight: 850;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(21rem, 0.42fr) minmax(0, 0.58fr);
    min-height: calc(100vh - 4.5rem);
}

.map-page-shell {
    padding: clamp(0.7rem, 1.6vw, 1.25rem) clamp(1rem, 2.4vw, 1.8rem) clamp(1rem, 2.4vw, 1.8rem);
}

.map-page-head {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(25rem, 0.52fr);
    gap: clamp(0.85rem, 2.4vw, 1.55rem);
    align-items: end;
    margin-bottom: 0.75rem;
}

.map-page-head > *,
.global-map-search,
.global-map-filter-row > *,
.global-map-tag-filter {
    min-width: 0;
}

.map-page-head .page-title,
.map-page-head .lede {
    margin-bottom: 0;
}

.map-page-head .page-title {
    max-width: 12ch;
    font-size: clamp(2.2rem, 3.3vw, 3.4rem);
}

.global-map-search {
    display: grid;
    gap: 0.58rem;
    padding: 0.78rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.78);
}

.global-map-search label {
    display: grid;
    gap: 0.35rem;
}

.global-map-search label .eyebrow {
    margin-bottom: 0;
}

.global-map-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.global-map-tag-filter {
    margin: 0;
    padding: 0.15rem 0 0;
    border: 0;
}

.global-map-tag-filter legend {
    margin-bottom: 0.38rem;
}

.global-map-tag-filter > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-height: 4.4rem;
    overflow: auto;
}

.global-map-tag-filter label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.62rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 250, 241, 0.78);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.global-map-tag-filter input {
    width: 0.9rem;
    height: 0.9rem;
    accent-color: var(--accent);
}

.global-map-tag-filter label:has(input:checked) {
    border-color: rgba(86, 119, 82, 0.3);
    background: var(--moss-light);
}

.global-map-discovery {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(22rem, 0.42fr);
    gap: 1rem;
    align-items: start;
}

.global-map-wrap {
    position: sticky;
    top: 8.4rem;
}

.global-map-panel {
    position: relative;
    height: clamp(30rem, 58vh, 40rem);
    min-height: 0;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
}

.map-search-here {
    position: absolute;
    z-index: 4;
    top: clamp(1.35rem, 4vh, 2.35rem);
    left: 50%;
    transform: translateX(-50%);
}

.map-search-here .button {
    box-shadow: 0 14px 34px rgba(33, 31, 27, 0.22);
}

.map-mobile-preview {
    position: absolute;
    z-index: 5;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    pointer-events: none;
}

.map-mobile-preview .marker-preview {
    pointer-events: auto;
}

.map-location-card {
    position: absolute;
    z-index: 4;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: end;
    gap: 0.55rem;
    max-width: min(22rem, calc(100% - 2rem));
}

.map-location-button {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border: 1px solid rgba(33, 31, 27, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.96);
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(33, 31, 27, 0.16);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.map-location-button:hover {
    transform: translateY(-1px);
    background: var(--cream);
    box-shadow: 0 14px 34px rgba(33, 31, 27, 0.2);
}

.map-location-button:active {
    transform: translateY(0) scale(0.98);
}

.map-location-button:focus-visible {
    outline: 3px solid rgba(182, 66, 36, 0.28);
    outline-offset: 3px;
}

.map-location-button svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.map-location-status {
    margin-bottom: 0;
    max-width: 16rem;
    padding: 0.55rem 0.72rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.94);
    box-shadow: 0 12px 30px rgba(33, 31, 27, 0.13);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.global-map-list {
    max-height: none;
    overflow: visible;
    padding-right: 0.2rem;
}

.global-map-card .neighborhood-place-body h3 a {
    color: inherit;
    text-decoration: none;
}

.global-map-card .neighborhood-place-body h3 a:hover {
    color: var(--accent);
}

.list-panel {
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    padding: clamp(1.2rem, 3vw, 2rem);
    overflow: auto;
}

.map-panel {
    position: sticky;
    top: 4.4rem;
    height: calc(100vh - 4.4rem);
    border-radius: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    overflow: hidden;
}

.map-panel.global-map-panel {
    position: relative;
    top: 0;
    height: calc(100vh - 9.5rem);
    min-height: 38rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
}

#map,
#detail-map,
#collection-map {
    width: 100%;
    height: 100%;
}

.search-form {
    display: grid;
    gap: 0.75rem;
    margin: 1.4rem 0;
}

.control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.88);
    color: var(--ink);
    padding: 0.85rem 0.95rem;
}

.textarea {
    min-height: 8rem;
    resize: vertical;
}

.map-list {
    display: grid;
    gap: 0.75rem;
}

.map-list-card {
    display: block;
    padding: 1rem;
    border-top: 1px solid var(--line);
}

.map-list-card h3 {
    margin-top: 0.3rem;
}

.card-actions {
    margin-top: 0.9rem;
}

.ks-place-actions {
    position: relative;
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.place-hero-save .ks-place-actions {
    max-width: 36rem;
    margin-top: 1.1rem;
}

.ks-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.ks-action-row button,
.ks-menu-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 2.08rem;
    padding: 0.42rem 0.58rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.72);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ks-action-row button:hover,
.ks-menu-card button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(101, 116, 87, 0.55);
    background: rgba(223, 230, 212, 0.72);
}

.ks-action-row button svg,
.ks-menu-card button svg {
    width: 0.92rem;
    height: 0.92rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ks-action-row [data-ks-status="favorite"] svg {
    fill: currentColor;
    stroke-width: 1.6;
}

.ks-action-row button.is-active,
.ks-place-actions.is-saved [data-ks-save],
.ks-place-actions.is-in-list [data-ks-open-menu="list"],
.ks-place-actions.is-in-itinerary [data-ks-open-menu="itinerary"] {
    border-color: rgba(101, 116, 87, 0.7);
    background: var(--moss-light);
    color: #34422f;
}

.ks-action-row [data-ks-status="favorite"].is-active {
    border-color: rgba(182, 66, 36, 0.38);
    background: rgba(182, 66, 36, 0.1);
    color: var(--accent);
}

.ks-action-menu {
    position: absolute;
    z-index: 12;
    left: 0;
    top: calc(100% - 0.2rem);
    width: min(20rem, calc(100vw - 2rem));
}

.ks-menu-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(33, 31, 27, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.98);
    box-shadow: 0 18px 42px rgba(33, 31, 27, 0.15);
}

.ks-menu-card strong {
    font-size: 0.78rem;
}

.ks-menu-card p,
.ks-action-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.ks-menu-card form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
}

.ks-menu-card .input {
    min-height: 2.08rem;
    padding: 0.45rem 0.58rem;
    font-size: 0.78rem;
}

.ks-menu-card button:disabled {
    cursor: default;
    opacity: 0.56;
}

.map-list-card .ks-place-actions {
    margin-top: 0.75rem;
}

.map-list-card .ks-action-row button span,
.place-grid .ks-action-row button span {
    display: none;
}

.card-actions .button,
.map-tools .button,
.marker-actions a {
    min-height: 2.35rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.86rem;
}

.distance-label {
    margin-bottom: 0.5rem;
    color: var(--moss);
    font-weight: 800;
}

.station-walk-label {
    margin-bottom: 0;
    color: var(--moss);
    font-size: 0.9rem;
    font-weight: 850;
}

.marker-preview {
    position: relative;
    display: grid;
    gap: 0.32rem;
    width: min(15.5rem, 72vw);
    padding: 0.9rem 3rem 0.9rem 1rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 10px;
    background: rgba(255, 250, 241, 0.96);
    box-shadow: 0 14px 34px rgba(33, 31, 27, 0.22);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.25;
}

.marker-preview strong {
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.05;
}

.marker-preview-rich {
    width: min(20rem, 78vw);
    padding-top: 0.75rem;
}

.marker-preview-rich img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 7px;
}

.marker-preview span,
.marker-preview p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.marker-preview p {
    color: var(--moss);
}

.marker-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.marker-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.45rem;
}

.marker-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.88);
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.neighborhood-shell {
    padding: clamp(1rem, 2vw, 1.7rem);
}

.neighborhood-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(18rem, 0.32fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: end;
    min-height: min(74vh, 48rem);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 5.2rem);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(33, 31, 27, 0.72), rgba(33, 31, 27, 0.18) 58%, rgba(33, 31, 27, 0.62)),
        url("/static/img/hero-seoul-solo.png") center / cover;
    color: var(--cream);
    box-shadow: var(--shadow);
}

.neighborhood-hero-hongdae {
    background:
        linear-gradient(90deg, rgba(33, 31, 27, 0.74), rgba(33, 31, 27, 0.14) 58%, rgba(80, 38, 29, 0.66)),
        url("/static/img/hero-seoul-solo.png") 58% center / cover;
}

.neighborhood-hero-mangwon {
    background:
        linear-gradient(90deg, rgba(47, 55, 38, 0.76), rgba(33, 31, 27, 0.10) 58%, rgba(33, 31, 27, 0.60)),
        url("/static/img/hero-seoul-solo.png") 42% center / cover;
}

.neighborhood-hero-hapjeong {
    background:
        linear-gradient(90deg, rgba(38, 47, 58, 0.78), rgba(33, 31, 27, 0.12) 58%, rgba(33, 31, 27, 0.62)),
        url("/static/img/hero-seoul-solo.png") 66% center / cover;
}

.neighborhood-hero-euljiro {
    background:
        linear-gradient(90deg, rgba(33, 31, 27, 0.72), rgba(33, 31, 27, 0.18) 58%, rgba(33, 31, 27, 0.62)),
        url("/static/img/hero-seoul-solo.png") center / cover;
}

.neighborhood-hero::after {
    content: "";
    position: absolute;
    inset: auto clamp(1rem, 4vw, 4rem) clamp(1rem, 4vw, 3rem) auto;
    width: clamp(8rem, 18vw, 16rem);
    height: clamp(8rem, 18vw, 16rem);
    border: 1px solid rgba(255, 250, 241, 0.42);
    border-radius: 50%;
    transform: rotate(-12deg);
    pointer-events: none;
}

.neighborhood-hero-copy,
.neighborhood-hero-card {
    position: relative;
    z-index: 1;
}

.neighborhood-hero h1 {
    max-width: 48rem;
    color: var(--cream);
    font-size: clamp(3.25rem, 6.4vw, 6.9rem);
}

.neighborhood-hero .lede {
    max-width: 45rem;
    color: rgba(255, 250, 241, 0.82);
}

.neighborhood-hero .button-secondary {
    border-color: rgba(255, 250, 241, 0.72);
    color: var(--cream);
}

.neighborhood-hero-card {
    align-self: end;
    padding: 1rem;
    border: 1px solid rgba(255, 250, 241, 0.24);
    border-radius: var(--radius);
    background: rgba(33, 31, 27, 0.42);
    backdrop-filter: blur(12px);
}

.neighborhood-hero-card span,
.neighborhood-hero-card p {
    color: rgba(255, 250, 241, 0.75);
}

.neighborhood-hero-card span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.neighborhood-hero-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2.15rem);
    line-height: 1.05;
}

.neighborhood-hero-card p {
    margin: 0.8rem 0 0;
}

.neighborhood-tabs {
    position: sticky;
    top: 4.45rem;
    z-index: 14;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0;
    padding: 0.55rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.9);
    backdrop-filter: blur(14px);
}

.neighborhood-tabs a {
    min-height: 2.45rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 850;
}

.neighborhood-tabs a[aria-current="page"],
.neighborhood-tabs a:hover {
    background: var(--moss-light);
    color: #35412f;
}

.neighborhood-search {
    display: grid;
    grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 0.7fr);
    gap: clamp(0.8rem, 2vw, 1.3rem);
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.72rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    box-shadow: 0 12px 32px rgba(42, 33, 22, 0.07);
}

.neighborhood-search label {
    display: grid;
    gap: 0.12rem;
    padding-left: 0.75rem;
}

.neighborhood-search label .eyebrow {
    margin-bottom: 0;
}

.neighborhood-search label strong {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.08;
}

.neighborhood-search > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.neighborhood-search .input {
    flex: 1 1 18rem;
    min-height: 3rem;
    border-radius: 999px;
    background: var(--cream);
}

.neighborhood-search .button {
    min-height: 3rem;
    padding-inline: 1.05rem;
}

.neighborhood-discovery {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(22rem, 0.42fr);
    gap: 1rem;
    align-items: start;
}

.neighborhood-map-wrap {
    position: sticky;
    top: 8.4rem;
}

.neighborhood-map-panel {
    height: calc(100vh - 9.5rem);
    min-height: 38rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
}

#bar-map {
    width: 100%;
    height: 100%;
}

.neighborhood-list {
    display: grid;
    gap: 0.82rem;
}

.neighborhood-list-head,
.empty-neighborhood,
.neighborhood-seo-panel {
    padding: clamp(1.05rem, 2.2vw, 1.55rem);
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.78);
}

.neighborhood-list-head h2,
.neighborhood-list-head p,
.empty-neighborhood p {
    margin-bottom: 0;
}

.neighborhood-place-stack {
    display: grid;
    gap: 0.82rem;
}

.neighborhood-place-card {
    display: grid;
    grid-template-columns: minmax(9.5rem, 0.38fr) minmax(0, 0.62fr);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
    background: rgba(255, 250, 241, 0.86);
    box-shadow: 0 12px 34px rgba(42, 33, 22, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.neighborhood-place-card.is-map-active {
    border-color: rgba(191, 68, 39, 0.42);
    box-shadow: 0 16px 38px rgba(42, 33, 22, 0.14);
}

.neighborhood-place-image {
    position: relative;
    min-height: 15rem;
    overflow: hidden;
    background: var(--paper-2);
}

.neighborhood-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighborhood-place-image span {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.36rem 0.52rem;
    border-radius: 999px;
    background: rgba(33, 31, 27, 0.74);
    color: var(--cream);
    font-size: 0.72rem;
    font-weight: 850;
}

.neighborhood-place-body {
    display: grid;
    align-content: start;
    gap: 0.72rem;
    padding: 1rem;
}

.neighborhood-place-body h3,
.neighborhood-place-body p {
    margin-bottom: 0;
}

.neighborhood-center-marker,
.neighborhood-bar-marker,
.neighborhood-user-marker {
    display: block;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(33, 31, 27, 0.22);
}

.neighborhood-center-marker {
    width: 24px;
    height: 24px;
    border: 3px solid var(--cream);
    background: var(--moss);
}

.neighborhood-bar-marker {
    width: 22px;
    height: 22px;
    border: 3px solid var(--cream);
    background: var(--accent);
}

.neighborhood-bar-marker.is-active {
    width: 28px;
    height: 28px;
    border-width: 4px;
    background: var(--moss);
    box-shadow: 0 0 0 5px rgba(95, 124, 75, 0.18), 0 8px 24px rgba(33, 31, 27, 0.28);
}

.neighborhood-user-marker {
    width: 26px;
    height: 26px;
    border: 4px solid var(--cream);
    background: #2f66d0;
}

.neighborhood-fallback {
    padding-top: clamp(3.2rem, 6vw, 5.6rem);
}

.neighborhood-seo-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    margin-top: 1rem;
}

.neighborhood-seo-panel p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.neighborhood-adjacent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.58);
}

.neighborhood-adjacent .eyebrow {
    margin-bottom: 0;
}

.neighborhood-adjacent div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.neighborhood-adjacent span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-weight: 850;
}

.collection-map-head {
    margin-bottom: 1rem;
}

.collection-map-head > div {
    align-items: center;
}

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

.my-row-actions .button {
    min-height: 2.2rem;
    padding: 0.5rem 0.8rem;
}

.my-editor-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.42rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.place-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.place-hero-image,
.editorial-image {
    position: relative;
    min-height: 34rem;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.64fr) minmax(18rem, 0.36fr);
    gap: 1rem;
}

.info-block {
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.info-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.info-list div {
    display: grid;
    gap: 0.15rem;
}

.info-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-list dd {
    margin: 0;
    font-weight: 650;
}

.mini-map {
    height: 23rem;
    overflow: hidden;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 0.28fr) minmax(0, 0.72fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.toc {
    position: sticky;
    top: 7rem;
    align-self: start;
    color: var(--muted);
}

.article-body {
    max-width: 52rem;
    font-size: 1.08rem;
}

.article-body h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.event-card {
    display: grid;
    grid-template-columns: 9rem 1fr;
    overflow: hidden;
}

.date-block {
    display: grid;
    place-items: center;
    min-height: 9rem;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    font-weight: 850;
}

.date-block span {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.submit-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(24rem, 0.58fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.submit-panel {
    padding: clamp(1.2rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}

.my-shell {
    padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 6rem);
}

.my-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.36fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    min-height: clamp(23rem, 42vw, 34rem);
    overflow: hidden;
    padding: clamp(2.1rem, 5vw, 5.2rem);
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(255, 250, 241, 0.97) 0%, rgba(245, 239, 228, 0.86) 39%, rgba(245, 239, 228, 0.28) 70%),
        linear-gradient(0deg, rgba(33, 31, 27, 0.12), transparent 46%),
        url("/static/img/hero-seoul-solo.png") center / cover;
    box-shadow: var(--shadow);
}

.my-hero::after {
    content: "My";
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: clamp(-1rem, -2vw, -0.2rem);
    color: rgba(101, 116, 87, 0.12);
    font-family: var(--font-display);
    font-size: clamp(7rem, 18vw, 16rem);
    font-weight: 700;
    line-height: 0.8;
    pointer-events: none;
}

.my-hero > * {
    position: relative;
    z-index: 1;
}

.my-hero .page-title {
    max-width: 39rem;
    font-size: clamp(3.4rem, 6.4vw, 6rem);
}

.my-hero .lede {
    max-width: 45rem;
}

.signin-card,
.my-panel,
.my-tabs {
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.82);
}

.signin-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 1.1rem;
    box-shadow: 0 18px 45px rgba(33, 31, 27, 0.10);
    backdrop-filter: blur(18px);
}

.signin-card .button {
    grid-column: 1 / -1;
    width: 100%;
}

.signin-card p,
.muted-copy,
.list-card p,
.stop-card p {
    margin: 0;
    color: var(--muted);
}

.signin-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--moss);
}

.my-tabs {
    position: sticky;
    top: 4.5rem;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.1rem 0;
    padding: 0.55rem;
    backdrop-filter: blur(14px);
}

.my-tabs a {
    min-height: 2.45rem;
    padding: 0.58rem 0.85rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
}

.my-tabs a:hover {
    background: var(--moss-light);
    color: var(--ink);
}

.my-dashboard {
    display: grid;
    grid-template-columns: minmax(13.5rem, 0.18fr) minmax(0, 0.82fr);
    gap: 1rem;
    align-items: stretch;
}

.my-rail {
    position: sticky;
    top: 5.6rem;
    align-self: start;
    min-height: calc(100vh - 7rem);
    padding: 1rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(238, 227, 210, 0.56)),
        linear-gradient(90deg, rgba(33, 31, 27, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(33, 31, 27, 0.03) 1px, transparent 1px);
    background-size: auto, 24px 24px, 24px 24px;
    box-shadow: 0 14px 34px rgba(33, 31, 27, 0.06);
}

.my-rail .my-tabs {
    position: static;
    display: grid;
    margin: 1rem 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.my-rail .my-tabs a {
    justify-content: flex-start;
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 2.65rem;
}

.my-rail .my-tabs a:hover {
    border-color: var(--line);
    background: rgba(255, 250, 241, 0.72);
}

.rail-note {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.rail-note p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.my-main {
    display: grid;
    gap: 1rem;
}

.breakout-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.66fr) minmax(20rem, 0.34fr);
    gap: 1rem;
    align-items: start;
}

.my-side-stack {
    display: grid;
    gap: 1rem;
}

.my-panel {
    padding: clamp(1.05rem, 2.3vw, 1.7rem);
    box-shadow: 0 12px 40px rgba(42, 33, 22, 0.06);
}

.panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.panel-heading.compact {
    align-items: start;
}

.glance-panel {
    position: relative;
    overflow: hidden;
}

.glance-panel::after {
    content: "";
    position: absolute;
    right: -4rem;
    top: -5rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 66, 36, 0.12), transparent 64%);
    pointer-events: none;
}

.glance-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr repeat(2, minmax(0, 0.82fr));
    gap: 0.75rem;
}

.glance-card {
    min-height: 8.2rem;
    display: grid;
    align-content: space-between;
    gap: 0.55rem;
    padding: 0.9rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
    background: rgba(255, 250, 241, 0.78);
}

.glance-card.is-primary {
    grid-row: span 2;
    min-height: 17.15rem;
    background:
        linear-gradient(180deg, rgba(33, 31, 27, 0.92), rgba(33, 31, 27, 0.76)),
        url("/static/img/hero-seoul-solo.png") center / cover;
    color: var(--paper);
}

.glance-card span {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.glance-card.is-primary span,
.glance-card.is-primary p {
    color: rgba(255, 250, 241, 0.78);
}

.glance-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.4vw, 2.65rem);
    line-height: 1;
}

.glance-card p {
    margin: 0;
    color: var(--muted);
}

.status-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.status-filter button,
.save-chip,
.list-add-row button,
.reorder-actions button,
.small-text-button,
.mini-map-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.72);
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
}

.status-filter button,
.save-chip {
    min-height: 2.15rem;
    padding: 0.42rem 0.68rem;
    font-size: 0.78rem;
}

.status-filter button.is-active,
.save-chip.is-active {
    border-color: var(--moss);
    background: var(--moss-light);
    color: #35412f;
}

.my-place-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.my-place-card {
    display: grid;
    grid-template-rows: clamp(12rem, 18vw, 15.5rem) 1fr;
    overflow: hidden;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 10px;
    background: rgba(255, 250, 241, 0.86);
    box-shadow: 0 14px 34px rgba(33, 31, 27, 0.07);
}

.my-place-photo {
    overflow: hidden;
    background: var(--paper-2);
}

.my-place-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-place-body {
    display: grid;
    gap: 0.72rem;
    padding: 1.12rem;
}

.my-place-body h3,
.my-place-body p {
    margin-bottom: 0;
}

.my-place-body > p {
    color: var(--muted);
}

.save-row,
.place-card-footer,
.mini-map-links,
.list-add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.note-field {
    width: 100%;
    min-height: 4.25rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 239, 228, 0.55);
    color: var(--ink);
    resize: vertical;
}

.button:disabled,
.save-chip:disabled,
.small-text-button:disabled,
.list-add-row button:disabled,
.reorder-actions button:disabled,
.input:disabled,
.note-field:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.place-card-footer {
    justify-content: space-between;
    margin-top: 0.1rem;
}

.mini-map-links a,
.small-text-button,
.list-add-row button,
.reorder-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.58rem;
    font-size: 0.75rem;
}

.mini-map-links a:first-child {
    border-color: var(--accent);
    color: var(--accent);
}

.quick-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.list-stack,
.stop-stack {
    display: grid;
    gap: 0.7rem;
}

.list-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem 0.85rem;
    border-top: 1px solid var(--line);
}

.list-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.list-pills span {
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.share-output {
    margin-top: 0.75rem;
}

.itinerary-panel {
    margin-top: 1.1rem;
}

.day-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.day-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.05rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.88), rgba(245, 239, 228, 0.66)),
        linear-gradient(90deg, rgba(33, 31, 27, 0.035) 1px, transparent 1px);
    background-size: auto, 22px 22px;
}

.day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--accent);
    font-weight: 850;
}

.stop-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.8);
}

.time-block {
    align-self: start;
    min-width: 4.4rem;
    padding: 0.28rem 0.4rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 850;
}

.reorder-actions {
    display: grid;
    gap: 0.25rem;
}

.add-stop-button {
    width: 100%;
}

body:has(.my-app) .site-header,
body:has(.my-app) .site-footer {
    display: flex;
}

body:has(.my-app) .site-header {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 2rem);
}

body:has(.my-app) .main-nav {
    width: auto;
    flex-wrap: nowrap;
}

body:has(.my-app) .brand {
    min-width: max-content;
}

body:has(.my-app) {
    background:
        linear-gradient(90deg, rgba(33, 31, 27, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(33, 31, 27, 0.03) 1px, transparent 1px),
        var(--paper);
    background-size: 34px 34px, 34px 34px, auto;
}

.my-app {
    padding: clamp(1.2rem, 3vw, 2.5rem) clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 6rem);
}

.my-app-shell {
    display: grid;
    grid-template-columns: minmax(15rem, 0.22fr) minmax(0, 0.78fr);
    gap: 1rem;
    align-items: start;
    max-width: 94rem;
    margin: 0 auto;
    overflow: visible;
    min-height: calc(100vh - 10rem);
    padding: clamp(0.9rem, 2vw, 1.35rem);
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(33, 31, 27, 0.032) 1px, transparent 1px),
        linear-gradient(rgba(33, 31, 27, 0.026) 1px, transparent 1px),
        rgba(255, 250, 241, 0.84);
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 0 28px 80px rgba(42, 33, 22, 0.14);
}

.my-app-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    min-height: 4.85rem;
    padding: 0.68rem clamp(0.9rem, 2.4vw, 1.7rem);
    border-bottom: 1px solid rgba(33, 31, 27, 0.10);
    background: rgba(245, 239, 228, 0.86);
}

.my-app-brand,
.my-app-user,
.my-app-nav,
.my-app-submit {
    display: inline-flex;
    align-items: center;
}

.my-app-brand {
    gap: 0.65rem;
    min-width: 15rem;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2vw, 2.05rem);
    font-weight: 700;
    line-height: 1;
}

.my-app-mark {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
}

.my-app-nav {
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.55rem);
    color: #6c655a;
    font-size: 0.9rem;
    font-weight: 820;
}

.my-app-submit {
    justify-content: center;
    min-height: 2.72rem;
    padding: 0.64rem 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--cream);
    font-weight: 850;
    box-shadow: 0 10px 28px rgba(182, 66, 36, 0.19);
}

.my-app-user {
    gap: 0.55rem;
    min-height: 2.72rem;
    padding-left: 1.15rem;
    border-left: 1px solid rgba(33, 31, 27, 0.16);
    color: var(--ink);
    font-weight: 800;
}

.my-avatar {
    display: inline-grid;
    place-items: center;
    width: 2.18rem;
    height: 2.18rem;
    border-radius: 50%;
    background: var(--moss);
    color: var(--cream);
    font-size: 0.72rem;
    font-weight: 900;
}

.my-avatar.small {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.66rem;
}

.my-caret {
    width: 0.46rem;
    height: 0.46rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.12rem);
    opacity: 0.62;
}

.my-app-grid {
    display: grid;
    grid-template-columns: 15rem minmax(42rem, 1fr) 19rem;
    gap: 1rem;
    padding: clamp(0.9rem, 2vw, 1.35rem);
    align-items: stretch;
}

.my-sidebar {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 1rem;
    position: sticky;
    top: 5.7rem;
    min-height: calc(100vh - 8rem);
    padding: 1rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 14px;
    background: rgba(250, 245, 235, 0.82);
}

.my-sidebar-title h1 {
    margin: 0.15rem 0 0.28rem;
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 2.3vw, 2.35rem);
    line-height: 1;
    overflow-wrap: normal;
}

.my-sidebar-title p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.my-side-nav {
    display: grid;
    gap: 0.3rem;
}

.my-side-nav a {
    display: flex;
    align-items: center;
    gap: 0.64rem;
    min-height: 2.65rem;
    padding: 0.46rem 0.62rem;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #5e574d;
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.1;
}

.my-side-nav a.is-active,
.my-side-nav a:hover {
    border-color: rgba(33, 31, 27, 0.09);
    background: rgba(238, 227, 210, 0.82);
    color: var(--ink);
}

.nav-glyph {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: rgba(101, 116, 87, 0.16);
    color: var(--moss);
}

.my-side-nav a.is-active .nav-glyph,
.my-side-nav a:hover .nav-glyph {
    background: rgba(101, 116, 87, 0.22);
}

.nav-glyph svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.my-promo-card,
.my-map-card,
.my-sidebar-graphic,
.my-glance,
.my-saved-strip,
.my-list-panel,
.my-itinerary-panel,
.my-naver-handoff,
.my-account-panel {
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 14px;
    background: rgba(255, 250, 241, 0.86);
}

.my-sidebar-graphic {
    align-self: end;
    overflow: hidden;
}

.my-sidebar-graphic img {
    width: 100%;
    aspect-ratio: 1 / 0.86;
    object-fit: cover;
}

.my-sidebar-graphic strong,
.my-sidebar-graphic p {
    display: block;
    margin: 0;
    padding: 0 0.85rem;
}

.my-sidebar-graphic strong {
    padding-top: 0.85rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.05;
}

.my-sidebar-graphic p {
    padding-top: 0.35rem;
    padding-bottom: 0.9rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.my-promo-card {
    align-self: end;
    overflow: hidden;
}

.my-promo-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.my-promo-card div,
.my-map-card {
    padding: 0.85rem;
}

.my-promo-card strong,
.my-map-card strong {
    display: block;
    line-height: 1.12;
}

.my-promo-card p,
.my-map-card p {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.my-map-card a {
    display: inline-flex;
    margin-top: 0.72rem;
    min-height: 2.1rem;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 850;
}

.my-workspace {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.my-glance,
.my-saved-strip,
.my-list-panel,
.my-itinerary-panel {
    padding: clamp(1rem, 2vw, 1.35rem);
    box-shadow: 0 14px 38px rgba(42, 33, 22, 0.065);
}

.my-list-panel .my-section-head h2,
.my-itinerary-panel .my-section-head h2 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.my-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.my-section-head.compact {
    align-items: end;
}

.my-section-head h2 {
    margin: 0;
    max-width: 33rem;
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
}

.my-section-head .muted-copy {
    max-width: 42rem;
    margin-top: 0.45rem;
}

.my-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
}

.my-date-range {
    min-width: 11rem;
}

.my-view-link {
    color: var(--accent);
    font-size: 0.83rem;
    font-weight: 820;
    white-space: nowrap;
}

.my-view-link::after {
    content: " \2192";
}

.my-compact-action {
    flex: 0 0 auto;
}

.my-auth-stack,
.my-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
}

.my-google-slot {
    min-width: 240px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 10px 18px rgba(42, 33, 22, 0.10));
}

.my-glance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.72rem;
}

.my-glance-card {
    display: grid;
    gap: 0.35rem;
    min-height: 6.25rem;
    padding: 0.85rem;
    border: 1px solid rgba(33, 31, 27, 0.10);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(246, 238, 225, 0.84));
}

.my-glance-card strong {
    align-self: center;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 2.35vw, 2.7rem);
    line-height: 0.9;
}

.my-glance-card span {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 900;
}

.my-glance-card p {
    margin: 0.12rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.my-filter-row,
.my-card-controls,
.my-mini-map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.my-filter-row button,
.my-card-controls button,
.my-list-row button,
.my-add-stop,
.my-reorder button,
.my-mini-map-links a,
.my-phone-tabs button {
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.78);
    color: var(--muted);
    font-weight: 850;
    cursor: pointer;
}

.my-filter-row button {
    min-height: 2rem;
    padding: 0.34rem 0.62rem;
    font-size: 0.75rem;
}

.my-filter-row button.is-active,
.my-card-controls button.is-active,
.my-phone-tabs button.is-active {
    border-color: var(--moss);
    background: var(--moss-light);
    color: #35412f;
}

.my-saved-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.my-saved-strip.is-full-page .my-saved-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.05rem;
}

.my-saved-strip.is-full-page .my-section-actions {
    display: none;
}

.my-saved-tools {
    display: grid;
    grid-template-columns: minmax(17rem, 0.42fr) minmax(15rem, 0.34fr) minmax(9rem, 0.24fr);
    gap: 0.9rem;
    align-items: center;
    margin: -0.2rem 0 1rem;
}

.my-saved-tools::after {
    content: "";
}

.my-sort-control {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 740;
}

.my-sort-control .input {
    width: min(13rem, 100%);
}

.my-saved-card {
    min-width: 0;
}

.my-saved-card.is-editable {
    display: block;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(33, 31, 27, 0.10);
    border-radius: 14px;
    background: rgba(255, 250, 241, 0.74);
    box-shadow: 0 14px 34px rgba(42, 33, 22, 0.055);
}

.my-saved-photo {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
    border-radius: 12px;
    background: var(--paper-2);
}

.my-saved-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.my-saved-card:hover .my-saved-photo img {
    transform: scale(1.035);
}

.my-saved-card.is-editable .my-saved-photo {
    border-radius: 14px 14px 0 0;
    min-height: 0;
}

.my-status-pill {
    z-index: 1;
    display: inline-flex;
    min-height: 1.75rem;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(33, 31, 27, 0.12);
}

.my-status-stack {
    position: absolute;
    z-index: 1;
    left: 0.52rem;
    top: 0.52rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    max-width: calc(100% - 1.04rem);
}

.my-status-pill {
    gap: 0.28rem;
    padding: 0.25rem 0.52rem;
}

.my-status-pill span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--moss);
}

.my-status-pill.is-favorite span {
    background: var(--accent);
    clip-path: polygon(50% 0, 63% 34%, 100% 35%, 70% 56%, 82% 92%, 50% 70%, 18% 92%, 30% 56%, 0 35%, 37% 34%);
}

.my-status-pill.is-visited span {
    width: 0.62rem;
    height: 0.34rem;
    border-radius: 0;
    background: transparent;
    border-left: 2px solid var(--moss);
    border-bottom: 2px solid var(--moss);
    transform: rotate(-45deg) translateY(-0.05rem);
}

.my-saved-copy {
    display: grid;
    gap: 0.32rem;
    padding: 0.72rem 0.78rem 0.78rem;
}

.my-saved-copy h3 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.my-saved-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.my-card-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.my-card-controls button {
    display: inline-grid;
    place-items: center;
    min-height: 1.78rem;
    padding: 0.22rem 0.34rem;
    border-color: rgba(33, 31, 27, 0.10);
    background: rgba(245, 239, 228, 0.5);
    color: var(--muted);
    font-size: 0.66rem;
}

.my-card-controls svg {
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.my-note-editor {
    display: grid;
    gap: 0.32rem;
    margin-top: 0.36rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.my-note-editor textarea {
    width: 100%;
    min-height: 2.75rem;
    max-height: 4.5rem;
    resize: vertical;
    padding: 0.62rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 10px;
    background: rgba(245, 239, 228, 0.58);
    color: var(--ink);
    font: inherit;
    font-weight: 500;
}

.my-manage-controls {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.3rem;
}

.my-pop-control {
    position: relative;
}

.my-pop-control summary {
    list-style: none;
}

.my-pop-control summary::-webkit-details-marker {
    display: none;
}

.my-icon-button,
.my-text-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.84);
    color: var(--muted);
    cursor: pointer;
}

.my-icon-button span,
.my-icon-action span,
.my-mini-actions span,
.my-editor-actions span {
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
}

.my-icon-button svg,
.my-icon-action svg,
.my-mini-actions svg,
.my-editor-actions svg,
.my-drawer-place button svg,
.my-drag-handle svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.my-icon-button.danger,
.my-icon-action.danger {
    color: var(--accent);
}

.my-pop-control[open] {
    z-index: 4;
}

.my-pop-control[open] > :not(summary) {
    width: min(17rem, calc(100vw - 3rem));
}

.my-pop-control > .my-note-editor,
.my-pop-control > .input,
.my-pop-control > .muted-copy,
.my-pop-control > .my-text-control {
    display: grid;
    margin-top: 0.45rem;
}

.my-pop-control[open] {
    padding: 0.45rem;
    border: 1px solid rgba(33, 31, 27, 0.12);
    border-radius: 12px;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: 0 14px 34px rgba(42, 33, 22, 0.14);
}

.my-text-control {
    width: max-content;
    min-width: 0;
    min-height: 1.9rem;
    padding: 0.24rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 850;
}

.my-row-actions,
.my-mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.my-saved-card.is-editable .my-row-actions {
    justify-content: space-between;
    margin-top: 0.1rem;
}

.my-saved-card.is-editable [data-save-note],
.my-saved-card.is-editable [data-remove-saved] {
    min-height: 1.68rem;
    padding: 0.2rem 0.48rem;
    border-color: transparent;
    background: transparent;
    font-size: 0.66rem;
}

.my-saved-card.is-editable .my-manage-controls [data-remove-saved] {
    min-height: 2rem;
    padding: 0 0.5rem;
    border-color: rgba(182, 66, 36, 0.22);
    background: rgba(182, 66, 36, 0.06);
}

.my-row-actions button,
.my-row-actions a,
.my-mini-actions button,
.my-list-title-edit button,
.my-list-picker button,
.my-share-row button,
.my-share-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.28rem 0.58rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.8);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    cursor: pointer;
}

.my-detail-link {
    color: var(--accent);
}

.my-breakouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.my-breakouts.is-single {
    grid-template-columns: 1fr;
}

.my-quick-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.my-quick-form::after {
    content: none;
}

.my-list-stack,
.my-day-preview {
    display: grid;
    gap: 0.5rem;
}

.my-breakouts:not(.is-single) .my-list-stack,
.my-breakouts:not(.is-single) .my-day-preview {
    grid-template-columns: 1fr;
}

.my-list-row {
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.82rem;
    border: 1px solid rgba(33, 31, 27, 0.09);
    border-radius: 12px;
    background: rgba(245, 239, 228, 0.58);
}

.my-list-panel.is-full-page .my-list-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.my-list-panel.is-full-page .my-list-row {
    align-items: start;
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    min-height: 0;
    overflow: visible;
    padding: 0.82rem;
}

.my-list-panel.is-full-page .my-list-row > .my-list-cover {
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 10px;
}

.my-list-row img {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 10px;
    object-fit: cover;
}

.my-list-row strong {
    display: block;
    font-size: 1.03rem;
    line-height: 1.14;
}

.my-list-row p {
    margin: 0.14rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.my-list-row button {
    min-height: 2rem;
    padding: 0.34rem 0.56rem;
    color: var(--accent);
}

.my-list-row.is-manager {
    box-shadow: 0 14px 34px rgba(42, 33, 22, 0.055);
}

.my-list-row.is-manager > div {
    padding: 0.95rem;
}

.my-list-title-edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.4rem;
    align-items: center;
}

.my-list-title-edit .input {
    min-height: 2.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.08;
    font-weight: 700;
}

.my-list-title-edit button {
    min-width: 4rem;
    min-height: 2rem;
    padding: 0 0.5rem;
    border-color: rgba(33, 31, 27, 0.12);
    background: rgba(255, 250, 241, 0.78);
    font-size: 0.66rem;
    opacity: 0.76;
}

.my-icon-action {
    color: var(--moss);
}

.my-icon-action.danger {
    color: var(--accent);
}

.my-list-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.46rem;
}

.my-list-chip-row span {
    display: inline-flex;
    min-height: 1.48rem;
    align-items: center;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(101, 116, 87, 0.13);
    color: #535e49;
    font-size: 0.66rem;
    font-weight: 850;
}

.my-list-preview {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.55rem;
}

.my-list-place,
.my-more-count {
    display: grid;
    grid-template-columns: 1.55rem 3.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    min-height: 4.2rem;
    padding: 0.48rem 0.56rem;
    border-radius: 9px;
    background: rgba(255, 250, 241, 0.72);
    border: 1px solid rgba(33, 31, 27, 0.08);
}

.my-list-panel.is-full-page .my-list-place {
    grid-template-columns: 1.25rem 1.55rem 3.05rem minmax(0, 1fr) auto;
}

.my-list-panel.is-full-page .my-list-place > img {
    width: 3.05rem;
    height: 3.05rem;
}

.my-list-place > img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 8px;
    object-fit: cover;
}

.my-list-preview a,
.my-more-count {
    color: #535e49;
    font-size: 0.78rem;
    font-weight: 820;
    line-height: 1.12;
}

.my-list-place a {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
    padding: 0;
    background: transparent;
}

.my-list-place a span,
.my-list-place a small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.my-drag-handle {
    display: inline-grid;
    place-items: center;
    align-self: center;
    width: 1.25rem;
    height: 1.8rem;
    color: rgba(33, 31, 27, 0.42);
    cursor: grab;
}

.my-list-place[draggable="true"],
.my-stop-editor[draggable="true"] {
    cursor: grab;
}

.my-list-place.is-dragging,
.my-stop-editor.is-dragging {
    opacity: 0.58;
}

.my-list-place.is-drag-over,
.my-stop-editor.is-drag-over {
    outline: 2px solid rgba(101, 116, 87, 0.35);
    outline-offset: 2px;
    background: rgba(101, 116, 87, 0.11);
}

.my-list-index {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: rgba(33, 31, 27, 0.08);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.my-list-preview a:hover {
    color: var(--accent);
}

.my-list-panel:not(.is-full-page) .my-list-place {
    display: grid;
    grid-template-columns: 3.1rem minmax(0, 1fr);
    min-height: 3.35rem;
    padding: 0.32rem;
    background: rgba(101, 116, 87, 0.11);
    border: 0;
}

.my-list-panel:not(.is-full-page) .my-list-place img,
.my-list-panel:not(.is-full-page) .my-list-index {
    display: none;
}

.my-list-preview small,
.my-more-count {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 740;
}

.my-more-count {
    display: inline-flex;
    width: max-content;
    min-height: 1.75rem;
    background: rgba(33, 31, 27, 0.07);
}

.my-list-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
    margin-top: 0.72rem;
    padding: 0.8rem;
    border: 1px dashed rgba(33, 31, 27, 0.22);
    border-radius: 10px;
    background: rgba(245, 239, 228, 0.32);
}

.my-add-drawer {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem;
    border: 1px solid rgba(33, 31, 27, 0.10);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(245, 239, 228, 0.7));
    box-shadow: 0 14px 34px rgba(42, 33, 22, 0.055);
}

.my-add-drawer h3 {
    margin: 0;
    font-size: 1.45rem;
}

.my-add-drawer p {
    margin: -0.35rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.my-drawer-place {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    min-height: 3.45rem;
    padding: 0.42rem;
    border: 1px solid rgba(33, 31, 27, 0.08);
    border-radius: 10px;
    background: rgba(255, 250, 241, 0.74);
}

.my-drawer-place .input,
.my-drawer-place button,
.my-drawer-done {
    grid-column: 2;
}

.my-drawer-place .input {
    min-height: 2.1rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
}

.my-drawer-place button {
    width: max-content;
    min-height: 1.85rem;
    padding: 0.24rem 0.6rem;
    border: 1px solid rgba(101, 116, 87, 0.28);
    border-radius: 999px;
    background: var(--moss-light);
    color: #35412f;
    font-size: 0.72rem;
    font-weight: 850;
}

.my-drawer-done {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.my-drawer-place img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 8px;
    object-fit: cover;
}

.my-drawer-place strong,
.my-drawer-place small {
    display: block;
    line-height: 1.12;
}

.my-drawer-place strong {
    font-size: 0.78rem;
}

.my-drawer-place small {
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.68rem;
}

.my-drawer-check {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid rgba(101, 116, 87, 0.38);
    border-radius: 50%;
    color: var(--moss);
    font-size: 0.72rem;
    font-weight: 900;
}

.my-list-picker > span {
    align-self: center;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.my-mini-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-mini-actions button {
    min-width: 3.2rem;
    min-height: 1.85rem;
    gap: 0.18rem;
    padding: 0 0.38rem;
}

.my-mini-actions [data-remove-list-item] {
    min-width: 4.25rem;
    min-height: 1.85rem;
    padding: 0 0.38rem;
    border-color: rgba(182, 66, 36, 0.2);
    background: rgba(182, 66, 36, 0.055);
    color: var(--accent);
}

.my-day-preview {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.my-itinerary-panel.is-full-page .my-day-preview {
    grid-template-columns: 1fr;
}

.my-itinerary-panel.is-full-page .my-day-preview:has(.my-day-editor) {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
}

.my-readonly-note {
    margin: -0.25rem 0 0.85rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.my-day-column {
    display: grid;
    gap: 0.48rem;
    align-content: start;
    padding: 0.58rem;
    border: 1px solid rgba(33, 31, 27, 0.10);
    border-radius: 12px;
    background: rgba(245, 239, 228, 0.52);
}

.my-day-cover {
    width: 100%;
    aspect-ratio: 1.85 / 1;
    border-radius: 9px;
    object-fit: cover;
}

.my-day-title {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.my-day-lines {
    display: grid;
    gap: 0.5rem;
}

.my-day-line {
    display: block;
    padding-top: 0.38rem;
    border-top: 1px solid rgba(33, 31, 27, 0.08);
}

.my-day-line img {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 8px;
    object-fit: cover;
}

.my-day-line span {
    color: var(--moss);
    font-size: 0.68rem;
    font-weight: 900;
}

.my-day-line strong,
.my-day-line p {
    display: block;
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.18;
}

.my-day-line p {
    color: var(--muted);
    font-size: 0.68rem;
}

.my-naver-link,
.my-instagram-link {
    display: inline-flex;
    gap: 0.34rem;
    align-items: center;
    min-height: 1.5rem;
    width: max-content;
    margin-top: 0.35rem;
    padding: 0.2rem 0.48rem 0.2rem 0.24rem;
    border: 1px solid rgba(3, 199, 90, 0.35);
    border-radius: 999px;
    background: rgba(3, 199, 90, 0.08);
    color: #157343;
    font-size: 0.66rem;
    font-weight: 850;
}

.my-naver-link span,
.my-instagram-link span {
    display: inline-grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    border-radius: 3px;
    background: #03c75a;
    color: #fff;
    font-size: 0.62rem;
    line-height: 1;
}

.my-instagram-link {
    border-color: rgba(182, 66, 36, 0.24);
    background: rgba(182, 66, 36, 0.07);
    color: var(--accent);
}

.my-instagram-link span {
    background:
        radial-gradient(circle at 70% 28%, #fff 0 1px, transparent 1.4px),
        radial-gradient(circle, transparent 0 3px, #fff 3px 4.2px, transparent 4.5px),
        linear-gradient(135deg, #feda75, #d62976 48%, #4f5bd5);
}

.my-place-links {
    gap: 0.45rem;
}

.my-add-stop {
    min-height: 2rem;
    padding: 0.32rem 0.5rem;
    font-size: 0.72rem;
}

.my-day-editor {
    display: grid;
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(33, 31, 27, 0.11);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(245, 239, 228, 0.62));
}

.my-itinerary-panel.is-full-page {
    overflow: visible;
}

.my-itinerary-panel.is-full-page .share-output.compact:placeholder-shown {
    display: none;
}

.my-day-editor-head,
.my-add-stop-form,
.my-stop-editor {
    display: grid;
    gap: 0.65rem;
    align-items: center;
}

.my-day-editor-head {
    grid-template-columns: 1fr;
}

.my-day-editor-head .input {
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    border-style: dashed;
    background: rgba(255, 250, 241, 0.72);
    color: var(--muted);
    font-size: 0.84rem;
}

.my-day-editor-head .my-editor-actions {
    justify-content: flex-start;
}

.my-day-editor-head button {
    min-height: 1.78rem;
    padding: 0.22rem 0.5rem;
    border-color: transparent;
    background: rgba(33, 31, 27, 0.045);
    font-size: 0.66rem;
}

.my-day-meta {
    display: block;
    margin-bottom: 0.34rem;
    color: var(--moss);
    font-size: 0.76rem;
    font-weight: 900;
}

.my-day-meta strong {
    margin-right: 0.35rem;
    font-size: 1.14rem;
}

.my-day-meta strong {
    margin-right: 0.35rem;
    font-size: 1.14rem;
}

.my-itinerary-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.my-time-lane {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: background 160ms ease, border-color 160ms ease;
}

.my-time-lane.is-drag-over {
    outline: 1px dashed rgba(101, 116, 87, 0.55);
    outline-offset: 0.25rem;
    background: rgba(101, 116, 87, 0.12);
}

.my-lane-head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.my-stop-stack {
    display: grid;
    gap: 0.55rem;
}

.my-stop-editor {
    grid-template-columns: 1.25rem 3.45rem minmax(0, 1fr) auto;
    padding: 0.68rem;
    border: 1px solid rgba(33, 31, 27, 0.09);
    border-radius: 12px;
    background: rgba(255, 250, 241, 0.74);
    box-shadow: 0 8px 22px rgba(42, 33, 22, 0.055);
}

.my-itinerary-panel.is-full-page .my-day-editor {
    padding: 0.78rem;
}

.my-stop-editor > img {
    width: 3.45rem;
    height: 3.45rem;
    border-radius: 10px;
    object-fit: cover;
}

.my-stop-editor .input,
.my-stop-editor .my-editor-actions {
    grid-column: 3 / -1;
}

.my-itinerary-panel.is-full-page .my-stop-editor .input {
    grid-column: 3;
    grid-row: 2;
    width: min(12rem, 100%);
}

.my-stop-editor strong,
.my-stop-editor p {
    display: block;
    margin: 0;
}

.my-stop-editor strong {
    font-size: 0.96rem;
    line-height: 1.14;
}

.my-stop-editor p {
    margin-top: 0.16rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.my-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
    justify-content: flex-end;
}

.my-itinerary-panel.is-full-page .my-stop-editor .my-editor-actions {
    grid-column: 4;
    grid-row: 1;
    align-self: start;
}

.my-itinerary-panel.is-full-page [data-delete-stop] {
    width: auto;
    min-width: 4.4rem;
    min-height: 2rem;
    padding: 0 0.5rem;
}

.my-editor-actions button,
.my-day-editor-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 2rem;
    padding: 0.32rem 0.58rem;
    border: 1px solid rgba(33, 31, 27, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.82);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 820;
    cursor: pointer;
}

.my-editor-actions button:hover,
.my-day-editor-head button:hover {
    color: var(--accent);
}

.my-add-stop-form {
    grid-template-columns: minmax(14rem, 1fr) minmax(8rem, 0.34fr) auto;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(33, 31, 27, 0.08);
}

.my-itinerary-panel.is-full-page .my-add-stop-form {
    padding: 0.58rem;
    border: 1px dashed rgba(101, 116, 87, 0.3);
    border-radius: 12px;
    background: rgba(255, 250, 241, 0.55);
}

.my-itinerary-add-rail {
    display: none;
    grid-column: 1 / -1;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
    padding: 0.8rem;
    border: 1px dashed rgba(101, 116, 87, 0.32);
    border-radius: 14px;
    background: rgba(255, 250, 241, 0.72);
}

.my-itinerary-add-rail strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.05;
}

.my-itinerary-add-strip {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
}

.my-itinerary-add-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    min-height: 2.5rem;
    padding: 0.3rem 0.58rem 0.3rem 0.32rem;
    border: 1px solid rgba(33, 31, 27, 0.10);
    border-radius: 999px;
    background: rgba(245, 239, 228, 0.66);
    color: #535e49;
    font-size: 0.76rem;
    font-weight: 820;
}

.my-itinerary-add-chip img {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    object-fit: cover;
}

.share-output.compact {
    width: min(22rem, 100%);
    min-height: 2.35rem;
    font-size: 0.76rem;
}

.my-reorder {
    display: flex;
    gap: 0.25rem;
    grid-column: 1 / -1;
}

.my-itinerary-panel:not(.is-full-page) .my-reorder {
    display: none;
}

.my-reorder button {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    min-height: 1.55rem;
    padding: 0;
    font-size: 0;
}

.my-reorder button[data-move="up"]::before {
    content: "↑";
    font-size: 0.72rem;
}

.my-reorder button[data-move="down"]::before {
    content: "↓";
    font-size: 0.72rem;
}

.my-naver-handoff {
    position: relative;
    display: grid;
    grid-template-columns: minmax(18rem, 0.42fr) minmax(0, 0.58fr);
    gap: 1rem;
    overflow: hidden;
    min-height: 13rem;
    padding: 1rem;
}

.my-naver-handoff > img {
    width: 100%;
    height: 100%;
    min-height: 11rem;
    border-radius: 12px;
    object-fit: cover;
}

.my-map-copy {
    align-self: center;
    max-width: 34rem;
    padding-right: 9rem;
}

.my-map-copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.02;
}

.my-map-copy p:not(.eyebrow) {
    color: var(--muted);
}

.my-map-float {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: min(17rem, 34%);
    padding: 0.85rem;
    border: 1px solid rgba(33, 31, 27, 0.13);
    border-radius: 12px;
    background: rgba(255, 250, 241, 0.94);
    box-shadow: 0 14px 38px rgba(42, 33, 22, 0.16);
}

.my-map-float p {
    margin: 0.1rem 0 0.5rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.my-map-float .my-naver-link {
    margin-top: 0.55rem;
}

.my-account-panel {
    padding: clamp(1.2rem, 2.5vw, 2rem);
}

.my-account-panel h2 {
    margin: 0 0 0.8rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.my-account-actions {
    margin-top: 1rem;
}

.my-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.my-account-grid article,
.my-share-row {
    padding: 1rem;
    border: 1px solid rgba(33, 31, 27, 0.11);
    border-radius: 12px;
    background: rgba(245, 239, 228, 0.52);
}

.my-account-grid strong {
    display: block;
    margin-top: 0.28rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.08;
}

.my-account-grid p {
    margin: 0.34rem 0 0;
    color: var(--muted);
}

.my-share-manager {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(33, 31, 27, 0.10);
}

.my-share-manager h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.05;
}

.my-share-list {
    display: grid;
    gap: 0.5rem;
}

.my-share-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.my-share-row strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
}

.my-share-row p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.my-phone-panel {
    min-width: 0;
}

.my-phone {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.85rem;
    align-content: start;
    min-height: calc(100vh - 8rem);
    max-width: 19rem;
    padding: 0.95rem;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(239, 229, 214, 0.92));
    box-shadow:
        inset 0 0 0 7px rgba(33, 31, 27, 0.88),
        0 22px 52px rgba(42, 33, 22, 0.16);
}

.my-phone-top,
.my-phone-nav,
.my-phone-stop {
    display: flex;
    align-items: center;
}

.my-phone-top {
    justify-content: space-between;
    padding: 0.35rem 0.45rem 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.my-phone-hero {
    overflow: hidden;
    min-height: 8.2rem;
    padding: 1rem;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(33, 31, 27, 0.18), rgba(33, 31, 27, 0.74)),
        url("/static/img/hero-seoul-solo.png") center / cover;
    color: var(--cream);
}

.my-phone-hero .eyebrow {
    color: rgba(255, 250, 241, 0.8);
}

.my-phone-hero h2 {
    max-width: 12rem;
    margin: 2.1rem 0 0;
    font-size: 1.55rem;
    line-height: 1.02;
}

.my-phone-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.36rem;
}

.my-phone-tabs button {
    min-height: 2rem;
    font-size: 0.72rem;
}

.my-phone-stops {
    display: grid;
    gap: 0.7rem;
}

.my-phone-block > span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.my-phone-stop {
    gap: 0.55rem;
    min-height: 4rem;
    margin-top: 0.35rem;
    padding: 0.42rem;
    border-radius: 14px;
    background: rgba(255, 250, 241, 0.78);
}

.my-phone-stop img {
    width: 3.05rem;
    height: 3.05rem;
    border-radius: 11px;
    object-fit: cover;
}

.my-phone-stop strong {
    display: block;
    font-size: 0.84rem;
    line-height: 1.12;
}

.my-phone-stop p,
.my-phone-empty {
    margin: 0.1rem 0 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.my-phone-share {
    min-height: 2.65rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--cream);
    font-weight: 900;
}

.my-phone-nav {
    justify-content: space-around;
    margin-top: auto;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(33, 31, 27, 0.10);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.my-phone-nav .is-active {
    color: var(--accent);
}

.my-app button:disabled,
.my-app input:disabled {
    cursor: not-allowed;
    opacity: 0.56;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.65);
}

.messages {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 30;
    display: grid;
    gap: 0.5rem;
}

.message {
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow);
}

.message.error {
    background: var(--accent);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem clamp(1rem, 4vw, 4rem);
    border-top: 1px solid rgba(33, 31, 27, 0.12);
    color: var(--muted);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1;
}

.footer-mark-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.site-footer p {
    margin: 0.3rem 0 0;
}

@media (max-width: 980px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0.2rem;
    }

    .hero,
    .split-header,
    .place-hero,
    .detail-grid,
    .guide-layout,
    .submit-layout,
    .map-layout,
    .map-page-head,
    .global-map-filter-row,
    .global-map-discovery,
    .neighborhood-hero,
    .neighborhood-search,
    .neighborhood-discovery,
    .neighborhood-seo-panel,
    .my-hero,
    .my-dashboard,
    .breakout-grid {
        grid-template-columns: 1fr;
    }

    .my-rail {
        position: static;
        min-height: 0;
    }

    .my-rail .my-tabs {
        display: flex;
        flex-wrap: wrap;
    }

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

    .glance-card.is-primary {
        grid-row: auto;
        grid-column: 1 / -1;
        min-height: 10rem;
    }

    .hero-panel {
        min-height: 41rem;
    }

    .hero-copy {
        width: min(38rem, 66%);
        padding: clamp(3rem, 7vw, 4.5rem) 2rem 0;
    }

    .hero-copy h1 {
        font-size: clamp(3.15rem, 7vw, 4.6rem);
        max-width: 29rem;
    }

    .hero-location {
        margin-top: 2rem;
    }

    .map-panel {
        position: relative;
        top: 0;
        height: 52vh;
        order: -1;
    }

    .neighborhood-map-wrap {
        position: static;
    }

    .global-map-wrap {
        position: static;
    }

    .global-map-panel {
        height: 62vh;
        min-height: 27rem;
    }

    .global-map-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .neighborhood-map-panel {
        height: 56vh;
        min-height: 28rem;
    }

    .map-panel.global-map-panel,
    .neighborhood-map-panel,
    .collection-map-discovery .neighborhood-map-panel {
        height: 58vh;
        height: min(58dvh, 27rem);
        min-height: 20rem;
        max-height: calc(100dvh - 12rem);
        overflow: hidden;
    }

    .list-panel {
        border-right: 0;
        max-height: none;
    }

    .place-grid,
    .guide-grid,
    .event-grid,
    .nightlife-link-grid,
    .my-place-grid,
    .day-grid {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .place-hero-image,
    .editorial-image {
        min-height: 28rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: sticky;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-height: 4.1rem;
        padding: 0.6rem 0.85rem;
    }

    .brand {
        height: 2.55rem;
        min-width: 0;
    }

    .brand-mark-img {
        width: 2.2rem;
        height: 2.2rem;
    }

    .brand-wordmark {
        font-size: 1.45rem;
    }

    .main-nav,
    body:has(.my-app) .main-nav {
        display: none;
    }

    .mobile-nav-menu {
        position: static;
        display: block;
        margin-left: auto;
    }

    .mobile-nav-menu summary {
        display: inline-flex;
        align-items: center;
        gap: 0.42rem;
        min-height: 2.55rem;
        padding: 0.55rem 0.78rem;
        border: 1px solid rgba(33, 31, 27, 0.18);
        border-radius: 999px;
        background: rgba(255, 250, 241, 0.82);
        color: var(--ink);
        font-size: 0.84rem;
        font-weight: 850;
        cursor: pointer;
        list-style: none;
    }

    .mobile-nav-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav-menu[open] summary {
        background: var(--cream);
        box-shadow: 0 10px 24px rgba(33, 31, 27, 0.12);
    }

    .mobile-nav-panel {
        position: absolute;
        z-index: 40;
        top: calc(100% + 0.45rem);
        right: 0.7rem;
        left: 0.7rem;
        display: grid;
        gap: 0.18rem;
        width: auto;
        max-height: calc(100dvh - 5.5rem);
        overflow-y: auto;
        padding: 0.62rem;
        border: 1px solid rgba(33, 31, 27, 0.14);
        border-radius: 12px;
        background: rgba(255, 250, 241, 0.98);
        box-shadow: 0 18px 42px rgba(33, 31, 27, 0.18);
    }

    .mobile-nav-panel a,
    .mobile-nav-group > span {
        display: flex;
        align-items: center;
        min-height: 2.75rem;
        padding: 0.62rem 0.78rem;
        border-radius: 8px;
        color: var(--ink);
        font-size: 0.92rem;
        font-weight: 780;
        text-decoration: none;
    }

    .mobile-nav-panel a:hover,
    .mobile-nav-panel a:focus-visible {
        background: var(--moss-light);
        outline: 0;
    }

    .mobile-nav-group {
        display: grid;
        gap: 0.12rem;
        margin: 0.15rem 0;
        padding: 0.38rem;
        border: 1px solid rgba(33, 31, 27, 0.08);
        border-radius: 10px;
        background: rgba(238, 227, 210, 0.5);
    }

    .mobile-nav-group > span {
        min-height: 2rem;
        padding: 0.25rem 0.42rem;
        color: var(--accent);
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-nav-group a {
        min-height: 2.55rem;
        padding-left: 0.62rem;
        color: var(--muted);
        font-size: 0.86rem;
    }

    .mobile-nav-secondary {
        margin-top: 0.18rem;
        border: 1px solid rgba(33, 31, 27, 0.14);
        color: var(--muted);
    }

    .nav-dropdown {
        position: static;
    }

    .nav-dropdown-menu {
        left: 0;
        width: min(18rem, calc(100vw - 2rem));
        transform: none;
    }

    .neighborhood-shell {
        padding: 0.7rem;
    }

    .neighborhood-hero {
        min-height: 39rem;
        padding: 1.2rem;
    }

    .neighborhood-hero h1 {
        font-size: clamp(3rem, 14vw, 4.45rem);
    }

    .neighborhood-tabs {
        top: 8.4rem;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .neighborhood-tabs a {
        flex: 0 0 auto;
    }

    .neighborhood-search {
        border-radius: 12px;
        padding: 0.85rem;
    }

    .neighborhood-search label {
        padding-left: 0;
    }

    .neighborhood-search > div,
    .neighborhood-search .input,
    .neighborhood-search .button,
    .global-map-search .input,
    .global-map-search .select,
    .global-map-search .button {
        width: 100%;
    }

    .global-map-filter-row {
        grid-template-columns: 1fr;
    }

    .global-map-tag-filter > div {
        flex-wrap: nowrap;
        max-height: none;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scroll-snap-type: x proximity;
    }

    .global-map-tag-filter label {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .map-page-shell {
        padding: 0.7rem;
    }

    .map-page-head {
        gap: 0.7rem;
        margin-bottom: 0.7rem;
    }

    .map-page-head .page-title {
        max-width: 11ch;
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .map-search-here {
        top: auto;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        left: 4.4rem;
        transform: none;
    }

    .map-search-here .button {
        width: 100%;
        min-height: 2.65rem;
        padding: 0.62rem 0.8rem;
        font-size: 0.86rem;
        box-shadow: 0 12px 28px rgba(33, 31, 27, 0.2);
    }

    .map-location-card {
        left: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        align-items: end;
        max-width: calc(100% - 1.5rem);
    }

    .map-location-button {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
    }

    .map-location-status {
        position: absolute;
        bottom: calc(100% + 0.45rem);
        left: 0;
        max-width: min(13rem, calc(100vw - 1.5rem));
        padding: 0.48rem 0.62rem;
        border-radius: 8px;
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .marker-preview,
    .marker-preview-rich {
        width: min(13.75rem, 68vw);
        max-height: min(12rem, 34dvh);
        overflow: auto;
        gap: 0.32rem;
        padding: 0.72rem 0.78rem 0.72rem 3.1rem;
    }

    .map-mobile-preview .marker-preview,
    .map-mobile-preview .marker-preview-rich {
        width: 100%;
        max-width: 100%;
    }

    .marker-preview strong {
        font-size: 1rem;
        line-height: 1.05;
    }

    .marker-preview span,
    .marker-preview p {
        font-size: 0.76rem;
        line-height: 1.18;
    }

    .marker-close {
        top: 50%;
        bottom: auto;
        right: auto;
        left: 0.72rem;
        transform: translateY(-50%);
        z-index: 2;
        width: 1.95rem;
        height: 1.95rem;
        background: var(--accent);
        color: var(--cream);
        font-size: 1rem;
        border-color: rgba(33, 31, 27, 0.08);
        box-shadow: 0 6px 14px rgba(33, 31, 27, 0.16);
    }

    .marker-preview-rich img {
        display: none;
    }

    .marker-actions {
        flex-wrap: wrap;
    }

    .marker-actions a {
        min-height: 2rem;
        padding: 0.38rem 0.58rem;
        font-size: 0.74rem;
    }

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

    .neighborhood-place-image {
        min-height: 13rem;
    }

    .brand-mark-img {
        width: 2.35rem;
        height: 2.35rem;
    }

    .brand-wordmark {
        font-size: 1.45rem;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: start;
        gap: 0.55rem 0.9rem;
        font-size: 0.86rem;
    }

    .site-header .main-nav,
    body:has(.my-app) .site-header .main-nav {
        display: none;
    }

    .nav-submit {
        padding: 0.44rem 0.7rem;
    }

    h1,
    .page-title {
        font-size: clamp(2.45rem, 12vw, 3.85rem);
        line-height: 1.04;
    }

    .hero {
        padding: 0.9rem;
    }

    .hero-panel {
        min-height: 37.5rem;
        border-radius: 14px;
    }

    .hero-panel-image {
        object-position: 62% center;
    }

    .hero-panel::after {
        background:
            linear-gradient(90deg, rgba(245, 239, 228, 0.92), rgba(245, 239, 228, 0.74) 54%, rgba(245, 239, 228, 0.16) 100%),
            linear-gradient(0deg, rgba(33, 31, 27, 0.18), transparent 44%);
    }

    .hero-copy {
        width: calc(100% - 2.8rem);
        padding: 2.4rem 1.4rem 0;
    }

    .hero-copy h1 {
        max-width: 18.5rem;
        font-size: clamp(2.85rem, 11.5vw, 3.55rem);
        line-height: 1.04;
    }

    .hero-copy .lede {
        max-width: 18.5rem;
        color: #575146;
    }

    .hero-copy .actions {
        gap: 0.6rem;
    }

    .hero-copy .button {
        min-height: 2.7rem;
        padding: 0.65rem 0.9rem;
    }

    .hero-location {
        gap: 0.5rem;
        font-size: 0.76rem;
        margin-top: 1.35rem;
    }

    .hero-location strong {
        display: none;
    }

    .control-row,
    .checkbox-grid,
    .quick-form,
    .glance-grid {
        grid-template-columns: 1fr;
    }

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

    .my-shell {
        padding-inline: 0.9rem;
    }

    .my-hero {
        padding: 1.35rem;
        min-height: 32.5rem;
        background:
            linear-gradient(90deg, rgba(255, 250, 241, 0.95), rgba(245, 239, 228, 0.74) 58%, rgba(245, 239, 228, 0.20)),
            url("/static/img/hero-seoul-solo.png") 62% center / cover;
    }

    .my-hero::after {
        font-size: 7rem;
        right: 0.7rem;
        bottom: -0.35rem;
    }

    .my-hero .page-title {
        max-width: 18rem;
        font-size: clamp(3.35rem, 15vw, 4.35rem);
        line-height: 0.98;
    }

    .my-hero .lede {
        max-width: 20rem;
        color: #5f584d;
    }

    .my-tabs {
        position: static;
    }

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

    .status-filter {
        justify-content: flex-start;
    }

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

@media (max-width: 1180px) {
    .my-app-grid {
        grid-template-columns: minmax(13rem, 0.26fr) minmax(0, 0.74fr);
    }

    .my-phone-panel {
        grid-column: 1 / -1;
    }

    .my-phone {
        position: relative;
        top: 0;
        min-height: 0;
        max-width: 28rem;
        margin: 0 auto;
    }
}

@media (min-width: 1181px) and (max-width: 1320px) {
    .my-app-grid {
        grid-template-columns: 13.5rem minmax(35rem, 1fr) 17.5rem;
    }

    .my-app-nav {
        gap: 0.9rem;
    }

    .my-sidebar-title h1 {
        font-size: 1.9rem;
    }

    .my-side-nav a {
        font-size: 0.82rem;
    }

    .my-saved-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .my-app-topbar {
        grid-template-columns: 1fr auto;
    }

    .my-app-brand {
        min-width: 0;
    }

    .my-app-nav,
    .my-app-user {
        display: none;
    }

    .my-app-grid {
        grid-template-columns: 1fr;
    }

    .my-app-shell {
        grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 0.7fr);
    }

    .my-sidebar {
        min-height: calc(100vh - 8rem);
        grid-template-rows: auto auto 1fr;
    }

    .my-side-nav {
        grid-template-columns: 1fr;
    }

    .my-side-nav a {
        justify-content: flex-start;
        font-size: 0.78rem;
    }

    .my-promo-card,
    .my-map-card {
        display: none;
    }

    .my-glance-grid,
    .my-saved-grid,
    .my-breakouts,
    .my-day-preview,
    .my-map-handoff {
        grid-template-columns: 1fr;
    }

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

    .my-map-copy {
        padding-right: 0;
    }

    .my-map-float {
        position: static;
        width: auto;
    }
}

@media (max-width: 760px) {
    .my-app-shell {
        grid-template-columns: 1fr;
    }

    .my-sidebar {
        position: static;
        min-height: 0;
    }

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

    .my-sidebar-graphic {
        display: none;
    }
}

@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    body:has(.my-app) .site-header {
        align-items: center;
        flex-direction: row;
        gap: 0.55rem;
        min-height: 4.1rem;
        padding: 0.6rem 0.85rem;
    }

    body:has(.my-app) .brand {
        min-width: 0;
    }

    body:has(.my-app) .brand-wordmark {
        font-size: 1.32rem;
    }

    body:has(.my-app) .brand-mark-img {
        width: 2.1rem;
        height: 2.1rem;
    }

    body:has(.my-app) .main-nav {
        display: none;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.48rem 0.68rem;
        overflow: visible;
        padding-bottom: 0;
        font-size: 0.74rem;
        line-height: 1.1;
    }

    body:has(.my-app) .site-header .main-nav {
        display: none;
    }

    body:has(.my-app) .main-nav a {
        flex: 0 0 auto;
    }

    body:has(.my-app) .nav-submit {
        padding: 0.3rem 0.58rem;
    }

    .my-app {
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0.65rem;
    }

    .my-app-shell {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        border-radius: 14px;
        overflow: hidden;
        padding: 0.65rem;
    }

    .my-sidebar {
        padding: 0.85rem;
    }

    .my-sidebar-title h1 {
        font-size: 2rem;
    }

    .my-sidebar-title p:not(.eyebrow) {
        font-size: 0.86rem;
    }

    .my-side-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 0.5rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .my-side-nav a {
        min-width: 0;
        justify-content: flex-start;
        padding: 0.6rem 0.68rem;
    }

    .my-glance,
    .my-saved-strip,
    .my-list-panel,
    .my-itinerary-panel,
    .my-naver-handoff,
    .my-account-panel {
        min-width: 0;
        padding: 0.9rem;
    }

    .my-section-head {
        align-items: flex-start;
        flex-direction: column;
        min-width: 0;
    }

    .my-section-head h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .my-section-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .my-glance-grid,
    .my-saved-grid,
    .my-day-preview,
    .my-breakouts,
    .my-naver-handoff {
        grid-template-columns: 1fr;
    }

    .my-list-row {
        grid-template-columns: 3.6rem 1fr;
    }

    .my-list-row img {
        width: 3.6rem;
        height: 3.6rem;
    }

    .my-list-row button {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .my-list-panel.is-full-page .my-list-stack {
        grid-template-columns: 1fr;
    }

    .my-list-panel.is-full-page .my-list-place {
        grid-template-columns: 1.15rem 1.35rem 3rem minmax(0, 1fr);
        align-items: start;
    }

    .my-list-panel.is-full-page .my-list-place > img {
        width: 3rem;
        height: 3rem;
    }

    .my-list-panel.is-full-page .my-mini-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: calc(1.15rem + 1.35rem + 3rem + 1.5rem);
    }

    .my-itinerary-panel.is-full-page .my-day-preview,
    .my-itinerary-panel.is-full-page .my-day-preview:has(.my-day-editor) {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .my-stop-editor,
    .my-add-stop-form,
    .my-saved-tools,
    .my-list-title-edit,
    .my-list-picker,
    .my-account-grid,
    .my-share-row {
        grid-template-columns: 1fr;
    }

    .my-itinerary-panel.is-full-page {
        overflow: hidden;
    }

    .my-day-editor,
    .my-time-lane,
    .my-stop-stack,
    .my-stop-editor,
    .my-add-stop-form {
        min-width: 0;
        max-width: 100%;
    }

    .my-day-editor-head .input,
    .my-stop-editor .input,
    .my-add-stop-form .input,
    .share-output,
    .share-output.compact {
        width: 100%;
        min-width: 0;
    }

    .my-stop-editor .my-editor-actions,
    .my-day-editor-head .my-editor-actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .my-itinerary-board {
        grid-template-columns: 1fr;
    }

    .my-saved-card.is-editable,
    .my-list-panel.is-full-page .my-list-row {
        grid-template-columns: 1fr;
    }

    .my-stop-editor > img {
        width: 4rem;
        height: 4rem;
        aspect-ratio: auto;
    }

    .my-itinerary-panel.is-full-page .my-stop-editor {
        grid-template-columns: 1.15rem 3rem minmax(0, 1fr);
        align-items: start;
    }

    .my-itinerary-panel.is-full-page .my-stop-editor > img {
        width: 3rem;
        height: 3rem;
    }

    .my-itinerary-panel.is-full-page .my-stop-editor .input {
        grid-column: 2 / -1;
        grid-row: auto;
        width: min(13rem, 100%);
    }

    .my-itinerary-panel.is-full-page .my-stop-editor .my-editor-actions {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-content: flex-start;
        padding-left: calc(1.15rem + 3rem + 1rem);
    }

    .my-naver-handoff > img {
        min-height: 8rem;
    }

    .my-itinerary-add-rail {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) {
    body:has(.my-app) .site-header {
        flex-direction: row;
        align-items: center;
    }

    body:has(.my-app) .main-nav {
        width: auto;
        flex-wrap: nowrap;
    }
}
