/* Dark Carnival — движение, профиль и громкость (поверх theme.css).
   Анимации короткие и «физичные»: появление снизу с затуханием, лёгкий подъём при наведении,
   отклик на нажатие. Всё отключается при prefers-reduced-motion. */
:root { --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.5, .64, 1); }
.r-common { --rc: var(--r-common); } .r-uncommon { --rc: var(--r-uncommon); } .r-rare { --rc: var(--r-rare); }
.r-mythical { --rc: var(--r-mythical); } .r-legendary { --rc: var(--r-legendary); } .r-immortal { --rc: var(--r-immortal); }
.r-arcana { --rc: var(--r-arcana); } .r-seasonal { --rc: var(--r-seasonal); } .r-ultra { --rc: var(--r-ultra, var(--gold)); }

@keyframes Rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes Fade { from { opacity: 0; } }
@keyframes PopIn { 0% { opacity: 0; transform: scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes SlideIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes Pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(60, 207, 122, .55); } 70% { box-shadow: 0 0 0 7px rgba(60, 207, 122, 0); } }
@keyframes Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes Shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes Spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes Shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
@keyframes WonCard { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1.06); } }
@keyframes GlowIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } }
@keyframes BarIn { from { width: 0; } }

/* ---------- появление страницы и карточек ---------- */
.view { animation: Rise .4s var(--ease) both; }
.lobby-hero .lh-copy > * { animation: Rise .55s var(--ease) both; }
.lobby-hero .lh-copy > :nth-child(2) { animation-delay: .06s; }
.lobby-hero .lh-copy > :nth-child(3) { animation-delay: .12s; }
.lobby-hero .lh-copy > :nth-child(4) { animation-delay: .18s; }
.lobby-hero .featured { animation: PopIn .55s .15s var(--spring) both; }
.case-grid > *, .game-grid > *, .loot-grid > *, .inv-grid > *, .stats > *, .how > *, .pf-stats > *, .pd-grid > *, .hist-row, .pg-row {
  animation: Rise .45s var(--ease) both; }
.case-grid > :nth-child(2), .game-grid > :nth-child(2), .stats > :nth-child(2), .pf-stats > :nth-child(2), .pd-grid > :nth-child(2), .pg-row:nth-of-type(2) { animation-delay: .04s; }
.case-grid > :nth-child(3), .game-grid > :nth-child(3), .stats > :nth-child(3), .pf-stats > :nth-child(3), .pd-grid > :nth-child(3), .pg-row:nth-of-type(3) { animation-delay: .08s; }
.case-grid > :nth-child(4), .game-grid > :nth-child(4), .stats > :nth-child(4), .pf-stats > :nth-child(4), .pd-grid > :nth-child(4), .pg-row:nth-of-type(4) { animation-delay: .12s; }
.case-grid > :nth-child(5), .stats > :nth-child(5), .pf-stats > :nth-child(5), .pd-grid > :nth-child(5), .pg-row:nth-of-type(5) { animation-delay: .16s; }
.stats > :nth-child(6), .pf-stats > :nth-child(6), .pd-grid > :nth-child(6), .pg-row:nth-of-type(6) { animation-delay: .2s; }
.pf-stats > :nth-child(7), .pd-grid > :nth-child(7) { animation-delay: .24s; }
.pf-stats > :nth-child(8), .pd-grid > :nth-child(8) { animation-delay: .28s; }
.loot-grid > *, .inv-grid > * { animation-duration: .35s; }
.loot-grid > :nth-child(n+2):nth-child(-n+8), .inv-grid > :nth-child(n+2):nth-child(-n+8) { animation-delay: .03s; }
.loot-grid > :nth-child(n+9):nth-child(-n+16), .inv-grid > :nth-child(n+9):nth-child(-n+16) { animation-delay: .07s; }
.loot-grid > :nth-child(n+17), .inv-grid > :nth-child(n+17) { animation-delay: .11s; }

/* ---------- наведение и нажатие ---------- */
.btn { transition: background-color .15s, border-color .15s, opacity .15s, transform .12s var(--ease); }
.btn:active:not(:disabled), .chip:active:not(:disabled), .dep-btn:active, .icon-btn:active, .inv-btn:active { transform: scale(.96); }
.btn.gold { position: relative; overflow: hidden; }
.btn.gold::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.btn.gold:hover:not(:disabled)::after { animation: Shine .7s var(--ease); }
.chip, .icon-btn, .inv-btn, .dep-btn, .nav a { transition: background-color .15s, border-color .15s, color .15s, transform .12s var(--ease); }

