:root{
--panel-bg-1:rgba(255,255,255,.048);
--panel-bg-2:rgba(255,255,255,.020);
--panel-bg-3:rgba(255,255,255,.010);

--panel-line:rgba(255,241,191,.12);
--panel-line-soft:rgba(255,255,255,.06);
--panel-line-strong:rgba(255,241,191,.18);

--text-main:rgba(248,247,242,.96);
--text-soft:rgba(220,223,228,.72);
--text-faint:rgba(181,188,198,.52);

--commit:#d9ba77;
--countdown:#ff6f7f;
--live:#3df0b1;

--accent-a:rgba(214,178,94,.96);
--accent-b:rgba(142,155,176,.92);
--accent-c:rgba(88,111,140,.82);

--shadow-hero:0 34px 100px rgba(0,0,0,.54);
--shadow-lg:0 22px 64px rgba(0,0,0,.42);
--shadow-md:0 14px 34px rgba(0,0,0,.30);
--shadow-sm:0 8px 20px rgba(0,0,0,.22);

--radius-2xl:28px;
--radius-xl:22px;
--radius-lg:18px;
--radius-md:14px;
}

.hidden{
display:none !important;
}

.launch-market-wrap{
display:grid;
gap:20px;
min-width:0;
}

/* =========================
HERO / IDENTITY
========================= */

.launch-hero-shell{
position:relative;
overflow:hidden;
border-radius:var(--radius-2xl);
border:1px solid rgba(255,241,191,.12);
background:
linear-gradient(180deg, rgba(14,18,26,.98), rgba(8,11,18,.98)),
radial-gradient(920px 280px at 0% 0%, rgba(214,178,94,.16), transparent 56%),
radial-gradient(760px 220px at 100% 0%, rgba(88,111,140,.18), transparent 48%);
box-shadow:
var(--shadow-hero),
inset 0 1px 0 rgba(255,255,255,.05),
0 0 0 1px rgba(255,241,191,.03);
isolation:isolate;
}

.launch-hero-shell::before{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:
linear-gradient(180deg, rgba(255,255,255,.025), transparent 24%),
linear-gradient(90deg, rgba(255,241,191,.00), rgba(255,241,191,.12) 18%, rgba(255,241,191,.00) 38%);
opacity:.72;
}

.launch-hero-shell::after{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:1px;
pointer-events:none;
background:linear-gradient(
90deg,
rgba(255,241,191,0),
rgba(255,241,191,.36),
rgba(181,188,198,.22),
rgba(255,241,191,0)
);
}

.launch-hero-backdrop{
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 20% 16%, rgba(255,255,255,.04), transparent 18%),
radial-gradient(circle at 84% 10%, rgba(255,255,255,.025), transparent 18%);
}

.launch-hero-noise{
position:absolute;
inset:0;
pointer-events:none;
opacity:.035;
mix-blend-mode:overlay;
background-image:linear-gradient(transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
background-size:100% 3px;
}

.launch-token-hero{
position:relative;
z-index:1;
display:grid;
grid-template-columns:minmax(0,1.14fr) minmax(390px,.86fr);
gap:20px;
padding:26px;
align-items:start;
min-width:0;
}

.launch-token-hero-left,
.launch-token-hero-right{
min-width:0;
}

.launch-token-hero-right{
display:grid;
gap:14px;
}

.launch-token-brand{
display:grid;
grid-template-columns:92px minmax(0,1fr);
gap:18px;
align-items:start;
min-width:0;
}

.launch-token-logo-shell{
position:relative;
width:92px;
height:92px;
flex:0 0 auto;
}

.launch-token-logo-ring{
position:absolute;
inset:0;
border-radius:24px;
background:
linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
linear-gradient(135deg, rgba(214,178,94,.22), rgba(88,111,140,.22));
border:1px solid rgba(255,241,191,.12);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.12),
0 16px 34px rgba(0,0,0,.26);
}

.launch-token-logo{
position:absolute;
inset:7px;
border-radius:18px;
display:grid;
place-items:center;
font-weight:900;
font-size:28px;
color:#fff;
overflow:hidden;
background:
radial-gradient(circle at 28% 20%, rgba(255,255,255,.10), transparent 42%),
linear-gradient(180deg, rgba(20,24,31,.98), rgba(10,13,19,.98));
border:1px solid rgba(255,255,255,.07);
box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.launch-token-logo img{
width:100%;
height:100%;
object-fit:cover;
display:block;
border-radius:inherit;
}

.launch-token-meta{
min-width:0;
}

.launch-token-title-row{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
flex-wrap:wrap;
}

.launch-token-title-stack{
min-width:0;
}

.launch-token-name{
margin:0;
font-size:42px;
line-height:.94;
letter-spacing:-.055em;
color:#fff;
text-shadow:0 2px 18px rgba(0,0,0,.20);
word-break:break-word;
}

.launch-token-subrow{
margin-top:10px;
display:flex;
gap:8px;
flex-wrap:wrap;
align-items:center;
color:var(--text-soft);
font-size:13px;
}

.launch-token-symbol{
color:#fff;
font-weight:900;
letter-spacing:.10em;
}

.launch-token-divider{
color:rgba(255,255,255,.20);
}

.launch-builder-label{
color:var(--text-faint);
}

.launch-builder-wallet{
color:rgba(255,255,255,.84);
word-break:break-word;
}

.launch-phase-wrap{
display:flex;
align-items:flex-start;
}

.launch-phase-badge{
display:inline-flex;
align-items:center;
gap:8px;
min-height:38px;
padding:0 14px;
border-radius:999px;
font-size:10px;
font-weight:900;
letter-spacing:.16em;
border:1px solid rgba(255,255,255,.10);
backdrop-filter:blur(12px);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.08),
0 10px 20px rgba(0,0,0,.18);
}

.launch-phase-badge-dot{
width:8px;
height:8px;
border-radius:999px;
background:currentColor;
box-shadow:0 0 12px currentColor;
}

