/* 내 동선 (trip.js) */
.trip-add{font:inherit;font-size:.9rem;padding:.35rem .75rem;border:1px solid #2e5d46;border-radius:999px;background:#fff;color:#2e5d46;cursor:pointer;min-height:36px}
.trip-add[aria-pressed="true"]{background:#2e5d46;color:#fff}
.trip-fab{position:fixed;right:18px;bottom:22px;z-index:60;font:inherit;font-weight:700;padding:.85rem 1.2rem;border:0;border-radius:999px;background:#2e5d46;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.18);cursor:pointer}
.trip-fab[hidden]{display:none}
@media (max-width:720px){.trip-fab{bottom:84px;right:12px}}
.trip-dialog{width:min(1040px,calc(100vw - 24px));max-height:calc(100vh - 32px);border:0;border-radius:20px;padding:20px 22px;background:#fdfdfb;color:#1f2a24;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.trip-dialog::backdrop{background:rgba(20,30,25,.5)}
.tr-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.tr-head h2{margin:0;font-size:1.35rem}
.tr-head h2:focus{outline:none}
.tr-head>button{font:inherit;font-size:1.1rem;border:0;border-radius:50%;background:#eef1ec;color:#1f2a24;cursor:pointer;width:44px;height:44px;flex:none}
.tr-total{margin:.2rem 0 0;font-size:1rem}.tr-total span{color:#6b746e;font-size:.82rem;margin-left:.3rem}
.tr-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;align-items:start}
.tr-map{height:min(560px,calc(100vh - 160px));border-radius:16px;overflow:hidden;background:#eef1ec}
.tr-map[hidden]{display:none}
.tr-maperr{padding:1rem;color:#6b746e;font-size:.9rem}
.tr-side{max-height:min(560px,calc(100vh - 160px));overflow:auto;padding-right:2px}
.tr-list{list-style:none;padding:0;margin:0 0 .8rem}
.tr-row{display:flex;align-items:center;gap:.55rem;background:#fff;border:1px solid #e3e8e4;border-radius:12px;padding:.5rem .55rem}
.tr-row a{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:700;color:inherit;text-decoration:none}
.tr-row a:hover{text-decoration:underline}
.tr-no{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid #fff;background:#2e5d46;color:#fff;font:inherit;font-weight:800;font-size:.85rem;cursor:pointer;box-shadow:0 0 0 1px #2e5d46}
.tr-btns{display:flex;gap:2px;flex:none}
.tr-btns button{font:inherit;font-size:.85rem;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#4b5650;cursor:pointer}
.tr-btns button:hover:not(:disabled){background:#eef1ec}
.tr-btns button:disabled{opacity:.25;cursor:default}
.tr-gap{display:flex;align-items:center;gap:.6rem;margin:0 0 0 22px;padding:.45rem 0 .45rem 22px;border-left:3px dotted #2e5d46;font-size:.85rem}
.tr-gap span{font-weight:800;color:#2e5d46}
.tr-gap a{color:#3a6ea5}
.tr-tools{display:flex;gap:8px;flex-wrap:wrap}
.tr-tools button{font:inherit;font-size:.85rem;min-height:38px;padding:0 .9rem;border:1px solid #c9d2cc;border-radius:999px;background:#fff;color:#1f2a24;cursor:pointer}
.tr-tools button:first-child:not(:disabled){border-color:#2e5d46;color:#2e5d46;font-weight:700}
.tr-tools button:disabled{opacity:.4;cursor:default}
.tr-note,.tr-empty{color:#6b746e;font-size:.8rem;word-break:keep-all}
@media (max-width:820px){
  .trip-dialog{padding:14px;border-radius:16px}
  .tr-layout{grid-template-columns:1fr;gap:12px}
  .tr-map{height:44vh}
  .tr-side{max-height:none;overflow:visible}
}
/* 시안 A 핀·거리표 */
button.tr-pin{display:flex;flex-direction:column;align-items:center;border:0;background:none;padding:0;cursor:pointer;font:inherit}
.tr-drop{width:40px;height:40px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;position:relative;background:#2e5d46;border:3px solid #fff;box-shadow:0 4px 10px rgba(46,93,70,.35)}
.tr-drop svg{transform:rotate(45deg);width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tr-pno{position:absolute;top:-7px;right:-7px;transform:rotate(45deg);width:20px;height:20px;border-radius:50%;font-size:11px;font-weight:800;display:grid;place-items:center;background:#F2BD95;color:#1f2a24;border:2px solid #fff}
.tr-pnm{margin-top:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;background:#fff;color:#1f2a24;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.tr-chip{padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:800;white-space:nowrap;background:#F2BD95;color:#1f2a24;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.tr-off{visibility:hidden}
.tr-drop img{transform:rotate(45deg);width:100%;height:100%;border-radius:50%;object-fit:cover}
.tr-thumb{flex:none;width:44px;height:44px;border-radius:10px;object-fit:cover;background:#eaf0e7}
.tr-ico{display:grid;place-items:center}.tr-ico svg{width:22px;height:22px;fill:none;stroke:#2e5d46;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tr-credit{margin:.6rem 0;font-size:.82rem;color:#5d665f}.tr-credit summary{cursor:pointer}.tr-credit ul{margin:.4rem 0 0;padding-left:1.1rem}