.case-tile { transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s; }
.case-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.case-tile img { transition: transform .35s var(--spring); }
.case-tile:hover img { transform: translateY(-6px) scale(1.06) rotate(-2deg); }
.case-tile .ct-price { transition: background-color .2s, color .2s; }
.case-tile.on img { animation: Float 2.6s ease-in-out infinite; }
.game-tile { transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.game-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.game-tile img.gt-art { transition: transform .35s var(--spring); }
.game-tile:hover img.gt-art { transform: translateY(-6px) scale(1.08); }
.featured img { animation: Float 4s ease-in-out infinite; }
.featured { transition: border-color .2s, transform .25s var(--ease); }
.featured:hover { transform: translateY(-3px); }
.item-card { transition: transform .22s var(--ease), border-color .2s, box-shadow .22s; }
.loot-grid .item-card:hover, .inv-grid .item-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--rc) 55%, transparent); }
.item-card .ic-img { transition: transform .3s var(--spring); }
.stat, .pf-stat { transition: border-color .2s, transform .25s var(--ease); }
.stat:hover, .pf-stat:hover { border-color: var(--line-2); transform: translateY(-2px); }

/* ---------- шапка: баланс, лента, ведущий ---------- */
.balance.bal-up { animation: none; }
.balance.bal-up #balanceValue { display: inline-block; animation: BalUp .6s var(--spring); }
.balance.bal-down #balanceValue { display: inline-block; animation: BalDown .35s ease-out; }
@keyframes BalUp { 0% { transform: none; color: var(--text); } 30% { transform: translateY(-3px) scale(1.14); color: var(--gold); } 100% { transform: none; color: var(--text); } }
@keyframes BalDown { 30% { transform: translateY(2px); color: var(--text-3); } }
.balance.bal-down { animation: none; }
.feed-label i { animation: Pulse 2s infinite; }
.drop.new { animation: SlideDrop .5s var(--spring); }
@keyframes SlideDrop { from { opacity: 0; transform: translateX(-40px) scale(.9); } }
.drop { transition: background-color .2s; }
.drop:hover { background: var(--surface-2); }
.host-bubble { transform-origin: 100% 100%; }
.host.talk .host-bubble { animation: PopIn .3s var(--spring); }
.user { text-decoration: none; transition: background-color .15s; padding: 2px 10px 2px 2px; }
.user:hover, .user.active { background: var(--surface); }
.user.active span { color: var(--gold); }

/* ---------- модалки и тосты ---------- */
.modal:not([hidden]) { animation: Fade .2s ease-out; }
.modal:not([hidden]) .modal-card { animation: PopIn .3s var(--spring); }
.toast { animation: SlideIn .35s var(--spring); transition: opacity .25s, transform .25s; }
.toast.out { opacity: 0; transform: translateX(24px); }

/* ---------- сундук: выигрыш ---------- */
.stage.shake { animation: Shake .5s; }
.strip .item-card.won { animation: WonCard .45s var(--spring) forwards; z-index: 2; box-shadow: 0 0 0 2px var(--rc), 0 0 30px color-mix(in srgb, var(--rc) 70%, transparent); }
.reward { animation: Fade .3s ease-out both; }
.reward-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--rc, var(--gold)) 45%, transparent), transparent 62%); animation: GlowIn .6s var(--ease) both; }
.reward .rays { animation: Spin 24s linear infinite; opacity: .14; }
.reward.big .rays { opacity: .3; animation-duration: 12s; }
.reward-inner { animation: PopIn .5s .1s var(--spring) both; }
.reward-inner .item-card { box-shadow: 0 0 0 1px var(--rc), 0 20px 50px rgba(0, 0, 0, .55); }
.reward-side > * { animation: Rise .4s var(--ease) both; }
.reward-side > :nth-child(2) { animation-delay: .2s; } .reward-side > :nth-child(3) { animation-delay: .26s; } .reward-side > :nth-child(4) { animation-delay: .32s; }

/* ---------- дирижабль: история полётов ---------- */
.crash-history { justify-content: flex-start; gap: 6px; margin: 12px 0 0; min-height: 0; }
.crash-history:empty { display: none; }
.crash-history span { padding: 6px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); color: var(--bad); font: 600 12.5px/1 var(--body); font-variant-numeric: tabular-nums; }
.crash-history span.hi { border-color: var(--line-2); color: var(--ok); }
.crash-history span.top { border-color: color-mix(in srgb, var(--gold) 50%, transparent); color: var(--gold); }
.crash-history span:first-child { animation: PopIn .35s var(--spring); }
.crash-foot { margin: 14px 0 0; font-size: 13px; color: var(--text-3); text-align: center; }
.crash-mult { transition: color .2s; }
.crash-mult.dead { animation: Shake .45s; }

