/* Inventory exchange — page ambient + layout (no radial “orbs”; beams / floor / shards) */

.exchange-root {
    --ex-amber: #f59e0b;
    --ex-amber-soft: #fbbf24;
    --ex-gold-deep: #b45309;
    --ex-ink: #030712;
    --ex-ink-mid: #0a1628;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, #040a14 0%, #060d18 42%, #071018 100%);
}

.exchange-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.exchange-ambient__parallax {
    position: absolute;
    inset: -6%;
    will-change: transform;
    transform: translate(
        calc(var(--ex-mx, 0px) * 0.42),
        calc(var(--ex-my, 0px) * 0.32)
    );
    transition: transform 110ms ease-out;
}

.exchange-ambient__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.exchange-ambient__depth {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0%, rgba(180, 83, 9, 0.07) 38%, transparent 62%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.2) 0%, transparent 28%, transparent 68%, rgba(2, 6, 23, 0.45) 100%),
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(251, 191, 36, 0.12) 0%, transparent 55%);
    opacity: 1;
}

.exchange-ambient__beams {
    position: absolute;
    inset: -15% -20%;
}

.exchange-beam {
    position: absolute;
    width: 140%;
    height: 38%;
    left: -20%;
    transform-origin: 50% 50%;
    filter: blur(1px);
    mix-blend-mode: screen;
    animation: ex-beam-pulse 32s ease-in-out infinite;
    background: linear-gradient(
        102deg,
        transparent 0%,
        rgba(251, 191, 36, 0.14) 42%,
        rgba(245, 158, 11, 0.22) 50%,
        rgba(251, 191, 36, 0.12) 58%,
        transparent 100%
    );
}

.exchange-beam--1 {
    top: -8%;
    transform: rotate(-11deg) translateX(calc(var(--ex-mx, 0px) * -0.4));
    animation-delay: 0s;
}

.exchange-beam--2 {
    top: 32%;
    transform: rotate(-8deg) scaleY(0.85) translateX(calc(var(--ex-mx, 0px) * 0.35));
    animation-delay: -10s;
    animation-duration: 38s;
}

.exchange-beam--3 {
    bottom: -12%;
    transform: rotate(-14deg) translateX(calc(var(--ex-mx, 0px) * 0.2));
    animation-delay: -18s;
    animation-duration: 44s;
}

@keyframes ex-beam-pulse {
    0%, 100% { opacity: 0.14; }
    50% { opacity: 0.26; }
}

.exchange-ambient__floor {
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -42%;
    height: 62%;
    transform-origin: 50% 100%;
    transform: perspective(560px) rotateX(79deg) scale(1.12)
        translateX(calc(var(--ex-mx, 0px) * -0.12));
    background-image:
        linear-gradient(90deg, rgba(251, 191, 36, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(251, 191, 36, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 42%, black 100%);
    opacity: 0.4;
    animation: ex-floor-breathe 20s ease-in-out infinite;
}

@keyframes ex-floor-breathe {
    0%, 100% { opacity: 0.34; }
    50% { opacity: 0.48; }
}

.exchange-ambient__ticks {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 52px,
        rgba(251, 191, 36, 0.04) 52px,
        rgba(251, 191, 36, 0.04) 53px
    );
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 42%, transparent 100%);
    animation: ex-ticks-scroll 48s linear infinite;
    opacity: 0.65;
}

@keyframes ex-ticks-scroll {
    from { background-position: 0 0; }
    to { background-position: 0 240px; }
}

.exchange-ambient__silhouette {
    position: absolute;
    left: 8%;
    bottom: 6%;
    width: min(340px, 52vw);
    height: 120px;
    opacity: 0.14;
    transform: translateX(calc(var(--ex-mx, 0px) * 0.08));
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.5) 0%, rgba(251, 191, 36, 0.5) 100%) 0 100% / 6px 42% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.35) 0%, rgba(251, 191, 36, 0.35) 100%) 14% 100% / 5px 68% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.55) 0%, rgba(251, 191, 36, 0.55) 100%) 26% 100% / 7px 52% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0.28) 100%) 40% 100% / 4px 36% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.45) 0%, rgba(251, 191, 36, 0.45) 100%) 52% 100% / 6px 76% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.32) 0%, rgba(251, 191, 36, 0.32) 100%) 66% 100% / 5px 48% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.5) 0%, rgba(251, 191, 36, 0.5) 100%) 78% 100% / 6px 58% no-repeat,
        linear-gradient(180deg, rgba(251, 191, 36, 0.22) 0%, rgba(251, 191, 36, 0.22) 100%) 92% 100% / 5px 32% no-repeat;
    filter: blur(0.5px);
    animation: ex-silhouette-pulse 16s ease-in-out infinite;
}

@keyframes ex-silhouette-pulse {
    0%, 100% { opacity: 0.11; }
    50% { opacity: 0.18; }
}

.exchange-grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.exchange-grid--coarse {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 92% 70% at 50% 28%, black 0%, transparent 72%);
}

.exchange-grid--fine {
    background-image:
        linear-gradient(rgba(251, 191, 36, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.035) 1px, transparent 1px);
    background-size: 14px 14px;
    mask-image: radial-gradient(ellipse 88% 55% at 50% 22%, black 0%, transparent 68%);
    opacity: 0.55;
}

.exchange-noise {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='exn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23exn)'/%3E%3C/svg%3E");
    opacity: 0.038;
}

.exchange-shards {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.exchange-shard {
    position: absolute;
    left: var(--ex-sx, 10%);
    top: var(--ex-sy, 20%);
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, rgba(254, 243, 199, 0.55), transparent);
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
    opacity: 0;
    animation: ex-shard-drift var(--ex-sd, 22s) var(--ex-sdelay, 0s) ease-in-out infinite;
}

@keyframes ex-shard-drift {
    0%, 100% { opacity: 0; transform: translate(0, 0) scaleX(0.6); }
    15% { opacity: 0.55; }
    50% { opacity: 0.4; transform: translate(18px, -28px) scaleX(1); }
    85% { opacity: 0.35; }
}

.exchange-content {
    position: relative;
    z-index: 2;
}

.exchange-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
    padding: 0 var(--spacing-6) var(--spacing-8);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .exchange-stack {
        padding-left: var(--spacing-4);
        padding-right: var(--spacing-4);
    }
}

/* Oracle-style stage hero (icon title → kicker chip → big gradient headline → subtitle).
   No banner divider — the section reads as a hero, with the composer card directly below. */
.exchange-stage-head {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.6rem) var(--spacing-6) clamp(1rem, 2.4vw, 1.6rem);
    border-bottom: 0;
    box-shadow: none;
}

.exchange-stage-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fffbeb;
    text-shadow: 0 0 28px rgba(245, 158, 11, 0.16);
}

.exchange-stage-title i {
    color: #fcd34d;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.35));
}

.ex-headline {
    margin: 0 auto 1.1rem;
    text-align: center;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    font-weight: 400;
}

.ex-headline-kicker {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 600;
    color: rgba(253, 230, 138, 0.78);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.exchange-denari-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(120, 53, 15, 0.32);
    color: #fef3c7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92em;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: help;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.exchange-denari-inline:hover {
    border-color: rgba(252, 211, 77, 0.85);
    background: rgba(180, 83, 9, 0.42);
    color: #fffbeb;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.25);
}

.exchange-denari-inline i {
    color: #fbbf24;
    font-size: 0.95em;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45));
}

.ex-headline-main {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fffbeb;
}

.ex-headline-active {
    color: #ffffff;
}

.ex-gradient-text {
    background: linear-gradient(
        135deg,
        #fef3c7 0%,
        #fcd34d 22%,
        #fbbf24 52%,
        #f59e0b 78%,
        #fde68a 100%
    );
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ex-gradient-shift 5s ease infinite;
}

@keyframes ex-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ex-subtitle {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 0.5rem;
    max-width: 620px;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .ex-gradient-text {
        animation: none !important;
    }
}

.denari-stat .denari-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.denari-stat .denari-stat-value i {
    font-size: 0.95em;
    opacity: 0.95;
}

.denari-stat--popover {
    position: relative;
}

.denari-stat-hover {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    cursor: help;
}

.denari-popover {
    position: fixed;
    z-index: 2147483647;
    width: auto;
    max-width: min(300px, calc(100vw - 20px));
    box-sizing: border-box;
    isolation: isolate;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    filter:
        drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 0 1px rgba(0, 0, 0, 0.35));
    transition:
        opacity 0.18s ease-out,
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.denari-popover.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.denari-popover__shell {
    margin: 0;
}

.denari-popover .profile-inventory-card--mini .profile-inventory-desc--mini {
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.exchange-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
    will-change: opacity, transform;
}

.exchange-stack > .exchange-reveal:nth-child(1) {
    transition-delay: 0.06s;
}

.exchange-stack > .exchange-reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.exchange-stack > .exchange-reveal:nth-child(3) {
    transition-delay: 0.18s;
}

.exchange-stack > .exchange-reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.exchange-reveal.exchange-reveal--in {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .exchange-ambient__parallax {
        transform: none !important;
        transition: none;
    }

    .exchange-beam,
    .exchange-ambient__floor,
    .exchange-ambient__ticks,
    .exchange-ambient__silhouette,
    .exchange-shard {
        animation: none !important;
    }

    .exchange-ambient__ticks {
        opacity: 0.35;
    }

    .exchange-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* Inventory exchange (swap contracts) — yellow “contract” staging UI */

.exchange-composer-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(234, 179, 8, 0.42);
    border-radius: 16px;
    padding: var(--spacing-4);
    margin-bottom: 0;
    background:
        linear-gradient(135deg, rgba(66, 32, 6, 0.38), rgba(15, 23, 42, 0.88)),
        rgba(15, 23, 42, 0.92);
    box-shadow:
        0 12px 28px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 48px rgba(234, 179, 8, 0.12);
}

.exchange-composer-sheen {
    position: absolute;
    inset: -40% -20% 55% -20%;
    transform: rotate(-12deg);
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(250, 204, 21, 0.06) 38%,
        rgba(254, 243, 199, 0.12) 50%,
        rgba(250, 204, 21, 0.05) 62%,
        transparent 100%
    );
    pointer-events: none;
    animation: ex-composer-sheen 14s ease-in-out infinite;
}

