.yp-krl{
  --krl-yellow:#ffb600;
  --krl-yellow-deep:#b77900;
  --krl-yellow-soft:#fff8dc;
  --krl-yellow-pale:#fffdf5;
  --krl-border:#e8e3d8;
  --krl-text:#202326;
  --krl-muted:#6f7478;
  margin:28px 0 34px;
  color:var(--krl-text);
  font-family:inherit;
}
.yp-krl *{box-sizing:border-box}
.yp-krl-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.yp-krl-route-chip,.yp-krl-date-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #eadcae;border-radius:999px;padding:8px 13px;background:linear-gradient(135deg,#fffef8 0%,#fff8dc 100%);font-size:13px;font-weight:700}
.yp-krl-date-chip{font-weight:600;color:#5f6468}

.yp-krl-next{display:grid;grid-template-columns:54px minmax(120px,1fr) minmax(120px,1.35fr) minmax(120px,1fr);align-items:center;gap:14px;border:1px solid #efc64a;background:linear-gradient(135deg,#fff3bd 0%,#fff9e4 48%,#fff 100%);border-radius:10px;padding:14px 16px;margin-bottom:8px;box-shadow:0 5px 18px rgba(255,182,0,.08);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.yp-krl-next-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#ffd65a 0%,#ffb600 100%);color:#523900;font-size:26px;box-shadow:0 5px 14px rgba(255,182,0,.20)}
.yp-krl-next-copy{display:flex;flex-direction:column;min-width:0}
.yp-krl-next-copy span.yp-krl-eyebrow{font-size:12px;font-weight:700;color:#5b5f62;margin-bottom:2px}
.yp-krl-next-copy strong{font-size:21px;line-height:1.1}
.yp-krl-next-copy strong sup{font-size:9px;line-height:1;color:var(--krl-yellow-deep);margin-left:3px;vertical-align:super}
.yp-krl-next-copy small{font-size:11px;color:var(--krl-muted);margin-top:3px}
.yp-krl-next-line{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;color:#62676b}
.yp-krl-next-line i,.yp-krl-journey i{width:100%;height:1px;border-top:1px dashed #9da2a5;position:relative}
.yp-krl-next-line i:after,.yp-krl-journey i:after{content:"";position:absolute;right:-1px;top:-4px;border-left:5px solid #7f8487;border-top:3px solid transparent;border-bottom:3px solid transparent}

.yp-krl-trip-list{border:1px solid var(--krl-border);border-radius:9px;overflow:hidden;background:#fff}
.yp-krl-trip{display:grid;grid-template-columns:minmax(105px,.85fr) minmax(140px,1.4fr) minmax(105px,.85fr);gap:18px;align-items:center;padding:11px 16px;border-top:1px solid #eeeae2;position:relative;transition:background .16s ease,box-shadow .16s ease}
.yp-krl-trip:first-child{border-top:0}
.yp-krl-trip.is-next{background:linear-gradient(90deg,#fff2b5 0%,#fff8dd 45%,#fffdf5 100%);box-shadow:inset 0 0 0 1px rgba(255,182,0,.08)}
.yp-krl-trip.is-next:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#ffd24a 0%,#ffb600 100%)}
.yp-krl-trip.is-next .yp-krl-time:first-child strong{color:var(--krl-yellow-deep)}
.yp-krl-time{display:flex;flex-direction:column}
.yp-krl-time strong{font-size:16px;line-height:1.15}
.yp-krl-time strong sup,.yp-krl-time-chips sup{font-size:9px;color:var(--krl-yellow-deep);margin-left:2px}
.yp-krl-time span{font-size:10.5px;color:var(--krl-muted);margin-top:3px}
.yp-krl-journey{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10.5px;color:#6d7275}

.yp-krl-note{padding:17px 2px 10px}
.yp-krl-note h2,.yp-krl-stations h2{font-size:19px;margin:0 0 8px}
.yp-krl-note ul{padding-left:20px;margin:8px 0;color:#53585c;font-size:13px;line-height:1.65}
.yp-krl-note p{font-size:13px;color:#53585c}

.yp-krl-summary{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--krl-border);border-bottom:1px solid var(--krl-border);margin:6px 0 24px}
.yp-krl-summary>div{padding:14px 15px;border-right:1px solid var(--krl-border);display:flex;flex-direction:column;gap:4px}
.yp-krl-summary>div:last-child{border-right:0}
.yp-krl-summary span{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:#7a7f82}
.yp-krl-summary strong{font-size:12.5px}

.yp-krl-no-service{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid #eadcae;border-radius:9px;background:#fffdf5;margin-bottom:18px}
.yp-krl-no-service strong{font-size:14px}
.yp-krl-no-service span{font-size:12px;color:var(--krl-muted)}

.yp-krl-stations-intro{font-size:13px;color:var(--krl-muted);margin:-1px 0 12px}
.yp-krl-station-grid{display:grid;grid-template-columns:1fr;gap:7px}
.yp-krl-station{border:1px solid var(--krl-border);border-radius:8px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}
.yp-krl-station[open]{border-color:#efc64a;box-shadow:inset 4px 0 0 var(--krl-yellow),0 4px 14px rgba(255,182,0,.08)}
.yp-krl-station summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;font-size:13px;font-weight:700}
.yp-krl-station summary::-webkit-details-marker{display:none}
.yp-krl-station summary:after{content:"＋";color:var(--krl-yellow-deep);margin-left:auto}
.yp-krl-station[open] summary{background:linear-gradient(90deg,#fff2b5 0%,#fff8dd 52%,#fffdf5 100%);color:#5c4300}
.yp-krl-station[open] summary:after{content:"−"}
.yp-krl-time-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 13px 13px}
.yp-krl-time-chips time{padding:6px 9px;border-radius:6px;background:#fff9e6;border:1px solid #f0e1ad;font-size:12px;font-weight:700}
.yp-krl-empty-times{font-size:12px;color:var(--krl-muted);padding:3px 0}

.yp-krl-archive-note{margin-top:15px;padding:11px 13px;border-radius:8px;background:#f7f7f7;color:#696d70;font-size:12px;line-height:1.55}
.yp-krl-next.is-ended{background:linear-gradient(135deg,#f8f8f8,#fff);border-color:#ddd;box-shadow:none}
.yp-krl-next.is-ended .yp-krl-next-icon{background:#ececec;color:#777;box-shadow:none}
.yp-krl-next.is-archive{background:#fafafa;border-color:#e2e2e2;box-shadow:none}
.yp-krl-next.is-archive .yp-krl-next-icon{background:#ececec;color:#777;box-shadow:none}

@media(max-width:760px){
  .yp-krl-head{align-items:flex-start;flex-direction:column}
  .yp-krl-next{grid-template-columns:42px 1fr 1fr;gap:10px;padding:13px}
  .yp-krl-next-line{grid-column:2/4;grid-row:2}
  .yp-krl-trip{grid-template-columns:1fr 1fr 1fr;gap:9px;padding:11px 12px}
  .yp-krl-summary{grid-template-columns:1fr 1fr}
  .yp-krl-summary>div{border-top:1px solid var(--krl-border);border-right:1px solid var(--krl-border)}
  .yp-krl-summary>div:nth-child(1),.yp-krl-summary>div:nth-child(2){border-top:0}
  .yp-krl-summary>div:nth-child(2n){border-right:0}
}