.launch-phase-badge.phase-commit{
color:var(--commit);
background:rgba(217,186,119,.10);
border-color:rgba(217,186,119,.22);
}

.launch-phase-badge.phase-countdown,
.launch-phase-badge.phase-building{
color:var(--countdown);
background:rgba(255,111,127,.10);
border-color:rgba(255,111,127,.22);
}

.launch-phase-badge.phase-live,
.launch-phase-badge.phase-graduated{
color:var(--live);
background:rgba(61,240,177,.10);
border-color:rgba(61,240,177,.22);
}

.launch-phase-badge.phase-failed{
color:#ff97a3;
background:rgba(255,111,127,.08);
border-color:rgba(255,111,127,.18);
}

.launch-token-meta-strip{
margin-top:16px;
display:flex;
flex-wrap:wrap;
gap:10px;
}

.launch-meta-pill{
min-height:36px;
padding:0 12px;
border-radius:999px;
display:inline-flex;
align-items:center;
gap:8px;
border:1px solid rgba(255,255,255,.08);
background:
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
min-width:0;
max-width:100%;
}

.launch-meta-pill-label{
color:var(--text-faint);
font-size:10px;
letter-spacing:.10em;
text-transform:uppercase;
flex:0 0 auto;
}

.launch-meta-pill-value{
color:#fff;
font-size:12px;
font-weight:800;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.launch-ca-card,
.launch-links-card,
.cassie-card{
width:100%;
border-radius:20px;
border:1px solid rgba(255,255,255,.08);
background:
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
padding:15px;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.04),
var(--shadow-sm);
min-width:0;
}

.launch-ca-card-top,
.launch-links-card-top,
.cassie-card-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
margin-bottom:10px;
flex-wrap:wrap;
}

.launch-ca-label,
.launch-links-title,
.cassie-title{
font-size:10px;
letter-spacing:.14em;
text-transform:uppercase;
color:var(--text-faint);
}

.launch-ca-state,
.cassie-state{
font-size:11px;
color:rgba(255,255,255,.68);
}

.launch-ca-pill,
.chart-ca-chip{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
width:100%;
min-height:50px;
padding:0 14px;
border-radius:14px;
border:1px solid rgba(255,255,255,.09);
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022));
color:var(--text-main);
cursor:pointer;
transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
min-width:0;
}

.launch-ca-pill:hover:not(:disabled),
.chart-ca-chip:hover:not(:disabled){
transform:translateY(-1px);
border-color:rgba(255,241,191,.14);
background:
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
box-shadow:
inset 0 1px 0 rgba(255,255,255,.05),
0 10px 22px rgba(0,0,0,.20);
}

.launch-ca-pill:disabled,
.chart-ca-chip:disabled{
opacity:.55;
cursor:not-allowed;
}

.launch-ca-copy-wrap{
display:inline-flex;
align-items:center;
gap:8px;
color:var(--text-soft);
font-size:12px;
flex:0 0 auto;
}

.launch-ca-copy-icon{
font-size:13px;
}

.launch-external-links{
display:flex;
flex-wrap:wrap;
gap:8px;
}

.launch-link-chip{
min-height:34px;
padding:0 12px;
border-radius:999px;
display:inline-flex;
align-items:center;
gap:8px;
border:1px solid rgba(255,255,255,.09);
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
color:rgba(255,255,255,.86);
font-size:12px;
box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
transition:transform .18s ease, background .18s ease;
min-width:0;
max-width:100%;
overflow-wrap:anywhere;
}

.launch-link-chip:hover{
transform:translateY(-1px);
background:
linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}

.launch-manage-links-btn{
min-height:32px;
padding:0 11px;
border-radius:11px;
border:1px solid rgba(255,255,255,.10);
background:rgba(255,255,255,.05);
color:#fff;
cursor:pointer;
font-size:12px;
font-weight:700;
transition:transform .16s ease, background .16s ease, border-color .16s ease;
}

.launch-manage-links-btn:hover{
transform:translateY(-1px);
background:rgba(255,255,255,.08);
border-color:rgba(255,241,191,.16);
}

.cassie-card{
position:relative;
overflow:hidden;
background:
radial-gradient(circle at 12% 8%, rgba(214,178,94,.08), transparent 24%),
radial-gradient(circle at 88% 16%, rgba(88,111,140,.10), transparent 22%),
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.cassie-card::after{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:linear-gradient(180deg, rgba(255,255,255,.025), transparent 28%);
}

.cassie-badge{
min-height:26px;
padding:0 10px;
border-radius:999px;
display:inline-flex;
align-items:center;
gap:8px;
color:var(--live);
background:rgba(61,240,177,.08);
border:1px solid rgba(61,240,177,.18);
font-size:10px;
font-weight:800;
letter-spacing:.12em;
text-transform:uppercase;
}

.cassie-badge-dot{
width:7px;
height:7px;
border-radius:999px;
background:currentColor;
box-shadow:0 0 12px currentColor;
}

.cassie-grid{
display:grid;
grid-template-columns:repeat(2, minmax(0,1fr));
gap:10px;
margin-top:12px;
}

.cassie-metric{
border-radius:14px;
border:1px solid rgba(255,255,255,.07);
background:rgba(255,255,255,.025);
padding:12px;
min-width:0;
}

.cassie-metric-label{
color:var(--text-faint);
font-size:10px;
letter-spacing:.10em;
text-transform:uppercase;
margin-bottom:5px;
}

.cassie-metric-value{
color:#fff;
font-size:13px;
font-weight:800;
line-height:1.22;
word-break:break-word;
}

.cassie-note{
margin-top:12px;
color:var(--text-soft);
font-size:12px;
line-height:1.5;
}

.launch-builder-intel-main,
.launch-builder-alias-wrap{
min-width:0;
}

.launch-builder-alias{
color:#fff;
font-size:18px;
font-weight:900;
line-height:1.08;
letter-spacing:-.02em;
word-break:break-word;
}

.launch-builder-sub{
margin-top:6px;
color:var(--text-soft);
font-size:12px;
line-height:1.5;
}

.launch-builder-intel-actions{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-top:12px;
}

/* =========================
MARKET CARD
========================= */

.market-card{
position:relative;
overflow:hidden;
border-radius:var(--radius-2xl);
border:1px solid rgba(255,241,191,.12);
background:
linear-gradient(180deg, rgba(12,16,24,.99), rgba(7,10,17,.99)),
radial-gradient(860px 280px at 10% 0%, rgba(214,178,94,.10), transparent 50%),
radial-gradient(760px 240px at 90% 0%, rgba(88,111,140,.12), transparent 44%);
box-shadow:
var(--shadow-hero),
inset 0 1px 0 rgba(255,255,255,.04);
isolation:isolate;
}

.market-card::before{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:
linear-gradient(180deg, rgba(255,255,255,.02), transparent 18%),
linear-gradient(90deg, rgba(255,241,191,.00), rgba(255,241,191,.08) 18%, rgba(255,241,191,.00) 36%);
}

.market-card-frame{
position:absolute;
inset:0;
border-radius:inherit;
pointer-events:none;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.05),
inset 0 -1px 0 rgba(255,255,255,.02);
}