/* No diagonal sheen behind swap picker tiles (keeps markup for reduced-motion / future use). */
.exchange-composer-card > .exchange-composer-sheen {
    display: none;
}

@keyframes ex-composer-sheen {
    0%, 100% { opacity: 0.65; transform: rotate(-12deg) translateX(0); }
    50% { opacity: 1; transform: rotate(-11deg) translateX(12px); }
}

@media (prefers-reduced-motion: reduce) {
    .exchange-composer-sheen {
        animation: none !important;
        opacity: 0.85;
    }
}

.exchange-composer-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
}

.exchange-composer-slots {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #fcd34d;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-align: right;
    padding-top: 2px;
}

.exchange-composer-slots--limit .exchange-composer-slots-count {
    color: #f87171;
    font-weight: 800;
}

.exchange-composer-title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fef3c7;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.exchange-composer-title i {
    color: #fbbf24;
}

.exchange-composer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-3);
    align-items: end;
}

@media (max-width: 720px) {
    .exchange-composer-grid {
        grid-template-columns: 1fr;
    }

    .exchange-composer-arrow {
        display: none;
    }
}

.exchange-composer-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fde68a;
    margin-bottom: 6px;
}

.exchange-composer-field select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(234, 179, 8, 0.35);
    background: rgba(15, 23, 42, 0.75);
    color: #fefce8;
    padding: 10px 12px;
    font-size: 14px;
}

.exchange-composer-field select:disabled {
    opacity: 0.55;
}

.exchange-composer-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
    color: #fbbf24;
    font-size: 1.25rem;
}

.exchange-composer-actions {
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-4);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
}

.exchange-composer-actions .exchange-composer-hint {
    text-align: center;
    max-width: 36rem;
}

.exchange-composer-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.55);
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.95), rgba(202, 138, 4, 0.9));
    color: #1c1917;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.35);
}

#exchange-contract-form .exchange-composer-submit {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.exchange-composer-submit:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
}

.exchange-composer-hint {
    font-size: 13px;
    color: #fcd34d;
    max-width: 42ch;
    margin: 0;
}

.exchange-composer-hint a {
    color: #fef08a;
    font-weight: 600;
}

.exchange-composer-locked {
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-3);
    padding: var(--spacing-3);
    border-radius: 12px;
    border: 1px dashed rgba(250, 204, 21, 0.35);
    background: rgba(2, 6, 23, 0.35);
    color: #fde68a;
    font-size: 14px;
    line-height: 1.5;
}

.exchange-composer-locked a {
    color: #fef08a;
    font-weight: 600;
}

.exchange-composer-empty {
    position: relative;
    z-index: 2;
    margin-top: 2px;
    padding: var(--spacing-4) var(--spacing-4) var(--spacing-3);
    border-radius: 12px;
    border: 1px solid rgba(250, 204, 21, 0.16);
    background:
        linear-gradient(165deg, rgba(254, 243, 199, 0.06) 0%, transparent 42%),
        rgba(2, 6, 23, 0.38);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.exchange-composer-empty__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(254, 252, 232, 0.9);
    max-width: 100%;
}

.exchange-composer-empty__venues {
    color: #fbbf24;
    font-weight: 700;
}

/* Contracts area: oracle-style floating pill tabs + scroll body */
.exchange-contracts-shell {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.exchange-contracts-sticky {
    position: sticky;
    top: var(--site-fixed-header-offset, var(--navbar-height, 80px));
    z-index: 6;
    display: flex;
    justify-content: center;
    padding: 0.35rem var(--spacing-6) 0.55rem;
    margin: 0 calc(-1 * var(--spacing-6));
    background: transparent;
}

/* Oracle-style kicker pill (matches .oracle-gate-root .og-elite-badge) */
.exchange-contracts-tab-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

/* Exchange-native kicker (amber / slate — no oracle violet) */
.exchange-swap-contracts-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(30, 41, 59, 0.55) 48%,
        rgba(15, 23, 42, 0.88) 100%
    );
    border: 1px solid rgba(251, 191, 36, 0.42);
    border-radius: 100px;
    box-shadow:
        0 0 24px rgba(245, 158, 11, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.exchange-swap-contracts-badge i {
    color: var(--ex-amber-soft);
    font-size: 15px;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
}

.exchange-swap-contracts-badge span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
}

@media (max-width: 768px) {
    .exchange-contracts-sticky {
        margin-left: calc(-1 * var(--spacing-4));
        margin-right: calc(-1 * var(--spacing-4));
        padding-left: var(--spacing-4);
        padding-right: var(--spacing-4);
    }
}

.exchange-contracts-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(234, 179, 8, 0.32);
    background: transparent;
    box-shadow: none;
}

.exchange-contract-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.82);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.exchange-contract-tab:hover {
    border-color: rgba(251, 191, 36, 0.35);
    color: #fffbeb;
}

.exchange-contract-tab.is-active {
    color: #fffbeb;
    border-color: rgba(234, 179, 8, 0.5);
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.55), rgba(120, 53, 15, 0.65));
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.22);
}

.exchange-contract-tab i {
    font-size: 0.92em;
    opacity: 0.95;
}

.exchange-contracts-filters.exchange-toolbar-filters {
    margin: 0;
    padding: 0 var(--spacing-1);
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

#exchangeContractsControls.exchange-toolbar-filters > div {
    flex: 1 1 0;
    min-width: 0;
}

/* Sort / per-page: subtler chrome next to gold-bordered catalog pickers */
#exchangeContractsControls.exchange-toolbar-filters label {
    color: rgba(160, 174, 192, 0.95);
    letter-spacing: 0.08em;
}

#exchangeContractsControls.exchange-toolbar-filters select {
    border-color: rgba(71, 85, 105, 0.55);
    background: rgba(15, 23, 42, 0.82);
    color: #f8fafc;
    width: 100%;
    min-width: 0;
}

#exchangeContractsControls.exchange-toolbar-filters > div.exchange-toolbar-filter-clear-wrap {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.exchange-toolbar-filter-clear-spacer {
    display: block;
    height: 17px;
    margin-bottom: 6px;
    pointer-events: none;
}

.exchange-toolbar-clear-filters-btn {
    border-radius: 10px;
    border: 1px solid rgba(234, 179, 8, 0.45);
    background: rgba(15, 23, 42, 0.75);
    color: #fde68a;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.exchange-toolbar-clear-filters-btn:hover:not(:disabled) {
    border-color: rgba(250, 204, 21, 0.65);
    background: rgba(30, 41, 59, 0.85);
    color: #fffbeb;
}

.exchange-toolbar-clear-filters-btn:focus-visible {
    outline: 2px solid rgba(251, 191, 36, 0.85);
    outline-offset: 2px;
}

.exchange-toolbar-clear-filters-btn:disabled {
    opacity: 0.38;
    cursor: default;
    border-color: rgba(71, 85, 105, 0.45);
    color: rgba(148, 163, 184, 0.75);
}

@media (max-width: 640px) {
    .exchange-contracts-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .exchange-contract-tab {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        padding-inline: 10px;
        font-size: 0.72rem;
    }
}

.exchange-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--spacing-3);
}

.exchange-toolbar-filters label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary, #94a3b8);
    display: block;
    margin-bottom: 6px;
}

.exchange-toolbar-filters select {
    min-width: 12rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.75);
    color: #f8fafc;
    padding: 8px 10px;
    font-size: 14px;
}

/* ---- Tab panels (client-side switched) ------------------------------- */
.exchange-tab-panel {
    display: none;
}

.exchange-tab-panel.is-active {
    display: block;
    animation: exchangeTabPanelFadeIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes exchangeTabPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exchange-tab-panel.is-active {
        animation: none;
    }
}

/* Traders: Market vs Create Contract workspace (below Swap Contracts badge) */
.exchange-trader-view-panel {
    display: none;
}

.exchange-trader-view-panel.is-active {
    display: block;
    animation: exchangeTabPanelFadeIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .exchange-trader-view-panel.is-active {
        animation: none;
    }
}

.exchange-trader-workspace-slot {
    margin-top: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.exchange-trader-workspace-slot .exchange-contracts-controls-panel {
    margin-top: 0;
    margin-bottom: 0;
}

/* Shell around catalog Offering/Desired tiles + sort / per-page — matches ``.exchange-composer-card`` chrome */
.exchange-contracts-controls-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(234, 179, 8, 0.42);
    border-radius: 16px;
    padding: var(--spacing-4);
    margin-top: var(--spacing-3);
    margin-bottom: var(--spacing-4);
    box-sizing: border-box;
    background:
        linear-gradient(135deg, rgba(66, 32, 6, 0.38), rgba(15, 23, 42, 0.88)),
        rgba(15, 23, 42, 0.92);
    box-shadow:
        0 12px 28px rgba(2, 6, 23, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 48px rgba(234, 179, 8, 0.12);
}

.exchange-contracts-filters-heading {
    margin: 0 0 var(--spacing-3);
    padding: 0;
    align-self: flex-start;
    width: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.2;
    color: rgba(251, 191, 36, 0.92);
}

.exchange-contracts-controls-panel .exchange-contract-catalog-filters.exchange-picker-row {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    padding-bottom: var(--spacing-4);
}

.exchange-contracts-controls-panel #exchangeContractsControls.exchange-contracts-filters.exchange-toolbar-filters {
    margin: 0;
    padding: 0;
    width: 100%;
}

.exchange-contracts-controls-panel
    .exchange-contract-catalog-filters.exchange-picker-row:not([hidden])
    + #exchangeContractsControls.exchange-toolbar-filters {
    padding-top: var(--spacing-5);
    border-top: 1px solid rgba(234, 179, 8, 0.15);
}

/* Catalog filter tiles — same row grid + tile scale as Create contract (#exchange-contract-form) */
.exchange-contract-catalog-filters.exchange-picker-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    margin-bottom: 0;
    gap: var(--spacing-5);
    align-items: center;
    padding: 0 var(--spacing-1);
}

