main.wallets { .wallets__results { display: grid; gap: 1rem; min-width: 0; } .wallets__activity { display: grid; gap: 1.25rem; :is(h2, h3, p) { margin: 0; } h2 { color: var(--white); font-size: var(--font-size-lg); font-weight: 400; line-height: var(--line-height-lg); } h3 { color: var(--gray); font-size: var(--font-size-xs); font-weight: 400; line-height: var(--line-height-xs); text-transform: uppercase; } > section { display: grid; gap: 0.5rem; > ol { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 0.875rem 0; border-bottom: 1px solid color-mix( in oklch, var(--gray) 18%, transparent ); @media (max-width: 34rem) { grid-template-columns: 1fr; } > div:first-child { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; min-width: 0; strong { color: var(--white); font-weight: 500; } > span { color: var(--white); white-space: nowrap; &[data-wallets-tx-amount="positive"] { color: var(--green); } &[data-wallets-tx-amount="negative"] { color: var(--red); } } } > p { grid-column: 1; min-width: 0; color: var(--gray); font-size: var(--font-size-sm); line-height: var(--line-height-sm); code { color: inherit; font-family: inherit; } } > details { grid-column: 2; grid-row: 1 / span 2; @media (max-width: 34rem) { grid-column: 1; grid-row: auto; justify-self: start; } &[open] { display: grid; grid-column: 1 / -1; grid-row: auto; gap: 0.75rem; } > summary { display: grid; place-items: center; height: 2rem; border: 1px solid color-mix( in oklch, var(--gray) 45%, transparent ); border-radius: 0.375rem; padding-inline: 0.625rem; color: var(--white); background: transparent; line-height: 1; list-style: none; cursor: pointer; &::marker, &::-webkit-details-marker { display: none; content: ""; } } > div { display: grid; gap: 1rem; code { overflow-wrap: anywhere; color: var(--white); font-family: inherit; } > div { display: grid; gap: 0.75rem; } } } } } } } }