.tx-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tx-container .portfolio-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.45);
    background:
        linear-gradient(110deg, rgba(139, 92, 246, 0.18) 0%, rgba(59, 130, 246, 0.08) 45%, rgba(15, 23, 42, 0) 100%);
}

.tx-container .portfolio-title::before {
    content: "\f0f3";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.65rem;
    font-size: 1.05em;
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.5);
}

.tx-container .portfolio-description {
    color: #c4b5fd;
}

.tx-section {
    padding-bottom: 0.2rem;
}

.tx-form {
    width: 100%;
}

/* tx 페이지 내부 박스 간격 압축 */
.tx-container .wallet-connection-section,
.tx-container .assets-section {
    padding: 0.55rem 0.95rem;
}

.tx-container .assets-header {
    margin-bottom: 0.45rem;
}

.tx-filter-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tx-filter-select,
.tx-filter-input {
    height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.78);
    color: var(--text-secondary);
    border-radius: 0.45rem;
    font-size: 0.78rem;
}

.tx-filter-select {
    padding: 0 0.5rem;
    min-width: 78px;
}

.tx-filter-input {
    padding: 0 0.6rem;
    min-width: 180px;
}

.tx-container .assets-content {
    padding-top: 0.15rem;
}

.tx-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.tx-input-field {
    min-width: 0;
}

.tx-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tx-limit-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    margin-top: 0.4rem;
}

.tx-limit-label {
    font-size: var(--fs-sm);
    color: var(--text-tertiary);
}

.tx-limit-input {
    width: 72px;
    padding: 0 0.35rem;
    text-align: right;
}

.tx-limit-range {
    width: 140px;
    accent-color: #60a5fa;
}

.tx-limit-input,
.tx-limit-range {
    appearance: auto;
}

.tx-limit-select {
    min-width: 84px;
    padding: 0.42rem 0.5rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.tx-btn-primary {
    min-width: 94px;
    border-radius: 0.55rem;
    background: linear-gradient(130deg, #3b82f6, #6366f1);
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.22);
}

.tx-btn-secondary {
    min-width: 94px;
    border-radius: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.75);
    color: #e2e8f0;
}

.tx-btn-primary:hover,
.tx-btn-secondary:hover {
    transform: translateY(-1px);
}

.tx-error {
    margin-top: 0.3rem;
    color: #fca5a5;
    font-size: var(--fs-base);
    font-weight: 600;
}

.tx-table {
    table-layout: fixed;
    width: 100%;
    min-width: 980px;
}

.tx-col-fixed-direction {
    width: 110px;
}

.tx-col-fixed-time {
    width: 162px;
}

.tx-col-fixed-ada {
    width: 114px;
}

.tx-col-fixed-hash {
    width: auto;
}

.tx-col-fluid-token {
    width: auto;
}

.tx-col-fixed-counterparty {
    width: 280px;
}

.tx-col-fixed-hash {
    width: 170px;
}

#txListWrap .assets-content {
    padding-top: 0.12rem;
}

#txListWrap .assets-table {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.8rem;
    overflow: auto;
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.55) 100%);
}

#txListWrap .assets-table-content thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap;
    text-align: center;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

#txListWrap .assets-table-content tbody tr {
    transition: background 0.2s ease, transform 0.2s ease;
}

#txListWrap .assets-table-content tbody tr:hover {
    background: rgba(59, 130, 246, 0.09);
}

#txListWrap .assets-table-content tbody tr.tx-row-in td {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-out td {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-swap td {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.05) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-defi td {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0.05) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-in:hover td {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.08) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-out:hover td {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.08) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-swap:hover td {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.08) 100%);
}

#txListWrap .assets-table-content tbody tr.tx-row-defi:hover td {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.24) 0%, rgba(139, 92, 246, 0.1) 100%);
}

#txListWrap .assets-table-content tbody td {
    white-space: nowrap;
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 0.84rem;
}

.tx-empty-row {
    text-align: center;
    color: var(--text-tertiary);
    padding: 0.8rem 0.4rem;
}

