/* Oya Creative Escapes – Tube Map widget */
.oya-tube{
  --tm-night:#0d1a2b; --tm-cream:#f6ecd9; --tm-card:#fbf3e3; --tm-ink:#1b2a3d; --tm-muted:#6f6656; --tm-red:#be4137;
  --tm-gold:#e9c27a; --tm-amber:#ffb23f;
  --tm-display:'Cinzel',Georgia,serif; --tm-body:'Fira Sans',Arial,Helvetica,sans-serif;
  --tm-hand:'Caveat','Segoe Print',cursive; --tm-board:'VT323','Courier New',monospace;
  position:relative;color:var(--tm-cream);font-family:var(--tm-body);container-type:inline-size;container-name:oyatube;
}
.oya-tube *,.oya-tube *::before,.oya-tube *::after{box-sizing:border-box}
.oya-tube.has-bg{
  background:
    radial-gradient(ellipse at 15% 0%,rgba(233,194,122,.10),transparent 50%),
    radial-gradient(ellipse at 90% 60%,rgba(35,64,184,.16),transparent 55%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 44px),
    repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 44px),
    var(--tm-night);
  padding:44px 16px 64px;border-radius:0;
}
.oya-tube .tm-inner{max-width:1080px;margin:0 auto}
.oya-tube .tm-head{text-align:center}
.oya-tube .tm-title{font-family:var(--tm-display);font-size:clamp(28px,4.4vw,48px);line-height:1.1;margin:0 0 6px;text-wrap:balance;color:var(--tm-cream)}
.oya-tube .tm-sub{font-family:var(--tm-hand);font-size:clamp(22px,2.6vw,30px);color:var(--tm-gold);margin:0}

