/* 泰国新闻电台（2.17.0）。用户：「手机版，不要方块的，一条就好，从新设计，类似电台效果」
   整页深色收音机：天气 = 一条液晶条；中间喇叭 + 播放键 + 调频刻度；下面节目单一条一条（不用卡片方块）。 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0c1320; }
body { font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Noto Sans SC", "Noto Sans Thai", sans-serif; color: #e7edf8;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
@font-face { font-family: "TN Barlow Condensed"; font-weight: 200; font-display: swap;
  src: url("/thailand_news_brief/static/src/fonts/BarlowCondensed-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "TN Barlow Condensed"; font-weight: 100; font-display: swap;
  src: url("/thailand_news_brief/static/src/fonts/BarlowCondensed-Thin.woff2") format("woff2"); }

.rd { min-height: 100vh; background: linear-gradient(180deg, #17243b 0%, #0f1828 260px, #0c1320 100%);
  padding: max(18px, env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom)); }
.rd-in { max-width: 1080px; margin: 0 auto; }

/* 头 */
.rd-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rd-hd h1 { font-size: 16px; letter-spacing: .06em; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #fff;
  /* 2.74.0 E2 深浮雕在手机上发花（1px 叠层在高密度屏上分开成一条条）→ 用户选 F1：只留一层模糊落影，不叠层 */
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55); }
/* 2.73.0 袋装泰奶 logo 放在「听见泰国」左边，高度跟字走 */
.rd-brand { height: 36px; width: auto; flex: 0 0 auto; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.rd-hdr { display: flex; align-items: center; gap: 10px; }
/* 2.24.0 浏览人数：翻页牌 D（细体一条）。数字在前，「浏览」小字 */
.rd-views { display: flex; align-items: flex-end; gap: 4px; white-space: nowrap; }
.rd-fl { display: inline-flex; padding: 2px 2px; border-radius: 4px; background: #0a1220;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .75), 0 0 0 1px #24375a; }
.rd-fd { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  width: 10px; height: 19px; font: 200 18px/1 "TN Barlow Condensed", "Arial Narrow", sans-serif; color: #eaf1ff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, 0) 100%); }
.rd-fd + .rd-fd { box-shadow: -1px 0 0 rgba(255, 255, 255, .06); }
.rd-fd::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-.5px); background: rgba(0, 0, 0, .7); }
.rd-fd.is-flip { animation: rd-flip .09s ease-out; }
@keyframes rd-flip { from { transform: perspective(60px) rotateX(-75deg); opacity: .4; } to { transform: none; opacity: 1; } }
.rd-hp { width: 13px; height: 13px; color: #7d90b3; margin-bottom: 3px; flex: 0 0 auto; }
.rd-hd h1 small { display: block; font-size: 11px; font-weight: 400; color: #8ea3c7; letter-spacing: .16em; margin-top: 3px; }
.rd-onair { flex: 0 0 auto; font-size: 10px; letter-spacing: .22em; padding: 4px 8px; border-radius: 4px; background: #3a4a66; color: #b9c6dd; font-weight: 700; }
.rd-onair.is-on { background: #e2412a; color: #fff; box-shadow: 0 0 12px rgba(226, 65, 42, .6); animation: rd-blink 2.4s infinite; }
@keyframes rd-blink { 50% { box-shadow: 0 0 4px rgba(226, 65, 42, .3); } }

/* 天气：一条液晶条 */
.rd-lcd { margin-top: 14px; border-radius: 12px; background: #0a1220; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7), 0 0 0 1px #24375a;
  padding: 7px 0 7px 8px; display: flex; align-items: center; gap: 8px; position: relative; }
.rd-city { flex: 0 0 auto; font-size: 12px; color: #ffb36b; border: 1px solid #5a3f22; border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.rd-citymenu { position: absolute; left: 6px; top: calc(100% + 6px); z-index: 20; background: #15223a; border: 1px solid #2d4470; border-radius: 10px; padding: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5); display: none; }
.rd-citymenu.is-open { display: block; }
.rd-citymenu button { display: block; width: 100%; text-align: left; padding: 8px 14px; border-radius: 7px; font-size: 14px; color: #c6d3ea; }
.rd-citymenu button.is-on { color: #ffb36b; }
.rd-wxwin { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.rd-wxrow { display: inline-flex; gap: 16px; white-space: nowrap; padding-right: 16px; }
.rd-wxwin.is-marquee .rd-wxtrack { display: inline-flex; animation: rd-marquee var(--rd-mq, 30s) linear infinite; }
.rd-wxwin.is-marquee:hover .rd-wxtrack { animation-play-state: paused; }
@keyframes rd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rd-w { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #9fb1d1; }
.rd-w b { font-weight: 500; color: #c6d3ea; }
.rd-w img { width: 24px; height: 24px; }
.rd-w em { font-style: normal; }
.rd-w i { font-style: normal; color: #e7edf8; font-variant-numeric: tabular-nums; }
.rd-w.is-today b { color: #ffb36b; }
.rd-w.is-today i { color: #fff; font-weight: 600; }
.rd-wxnone { font-size: 12px; color: #6f84a8; }

/* 收音机 = 一条（用户：「手机打开占满了，不要，一条就好，天气含在里边很好，中间那块可以去掉了」）
   一条深色机身：上面液晶天气条，下面 播放键 + 正在播 + 上一条/下一条 + 细进度（每条新闻一个刻度点）。滚动时吸顶。 */
/* 2.28.1 页头 + 收音机一起钉在顶上（往下滑也都在） */
.rd-top { position: sticky; top: 0; z-index: 10; margin: calc(-1 * max(18px, env(safe-area-inset-top))) -16px 0;
  padding: max(8px, env(safe-area-inset-top)) 16px 10px; background: linear-gradient(180deg, #17243b 0%, #131e33 100%);   /* 2.74.2 顶部留白 18→8（H4） */
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .8); }
.rd-strip { position: relative; margin: 8px -4px 0; padding: 10px 10px 8px; border-radius: 16px;
  background: linear-gradient(160deg, #1f2f4d 0%, #142038 100%); box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 1px #2a3e62; }
.rd-strip .rd-lcd { margin-top: 0; }
.rd-player { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.rd-play { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: linear-gradient(145deg, #ff6b4a, #d93a22); display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(226, 65, 42, .5), inset 0 2px 0 rgba(255, 255, 255, .3); position: relative; transition: transform .1s; }
.rd-play:active { transform: scale(.94); }
.rd-play .ic-play { width: 0; height: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.rd-play .ic-pause { width: 14px; height: 16px; position: relative; display: none; }
.rd-play .ic-pause::before, .rd-play .ic-pause::after { content: ""; position: absolute; top: 0; width: 5px; height: 16px; background: #fff; border-radius: 2px; }
.rd-play .ic-pause::before { left: 0; }
.rd-play .ic-pause::after { right: 0; }
.rd.is-playing .rd-play .ic-play { display: none; }
.rd.is-playing .rd-play .ic-pause { display: block; }
.rd-play.is-loading::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: #ffb36b; animation: rd-spin .9s linear infinite; }
@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd-now { flex: 1; min-width: 0; }
.rd-now h2 { font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-now .s { font-size: 11px; color: #8ea3c7; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.rd-now .s b { color: #ff8a6a; font-weight: 600; }
.rd-ctl { display: flex; gap: 4px; flex: 0 0 auto; }
.rd-ctl button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #c6d3ea; }
.rd-ctl button:active { background: rgba(255, 255, 255, .1); }
.rd-ctl svg { width: 18px; height: 18px; fill: currentColor; }
.rd-ctl .rd-loop.is-on { color: #ffb36b; }
/* 调频刻度：红指针固定在正中，刻度带随播放平移（「指针在中间，后边的刻度和数字播报的时候走」） */
.rd-track { margin-top: 8px; cursor: pointer; border-radius: 9px; background: #0a1220; box-shadow: inset 0 2px 7px rgba(0, 0, 0, .7), 0 0 0 1px #24375a; overflow: hidden; }
.rd-scale { position: relative; height: 38px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.rd-scale .mi { position: absolute; left: 0; right: 0; bottom: 6px; height: 7px; background-image: repeating-linear-gradient(90deg, #3a5079 0 1px, transparent 1px 9.2px);
  background-position-x: 0; transition: background-position-x .35s linear; }
.rd-tape { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; transition: transform .35s linear; will-change: transform; }
.rd-track .dt { position: absolute; bottom: 6px; width: 2px; height: 13px; margin-left: -1px; background: #5d76a3; font-style: normal; }
.rd-track .dt em { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 17px; line-height: 1; color: #6f84a8;
  font-variant-numeric: tabular-nums; white-space: nowrap; font-family: "TN Barlow Condensed", "Helvetica Neue", sans-serif; font-weight: 100; }
.rd-track .dt.is-done { background: #ff8a6a; }
.rd-track .dt.is-done em { color: #ff9f84; }
.rd-track .dt.is-on em, .rd-r.is-on .rd-no { font-weight: 200; }
.rd-track .dt.is-on { background: #fff; height: 15px; }
.rd-track .dt.is-on em { color: #fff; font-size: 19px; text-shadow: 0 0 6px rgba(255, 255, 255, .5); }
.rd-needle { position: absolute; left: 50%; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; border-radius: 2px; background: #ff4b2b;
  box-shadow: 0 0 6px #ff6b4a, 0 0 14px rgba(255, 75, 43, .55); pointer-events: none; z-index: 2; }
.rd-needle::before { content: ""; position: absolute; top: -2px; left: -3px; width: 8px; height: 4px; border-radius: 2px; background: #ff6b4a; }
.rd-vol { display: none; align-items: center; gap: 6px; color: #8ea3c7; font-size: 12px; }
.rd-vol input { width: 90px; accent-color: #ff6b4a; }

/* 节目单：一条一条 */
.rd-list { margin-top: 26px; }
.rd-lh { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8ea3c7; letter-spacing: .1em;
  padding: 0 2px 8px; border-bottom: 1px solid #22355a; }
.rd-days { display: flex; gap: 6px; letter-spacing: 0; }
.rd-days button { color: #8ea3c7; font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 1px solid #2a3e62; }
.rd-days button:disabled { opacity: .35; cursor: default; }
.rd-r { border-bottom: 1px solid #1d2d4a; }
.rd-rh { display: flex; gap: 12px; align-items: flex-start; padding: 13px 2px; cursor: pointer; }
.rd-no { font-family: "TN Barlow Condensed", "Helvetica Neue", sans-serif; font-weight: 100; font-size: 26px; color: #5d76a3; width: 32px; line-height: 1; flex: 0 0 32px; }
.rd-logo { width: 16px; height: 16px; border-radius: 4px; background: #fff; object-fit: contain; padding: 1px; vertical-align: -3px; margin-right: 5px; }
.rd-rt { flex: 1; min-width: 0; }
.rd-rm { font-size: 11px; color: #8ea3c7; }
.rd-rm u { text-decoration: none; color: #ffb36b; }
.rd-rt h3 { font-size: 15px; font-weight: 500; line-height: 1.45; margin-top: 3px; color: #e7edf8; }
.rd-du { font-size: 12px; color: #8ea3c7; padding: 2px 0 0 6px; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.rd-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rd-pl { font-size: 11px; color: #5d76a3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-du .p { width: 0; height: 0; border-left: 8px solid #8ea3c7; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.rd-r.is-on .rd-no { color: #ff6b4a; }
.rd-r.is-on h3 { color: #ffd2c6; }
.rd-eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.rd-eq i { width: 3px; background: #ff6b4a; border-radius: 1px; height: 6px; }
.rd.is-playing .rd-r.is-on .rd-eq { display: inline-flex; }
.rd.is-playing .rd-r.is-on .rd-du .p { display: none; }
.rd.is-playing .rd-r.is-on .rd-eq i { animation: rd-eq .9s ease-in-out infinite; }
.rd-eq i:nth-child(2) { animation-delay: .2s !important; }
.rd-eq i:nth-child(3) { animation-delay: .4s !important; }
@keyframes rd-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.rd-rb { display: none; padding: 0 2px 16px 44px; }
.rd-r.is-open .rd-rb { display: block; }
.rd-rb p { font-size: 15px; line-height: 1.8; color: #c6d3ea; white-space: pre-line; }
.rd-rb .orig { font-size: 12px; color: #6f84a8; margin-top: 6px; }
.rd-more { margin-top: 10px; }
.rd-more summary { font-size: 12px; color: #8ea3c7; cursor: pointer; }
.rd-more p { font-size: 14px; color: #a9b8d3; margin-top: 6px; }
.rd-rs { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: #8ea3c7; }
.rd-rs a { flex: 0 0 auto; color: #ffb36b; border: 1px solid #5a3f22; border-radius: 6px; padding: 5px 10px; text-decoration: none; }
.rd-rs .nolink { color: #5d76a3; }
.rd-empty { text-align: center; color: #8ea3c7; padding: 36px 10px; font-size: 14px; line-height: 1.8; }
.rd-ft { text-align: center; font-size: 11px; color: #5d76a3; margin-top: 24px; line-height: 1.7; }

/* 电脑：同一条，更宽；音量条出来 */
@media (min-width: 860px) {
  .rd { padding: 28px 28px 60px; }
  .rd-top { margin: -28px -28px 0; padding: 16px 28px 12px; }
  .rd-hd h1 { font-size: 20px; }
  .rd-brand { height: 44px; }
  .rd-strip { margin: 16px 0 0; padding: 12px 16px 10px; }
  .rd-play { width: 52px; height: 52px; flex-basis: 52px; }
  .rd-now h2 { font-size: 17px; }
  .rd-vol { display: flex; margin-left: 8px; }
  .rd-rt h3 { font-size: 17px; }
  .rd-rb { padding-left: 46px; padding-right: 60px; }
  .rd-w { font-size: 13px; }
  .rd-w img { width: 28px; height: 28px; }
}

/* 2.20.0 用户：「列表里每行只要一行文字」「曼谷去掉黄色外框」「走动天气这里增加凹进去的立体感，指针那里也是立体感更强一些」 */
.rd-rh { align-items: center; padding: 12px 2px; }
.rd-no { font-size: 22px; flex-basis: 32px; }
.rd-rt { display: flex; align-items: center; gap: 7px; }
.rd-rt .rd-logo { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; vertical-align: 0; }
.rd-rt h3 { margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.rd-imp { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #ffb36b; box-shadow: 0 0 6px rgba(255, 179, 107, .6); }
.rd-side { gap: 2px; }
.rd-full { font-size: 16px; font-weight: 600; line-height: 1.5; color: #f1f5fc; margin-bottom: 8px; }
.rd-rb { padding-top: 2px; }

/* 城市：去掉黄色外框 */
.rd-city { border: 0; padding: 4px 6px 4px 4px; background: none; }

/* 液晶天气条：凹进机身（上沿深阴影、下沿一道亮边、四周内阴影） */
.rd-lcd { background: linear-gradient(180deg, #050a14 0%, #0b1424 55%, #0e1a2e 100%);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .9), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 2px 0 6px rgba(0, 0, 0, .5), inset -2px 0 6px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .09), 0 -1px 0 rgba(0, 0, 0, .45); }

/* 调频刻度：更深的凹槽 + 玻璃反光 + 立体红指针 */
.rd-track { background: linear-gradient(180deg, #04080f 0%, #0a1322 50%, #0d182b 100%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .95), inset 0 -2px 4px rgba(0, 0, 0, .5), inset 3px 0 8px rgba(0, 0, 0, .6), inset -3px 0 8px rgba(0, 0, 0, .6),
              0 1px 0 rgba(255, 255, 255, .1), 0 -1px 0 rgba(0, 0, 0, .5); position: relative; }
.rd-track::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; border-radius: 9px 9px 40% 40% / 9px 9px 14px 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015)); }
.rd-needle { width: 3px; margin-left: -1.5px; top: 0; bottom: 0; border-radius: 1px;
  background: linear-gradient(90deg, #a8200c 0%, #ff6a45 45%, #ffc2ae 55%, #e2391a 70%, #8e1a08 100%);
  box-shadow: 0 0 8px rgba(255, 90, 50, .85), 0 0 18px rgba(255, 75, 43, .45), 2px 0 3px rgba(0, 0, 0, .7); }
.rd-needle::before { top: -1px; left: -4px; width: 11px; height: 6px; border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #ffd0c0, #ff6b4a 60%, #b5260f); box-shadow: 0 2px 3px rgba(0, 0, 0, .6); }
.rd-needle::after { content: ""; position: absolute; bottom: -1px; left: -4px; width: 11px; height: 5px; border-radius: 4px 4px 0 0;
  background: linear-gradient(0deg, #b5260f, #ff6b4a); box-shadow: 0 -1px 2px rgba(0, 0, 0, .5); }
.rd-track .dt { box-shadow: 1px 0 0 rgba(0, 0, 0, .6); }
/* 指针穿过数字时数字也看得清：深色描边 */
.rd-track .dt em { text-shadow: 0 0 3px #04080f, 0 0 6px #04080f; }
.rd-lhd { font-style: normal; color: #c6d3ea; margin-left: 8px; letter-spacing: .04em; }

/* 2.21.0 播放键保持原来的红色圆键，只加立体感（「播放键，保持原来，只增加立体感」）：
   顶面左上亮、右下暗的球面渐变 + 左上镜面高光 + 一圈深色细边 + 底下两层投影；按下时往里凹 */
.rd-play { background:
    radial-gradient(ellipse 58% 42% at 36% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at 42% 36%, #ff8466, #ec4f30 52%, #c1321a 82%, #9c2310 100%);
  box-shadow: 0 0 0 1.5px rgba(110, 15, 2, .7), 0 8px 16px rgba(226, 65, 42, .38), 0 4px 6px rgba(0, 0, 0, .5),
              inset 0 2px 2px rgba(255, 255, 255, .45), inset 0 -4px 7px rgba(90, 10, 0, .5); }
.rd-play:active { transform: scale(.96); box-shadow: 0 0 0 1.5px rgba(110, 15, 2, .7), 0 2px 4px rgba(0, 0, 0, .5), inset 0 3px 8px rgba(90, 10, 0, .6); }
.rd-play .ic-play { filter: drop-shadow(0 1px 1px rgba(90, 10, 0, .5)); }
.rd-play .ic-pause::before, .rd-play .ic-pause::after { box-shadow: 0 1px 1px rgba(90, 10, 0, .5); }

/* 2.33.0 前几天接在今天下面：每天一个日期头（和上面清单头的日期一样大小、颜色） */
/* 用户：「日期在格子中间就可以了」→ 上下留一样的空，日期在这一格的正中 */
.rd-dh { display: flex; align-items: center; margin: 0; padding: 18px 2px; border-bottom: 1px solid #22355a;
  font-size: 12px; color: #8ea3c7; letter-spacing: .1em; }
.rd-dh-pad { visibility: hidden; }
.rd-track .dt.is-day::before { content: ""; position: absolute; left: -1px; top: -14px; width: 2px; height: 30px; background: #e2412a; opacity: .55; }

/* 2.41.0 页面开着时新上电台的：编号右上角一个橙色小气泡「NEW」（用户选：橙色、矮、带尾巴、细体和编号同一字体），播过就去掉；刚出现时整行亮一下 */
.rd-no { position: relative; }
.rd-nb { position: absolute; top: -11px; left: 18px; padding: 1px 4px 1px 5px; border-radius: 6px; background: #ff6b4a;
    box-shadow: 0 2px 6px rgba(255, 107, 74, .35); color: #fff; font-style: normal; white-space: nowrap;
    font-family: "TN Barlow Condensed", "Helvetica Neue", sans-serif; font-size: 8px; line-height: 8px; font-weight: 300; letter-spacing: .8px; }
.rd-nb::after { content: ""; position: absolute; left: 4px; bottom: -3px; border: 3px solid transparent; border-top-color: #ff6b4a; border-bottom: 0; border-left: 0; }
.rd-r.is-flash { animation: rd-flash 2.4s ease-out 1; }
@keyframes rd-flash { 0% { background: rgba(255, 179, 107, .32); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .rd-r.is-flash { animation: none; } }

/* 2.42.0 正在播的这一条放大：用户先选 A「弹一下」，看完改成最后一个 E「卡片浮起」——换到这一条时整行抬起放大（略冲过头），之后保持浮起、阴影加深 */
.rd-r { transition: background .3s, box-shadow .3s; }
.rd-r.is-on { position: relative; z-index: 2; transform: translateY(-4px) scale(1.06); background: linear-gradient(180deg, #2a3352, #1b2740);
    border-radius: 12px; border-bottom-color: transparent; box-shadow: 0 16px 30px rgba(0, 0, 0, .6); }
.rd-r.is-on .rd-rh { padding-left: 10px; padding-right: 10px; }
.rd-r.is-pop { animation: rd-pop .9s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes rd-pop { 0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 60% { transform: translateY(-8px) scale(1.09); }
    100% { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 30px rgba(0, 0, 0, .6); } }
@media (prefers-reduced-motion: reduce) { .rd-r.is-pop { animation: none; } }
/* 2.42.1 用户：「放大以后里边的文字也要放大」→ 正在播的这条：编号 / 标题 / logo / 时长都真的变大（不只是整体缩放），标题仍是一行 */
.rd-rt h3, .rd-no, .rd-du, .rd-pl { transition: font-size .35s ease; }
.rd-r.is-on .rd-no { font-size: 32px; flex-basis: 40px; width: 40px; }
.rd-r.is-on .rd-rt .rd-logo { flex-basis: 22px; width: 22px; height: 22px; }
.rd-r.is-on .rd-rt h3 { font-size: 18px; font-weight: 600; }   /* 用户：「文字依然单排，只是文字变大」→ 还是一行，放不下省略 */
.rd-r.is-on .rd-du { font-size: 14px; }
.rd-r.is-on .rd-pl { font-size: 12px; }
@media (min-width: 860px) { .rd-r.is-on .rd-rt h3 { font-size: 21px; } }

/* 2.43.1 用户：「单条新闻后边的播放按键变大，放在文字中间」→「不要圆圈」→「播放键不要高于左边的文字」：
   右边改成两列网格：左列播放三角（12px 高，不超过标题字高），竖直居中在「时长 / 收听次数」两行字中间；右列时长在上、次数在下（定宽，每行三角对齐）。
   .rd-du 用 display: contents，点击仍落在它身上（data-act="play" 不变）。正在播的那条三角换成橙色音柱（最高 12px），时长倒计时。 */
.rd-side { display: grid; grid-template-columns: auto 38px; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: center; }
.rd-du { display: contents; }
.rd-du .p, .rd-du .rd-eq { grid-column: 1; grid-row: 1 / span 2; align-self: center; justify-self: center; }
.rd-du .rd-dt { grid-column: 2; grid-row: 1; justify-self: end; font-size: 12px; color: #8ea3c7; font-variant-numeric: tabular-nums; }
.rd-pl { grid-column: 2; grid-row: 2; justify-self: end; }
.rd-du .p { width: 0; height: 0; border-left: 11px solid #c6d3ea; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin: 0 4px 0 6px; }
.rd-du .rd-eq { width: 20px; height: 12px; justify-content: center; align-items: flex-end; }
.rd-du .rd-eq i { width: 3px; max-height: 12px; }
.rd-r.is-on .rd-du .rd-dt { font-size: 14px; color: #ffd2c6; }
.rd-r.is-on .rd-du .p { border-left-color: #ff8a6a; }


/* 2.57.0 别人播了：这一条的「N 次」跳一下（放大 + 橙色一闪） */
.rd-pl.is-bump { animation: rdBump .7s ease-out; }
@keyframes rdBump { 0% { transform: scale(1); color: inherit; } 30% { transform: scale(1.25); color: #ff8a3d; } 100% { transform: scale(1); color: inherit; } }

/* 2.58.0 播放器下面的板块（轮播大字）：当前板块大字居中 + 条数红角标，两边相邻板块淡出；左右滑 / 点箭头 / 点旁边的字换 */
.rd-boards { margin: 4px 0 0; user-select: none; -webkit-user-select: none; }   /* 2.75.0 用户：「娱乐这里上下也减少留空」 */
.rd-bcar { display: flex; align-items: center; justify-content: center; gap: 16px; height: 44px; overflow: hidden; }
.rd-bs { font-size: 15px; font-weight: 700; color: #4f6283; white-space: nowrap; cursor: pointer; }
.rd-bs.n { font-size: 18px; color: #7186aa; }
.rd-bc { position: relative; font-size: 30px; font-weight: 900; color: #fff; letter-spacing: 4px; white-space: nowrap; text-shadow: 0 0 18px rgba(255, 120, 60, .45); }
.rd-bc i { position: absolute; right: -26px; top: 2px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #e2412a; border-radius: 8px; padding: 0 6px; letter-spacing: 0; text-shadow: none; }
.rd-bar { font-size: 22px; color: #6f84a8; cursor: pointer; padding: 0 4px; }
.rd-bhint { display: flex; justify-content: space-between; font-size: 12px; color: #8ea3c7; margin-top: 2px; }
@media (max-width: 380px) { .rd-bcar { gap: 10px; } .rd-bs:not(.n) { display: none; } }

/* 2.58.3 听过的（这台设备今天）标题淡一点：连播会跳过它，点它照样播 */
.rd-r.is-heard .rd-rt h3 { opacity: .5; }
/* 2.64.0 热点 = 播放排行：前面数字换成名次，只换颜色（字体、粗细照旧）；刚升名次的在次数后面标 ▲n（20 秒） */
.rd-no.is-rank { color: #ffb15c; }
.rd-r.is-on .rd-no.is-rank { color: #ff6b4a; }
.rd-up { font-style: normal; color: #3fd18a; font-size: 11px; margin-left: 4px; }
/* 2.65.0 热点前 10 名「HOT」角标（用户选 H）：和 NEW 同位置；前 3 名火焰渐变 + 光、数字发红光；4–10 名淡色角标。字体和编号同一套 */
.rd-hot { position: absolute; top: -9px; left: 20px; padding: 1px 4px; border-radius: 6px; font-style: normal; white-space: nowrap;
    font-family: "TN Barlow Condensed", "Helvetica Neue", sans-serif; font-size: 9px; line-height: 10px; font-weight: 600; letter-spacing: .6px;
    color: #ffb07a; background: rgba(255, 120, 60, .18); }
/* 2.66.0 颜色按名次 1→10 渐变（行内样式由 radio.js heat() 算），这里只留底色兜底 */

/* 2.76.0 醒目标题（选 B：小标签 + 关键词橙色加粗）。没醒目标题的行不受影响 */
/* 2.77.1 用户：「标题颜色太多了，文字部分恢复原来的效果，其他不变」→ 关键词不再橙色加粗，和标题同色同粗；小标签照旧 */
.rd-rt h3 .rd-hl { color: inherit; font-weight: inherit; }
.rd-rt h3 .rd-tg { display: inline-block; font-size: 11px; font-style: normal; font-weight: 800; line-height: 1.5; padding: 0 5px; border-radius: 4px; margin-right: 6px; vertical-align: 2px; color: #fff; background: #e2412a; }
.rd-rt h3 .rd-tg.y { background: #d9822b; }
.rd-rt h3 .rd-tg.b { background: #2f6fe0; }
.rd-r.is-on .rd-rt h3 .rd-tg { font-size: 12px; }