.tx-mobile-list {
    display: none;
}

.tx-mobile-card,
.tx-mobile-empty {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.74);
}

.tx-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px;
}

.tx-mobile-card.tx-row-in {
    border-left: 3px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(15, 23, 42, 0.74) 32%);
}

.tx-mobile-card.tx-row-out {
    border-left: 3px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(15, 23, 42, 0.74) 32%);
}

.tx-mobile-card.tx-row-swap {
    border-left: 3px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(15, 23, 42, 0.74) 32%);
}

.tx-mobile-card.tx-row-defi {
    border-left: 3px solid #8b5cf6;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.12), rgba(15, 23, 42, 0.74) 32%);
}

.tx-mobile-card-head,
.tx-mobile-line,
.tx-mobile-copy-row,
.tx-mobile-duo-line,
.tx-mobile-duo-item {
    display: flex;
    align-items: center;
    min-width: 0;
}

.tx-mobile-card-head {
    justify-content: space-between;
    gap: 10px;
}

.tx-mobile-ada {
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.tx-mobile-time {
    flex: 1 1 auto;
    min-width: 0;
    color: #8fb0dc;
    font-size: 11px;
    font-weight: 800;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tx-mobile-line {
    justify-content: space-between;
    gap: 10px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.26);
}

.tx-mobile-line > span {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

.tx-mobile-line > strong,
.tx-mobile-copy-row {
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 12px;
    text-align: right;
}

.tx-mobile-copy-row {
    gap: 6px;
}

.tx-mobile-copy-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tx-mobile-duo-line {
    justify-content: space-between;
    gap: 6px;
}

.tx-mobile-duo-item {
    flex: 1 1 0;
    justify-content: space-between;
    gap: 5px;
    overflow: hidden;
    min-height: 28px;
    padding: 5px 7px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.22);
}

.tx-mobile-duo-item > span {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

.tx-mobile-duo-link {
    flex: 0 0 auto;
}

.tx-mobile-duo-link .tx-hash-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tx-mobile-line .tx-ellipsis {
    max-width: 100%;
    text-align: right;
}

.tx-mobile-empty {
    padding: 14px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.tx-center {
    text-align: center !important;
}

.tx-right {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.tx-net {
    font-weight: 600;
}

.tx-positive {
    color: #86efac;
}

.tx-negative {
    color: #fca5a5;
}

.tx-swap {
    color: #fcd34d;
}

.tx-defi {
    color: #c4b5fd;
}

.tx-col-direction {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    text-align: center;
}

.tx-col-time {
    width: 162px;
    min-width: 162px;
    max-width: 162px;
    text-align: center;
}

.tx-col-ada {
    width: 114px;
    min-width: 114px;
    max-width: 114px;
    letter-spacing: -0.01em;
}

.tx-ada-positive {
    color: #60a5fa !important;
    font-weight: 700;
}

.tx-ada-negative {
    color: #f87171 !important;
    font-weight: 700;
}

.tx-token-positive {
    color: #60a5fa !important;
    font-weight: 700;
}

.tx-token-negative {
    color: #f87171 !important;
    font-weight: 700;
}

.tx-col-time .tx-ellipsis {
    text-align: center;
}

.tx-col-token {
    width: auto;
    min-width: 0;
    max-width: none;
    text-align: center;
}

.tx-col-counterparty {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
}

.tx-counterparty-box {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.tx-copy-btn {
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.75);
    color: #cbd5e1;
    border-radius: 0.35rem;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.22rem 0.4rem;
    cursor: pointer;
}

.tx-copy-btn:hover {
    border-color: rgba(147, 197, 253, 0.75);
    color: #dbeafe;
}

.tx-col-hash {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}

.tx-direction-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid currentColor;
    background: rgba(15, 23, 42, 0.45);
}

.tx-ellipsis {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tx-hash-link {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #93c5fd;
    text-decoration: none;
}

.tx-hash-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.tx-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.4rem 0.1rem 0.2rem;
}

.tx-summary-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.52);
    border-radius: 0.65rem;
    padding: 0.55rem 0.65rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.tx-summary-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.tx-summary-label {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
}

.tx-summary-value {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.tx-summary-copy-btn {
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.75);
    color: #cbd5e1;
    border-radius: 0.35rem;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.2rem 0.38rem;
    cursor: pointer;
}

.tx-summary-copy-btn:hover {
    border-color: rgba(147, 197, 253, 0.75);
    color: #dbeafe;
}

@media (max-width: 900px) {
    .tx-input-row {
        grid-template-columns: 1fr;
    }

    .tx-limit-wrap {
        justify-content: flex-start;
    }

    .tx-action-buttons {
        justify-content: center;
    }

    .tx-filter-wrap {
        width: 100%;
        justify-content: flex-end;
    }

    .tx-filter-input {
        min-width: 130px;
    }

    .tx-limit-range {
        width: 110px;
    }

    .tx-btn-primary,
    .tx-btn-secondary {
        min-width: 120px;
    }

    .tx-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .renew-transaction.pc-portfolio {
        display: block !important;
    }
}

/* Transaction refresh */
.renew-transaction.portfolio-wrapper {
    padding: 0;
    overflow: visible;
}

.renew-transaction.portfolio-wrapper::before {
    display: none;
}

.renew-transaction .tx-container {
    gap: 16px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.renew-transaction .tx-container:hover {
    transform: none;
    box-shadow: none;
}

.renew-transaction .portfolio-header {
    min-height: 94px;
    padding: 18px 20px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(20, 184, 166, 0.1)),
        rgba(2, 6, 23, 0.72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.renew-transaction .portfolio-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #f8fbff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    text-shadow: none;
}

.renew-transaction .portfolio-title::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #60a5fa, #2dd4bf);
    color: #00111a;
    content: "\f542";
    font-family: "Font Awesome 6 Free";
    font-size: 17px;
    font-weight: 900;
    text-shadow: none;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.12);
}

.renew-transaction .tx-title-text {
    background: none;
    color: #f8fbff;
    text-shadow: none;
}

.renew-transaction .portfolio-description {
    margin-left: auto;
    padding: 7px 11px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    color: #ccfbf1;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.renew-transaction .wallet-connection-section,
.renew-transaction .assets-section {
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.56);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.renew-transaction .tx-form,
.renew-transaction .input-section {
    margin: 0;
}

.renew-transaction .input-section {
    gap: 10px;
}

.renew-transaction .input-label {
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
}

.renew-transaction .input-label::before {
    width: 7px;
    height: 7px;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.renew-transaction .tx-input-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.renew-transaction .tx-input-field input {
    min-height: 46px;
    border-color: rgba(96, 165, 250, 0.36);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fbff;
    font-size: 14px;
}

.renew-transaction .tx-input-field input:focus {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

.renew-transaction .tx-action-buttons {
    justify-content: center;
    gap: 8px;
}

.renew-transaction .tx-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.renew-transaction .tx-btn-primary,
.renew-transaction .tx-btn-secondary {
    min-height: 42px;
    min-width: 116px;
    border-radius: 12px;
    font-weight: 900;
}

.renew-transaction .tx-btn-primary {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.renew-transaction .tx-btn-secondary {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.74);
}

.renew-transaction .tx-limit-wrap {
    display: grid;
    grid-template-columns: auto 74px minmax(140px, 260px);
    gap: 8px;
    align-items: center;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.46);
}

.renew-transaction .tx-limit-label {
    color: #b8cae8;
    font-size: 12px;
    font-weight: 900;
}

.renew-transaction .tx-limit-input {
    height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.54);
    color: #f8fbff;
}

.renew-transaction .tx-limit-range {
    width: 100%;
}

.renew-transaction .assets-header {
    gap: 10px;
    margin-bottom: 12px;
}

.renew-transaction .assets-title {
    color: #f8fbff;
    font-size: 18px;
    font-weight: 900;
}

.renew-transaction .assets-title i {
    color: #60a5fa;
}

.renew-transaction .tx-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
}

.renew-transaction .tx-summary-item {
    padding: 12px;
    border-color: rgba(96, 165, 250, 0.22);
    border-radius: 13px;
    background: rgba(15, 23, 42, 0.7);
}

.renew-transaction .tx-summary-label {
    color: #8fb0dc;
    font-size: 11px;
    font-weight: 900;
}

.renew-transaction .tx-summary-value {
    color: #f8fbff;
    font-size: 13px;
}

.renew-transaction .tx-summary-copy-btn,
.renew-transaction .tx-copy-btn {
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.1);
    color: #ccfbf1;
}

