/* AirTrack5 ブラウザ版: 登録・ロックの解除の画面(地図の上に重ねる) */
#atbGate { position: fixed; inset: 0; z-index: 9999; background: var(--bg); overflow-y: auto; display: flex; justify-content: center; align-items: flex-start;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.atb-card { width: 100%; max-width: 460px; margin-top: 6vh; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.atb-brand { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.atb-brand span { color: var(--accent); font-weight: 600; }
.atb-card h2 { font-size: 17px; margin: 8px 0 10px; }
.atb-card label { display: block; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.atb-card input, .atb-card textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 16px; }
.atb-card textarea { font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; resize: vertical; }
.atb-row { margin-top: 8px; }
.atb-card button { padding: 10px 14px; font-size: 15px; }
.atb-primary { display: block; width: 100%; margin-top: 18px; background: var(--accent) !important; color: #fff; border-color: var(--accent) !important; font-weight: 600; }
.atb-primary:disabled { opacity: 0.6; }
.atb-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.atb-note.small { font-size: 12px; margin-top: 14px; }
.atb-card a { color: var(--accent); }
.atb-msg { margin-top: 12px; color: var(--danger); font-size: 14px; min-height: 1em; white-space: pre-wrap; }
/* スマートフォンの幅では、上の帯に収めるため「ブラウザ」を省く */
@media (max-width: 480px) { #bar .brand span { display: none; } }
/* 測定の判定(5.11): 時刻を選ぶ帯・凡例(雨雲の帯と同じ見た目) */
#wlbar { display: flex; align-items: center; gap: .57em; background: var(--bar); padding: .43em .72em; border-radius: 10px; font-size: calc(14px * var(--ui)); box-shadow: 0 1px 6px rgba(0,0,0,.25); max-width: 100%; flex-wrap: wrap; }
#wlbar input[type=range] { width: 160px; }
.wl-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-left: 4px; border: 1px solid rgba(0,0,0,.35); box-sizing: border-box; }
#wlbar .wl-sum { font-size: .9em; }
body.bar-compact #btnWxLine { display: none; }
/* ゲスト閲覧(0.5.0): 残りの時間 */
#atbGuest { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(8px, env(safe-area-inset-bottom)); z-index: 9000; background: rgba(0,0,0,.72); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; pointer-events: none; }
/* チャット(0.5.0) */
.chat-list { max-height: min(60vh, 520px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.chat-msg { max-width: 85%; align-self: flex-start; background: rgba(127,127,127,.15); border-radius: 10px; padding: 6px 10px; word-break: break-word; }
.chat-msg.mine { align-self: flex-end; background: rgba(0,122,255,.18); }
.chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; vertical-align: middle; }
#btnChat.chat-new { color: #ff3b30; font-weight: 700; }
/* 測定天気(0.5.0・data-app="wx"): 機体・登録に関わる表示を隠す */
[data-app="wx"] #panel, [data-app="wx"] #btnPanel, [data-app="wx"] #btnFit, [data-app="wx"] #btnFollow, [data-app="wx"] #btnClear, [data-app="wx"] #btnRestore,
[data-app="wx"] #btnHistory, [data-app="wx"] #btnShare, [data-app="wx"] #btnNav, [data-app="wx"] #fleet, [data-app="wx"] .sec-reg, [data-app="wx"] [data-key="showAdsb"] { display: none !important; }
[data-app="wx"] body { --panel-w: 0px !important; --panel-h: 0px !important; }