.market-card-glow{
position:absolute;
inset:-1px;
border-radius:inherit;
pointer-events:none;
opacity:.92;
}

.market-card-top-shine{
position:absolute;
left:0;
right:0;
top:0;
height:92px;
background:linear-gradient(180deg, rgba(255,255,255,.03), transparent);
pointer-events:none;
}

.market-card.phase-commit .market-card-glow{
box-shadow:
0 0 0 1px rgba(217,186,119,.12),
0 0 28px rgba(217,186,119,.06);
}

.market-card.phase-countdown .market-card-glow{
box-shadow:
0 0 0 1px rgba(255,111,127,.18),
0 0 42px rgba(255,111,127,.10);
animation:marketPulse 1.35s ease-in-out infinite;
}

.market-card.phase-live .market-card-glow{
box-shadow:
0 0 0 1px rgba(61,240,177,.14),
0 0 34px rgba(61,240,177,.08);
}

.market-card[data-tone="elevated"]{
box-shadow:
0 0 0 1px rgba(255,111,127,.08),
0 26px 72px rgba(0,0,0,.40),
0 0 38px rgba(255,111,127,.06);
}

.market-card[data-tone="strong"]{
box-shadow:
0 0 0 1px rgba(214,178,94,.08),
0 26px 72px rgba(0,0,0,.40),
0 0 32px rgba(214,178,94,.06);
}

@keyframes marketPulse{
0%{opacity:.56}
50%{opacity:1}
100%{opacity:.56}
}

.market-card-header{
position:relative;
z-index:2;
display:grid;
grid-template-columns:minmax(0,1fr) auto;
gap:14px;
padding:20px 20px 14px;
border-bottom:1px solid var(--panel-line-soft);
}

.market-card-header-left{
min-width:0;
}

.market-title-row{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
flex-wrap:wrap;
}

.market-title-stack{
display:grid;
gap:4px;
min-width:0;
}

.market-kicker{
font-size:10px;
letter-spacing:.20em;
text-transform:uppercase;
color:var(--text-faint);
}

.market-card-title{
margin:0;
font-size:30px;
line-height:.98;
letter-spacing:-.05em;
color:#fff;
word-break:break-word;
}

.market-live-pill-wrap{
display:flex;
align-items:center;
}

.market-status-pill{
min-height:32px;
padding:0 11px;
border-radius:999px;
display:inline-flex;
align-items:center;
gap:8px;
border:1px solid rgba(255,255,255,.09);
background:rgba(255,255,255,.035);
box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.market-status-pill.phase-commit{
background:rgba(217,186,119,.08);
border-color:rgba(217,186,119,.18);
}

.market-status-pill.phase-countdown{
background:rgba(255,111,127,.08);
border-color:rgba(255,111,127,.18);
}

.market-status-pill.phase-live{
background:rgba(61,240,177,.08);
border-color:rgba(61,240,177,.18);
}

.market-status-dot{
width:8px;
height:8px;
border-radius:999px;
display:inline-block;
flex:0 0 auto;
}

.market-status-dot.phase-commit{
background:var(--commit);
box-shadow:0 0 14px rgba(217,186,119,.58);
}

.market-status-dot.phase-countdown{
background:var(--countdown);
box-shadow:0 0 14px rgba(255,111,127,.60);
}

.market-status-dot.phase-live{
background:var(--live);
box-shadow:0 0 14px rgba(61,240,177,.64);
}

.market-status-label{
font-size:12px;
font-weight:800;
color:#fff;
}

.market-subrow{
margin-top:12px;
display:flex;
gap:10px;
flex-wrap:wrap;
align-items:center;
}

.chart-ca-chip{
width:auto;
min-width:230px;
}

.chart-ca-chip-left{
display:inline-flex;
align-items:center;
gap:10px;
min-width:0;
overflow:hidden;
}

.chart-ca-chip-label{
font-size:10px;
letter-spacing:.14em;
text-transform:uppercase;
color:var(--text-faint);
flex:0 0 auto;
}

.chart-ca-chip-copy{
color:var(--text-soft);
font-size:12px;
flex:0 0 auto;
}

.market-card-header-right{
display:flex;
align-items:flex-start;
}

.market-timeframes{
display:flex;
align-items:center;
gap:6px;
flex-wrap:wrap;
}

.market-timeframes.disabled{
opacity:.42;
pointer-events:none;
}

.market-timeframe{
min-height:33px;
padding:0 11px;
border-radius:10px;
border:1px solid rgba(255,255,255,.09);
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
color:rgba(255,255,255,.82);
cursor:pointer;
font-size:12px;
font-weight:800;
transition:transform .16s ease, background .16s ease, border-color .16s ease;
}

.market-timeframe:hover{
transform:translateY(-1px);
background:
linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.026));
}

