/* =========================================================================
   G-LAND v3.0.0 — components.css
   ---------------------------------------------------------------------------
   モーダル・view 以外の共通コンポーネント。
   toast, offline badge, ads carousel, install-gate, auth 全画面,
   form primitives, spinner, pwa-guide, debugbar など。
   ========================================================================= */

/* ==== toast（js/ui/toast.js から移管） =============================== */
#gl-toast-root {
  position: fixed;
  /* v3.0.0.3 fix: safe-area が 0 の旧機種/PWA でも確実にノッチを避けるため max() で下限保証 */
  top: max(calc(var(--gl-safe-top) + 16px), 56px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(92vw, 480px);
}
.gl-toast {
  background: #fff;
  color: #222;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  font-size: 15px;
  line-height: 1.4;
  border-left: 5px solid #2196f3;
  pointer-events: auto;
  animation: gl-toast-in 0.25s ease-out;
  word-break: break-word;
}
.gl-toast--info    { border-left-color: #2196f3; }
.gl-toast--success { border-left-color: #4caf50; }
.gl-toast--warn    { border-left-color: #ff9800; background: #fff8e1; }
.gl-toast--error   { border-left-color: #f44336; background: #ffebee; }
.gl-toast--fadeout { animation: gl-toast-out 0.3s ease-in forwards; }
/* ★ v3.0.40.185: stickyトースト（×ボタンで閉じるまで残る型） */
.gl-toast--sticky { position: relative; padding-right: 46px; }
.gl-toast__close {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: rgba(0, 0, 0, 0.10); color: #444;
  font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.gl-toast__close:active { background: rgba(0, 0, 0, 0.22); }
@keyframes gl-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gl-toast-out {
  to { opacity: 0; transform: translateY(-10px); }
}
#gl-offline-badge {
  position: fixed;
  /* v3.0.0.3 fix: safe-area が 0 のケースでもノッチを避ける */
  top: max(calc(var(--gl-safe-top) + 12px), 52px);
  right: 12px;
  z-index: 99998;
  background: #f44336;
  color: #fff;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: none;
}
#gl-offline-badge.show { display: block; }

/* ==== ads カルーセル（js/ui/ads.js から移管） ======================= */
.gl-ads-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
}
.gl-ads-carousel__track {
  display: flex;
  transition: transform .4s ease-out;
  will-change: transform;
}
.gl-ads-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  cursor: pointer;
  position: relative;
}
.gl-ads-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.gl-ads-carousel__badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
}
.gl-ads-carousel__dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.gl-ads-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.gl-ads-carousel__dot.active { background: #fff; }
.gl-ads-carousel--empty {
  min-height: 120px; display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 13px;
}
.gl-ads-carousel--home            { aspect-ratio: 16/10; max-height: 45vh; }
.gl-ads-carousel--score-landscape { aspect-ratio: 21/6; max-height: 15vh; }
.gl-ads-carousel--mypage          { aspect-ratio: 16/8; }

/* ==== install-gate（js/ui/gate.js から移管） =======================
   v3.0.0.5 fix: A案完全ロック。ゲート表示中は body 内の他要素を
   完全に遠ざけ、ホーム画面のボタンを pointer-events ごとロック。
   z-index を 99990 に引き上げてトースト/バッジとの重なりも担保。 */
body.gl-gate-active { overflow: hidden; }
body.gl-gate-active > :not(#install-gate):not(#gl-toast-root):not(#gl-offline-badge) {
  pointer-events: none !important;
  user-select: none !important;
}
#install-gate {
  position: fixed; inset: 0; z-index: 99990;
  background: linear-gradient(135deg, #1a5f3f 0%, #2d7a56 100%);
  color: #fff; display: none; overflow-y: auto;
  padding: 24px 20px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
#install-gate.show { display: block; }
.gl-gate__inner { max-width: 480px; margin: 0 auto; padding-top: 24px; }
.gl-gate__logo  { text-align: center; font-size: 42px; font-weight: 800; letter-spacing: 2px; margin-bottom: 8px; }
.gl-gate__sub   { text-align: center; font-size: 15px; opacity: .9; margin-bottom: 24px; }
.gl-gate__panel {
  background: #fff; color: #222; border-radius: 16px;
  padding: 20px 18px; margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.gl-gate__panel h3 { margin: 0 0 12px; font-size: 18px; color: #1a5f3f; }
.gl-gate__panel p  { font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.gl-gate__panel ol { padding-left: 22px; font-size: 15px; line-height: 1.9; margin: 0 0 8px; }
.gl-gate__btn {
  display: block; width: 100%; padding: 14px 16px;
  background: #1a5f3f; color: #fff; border: none;
  border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; margin-top: 8px;
}
.gl-gate__btn--secondary { background: #666; }
.gl-gate__url {
  background: #f5f5f5; padding: 10px; border-radius: 8px;
  font-size: 12px; word-break: break-all; margin: 8px 0;
  color: #333;
}
.gl-gate__icon { font-size: 32px; text-align: center; margin-bottom: 8px; }

/* ==== Google 認証全画面（js/ui/auth.js から移管） =================== */
#gl-auth-screen {
  position: fixed; inset: 0; z-index: 9800;
  background: linear-gradient(135deg, #1a5f3f 0%, #2d8f5f 100%);
  display: none; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
#gl-auth-screen.show { display: flex; }
.gl-auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  text-align: center;
}
.gl-auth-logo {
  font-size: 40px;
  font-weight: 800;
  color: #1a5f3f;
  letter-spacing: 4px;
  margin-bottom: 4px;
}
.gl-auth-tag   { font-size: 12px; color: #999; margin-bottom: 24px; }
.gl-auth-title { font-size: 18px; font-weight: 700; color: #333; margin: 0 0 12px; }
.gl-auth-desc  { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 24px; }
.gl-auth-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow .15s, transform .1s;
}
.gl-auth-btn-google:hover  { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.gl-auth-btn-google:active { transform: scale(.98); }
.gl-auth-btn-google:disabled { opacity: .6; cursor: not-allowed; }
.gl-auth-btn-google svg { width: 20px; height: 20px; }
.gl-auth-note {
  margin-top: 20px; font-size: 11px; color: #999; line-height: 1.5;
}
.gl-auth-error {
  background: #fff3f3;
  border: 1px solid #f8bcbc;
  color: #c62828;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 12px;
  text-align: left;
  display: none;
}
.gl-auth-error.show   { display: block; }
.gl-auth-loading {
  color: #666; font-size: 13px; margin-top: 16px; display: none;
}
.gl-auth-loading.show { display: block; }

/* ==== 共通フォーム primitives（onboarding / mypage / course 等から集約） == */
.gl-form__group { margin-bottom: 14px; }
.gl-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.gl-form__input,
.gl-form__select,
.gl-form__textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  font-family: inherit;
}
.gl-form__input:focus,
.gl-form__select:focus,
.gl-form__textarea:focus {
  border-color: #1a5f3f;
  outline: none;
}
.gl-form__hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.gl-form__error {
  font-size: 12px;
  color: #f44336;
  margin-top: 4px;
}

/* ==== 共通 primary ボタン ============================================ */
.gl-btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: #1a5f3f;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.gl-btn-primary:active   { background: #14472f; }
.gl-btn-primary:disabled { background: #999; cursor: default; }

/* ==== spinner (共通) ================================================ */
.gl-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #eee;
  border-top-color: #1a5f3f;
  border-radius: 50%;
  animation: gl-spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes gl-spin {
  to { transform: rotate(360deg); }
}

/* ==== PWA install 案内（js/ui/pwa-guide.js が使用） ==================
   pwa-guide.js は現行仕様維持のため CSS を JS 側で直接 style 属性で当てる。
   ここでは補助クラスのみ提供。 */
.gl-pwa-guide {
  position: fixed;
  inset: 0;
  z-index: 9700;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.gl-pwa-guide.show { display: flex; }
.gl-pwa-guide__card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
}

/* ==== v3.0.1.0: G-LAND 自動ポジティブスタンプ演出 ================== */
.gl-stamp {
  position: relative;
  text-align: center;
  padding: 8px 4px;
  overflow: hidden;
}
.gl-stamp__emoji {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: gl-stamp-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gl-stamp__emoji--large {
  font-size: 96px;
  animation: gl-stamp-pop-big 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gl-stamp__text {
  font-size: 18px;
  font-weight: 700;
  color: #1a5f3f;
  line-height: 1.5;
  white-space: pre-line;
  animation: gl-stamp-fadein 0.4s ease-out 0.15s both;
}
.gl-stamp__text--large {
  font-size: 24px;
  font-weight: 800;
  color: #1a5f3f;
  letter-spacing: 1px;
  animation: gl-stamp-fadein 0.5s ease-out 0.2s both;
}
@keyframes gl-stamp-pop {
  0%   { transform: scale(0.3);   opacity: 0; }
  60%  { transform: scale(1.15);  opacity: 1; }
  100% { transform: scale(1);     opacity: 1; }
}
@keyframes gl-stamp-pop-big {
  0%   { transform: scale(0.2) rotate(-10deg); opacity: 0; }
  50%  { transform: scale(1.25) rotate(5deg);  opacity: 1; }
  100% { transform: scale(1)    rotate(0);     opacity: 1; }
}
@keyframes gl-stamp-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 紙吹雪 (Lv3 特大モーダル専用) - CSS のみで軽量実装 */
.gl-stamp__confetti {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.gl-stamp__confetti::before,
.gl-stamp__confetti::after {
  content: '🎉 ✨ 🎊 ⛳ 🏌️';
  position: absolute;
  font-size: 20px;
  letter-spacing: 20px;
  animation: gl-confetti-fall 2.5s linear infinite;
  opacity: 0.85;
}
.gl-stamp__confetti::before {
  top: -30px; left: -10%;
  animation-delay: 0s;
}
.gl-stamp__confetti::after {
  top: -30px; left: 10%;
  animation-delay: 1.2s;
  letter-spacing: 30px;
}
@keyframes gl-confetti-fall {
  0%   { transform: translateY(0)     rotate(0);    opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translateY(400px) rotate(360deg); opacity: 0; }
}

/* ==== v3.0.40.655: 電光掲示板（js/ui/ticker.js）【社長決定 9/26】 ==================
   入力中の演出・応援を、画面上部で右→左に流す。タップ不要・操作を通す（pointer-events:none）。 */
#gl-ticker {
  position: fixed;
  left: 0; right: 0;
  top: max(calc(var(--gl-safe-top) + 6px), 8px);
  height: 34px;
  z-index: 99990;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s, transform .25s;
  background: linear-gradient(90deg, rgba(10,40,26,0) 0, rgba(10,40,26,.92) 8%, rgba(10,40,26,.92) 92%, rgba(10,40,26,0) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
#gl-ticker.gl-ticker--on { opacity: 1; transform: translateY(0); }
#gl-ticker .gl-ticker__text {
  position: absolute; top: 0; left: 0;
  line-height: 34px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #eafff2;
  will-change: transform;
}
#gl-ticker.gl-ticker--lv2 .gl-ticker__text { color: #7CFFB2; }
#gl-ticker.gl-ticker--lv3 {
  background: linear-gradient(90deg, rgba(90,60,0,0) 0, rgba(120,80,0,.95) 8%, rgba(120,80,0,.95) 92%, rgba(90,60,0,0) 100%);
}
#gl-ticker.gl-ticker--lv3 .gl-ticker__text { color: #FFE27A; font-size: 18px; text-shadow: 0 0 8px rgba(255,210,80,.6); }

/* ==== v3.0.40.656: 電光掲示板「止まって見せる」表示（前のホールの数字）【社長決定 9/26】 ====
   止まっている時は名前をタップして直せるので、この時だけタップを受ける。
   画面の上を掲示板のぶん空けて、スコア画面・入力パネルの上端が隠れないようにする。 */
#gl-ticker.gl-ticker--pin { pointer-events: auto; background: rgba(10,40,26,.94); }
#gl-ticker .gl-ticker__pin {
  /* v657: 幅は中身に合わせる（inline-flex）→ はみ出しを正しく測って文字を縮める */
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .1em;
  height: 34px; white-space: nowrap;
  color: #eafff2; font-weight: 800; font-size: 15px;
  animation: gl-ticker-pin-in .35s ease-out;
}
/* 人数が多くて縮めても入らない時: 左寄せ＋指で横スクロール */
#gl-ticker.gl-ticker--pin { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
#gl-ticker.gl-ticker--pin::-webkit-scrollbar { display: none; }
#gl-ticker .gl-ticker__pin.gl-ticker__pin--scroll { left: 0; transform: none; padding: 0 10px; }
#gl-ticker .gl-ticker__pinhole { color: #7CFFB2; margin-right: .45em; font-size: .93em; }
#gl-ticker .gl-ticker__dot { color: rgba(234,255,242,.45); padding: 0; }
#gl-ticker .gl-ticker__who {
  display: inline-flex; align-items: baseline; gap: .22em;
  background: none; border: none; color: inherit; font: inherit;
  padding: 4px .2em; margin: 0; border-radius: 8px; cursor: pointer;
  -webkit-tap-highlight-color: rgba(124,255,178,.25);
}
#gl-ticker .gl-ticker__who:active { background: rgba(124,255,178,.18); }
#gl-ticker .gl-ticker__nm { font-weight: 700; font-size: .87em; color: rgba(234,255,242,.85); }
#gl-ticker .gl-ticker__who b { font-size: 1.2em; color: #fff; }
@keyframes gl-ticker-pin-in { from { opacity: 0; } to { opacity: 1; } }
body.gl-ticker-space #view-score.gl-classic { padding-top: calc(var(--gl-view-pad-top) + 4px + 40px); }
body.gl-ticker-space #gl-panel-root {
  max-height: calc(100dvh - var(--gl-safe-top) - 4px - 40px);
}

/* ★ v3.0.40.657: 直せる人（自分・代理）は数字に下線、共有メンバーは見るだけ（少し控えめ） */
#gl-ticker .gl-ticker__who--ed b { text-decoration: underline; text-decoration-color: rgba(124,255,178,.7); text-underline-offset: 3px; text-decoration-thickness: 2px; }
#gl-ticker .gl-ticker__who--ro { cursor: default; }
#gl-ticker .gl-ticker__who--ro .gl-ticker__nm { color: rgba(234,255,242,.6); }
#gl-ticker .gl-ticker__who--ro b { color: rgba(255,255,255,.82); }
#gl-ticker.gl-ticker--pin.gl-ticker--more { -webkit-mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 36px),transparent 100%); mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 36px),transparent 100%); }

/* ==== v3.0.40.778: 電光掲示板の2行目＝自分あての応援【社長決定 10/10】 ====================
   1行目（#gl-ticker：前のホールの数字・ナイスプレー）のすぐ下。タップで その人にお礼／まとめて返事。
   スコア画面が出ている時だけ（js が付け外し）。ひとこと画面などが開いている間は隠す（上にかぶらない）。 */
#gl-ticker2 { display: none; }
#gl-ticker2.gl-t2--on {
  display: flex; align-items: stretch; gap: 6px;
  position: fixed; left: 0; right: 0;
  top: calc(max(calc(var(--gl-safe-top) + 6px), 8px) + 34px);
  height: 34px; padding: 0 6px; box-sizing: border-box;
  z-index: 99989;
  background: rgba(10,40,26,.94);
  border-top: 1px solid rgba(124,255,178,.18);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  animation: gl-ticker-pin-in .35s ease-out;
}
html.gl-modal-open #gl-ticker,
html.gl-modal-open #gl-ticker2 { display: none !important; }
body.gl-ticker-space:not(.gl-modal-open)::before,
body.gl-ticker2-space:not(.gl-modal-open)::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(max(calc(var(--gl-safe-top) + 6px), 8px) + 34px);
  background: rgba(10, 40, 26, 0.98);
  z-index: 99985;
  pointer-events: none;
}
body.gl-ticker-space.gl-ticker2-space:not(.gl-modal-open)::before {
  height: calc(max(calc(var(--gl-safe-top) + 6px), 8px) + 68px);
}
html.gl-modal-open body::before { display: none !important; }
#gl-ticker2 button { -webkit-tap-highlight-color: rgba(124,255,178,.25); font: inherit; cursor: pointer; }
#gl-ticker2 .gl-t2__main {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0 4px; color: #eafff2; text-align: left; overflow: hidden; white-space: nowrap;
}
#gl-ticker2 .gl-t2__main:active { background: rgba(124,255,178,.14); border-radius: 8px; }
#gl-ticker2 .gl-t2__ic { flex: 0 0 auto; font-size: 15px; }
#gl-ticker2 .gl-t2__nm { flex: 0 1 auto; min-width: 0; max-width: 34%; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 900; color: #fff; }
#gl-ticker2 .gl-t2__msg { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; color: #7CFFB2; }
#gl-ticker2 .gl-t2__msg--run { overflow: visible; animation: gl-t2-run 7s linear 1.2s infinite; }
@keyframes gl-t2-run { 0%, 12% { transform: translateX(0); } 80%, 100% { transform: translateX(calc(-1 * var(--t2w, 0px))); } }
#gl-ticker2 .gl-t2__go {
  flex: 0 0 auto; margin-left: auto; padding: 3px 9px; border-radius: 999px;
  background: #06C755; color: #fff; font-size: 12px; font-weight: 900; line-height: 18px;
  position: relative; z-index: 1; box-shadow: -10px 0 8px rgba(10,40,26,.94);
}
#gl-ticker2 .gl-t2__all {
  flex: 0 0 auto; align-self: center; height: 26px; padding: 0 9px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1.5px solid #7CFFB2; color: #eafff2; font-size: 12px; font-weight: 800; white-space: nowrap;
}
#gl-ticker2 .gl-t2__all b { margin-left: 3px; color: #7CFFB2; font-size: 13px; }
#gl-ticker2 .gl-t2__main--done .gl-t2__msg { color: rgba(234,255,242,.7); font-weight: 700; }
#gl-ticker2.gl-t2--flash { animation: gl-t2-flash 1.4s ease-out; }
@keyframes gl-t2-flash { 0% { background: rgba(6,199,85,.95); } 100% { background: rgba(10,40,26,.94); } }
@media (prefers-reduced-motion: reduce) { #gl-ticker2 .gl-t2__msg--run { animation: none; text-overflow: ellipsis; } }
/* 2行目のぶん、スコア画面と入力パネルの上を空ける */
/* 1行目（前のホールの数字）がまだ無い時（1番ホールを入れる前）は、2行目が一番上に上がる */
body.gl-ticker2-space:not(.gl-ticker-space) #gl-ticker2.gl-t2--on { top: max(calc(var(--gl-safe-top) + 6px), 8px); border-top: 0; }
body.gl-ticker2-space #view-score.gl-classic { padding-top: calc(var(--gl-view-pad-top) + 4px + 40px); }
body.gl-ticker2-space #gl-panel-root { max-height: calc(100dvh - var(--gl-safe-top) - 4px - 40px); }
body.gl-ticker2-space.gl-ticker-space #view-score.gl-classic { padding-top: calc(var(--gl-view-pad-top) + 4px + 76px); }
body.gl-ticker2-space.gl-ticker-space #gl-panel-root { max-height: calc(100dvh - var(--gl-safe-top) - 4px - 76px); }
