:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f4f2fa;
  background: #100e18;
  font-synthesis: none;
  --muted: #b0aabe;
  --line: #322b41;
  --mint: #66eee1;
  --pink: #ff618c;
  --yellow: #ffe280;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 90% 8%, #44203c60, transparent 40%), radial-gradient(ellipse at 0 30%, #12332d40, transparent 40%), url("/banana-pattern.svg") repeat; }
main { max-width: 1240px; margin: auto; padding: 28px 32px 36px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 850; font-size: 20px; letter-spacing: 2px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 44px; border-radius: 13px; background: var(--pink); color: #180d20; box-shadow: -3px 3px 0 var(--mint); font-size: 28px; transform: rotate(-7deg); }
.brand-sub { display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px; margin-top: 2px; color: var(--muted); }
nav { display: flex; gap: 25px; font-size: 13px; color: var(--muted); }
nav a { padding: 10px 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
nav [aria-current] { color: #fff; box-shadow: 0 2px var(--pink); }
.tiny-tag { color: var(--muted); font-size: 9px; letter-spacing: 1.4px; font-weight: 650; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 35px; padding: 56px 0 40px; }
.eyebrow { color: var(--mint); font-size: 10px; letter-spacing: 2px; font-weight: 750; margin: 0 0 14px; }
.spark { color: var(--yellow); font-size: 16px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 1.4px; line-height: 1.5; }
.tiktok-logo { flex-shrink: 0; border-radius: 8px; box-shadow: -2px 2px var(--mint), 2px -2px var(--pink); }
h1 { font-size: clamp(36px, 4.8vw, 62px); letter-spacing: -2.6px; margin: 0; line-height: 1.08; font-weight: 850; }
.gradient-text { background: linear-gradient(100deg, #ffb783, #ffe8a0 55%, #fff5d0); background-clip: text; color: transparent; }
.subtitle { margin: 22px 0 0; max-width: 490px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-lyrics { display: flex; align-items: center; gap: 18px; max-width: 490px; margin: 24px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--pink); border-radius: 0 16px 16px 0; background: linear-gradient(110deg, #ff618c12, #66eee10d 65%, #ffe28012); }
.lyric-music { flex: 0 0 32px; display: grid; justify-items: center; gap: 10px; color: var(--yellow); }
.lyric-music > span { font-size: 34px; line-height: 1; }
.hero-lyrics p { margin: 0; min-width: 0; font-size: 17px; font-style: italic; font-weight: 500; line-height: 1.8; }
.hero-lyrics p > span { display: block; }
.hero-lyrics p > span:nth-child(2) { color: var(--mint); }
.hero-lyrics p > span:nth-child(3) { color: var(--yellow); }
.hero-lyrics strong { font-weight: 800; }
.hero-lyrics .lyric-refrain { margin-top: 4px; color: var(--pink); font-size: 1.12em; font-weight: 800; letter-spacing: .3px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tags > span { font-size: 10px; padding: 7px 11px; border-radius: 25px; background: #201b2a; border: 1px solid var(--line); color: #d5cede; }
.stage-art { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 560px; isolation: isolate; background: radial-gradient(ellipse, #ffe28012, transparent 66%); }
.stage-disc { position: relative; z-index: 1; width: 230px; height: 230px; overflow: visible; border-radius: 50%; border: 1px solid #ffe28099; background: radial-gradient(circle, #514029, #201925 70%); box-shadow: 0 0 80px #ffe28018, 0 0 120px #ff618c18, inset 0 0 0 12px #120f1a, inset 0 0 0 13px #8b7047; }
.ajdar-portrait { position: absolute; bottom: 0; left: 50%; display: block; width: auto; height: calc(100% - 14px); object-fit: contain; object-position: center bottom; transform: translateX(-50%) scale(2); filter: drop-shadow(0 0 12px #ffe28025); }
@property --gift-turn { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.gift-orbit { --gift-size: 64px; position: absolute; z-index: 2; width: calc(100% - var(--gift-size) - 16px); aspect-ratio: 1; margin: 0; padding: 0; list-style: none; border: 1px solid #66eee12b; border-radius: 50%; animation: gift-orbit-turn 40s linear infinite; }
.gift-orbit-slot { position: absolute; top: 0; left: 50%; width: 0; height: 50%; transform-origin: bottom; transform: rotate(calc(var(--gift-angle) + var(--gift-turn))); }
.gift-orbit-position { position: absolute; top: 0; left: 50%; width: var(--gift-size); height: var(--gift-size); transform: translate(-50%, -50%); }
.gift-sticker { display: grid; place-items: center; width: 100%; height: 100%; padding: 6px; border-radius: 14px; background: linear-gradient(145deg, #362b25, #1b1623); border: 1px solid #ae8555; box-shadow: 0 8px 18px #0005; transform: rotate(calc(-1 * (var(--gift-angle) + var(--gift-turn)))); }
.gift-sticker img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-orbit-slot:nth-child(3n + 2) .gift-sticker { border-color: #578fc1; background: linear-gradient(145deg, #20384e, #1b1623); }
.gift-orbit-slot:nth-child(3n) .gift-sticker { border-color: #b45883; background: linear-gradient(145deg, #422238, #1b1623); }
.gift-image-missing { color: var(--muted); font-size: 10px; text-align: center; }
@keyframes gift-orbit-turn { to { --gift-turn: 360deg; } }
.equalizer { display: flex; height: 40px; align-items: end; gap: 5px; position: absolute; bottom: 0; right: 48px; transform: rotate(10deg); }
.equalizer i { width: 6px; background: var(--mint); border-radius: 4px; height: 20px; animation: beat 1.4s ease-in-out infinite alternate; }
.equalizer i:nth-child(2n) { height: 38px; animation-delay: -.6s; background: var(--pink); }
.equalizer i:nth-child(3n) { height: 28px; animation-delay: -.3s; background: var(--yellow); }
.hero-lyrics .equalizer { position: static; display: flex; height: 22px; gap: 3px; transform: none; }
.hero-lyrics .equalizer i { width: 3px; height: 12px; }
.hero-lyrics .equalizer i:nth-child(2n) { height: 22px; }
.hero-lyrics .equalizer i:nth-child(3n) { height: 16px; }
@keyframes beat { to { transform: scaleY(.45); transform-origin: bottom; } }
.panel { background: #191521; border: 1px solid var(--line); border-radius: 16px; }
.account-panel { display: flex; align-items: center; gap: 25px; padding: 22px 24px; background: linear-gradient(105deg, #21202b, #191521); }
.account-identity { display: flex; align-items: center; gap: 13px; flex-shrink: 0; max-width: 45%; }
.account-identity > div { min-width: 0; }
.avatar { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: linear-gradient(140deg, #66eee1, #b5e79a); color: #16211d; font-size: 27px; font-weight: 850; flex-shrink: 0; }
h2 { margin: 0; font-size: 21px; letter-spacing: -.5px; font-weight: 750; }
.account-identity h2 { font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 6px; letter-spacing: 0; }
select, button { font: inherit; min-height: 44px; border-radius: 9px; }
select { border: 1px solid var(--line); background: #120f1b; color: #ede7f5; padding: 8px 30px 8px 11px; max-width: 100%; font-size: 12px; }
.account-identity select { font-size: 13px; }
button { border: 1px solid transparent; padding: 9px 16px; background: var(--mint); color: #0f2622; font-size: 12px; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { filter: brightness(1.2); }
button.secondary { color: #d9d1e5; background: #241e30; border-color: #3c314d; }
button:disabled { opacity: .4; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.hint { color: var(--muted); font-size: 11px; line-height: 1.7; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; background: #2c2735; color: #cbc2d8; font-size: 10px; font-weight: 650; padding: 5px 9px; white-space: nowrap; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge[data-status="connected"] { background: #133c35; color: var(--mint); }
.status-badge[data-status="connecting"] { background: #392e18; color: var(--yellow); }
.status-badge[data-status="error"], .status-badge[data-status="disconnected"] { background: #442333; color: #ffacc1; }
.broadcast-badge { padding: 9px 14px; border: 1px solid currentColor; font-size: 14px; font-weight: 800; letter-spacing: .7px; }
.broadcast-badge::before { width: 8px; height: 8px; }
.broadcast-badge[data-status="offline"] { background: #442333; color: #ffacc1; }
.connection-copy { flex: 1; min-width: 0; }
.connection-copy p { font-size: 12px; line-height: 1.6; margin: 7px 0 0; overflow-wrap: anywhere; }
.connection-copy .hint { font-size: 10px; margin-top: 4px; }
.live-numbers { display: flex; gap: 26px; }
.live-numbers div { display: flex; flex-direction: column; gap: 6px; }
.live-numbers strong { color: var(--yellow); font-size: 22px; font-variant-numeric: tabular-nums; }
.live-numbers span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 20px; }
.section-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
.section-heading .hint { margin: 7px 0 0; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.periods { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: #191521; border: 1px solid var(--line); border-radius: 12px; }
.periods button { color: var(--muted); background: transparent; border: 0; font-size: 11px; padding: 8px 18px; }
.periods button[aria-pressed="true"] { background: var(--pink); color: #1a0c17; box-shadow: 0 3px 14px #ff618c26; }
#stats-status { margin: 13px 1px 16px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 20px; display: flex; flex-direction: column; gap: 13px; overflow-wrap: anywhere; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--card-color), transparent); opacity: .7; }
.stat-pink { --card-color: var(--pink); }
.stat-cyan { --card-color: var(--mint); }
.stat-yellow { --card-color: var(--yellow); }
.stat-purple { --card-color: #b79aff; }
.stat > span { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #cfc6dd; }
.stat b { color: var(--card-color); font-size: 20px; font-weight: 400; }
.stat strong { font-size: 36px; letter-spacing: -1px; font-variant-numeric: tabular-nums; font-weight: 750; }
.stat small { color: var(--muted); font-size: 10px; line-height: 1.6; }
.leaderboard-heading { margin-top: 34px; }
.ranking-control { display: flex; align-items: center; gap: 10px; }
label { font-size: 11px; color: var(--muted); }
.leaderboards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.leaderboard { overflow: hidden; }
.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.feed-heading h2 { font-size: 17px; }
.feed-heading h3 { margin: 0; font-size: 14px; font-weight: 650; }
.feed-heading h3 span { font-size: 22px; margin-right: 7px; }
.feed-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
.pink-text { color: var(--pink); }
.cyan-text { color: var(--mint); }
.ranking-list { padding: 0 22px; margin: 0; list-style: none; }
.ranking-list li { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid #2c2537; }
.ranking-list li:last-child { border-bottom: 0; }
.rank { display: grid; place-items: center; color: #aca2bd; background: #252030; width: 32px; height: 32px; border-radius: 10px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.ranking-list li:first-child .rank { color: var(--yellow); background: #3b3125; border: 1px solid #6a5330; }
.leader-identity { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.leader-identity strong { font-size: 13px; font-weight: 650; }
.leader-name { display: flex; align-items: center; gap: 8px; }
.leader-name > span:last-child { min-width: 0; }
.leader-image { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; }
.leader-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.leader-image .gift-image-missing { font-size: 8px; line-height: 1.2; }
#top-gifters .leader-image img { border-radius: 50%; object-fit: cover; }
.leader-identity small, .leader-score small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.leader-score { text-align: right; flex-shrink: 0; max-width: 42%; overflow-wrap: anywhere; }
.leader-score strong { font-size: 14px; color: var(--mint); font-variant-numeric: tabular-nums; }
.leader-score .unknown-note { color: var(--yellow); font-size: 9px; }
.empty-inline { padding: 26px 22px; color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.feed { overflow: hidden; margin-top: 38px; }
.empty-state { padding: 45px 24px 48px; text-align: center; }
.gift-mark { margin: 0 auto 16px; background: #302237; color: var(--pink); border: 1px solid #4b2c46; width: 55px; height: 55px; border-radius: 18px; font-size: 35px; line-height: 50px; transform: rotate(-8deg); }
h3 { font-size: 16px; font-weight: 650; }
.empty-state p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.empty-state .tiny-tag { display: inline-block; margin-top: 16px; font-size: 8px; }
.table-container { overflow-x: auto; max-height: 560px; }
table { width: 100%; text-align: left; border-collapse: collapse; font-size: 12px; }
th { background: #211a2c; position: sticky; top: 0; z-index: 2; color: var(--muted); font-size: 10px; font-weight: 600; }
th, td { padding: 14px 18px; border-bottom: 1px solid #2c2438; }
td { overflow-wrap: anywhere; max-width: 230px; }
td:first-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 11px; }
.new-gift { position: relative; }
.new-gift > td { position: relative; z-index: 1; }
.new-gift::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, #ffe2802e, #66eee124 55%, #ff618c2e); opacity: 0; animation: gift-highlight 30s linear both; animation-delay: var(--gift-highlight-delay, 0s); }
@keyframes gift-highlight { from { opacity: 1; } to { opacity: 0; } }
.sender small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.gift-info { display: flex; align-items: center; gap: 10px; min-width: 100px; }
.gift-info img { object-fit: contain; flex-shrink: 0; }
.quantity { font-weight: 650; color: var(--mint); }
.diamonds { font-variant-numeric: tabular-nums; }
.gift-status { font-size: 10px; min-width: 110px; }
.gift-status.complete { color: var(--mint); }
.gift-status.in-progress { color: var(--yellow); }
.gift-status.interrupted { color: #ff9fbc; }
.error, .warning { color: #ffbbcf; border: 1px solid #6c354f; background: #341d2c; padding: 14px; border-radius: 10px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.warning { color: var(--yellow); background: #30271d; border-color: #645038; }
footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.9; }
footer p { margin: 8px 0; }
.footer-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.footer-heading strong { color: #e3dceb; font-size: 11px; letter-spacing: 1.3px; }
.footer-heading a { color: var(--mint); font-size: 11px; }
.history-intro { padding: 48px 0 30px; }
.history-intro h1 { font-size: clamp(36px, 5vw, 54px); }
.history-filter { display: flex; gap: 16px; align-items: end; padding: 20px; margin-bottom: 22px; }
.history-filter label { display: block; margin-bottom: 8px; }
.history-filter .hint { margin-left: auto; align-self: center; }
.history-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); align-items: start; gap: 18px; }
.session-panel, .history-detail { overflow: hidden; }
.session-button { display: block; width: 100%; text-align: left; background: transparent; color: #e4dced; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 22px; overflow-wrap: anywhere; }
.session-button strong, .session-button span, .session-button small { display: block; }
.session-button span, .session-button small { margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 400; }
.session-button[aria-pressed="true"] { background: #302436; box-shadow: inset 3px 0 var(--pink); }
.pagination { display: flex; justify-content: space-between; gap: 8px; padding: 17px; }
.pagination button { padding: 8px 12px; font-size: 11px; }
.history-detail .feed-heading { flex-wrap: wrap; }
.history-detail h2 { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.history-summary { display: flex; flex-wrap: wrap; gap: 25px; padding: 20px 22px 8px; }
.history-summary span { font-size: 11px; color: var(--muted); }
.history-summary strong { display: block; font-size: 24px; color: var(--mint); margin-top: 5px; }
.detail-note { margin: 12px 22px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: 12px; background: #1d1924; color: var(--mint); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@media (max-width: 1000px) {
  .account-panel { flex-wrap: wrap; }
  .account-identity { max-width: 50%; }
  .live-numbers { flex-basis: 100%; padding-left: 62px; }
  .hero { gap: 12px; grid-template-columns: 1fr; }
  .stage-art { width: min(100%, 560px); justify-self: center; }
  .leader-score strong { font-size: 12px; }
  .history-layout { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 680px) {
  main { padding: 20px 16px; }
  .page-header { gap: 12px; flex-wrap: wrap; padding-bottom: 18px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 35px; font-size: 22px; }
  nav { gap: 16px; font-size: 11px; }
  .hero { display: block; padding: 36px 0 27px; }
  h1 { font-size: 43px; letter-spacing: -2px; }
  .hero .eyebrow { font-size: 13px; letter-spacing: .8px; }
  .stage-art { min-height: 440px; margin-top: 22px; }
  .stage-disc { width: 160px; height: 160px; }
  .gift-orbit { --gift-size: 42px; }
  .gift-sticker { padding: 4px; border-radius: 10px; }
  .gift-image-missing { font-size: 8px; }
  .equalizer { display: none; }
  .subtitle { font-size: 13px; margin-top: 17px; }
  .hero-lyrics { gap: 12px; margin-top: 20px; padding: 14px; }
  .hero-lyrics p { font-size: 14px; }
  .hero-tags { gap: 6px; margin-top: 19px; }
  .hero-tags > span { padding: 6px 8px; font-size: 9px; }
  .account-panel { padding: 18px; gap: 17px; }
  .account-identity { max-width: 100%; width: 100%; }
  select, .account-identity select { font-size: 16px; }
  .connection-copy { flex-basis: 100%; }
  .live-numbers { padding-left: 0; padding-top: 13px; border-top: 1px solid var(--line); }
  .feed { margin-top: 27px; }
  h2 { font-size: 19px; }
  .section-heading { gap: 10px; }
  .filter-bar { flex-wrap: wrap; gap: 9px; }
  .periods { width: 100%; justify-content: space-between; gap: 0; }
  .periods button { padding: 8px; font-size: 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px 13px; gap: 10px; }
  .stat > span { font-size: 10px; gap: 6px; }
  .stat strong { font-size: 30px; }
  .stat small { font-size: 9px; }
  .leaderboard-heading { flex-wrap: wrap; }
  .ranking-control { width: 100%; justify-content: space-between; }
  .leaderboards { grid-template-columns: 1fr; gap: 15px; }
  .feed-heading { padding: 17px; }
  .ranking-list { padding: 0 17px; }
  .leader-image { width: 28px; height: 28px; }
  .feed-heading .tiny-tag { font-size: 8px; }
  th, td { padding: 12px; }
  .table-container { max-height: none; overflow: visible; padding: 12px; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: #211a2b; margin-bottom: 12px; padding: 8px; gap: 5px; }
  tbody tr:last-child { margin-bottom: 0; }
  td { display: block; max-width: none; min-width: 0; padding: 9px; border: 0; font-size: 12px; }
  td::before { content: attr(data-label); display: block; font-size: 9px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
  td:first-child, td:nth-child(2), td:nth-child(3) { grid-column: 1 / -1; }
  td:first-child { white-space: normal; }
  td:first-child::before { display: inline; margin-right: 9px; }
  .gift-status { min-width: 0; }
  .gift-info { min-width: 0; }
  .gift-info img { width: 30px; height: 30px; }
  .feed .table-container { max-height: min(60vh, 480px); overflow: auto; padding: 10px; }
  :is(.feed, .history-detail) tbody tr { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: "time time time time status status" "sender sender sender gift gift gift" "quantity quantity unit unit total total"; padding: 10px; gap: 8px; margin-bottom: 8px; }
  :is(.feed, .history-detail) tbody tr:last-child { margin-bottom: 0; }
  :is(.feed, .history-detail) td { padding: 0; font-size: 12px; }
  :is(.feed, .history-detail) td::before { font-size: 9px; margin-bottom: 3px; }
  :is(.feed, .history-detail) td:nth-child(1) { grid-area: time; font-size: 10px; }
  :is(.feed, .history-detail) td:nth-child(2) { grid-area: sender; }
  :is(.feed, .history-detail) td:nth-child(3) { grid-area: gift; }
  :is(.feed, .history-detail) td:nth-child(4) { grid-area: quantity; }
  :is(.feed, .history-detail) td:nth-child(5) { grid-area: unit; }
  :is(.feed, .history-detail) td:nth-child(6) { grid-area: total; }
  :is(.feed, .history-detail) td:nth-child(7) { grid-area: status; text-align: right; font-size: 10px; }
  :is(.feed, .history-detail) td:nth-child(1)::before, :is(.feed, .history-detail) td:nth-child(2)::before, :is(.feed, .history-detail) td:nth-child(3)::before, :is(.feed, .history-detail) td:nth-child(7)::before { display: none; }
  :is(.feed, .history-detail) .sender small { font-size: 10px; margin-top: 3px; }
  :is(.feed, .history-detail) .gift-info { gap: 6px; }
  :is(.feed, .history-detail) .gift-info img { width: 26px; height: 26px; }
  .footer-heading { align-items: start; flex-direction: column; }
  .history-filter { flex-wrap: wrap; padding: 17px; }
  .history-filter .hint { margin-left: 0; }
  .history-layout { grid-template-columns: minmax(0, 1fr); }
  #sessions { max-height: 330px; overflow-y: auto; }
}