.market-timeframe.active{
background:
linear-gradient(180deg, rgba(214,178,94,.14), rgba(255,255,255,.05));
border-color:rgba(214,178,94,.18);
color:#fff;
box-shadow:0 0 0 1px rgba(255,255,255,.02) inset;
}

.market-card-body{
position:relative;
z-index:1;
}

.market-chart-shell{
position:relative;
min-height:540px;
margin-top:8px;
border-top:1px solid rgba(255,255,255,.04);
overflow:hidden;
background:
linear-gradient(180deg, rgba(255,255,255,.006), rgba(255,255,255,.00));
}

.market-chart-bg-orb{
position:absolute;
border-radius:999px;
filter:blur(84px);
opacity:.18;
pointer-events:none;
}

.market-chart-bg-orb.orb-a{
width:280px;
height:280px;
left:-60px;
top:34px;
background:rgba(214,178,94,.18);
}

.market-chart-bg-orb.orb-b{
width:240px;
height:240px;
right:-40px;
top:130px;
background:rgba(88,111,140,.18);
}

.market-chart-grid{
position:absolute;
inset:0;
background-image:
linear-gradient(rgba(255,255,255,.040) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.040) 1px, transparent 1px);
background-size:100% 96px, 96px 100%;
opacity:.18;
pointer-events:none;
}

.market-chart-vignette{
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at center, transparent 46%, rgba(0,0,0,.14) 100%),
linear-gradient(180deg, rgba(0,0,0,.02), transparent 18%, transparent 82%, rgba(0,0,0,.04));
}

.market-overlay{
position:absolute;
inset:0;
display:flex;
align-items:center;
justify-content:center;
padding:18px;
z-index:2;
text-align:center;
}

.market-card.phase-live .market-overlay{
display:none;
}

.market-overlay-inner{
max-width:660px;
text-align:center;
}

.market-overlay-eyebrow{
color:var(--text-faint);
font-size:11px;
letter-spacing:.24em;
text-transform:uppercase;
margin-bottom:12px;
}

.market-overlay-title{
font-size:40px;
font-weight:900;
line-height:1;
letter-spacing:-.05em;
margin-bottom:10px;
color:#fff;
}

.market-overlay-text{
max-width:580px;
margin:0 auto;
color:var(--text-soft);
font-size:14px;
line-height:1.58;
}

.market-overlay-text.hidden{
display:none !important;
}

.market-overlay-badges{
margin-top:14px;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:8px;
}

.market-overlay-badge{
min-height:28px;
padding:0 10px;
border-radius:999px;
display:inline-flex;
align-items:center;
border:1px solid rgba(255,255,255,.09);
background:rgba(255,255,255,.03);
color:rgba(255,255,255,.76);
font-size:10px;
letter-spacing:.08em;
text-transform:uppercase;
}

.market-countdown-box{
margin-top:18px;
}

.market-countdown-label{
color:var(--text-faint);
font-size:11px;
letter-spacing:.20em;
text-transform:uppercase;
margin-bottom:8px;
}

.market-countdown-value{
font-size:62px;
line-height:1;
font-weight:900;
letter-spacing:.04em;
color:#fff;
text-shadow:0 0 28px rgba(255,255,255,.04);
}

.market-countdown-subtext{
margin-top:8px;
color:var(--text-soft);
font-size:13px;
}

.market-live-layer{
position:absolute;
inset:0;
z-index:1;
}

.market-live-layer.hidden{
display:none !important;
}

.market-chart-canvas{
width:100%;
height:400px;
position:relative;
touch-action:none;
cursor:crosshair;
}

.market-volume-canvas{
width:100%;
height:120px;
border-top:1px solid rgba(255,255,255,.05);
position:relative;
touch-action:none;
cursor:crosshair;
}

.market-card-footer{
position:relative;
z-index:2;
padding:18px 18px 18px;
border-top:1px solid rgba(255,255,255,.05);
background:
linear-gradient(180deg, rgba(255,255,255,.008), rgba(255,255,255,.018));
}

.market-card-footer #marketStatsGrid,
#marketStatsGrid.market-stats-grid{
display:grid !important;
grid-template-columns:repeat(4, minmax(0,1fr)) !important;
gap:14px !important;
align-items:stretch !important;
min-width:0 !important;
}

.market-card-footer #marketStatsGrid > .market-stat,
#marketStatsGrid.market-stats-grid > .market-stat{
position:relative;
overflow:hidden;
border-radius:18px !important;
border:1px solid rgba(255,255,255,.08) !important;
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)) !important;
padding:16px 15px 14px !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.04),
0 12px 26px rgba(0,0,0,.16) !important;
min-width:0 !important;
min-height:96px !important;
display:flex !important;
flex-direction:column !important;
justify-content:center !important;
}

.market-card-footer #marketStatsGrid > .market-stat .market-stat-topline,
#marketStatsGrid.market-stats-grid > .market-stat .market-stat-topline{
position:absolute;
top:0;
left:0;
right:0;
height:2px;
background:linear-gradient(90deg, rgba(255,255,255,.16), transparent);
opacity:.50;
}

.market-card.phase-commit #marketStatsGrid > .market-stat .market-stat-topline{
background:linear-gradient(90deg, rgba(217,186,119,.40), transparent);
}

.market-card.phase-countdown #marketStatsGrid > .market-stat .market-stat-topline{
background:linear-gradient(90deg, rgba(255,111,127,.42), transparent);
}

.market-card.phase-live #marketStatsGrid > .market-stat .market-stat-topline{
background:linear-gradient(90deg, rgba(61,240,177,.42), transparent);
}

.market-card-footer #marketStatsGrid > .market-stat .market-stat-label,
#marketStatsGrid.market-stats-grid > .market-stat .market-stat-label{
color:rgba(255,255,255,.56) !important;
font-size:10px !important;
letter-spacing:.12em !important;
text-transform:uppercase !important;
margin-bottom:8px !important;
line-height:1.24 !important;
}