.renew-transaction .tx-filter-wrap {
    margin-left: auto;
}

.renew-transaction .tx-filter-select,
.renew-transaction .tx-filter-input {
    height: 36px;
    border-color: rgba(96, 165, 250, 0.26);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
}

.renew-transaction #txListWrap .assets-table {
    border-radius: 14px;
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.42);
}

.renew-transaction #txListWrap .assets-table-content thead th {
    padding: 11px 10px;
    background: rgba(15, 23, 42, 0.94);
    color: #b8cae8;
    font-size: 12px;
    font-weight: 900;
}

.renew-transaction #txListWrap .assets-table-content tbody td {
    padding: 9px 10px;
}

.renew-transaction .tx-direction-chip {
    min-width: 64px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.renew-transaction .tx-error {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(248, 113, 113, 0.28);
    border-radius: 12px;
    background: rgba(127, 29, 29, 0.22);
}

@media (max-width: 900px) {
    .renew-transaction .tx-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .renew-transaction .portfolio-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: auto;
        padding: 12px;
    }

    .renew-transaction .portfolio-title {
        flex: 0 0 auto;
        gap: 8px;
        font-size: 18px;
    }

    .renew-transaction .portfolio-title::before {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 14px;
    }

    .renew-transaction .portfolio-description {
        flex: 0 1 auto;
        margin-left: 0;
        padding: 6px 8px;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .renew-transaction .wallet-connection-section,
    .renew-transaction .assets-section {
        padding: 12px;
    }

    .renew-transaction .tx-action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .renew-transaction .tx-btn-primary,
    .renew-transaction .tx-btn-secondary {
        min-width: 0;
        width: 100%;
    }

    .renew-transaction .tx-limit-wrap {
        grid-template-columns: auto 66px minmax(90px, 1fr);
        padding: 8px;
    }

    .renew-transaction .assets-header {
        align-items: stretch;
    }

    .renew-transaction .tx-filter-wrap {
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .renew-transaction .tx-filter-input {
        min-width: 0;
    }

    .renew-transaction .tx-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .renew-transaction .tx-summary-item {
        padding: 8px;
        gap: 3px;
        min-width: 0;
    }

    .renew-transaction .tx-summary-label {
        font-size: 10px;
    }

    .renew-transaction .tx-summary-value {
        font-size: 11px;
        line-height: 1.25;
    }

    .renew-transaction .tx-summary-line {
        gap: 4px;
    }

    .renew-transaction .tx-summary-copy-btn {
        padding: 3px 6px;
        font-size: 10px;
    }

    .renew-transaction #txListWrap .assets-table {
        display: none;
    }

    .renew-transaction .tx-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .renew-transaction .tx-mobile-card {
        gap: 6px;
        padding: 9px 9px 9px 10px;
        border-radius: 11px;
    }

    .renew-transaction .tx-mobile-card-head {
        gap: 8px;
    }

    .renew-transaction .tx-mobile-ada {
        flex: 0 0 auto;
        font-size: 13px;
    }

    .renew-transaction .tx-mobile-time {
        font-size: 10px;
        line-height: 1.1;
    }

    .renew-transaction .tx-mobile-line {
        gap: 8px;
        min-height: 27px;
        padding: 4px 7px;
    }

    .renew-transaction .tx-mobile-line > span {
        font-size: 10px;
    }

    .renew-transaction .tx-mobile-line > strong,
    .renew-transaction .tx-mobile-copy-row {
        font-size: 11px;
    }

    .renew-transaction .tx-mobile-card .tx-direction-chip {
        min-width: 54px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .renew-transaction .tx-mobile-card .tx-copy-btn {
        padding: 3px 6px;
        font-size: 10px;
    }

    .renew-transaction .tx-mobile-duo-line {
        gap: 6px;
    }

    .renew-transaction .tx-mobile-duo-item {
        gap: 4px;
        min-height: 27px;
        padding: 4px 6px;
    }

    .renew-transaction .tx-mobile-duo-item > span {
        font-size: 10px;
    }

    .renew-transaction .tx-mobile-duo-link .tx-hash-link {
        font-size: 11px;
        white-space: nowrap;
    }

    .renew-transaction .tx-mobile-line .tx-token-positive,
    .renew-transaction .tx-mobile-line .tx-token-negative {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .renew-transaction .tx-label-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .renew-transaction .tx-limit-wrap {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .renew-transaction .tx-mobile-list {
        gap: 8px;
    }

    .renew-transaction .tx-mobile-card {
        position: relative;
        gap: 7px;
        padding: 10px 11px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-left-width: 3px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.72);
        box-shadow: none;
    }

    .renew-transaction .tx-mobile-card.tx-row-in {
        border-left-color: #10b981;
        background: rgba(6, 20, 29, 0.88);
    }

    .renew-transaction .tx-mobile-card.tx-row-out {
        border-left-color: #ef4444;
        background: rgba(23, 17, 27, 0.88);
    }

    .renew-transaction .tx-mobile-card.tx-row-swap {
        border-left-color: #f59e0b;
        background: rgba(24, 20, 18, 0.88);
    }

    .renew-transaction .tx-mobile-card.tx-row-defi {
        border-left-color: #8b5cf6;
        background: rgba(20, 18, 32, 0.88);
    }

    .tx-mobile-primary,
    .tx-mobile-primary-left,
    .tx-mobile-meta,
    .tx-mobile-address,
    .tx-mobile-open {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .tx-mobile-primary {
        justify-content: space-between;
        gap: 10px;
    }

    .tx-mobile-primary-left {
        flex: 1 1 auto;
        gap: 7px;
        overflow: hidden;
    }

    .renew-transaction .tx-mobile-primary .tx-direction-chip {
        min-width: auto;
        padding: 3px 8px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        font-size: 10px;
        line-height: 1.2;
    }

    .renew-transaction .tx-mobile-time {
        flex: 1 1 auto;
        min-width: 0;
        color: #8da6ca;
        font-size: 10.5px;
        font-weight: 800;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .renew-transaction .tx-mobile-ada {
        flex: 0 0 auto;
        font-size: 14px;
        font-weight: 950;
        letter-spacing: 0;
        line-height: 1.15;
    }

    .tx-mobile-token {
        min-height: 22px;
        overflow: hidden;
        color: #dbeafe;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tx-mobile-token .tx-ellipsis {
        width: 100%;
        text-align: left;
    }

    .tx-mobile-token .tx-token-positive,
    .tx-mobile-token .tx-token-negative {
        display: inline;
        max-width: none;
        white-space: nowrap;
    }

    .tx-mobile-meta {
        justify-content: space-between;
        gap: 8px;
        padding-top: 7px;
        border-top: 1px solid rgba(148, 163, 184, 0.1);
    }

    .tx-mobile-address,
    .tx-mobile-open {
        height: 26px;
        gap: 5px;
        border: 0;
        border-radius: 999px;
        background: rgba(2, 6, 23, 0.32);
        color: #aebfda;
        font-size: 11px;
        font-weight: 850;
        text-decoration: none;
    }

    .tx-mobile-address {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding: 0 9px;
        overflow: hidden;
        cursor: pointer;
    }

    .tx-mobile-address span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tx-mobile-open {
        flex: 0 0 auto;
        justify-content: center;
        padding: 0 10px;
        color: #93c5fd;
    }

    .tx-mobile-address:active,
    .tx-mobile-open:active {
        transform: scale(0.98);
    }
}