.exchange-contract-catalog-filters .exchange-catalog-filter-col.exchange-picker-col {
    gap: 12px;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.exchange-contract-catalog-filters .exchange-picker-heading {
    display: block;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.exchange-contract-catalog-filters .exchange-catalog-filter-tile.exchange-picker-tile {
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 118px;
    padding: 14px;
    border-radius: 14px;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__inner {
    flex: 0 0 auto;
    min-width: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__media {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__media .exchange-inv-cell__img,
.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__media .exchange-inv-cell__sprite {
    width: 72px;
    height: 72px;
}

.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__placeholder {
    color: #fbbf24;
    opacity: 0.92;
    font-size: 1.9rem;
}

/* Filled preview uses the same ``exchange-item-square`` stack as Create contract (rarity frame + glow). */
.exchange-contract-catalog-filters .exchange-catalog-filter-tile .exchange-picker-tile__item-square.exchange-item-square {
    width: auto;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
}

.exchange-row--filter-empty .exchange-row-empty-overlay-cell {
    text-align: center;
}

/* When the controls row is hidden (Filled tab), avoid leaving a margin gap. */
#exchangeContractsControls[hidden] {
    display: none;
}

/* Pager buttons — disable cursor + dim when client-side disables them. */
.exchange-table-pagebtn:disabled,
.exchange-table-pagebtn.exchange-table-pagebtn--disabled {
    pointer-events: none;
    cursor: default;
}

.exchange-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(234, 179, 8, 0.22);
    background: rgba(15, 23, 42, 0.55);
}

.exchange-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* No venue “location” glow behind item tiles in the exchange column (contract tables, inventory /
   catalog pickers, fulfill/cancel modals, composer). Rarity treatments (e.g. exotic) stay; sidebar
   is outside .exchange-root and unchanged. */
.exchange-root .profile-inventory-slot-glow {
    display: none;
}

/* DM private swap lives on the inbox thread (no .exchange-root); match exchange — no venue glow. */
#dm-exchange-contract-form .profile-inventory-slot-glow,
#dm-exchange-modal-have .profile-inventory-slot-glow,
#dm-exchange-modal-want .profile-inventory-slot-glow {
    display: none;
}

/* Predictable column widths so item captions can scale with the cell (container queries). */
.exchange-table:not(.exchange-table--filled) {
    table-layout: fixed;
}

.exchange-table:not(.exchange-table--filled) th:nth-child(1),
.exchange-table:not(.exchange-table--filled) td:nth-child(1) {
    width: 30%;
}

.exchange-table:not(.exchange-table--filled) th:nth-child(2),
.exchange-table:not(.exchange-table--filled) td:nth-child(2),
.exchange-table:not(.exchange-table--filled) th:nth-child(4),
.exchange-table:not(.exchange-table--filled) td:nth-child(4) {
    width: 28%;
}

.exchange-table:not(.exchange-table--filled) th:nth-child(3),
.exchange-table:not(.exchange-table--filled) td:nth-child(3) {
    width: 14%;
    /* “Voided” badge (My Contracts) needs more than a skinny % slice on narrow viewports */
    min-width: 5.75rem;
}

.exchange-table th,
.exchange-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    vertical-align: middle;
}

.exchange-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #fcd34d;
    background: rgba(66, 32, 6, 0.22);
}

.exchange-table tr:last-child td {
    border-bottom: none;
}

.exchange-table-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 10rem;
}

.exchange-table-user a {
    color: #fefce8;
    font-weight: 600;
    text-decoration: none;
}

.exchange-table-user-at:hover {
    color: #fffbeb;
}

.exchange-table-user .avatar-placeholder,
.exchange-table-user img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    flex-shrink: 0;
}

.exchange-table-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.exchange-table-user-avatar:hover {
    text-decoration: none;
}

.exchange-table-user-avatar img,
.exchange-table-user-avatar .avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    flex-shrink: 0;
}

.exchange-item-cell {
    color: #e2e8f0;
    vertical-align: middle;
    text-align: center;
    container-type: inline-size;
}

th.exchange-item-col {
    text-align: center;
}

/* Listing cells: 72×72 slot only; details on hover (mini card). */
.exchange-item-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: 0;
    width: 100%;
    max-width: 118px;
    margin-inline: auto;
    container-type: inline-size;
}

.exchange-item-square-slot-wrap {
    max-width: none;
    width: auto;
}

.exchange-item-square--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    min-width: 72px;
    max-width: 118px;
    margin-inline: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.45);
    color: #94a3b8;
}

/* Skeleton item tiles: reuse the same outer shell as real contract squares
   (inventory slot stack) so Offering/Desired columns align row-to-row. */
.exchange-item-square > .exchange-placeholder-block--item {
    display: block;
    margin: 0;
    flex-shrink: 0;
}

/* Ghost / fallback wrappers: no inventory slot stack inside — match tile height
   and vertically center like a real 72×72 panel in the cell. */
.exchange-item-square:not(:has(.profile-inventory-slot-wrap)) {
    min-height: 72px;
    justify-content: center;
}

.exchange-item-square-fallback-fa {
    font-size: 1.45rem;
    line-height: 1;
    opacity: 0.85;
}

.exchange-swap-mid {
    text-align: center;
    color: #fbbf24;
    font-size: 18px;
    vertical-align: middle;
}

/* My Contracts — voided / rejected private offer: dim each cell, keep swap arrow, status pill over mid */
tr.exchange-row--voided > td,
tr.exchange-row--rejected > td {
    position: relative;
}

.exchange-row-voided-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(2, 6, 23, 0.48);
}

tr.exchange-row--voided .exchange-swap-mid .exchange-row-voided-mid-arrow,
tr.exchange-row--rejected .exchange-swap-mid .exchange-row-voided-mid-arrow {
    position: relative;
    z-index: 1;
}

tr.exchange-row--voided .exchange-swap-mid .exchange-row-voided-banner,
tr.exchange-row--rejected .exchange-swap-mid .exchange-row-voided-banner {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.exchange-row-voided-banner__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fecaca;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.94), rgba(153, 27, 27, 0.88));
    border: 1px solid rgba(254, 202, 202, 0.78);
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(254, 202, 202, 0.22) inset;
}

.exchange-row-voided-banner__tomb {
    flex-shrink: 0;
    width: 11px;
    height: 14px;
    margin-top: 1px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #fecdd3 0%, #fca5a5 55%, #f87171 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 8px rgba(248, 113, 113, 0.45);
}

.exchange-row-rejected-banner__icon {
    flex-shrink: 0;
    font-size: 0.72rem;
    line-height: 1;
    color: #fecaca;
    filter: drop-shadow(0 0 4px rgba(254, 202, 202, 0.55));
}

.exchange-mine-trader-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.exchange-mine-trader-wrap .exchange-table-user {
    min-width: 0;
}

/* MOBILE ONLY — all exchange contract tables: avatar above @ handle; handle scales, no wrap */
@media (max-width: 768px) {
    .exchange-table .exchange-table-user {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        /* Match the 72px slot height used by .exchange-item-square so the
           avatar+@handle column visually centers against the offering /
           desired item tiles in the same row. */
        min-height: 72px;
        box-sizing: border-box;
        container-type: inline-size;
        container-name: ex-trader;
    }

    /* Keep the trader cell as a real table-cell so the fixed 30% column width
       is honored — `display:flex` on a <td> collapses it to its content min
       size, which pulls the avatar/@handle hard to the left of the column. */
    .exchange-table:not(.exchange-table--filled) td:nth-child(1):not(.exchange-row-empty-notice-cell) {
        text-align: center;
        vertical-align: middle;
    }

    .exchange-table:not(.exchange-table--filled)
        td:nth-child(1):not(.exchange-row-empty-notice-cell)
        > .exchange-table-user,
    .exchange-table:not(.exchange-table--filled)
        td:nth-child(1):not(.exchange-row-empty-notice-cell)
        > .exchange-mine-trader-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .exchange-table--filled td:nth-child(1) {
        text-align: center;
        vertical-align: middle;
    }

    .exchange-mine-trader-wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .exchange-table--filled .exchange-filled-market-cell .exchange-filled-swap-tier {
        justify-content: center;
    }

    /* Collapse the avatar anchor's line box to its image: the <a> is a flex
       container, but its baseline-driven line box can add a few pixels of
       phantom height that throws off vertical centering against the @handle. */
    .exchange-table .exchange-table-user-avatar {
        height: 36px;
        line-height: 1;
    }

    .exchange-table .exchange-table-user-at {
        box-sizing: border-box;
        display: block;
        width: 100%;
        max-width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        font-size: clamp(10px, 11cqi, 14px);
    }
}

/* My Contracts: fulfilled listings + Filled tab contract rows — dull green wash; green spine only on row’s left edge. */
.exchange-row--filled td,
.exchange-table--filled tbody tr.exchange-row--data td {
    background:
        linear-gradient(
            180deg,
            rgba(22, 101, 52, 0.22) 0%,
            rgba(20, 83, 45, 0.18) 100%
        );
    border-bottom-color: rgba(74, 222, 128, 0.18);
    box-shadow: none;
}

.exchange-row--filled td:first-child,
.exchange-table--filled tbody tr.exchange-row--data td:first-child {
    box-shadow: inset 3px 0 0 rgba(74, 222, 128, 0.7);
}

.exchange-filled-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.55);
    background:
        linear-gradient(135deg, rgba(20, 83, 45, 0.65), rgba(22, 101, 52, 0.55));
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.18) inset;
}

.exchange-filled-badge i {
    color: #4ade80;
    font-size: 0.95em;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.35));
}

.exchange-filled-badge__by {
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid rgba(74, 222, 128, 0.35);
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: rgba(220, 252, 231, 0.92);
}

.exchange-filled-badge__by a {
    color: #f0fdf4;
    text-decoration: none;
    font-weight: 700;
}

.exchange-filled-badge__by a:hover {
    text-decoration: underline;
}

.exchange-fulfill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(234, 179, 8, 0.55);
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.55), rgba(202, 138, 4, 0.35));
    color: #fef9c3;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.exchange-fulfill-btn:hover {
    border-color: rgba(250, 204, 21, 0.85);
    color: #fffbeb;
}

.exchange-fulfill-muted {
    color: #64748b;
    font-size: 13px;
}

.exchange-empty {
    padding: var(--spacing-8);
    text-align: center;
    color: var(--color-text-secondary, #94a3b8);
}

.exchange-empty i {
    font-size: 2rem;
    color: rgba(234, 179, 8, 0.45);
    margin-bottom: var(--spacing-3);
}

/* Placeholder rows that fill the table to the per-page row count. */
.exchange-row--placeholder td {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(2, 6, 23, 0.10));
    border-bottom-color: rgba(148, 163, 184, 0.06);
}