.market-card-footer #marketStatsGrid > .market-stat .market-stat-value,
#marketStatsGrid.market-stats-grid > .market-stat .market-stat-value{
font-size:20px !important;
font-weight:900 !important;
line-height:1.06 !important;
color:#fff !important;
letter-spacing:-.03em !important;
white-space:normal !important;
overflow:visible !important;
text-overflow:unset !important;
word-break:break-word !important;
}

.market-wallet-summary{
display:grid;
grid-template-columns:repeat(3, minmax(0,1fr));
gap:12px;
position:relative;
z-index:2;
min-width:0;
}

.market-wallet-chip{
min-height:74px;
border-radius:18px;
border:1px solid rgba(255,255,255,.08);
background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
padding:13px 14px;
display:grid;
gap:6px;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.04),
0 10px 18px rgba(0,0,0,.14);
min-width:0;
}

.market-wallet-chip-label{
color:var(--text-faint);
font-size:10px;
letter-spacing:.10em;
text-transform:uppercase;
}

.market-wallet-chip-value{
color:#fff;
font-size:15px;
font-weight:800;
line-height:1.18;
word-break:break-word;
min-width:0;
}

.market-wallet-chip-value > div{
white-space:normal;
}

.market-access-card{
position:relative;
overflow:hidden;
border-radius:20px;
border:1px solid rgba(255,255,255,.08);
background:
radial-gradient(circle at top right, rgba(214,178,94,.06), transparent 30%),
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
padding:16px;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.04),
0 12px 24px rgba(0,0,0,.16);
min-width:0;
}

.market-access-card-top{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
margin-bottom:12px;
flex-wrap:wrap;
}

.market-access-kicker{
font-size:10px;
letter-spacing:.16em;
text-transform:uppercase;
color:var(--text-faint);
margin-bottom:4px;
}

.market-access-title{
font-size:18px;
font-weight:900;
line-height:1.05;
letter-spacing:-.03em;
color:#fff;
word-break:break-word;
}

.market-access-state-pill{
min-height:28px;
padding:0 10px;
border-radius:999px;
display:inline-flex;
align-items:center;
justify-content:center;
font-size:10px;
font-weight:800;
letter-spacing:.10em;
text-transform:uppercase;
color:var(--countdown);
background:rgba(255,111,127,.08);
border:1px solid rgba(255,111,127,.18);
flex:0 0 auto;
}

.market-access-state-pill.is-open{
color:var(--live);
background:rgba(61,240,177,.08);
border-color:rgba(61,240,177,.18);
}

.market-access-state-pill.is-restricted{
color:var(--commit);
background:rgba(217,186,119,.08);
border-color:rgba(217,186,119,.18);
}

.market-access-grid{
display:grid;
grid-template-columns:repeat(2, minmax(0,1fr));
gap:10px;
}

.market-access-metric{
border-radius:14px;
border:1px solid rgba(255,255,255,.07);
background:rgba(255,255,255,.024);
padding:12px;
min-width:0;
}

.market-access-metric-label{
font-size:10px;
letter-spacing:.10em;
text-transform:uppercase;
color:var(--text-faint);
margin-bottom:6px;
}

.market-access-metric-value{
font-size:14px;
font-weight:800;
line-height:1.18;
color:#fff;
word-break:break-word;
}

.market-access-note{
margin-top:12px;
color:var(--text-soft);
font-size:12px;
line-height:1.5;
}

/* =========================
LAUNCH LINKS MODAL
========================= */

.launch-links-modal{
position:fixed;
inset:0;
z-index:120;
}

.launch-links-modal-backdrop{
position:absolute;
inset:0;
background:rgba(2,4,9,.70);
backdrop-filter:blur(8px);
}

.launch-links-modal-card{
position:relative;
z-index:1;
overflow:hidden;
width:min(580px, calc(100vw - 24px));
margin:8vh auto 0;
border-radius:24px;
border:1px solid rgba(255,241,191,.12);
background:
linear-gradient(180deg, rgba(12,16,26,.985), rgba(8,11,18,.985)),
radial-gradient(circle at top left, rgba(214,178,94,.12), transparent 28%);
padding:20px;
box-shadow:0 34px 90px rgba(0,0,0,.56);
}

.launch-links-modal-card-shine{
position:absolute;
top:0;
left:0;
right:0;
height:86px;
background:linear-gradient(180deg, rgba(255,255,255,.03), transparent);
pointer-events:none;
}

.launch-links-modal-header{
position:relative;
z-index:1;
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
margin-bottom:18px;
}

.launch-links-modal-kicker{
font-size:11px;
letter-spacing:.18em;
text-transform:uppercase;
color:var(--text-faint);
margin-bottom:6px;
}

.launch-links-modal-header h3{
margin:0;
font-size:28px;
line-height:1;
letter-spacing:-.03em;
}

.launch-links-close-btn{
width:42px;
height:42px;
border-radius:12px;
border:1px solid rgba(255,255,255,.10);
background:rgba(255,255,255,.04);
color:#fff;
cursor:pointer;
font-size:24px;
}

.launch-links-form{
position:relative;
z-index:1;
display:grid;
gap:12px;
}

.launch-links-field{
display:grid;
gap:8px;
}

.launch-links-field span{
color:var(--text-soft);
font-size:13px;
font-weight:700;
}

.launch-links-field input{
min-height:48px;
border-radius:14px;
border:1px solid rgba(255,255,255,.10);
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
color:#fff;
padding:0 14px;
outline:none;
width:100%;
}

.launch-links-field input:focus{
border-color:rgba(255,241,191,.16);
background:
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.026));
}

.launch-links-modal-actions{
position:relative;
z-index:1;
display:flex;
justify-content:flex-end;
margin-top:18px;
}

.launch-links-save-btn{
min-height:46px;
padding:0 18px;
border-radius:14px;
border:1px solid rgba(255,255,255,.12);
background:
linear-gradient(180deg, rgba(214,178,94,.16), rgba(255,255,255,.04));
color:#fff;
cursor:pointer;
font-weight:800;
}

