.reference-home{width:100%!important;max-width:100%!important;min-width:0!important}
.reference-home .browse,.reference-home #path-discover{width:100%!important;min-width:0!important;max-width:1160px!important;box-sizing:border-box!important;align-self:center!important}
.reference-home .browse>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
/* Discovery card geometry is shared across mobile and desktop. */
.reference-home #place-list{width:100%!important;max-width:100%!important;box-sizing:border-box!important;grid-auto-flow:row!important;align-items:stretch!important}
.reference-home #place-list .place-row.editorial-card{display:flex!important;flex-direction:column!important;gap:0!important;position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:1px solid #e2ddd5!important;border-radius:20px!important;overflow:hidden!important;box-sizing:border-box!important;background:#fffdfa!important;box-shadow:0 7px 22px #24395b12!important;transform:none!important}
.reference-home #place-list .editorial-card .place-media--card{display:block!important;position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:190px!important;min-height:190px!important;max-height:190px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;box-sizing:border-box!important}
.reference-home #place-list .editorial-card .place-image-visual,.reference-home #place-list .editorial-card .place-card-img{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;margin:0!important;object-fit:cover!important;border-radius:0!important;transform:none!important}
.reference-home #place-list .editorial-card .place-card-copy.editorial-glass{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex:1 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:94px!important;max-height:none!important;margin:0!important;padding:12px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:#fffdfa!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;overflow:hidden!important}
.reference-home #place-list .editorial-card .place-open{display:block!important;position:static!important;inset:auto!important;flex:1 1 0%!important;align-self:center!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;white-space:normal!important;text-align:left!important;overflow:hidden!important;transform:none!important}
.reference-home #place-list .editorial-card .place-open strong{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;font:600 15px/1.3 'Noto Serif JP',serif!important;color:#203b54!important;margin:0 0 5px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.reference-home #place-list .editorial-card .place-open small{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;font:400 11px/1.4 'Noto Sans JP',sans-serif!important;color:#53636d!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.reference-home #place-list .editorial-card .place-add{display:grid!important;place-items:center!important;position:static!important;inset:auto!important;align-self:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border:1px solid #d5dedf!important;border-radius:50%!important;background:#fff!important;color:#23395b!important;font-size:22px!important;line-height:1!important;box-shadow:0 2px 6px #1e334212!important;transform:none!important}
.reference-home #place-list .editorial-card .place-add[aria-pressed=true]{background:#315a45!important;color:#fff!important;border-color:#315a45!important}
.reference-home #place-list .editorial-card .place-open:focus-visible,.reference-home #place-list .editorial-card .place-add:focus-visible{outline:3px solid #b4653d!important;outline-offset:2px!important}
.reference-home #place-list .editorial-card .editorial-category,.reference-home #place-list .editorial-card .editorial-shade,.reference-home #place-list .editorial-card .editorial-credits{display:none!important}
.reference-home #place-list .editorial-card .place-image-chip{position:absolute!important;inset:auto!important;top:auto!important;left:8px!important;bottom:8px!important;display:inline-flex!important;align-items:center!important;max-width:calc(100% - 16px)!important;padding:5px 8px!important;border-radius:999px!important;box-sizing:border-box!important;background:#fffdf5f2!important;color:#294c41!important;font:700 9px/1.35 'Noto Sans JP',sans-serif!important;white-space:normal!important;z-index:2!important;box-shadow:0 2px 8px #1d344e18!important}
.reference-home #place-list .editorial-card .michi-gem-medallion{position:absolute!important;top:8px!important;right:8px!important;z-index:3!important;flex:none!important}
.place-image-invite{margin:5px 0 8px;color:#40584b;font-size:12px;line-height:1.5}
@media(max-width:760px){
 .reference-home #place-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .reference-home #place-list .editorial-card{grid-column:auto!important}
 .reference-home #place-list .editorial-card.editorial-featured{grid-column:1/-1!important}
 .reference-home #place-list .editorial-card .place-media--card{height:154px!important;min-height:154px!important;max-height:154px!important}
 .reference-home #place-list .editorial-card .place-media--card.is-placeholder{height:118px!important;min-height:118px!important;max-height:118px!important}
 .reference-home #place-list .editorial-card.editorial-featured .place-media--card{height:210px!important;min-height:210px!important;max-height:210px!important}
 .reference-home #place-list .editorial-card.editorial-featured .place-media--card.is-placeholder{height:156px!important;min-height:156px!important;max-height:156px!important}
 .reference-home #place-list .editorial-card .place-open strong{font-size:14px!important}
}
@media(min-width:761px){.reference-home #place-list .editorial-card.editorial-featured{grid-column:auto!important}.reference-home #place-list .editorial-card .place-media--card.is-placeholder{height:160px!important;min-height:160px!important;max-height:160px!important}}
@media(max-width:350px){.reference-home #place-list{gap:8px!important}.reference-home #place-list .editorial-card .place-card-copy.editorial-glass{padding:10px!important;gap:6px!important}.reference-home #place-list .editorial-card .place-open strong{font-size:12px!important}.reference-home #place-list .editorial-card .place-open small{font-size:10px!important}}

.place-image--detail.is-placeholder .place-image-kind{font-size:14px;line-height:1.4}

/* Wide discovery cards for an editable path. */
#path-panel{background:rgba(248,245,239,.97);isolation:isolate}
#path-panel .panel-heading{position:sticky;top:-18px;background:#f8f5eff5;z-index:4;padding:12px 0;backdrop-filter:blur(16px)}
#path-items{display:grid;gap:20px}
#path-panel .path-discovery-card{display:block;padding:0!important;border:1px solid #e2ddd5;border-radius:20px;overflow:hidden;background:#fffdfa;box-shadow:0 7px 22px #24395b12}
#path-panel .path-card-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;text-align:left;white-space:normal}
#path-panel .path-art{display:block;position:relative}
#path-panel .place-media--card{display:block;position:relative;width:100%;height:200px;min-height:0;margin:0;border-radius:0;overflow:hidden;background:#f8f5ef}
#path-panel .place-image-visual{display:block;width:100%;height:100%}
#path-panel .place-card-img{display:block;width:100%;height:100%;object-fit:contain;background:#f8f5ef}
#path-panel .place-image-chip{display:none}
#path-panel .path-step{position:absolute;left:12px;top:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fffdf5ed;color:#23395b;box-shadow:0 2px 10px #23395b18}
#path-panel .path-card-copy{display:grid;gap:9px;padding:16px 18px 8px}
#path-panel .path-card-copy small{font-size:11px;line-height:1.5;color:#59635f}
#path-panel .path-card-copy strong{font:500 23px/1.3 'Noto Serif JP',serif;color:#203b54}
#path-panel .path-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:13px;line-height:1.65;color:#53636d}
#path-panel .path-read{font-size:12px;color:#a74725;padding:3px 0}
#path-panel .path-controls{display:flex;align-items:center;gap:6px;padding:10px 14px 14px;margin:0}
#path-panel .path-controls button{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:#f8f5ef}
#path-panel .path-controls a{margin-left:auto;font-size:12px}
#path-panel .path-card-open:focus-visible{outline:3px solid #a74725;outline-offset:-4px}
#path-suggestions .path-idea{overflow:hidden;align-items:center;gap:12px}
#path-suggestions .path-idea-art{flex:0 0 85px;width:85px;align-self:stretch}
#path-suggestions .path-idea-art .place-media{width:100%;height:100%;min-height:100px;margin:0;border-radius:12px;overflow:hidden}
#path-suggestions .path-idea-art .place-image-visual,#path-suggestions .path-idea-art img{display:block;width:100%;height:100%;object-fit:cover}
#path-suggestions .path-idea-art .place-image-chip{display:none}
#path-suggestions .path-idea-main{min-width:0}
#path-suggestions .path-idea-main p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5}
@media(min-width:761px){#path-panel{width:440px;max-width:calc(100vw - 32px)}}
.reference-home #path-panel{z-index:60!important}
