/* 여행 허브(/{lang}/travel/) 전용. 색은 site.css 변수를 쓴다. */
.trmine{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border-block:1px solid var(--sheet-line);padding:10px 0;margin:0 0 14px}
.trmine p{margin:0}
.trmine.has{flex-wrap:nowrap}
.trneed{flex:none;width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:var(--c);color:var(--on-el);font:400 32px/1 var(--brush)}
.trbest{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px!important}
.trbest button{font:inherit;font-size:.9em;font-weight:700;border:1.5px solid var(--seal);background:var(--card);color:var(--ink);border-radius:999px;padding:2px 14px;cursor:pointer}
.trmapbox{background:color-mix(in srgb,var(--water) 9%,var(--card));border:1px solid var(--sheet-line);border-radius:18px;padding:10px 8px 4px;margin:0 0 16px}
.trfilter{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.trfilter button{min-width:42px;height:38px;border-radius:999px;border:1.5px solid var(--c,var(--line));background:var(--card);color:var(--c,var(--ink));font:inherit;cursor:pointer;padding:0 10px}
.trfilter b{font:400 1.25em/1 var(--brush)}
.trfilter button[aria-pressed=true]{background:var(--c,var(--ink));color:var(--on-el,var(--card));font-weight:700}
.trfilter button[data-f=""][aria-pressed=true]{color:var(--card)}
.trmap{display:block;width:100%;height:auto;max-height:78vh;margin:6px auto 0;overflow:visible}
.trmap .land-shadow{fill:var(--ink);opacity:.08}
.trmap .land{fill:var(--card)}
.trmap .rivers{fill:none;stroke:var(--water);stroke-width:1.6;opacity:.45;stroke-linecap:round;stroke-linejoin:round}
.trmap .coast{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;opacity:.75;stroke-dasharray:1;stroke-dashoffset:0;animation:trdraw 1.6s var(--ease) both}
.trdot{cursor:pointer;outline:none}
.trdot .hit{fill:transparent}
.trdot .halo{fill:var(--c);opacity:.18}
.trdot .core{fill:var(--c);stroke:var(--card);stroke-width:2.5}
.trdot text{font-size:19px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:var(--card);stroke-width:4px;stroke-linejoin:round}
.trdot .halo,.trdot .core{transform-box:fill-box;transform-origin:center}
.trdot .core{animation:trink .55s calc(var(--i)*.1s + .9s) var(--ease) both}
.trdot.mine .halo{opacity:.4;animation:trbreath 1.8s ease-in-out infinite}
.trdot.mine .core{stroke:var(--gold);stroke-width:3.5}
.trdot.sel .core,.trdot:focus-visible .core{stroke:var(--ink);stroke-width:4}
.trdot.dim{opacity:.28}
.trhint{text-align:center;margin:4px 0}
.trlist{list-style:none;padding:0;margin:0}
.trlist>li{border-bottom:1px solid var(--sheet-line)}
.trrow{display:flex;gap:12px;align-items:center;width:100%;text-align:left;background:none;border:0;padding:10px 0;font:inherit;color:var(--ink);cursor:pointer}
.trrow .seal{flex:none;width:40px;height:40px;border-radius:10px;border:2px solid var(--c);color:var(--c);display:grid;place-items:center;font:400 22px/1 var(--brush)}
.trrow span>b{display:block}
.trrow small{display:block;color:var(--muted);line-height:1.5}
.trlist li.mine .seal{background:var(--c);color:var(--on-el)}
.trsheet{position:fixed;left:8px;right:8px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:40;max-height:62vh;overflow:auto;background:var(--card);border:1.5px solid var(--gold);border-radius:18px;padding:12px 16px;box-shadow:0 18px 40px -12px #0007;animation:trup .3s var(--ease)}
.trsheet[hidden]{display:none}
.trsheet h2{margin:0 44px 0 0}
.trsheet p{margin:6px 0}
.trsheet ul{margin:0;padding-left:1.2em}
.trclose{position:absolute;top:8px;right:10px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:22px;line-height:1;cursor:pointer}
.trh{font-weight:700}
.trels .fit{display:inline-block;font-size:.8em;font-weight:700;color:var(--seal);border:1.5px solid var(--seal);border-radius:999px;padding:0 10px}
.trels .fit[hidden]{display:none}
.trel{border-bottom:1px solid var(--sheet-line);padding:6px 0}
.trel summary{cursor:pointer;font-weight:700;padding:6px 0}
.trel.pick summary{color:var(--seal)}
.trmoves{margin:0}
.trmoves>div{border-left:3px solid var(--seal);padding:2px 0 2px 12px;margin:0 0 12px}
.trmoves dt{font-weight:700}
.trmoves dd{margin:0}
@media (min-width:860px){
  body.pg-travel main{max-width:1100px}
  .trgrid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,4fr);gap:24px;align-items:start}
  .trmapbox{position:sticky;top:12px}
  .trside h2{margin-top:0}
  .trsheet{position:sticky;top:12px;left:auto;right:auto;bottom:auto;max-height:none;margin:0 0 16px;box-shadow:0 14px 30px -18px #0006}
}
@keyframes trdraw{from{stroke-dashoffset:1}}
@keyframes trink{from{transform:scale(0);opacity:0}}
@keyframes trbreath{50%{transform:scale(1.35);opacity:.18}}
@keyframes trup{from{transform:translateY(16px);opacity:0}}
@media (prefers-reduced-motion:reduce){.trmap .coast,.trdot .core,.trdot.mine .halo,.trsheet{animation:none}}