/* =========================
ELITE CHART TOOLTIP
========================= */

.elite-chart-tooltip-card{
min-width:220px;
max-width:320px;
padding:10px 10px 8px;
border-radius:14px;
border:1px solid rgba(255,255,255,.10);
background:linear-gradient(180deg, rgba(9,13,20,.96), rgba(9,13,20,.88));
box-shadow:0 14px 34px rgba(0,0,0,.30);
backdrop-filter:blur(8px);
}

.elite-chart-tooltip-card.is-pinned{
opacity:.94;
}

.elite-chart-tooltip-time{
font-size:10px;
letter-spacing:.12em;
text-transform:uppercase;
color:rgba(255,255,255,.54);
margin-bottom:8px;
}

.elite-chart-tooltip-grid{
display:grid;
grid-template-columns:repeat(2, minmax(0,1fr));
gap:6px 10px;
}

.elite-chart-tooltip-grid div{
display:flex;
justify-content:space-between;
gap:8px;
min-width:0;
}

.elite-chart-tooltip-grid span{
color:rgba(255,255,255,.50);
font-size:11px;
}

.elite-chart-tooltip-grid strong{
color:#fff;
font-size:11px;
font-weight:800;
text-align:right;
word-break:break-word;
}

/* =========================
TRADE PANEL / RECENT TRADES
========================= */

.trade-panel-card,
.recent-trades-card{
position:relative;
overflow:hidden;
border-radius:24px;
border:1px solid var(--panel-line);
background:
linear-gradient(180deg, rgba(14,18,26,.98), rgba(8,11,18,.98)),
radial-gradient(circle at 12% 0%, rgba(214,178,94,.05), transparent 24%),
radial-gradient(circle at 88% 10%, rgba(88,111,140,.05), transparent 20%);
box-shadow:var(--shadow-lg);
}

.trade-panel-frame,
.trade-panel-glow{
position:absolute;
inset:0;
pointer-events:none;
}

.trade-panel-header,
.recent-trades-header{
position:relative;
z-index:2;
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
padding:16px 16px 12px;
border-bottom:1px solid var(--panel-line-soft);
}

.trade-panel-kicker,
.recent-trades-kicker{
font-size:10px;
letter-spacing:.18em;
text-transform:uppercase;
color:var(--text-faint);
margin-bottom:4px;
}

.trade-panel-title,
.recent-trades-title{
margin:0;
font-size:22px;
line-height:1;
letter-spacing:-.03em;
color:#fff;
}

.trade-panel-phase-pill{
min-height:28px;
padding:0 10px;
border-radius:999px;
display:inline-flex;
align-items:center;
border:1px solid rgba(255,255,255,.09);
background:rgba(255,255,255,.03);
color:#fff;
font-size:10px;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
flex:0 0 auto;
}

.trade-panel-phase-pill.phase-commit{
color:var(--commit);
background:rgba(217,186,119,.08);
border-color:rgba(217,186,119,.18);
}

.trade-panel-phase-pill.phase-countdown{
color:var(--countdown);
background:rgba(255,111,127,.08);
border-color:rgba(255,111,127,.18);
}

.trade-panel-phase-pill.phase-live{
color:var(--live);
background:rgba(61,240,177,.08);
border-color:rgba(61,240,177,.18);
}

.trade-panel-tabs{
display:flex;
gap:8px;
padding:12px 16px 0;
}

.trade-tab{
min-height:38px;
padding:0 14px;
border-radius:12px;
border:1px solid rgba(255,255,255,.09);
background:
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
color:rgba(255,255,255,.80);
cursor:pointer;
font-size:12px;
font-weight:800;
transition:transform .16s ease, background .16s ease, border-color .16s ease;
}

.trade-tab:hover{
transform:translateY(-1px);
background:
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.trade-tab.active{
background:
linear-gradient(180deg, rgba(214,178,94,.14), rgba(255,255,255,.05));
border-color:rgba(214,178,94,.18);
color:#fff;
}

.trade-panel-body{
position:relative;
z-index:2;
display:grid;
gap:0;
padding:0 0 16px;
}

.trade-panel-field{
display:grid;
gap:8px;
padding:12px 16px 0;
}

.trade-panel-field label{
color:var(--text-soft);
font-size:12px;
font-weight:700;
}

.trade-panel-input{
min-height:50px;
width:100%;
border-radius:14px;
border:1px solid rgba(255,255,255,.10);
background:
linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
color:#fff;
padding:0 14px;
outline:none;
}

.trade-panel-input:focus{
border-color:rgba(255,241,191,.16);
background:
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.trade-quick-row{
display:flex;
flex-wrap:wrap;
gap:8px;
padding:10px 16px 0;
}

.trade-quick-btn{
min-height:35px;
padding:0 12px;
border-radius:999px;
border:1px solid rgba(255,255,255,.09);
background:
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
color:rgba(255,255,255,.86);
cursor:pointer;
font-size:12px;
font-weight:700;
transition:transform .16s ease, background .16s ease;
}

.trade-quick-btn:hover{
transform:translateY(-1px);
background:
linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.024));
}

.trade-quick-btn:disabled{
opacity:.5;
cursor:not-allowed;
}

.trade-quote-card{
display:grid;
gap:0;
border-radius:16px;
border:1px solid rgba(255,255,255,.08);
background:
linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
padding:2px 0;
box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
min-width:0;
margin:12px 16px 0;
}

.trade-quote-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
min-width:0;
padding:11px 12px;
border-top:1px solid rgba(255,255,255,.06);
}

.trade-quote-row:first-child{
border-top:0;
}

.trade-quote-row span:first-child{
color:var(--text-faint);
text-transform:uppercase;
letter-spacing:.08em;
font-size:10px;
font-weight:700;
flex:0 0 auto;
}

.trade-quote-row span:last-child{
color:#fff;
font-size:14px;
font-weight:800;
line-height:1.18;
text-align:right;
word-break:break-word;
min-width:0;
}