/* ---------- громкость ---------- */
.vol-wrap { position: relative; display: flex; }
.vol-pop { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 60; width: 280px; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); animation: PopIn .2s var(--spring); transform-origin: 90% 0; }
.vol-pop[hidden] { display: none; }
.vol-row { display: grid; grid-template-columns: 32px 64px minmax(0, 1fr) 28px; align-items: center; gap: 8px; padding: 6px 4px; }
.vol-row span { font-size: 14px; color: var(--text-2); }
.vol-row b { font: 600 12.5px/1 var(--body); color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.vol-mute { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--surface-3); color: var(--text); cursor: pointer; transition: background-color .15s; }
.vol-mute:hover { background: #2c2c36; }
.vol-mute.off { color: var(--text-3); }
.vol-mute .ic { width: 17px; height: 17px; }
.vol-row input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--gold) var(--p), var(--surface-3) var(--p)); }
.vol-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: transform .12s; }
.vol-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.vol-row input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 0; }
#btnMusic { display: none; }

/* ---------- профиль ---------- */
.profile { display: flex; flex-direction: column; gap: 16px; }
.pf-skel { height: 180px; border-radius: 18px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: Shimmer 1.4s linear infinite; }
.pf-skel.short { height: 96px; }
.pf-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface) 0%, rgba(21, 21, 26, .9) 55%, rgba(21, 21, 26, .7) 100%), url("../assets/bg/room_head.jpg") 70% 40% / cover; }
.pf-avatar { position: relative; width: 96px; height: 96px; }
.pf-avatar img, .pf-avatar .user-ph { display: block; width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2), 0 12px 30px rgba(0, 0, 0, .5); }
.pf-lv { position: absolute; right: -8px; bottom: -8px; min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px;
  background: var(--gold); color: var(--gold-ink); font: 700 15px/1 var(--body); box-shadow: 0 0 0 3px var(--surface); animation: PopIn .5s .3s var(--spring) both; }
.pf-id h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; overflow-wrap: anywhere; }
.pf-meta { margin-top: 8px; color: var(--text-3); font-size: 14px; }
.pf-meta a { color: var(--text-2); }
.pf-meta a:hover { color: var(--text); }
.pf-level { margin-top: 18px; max-width: 460px; }
.pf-level-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; color: var(--text-3); }
.pf-level-top b { color: var(--text); font-size: 14px; }
.pf-bar { height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.pf-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #d9962a, var(--gold)); animation: BarIn 1.1s .2s var(--ease) both; }
.pf-wallet { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.pf-wallet > span { font-size: 13px; color: var(--text-3); }
.pf-wallet > b { display: flex; align-items: center; gap: 8px; font: 600 30px/1 var(--body); }
.pf-wallet > b .coin-i { width: 26px; height: 26px; }
.pf-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--text-2); }
.btn.ghost:hover:not(:disabled) { background: var(--surface); color: var(--text); }
.btn .ic { width: 16px; height: 16px; }

.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.pf-stat span { font-size: 13px; color: var(--text-3); }
.pf-stat b { font: 600 24px/1.1 var(--body); color: var(--text); }
.pf-stat small { position: absolute; right: 16px; bottom: 18px; font-size: 12.5px; color: var(--text-3); }
.up { color: var(--ok) !important; } .down { color: var(--bad) !important; }

.pf-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.profile .panel h2 { margin: 0 0 14px; font-size: 17px; }
.pg-head, .pg-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 10px; align-items: center; }
.pg-head { padding: 0 12px 8px; font-size: 12.5px; color: var(--text-3); }
.pg-head span:not(:first-child), .pg-row .num { text-align: right; }
.pg-row { position: relative; padding: 12px; border-radius: 10px; color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; transition: background-color .15s; }
.pg-row + .pg-row { margin-top: 2px; }
.pg-row:hover { background: var(--surface-2); }
.pg-name { display: flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-name .ic { flex: 0 0 18px; width: 18px; height: 18px; color: var(--text-3); }
.pg-row:hover .pg-name .ic { color: var(--gold); }
.pg-row .num { font-size: 14px; color: var(--text-2); }
.pg-ret { font-weight: 600; }
.pg-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); background: color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 2px; animation: BarIn 1s .3s var(--ease) both; }

