/* ============ インフォメーション（関西空港風のデジタルサイネージ） ============ */

/* 周りの空港の壁と床 */
.kx-wall {
  background: linear-gradient(180deg, #f2b79d 0%, #e9a589 58%, #d9d9dc 58%, #efeff1 100%);
  padding: 28px 18px 20px; border-radius: 8px;
}

/* サイネージの本体（下の角を斜めに切り落とし、青緑のふちを付ける） */
.kx-sign {
  --cut: 34px;
  background: #3aa3a6; padding: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.kx-inner {
  --cut: 32px;
  display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 24px;
  background: linear-gradient(180deg, #232126, #1a181c);
  padding: 20px 24px 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.kx-base { height: 70px; margin: 0 4%; background: linear-gradient(180deg, #f6f6f6, #dcdcde); }
.kx-rail { height: 9px; margin: 8px 1% 0; border-radius: 5px; background: linear-gradient(180deg, #e2e2e4, #8f9095); }

/* 左：タッチパネル */
.kx-left { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.kx-i {
  width: 46px; height: 46px; border-radius: 50%; background: #b7ddd0; color: #1a1a1a;
  display: grid; place-items: center; font: 800 28px/1 Georgia, 'Times New Roman', serif;
}
.kx-kiosk {
  position: relative; width: 100%; height: 640px; overflow: hidden; border-radius: 4px;
  border: 8px solid #0c0c0e; background: #e9f3fb; color: #10213f;
  display: flex; flex-direction: column; font-family: var(--jp);
  box-shadow: 0 0 0 1px #333, inset 0 0 20px rgba(0,0,0,.15);
}
.kx-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 12px; background: linear-gradient(90deg, #1f55d6, #3b8cff); color: #fff;
}
.kx-top-title { font-weight: 700; font-size: 15px; white-space: nowrap; }
.kx-top-title small { font-weight: 400; opacity: .85; margin-left: 4px; }
.kx-badge { background: #ff2f7d; color: #fff; font-weight: 700; font-size: 11px; padding: 3px 7px; border-radius: 2px; white-space: nowrap; font-family: var(--mono); }
.kx-body { flex: 1; min-height: 0; overflow-y: auto; position: relative; }
.kx-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; background: #0f1b3d; }
.kx-navbtn {
  background: #dbe9ff; color: #10213f; border-radius: 999px; padding: 9px 4px; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.kx-navbtn.active { background: #3b8cff; color: #fff; }

/* タッチしたときの波紋 */
.kx-tap { position: relative; overflow: hidden; }
.kx-ripple {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: rgba(59, 140, 255, .45); pointer-events: none; animation: kx-ripple .6s ease-out forwards;
}
@keyframes kx-ripple { to { transform: scale(18); opacity: 0; } }

/* ページの切り替え */
.kx-page { padding: 12px; }
.kx-enter { animation: kx-slide .35s ease-out; }
.kx-back { animation: kx-slide-back .35s ease-out; }
@keyframes kx-slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes kx-slide-back { from { transform: translateX(-40px); opacity: 0; } }
.kx-h { font-size: 15px; font-weight: 700; margin: 2px 0 10px; display: flex; align-items: baseline; gap: 6px; }
.kx-h small { font-size: 11px; color: #5b6b86; font-weight: 400; }
.kx-empty { color: #5b6b86; text-align: center; padding: 30px 10px; font-size: 13px; line-height: 1.8; white-space: pre-line; }

/* フライト一覧 */
.kx-list { display: flex; flex-direction: column; gap: 6px; }
.kx-fl {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 14px; gap: 8px; align-items: center;
  background: #fff; border-radius: 8px; padding: 9px 10px; text-align: left; color: #10213f;
  box-shadow: 0 1px 2px rgba(16, 33, 63, .12);
}
.kx-fl:hover { background: #f4f8ff; }
.kx-fl-time { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.kx-fl-dest b { display: block; font-size: 14px; }
.kx-fl-dest small { display: block; font-size: 11px; color: #5b6b86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-chev { color: #9aa8c0; font-size: 18px; }
.kx-chip { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; background: #e3e8f0; color: #43506a; }
.kx-chip.checkin { background: #d7f7e6; color: #0d7a43; }
.kx-chip.soon, .kx-chip.boarding { background: #ffe0ee; color: #c2185b; }
.kx-chip.delayed, .kx-chip.changed { background: #fff3cc; color: #8a6100; }
.kx-chip.inflight, .kx-chip.arrived { background: #dcefff; color: #1f55d6; }
.kx-chip.cancelled { background: #ffe1e1; color: #c62828; }

/* 地図 */
.kx-map-wrap { background: #cfe6f6; border-radius: 8px; overflow: hidden; }
.kx-map { display: block; width: 100%; height: auto; }
.kx-map [data-slot] { cursor: pointer; }
.kx-map .kx-gate-c { transition: r .2s; }
.kx-route { stroke-dasharray: 7 6; animation: kx-march .6s linear infinite; }
@keyframes kx-march { to { stroke-dashoffset: -13; } }
.kx-here-pulse { animation: kx-pulse 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes kx-pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.kx-gates { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.kx-gbtn { background: #fff; color: #10213f; border: 1px solid #c7d6ea; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 700; }
.kx-gbtn.active { background: #ff2f7d; border-color: #ff2f7d; color: #fff; }

/* フライト詳細（下の濃い紺色のパネル） */
.kx-detail { display: flex; flex-direction: column; min-height: 100%; }
.kx-detail .kx-map-wrap { border-radius: 0; }
.kx-dpanel { flex: 1; background: #0f1b3d; color: #fff; padding: 12px; }
.kx-dgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 12px; }
.kx-dgrid small { display: block; font-size: 10px; color: #9fb3d9; }
.kx-dgrid b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.kx-dgrid b.big { font-family: var(--mono); font-size: 24px; color: #ffd23f; }
.kx-dgrid .wide { grid-column: span 3; }
.kx-dgrid i { font-style: normal; font-size: 11px; color: #9fb3d9; }
.kx-walk {
  display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 10px 12px;
  border-radius: 8px; background: rgba(255,255,255,.07);
}
.kx-walker { font-size: 28px; animation: kx-walk 1s ease-in-out infinite alternate; }
@keyframes kx-walk { to { transform: translateX(6px); } }
.kx-arrow { font-size: 22px; color: #3b8cff; }
.kx-walk b { display: block; font-size: 17px; }
.kx-walk small { color: #9fb3d9; font-size: 11px; }
.kx-count { margin-left: auto; text-align: right; font-size: 11px; color: #9fb3d9; }
.kx-count b { font-family: var(--mono); font-size: 24px; color: #fff; }
.kx-actions { display: flex; gap: 8px; }
.kx-btn { flex: 1; border-radius: 999px; padding: 10px; font-weight: 700; font-size: 13px; background: #24345e; color: #fff; }
.kx-btn.kx-primary { background: #ff2f7d; }

/* 今日の旅程 */
.kx-prog { background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.kx-prog b { font-size: 20px; font-family: var(--mono); }
.kx-bar { height: 8px; border-radius: 4px; background: #e3e8f0; margin-top: 8px; overflow: hidden; }
.kx-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3b8cff, #ff2f7d); border-radius: 4px; transition: width .6s; }
.kx-next { background: #0f1b3d; color: #fff; border-radius: 10px; padding: 12px; margin-bottom: 10px; width: 100%; text-align: left; display: block; }
.kx-next small { color: #9fb3d9; font-size: 11px; }
.kx-next b { display: block; font-size: 18px; margin: 2px 0; }
.kx-next .kx-count { margin: 0; text-align: left; }
.kx-next .kx-count b { display: inline; margin: 0 2px; }
.kx-tl { list-style: none; margin: 0; padding: 0 0 0 6px; }
.kx-tl li { position: relative; padding: 0 0 12px 22px; border-left: 2px solid #c7d6ea; font-size: 13px; }
.kx-tl li:last-child { border-left-color: transparent; }
.kx-tl li::before {
  content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid #9aa8c0;
}
.kx-tl li.done::before { background: #3b8cff; border-color: #3b8cff; }
.kx-tl li.now::before { background: #ff2f7d; border-color: #ff2f7d; box-shadow: 0 0 0 4px rgba(255,47,125,.25); }
.kx-tl .t { font-family: var(--mono); font-weight: 700; margin-right: 6px; }
.kx-tl small { display: block; color: #5b6b86; font-size: 11px; }

/* タッチをうながすアニメーション */
.kx-hint {
  position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; padding-bottom: 90px;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 27, 61, .55));
  animation: kx-fade .4s ease-out;
}
@keyframes kx-fade { from { opacity: 0; } }
.kx-hint p {
  margin: 12px 0 0; background: rgba(15, 27, 61, .9); color: #fff; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; text-align: center;
}
.kx-hint p small { display: block; font-size: 10px; font-weight: 400; opacity: .8; }
.kx-hand { position: relative; width: 70px; height: 70px; }
.kx-finger {
  position: absolute; left: 50%; top: 50%; font-size: 46px; line-height: 1;
  transform: translate(-30%, -10%); animation: kx-tapmove 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.35));
}
/* タップの案内（アイコン）：まん中で小さく脈打つ */
.kx-finger { font-size: 30px; transform: translate(-50%, -50%); animation-name: kx-tappulse; color: #fff; }
.kx-finger .ic { display: block; }
@keyframes kx-tappulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 45% { transform: translate(-50%, -50%) scale(.82); } }
@keyframes kx-tapmove {
  0%, 100% { transform: translate(-30%, 10%) scale(1); }
  40% { transform: translate(-30%, -12%) scale(1); }
  50% { transform: translate(-30%, -12%) scale(.9); }
  60% { transform: translate(-30%, -12%) scale(1); }
}
.kx-ring {
  position: absolute; left: 50%; top: 22%; width: 26px; height: 26px; margin-left: -13px;
  border-radius: 50%; border: 3px solid #fff; opacity: 0; animation: kx-ringpulse 2s ease-out infinite;
}
.kx-ring.r2 { animation-delay: .25s; }
@keyframes kx-ringpulse {
  0%, 45% { transform: scale(.4); opacity: 0; }
  50% { opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* 右：フライト情報の画面 */
.kx-right { display: flex; flex-direction: column; min-width: 0; }
.kx-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.kx-head { display: flex; align-items: center; gap: 10px; color: #f5d000; }
.kx-pict { width: 44px; height: 44px; flex: none; background: #f5d000; border-radius: 2px; display: grid; place-items: center; }
.kx-pict svg { width: 34px; height: 34px; fill: #111; }
.kx-head b { display: block; font-size: 20px; line-height: 1.1; }
.kx-head small { display: block; font-size: 15px; }
.kx-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kx-scr {
  background: linear-gradient(180deg, #13289a, #0b1a70); border: 4px solid #070709;
  color: #fff; min-height: 262px; display: flex; flex-direction: column; font-family: var(--jp); min-width: 0;
}
.kx-scr-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 8px; background: #0a155c; }
.kx-scr-head b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-scr-head b small { font-weight: 400; opacity: .75; margin-left: 4px; font-size: 10px; }
.kx-scr-head .kx-badge { font-size: 9px; padding: 2px 5px; }
.kx-page-no { font-family: var(--mono); font-size: 9px; opacity: .7; margin-left: 4px; }
.kx-row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 70px 30px 78px; gap: 5px;
  align-items: center; padding: 3px 8px; min-height: 26px; font-size: 11px;
}
.kx-rows { flex: 1; }
.kx-rows .kx-row:nth-child(even) { background: rgba(255,255,255,.07); }
.kx-row.hd { font-size: 9px; color: #b9c8ff; background: #0e1f86; min-height: 0; padding-top: 4px; padding-bottom: 4px; }
.kx-row.hd span { display: block; line-height: 1.2; }
.kx-row > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-row .t { font-family: var(--mono); font-weight: 700; }
.kx-row .d b { font-size: 12px; margin-right: 4px; }
.kx-row .d small { font-size: 9px; color: #b9c8ff; }
.kx-row .n { display: flex; align-items: center; gap: 4px; font-family: var(--mono); }
.kx-row .g { text-align: center; font-family: var(--mono); }
.kx-lg { flex: none; background: #fff; border-radius: 1px; width: 30px; height: 14px; display: inline-grid; place-items: center; font-size: 7px; font-weight: 800; }
.kx-lg.study { color: #0b3f94; font-style: italic; }
.kx-lg.work { color: #d7001d; }
.kx-rk { font-weight: 700; }
.kx-rk.checkin { color: #5df2a4; }
.kx-rk.soon, .kx-rk.boarding { color: #ff6fae; }
.kx-rk.delayed, .kx-rk.changed { color: #ffd23f; }
.kx-rk.inflight, .kx-rk.arrived { color: #8fd3ff; }
.kx-rk.cancelled { color: #ff6b6b; }

/* ロゴ */
.kx-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; color: #fff; }
.kx-mark { position: relative; width: 38px; height: 38px; flex: none; }
.kx-mark i { position: absolute; width: 24px; height: 24px; border-radius: 8px; }
.kx-mark i:first-child { left: 0; top: 10px; background: #e5006e; transform: rotate(45deg); }
.kx-mark i:last-child { right: 0; top: 0; background: #3f7fd8; transform: rotate(45deg); opacity: .9; }
#kx-logo-text { font-size: 30px; font-weight: 700; letter-spacing: .06em; overflow-wrap: anywhere; text-align: center; }

/* ---------- 画面の幅に合わせる ---------- */
@media (max-width: 1100px) {
  .kx-inner { grid-template-columns: 1fr; }
  .kx-kiosk { max-width: 460px; }
}
@media (max-width: 700px) {
  .kx-wall { padding: 14px 6px 12px; }
  .kx-inner { padding: 14px 10px 36px; gap: 16px; }
  .kx-kiosk { height: 600px; border-width: 6px; }
  .kx-heads { display: none; }
  .kx-screens { grid-template-columns: 1fr; }
  .kx-row { grid-template-columns: 38px minmax(0, 1fr) 30px 72px; }
  .kx-row .n { display: none; }
  #kx-logo-text { font-size: 20px; }
  .kx-base { height: 40px; }
  .kx-top-title { font-size: 13px; }
  .kx-top-title small { display: none; }
  .kx-navbtn { font-size: 11px; white-space: nowrap; }
  .kx-navbtn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kx-route, .kx-here-pulse, .kx-walker, .kx-finger, .kx-ring, .kx-enter, .kx-back { animation: none; }
}

/* ============ 追加：検索・世界の天気・ライブ映像 ============ */
.kx-kiosk { height: 660px; }
.kx-h-btn { margin-left: auto; }
.kx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; font-size: 11px; color: #5b6b86; }
.kx-chipbtn {
  background: #fff; color: #1f55d6; border: 1px solid #c7d6ea; border-radius: 999px;
  padding: 5px 11px; font-size: 12px; font-weight: 700;
}
.kx-chipbtn.active { background: #1f55d6; border-color: #1f55d6; color: #fff; }
.kx-search { display: flex; gap: 6px; margin: 4px 0 6px; }
.kx-search input {
  flex: 1; min-width: 0; border: 2px solid #c7d6ea; border-radius: 999px; padding: 9px 14px;
  font: inherit; font-size: 14px; background: #fff; color: #10213f; color-scheme: light;
}
.kx-search input:focus { outline: none; border-color: #3b8cff; }
.kx-sbtn { flex: none; min-width: 44px; border-radius: 999px; background: #1f55d6; color: #fff; font-weight: 700; padding: 0 14px; }
.kx-res {
  display: block; width: 100%; text-align: left; background: #fff; color: #10213f; border-radius: 8px;
  padding: 9px 11px; box-shadow: 0 1px 2px rgba(16, 33, 63, .12);
}
.kx-res b { display: block; font-size: 14px; color: #1f55d6; }
.kx-res small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; color: #43506a; margin-top: 2px; }
.kx-article { background: #fff; border-radius: 10px; padding: 12px; }
.kx-article img { display: block; max-width: 100%; max-height: 180px; margin: 10px auto; border-radius: 6px; object-fit: cover; }
.kx-article h4 { margin: 8px 0 6px; font-size: 17px; }
.kx-article p { font-size: 13px; line-height: 1.75; margin: 0 0 12px; color: #26344f; }
.kx-credit { font-size: 10px; color: #7a879c; text-align: right; margin: 10px 0 0; }
.kx-note { font-size: 11px; color: #5b6b86; line-height: 1.6; margin: 8px 0 0; }


/* インフォメーションの上の帯 */
.info-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.info-bar span { flex: 1; min-width: 0; }
.fs-btn { flex: none; }

/* 全画面のとき（ふだんの見た目は変えない） */
.fids-frame:fullscreen, #lcd:fullscreen, .kx-wall:fullscreen {
  display: flex; flex-direction: column; justify-content: flex-start; overflow: auto;
  border-radius: 0; padding: 2vh 2vw; box-sizing: border-box;
}
.fids-frame:-webkit-full-screen, #lcd:-webkit-full-screen, .kx-wall:-webkit-full-screen {
  display: flex; flex-direction: column; justify-content: flex-start; overflow: auto;
  border-radius: 0; padding: 2vh 2vw; box-sizing: border-box; width: 100%; height: 100%;
}
.pseudo-fs {
  position: fixed !important; inset: 0; z-index: 1000; margin: 0 !important;
  display: flex; flex-direction: column; justify-content: flex-start; overflow: auto;
  border-radius: 0 !important; padding: 2vh 2vw; box-sizing: border-box;
}
body.has-pseudo-fs { overflow: hidden; }
/* 中身を上下の真ん中に置く（はみ出しても上が切れないように auto の余白で中央寄せ） */
.pseudo-fs > :not(.fs-exit), .fids-frame:fullscreen > :not(.fs-exit), #lcd:fullscreen > :not(.fs-exit), .kx-wall:fullscreen > :not(.fs-exit) { margin-top: auto; margin-bottom: auto; }
.fs-exit {
  position: fixed; top: 14px; right: 14px; z-index: 5; background: rgba(0,0,0,.6); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 14px; font-size: 13px;
  opacity: .35; transition: opacity .2s;
}
.fs-exit:hover, .fs-exit:focus-visible { opacity: 1; }

@media (max-width: 700px) {
  .kx-kiosk { height: 600px; }
  .info-bar span { font-size: 12px; }
}

/* ============ 右下の2面：世界の天気・ライブカメラ ============ */
.kx-scr { min-height: 280px; }
.kx-scr-foot { font-size: 9px; color: #9fb0ea; text-align: right; padding: 4px 8px; background: #0a155c; }

/* 世界の天気（放送のように自動で切り替わる） */
.kx-wxb { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 0; }
.kx-wxb-main {
  padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 6px;
  background: radial-gradient(120% 90% at 20% 0%, rgba(90, 170, 255, .35), transparent 60%);
}
.kx-fade { animation: kx-fade .6s ease-out; }
.kx-wxb-tag { align-self: flex-start; font-size: 9px; font-weight: 700; background: #ffd23f; color: #111; padding: 1px 6px; border-radius: 2px; }
.kx-wxb-place { display: flex; flex-direction: column; gap: 2px; }
.kx-wxb-place b { font-size: 20px; line-height: 1.1; }
.kx-wxb-place small { font-size: 11px; color: #b9c8ff; }
.kx-wxb-now { display: flex; align-items: center; gap: 10px; }
.kx-wxb-icon { font-size: 40px; line-height: 1; }
.kx-wxb-now b { font-family: var(--mono); font-size: 40px; line-height: 1; }
.kx-wxb-meta { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: #dfe6ff; }
.kx-wxb-list { border-left: 1px solid rgba(255,255,255,.12); padding: 6px 0; display: flex; flex-direction: column; }
.kx-wxb-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px; align-items: center; padding: 5px 8px; font-size: 12px; }
.kx-wxb-row:nth-child(even) { background: rgba(255,255,255,.06); }
.kx-wxb-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.kx-wxb-row .t { font-family: var(--mono); font-weight: 700; }

/* ライブカメラ（ふだんは待機画面、タップで放送に切り替わる） */
.kx-onair { font-family: var(--mono); font-size: 9px; font-weight: 800; margin-left: 6px; padding: 1px 5px; border-radius: 2px; background: #3a4a8f; color: #cfd8ff; }
.kx-onair.on { background: #e5202e; color: #fff; animation: blink 1.4s steps(2, start) infinite; }
.kx-standby {
  flex: 1; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; padding: 16px; outline: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 4px),
    radial-gradient(90% 80% at 50% 40%, #1d3bb3, #0a1660);
}
.kx-standby:hover, .kx-standby:focus-visible { background-color: #13289a; box-shadow: inset 0 0 0 2px #ffd23f; }
.kx-standby b { font-size: 16px; }
.kx-standby small { font-size: 10px; color: #b9c8ff; }
.kx-standby-ico svg { width: 64px; height: 40px; fill: #dfe6ff; opacity: .9; }
.kx-standby-ico .lens { fill: #1d3bb3; stroke: #dfe6ff; stroke-width: 2; }
.kx-standby-ico { animation: kx-float 2.4s ease-in-out infinite; }
@keyframes kx-float { 50% { transform: translateY(-4px); } }
.kx-standby-msg { margin-top: 8px; font-size: 11px; color: #ffd23f; white-space: pre-line; line-height: 1.6; }
.kx-wxb .kx-standby-msg { grid-column: 1 / -1; align-self: center; text-align: center; }
.kx-tv { position: relative; flex: 1; min-height: 200px; background: #000; }
.kx-tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kx-caption { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: #0a155c; }
.kx-cap-name { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; }
.kx-cap-name b { font-size: 12px; }
.kx-cap-name small { font-size: 9px; color: #9fb0ea; overflow: hidden; text-overflow: ellipsis; }
.kx-capbtn { flex: none; background: rgba(255,255,255,.1); color: #dfe6ff; border-radius: 3px; padding: 2px 7px; font-size: 10px; }
.kx-capbtn:hover { background: rgba(255,255,255,.2); }

/* ============ 案内機の文字を少し小さく（実際の案内機のように情報を多めに） ============ */
.kx-nav { grid-template-columns: repeat(4, 1fr); padding: 6px; gap: 5px; }
.kx-navbtn { font-size: 11px; padding: 7px 2px; gap: 3px; }
.kx-top { padding: 8px 10px; }
.kx-top-title { font-size: 13px; }
.kx-top-title small { font-size: 10px; }
.kx-page { padding: 10px; }
.kx-h { font-size: 13px; margin-bottom: 8px; }
.kx-h small { font-size: 10px; }
.kx-fl { grid-template-columns: 40px minmax(0, 1fr) auto 10px; padding: 7px 9px; gap: 6px; }
.kx-fl-time { font-size: 13px; }
.kx-fl-dest b { font-size: 12px; }
.kx-fl-dest small { font-size: 10px; }
.kx-chip { font-size: 9px; padding: 2px 6px; }
.kx-empty { font-size: 12px; }
.kx-gbtn { font-size: 11px; padding: 4px 9px; }
.kx-dgrid b { font-size: 13px; }
.kx-dgrid b.big { font-size: 20px; }
.kx-dgrid small, .kx-dgrid i { font-size: 9px; }
.kx-walker { font-size: 22px; }
.kx-walk b { font-size: 14px; }
.kx-walk small { font-size: 10px; }
.kx-count b { font-size: 20px; }
.kx-btn { font-size: 12px; padding: 8px; }
.kx-prog b { font-size: 16px; }
.kx-next b { font-size: 15px; }
.kx-tl li { font-size: 12px; }
.kx-search input { font-size: 13px; padding: 7px 12px; }
.kx-chipbtn { font-size: 11px; padding: 4px 9px; }
.kx-res b { font-size: 12px; }
.kx-res small { font-size: 10px; }
.kx-article h4 { font-size: 15px; }
.kx-article p { font-size: 12px; }
@media (max-width: 700px) {
  .kx-nav { grid-template-columns: repeat(2, 1fr); }
  .kx-scr-head b small { display: none; }
  .kx-wxb { grid-template-columns: 1fr; }
  .kx-wxb-list { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (prefers-reduced-motion: reduce) {
  .kx-onair.on, .kx-standby-ico, .kx-fade { animation: none; }
}