.oya-tube .tm-board-wrap{position:sticky;top:var(--tm-sticky,0px);z-index:5;display:flex;justify-content:center;padding:14px 0 10px;margin-top:22px}
.admin-bar .oya-tube .tm-board-wrap{top:calc(var(--tm-sticky,0px) + 32px)}
.oya-tube .tm-board{display:flex;align-items:center;gap:12px;background:#06090d;border:2px solid #2b3a4f;border-radius:10px;padding:8px 16px;width:min(100%,600px);box-shadow:0 10px 24px rgba(0,0,0,.45),inset 0 0 18px rgba(0,0,0,.7)}
.oya-tube .tm-dot{width:10px;height:10px;border-radius:50%;background:var(--tm-amber);box-shadow:0 0 10px var(--tm-amber);flex:none;animation:oyaTmBlink 1.6s steps(2) infinite}
.oya-tube .tm-board-txt{font-family:var(--tm-board);font-size:clamp(20px,2.6vw,27px);line-height:1.2;color:var(--tm-amber);letter-spacing:2px;text-shadow:0 0 8px rgba(255,178,63,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@keyframes oyaTmBlink{50%{opacity:.25}}

.oya-tube .tm-route{position:relative;margin-top:18px}
.oya-tube .tm-stop{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);align-items:center;min-height:300px;padding-block:26px;scroll-margin-top:110px}
.oya-tube .tm-stop::before{content:"";position:absolute;left:calc(50% - 7px);width:14px;top:0;bottom:0;background:var(--c);border-radius:7px}
.oya-tube .tm-stop:first-child::before{top:50%}
.oya-tube .tm-stop:last-of-type::before{bottom:50%}
.oya-tube .tm-station{grid-column:2;grid-row:1;justify-self:center;position:relative;z-index:2;width:42px;height:42px;border-radius:50%;background:#fff;border:7px solid #0b1220;box-shadow:0 0 0 4px rgba(255,255,255,.08);transition:border-color .2s,box-shadow .2s}
.oya-tube .tm-stop.here .tm-station{border-color:var(--tm-gold);box-shadow:0 0 0 6px rgba(233,194,122,.25)}
.oya-tube .tm-name{position:absolute;top:calc(50% + 30px);left:50%;transform:translateX(-50%);z-index:2;font-weight:700;font-size:13px;letter-spacing:2px;white-space:nowrap;background:var(--tm-night);padding:3px 8px;border-radius:4px;color:var(--tm-cream)}
.oya-tube .tm-spur{position:absolute;top:50%;height:6px;width:64px;margin-top:-3px;background:var(--c);opacity:.85}
.oya-tube .tm-stop.left .tm-spur{left:calc(50% - 64px)}
.oya-tube .tm-stop.right .tm-spur{left:50%}

.oya-tube .tm-card{position:relative;z-index:1;grid-row:1;background:var(--tm-card);color:var(--tm-ink);border-radius:6px;width:100%;max-width:440px;
  box-shadow:0 22px 44px rgba(0,0,0,.45);
  background-image:repeating-linear-gradient(35deg,rgba(73,58,25,.04) 0 1px,transparent 1px 6px);
  transition:transform .35s cubic-bezier(.2,.9,.25,1),box-shadow .35s}
.oya-tube .tm-stop.left .tm-card{grid-column:1;justify-self:end;transform:rotate(-1.6deg)}
.oya-tube .tm-stop.right .tm-card{grid-column:3;justify-self:start;transform:rotate(1.4deg)}
.oya-tube .tm-card:hover{transform:rotate(0) translateY(-6px) scale(1.015);box-shadow:0 30px 56px rgba(0,0,0,.5)}
.oya-tube .tm-photo{position:relative;margin:12px 12px 0;aspect-ratio:3/2;max-width:100%;border-radius:3px;overflow:hidden;background:var(--c)}
.oya-tube .tm-photo img{display:block;width:100%;height:100%;object-fit:cover;max-width:none;border-radius:0}
.oya-tube .tm-back{position:relative;padding:20px 22px 22px;display:flow-root}
.oya-tube .tm-stamp{float:right;width:58px;height:70px;margin:-2px -4px 8px 14px;background:var(--s);padding:5px;transform:rotate(5deg);outline:4px dotted var(--tm-card);outline-offset:-2px;box-shadow:0 2px 4px rgba(0,0,0,.18)}
.oya-tube .tm-stamp i{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:1.5px solid rgba(255,255,255,.7);color:#fff}
.oya-tube .tm-stamp.dark-ink i{color:var(--tm-ink);border-color:rgba(27,42,61,.45)}
.oya-tube .tm-stamp svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.oya-tube .tm-card.no-photo{border-top:10px solid var(--c)}
.oya-tube .tm-card.no-photo .tm-back{padding-top:26px}
.oya-tube .tm-card.no-photo .tm-stamp{width:72px;height:86px}
.oya-tube .tm-card.no-photo .tm-stamp svg{width:34px;height:34px}
.oya-tube .tm-kicker{font-size:10px;letter-spacing:2.5px;font-weight:700;color:var(--tm-muted)}
.oya-tube .tm-card h3{font-family:var(--tm-display);font-size:clamp(24px,2.6vw,30px);line-height:1.05;margin:6px 0 0;color:var(--tm-ink);text-wrap:balance;text-transform:none;letter-spacing:0}
.oya-tube .tm-tag{font-family:var(--tm-hand);font-size:23px;line-height:1.15;color:#4a3f30;margin:8px 0 10px}
.oya-tube .tm-msg{font-size:15px;line-height:1.6;margin:0 0 12px;color:var(--tm-ink)}
.oya-tube .tm-closer{font-family:var(--tm-display);font-size:14px;line-height:1.4;color:var(--tm-red);margin:0}
.oya-tube .tm-badge{display:inline-block;margin-top:12px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--tm-night);background:var(--tm-gold);padding:4px 9px;border-radius:999px;text-transform:uppercase}

.oya-tube .tm-train{position:absolute;left:50%;top:0;width:22px;height:22px;margin-left:-11px;margin-top:-11px;border-radius:50%;background:var(--tm-gold);box-shadow:0 0 0 7px rgba(233,194,122,.28),0 0 22px rgba(233,194,122,.8);z-index:3;pointer-events:none;opacity:0;transition:opacity .3s}
.oya-tube .tm-train.on{opacity:1}

.oya-tube .tm-end{text-align:center;margin-top:34px}
.oya-tube .tm-end p{font-family:var(--tm-hand);font-size:24px;color:var(--tm-gold);margin:0 0 14px}
.oya-tube .tm-end a{display:inline-block;background:var(--tm-red);color:#fff;text-decoration:none;font-weight:700;letter-spacing:2px;font-size:14px;padding:16px 28px;border-radius:999px;border:3px solid #fff;box-shadow:0 8px 20px rgba(0,0,0,.4)}
.oya-tube .tm-end a:hover{filter:brightness(1.1)}
.oya-tube a:focus-visible{outline:3px solid var(--tm-gold);outline-offset:3px}

@container oyatube (max-width:760px){
  .oya-tube .tm-stop{grid-template-columns:56px minmax(0,1fr);min-height:0;padding-block:18px}
  .oya-tube .tm-stop::before{left:21px}
  .oya-tube .tm-station{grid-column:1;width:38px;height:38px;border-width:6px;align-self:start;margin-top:22px}
  .oya-tube .tm-name,.oya-tube .tm-spur{display:none}
  .oya-tube .tm-stop.left .tm-card,.oya-tube .tm-stop.right .tm-card{grid-column:2;justify-self:stretch;transform:none;max-width:none}
  .oya-tube .tm-stop:first-child::before{top:40px}
  .oya-tube .tm-stop:last-of-type::before{bottom:auto;height:40px}
  .oya-tube .tm-train{left:28px}
}
@media (max-width:782px){
  .admin-bar .oya-tube .tm-board-wrap{top:calc(var(--tm-sticky,0px) + 46px)}
}
@media (prefers-reduced-motion:reduce){
  .oya-tube *{animation:none!important;transition:none!important}
}

/* Expandable postcards */
.oya-tube .tm-card.can-open{cursor:pointer}
.oya-tube .tm-card.can-open:focus-visible{outline:3px solid var(--tm-gold);outline-offset:4px}
.oya-tube .tm-toggle{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-weight:700;font-size:12px;letter-spacing:1.5px;color:var(--tm-red);text-transform:uppercase}
.oya-tube .tm-toggle .tm-plus{display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid currentColor;position:relative;transition:transform .3s}
.oya-tube .tm-toggle .tm-plus::before,.oya-tube .tm-toggle .tm-plus::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:2px;margin:-1px 0 0 -5px;background:currentColor}
.oya-tube .tm-toggle .tm-plus::after{transform:rotate(90deg);transition:transform .3s}
.oya-tube .tm-card.open .tm-toggle .tm-plus::after{transform:rotate(0)}
.oya-tube .tm-more{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease}
.oya-tube .tm-card.open .tm-more{grid-template-rows:1fr}
.oya-tube .tm-more-inner{overflow:hidden;min-height:0}
.oya-tube .tm-more-body{border-top:1px dashed rgba(27,42,61,.25);margin-top:14px;padding-top:14px;font-size:15px;line-height:1.6;color:var(--tm-ink)}
.oya-tube .tm-more-body p{margin:0 0 10px}
.oya-tube .tm-more-body ul{margin:0 0 10px;padding-left:20px}
.oya-tube .tm-more-body a{color:var(--tm-red)}
.oya-tube .tm-card.open{transform:rotate(0)!important}
