@charset "UTF-8";
/* ------------------------------------------------------------
 * **動き続けるもの**（2026-11-23）
 * ------------------------------------------------------------
 * - .hono_tk   電光掲示板。頭のすぐ下、全ページ（components/frame_ticker.php）
 * - .hono_live 回り続ける数字と Google の急上昇。トップと /now（components/live_strip.php）
 */

/* 生きている印。赤い点がゆっくり明滅する */
.hono_live_dot{
    display: inline-block; width: .55em; height: .55em; margin-right: .45em;
    border-radius: 50%; background: #e34948; vertical-align: .08em;
    animation: hono_live_blink 1.6s ease-in-out infinite;
}
@keyframes hono_live_blink{ 0%, 100%{ opacity: 1; } 50%{ opacity: .25; } }

/* ---- 電光掲示板 ---- */
.hono_tk{
    display: flex; align-items: stretch;
    background: var(--hono-surface, #fff);
    border-bottom: 1px solid var(--hono-line);
    font-size: .8rem; line-height: 1;
    overflow: hidden;
}
.hono_tk_lb{
    flex: 0 0 auto; display: flex; align-items: center;
    padding: .65em 1em; font-weight: 700; white-space: nowrap;
    color: var(--hono-ink); background: var(--hono-surface, #fff);
    border-right: 1px solid var(--hono-line);
    position: relative; z-index: 1;
}
.hono_tk_lb:hover{ text-decoration: underline; }
.hono_tk_vp{ flex: 1 1 auto; min-width: 0; overflow: hidden;
             /* 端をぼかして、流れてくる・流れていくに見せる */
             -webkit-mask-image: linear-gradient(90deg, transparent, #000 2em, #000 calc(100% - 2em), transparent);
                     mask-image: linear-gradient(90deg, transparent, #000 2em, #000 calc(100% - 2em), transparent); }
.hono_tk_run{
    display: flex; width: max-content;
    animation: hono_tk_run var(--tk-dur, 60s) linear infinite;
}
.hono_tk:hover .hono_tk_run,
.hono_tk:focus-within .hono_tk_run{ animation-play-state: paused; }
.hono_tk_set{ display: flex; }
.hono_tk_i{
    display: inline-flex; align-items: center; gap: .45em;
    padding: .65em 1.2em; white-space: nowrap; color: var(--hono-ink);
    border-right: 1px dotted var(--hono-line);
}
a.hono_tk_i:hover .hono_tk_n{ text-decoration: underline; }
.hono_tk_i b{ color: var(--hono-accent); }
.hono_tk_n{ font-weight: 700; }
.hono_tk_v{ color: var(--hono-ink-sub); font-variant-numeric: tabular-nums; }
.hono_tk_i i{ font-style: normal; font-size: .9em; font-weight: 700; }
.hono_tk_up  { color: var(--hono-up); }
.hono_tk_down{ color: var(--hono-down); }
.hono_tk_stay{ color: var(--hono-ink-sub); }
.hono_tk_new { color: #fff; background: var(--hono-accent); padding: .2em .4em; border-radius: 3px; font-size: .75em !important; }
@keyframes hono_tk_run{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* 動きを減らす設定：流さない。指で横に送れる帯にする */
@media (prefers-reduced-motion: reduce){
    .hono_tk_run{ animation: none; }
    .hono_tk_vp{ overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .hono_tk_set[aria-hidden]{ display: none; }
}

/* ---- 回り続ける数字 ---- */
.hono_live{
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem clamp(16px, 3vw, 36px);
    margin: 0 0 1.4rem; padding: 1rem clamp(14px, 2vw, 22px);
    background: var(--hono-ink); color: #fff; border-radius: 4px;
}
.hono_live a{ color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.hono_live_cnt{ margin: 0; }
.hono_live_solo{ grid-template-columns: minmax(0, 1fr); }
.hono_live_row{ display: flex; flex-wrap: wrap; align-items: center; gap: .2em .5em; margin-top: .1em; }
.hono_live_lb{ display: block; font-size: .78rem; font-weight: 700; opacity: .85; }
.hono_live_lb small{ font-weight: 400; opacity: .8; }
.hono_live_n{
    font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: .01em;
    font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hono_live_u{ font-size: .9rem; font-weight: 700; }
/* **上昇中。ゆっくり点いて、ゆっくり消える。**（2026-11-23、ももん）数字は動かさず、増えていく途中だとだけ言う */
.hono_live_up{
    display: inline-block; margin-left: .7em; padding: .15em .65em; border-radius: 999px; white-space: nowrap; vertical-align: .05em;
    font-size: .78rem; font-weight: 700; color: #fff; background: var(--hono-up);
    animation: hono_live_breathe 2.8s ease-in-out infinite;
}
@keyframes hono_live_breathe{ 0%, 100%{ opacity: 1; } 50%{ opacity: .15; } }
@media (prefers-reduced-motion: reduce){ .hono_live_up{ animation: none; } }
.hono_live_rate{ margin: .3em 0 0; font-size: .85rem; }
.hono_live_rate b{ font-size: 1.15em; font-variant-numeric: tabular-nums; }
.hono_live_top{ display: inline-block; margin-left: .8em; opacity: .9; }
.hono_live_note{ margin: .5em 0 0; font-size: .7rem; line-height: 1.6; opacity: .6; }

.hono_live_g{ padding-left: clamp(14px, 2vw, 24px); border-left: 1px solid rgba(255,255,255,.2);
              display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hono_live_glb{ margin: 0 0 .4em; font-size: .78rem; font-weight: 700; opacity: .85; }
.hono_live_gl{ margin: 0; padding: 0; list-style: none; }
.hono_live_gl li{ display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .6em; padding: .15em 0; }
.hono_live_gt{ font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.hono_live_gl small{ font-size: .72rem; opacity: .7; }
/* JS が付けたら1件ずつ。**同じ場所で入れ替える**（高さを揺らさない） */
.hono_live_gl.is_rot{ display: grid; }
.hono_live_gl.is_rot li{ grid-area: 1 / 1; opacity: 0; transform: translateY(8px);
                         transition: opacity .45s, transform .45s; pointer-events: none; }
.hono_live_gl.is_rot li.is_on{ opacity: 1; transform: none; pointer-events: auto; }
.hono_live_src{ margin: .5em 0 0; font-size: .65rem; opacity: .55; }

@media (max-width: 760px){
    /* 電光掲示板の題は隠す。**赤い点だけ残して /now への入口にする** */
    .hono_tk_lbt{ display: none; }
    .hono_tk_lb{ padding: .65em .7em; }
    .hono_tk_lb .hono_live_dot{ margin-right: 0; }
    .hono_live{ grid-template-columns: minmax(0, 1fr); }
    .hono_live_g{ padding: .8rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
    .hono_live_top{ display: block; margin: .2em 0 0; }
}