.exchange-row-placeholder-user {
    align-items: center;
}

.exchange-placeholder-block {
    display: inline-block;
    background: linear-gradient(
        110deg,
        rgba(148, 163, 184, 0.07) 0%,
        rgba(234, 179, 8, 0.10) 45%,
        rgba(148, 163, 184, 0.07) 90%
    );
    border: 1px dashed rgba(148, 163, 184, 0.16);
    border-radius: 6px;
    vertical-align: middle;
    opacity: 0.55;
}

.exchange-placeholder-block--avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    flex-shrink: 0;
}

.exchange-placeholder-block--name {
    width: 7rem;
    height: 12px;
    border-radius: 4px;
}

.exchange-placeholder-block--text {
    display: block;
    width: 7rem;
    height: 10px;
    border-radius: 4px;
    margin: 0 auto;
}

.exchange-placeholder-block--item {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    margin: 0 auto;
}

.exchange-placeholder-block--denari {
    display: block;
    width: 3.25rem;
    height: 12px;
    border-radius: 6px;
    margin-left: auto;
}

/* First-row empty notices: skeleton underlay + headline overlaid across full row width. */
.exchange-row--empty-notice td {
    background: rgba(15, 23, 42, 0.22);
    border-bottom-color: rgba(148, 163, 184, 0.1);
}

.exchange-row-empty-notice-cell {
    /* Colspan cell is still :nth-child(1); undo column width rules so it spans the full table. */
    width: 100%;
    max-width: none;
    padding: 0;
    vertical-align: middle;
}

.exchange-row-empty-notice-stack {
    position: relative;
    min-height: 5.5rem;
}

/* Match .exchange-table:not(.exchange-table--filled) column weights (30 / 28 / 14 / 28). */
.exchange-row-empty-notice-underlay {
    display: grid;
    grid-template-columns: 30% 28% 14% 28%;
    align-items: center;
    min-height: inherit;
}

.exchange-row-empty-notice-slot {
    box-sizing: border-box;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.exchange-row-empty-notice-slot--trader {
    justify-content: flex-start;
}

.exchange-row-empty-notice-slot--swap {
    padding-left: 8px;
    padding-right: 8px;
}

/* Filled tab empty row: mirror Market / Swap column split (42% / 58%). */
.exchange-row-empty-notice-underlay--filled {
    grid-template-columns: 42% 58%;
}

.exchange-row-empty-notice-filled-market {
    box-sizing: border-box;
    padding: 12px 14px;
    min-width: 0;
}

.exchange-row-empty-notice-filled-swap {
    box-sizing: border-box;
    padding: 12px 14px;
    min-width: 0;
}

.exchange-row-empty-notice-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

/* Same voice as YOUR DENARI: (.ex-headline-kicker), readable over faint tiles. */
.exchange-row-empty-notice-overlay .ex-headline-kicker {
    justify-content: center;
    text-shadow:
        0 0 18px rgba(15, 23, 42, 0.95),
        0 1px 2px rgba(15, 23, 42, 0.85);
}

.exchange-row-empty-notice-msg {
    text-align: left;
    color: rgba(226, 232, 240, 0.68);
    font-size: 13px;
    font-style: italic;
    vertical-align: middle;
}

/* Match .exchange-row--empty-notice (catalog filter empty uses same layout). */
.exchange-row--filter-empty td {
    background: rgba(15, 23, 42, 0.22);
    border-bottom-color: rgba(148, 163, 184, 0.1);
}

.exchange-table--filled {
    table-layout: fixed;
}

.exchange-table--filled th:nth-child(1),
.exchange-table--filled td:nth-child(1) {
    width: 42%;
    min-width: 12rem;
}

.exchange-table--filled th:nth-child(2),
.exchange-table--filled td:nth-child(2) {
    width: 58%;
}

/* Filled tab: paired tiers align across Market vs swap column (same min-height per row). */
.exchange-filled-market-cell,
.exchange-filled-swap-cell {
    vertical-align: top;
}

.exchange-filled-swap-with-arrows {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    max-width: 380px;
    margin-inline: auto;
}

/* Bracket “[” / “]”: same viewBox + mirrored coords so left/right spacing matches beside the tiles. */
.exchange-filled-swap-bent {
    flex: 0 0 56px;
    width: 56px;
    align-self: stretch;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.exchange-filled-swap-bent--down {
    /* Whole bracket + endpoints sit ~30px farther from the card stack. */
    margin-right: 30px;
    /* Cards sit to the right: inner x=28, outer spine x=6 (22px span). */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2040%20182'%3E%3Cpath d='M 28 42 L 6 42 L 6 140 L 28 140' stroke='%23fbbf24' stroke-width='2.65' fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.94'/%3E%3Cpath d='M 31 140 L 28 136.35 L 28 143.65 Z' fill='%23fbbf24' opacity='0.96'/%3E%3C/svg%3E");
}

.exchange-filled-swap-bent--up {
    margin-left: 30px;
    /* Mirror: inner x=12, outer x=34 — same 22px span as the left bracket. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2040%20182'%3E%3Cpath d='M 12 140 L 34 140 L 34 42 L 12 42' stroke='%23fbbf24' stroke-width='2.65' fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.94'/%3E%3Cpath d='M 9 42 L 12 37.35 L 12 46.65 Z' fill='%23fbbf24' opacity='0.96'/%3E%3C/svg%3E");
}

/* Skeleton / empty-state rows: same dimming as paginated placeholder rows */
.exchange-row--placeholder .exchange-filled-swap-bent,
.exchange-row--empty-notice .exchange-filled-swap-bent,
.exchange-row--filter-empty .exchange-filled-swap-bent {
    opacity: 0.42;
}

.exchange-filled-swap-pair {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 1 auto;
}

.exchange-filled-swap-tier {
    display: flex;
    align-items: center;
    min-height: 84px;
    box-sizing: border-box;
}

.exchange-filled-market-cell .exchange-filled-swap-tier {
    justify-content: flex-start;
}

.exchange-filled-swap-cell .exchange-filled-swap-tier {
    justify-content: center;
}

.exchange-filled-market-party.exchange-table-user {
    min-width: 0;
}

th.exchange-filled-swap-col {
    text-align: center;
}

.exchange-filled-filter-empty-msg {
    text-align: center;
}

.exchange-placeholder-block--swap {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border-style: dotted;
    background: transparent;
    opacity: 0.4;
}

.exchange-placeholder-block--action {
    width: 80px;
    height: 28px;
    border-radius: 8px;
}

/* Inline empty-state notice that overlays the placeholder rows when zero contracts. */
.exchange-row-empty-overlay td {
    background: transparent;
    border-bottom: none;
    padding: var(--spacing-2) var(--spacing-3);
}

.exchange-row-empty-overlay-cell {
    text-align: center;
    color: rgba(226, 232, 240, 0.62);
    font-size: 13px;
    font-style: italic;
}

/* Pagination footer for the exchange contracts table. */
.exchange-table-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    border-top: 1px solid rgba(234, 179, 8, 0.18);
    background: rgba(15, 23, 42, 0.45);
    flex-wrap: wrap;
}

.exchange-table-pagebtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid rgba(234, 179, 8, 0.45);
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.45), rgba(202, 138, 4, 0.25));
    color: #fef3c7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.exchange-table-pagebtn:hover:not(.exchange-table-pagebtn--disabled) {
    border-color: rgba(250, 204, 21, 0.85);
    color: #fffbeb;
    transform: translateY(-1px);
}

.exchange-table-pagebtn:focus-visible {
    outline: 2px solid rgba(250, 204, 21, 0.75);
    outline-offset: 2px;
}

.exchange-table-pagebtn i {
    font-size: 11px;
}

/*
 * When pagination is unavailable: keep the buttons visible and use the
 * regular cursor (NOT the `not-allowed` cursor). Just dim them so it is
 * clear they cannot do anything.
 */
.exchange-table-pagebtn--disabled {
    cursor: default;
    opacity: 0.4;
    pointer-events: none;
    border-color: rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: rgba(226, 232, 240, 0.6);
}

.exchange-table-pageinfo {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cbd5f5;
    min-width: 9rem;
    text-align: center;
}

.exchange-table-pageinfo strong {
    color: #fcd34d;
    font-weight: 700;
}

.exchange-trader-notice .exchange-trader-notice-intro {
    padding: var(--spacing-4) var(--spacing-4) 0;
}

.exchange-trader-notice .exchange-trader-notice-intro h3 {
    margin: 0 0 var(--spacing-2);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fde68a;
}

.exchange-trader-notice .exchange-trader-notice-intro p {
    margin: 0;
    color: rgba(253, 230, 138, 0.88);
    line-height: 1.55;
    max-width: 62ch;
}

.exchange-trader-notice .inventory-trader-upsell-pricing {
    margin-top: var(--spacing-4);
}

/* Amber / gold halo — same bloom rhythm as trader-upgrade .price-glow; overrides inventory crimson glow. */
.exchange-trader-notice .inventory-trader-upsell-pricing-glow {
    inset: -4px;
    border-radius: 26px;
    background: linear-gradient(
        135deg,
        rgba(253, 224, 71, 0.55),
        rgba(217, 119, 6, 0.36) 30%,
        transparent 48%,
        rgba(251, 191, 36, 0.52)
    );
    opacity: 0.36;
    filter: blur(22px);
}

.exchange-trader-notice .inventory-trader-upsell-pricing-inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(234, 179, 8, 0.35);
    border-radius: 24px;
    box-shadow:
        0 12px 28px rgba(2, 6, 23, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px rgba(234, 179, 8, 0.12);
}

.exchange-trader-notice .inventory-trader-upsell-currency {
    color: rgba(253, 224, 71, 0.55);
}

.exchange-trader-notice .inventory-trader-upsell-period {
    color: rgba(250, 204, 21, 0.45);
}

.exchange-trader-notice .inventory-trader-upsell-price-caption {
    color: rgba(254, 243, 199, 0.5);
}

.exchange-trader-notice .inventory-trader-upsell-primary {
    border: 1px solid rgba(250, 204, 21, 0.55);
    color: #1c1917;
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.95), rgba(202, 138, 4, 0.9));
    background-size: 100% 100%;
    animation: none;
    box-shadow: 0 6px 22px rgba(202, 138, 4, 0.35);
}

