/* D02 u12: native CMS trend states; original up/down/NEW visual tokens. */
.d02-cms-trend{display:inline-flex;align-items:center;justify-content:flex-start;min-width:36px;min-height:16px}
.d02-cms-trend>span{display:none}
.d02-cms-trend[data-d02-trend-state="1"]>.d02-trend-up{display:inline;color:var(--live)}
.d02-cms-trend[data-d02-trend-state="2"]>.d02-trend-down{display:inline;color:var(--hot)}
.d02-cms-trend[data-d02-trend-state="3"]>.d02-trend-new{display:inline;color:var(--y)}
.d02-cms-trend[data-d02-trend-state="4"]>.d02-trend-flat{display:inline;color:var(--mute)}
/* Natural height: wrappers and hidden OS must not retain a second button slot. */
[data-d02-detail] .dl-btns{min-height:0}
[data-d02-detail] .dl-btns>#btns-android,[data-d02-detail] .dl-btns>#btns-ios{display:block;min-width:0}
.is-ios [data-d02-detail] #btns-android,.is-android [data-d02-detail] #btns-ios{display:none!important}
/* Match source rank: short rows, source top3 geometry, first10 then more. */
.d02-restored-rank .d02-rank-family>.sec{margin-top:26px;margin-bottom:14px;gap:12px;flex-wrap:wrap;align-items:center}
.d02-restored-rank .d02-period-rows>.board-tr{display:grid;grid-template-columns:28px minmax(0,1fr) 92px 40px;gap:8px;min-height:44px;padding:7px 12px;text-decoration:none}
.d02-restored-rank .board-n{min-width:0;overflow:hidden}.d02-restored-rank .bn{min-width:0}.d02-restored-rank .bn b{display:block}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(-n+3){min-height:62px}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(-n+3) .board-n img{width:40px;height:40px;border-radius:9px}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(-n+3) .board-n b{font-size:14px}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(-n+3) .board-no{font-size:20px}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(1) .board-no{color:#f2c230}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(2) .board-no{color:#c9ced5}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(3) .board-no{color:#c98650}
.d02-restored-rank .d02-period-rows>.board-tr:nth-child(n+4) .board-no{color:var(--mute)}
.d02-period-rows:not([data-expanded]):not([data-u02-filtered])>.board-tr:nth-child(n+11){display:none}
.d02-period-caption{display:none}.d02-rank-more{padding-top:14px;padding-bottom:14px}
@media(max-width:359px){.d02-restored-rank .board-th,.d02-restored-rank .d02-period-rows>.board-tr{grid-template-columns:24px minmax(0,1fr) 72px 34px;gap:6px;padding-inline:9px}.d02-restored-rank .flip i{width:18px}.d02-restored-rank .board-n{gap:6px}.d02-restored-rank .seg button{padding-inline:12px}}
