/* RoadLabo Tsuruyama — scoped to the shortcode only, no theme changes. */
.roadlabo-tsuruyama-flight {
  box-sizing: border-box;
  width: min(96vw, 1600px);
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 14px 0 28px;
  color: #e8f7fa;
  font: 15px/1.6 system-ui, -apple-system, "Noto Sans JP", sans-serif;
  border: 1px solid #244756;
  border-radius: 12px;
  overflow: visible;
  background: #051522;
  box-shadow: 0 12px 38px #00142320;
}
.roadlabo-tsuruyama-flight *, .roadlabo-tsuruyama-flight *::before, .roadlabo-tsuruyama-flight *::after { box-sizing: border-box; }
.roadlabo-tsuruyama-intro {
  padding: clamp(20px, 3vw, 40px);
  text-align: center;
  background: radial-gradient(ellipse at 50% -10%, #0c5266 0%, #0a293b 38%, #051522 86%);
  border-radius: 12px 12px 0 0;
}
.roadlabo-tsuruyama-kicker { display: block; font: 11px/1.5 monospace; letter-spacing: .20em; color: #74e3e6; }
.roadlabo-tsuruyama-heading h2 {
  margin: 9px 0 5px !important; padding: 0; font-size: clamp(22px, 3vw, 36px);
  font-weight: 650; color: #f5fcff !important; line-height: 1.35;
}
.roadlabo-tsuruyama-heading p { color: #b4cbd3 !important; font-size: clamp(12px, 1.5vw, 15px); margin: 4px 0 21px; }
.roadlabo-tsuruyama-fullscreen, .roadlabo-tsuruyama-fullscreen:visited {
  display: inline-flex; width: min(100%, 500px); min-height: 78px;
  padding: 12px 19px; align-items: center; justify-content: center; gap: 16px;
  border: none; border-radius: 12px;
  background: linear-gradient(135deg, #9dfbf1 0%, #50e5dc 100%);
  color: #043037 !important; font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 800; text-decoration: none !important;
  box-shadow: 0 8px 33px #24dcc744, inset 0 1px #ffffff99;
  transition: filter .15s ease, transform .15s ease;
}
.roadlabo-tsuruyama-fullscreen:hover { color: #043037 !important; filter: brightness(1.10); transform: translateY(-2px); text-decoration: none !important; }
.roadlabo-tsuruyama-fullscreen:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.roadlabo-tsuruyama-fullscreen small { display: block; font-size: 11px; font-weight: 500; opacity: .73; line-height: 1.45; margin-top: 2px; }
.roadlabo-tsuruyama-button-icon { font: 32px/1 sans-serif; }
.roadlabo-tsuruyama-button-arrow { font-size: 19px; }
.roadlabo-tsuruyama-keyhint { color: #8fb1bd !important; font-size: 12px; margin: 16px 0 0 !important; }
.roadlabo-tsuruyama-keyhint kbd { border: 1px solid #537281; border-radius: 4px; padding: 1px 6px; background: #153747; color: #dbf9fa; font: 12px monospace; }
.roadlabo-tsuruyama-error[hidden] { display:none; }
.roadlabo-tsuruyama-error { color: #ffd1a4 !important; font-size: 13px; margin: 12px 0 0 !important; }
.roadlabo-tsuruyama-preview-head { display: flex; gap: 15px; flex-wrap: wrap; justify-content: space-between; padding: 10px 18px; background: #071b29; border-block: 1px solid #234251; color: #9db9c3; font-size: 12px; }
.roadlabo-tsuruyama-preview-head span:first-child { color: #75f6e6; letter-spacing: .14em; font: 11px/1.6 monospace; }
.roadlabo-tsuruyama-frame { display: block; width: 100%; height: var(--tsuruyama-frame-height, 85vh); min-height: 320px; max-width: none; border: 0; background: #020915; }
.roadlabo-tsuruyama-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; padding: 12px 18px; color: #8caab7; font-size: 12px; }
.roadlabo-tsuruyama-footer a, .roadlabo-tsuruyama-footer a:visited { color: #88eee7; text-decoration: underline; }
.roadlabo-tsuruyama-frame:fullscreen, .roadlabo-tsuruyama-frame:-webkit-full-screen { width: 100vw !important; height: 100vh !important; min-height: 0 !important; border: none !important; border-radius: 0 !important; background: #020915 !important; }
@media (max-width: 700px) {
 .roadlabo-tsuruyama-flight { width: 100vw; margin-top: 12px; }
 .roadlabo-tsuruyama-fullscreen { min-height: 76px; gap: 11px; padding: 12px 10px; }
 .roadlabo-tsuruyama-button-icon { font-size: 24px; }
 .roadlabo-tsuruyama-frame { min-height: 0; height: var(--tsuruyama-frame-height, 85vh); }
 .roadlabo-tsuruyama-keyhint { font-size: 11px; }
 .roadlabo-tsuruyama-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 .roadlabo-tsuruyama-fullscreen { transition: none; }
}