.trade-panel-message{
border-radius:14px;
border:1px solid rgba(255,255,255,.10);
padding:11px 13px;
font-size:12px;
line-height:1.5;
white-space:pre-line;
background:rgba(255,255,255,.04);
color:#fff;
margin:10px 16px 0;
}

.trade-panel-message.hidden{
display:none !important;
}

.trade-panel-message[data-state="success"]{
border-color:rgba(61,240,177,.18);
background:rgba(61,240,177,.08);
}

.trade-panel-message[data-state="error"]{
border-color:rgba(255,111,127,.18);
background:rgba(255,111,127,.08);
}

.trade-submit-btn{
min-height:48px;
padding:0 16px;
border-radius:14px;
border:1px solid rgba(255,255,255,.12);
background:
linear-gradient(180deg, rgba(214,178,94,.16), rgba(255,255,255,.04));
color:#fff;
cursor:pointer;
font-weight:800;
letter-spacing:.02em;
transition:transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
display:block;
width:calc(100% - 32px);
margin:12px 16px 0;
}

.trade-submit-btn:hover:not(:disabled){
transform:translateY(-1px);
background:
linear-gradient(180deg, rgba(214,178,94,.20), rgba(255,255,255,.05));
}

.trade-submit-btn:disabled{
opacity:.55;
cursor:not-allowed;
}

.recent-trades-list{
position:relative;
z-index:2;
display:flex;
flex-direction:column;
gap:0;
padding:0;
max-height:420px;
overflow:auto;
}

.recent-trades-empty{
border-radius:0;
border:0;
padding:18px;
color:var(--text-soft);
text-align:center;
background:transparent;
}

.recent-trade-row{
display:grid;
grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(0,.9fr);
gap:12px;
align-items:center;
border:0;
border-top:1px solid rgba(255,255,255,.06);
background:transparent;
padding:13px 16px;
border-radius:0;
transition:background .16s ease;
}

.recent-trade-row:hover{
background:rgba(255,255,255,.025);
}

.recent-trade-main,
.recent-trade-metrics,
.recent-trade-meta{
min-width:0;
}

.recent-trade-side{
display:inline-flex;
align-items:center;
min-height:21px;
padding:0 8px;
border-radius:999px;
font-size:9px;
font-weight:900;
letter-spacing:.10em;
text-transform:uppercase;
margin-bottom:6px;
}

.recent-trade-side.side-buy{
color:var(--live);
background:rgba(61,240,177,.10);
border:1px solid rgba(61,240,177,.18);
}

.recent-trade-side.side-sell{
color:var(--countdown);
background:rgba(255,111,127,.10);
border:1px solid rgba(255,111,127,.18);
}

.recent-trade-wallet,
.recent-trade-value,
.recent-trade-price{
color:#fff;
font-weight:800;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.recent-trade-sub,
.recent-trade-time{
color:var(--text-soft);
font-size:11px;
margin-top:4px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

/* =========================
TERMINAL / LOWER LAYOUT
========================= */

.sticky-terminal{
display:grid;
gap:16px;
}

.terminal-action-card{
position:relative;
overflow:hidden;
border-radius:24px;
border:1px solid var(--panel-line);
background:
linear-gradient(180deg, rgba(14,18,26,.98), rgba(8,11,18,.98)),
radial-gradient(circle at 14% 0%, rgba(214,178,94,.05), transparent 24%);
box-shadow:var(--shadow-lg);
}

.terminal-wallet-block{
display:grid;
gap:10px;
padding:12px;
border:1px solid rgba(255,255,255,.07);
background:rgba(255,255,255,.022);
border-radius:16px;
}

.terminal-wallet-top{
display:flex;
justify-content:space-between;
gap:10px;
align-items:flex-start;
flex-wrap:wrap;
}

.terminal-wallet-badge{
display:inline-flex;
align-items:center;
gap:8px;
min-height:28px;
padding:0 10px;
border-radius:999px;
border:1px solid rgba(255,255,255,.09);
background:rgba(255,255,255,.04);
font-size:11px;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
}

.terminal-wallet-badge-dot{
width:8px;
height:8px;
border-radius:999px;
background:rgba(255,255,255,.45);
box-shadow:0 0 12px rgba(255,255,255,.22);
flex:0 0 auto;
}

.terminal-wallet-badge.is-connected{
border-color:rgba(61,240,177,.18);
background:rgba(61,240,177,.08);
}

.terminal-wallet-badge.is-connected .terminal-wallet-badge-dot{
background:var(--live);
box-shadow:0 0 12px rgba(61,240,177,.55);
}

.terminal-wallet-badge.is-disconnected{
border-color:rgba(217,186,119,.18);
background:rgba(217,186,119,.08);
}

.terminal-wallet-badge.is-disconnected .terminal-wallet-badge-dot{
background:var(--commit);
box-shadow:0 0 12px rgba(217,186,119,.55);
}

.terminal-wallet-row{
display:flex;
align-items:center;
gap:8px;
flex-wrap:wrap;
}

.terminal-wallet-actions{
display:flex;
gap:8px;
flex-wrap:wrap;
}

.terminal-status-inline{
margin-top:12px;
}

.aside-trade-stack{
display:grid;
gap:16px;
}

.aside-trade-stack > .trade-panel-card,
.aside-trade-stack > .recent-trades-card{
margin:0;
}

.terminal-side-column > .panel:first-child{
position:sticky;
top:86px;
}

.terminal-main-column > .overview-card{
padding:20px;
}

.terminal-main-column > .overview-card .overview-card-title{
font-size:28px;
}

.terminal-main-column > .overview-card .overview-card-desc{
font-size:14px;
line-height:1.62;
}

.terminal-main-column > .progress-card{
padding:18px;
}

.terminal-main-column .terminal-section{
padding:18px;
}

#recentCommitsSection .recent-item,
#teamWalletBreakdownList .recent-item,
#graduationProofList .recent-item{
padding:11px 12px;
border-radius:12px;
}

#recentTradesCard[data-tone="elevated"],
#tradePanelCard[data-tone="elevated"]{
box-shadow:
0 0 0 1px rgba(255,111,127,.06),
0 22px 64px rgba(0,0,0,.36),
0 0 32px rgba(255,111,127,.05);
}