.exchange-trader-notice .inventory-trader-upsell-primary:hover {
    color: #1c1917;
    box-shadow: 0 10px 32px rgba(202, 138, 4, 0.45);
    filter: brightness(1.04);
}

.exchange-trader-notice .inventory-trader-upsell-secondary {
    color: rgba(254, 243, 199, 0.88);
    border-color: rgba(234, 179, 8, 0.38);
    background: rgba(66, 32, 6, 0.35);
}

.exchange-trader-notice .inventory-trader-upsell-secondary:hover {
    background: rgba(120, 53, 15, 0.45);
    border-color: rgba(251, 191, 36, 0.55);
    color: #fffbeb;
}

/* Logged-in non-Trader: centered in feed, yellow exchange theme (no outer violet panel). */
.exchange-nontrader-gate {
    position: relative;
    width: 100%;
    max-width: min(900px, 100%);
    margin: var(--spacing-6) auto 0;
    padding: 0 var(--spacing-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.exchange-nontrader-gate__intro {
    max-width: 42rem;
    margin: 0 auto var(--spacing-4);
    text-align: center;
}

.exchange-nontrader-gate__title {
    margin: 0 0 var(--spacing-2);
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fef3c7;
}

.exchange-nontrader-gate__lede {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(203, 213, 225, 0.88);
}

.exchange-nontrader-gate .exchange-gate-live-preview {
    width: min(860px, 100%);
    margin: 0 auto var(--spacing-4);
    text-align: center;
}

.exchange-nontrader-gate .exchange-gate-live-preview-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 179, 8, 0.45);
    background: rgba(120, 53, 15, 0.28);
    color: #fde68a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.exchange-nontrader-gate .exchange-home-swap-demo-card {
    margin: 0 auto;
    max-width: min(860px, 100%);
}

/* Trial / price card — same structure as Oracle cg-* but exchange amber chrome */
.exchange-nontrader-gate .cg-price-card {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    overflow: visible;
    isolation: isolate;
    z-index: 0;
}

.exchange-nontrader-gate .cg-price-glow {
    position: absolute;
    inset: -4px;
    border-radius: 26px;
    background: linear-gradient(
        135deg,
        rgba(253, 224, 71, 0.55),
        rgba(217, 119, 6, 0.36) 30%,
        transparent 48%,
        rgba(251, 191, 36, 0.52)
    );
    opacity: 0.36;
    filter: blur(22px);
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
}

.exchange-nontrader-gate .cg-price-inner {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(234, 179, 8, 0.32);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 12px 28px rgba(2, 6, 23, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 52px rgba(234, 179, 8, 0.14);
}

.exchange-nontrader-gate .cg-price-row {
    margin-bottom: 1.25rem;
}

.exchange-nontrader-gate .cg-price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.exchange-nontrader-gate .cg-currency {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(253, 230, 138, 0.55);
}

.exchange-nontrader-gate .cg-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.75rem, 10vw, 3.5rem);
    font-weight: 800;
    color: #fefce8;
    line-height: 1;
}

.exchange-nontrader-gate .cg-period {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    color: rgba(253, 224, 71, 0.55);
}

.exchange-nontrader-gate .cg-price-caption {
    margin: 0.35rem 0 0;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.55);
}

.exchange-nontrader-gate .cg-trial-headline {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fffbeb 0%, #fcd34d 42%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exchange-nontrader-gate .cg-price-caption--trial {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.55;
}

.exchange-nontrader-gate .cg-cta-button--trial {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.98), rgba(180, 83, 9, 0.95));
    box-shadow:
        0 8px 28px rgba(245, 158, 11, 0.38),
        0 0 40px rgba(234, 179, 8, 0.15);
}

.exchange-nontrader-gate .cg-cta-button--trial:hover {
    box-shadow:
        0 12px 36px rgba(245, 158, 11, 0.48),
        0 0 52px rgba(234, 179, 8, 0.22);
}

.exchange-nontrader-gate .cg-cta-fineprint {
    margin: 0.55rem 0 0;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    color: rgba(203, 213, 225, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.exchange-nontrader-gate .cg-cta-fineprint i {
    font-size: 0.75rem;
    color: #fbbf24;
}

.exchange-nontrader-gate .cg-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.exchange-nontrader-gate .cg-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 14px;
    border: 1px solid rgba(250, 204, 21, 0.55);
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.95), rgba(202, 138, 4, 0.9));
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1c1917;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
    box-shadow: 0 6px 22px rgba(202, 138, 4, 0.35);
}

.exchange-nontrader-gate .cg-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(202, 138, 4, 0.45);
    color: #1c1917;
    filter: brightness(1.04);
}

.exchange-nontrader-gate .cg-btn-icon {
    display: flex;
    transition: transform 0.25s ease;
}

.exchange-nontrader-gate .cg-cta-button:hover .cg-btn-icon {
    transform: translateX(4px);
}

.exchange-nontrader-gate .cg-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    animation: cg-shine 3.2s ease-in-out infinite;
}

.exchange-nontrader-gate .cg-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fde68a;
    text-decoration: none;
    border: 1px solid rgba(234, 179, 8, 0.38);
    background: rgba(2, 6, 23, 0.35);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

.exchange-nontrader-gate .cg-cta-ghost:hover {
    background: rgba(120, 53, 15, 0.28);
    border-color: rgba(253, 224, 71, 0.45);
    color: #fefce8;
}

/* --- Modal grid pickers (have / desired) --- */
#exchange-composer-root {
    position: relative;
    z-index: 2;
}

.exchange-picker-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-3);
    align-items: stretch;
    margin-bottom: var(--spacing-3);
}

.exchange-picker-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.exchange-picker-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fde68a;
}

.exchange-picker-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.35rem;
    padding-top: 1.25rem;
}

.exchange-picker-tile {
    width: 100%;
    min-height: 92px;
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.38);
    background: rgba(15, 23, 42, 0.72);
    color: #fefce8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.exchange-picker-tile:hover {
    border-color: rgba(250, 204, 21, 0.65);
    background: rgba(30, 41, 59, 0.85);
}

.exchange-picker-tile__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.exchange-picker-tile__media {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.exchange-picker-tile__media .exchange-inv-cell__img,
.exchange-picker-tile__media .exchange-inv-cell__sprite {
    width: 48px;
    height: 48px;
}

.exchange-picker-tile__media .exchange-inv-cell__sprite {
    background-repeat: no-repeat;
}

.exchange-picker-tile__placeholder {
    color: #94a3b8;
    font-size: 1.25rem;
}

.exchange-picker-tile__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.exchange-picker-tile__label {
    font-size: 14px;
    font-weight: 700;
    color: #fef3c7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exchange-picker-tile__qty {
    font-size: 12px;
    color: #fcd34d;
    font-weight: 600;
}

.exchange-picker-tile__chev {
    color: #fbbf24;
    opacity: 0.85;
    flex-shrink: 0;
}

/* DM private swap uses #dm-exchange-contract-form — keep picker layout identical to /exchange. */
#exchange-contract-form .exchange-picker-row,
#dm-exchange-contract-form .exchange-picker-row {
    align-items: center;
    gap: var(--spacing-5);
    margin-bottom: var(--spacing-4);
}

#exchange-contract-form .exchange-picker-col,
#dm-exchange-contract-form .exchange-picker-col {
    align-items: center;
    text-align: center;
    gap: 12px;
}

#exchange-contract-form .exchange-picker-heading,
#dm-exchange-contract-form .exchange-picker-heading {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.1em;
}

#exchange-contract-form .exchange-picker-mid,
#dm-exchange-contract-form .exchange-picker-mid {
    padding-top: 0;
    align-self: center;
    font-size: 2rem;
    line-height: 1;
}

#exchange-contract-form .exchange-picker-tile,
#dm-exchange-contract-form .exchange-picker-tile {
    width: auto;
    min-width: 118px;
    max-width: 100%;
    min-height: 118px;
    padding: 14px;
    border-radius: 14px;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

#exchange-contract-form .exchange-picker-tile .exchange-picker-tile__inner,
#dm-exchange-contract-form .exchange-picker-tile .exchange-picker-tile__inner {
    flex: 0 0 auto;
    justify-content: center;
}

#exchange-contract-form .exchange-picker-tile__media,
#dm-exchange-contract-form .exchange-picker-tile__media {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 12px;
}

#exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__img,
#exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__sprite,
#dm-exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__img,
#dm-exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__sprite {
    width: 72px;
    height: 72px;
}

#exchange-contract-form .exchange-picker-tile__placeholder,
#dm-exchange-contract-form .exchange-picker-tile__placeholder {
    color: #fbbf24;
    opacity: 0.92;
    font-size: 1.9rem;
}

/* Same DOM/CSS path as contract table ``exchange-item-square``; full 72×72 slot like Recent Finds sidebar. */
#exchange-contract-form .exchange-picker-tile__item-square.exchange-item-square,
#dm-exchange-contract-form .exchange-picker-tile__item-square.exchange-item-square {
    width: auto;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
}

.exchange-composer-hint--same {
    color: #fecaca;
    margin-top: 0;
    margin-bottom: var(--spacing-2);
}

body.exchange-inv-modal-open {
    overflow: hidden;
}

/* .feed-layout columns use the same z-index; right sidebar follows .feed-main in DOM and paints on top.
   Lift the center column while picker modals are open so the full-viewport overlay covers Recent Finds. */
body.exchange-inv-modal-open .feed-layout > .feed-main {
    z-index: 30;
}

html.exchange-fulfill-modal-open .feed-layout > .feed-main,
html.exchange-cancel-contract-modal-open .feed-layout > .feed-main {
    z-index: 30;
}

.exchange-inv-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 4500;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    overflow-y: auto;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(4px);
}

.exchange-inv-modal:not([hidden]) {
    display: flex;
}

.exchange-inv-modal__dialog {
    width: min(440px, calc(100vw - 24px));
    max-width: 100%;
    box-sizing: border-box;
    max-height: calc(100vh - 48px);
    margin: auto;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid rgba(234, 179, 8, 0.35);
    background: linear-gradient(165deg, rgba(30, 27, 15, 0.95), rgba(15, 23, 42, 0.98));
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
    padding: var(--spacing-3) var(--spacing-3);
}

.exchange-inv-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
}

.exchange-inv-modal__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fef3c7;
}