.pd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--rc); text-align: center; transition: transform .2s var(--ease); }
.pd:hover { transform: translateY(-3px); }
.pd img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.pd b { width: 100%; font: 500 12px/1.25 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd span { display: flex; align-items: center; gap: 4px; font: 600 12.5px/1 var(--body); color: var(--text-2); }
.pf-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px 8px; color: var(--text-2); font-size: 14px; }
.pf-empty img { width: 84px; opacity: .85; animation: Float 3s ease-in-out infinite; }
.pf-empty p { margin: 0; max-width: 34ch; }

.pf-tabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.pf-tab { position: relative; padding: 10px 14px 12px; border: 0; background: none; color: var(--text-3); font: 500 14.5px/1 var(--body); cursor: pointer; transition: color .15s; }
.pf-tab:hover { color: var(--text); }
.pf-tab.on { color: var(--text); }
.pf-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.pf-tab.on::after { transform: scaleX(1); }
.pf-tab i { font-style: normal; margin-left: 4px; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); font-size: 12px; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 90px; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; transition: background-color .15s; }
.hist-row:hover { background: var(--surface-2); }
.hist-row + .hist-row { border-top: 1px solid var(--line); }
.hist-row:hover + .hist-row, .hist-row:hover { border-top-color: transparent; }
.hr-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-3); color: var(--text-2); overflow: hidden; }
.hr-ico.r-common, .hr-ico[class*="r-"] { box-shadow: inset 0 -2px 0 var(--rc); }
.hr-ico img { width: 40px; height: 30px; object-fit: contain; }
.hr-ico .ic { width: 18px; height: 18px; }
.hr-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hr-main b { font: 500 14px/1.3 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-main small { font-size: 12.5px; color: var(--text-3); }
.hr-delta { font: 600 15px/1 var(--body); font-variant-numeric: tabular-nums; text-align: right; }
.hr-delta.up { color: var(--ok); }
.hr-bal { font-size: 13px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.dep-st { grid-column: 3 / 5; justify-self: end; padding: 5px 9px; border-radius: 7px; font: 500 12.5px/1 var(--body); background: var(--surface-3); color: var(--text-2); }
.dep-st.st-succeeded { background: rgba(60, 207, 122, .12); color: var(--ok); }
.dep-st.st-failed, .dep-st.st-cancelled, .dep-st.st-expired { background: rgba(240, 93, 93, .1); color: var(--bad); }
.dep-st.st-pending, .dep-st.st-review { background: var(--gold-soft); color: var(--gold); }
.more-btn { display: flex; margin: 14px auto 0; }
.pf-none { margin: 8px 4px; color: var(--text-3); }
.link-btn { border: 0; background: none; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.stats-more { grid-column: 1 / -1; justify-self: end; font-size: 14px; color: var(--text-2); text-decoration: none; }
.stats-more:hover { color: var(--text); }

@media (max-width: 1240px) {
  .pf-cols { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (max-width: 860px) {
  .pf-hero { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 18px; }
  .pf-wallet { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; padding-top: 16px; border-top: 1px solid var(--line); }
  .pf-wallet > span { display: none; }
  .pf-wallet > b { font-size: 24px; }
  .pf-actions { margin: 0; }
  .pf-avatar, .pf-avatar img, .pf-avatar .user-ph { width: 72px; height: 72px; border-radius: 18px; }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-stat b { font-size: 20px; }
  .pg-head { display: none; }
  .pg-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .pg-name { grid-column: 1 / -1; }
  .pg-row .num { text-align: left; font-size: 13.5px; }
  .pg-row .num::before { content: attr(data-l); display: block; margin-bottom: 3px; font-size: 11.5px; color: var(--text-3); }
  .hist-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 9px 4px; }
  .hr-ico { width: 36px; height: 36px; }
  .hr-bal { display: none; }
  .dep-st { grid-column: 3; }
  .vol-pop { position: fixed; top: 56px; right: 10px; left: auto; width: min(300px, calc(100vw - 20px)); }
}
@media (max-width: 480px) {
  .pf-hero { grid-template-columns: 1fr; text-align: left; }
  .pf-avatar { margin-bottom: 4px; }
  .pf-actions { width: 100%; justify-content: stretch; }
  .pf-actions > * { flex: 1 1 auto; }
  .pf-wallet { gap: 12px; }
  .user { padding: 2px; }
  .pg-row { column-gap: 6px; }
  .pg-row .num::before { font-size: 11px; }
  .hr-main b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