#marketWalletSummary[data-tone="strong"],
#marketAccessCard[data-tone="strong"]{
box-shadow:
0 0 0 1px rgba(214,178,94,.06),
0 22px 64px rgba(0,0,0,.36),
0 0 28px rgba(214,178,94,.05);
}

/* =========================
HERO WALLET ALIGNMENT FIXES
========================= */

.hero-wallet-strip{
display:flex;
align-items:stretch;
gap:10px;
flex-wrap:wrap;
margin-top:14px;
}

.hero-wallet-strip .hero-wallet-btn{
display:inline-flex !important;
align-items:center !important;
justify-content:center !important;
text-align:center !important;
line-height:1 !important;
min-height:42px !important;
min-width:156px;
padding:0 16px !important;
align-self:stretch;
}

#launchConnectWalletBtn.hero-wallet-btn,
#launchDisconnectWalletBtn.hero-wallet-btn,
#launchBuilderProfileBtn.hero-wallet-btn{
display:inline-flex !important;
align-items:center !important;
justify-content:center !important;
text-align:center !important;
}

.hero-wallet-pill{
display:inline-flex !important;
align-items:center !important;
gap:8px;
min-height:42px !important;
padding:0 14px !important;
border-radius:999px;
flex:1 1 260px;
max-width:100%;
min-width:0;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width:1180px){
.market-wallet-summary{
grid-template-columns:repeat(3, minmax(0,1fr));
}

.terminal-side-column > .panel:first-child{
position:static;
top:auto;
}
}

@media (max-width:1100px){
.launch-token-hero{
grid-template-columns:1fr;
}

.launch-token-hero-right{
width:100%;
}

.cassie-card{
order:3;
}
}

@media (max-width:980px){
.market-card-header{
grid-template-columns:1fr;
}

.market-card-footer #marketStatsGrid,
#marketStatsGrid.market-stats-grid{
grid-template-columns:repeat(2, minmax(0,1fr)) !important;
}

.recent-trade-row{
grid-template-columns:1fr;
gap:8px;
}
}

@media (max-width:760px){
.market-chart-shell{
min-height:420px;
}

.market-chart-canvas{
height:292px;
}

.market-volume-canvas{
height:92px;
}

.market-access-grid{
grid-template-columns:1fr 1fr;
}

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

@media (max-width:640px){
.launch-market-wrap{
gap:12px;
}

.launch-token-hero{
padding:16px;
gap:12px;
}

.launch-token-brand{
grid-template-columns:64px minmax(0,1fr);
gap:12px;
}

.launch-token-logo-shell{
width:64px;
height:64px;
}

.launch-token-logo{
font-size:22px;
}

.launch-token-name{
font-size:28px;
}

.launch-token-title-row{
gap:10px;
}

.cassie-grid{
grid-template-columns:1fr 1fr;
}

.cassie-note{
display:none;
}

.market-card{
border-radius:24px;
}

.market-card-header{
padding:14px 14px 10px;
}

.market-card-title{
font-size:24px;
}

.market-chart-shell{
min-height:372px;
}

.market-overlay-title{
font-size:28px;
}

.market-countdown-value{
font-size:46px;
}

.market-chart-canvas{
height:236px;
}

.market-volume-canvas{
height:74px;
}

.market-card-footer{
padding:12px 14px 14px;
}

.market-card-footer #marketStatsGrid,
#marketStatsGrid.market-stats-grid{
gap:8px !important;
}

.chart-ca-chip{
min-width:0;
width:100%;
}

.trade-panel-header,
.recent-trades-header{
padding:12px 14px 10px;
}

.trade-panel-title,
.recent-trades-title{
font-size:19px;
}

.trade-panel-tabs{
padding:10px 14px 0;
}

.trade-panel-field{
padding:10px 14px 0;
}

.trade-quick-row{
padding:10px 14px 0;
}

.trade-quote-card{
margin:10px 14px 0;
}

.trade-submit-btn{
width:calc(100% - 28px);
margin:10px 14px 0;
}

.trade-panel-message{
margin:10px 14px 0;
}

.recent-trades-list{
max-height:300px;
}

.recent-trade-row{
padding:10px 14px;
}

.hero-wallet-strip{
flex-direction:column;
align-items:stretch;
}

.hero-wallet-strip .hero-wallet-btn,
.hero-wallet-pill{
width:100%;
min-width:0;
}
}

@media (max-width:500px){
.market-card-footer #marketStatsGrid,
#marketStatsGrid.market-stats-grid{
grid-template-columns:repeat(2, minmax(0,1fr)) !important;
}

.market-card-footer #marketStatsGrid > .market-stat,
#marketStatsGrid.market-stats-grid > .market-stat{
padding:11px 10px 10px !important;
min-height:72px !important;
}

.market-card-footer #marketStatsGrid > .market-stat .market-stat-value,
#marketStatsGrid.market-stats-grid > .market-stat .market-stat-value{
font-size:15px !important;
}

.market-access-grid{
grid-template-columns:1fr;
}

.cassie-grid{
grid-template-columns:1fr;
}

.launch-token-meta-strip{
gap:6px;
}

.launch-meta-pill{
min-height:28px;
padding:0 8px;
}

.market-overlay-badges{
gap:6px;
}

.market-overlay-badge{
font-size:9px;
padding:0 9px;
}

.trade-quick-row{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:8px;
}

.trade-quick-btn{
width:100%;
justify-content:center;
}

.trade-panel-card,
.recent-trades-card{
border-radius:18px;
}

.recent-trade-wallet,
.recent-trade-value,
.recent-trade-price{
white-space:normal;
}

.market-wallet-chip-value{
white-space:normal;
}
}