.exchange-inv-modal__close {
    border: none;
    background: rgba(15, 23, 42, 0.6);
    color: #fde68a;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
}

.exchange-inv-modal__close:hover {
    background: rgba(51, 65, 85, 0.85);
}

.exchange-inv-modal__venues {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--spacing-3);
}

.exchange-inv-modal__venue-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    color: #94a3b8;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.exchange-inv-modal__venue-tab:hover {
    color: #e2e8f0;
}

.exchange-inv-modal__venue-tab.active {
    color: #fef3c7;
    border-color: rgba(234, 179, 8, 0.45);
    background: rgba(120, 53, 15, 0.28);
}

.exchange-inv-modal__filters {
    margin-bottom: var(--spacing-3);
    width: 100%;
    box-sizing: border-box;
}

.exchange-inv-modal__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.65);
    margin-bottom: var(--spacing-2);
    color: #94a3b8;
}

.exchange-inv-modal__search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #f8fafc;
    font-size: 14px;
    outline: none;
}

.exchange-inv-modal__filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Create-contract pickers only: rarity + type share the full row (no sort control). */
.exchange-inv-modal__filter-row--composer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

@media (max-width: 640px) {
    .exchange-inv-modal__filter-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile: inventory / catalog picker modals — hide filter chrome; grid + pager stay. */
@media (max-width: 720px) {
    .exchange-inv-modal .exchange-inv-modal__venues,
    .exchange-inv-modal .exchange-inv-modal__filters {
        display: none !important;
    }

    .exchange-inv-modal__head {
        margin-bottom: var(--spacing-2);
    }
}

.exchange-inv-modal__field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.exchange-inv-modal__field select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    padding: 8px 10px;
    font-size: 13px;
}

.exchange-inv-modal__grid-wrap {
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.2);
    background: rgba(2, 6, 23, 0.35);
    padding: 10px;
}

/* 3 rows × 2 columns (6 cells): profile inventory slot squares (rarity chrome + mini-card hover). */
.exchange-inv-modal__grid.exchange-inv-modal__grid-slots.profile-inventory-slots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    flex-direction: unset;
    align-items: stretch;
    width: 100%;
}

.exchange-inv-slot-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 6px 4px 8px;
    border: none;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: center;
    transition:
        box-shadow 0.12s ease,
        background 0.12s ease;
}

.exchange-inv-slot-btn:hover:not(.exchange-inv-slot-btn--locked) {
    background: rgba(30, 41, 59, 0.55);
}

.exchange-inv-slot-btn:focus-visible {
    outline: 2px solid rgba(250, 204, 21, 0.75);
    outline-offset: 2px;
}

.exchange-inv-slot-btn--selected {
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.85);
    background: rgba(66, 32, 6, 0.38);
}

.exchange-inv-slot-btn--locked {
    cursor: pointer;
    opacity: 0.78;
    filter: grayscale(0.18) brightness(0.88);
}

.exchange-inv-modal__grid-slots .profile-inventory-slot-wrap {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    gap: 6px;
}

.exchange-inv-modal__grid-slots .profile-inventory-slot-panel {
    margin-left: auto;
    margin-right: auto;
}

.exchange-inv-modal__grid-slots .profile-inventory-slot-name {
    font-size: 10px;
    line-height: 1.25;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    color: #e2e8f0;
}

.exchange-inv-slot-shell--empty {
    opacity: 0.35;
    pointer-events: none;
    padding: 6px 4px;
}

.exchange-inv-slot-shell--empty .profile-inventory-slot-wrap {
    margin: 0 auto;
}

.exchange-inv-slot-lock {
    position: absolute;
    left: 4px;
    bottom: 4px;
    font-size: 10px;
    color: #64748b;
    z-index: 4;
    pointer-events: none;
}

/* Fully listed stacks: no hover title on cell — yellow lock chip, bottom-left (see exchange_composer_grid.js). */
.exchange-inv-slot-lock--listed {
    left: 4px;
    bottom: 4px;
    right: auto;
    top: auto;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1;
    color: #1c1917;
    background: linear-gradient(155deg, #fde047, #eab308);
    box-shadow:
        0 0 0 1px rgba(120, 53, 15, 0.4),
        0 2px 6px rgba(2, 6, 23, 0.35);
    z-index: 5;
    pointer-events: none;
}

.exchange-inv-slot-lock--listed i {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

/* Composer tile preview (small thumb) — still uses exchange_inv_cell__* from JS */
.exchange-inv-cell__img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}

.exchange-inv-cell__sprite {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
}

.exchange-inv-cell__fa {
    font-size: 1.35rem;
    color: #fcd34d;
}

.exchange-inv-cell__emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.exchange-inv-modal__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    margin-top: var(--spacing-3);
}

.exchange-inv-modal__pagebtn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.75);
    color: #e2e8f0;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.exchange-inv-modal__pagebtn:hover:not(:disabled) {
    border-color: rgba(250, 204, 21, 0.45);
    color: #fef3c7;
}

.exchange-inv-modal__pagebtn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.exchange-inv-modal__pageinfo {
    font-size: 13px;
    color: #94a3b8;
    min-width: 10rem;
    text-align: center;
}

@media (max-width: 720px) {
    .exchange-picker-row {
        grid-template-columns: 1fr;
    }

    .exchange-picker-mid {
        padding: 0;
        transform: rotate(90deg);
    }

    #exchange-contract-form .exchange-picker-mid,
    #dm-exchange-contract-form .exchange-picker-mid {
        padding: 4px 0;
    }
}

/* Exchange page only: keep offering / desired on one row on small screens (global rule above stacks generic ``.exchange-picker-row``). */
@media (max-width: 720px) {
    #exchange-contract-form .exchange-picker-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        align-items: stretch;
    }

    #exchange-contract-form .exchange-picker-mid {
        padding: 0;
        transform: none;
        font-size: 1.15rem;
        align-self: center;
    }

    #exchange-contract-form .exchange-picker-col {
        gap: 6px;
    }

    #exchange-contract-form .exchange-picker-heading {
        font-size: 9px;
        letter-spacing: 0.07em;
        line-height: 1.25;
    }

    #exchange-contract-form .exchange-picker-tile {
        min-width: 0;
        width: 100%;
        max-width: none;
        min-height: 76px;
        padding: 8px 6px;
        border-radius: 10px;
    }

    #exchange-contract-form .exchange-picker-tile__media,
    #exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__img,
    #exchange-contract-form .exchange-picker-tile__media .exchange-inv-cell__sprite {
        width: 44px;
        height: 44px;
    }

    #exchange-contract-form .exchange-picker-tile__placeholder {
        font-size: 1.15rem;
    }

    #exchange-contract-form .exchange-picker-tile__chev {
        font-size: 0.75rem;
    }

    #exchange-contract-form .exchange-picker-tile__item-square.exchange-item-square {
        max-width: min(118px, 100%);
    }
}

/* Active listings: row opens fulfill modal (no inline Fulfill column) */
.exchange-contract-row--interactive {
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.exchange-contract-row--interactive:hover {
    background: rgba(234, 179, 8, 0.09);
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.2);
}

.exchange-contract-row--interactive:focus-visible {
    outline: 2px solid rgba(251, 191, 36, 0.85);
    outline-offset: -2px;
}

/* My Contracts: active listing — whole row hints cancel; opens modal on click */
.exchange-contract-row--mine-cancel {
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.exchange-contract-row--mine-cancel td {
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* My Contracts tab: spine on the row’s left edge only — per-td inset rings stack into column dividers. */
.exchange-table[data-exchange-table="mine"] tbody tr.exchange-contract-row--mine-cancel td {
    box-shadow: none;
}

.exchange-table[data-exchange-table="mine"] tbody tr.exchange-contract-row--mine-cancel td:first-child {
    box-shadow: inset 3px 0 0 rgba(185, 28, 28, 0.72);
}

.exchange-contract-row--mine-cancel:hover td {
    background: rgba(127, 29, 29, 0.2);
}

.exchange-table[data-exchange-table="mine"] tbody tr.exchange-contract-row--mine-cancel:hover td {
    box-shadow: none;
}

.exchange-table[data-exchange-table="mine"] tbody tr.exchange-contract-row--mine-cancel:hover td:first-child {
    box-shadow: inset 3px 0 0 rgba(248, 113, 113, 0.55);
}

.exchange-contract-row--mine-cancel:focus-visible {
    outline: 2px solid rgba(248, 113, 113, 0.75);
    outline-offset: -2px;
}

html.exchange-fulfill-modal-open,
html.exchange-cancel-contract-modal-open {
    overflow: hidden;
}

.exchange-fulfill-modal {
    position: fixed;
    inset: 0;
    z-index: 4800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
}

.exchange-fulfill-modal[hidden] {
    display: none !important;
}

.exchange-fulfill-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(5px);
}

.exchange-fulfill-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: min(92vh, 640px);
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background:
        linear-gradient(160deg, rgba(66, 32, 6, 0.55) 0%, rgba(15, 23, 42, 0.97) 42%, rgba(12, 18, 32, 0.99) 100%);
    box-shadow:
        0 0 0 1px rgba(180, 83, 9, 0.35),
        0 28px 70px rgba(2, 6, 23, 0.65),
        inset 0 1px 0 rgba(254, 243, 199, 0.12);
    padding: 22px 22px 20px;
}

.exchange-fulfill-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(234, 179, 8, 0.35);
    background: rgba(15, 23, 42, 0.65);
    color: #fde68a;
    cursor: pointer;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exchange-fulfill-modal__close:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(250, 204, 21, 0.55);
}

.exchange-fulfill-modal__head {
    padding-right: 44px;
    margin-bottom: 14px;
}

.exchange-fulfill-modal__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 8px;
}

.exchange-fulfill-modal__title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fffbeb;
    line-height: 1.2;
}

.exchange-fulfill-modal__subtitle {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #fcd34d;
}

.exchange-fulfill-modal__subtitle strong {
    color: #fef08a;
}

.exchange-fulfill-modal__notice-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #e2e8f0;
}

.exchange-fulfill-modal__foot > button.exchange-fulfill-modal__submit {
    width: 100%;
}

.exchange-fulfill-modal__submit--secondary {
    border-color: rgba(148, 163, 184, 0.45);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.85), rgba(71, 85, 105, 0.65));
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.35);
}

