/* Gimyo's Alley Diary — intentionally uses actual place illustrations only when supplied. */
body.shared-entry .hero { display: none !important; }
body.shared-entry #shared-view { margin: 24px auto; max-width: 820px; }
.editorial-diary { color: #654331; padding: clamp(17px, 4vw, 34px) clamp(15px, 4vw, 32px) 28px; }
.editorial-diary .diary-caption { font-size: 12px; letter-spacing: .10em; }
.editorial-diary .diary-lede { margin: 20px 0 28px; max-width: 27ch; font-family: "Noto Serif KR", Georgia, serif; font-size: clamp(27px, 4.5vw, 42px); font-weight: 700; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.editorial-diary .diary-place-name { font-size: clamp(20px, 3vw, 27px); margin: 0 0 16px; }
.editorial-diary .diary-illustration { display: block; overflow: hidden; padding: 0; margin: 0 0 34px; border-radius: 20px; border: 1px solid #ddbd96; background: #f1dfc8; }
.editorial-diary .diary-illustration img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(75vh, 720px); margin-inline: auto; object-fit: contain; }
.editorial-diary .diary-art-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; padding: 25px; gap: 11px; text-align: center; }
.editorial-diary .diary-art-pending > span { font-size: 40px; color: #9b7551; }
.editorial-diary .diary-art-pending strong { font-size: 15px; }
.editorial-diary .diary-art-pending small { font-size: 11px; line-height: 1.6; color: #84644d; }
.editorial-diary .diary-chapter { padding: 25px 0; border-top: 1px dashed #d9b68e; }
.editorial-diary .diary-chapter h3 { font-size: 19px; line-height: 1.45; margin: 0 0 16px; }
.editorial-diary .diary-chapter .story, .editorial-diary .diary-discovery p { line-height: 1.9; word-break: keep-all; white-space: pre-line; overflow-wrap: anywhere; }
.editorial-diary .diary-discovery { padding: 20px; margin: 24px 0 30px; border-left: 4px solid #895538; border-radius: 5px 15px 15px 5px; background: #f0ddc3; }
.editorial-diary .diary-discovery h3 { font-size: 17px; margin: 0 0 12px; }
.editorial-diary .diary-discovery p { margin: 0; }
.editorial-diary .facts { margin: 0 0 18px; }
.editorial-diary .map-links { display: flex; flex-wrap: wrap; }
.editorial-diary .diary-next-list { display: grid; gap: 12px; }
.editorial-diary .diary-next-stop { display: flex; flex-direction: column; gap: 6px; padding: 16px 19px; border-radius: 13px; border: 1px solid #dec3a4; color: #654331; background: #fffbf3; text-decoration: none; transition: background .15s ease; }
.editorial-diary .diary-next-stop:hover, .editorial-diary .diary-next-stop:focus-visible { background: #f4e5d0; }
.editorial-diary .diary-next-stop b { font-size: 16px; }
.editorial-diary .diary-next-stop span { font-size: 13px; line-height: 1.6; }
.editorial-diary .diary-next-stop small { color: #89674e; font-size: 12px; }
#shared-content .editorial-diary { margin-inline: auto; max-width: 720px; }
/* Show the complete original image on phones; do not apply a viewport-height crop. */
@media (max-width: 700px) {
  .editorial-diary .diary-illustration {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .editorial-diary .diary-illustration img,
  .editorial-diary .diary-photo-grid img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }
  .editorial-diary .diary-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .editorial-diary { padding: 21px 12px 32px; }
  .editorial-diary .diary-lede { max-width: none; font-size: 27px; }
  .editorial-diary .diary-art-pending { min-height: 140px; }
}

.editorial-diary .diary-image-credit { padding: 10px 15px; font-size: 11px; line-height: 1.6; color: #785a42; background: #f9f1e6; }
.editorial-diary .diary-image-credit a { color: #654331; text-decoration: underline; text-underline-offset: 2px; }

.editorial-diary .diary-place-name{font-family:"Noto Serif KR",Georgia,serif;font-size:clamp(27px,5vw,38px);line-height:1.35;margin:8px 0 16px}
.editorial-diary .diary-illustration{margin:0 0 14px}
.editorial-diary .diary-lede{margin:20px 0 24px;max-width:none;font-size:clamp(19px,3.5vw,24px);line-height:1.65}
.editorial-diary .diary-chapter .story{font-size:17px!important;line-height:1.85;padding:0!important}
.editorial-diary .story::before{display:none!important;content:none!important}
.editorial-diary .diary-discovery p{font-size:16px!important;line-height:1.8}
.quick-directions-heading{font-size:18px;line-height:1.4;margin:12px 0 8px}
.editorial-diary .map-links.quick-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px}
.editorial-diary .map-links.quick-directions a{min-height:64px;padding:10px 6px;font-size:14px;border-radius:12px}
.editorial-diary .quick-directions{margin:10px 0 12px}
.editorial-diary .quick-directions h2{font-size:18px;margin:0 0 8px}
.editorial-diary .map-links.quick-directions-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.editorial-diary .map-links.quick-directions-links a{min-height:58px;padding:10px 6px;font-size:14px;border-radius:12px}
.place-reviews{max-width:720px;margin:26px auto 4px;padding:20px;border:1px solid #e4cfb8;border-radius:16px;background:#fffaf2;color:#523b2d}
.place-reviews-title{font-size:23px;line-height:1.4;margin:0 0 8px}
.place-reviews-note{font-size:16px;line-height:1.65;margin:0 0 17px;color:#665448}
.place-reviews-list{display:grid;gap:10px;margin:0 0 14px;padding:0;list-style:none}
.place-review-item{padding:14px;border:1px solid #e8d8c8;border-radius:12px;background:#fff}
.place-review-body{font-size:17px;line-height:1.7;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.place-review-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#806b5c;font-size:13px}
.place-review-delete{min-height:36px;padding:5px 12px;border:1px solid #d7b9a0;border-radius:8px;background:#fff;color:#694832;font:inherit;cursor:pointer}
.place-reviews-empty,.place-reviews-status{font-size:15px;line-height:1.5;color:#806b5c}
.place-review-form{display:grid;gap:9px;margin-top:14px}
.place-review-form label{display:grid;gap:7px;font-weight:700;font-size:16px}
.place-review-form textarea{width:100%;min-height:112px;padding:12px;border:1px solid #cdb69f;border-radius:10px;background:#fff;color:#3e2b21;font:inherit;line-height:1.6;resize:vertical}
.place-review-help{font-size:13px;line-height:1.5;color:#806b5c}
.place-review-submit{justify-self:start;min-height:46px;padding:10px 18px;border:0;border-radius:10px;background:#75452b;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.place-review-submit:disabled,.place-review-delete:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.place-reviews{margin:22px -2px 0;padding:16px 13px}.place-reviews-note{font-size:16px}.place-review-body{font-size:17px}.editorial-diary .map-links.quick-directions,.editorial-diary .map-links.quick-directions-links{gap:6px}.editorial-diary .map-links.quick-directions a,.editorial-diary .map-links.quick-directions-links a{min-height:62px;font-size:12px;padding:8px 3px}}

.diary-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.diary-photo-grid figure{margin:0}.diary-photo-grid img{display:block;width:100%;height:auto;max-height:min(65vh,560px);object-fit:contain;border-radius:14px;background:#f1dfc8}.diary-photo-grid figcaption{font-size:.82rem;color:#795f49}

/* Theme 1 detail story: the same navy frame and bright, readable panels as recommendations. */
#detail{width:min(760px,calc(100vw - 24px))!important;max-width:760px!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;padding:34px clamp(14px,3vw,26px) 22px!important;overflow:auto!important;border:3px solid #292536!important;border-radius:22px!important;background:#fffaf0!important;color:#292536!important;box-shadow:5px 6px 0 #292536!important}
#detail::before,#detail::after{display:none!important;content:none!important}
#detail .notebook-tab{display:none!important}
#close-detail{top:10px!important;right:10px!important;width:38px!important;height:38px!important;border:2px solid #292536!important;border-radius:12px!important;background:#ffe888!important;color:#292536!important;font-size:27px!important;line-height:1!important;box-shadow:2px 2px 0 #292536!important}
:is(#detail-body,#shared-content) .editorial-diary{max-width:none!important;margin:0!important;padding:6px 0 12px!important;color:#292536!important}
:is(#detail-body,#shared-content) .diary-caption{display:inline-flex!important;align-items:center!important;min-height:30px!important;margin:0 48px 10px 0!important;padding:5px 11px!important;border:2px solid #292536!important;border-radius:999px!important;background:#bfe8d4!important;color:#292536!important;font-size:13px!important;font-weight:800!important;letter-spacing:0!important}
:is(#detail-body,#shared-content) .diary-place-name{display:block!important;margin:0 44px 12px 0!important;padding:0!important;border:0!important;color:#24243a!important;font-size:clamp(25px,4vw,34px)!important;font-weight:900!important;line-height:1.35!important;word-break:keep-all!important}
:is(#detail-body,#shared-content) .detail-stamp{display:none!important}
:is(#detail-body,#shared-content) .diary-illustration{margin:0 0 12px!important;border:3px solid #292536!important;border-radius:16px!important;background:#d9f2e6!important;box-shadow:3px 3px 0 #292536!important}
:is(#detail-body,#shared-content) .diary-illustration img{width:100%!important;max-width:100%!important;max-height:min(64vh,560px)!important;object-fit:contain!important}
:is(#detail-body,#shared-content) .quick-directions{margin:10px 0 18px!important;padding:13px!important;border:2px solid #292536!important;border-radius:15px!important;background:#e7f4ed!important}
:is(#detail-body,#shared-content) .quick-directions h2,:is(#detail-body,#shared-content) .quick-directions-heading{margin:0 0 9px!important;color:#292536!important;font-size:18px!important;font-weight:900!important}
:is(#detail-body,#shared-content) .map-links.quick-directions,:is(#detail-body,#shared-content) .map-links.quick-directions-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
:is(#detail-body,#shared-content) .map-links.quick-directions a,:is(#detail-body,#shared-content) .map-links.quick-directions-links a{display:flex!important;min-width:0!important;min-height:60px!important;align-items:center!important;justify-content:center!important;padding:9px 5px!important;border:2px solid #292536!important;border-radius:12px!important;background:#fffaf0!important;color:#292536!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;text-align:center!important;box-shadow:2px 2px 0 #292536!important}
:is(#detail-body,#shared-content) .map-links.quick-directions a::before,:is(#detail-body,#shared-content) .map-links.quick-directions a::after,:is(#detail-body,#shared-content) .map-links.quick-directions-links a::before,:is(#detail-body,#shared-content) .map-links.quick-directions-links a::after{margin:0 4px 0 0!important;font-size:15px!important}
:is(#detail-body,#shared-content) .map-links.quick-directions a[data-provider=kakao],:is(#detail-body,#shared-content) .map-links.quick-directions-links a[data-provider=kakao]{background:#ffe888!important;color:#292536!important}
:is(#detail-body,#shared-content) .map-links.quick-directions a[data-provider=tmap],:is(#detail-body,#shared-content) .map-links.quick-directions-links a[data-provider=tmap]{background:#dbe9ff!important;color:#292536!important}
:is(#detail-body,#shared-content) .diary-lede{margin:12px 0 18px!important;padding:15px!important;border:2px solid #292536!important;border-radius:15px!important;background:#fff0bd!important;color:#292536!important;font-size:clamp(18px,3vw,23px)!important;font-weight:800!important;line-height:1.65!important}
:is(#detail-body,#shared-content) .diary-chapter{margin:16px 0!important;padding:16px!important;border:2px solid #292536!important;border-radius:16px!important;background:#fffdf5!important;box-shadow:2px 2px 0 #292536!important}
:is(#detail-body,#shared-content) .diary-chapter h3{margin:0 0 10px!important;color:#292536!important;font-size:20px!important;font-weight:900!important;line-height:1.4!important}
:is(#detail-body,#shared-content) .diary-chapter .story{margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#343142!important;font-size:17px!important;line-height:1.85!important}
:is(#detail-body,#shared-content) .diary-discovery{margin:16px 0!important;padding:15px!important;border:2px solid #292536!important;border-left-width:8px!important;border-radius:15px!important;background:#d9f2e6!important;color:#292536!important}
:is(#detail-body,#shared-content) .diary-discovery h3{font-size:18px!important}
:is(#detail-body,#shared-content) .diary-discovery p{font-size:16px!important;line-height:1.8!important}
:is(#detail-body,#shared-content) .facts{padding:12px!important;border:2px solid #292536!important;border-radius:13px!important;background:#fffaf0!important;color:#292536!important;box-shadow:none!important}
:is(#detail-body,#shared-content) .facts dt,:is(#detail-body,#shared-content) .facts dd{color:#343142!important;font-size:14px!important}
:is(#detail-body,#shared-content) .diary-next-stop{border:2px solid #292536!important;border-radius:13px!important;background:#e8f3ff!important;color:#292536!important;box-shadow:2px 2px 0 #292536!important}
:is(#detail-body,#shared-content) .diary-board-link{margin:16px 0!important;font-size:15px!important;line-height:1.8!important}
:is(#detail-body,#shared-content) .diary-board-link a{color:#145d4b!important;font-weight:800!important;text-underline-offset:3px!important}
:is(#detail-body,#shared-content) .place-reviews{max-width:none!important;margin:18px 0 0!important;padding:16px!important;border:2px solid #292536!important;border-radius:16px!important;background:#e7f4ed!important;color:#292536!important;box-shadow:2px 2px 0 #292536!important}
:is(#detail-body,#shared-content) .place-reviews-title{font-size:21px!important;font-weight:900!important}
:is(#detail-body,#shared-content) .place-reviews-note,:is(#detail-body,#shared-content) .place-review-body{color:#343142!important}
:is(#detail-body,#shared-content) .place-review-item,:is(#detail-body,#shared-content) .place-review-form textarea{border:2px solid #292536!important;border-radius:11px!important;background:#fffaf0!important;color:#292536!important}
:is(#detail-body,#shared-content) .place-review-submit{border:2px solid #292536!important;border-radius:11px!important;background:#bfe8d4!important;color:#292536!important;font-weight:900!important;box-shadow:2px 2px 0 #292536!important}
@media(max-width:600px){
 #detail{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:34px 12px 16px!important;border-radius:18px!important}
 :is(#detail-body,#shared-content) .editorial-diary{padding:3px 0 8px!important}
 :is(#detail-body,#shared-content) .diary-caption{font-size:12px!important}
 :is(#detail-body,#shared-content) .diary-place-name{font-size:25px!important}
 :is(#detail-body,#shared-content) .diary-illustration img{max-height:none!important}
 :is(#detail-body,#shared-content) .quick-directions{padding:10px!important}
 :is(#detail-body,#shared-content) .map-links.quick-directions a,:is(#detail-body,#shared-content) .map-links.quick-directions-links a{min-height:58px!important;font-size:12px!important}
 :is(#detail-body,#shared-content) .diary-chapter{padding:13px!important}
 :is(#detail-body,#shared-content) .diary-chapter h3{font-size:18px!important}
 :is(#detail-body,#shared-content) .diary-chapter .story{font-size:17px!important;line-height:1.8!important}
}
body.shared-entry #shared-view{max-width:850px!important;margin:18px auto!important;padding:0 12px!important}
body.shared-entry #shared-content{width:100%!important;max-width:760px!important;margin:0 auto 16px!important;overflow:hidden!important;border:3px solid #292536!important;border-radius:22px!important;background:#fffaf0!important;color:#292536!important;box-shadow:5px 6px 0 #292536!important}
body.shared-entry #shared-content>.editorial-diary{padding:14px clamp(14px,3vw,24px) 22px!important}
@media(max-width:600px){body.shared-entry #shared-view{margin:10px auto!important;padding:0 8px!important}body.shared-entry #shared-content{border-radius:18px!important}body.shared-entry #shared-content>.editorial-diary{padding:12px 10px 18px!important}}

:is(#detail-body,#shared-content) .map-links.quick-directions a,:is(#detail-body,#shared-content) .map-links.quick-directions-links a{flex-direction:column!important;gap:2px!important}
:is(#detail-body,#shared-content) .map-provider{font-size:11px!important;font-weight:700!important;line-height:1.2!important}
:is(#detail-body,#shared-content) .map-action{font-size:14px!important;font-weight:900!important;line-height:1.25!important}

/* The provider-specific pseudo labels contradicted the single visible directions action. */
:is(#detail-body,#shared-content,.editorial-diary) .map-links a::after{content:none!important;display:none!important}
