/* 望遠鏡（空の拡大）の見た目（11/03 admin1）。空の画面（z-index:-1）の上・右下のボタン（9998）の下に重ねる */
#tele-cv { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
html[data-tele] #tele-cv { pointer-events: auto; touch-action: none; }
#tele-ui { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
#tele-ui .tele-labels { position: absolute; inset: 0; transition: opacity .2s; }   /* 飛んで戻る間は、ふわっと消す（組2・11/04） */
.tele-label { position: absolute; left: 0; top: 0; pointer-events: auto; margin: 0; padding: 3px 6px; border: 0; border-radius: 8px;
  background: none; color: rgba(225,235,255,.92); font-size: 12px; line-height: 1.2; white-space: nowrap; cursor: pointer;
  text-shadow: 0 0 4px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.9); transition: opacity .25s ease; min-height: 0; width: auto; box-shadow: none; }
.tele-labels.moving .tele-label { opacity: .35; }    /* 空を動かしている間は札をうすく */
/* 札の見た目の3案（確認ページで比べる）：「名前 ›」／「名前 ⓘ」／うすい下線 */
html[data-tele-label="chev"] .tele-label::after { content: " ›"; color: rgba(255,214,140,.95); }
html[data-tele-label="info"] .tele-label::after { content: " ⓘ"; font-size: 11px; color: rgba(255,214,140,.95); }
html[data-tele-label="line"] .tele-label { text-decoration: underline; text-decoration-color: rgba(255,214,140,.6); text-underline-offset: 3px; }
.tele-label[data-kind="star"] { color: rgba(255,246,220,.9); font-size: 11px; }
.tele-toast { position: fixed; left: 50%; top: 34%; transform: translateX(-50%); max-width: min(88vw, 360px); padding: 9px 14px; border-radius: 12px;
  background: rgba(8,12,34,.86); color: #fff; font-size: 13px; text-align: center; pointer-events: auto; line-height: 1.5; }
.tele-toast button { display: block; margin: 8px auto 0; width: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,214,140,.7);
  background: none; color: #ffd68c; font-size: 13px; cursor: pointer; }
.tele-big { position: fixed; left: 0; right: 0; top: 18%; text-align: center; color: #fff; pointer-events: none; opacity: 0; }
.tele-big b { display: block; font-size: 22px; letter-spacing: .08em; text-shadow: 0 0 10px rgba(0,0,0,.9); }
.tele-big span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,232,200,.95); text-shadow: 0 0 8px rgba(0,0,0,.9); }
.tele-big.show { animation: teleBig 3.6s ease forwards; }
@keyframes teleBig { 0% { opacity: 0; transform: translateY(6px); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; } }
.tele-flat { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78vw, 360px); text-align: center; color: #fff; pointer-events: none; opacity: 0; }
.tele-flat.show { animation: teleFlat .7s ease forwards; }
@keyframes teleFlat { from { opacity: 0; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.tele-flat img { width: 100%; border-radius: 8px; box-shadow: 0 0 40px rgba(255,150,40,.25); }
.tele-flat-badge { display: inline-block; margin: 8px 0 2px; padding: 2px 10px; border-radius: 999px; background: rgba(255,170,40,.92); color: #2a1600; font-size: 12px; font-weight: 700; }
.tele-flat-note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; text-shadow: 0 0 6px rgba(0,0,0,.9); }
.tele-flat-credit { margin: 4px 0 0; font-size: 9px; color: rgba(255,255,255,.62); }
.tele-sunwarn { position: fixed; left: 0; right: 0; top: calc(64px + env(safe-area-inset-top, 0px)); text-align: center; margin: 0; font-size: 11px;
  color: rgba(255,236,200,.95); text-shadow: 0 0 4px rgba(0,0,0,.9); pointer-events: none; }
.tele-zoom { position: fixed; right: 12px; top: 46%; display: grid; gap: 8px; pointer-events: auto; z-index: 6; }
.tele-zoom button { width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,14,40,.7);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tele-close { position: fixed; right: 14px; top: calc(108px + env(safe-area-inset-top, 0px)); width: auto; min-height: 44px; margin: 0; padding: 6px 14px;   /* 押しやすい高さ 44px（組2・11/04） */
  z-index: 6;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(10,14,40,.72); color: #fff; font-size: 13px; pointer-events: auto; cursor: pointer; }
#tele-card { position: fixed; inset: 0; z-index: 10001; }
#tele-card .tc-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
#tele-card .tc-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 52vh; overflow: auto; padding: 16px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0; background: rgba(10,14,40,.95); color: #fff; transform: translateY(100%); transition: transform .22s ease; }
#tele-card.is-open .tc-panel { transform: none; }
.tc-dist { margin: 0; font-size: 26px; font-weight: 700; color: #ffd68c; letter-spacing: .02em; }
.tc-age { margin: 2px 0 8px; font-size: 13px; color: rgba(255,232,200,.9); }
#tele-card h2 { margin: 0 0 4px; font-size: 17px; }
.tc-badge { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255,120,60,.9); color: #fff; font-size: 12px; }
.tc-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 6px 0; font-size: 13px; }
.tc-facts dt { color: rgba(255,255,255,.65); }
.tc-facts dd { margin: 0; }
.tc-desc, .tc-fun { margin: 6px 0; font-size: 13px; line-height: 1.6; }
.tc-desc:empty, .tc-fun:empty { display: none; }
.tc-credit { margin: 8px 0 0; font-size: 10px; color: rgba(255,255,255,.55); }
.tc-close { display: block; margin: 12px 0 0 auto; width: auto; padding: 8px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 14px; cursor: pointer; }
#tele-note { position: fixed; left: 50%; top: calc(150px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 9997; width: min(86vw, 340px);
  padding: 8px 14px; border-radius: 14px; background: rgba(8,12,34,.82); color: #fff; text-align: center; font-size: 13px; line-height: 1.5; }
#tele-note p { margin: 2px 0; }
#tele-note .tn-below { color: #ffd68c; }
#tele-note .tn-rise { margin: 6px auto 2px; width: auto; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,214,140,.7); background: none; color: #ffd68c; font-size: 13px; cursor: pointer; }
#tele-back { position: fixed; left: 14px; top: calc(108px + env(safe-area-inset-top, 0px)); z-index: 9998; padding: 7px 14px; border-radius: 999px;
  background: rgba(10,14,40,.72); color: #fff; font-size: 13px; text-decoration: none; border: 1px solid rgba(255,255,255,.35); }
html:not([data-sky-only]) #tele-cv, html:not([data-sky-only]) #tele-ui, html:not([data-sky-only]) #tele-note { display: none; }
@media (prefers-reduced-motion: reduce) { .tele-big.show, .tele-flat.show { animation-duration: .01s; } #tele-card .tc-panel { transition: none; } }
#tele-cv[hidden], #tele-ui[hidden], #tele-ui [hidden], #tele-card[hidden], #tele-note[hidden], #tele-note [hidden], #tele-back[hidden], #tele-card [hidden] { display: none !important; }
html[data-tele] #sky-meteor, html[data-tele] #drag-hint, html[data-tele] .wx-credit, html[data-tele] .tilt-reset, html[data-tele] #angle-card, html[data-tele] .hl-birth { display: none !important; }   /* 望遠鏡の間は、空の札をしまう */