.exchange-fulfill-modal__body {
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.22);
    background: rgba(2, 6, 23, 0.45);
    padding: 14px 14px 12px;
    margin-bottom: 16px;
}

.exchange-fulfill-modal__lister {
    margin: 0 0 12px;
    font-size: 14px;
    color: #e2e8f0;
}

.exchange-fulfill-modal__lister strong {
    color: #fef9c3;
}

.exchange-fulfill-modal__swap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

.exchange-fulfill-modal__swap-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 4px;
}

.exchange-fulfill-modal__swap-name {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
}

.exchange-fulfill-modal__swap-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.exchange-fulfill-modal__swap-square {
    display: flex;
    justify-content: center;
    width: 100%;
}

.exchange-fulfill-modal__swap-mid {
    padding-top: 0;
    color: #fbbf24;
    font-size: 1.1rem;
}

.exchange-fulfill-modal__blocked {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
    font-size: 13px;
    line-height: 1.45;
}

.exchange-fulfill-modal__foot {
    display: flex;
    justify-content: stretch;
}

.exchange-fulfill-modal__foot form {
    width: 100%;
}

.exchange-fulfill-modal__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(250, 204, 21, 0.55);
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.75), rgba(202, 138, 4, 0.55));
    color: #fffbeb;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(180, 83, 9, 0.25);
}

.exchange-fulfill-modal__submit:hover:not(:disabled) {
    border-color: rgba(254, 243, 199, 0.65);
    filter: brightness(1.05);
}

.exchange-fulfill-modal__submit:disabled {
    opacity: 0.42;
    cursor: default;
    filter: grayscale(0.25);
    box-shadow: none;
}

.exchange-fulfill-modal--cancel-contract .exchange-fulfill-modal__dialog {
    border-color: rgba(248, 113, 113, 0.45);
    background:
        linear-gradient(160deg, rgba(69, 10, 10, 0.55) 0%, rgba(15, 23, 42, 0.97) 42%, rgba(12, 18, 32, 0.99) 100%);
    box-shadow:
        0 0 0 1px rgba(185, 28, 28, 0.35),
        0 28px 70px rgba(2, 6, 23, 0.65),
        inset 0 1px 0 rgba(254, 226, 226, 0.08);
}

.exchange-fulfill-modal--cancel-contract .exchange-fulfill-modal__kicker {
    color: #f87171;
}

.exchange-fulfill-modal--cancel-contract .exchange-fulfill-modal__subtitle {
    color: #fecaca;
}

.exchange-fulfill-modal--cancel-contract .exchange-fulfill-modal__body {
    border-color: rgba(248, 113, 113, 0.22);
}

.exchange-fulfill-modal--cancel-contract .exchange-fulfill-modal__swap-mid {
    color: #f87171;
}

.exchange-fulfill-modal__submit--danger {
    border-color: rgba(248, 113, 113, 0.55);
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.85), rgba(127, 29, 29, 0.65));
    color: #fef2f2;
    box-shadow: 0 4px 18px rgba(127, 29, 29, 0.35);
}

.exchange-fulfill-modal__submit--danger:hover {
    border-color: rgba(252, 165, 165, 0.65);
    filter: brightness(1.06);
}

/* Exchange composer: same unseen-drop affordance as inventory (venue-muted frame + NEW). */
.exchange-inv-slot-btn .profile-inventory-slot-wrap.profile-inventory-slot-wrap--unseen-drop .profile-inventory-slot-panel {
    box-shadow: inset 0 0 0 2px rgba(148, 163, 184, 0.32);
}

.exchange-inv-slot-btn .profile-inventory-slot-wrap.profile-inventory-slot-wrap--unseen-drop--symposium .profile-inventory-slot-panel {
    box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.42);
}

.exchange-inv-slot-btn .profile-inventory-slot-wrap.profile-inventory-slot-wrap--unseen-drop--commons .profile-inventory-slot-panel {
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.4);
}

.exchange-inv-slot-btn .profile-inventory-slot-wrap.profile-inventory-slot-wrap--unseen-drop--oracle .profile-inventory-slot-panel {
    box-shadow: inset 0 0 0 2px rgba(139, 92, 246, 0.42);
}

/* ---- Denari as “desired” side (catalog first cell + table + amount modal) ---- */

body.exchange-denari-amount-modal-open {
    overflow: hidden;
}

/* Avoid filter on .feed-main here — it would trap position:fixed modals inside the column. */
body.exchange-denari-amount-modal-open .feed-layout > .feed-main {
    z-index: 30;
}

.exchange-inv-slot-btn--denari-want {
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(2, 6, 23, 0.35));
    box-shadow: 0 6px 22px rgba(2, 6, 23, 0.35);
}

.exchange-inv-slot-btn--denari-want:hover {
    border-color: rgba(253, 224, 71, 0.55);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.18);
}

.exchange-inv-slot-btn--denari-want.exchange-inv-slot-btn--selected {
    border-color: rgba(253, 224, 71, 0.75);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 10px 32px rgba(245, 158, 11, 0.22);
}

.exchange-denari-want-slot .exchange-denari-want-fa {
    font-size: 1.35rem;
    color: #fde68a;
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.55);
}

.exchange-denari-want-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding: 2px 6px 2px 5px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0a0a0a;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    box-shadow: 0 2px 8px rgba(2, 6, 23, 0.35);
    line-height: 1.1;
}

.exchange-denari-want-panel {
    position: relative;
}

.exchange-item-square--denari-want .exchange-denari-want-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.exchange-denari-amount-modal {
    position: fixed;
    inset: 0;
    z-index: 12020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

.exchange-denari-amount-modal[hidden] {
    display: none;
}

.exchange-denari-amount-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(6px);
}

.exchange-denari-amount-modal__dialog {
    position: relative;
    width: min(420px, 100%);
    border-radius: 18px;
    padding: 28px 26px 24px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    box-shadow:
        0 24px 80px rgba(2, 6, 23, 0.75),
        inset 0 1px 0 rgba(254, 243, 199, 0.08);
    color: #e2e8f0;
}

.exchange-denari-amount-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.6);
    color: #cbd5e1;
    cursor: pointer;
}

.exchange-denari-amount-modal__close:hover {
    color: #f8fafc;
    border-color: rgba(251, 191, 36, 0.45);
}

.exchange-denari-amount-modal__icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 20%, rgba(253, 224, 71, 0.35), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fde047;
    font-size: 1.5rem;
}

.exchange-denari-amount-modal__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    color: #fefce8;
}

.exchange-denari-amount-modal__lede {
    margin: 0 0 22px;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
    color: #94a3b8;
}

.exchange-denari-amount-modal__field {
    margin-bottom: 10px;
}

.exchange-denari-amount-modal__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

.exchange-denari-amount-modal__value-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.exchange-denari-amount-modal__output {
    font-size: 2.25rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fde047;
    text-shadow: 0 0 28px rgba(251, 191, 36, 0.35);
}

.exchange-denari-amount-modal__suffix {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

.exchange-denari-amount-modal__range {
    width: 100%;
    accent-color: #f59e0b;
    margin: 4px 0 6px;
}

.exchange-denari-amount-modal__ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
}

.exchange-denari-amount-modal__hint {
    margin: 0 0 20px;
    font-size: 0.78rem;
    text-align: center;
    color: #64748b;
}

.exchange-denari-amount-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.exchange-denari-amount-modal__btn {
    border-radius: 11px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.exchange-denari-amount-modal__btn--ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

.exchange-denari-amount-modal__btn--ghost:hover {
    border-color: rgba(226, 232, 240, 0.45);
    color: #f1f5f9;
}

.exchange-denari-amount-modal__btn--primary {
    border-color: rgba(251, 191, 36, 0.55);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28);
}

.exchange-denari-amount-modal__btn--primary:hover {
    filter: brightness(1.05);
}

.exchange-picker-tile__item-square--denari .profile-inventory-slot-panel {
    position: relative;
}

.exchange-picker-tile__item-square--denari .exchange-denari-want-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    font-size: 0.55rem;
    padding: 1px 4px;
}

/* -------------------------------------------------------------------------
   Marketing / upgrade embed — same chrome as /exchange, two-column narrative
   ------------------------------------------------------------------------- */
.exchange-marketing-spotlight {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
    margin: 0;
}

.exchange-marketing-spotlight--upgrade {
    margin-top: 0;
}

/* /upgrade: vertical scale aligned with .trader-spotlight--findings (full-viewport band + centered grid). */
.exchange-marketing-spotlight--upgrade-embed {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 120px clamp(1.25rem, 4vw, 2.5rem) 80px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .exchange-marketing-spotlight--upgrade-embed {
        padding: 100px 20px 60px;
    }
}

.exchange-marketing-spotlight--home {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.exchange-marketing-spotlight__ambient {
    inset: 0;
    opacity: 1;
}

.exchange-marketing-spotlight__shards {
    opacity: 0.55;
}

.exchange-marketing-spotlight__wrap {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.exchange-marketing-spotlight__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}

@media (max-width: 960px) {
    .exchange-marketing-spotlight__grid {
        grid-template-columns: 1fr;
    }
}

.exchange-marketing-spotlight__copy {
    padding-top: 0.25rem;
}

.exchange-marketing-spotlight__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.exchange-marketing-spotlight__eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: #fbbf24;
    font-size: 0.95rem;
}

.exchange-marketing-spotlight__eyebrow-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(226, 232, 240, 0.72);
}

.exchange-marketing-spotlight__title {
    font-family: 'Plus Jakarta Sans', 'Sora', system-ui, sans-serif;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #f8fafc;
}

.exchange-marketing-spotlight__title-active {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 6px;
}

.exchange-marketing-spotlight__title-gradient {
    background: linear-gradient(115deg, #fde68a 0%, #f59e0b 42%, #fbbf24 78%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.exchange-marketing-spotlight__lede {
    margin: 0 0 18px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.78);
    max-width: 52ch;
}

.exchange-marketing-spotlight__bullets {
    margin: 0 0 22px;
    padding-left: 1.15rem;
    color: rgba(203, 213, 225, 0.88);
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 52ch;
}

.exchange-marketing-spotlight__bullets li {
    margin-bottom: 8px;
}

.exchange-marketing-spotlight__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.exchange-marketing-spotlight__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    color: #0f172a;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 1px solid rgba(251, 191, 36, 0.55);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25);
}

.exchange-marketing-spotlight__cta-primary:hover {
    filter: brightness(1.06);
    color: #0f172a;
}

.exchange-marketing-spotlight__cta-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.35);
}

.exchange-marketing-spotlight__cta-ghost:hover {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fef3c7;
}

.exchange-marketing-spotlight__composer-col {
    position: relative;
}

.exchange-marketing-spotlight__composer-col .exchange-composer-card {
    margin: 0;
}

.exchange-marketing-spotlight__composer-col .exchange-trader-notice {
    margin: 0;
}

/* =============================================================================
   Marketing: oracle-parallel copy + static swap demo
   (exchange_spotlight_home_layout or exchange_spotlight_upgrade_layout)
   ============================================================================= */

.exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__wrap--home-oracle {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

/* Explicit 2-col layout: copy left, composer-style card right (matches Oracle spotlight). */
.exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, min(520px, 44vw));
    gap: 48px 56px;
    align-items: center;
    width: 100%;
}

.exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid > .trader-spotlight-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid > .trader-spotlight-visual {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
}

@media (max-width: 960px) {
    .exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid {
        grid-template-columns: 1fr;
    }

    .exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid > .trader-spotlight-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .exchange-marketing-spotlight--oracle-style-benefits .exchange-marketing-spotlight__home-oracle-grid > .trader-spotlight-visual {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }
}

.exchange-marketing-spotlight--oracle-style-benefits .section-label {
    color: rgba(253, 230, 138, 0.92);
    letter-spacing: 0.12em;
}

.exchange-marketing-spotlight--oracle-style-benefits .trader-spotlight-icon--exchange-home {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.42), rgba(180, 83, 9, 0.28));
    color: #fef3c7;
    border-color: rgba(251, 191, 36, 0.35);
}

.exchange-marketing-spotlight--oracle-style-benefits .exchange-spotlight-home-heading {
    color: #fff;
}

.exchange-marketing-spotlight--oracle-style-benefits .exchange-spotlight-home-heading__accent {
    background: linear-gradient(115deg, #fde68a 0%, #f59e0b 42%, #fbbf24 78%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 28px rgba(245, 158, 11, 0.22));
}

.exchange-marketing-spotlight--oracle-style-benefits .section-title.trader-spotlight-heading {
    font-family: 'Plus Jakarta Sans', 'Sora', system-ui, sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.exchange-marketing-spotlight--oracle-style-benefits .trader-spotlight-lede {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    max-width: 520px;
}

/* Upgrade /upgrade: Findings-style prob rows, amber (Exchange) */
.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts {
    max-width: 480px;
    margin-top: 14px;
    margin-bottom: 18px;
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange li {
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.32);
    background: linear-gradient(145deg, rgba(120, 53, 15, 0.42) 0%, rgba(30, 18, 8, 0.58) 100%);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.07);
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange .upgrade-findings-prob-label {
    color: rgba(254, 243, 199, 0.9);
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange .upgrade-findings-prob-note {
    color: rgba(253, 230, 138, 0.42);
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange .upgrade-findings-prob-from {
    color: rgba(203, 213, 225, 0.72);
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange .upgrade-findings-prob-to {
    color: #fde68a;
    font-weight: 700;
    text-shadow: 0 0 14px rgba(245, 158, 11, 0.22);
}

.exchange-marketing-spotlight--oracle-style-benefits .upgrade-findings-prob-boosts.trader-spotlight-boosts--exchange .upgrade-findings-prob-arrow {
    color: rgba(251, 191, 36, 0.92);
}

.exchange-marketing-spotlight--upgrade-embed .exchange-spotlight-upgrade-2x {
    background: linear-gradient(115deg, #fde68a 0%, #f59e0b 42%, #fbbf24 78%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.25));
}

.exchange-marketing-spotlight--oracle-style-benefits .trader-spotlight-cta-btn--exchange-home,
.home-page .hero-immersive-slide .trader-spotlight-cta-btn--exchange-home {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 52%, #b45309 100%);
    box-shadow:
        0 4px 24px rgba(245, 158, 11, 0.32),
        0 0 40px rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.45);
    color: #0f172a;
}

.exchange-marketing-spotlight--oracle-style-benefits .trader-spotlight-cta-btn--exchange-home:hover,
.home-page .hero-immersive-slide .trader-spotlight-cta-btn--exchange-home:hover {
    box-shadow:
        0 8px 32px rgba(245, 158, 11, 0.42),
        0 0 56px rgba(251, 191, 36, 0.14);
    color: #0f172a;
}

.exchange-marketing-spotlight--oracle-style-benefits .trader-spotlight-cta-btn--exchange-home .btn-icon,
.home-page .hero-immersive-slide .trader-spotlight-cta-btn--exchange-home .btn-icon {
    color: #0f172a;
}

.exchange-spotlight-visual--demo {
    display: flex;
    justify-content: center;
}

/* Align with 960px grid: card hugs the right edge of the second column on desktop. */
@media (min-width: 961px) {
    .exchange-marketing-spotlight--oracle-style-benefits .exchange-spotlight-visual--demo {
        justify-content: flex-end;
    }

    .exchange-marketing-spotlight--oracle-style-benefits .exchange-spotlight-demo-frame {
        animation: upgradePromoFloat 5.5s ease-in-out infinite;
    }
}

.exchange-spotlight-demo-frame {
    width: 100%;
    max-width: 480px;
}

@media (max-width: 960px) {
    /* Column order: reuse .trader-spotlight-visual--oracle on the demo column (oracle_spotlight.css). */
    .exchange-spotlight-demo-frame {
        max-width: min(480px, 100%);
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Static swap demo card (exchange composer chrome, non-interactive) --- */
.exchange-home-swap-demo-card {
    position: relative;
    z-index: 2;
    margin: 0;
}

.exchange-composer-card.exchange-home-swap-demo-card {
    padding: 12px 14px 14px;
}

.exchange-home-swap-demo-card .exchange-composer-title {
    font-size: clamp(0.98rem, 2.1vw, 1.08rem);
    gap: 8px;
}

.exchange-home-swap-demo-card .exchange-composer-top {
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.exchange-home-swap-demo-slots.exchange-composer-slots {
    flex-shrink: 0;
    padding-top: 2px;
    font-size: 11px;
}

/* Exotic catalog tiles (same panels as inventory spotlight, scaled to composer picker).
   Item and Denari squares share the same explicit 72x72 footprint so the
   "Offering" and "Desired" cells always read as visually paired regardless of
   inherited rules from upgrade-findings or profile-inventory-slot styles.
   !important ensures sizing wins over rarity / panel descendants that ship a
   larger footprint elsewhere on the page (e.g. upgrade-findings exotic grid). */
.exchange-home-swap-demo-exotic-media {
    padding: 0;
    border: none;
    background: transparent;
}

.exchange-home-swap-demo-exotic-panel.upgrade-findings-exotic-panel {
    width: 72px !important;
    height: 72px !important;
}

.exchange-home-swap-demo-exotic-slot.profile-inventory-slot {
    width: 72px !important;
    height: 72px !important;
    border-radius: var(--radius-md, 8px);
}

.exchange-home-swap-demo-exotic-slot .profile-inventory-slot-img,
.exchange-home-swap-demo-exotic-slot .profile-inventory-slot-sprite {
    width: 72px !important;
    height: 72px !important;
}

.exchange-home-swap-demo-exotic-slot--empty .profile-inventory-slot-placeholder-fa {
    color: #fda4af;
    opacity: 0.88;
    font-size: 1.4rem;
}

.exchange-home-swap-demo-denari-offer .exchange-denari-want-wrap.profile-inventory-slot-wrap {
    width: 72px !important;
    max-width: 72px !important;
    min-width: 72px !important;
}

.exchange-home-swap-demo-denari-offer .exchange-denari-want-panel.exchange-home-swap-demo-denari-panel {
    width: 72px !important;
    height: 72px !important;
}

.exchange-home-swap-demo-denari-offer .exchange-denari-want-slot.exchange-home-swap-demo-denari-slot {
    width: 72px !important;
    height: 72px !important;
    border-radius: var(--radius-md, 8px);
}

.exchange-home-swap-demo-denari-offer .exchange-denari-want-slot .exchange-denari-want-fa {
    font-size: 1.4rem;
}

.exchange-home-swap-demo-denari-offer .exchange-denari-want-badge {
    right: 3px;
    bottom: 3px;
    font-size: 0.58rem;
    padding: 1px 4px 1px 3px;
}

.exchange-home-swap-demo-body {
    padding-top: 0;
}

.exchange-home-swap-demo-picker.exchange-picker-row {
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

/* Equal-width columns so the Offering and Desired tiles match in both height
   and width regardless of label length (long exotic names vs short "Denari"). */
.exchange-home-swap-demo-picker .exchange-picker-col {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.exchange-home-swap-demo-picker .exchange-picker-heading {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.exchange-home-swap-demo-picker .exchange-picker-mid {
    padding-top: 0;
    align-self: center;
    font-size: 1.45rem;
    line-height: 1;
}

.exchange-home-swap-demo-tile.exchange-picker-tile {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 116px;
    padding: 8px 10px;
    border-radius: 12px;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 1;
    box-sizing: border-box;
    cursor: default;
    pointer-events: none;
}

.exchange-home-swap-demo-tile .exchange-picker-tile__inner {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

/* Allow the text column to take the full inner width and wrap, so long exotic
   names like "Verdant Sunplume Masquerade" break across lines instead of
   pushing the tile wider than its column. */
.exchange-home-swap-demo-tile .exchange-picker-tile__text {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: center;
}

.exchange-home-swap-demo-tile .exchange-picker-tile__media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.exchange-home-swap-demo-tile .exchange-picker-tile__label {
    display: block;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 100%;
    line-height: 1.25;
    font-size: 0.78rem;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.exchange-home-swap-demo-tile .exchange-picker-tile__qty {
    width: 100%;
    max-width: 100%;
    text-align: center;
    font-size: 10px;
    opacity: 0.9;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.exchange-home-swap-demo-create-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

span.exchange-home-swap-demo-create-pill.exchange-composer-submit {
    cursor: default;
    pointer-events: none;
    letter-spacing: 0.02em;
    font-size: 12px;
    font-weight: 800;
    padding: 0.55rem 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
    .exchange-spotlight-demo-frame {
        animation: none !important;
    }
}
