
:root{
  --bg:#edf3fa;
  --panel:#ffffff;
  --ink:#07111f;
  --sub:#64748b;
  --muted:#98a2b3;
  --line:#dfe7f1;
  --blue:#0052ff;
  --blue2:#0077ff;
  --cyan:#00b8ff;
  --green:#00a66c;
  --red:#e84b5b;
  --dark:#07111f;
  --gold:#f5c24b;
  --shadow:0 24px 80px rgba(15,23,42,.13);
  --soft:0 12px 32px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Pretendard,"Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
a{text-decoration:none;color:inherit}button,input{font:inherit}
.wrap{width:min(1420px,calc(100% - 32px));margin:0 auto}
.up{color:var(--green)!important}.down{color:var(--red)!important}
.topline{height:38px;background:#06101d;color:#d0d7e2;font-size:12px;font-weight:900}
.topline .wrap{height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px;overflow:hidden}
.ticker{display:flex;gap:20px;white-space:nowrap;align-items:center}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--green);margin-right:8px;box-shadow:0 0 0 6px rgba(0,166,108,.13)}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:1000;letter-spacing:-.055em}
.logo{width:48px;height:48px;border-radius:17px;background:linear-gradient(135deg,var(--blue),var(--cyan));display:grid;place-items:center;color:#fff;box-shadow:0 14px 34px rgba(0,82,255,.28)}
.brand small{display:block;font-size:10px;color:var(--sub);letter-spacing:.22em;margin-top:2px;font-weight:950}
.menu{display:flex;gap:8px;align-items:center}
.menu a{height:42px;padding:0 17px;border-radius:13px;display:flex;align-items:center;color:#344054;font-size:14px;font-weight:950}
.menu a:hover,.menu a.active{background:#edf5ff;color:var(--blue)}
.actions{display:flex;gap:9px}
.btn{height:46px;padding:0 19px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;font-size:14px;font-weight:1000;white-space:nowrap;cursor:pointer;transition:.16s}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 15px 34px rgba(0,82,255,.23)}
.btn.dark{background:var(--dark);color:#fff}
.btn.ghost{background:#fff;border-color:var(--line);color:#344054}
.btn.kakao{background:#fee500;color:#191919}
.btn.buy{background:var(--green);color:#fff}
.btn.sell{background:var(--red);color:#fff}
.btn.gold{background:linear-gradient(135deg,#f8d271,#d69c27);color:#111827}
.main{padding:28px 0 62px}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 590px;gap:24px;align-items:stretch}
.glass{background:rgba(255,255,255,.86);border:1px solid rgba(223,231,241,.9);border-radius:34px;box-shadow:var(--shadow);overflow:hidden}
.hero-copy{padding:60px;background:radial-gradient(circle at 16% 0%,rgba(0,82,255,.14),transparent 26rem),radial-gradient(circle at 92% 18%,rgba(0,184,255,.10),transparent 22rem),rgba(255,255,255,.94)}
.kicker{display:inline-flex;height:34px;padding:0 13px;border-radius:999px;background:#edf5ff;color:var(--blue);align-items:center;font-size:12px;font-weight:1000;letter-spacing:.04em}
.hero h1{margin:20px 0 0;font-size:clamp(50px,6vw,96px);line-height:.96;letter-spacing:-.09em}
.grad{color:transparent;background:linear-gradient(135deg,var(--blue),var(--cyan));-webkit-background-clip:text;background-clip:text}
.hero p{margin:20px 0 0;color:#475467;font-size:17px;line-height:1.75;font-weight:790;max-width:720px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:38px}
.hero-stat{padding:18px;border-radius:20px;background:#f8fafc;border:1px solid #edf1f6}
.hero-stat b{font-size:25px;display:block;letter-spacing:-.04em}.hero-stat span{display:block;margin-top:6px;color:#667085;font-size:12px;font-weight:900}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}
.trust-item{padding:14px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--soft)}
.trust-item b{display:block;font-size:14px}.trust-item span{display:block;color:#667085;margin-top:5px;font-size:12px;font-weight:850}
.visual-hero{padding:18px;background:#fff}.visual-hero img{width:100%;height:100%;object-fit:cover;border-radius:26px;display:block;min-height:620px}
.section{margin-top:24px}
.panel{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--soft);overflow:hidden}
.panel-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}
.panel-head h2,.panel-head h3{margin:0;font-size:23px;letter-spacing:-.045em}.pill{height:29px;padding:0 10px;border-radius:999px;background:#edf5ff;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:1000}.pill.green{background:#eafff5;color:var(--green)}.pill.gold{background:#fff8df;color:#b7791f}
.market-board{width:100%;border-collapse:collapse}.market-board th,.market-board td{padding:17px 20px;border-bottom:1px solid #edf1f6;text-align:right;white-space:nowrap}.market-board th:first-child,.market-board td:first-child{text-align:left}.market-board th{background:#f8fafc;color:#667085;font-size:12px;font-weight:1000}.market-board td{font-size:14px;font-weight:900}.market-board tr{cursor:pointer}.market-board tr:hover,.market-board tr.active{background:#f4f8ff}.mname b{display:block;font-size:15px}.mname span{display:block;color:var(--sub);font-size:12px;font-weight:850;margin-top:4px}.mini{width:128px;height:38px;margin-left:auto}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.info-card,.feature-card{padding:27px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--soft)}
.info-card h3,.feature-card h3{margin:0;font-size:25px;letter-spacing:-.055em}.info-card p,.feature-card p{margin:11px 0 0;color:#667085;font-size:14px;line-height:1.7;font-weight:780}.info-card .btn{margin-top:18px}
.feature-icon{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#edf5ff,#e4fbff);display:grid;place-items:center;color:var(--blue);font-weight:1000;margin-bottom:14px}
.image-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;padding:20px}.image-grid img{width:100%;height:100%;object-fit:cover;border-radius:22px;border:1px solid var(--line);box-shadow:var(--soft)}.image-stack{display:grid;gap:18px}
.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px}.asset-card{border:1px solid var(--line);border-radius:22px;background:#fff;padding:20px}.asset-card h3{margin:0 0 14px;font-size:20px}.asset-list{display:grid;gap:10px}.asset-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #edf1f6}.asset-row b{display:block}.asset-row span{display:block;margin-top:3px;color:#667085;font-size:12px;font-weight:850}
.fee-table{width:100%;border-collapse:collapse}.fee-table th,.fee-table td{padding:15px;border-bottom:1px solid #edf1f6;text-align:left}.fee-table th{background:#f8fafc;color:#667085;font-size:12px}
.notice-board{width:100%;border-collapse:collapse}.notice-board th,.notice-board td{padding:16px 20px;border-bottom:1px solid #edf1f6;text-align:left}.notice-board th{background:#f8fafc;color:#667085;font-size:12px;font-weight:1000}.notice-board td{font-size:14px;font-weight:870}.notice-board tr:hover{background:#f8fbff}
.cta-band{padding:30px;border-radius:28px;background:linear-gradient(135deg,#07111f,#12325c);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:var(--shadow)}.cta-band b{font-size:31px;letter-spacing:-.055em}.cta-band span{display:block;color:#b8c6d8;margin-top:6px;font-size:13px;font-weight:850}

/* market */
.trade-layout{width:min(1540px,calc(100% - 24px));margin:14px auto 54px;display:grid;grid-template-columns:320px minmax(0,1fr) 380px;gap:12px;align-items:start}
.trade-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--soft);overflow:hidden}.trade-head{min-height:50px;padding:13px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.trade-head h3{margin:0;font-size:15px}.search{padding:12px;border-bottom:1px solid var(--line)}.search input{width:100%;height:38px;border:1px solid var(--line);border-radius:10px;padding:0 12px;outline:none;font-weight:850}.market-list{padding:6px}.market-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 10px;border-radius:12px;cursor:pointer}.market-row:hover,.market-row.active{background:#eef5ff}.market-row b{font-size:14px}.market-row span{display:block;color:var(--sub);font-size:12px;margin-top:4px;font-weight:850}.market-price{text-align:right}.market-price strong{display:block;font-size:14px}.market-price em{font-style:normal;font-size:12px;font-weight:1000}
.symbol-bar{display:grid;grid-template-columns:minmax(215px,1fr) repeat(5,minmax(95px,.7fr));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--soft);overflow:hidden}.symbol-cell{padding:14px 15px;border-right:1px solid var(--line)}.symbol-cell:last-child{border-right:0}.symbol-cell small{display:block;color:var(--sub);font-size:11px;font-weight:950;margin-bottom:6px}.symbol-cell b{font-size:16px}.symbol-main b{font-size:23px}
.chart-box{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--soft);overflow:hidden}.chart-tools{padding:12px 14px;border-bottom:1px solid var(--line);display:flex;gap:7px;flex-wrap:wrap}.chart-tools span{height:30px;padding:0 10px;border-radius:10px;background:#f2f4f7;color:#667085;font-size:12px;font-weight:1000}.chart-tools .active{background:#eef5ff;color:var(--blue)}.chart-area{height:560px;padding:14px}.chart-area svg{width:100%;height:100%}
.depth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.book-table{width:100%;border-collapse:collapse}.book-table th,.book-table td{padding:8px 12px;border-bottom:1px solid #edf1f6;text-align:right;font-size:12px;font-weight:850}.book-table th:first-child,.book-table td:first-child{text-align:left}.book-table th{font-size:11px;color:#667085;background:#f8fafc}.spread{padding:10px 12px;color:var(--blue);background:#f4f8ff;font-size:12px;font-weight:1000}
.order-form{padding:14px;display:grid;gap:12px}.order-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.field label{display:block;color:#667085;font-size:12px;font-weight:950;margin-bottom:6px}.box-field{height:44px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:14px;font-weight:900}.pct{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pct button{height:32px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:12px;font-weight:1000;color:#667085}.order-form .btn{width:100%;height:48px}.feed-list{max-height:318px;overflow:hidden}.feed-item{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:10px 12px;border-bottom:1px solid #edf1f6;font-size:12px;font-weight:850}.feed-item time{color:#98a2b3;font-size:11px}
.position{margin-top:12px}.position-tabs{display:flex;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line)}.position-tabs span{height:30px;padding:0 10px;border-radius:10px;background:#f2f4f7;color:#667085;font-size:12px;font-weight:1000}.position-tabs .active{background:#eef5ff;color:var(--blue)}.empty{min-height:105px;display:grid;place-items:center;color:#98a2b3;font-size:13px;font-weight:850}.quick-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-box{padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #edf1f6}.quick-box small{display:block;color:#667085;font-weight:900;font-size:11px;margin-bottom:5px}.quick-box b{font-size:14px}

/* notice */
.notice-wrap{width:min(1180px,calc(100% - 32px));margin:22px auto 60px}.notice-hero{padding:30px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--soft)}.notice-hero h1{margin:10px 0 0;font-size:44px;letter-spacing:-.07em}.notice-toolbar{display:flex;gap:10px;margin-top:18px}.notice-toolbar input{flex:1;height:42px;border:1px solid var(--line);border-radius:12px;padding:0 12px;outline:none}.board{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--soft);overflow:hidden}.board-head,.notice-title-row{display:grid;grid-template-columns:100px minmax(0,1fr) 100px 42px;gap:12px;align-items:center}.board-head{padding:14px 16px;background:#f8fafc;color:#667085;font-size:12px;font-weight:1000}.notice-item{border-bottom:1px solid #edf1f6}.notice-title-row{width:100%;padding:16px;border:0;background:#fff;text-align:left;cursor:pointer}.notice-title-row:hover{background:#f8fbff}.subject{font-size:15px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date{font-size:12px;color:#667085;font-weight:900}.toggle{width:30px;height:30px;border-radius:10px;background:#eef5ff;color:var(--blue);display:grid;place-items:center;font-weight:1000}.notice-item.open .toggle{transform:rotate(45deg);background:var(--dark);color:#fff}.notice-content{display:none;padding:0 16px 22px 128px}.notice-item.open .notice-content{display:block}.notice-content-inner{border-left:3px solid #bfdbfe;padding-left:18px;color:#475467;font-size:14px;line-height:1.75}.notice-box{border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:14px;padding:14px 16px;margin:14px 0}.pip-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}.pip-table{width:100%;border-collapse:collapse}.pip-table th,.pip-table td{padding:12px 14px;border-bottom:1px solid #edf1f6;text-align:left;white-space:nowrap}.pip-table th{background:#f8fafc}.footer{padding:32px 0 50px;color:#667085;font-size:12px;font-weight:760}.footer .wrap{border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
@media(max-width:1180px){.hero{grid-template-columns:1fr}.grid3,.grid4,.hero-stats,.trust-strip{grid-template-columns:1fr 1fr}.asset-grid,.image-grid{grid-template-columns:1fr}.trade-layout{grid-template-columns:1fr}.symbol-bar{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.menu,.actions .ghost,.actions .kakao,.actions .primary{display:none}.topline .hide-m{display:none}.hero-copy{padding:30px}.grid3,.grid4,.hero-stats,.trust-strip,.depth-grid{grid-template-columns:1fr}.market-board{display:block;overflow:auto}.symbol-bar{grid-template-columns:1fr 1fr}.symbol-main{grid-column:1/-1}.chart-area{height:340px}.board-head{display:none}.notice-title-row{grid-template-columns:1fr 42px}.notice-title-row .pill,.notice-title-row .date{display:none}.notice-content{padding:0 16px 20px}.cta-band{display:block}.cta-band .btn{width:100%;margin-top:16px}}


/* final fitted image layout - 이미지 잘림 방지 */
.visual-hero{
  padding:18px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.visual-hero img{
  width:100%;
  height:auto;
  max-height:620px;
  object-fit:contain;
  border-radius:26px;
  display:block;
  background:#f8fbff;
}
.image-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  padding:20px;
  align-items:stretch;
}
.image-grid > img,
.image-stack img{
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--soft);
  background:#f8fbff;
  display:block;
}
.image-stack{
  display:grid;
  grid-template-rows:auto auto;
  gap:18px;
}
@media(max-width:1180px){
  .visual-hero img{max-height:none}
  .image-grid{grid-template-columns:1fr}
  .image-stack{grid-template-rows:auto}
}


/* FXCIPI terminal section reworked as real UI, no image collage */
.terminal-system-section{
  background:#fff;
}
.terminal-system-grid{
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(360px,.72fr);
  gap:18px;
  align-items:stretch;
}
.mini-exchange-card{
  min-height:620px;
  border-radius:26px;
  background:#07111f;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 80px rgba(7,17,31,.28);
  overflow:hidden;
  display:grid;
  grid-template-rows:auto 1fr auto;
}
.mini-exchange-top{
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mini-exchange-top strong{
  display:block;
  font-size:24px;
  letter-spacing:-.04em;
}
.mini-exchange-top span{
  display:block;
  margin-top:4px;
  color:#7f92aa;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.12em;
}
.mini-exchange-top b{
  font-size:18px;
}
.mini-exchange-body{
  display:grid;
  grid-template-columns:210px minmax(0,1fr) 190px;
  min-height:0;
}
.mini-market-list{
  padding:12px;
  border-right:1px solid rgba(255,255,255,.08);
  display:grid;
  align-content:start;
  gap:8px;
}
.mini-market{
  padding:13px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.055);
}
.mini-market.active,
.mini-market:hover{
  background:rgba(0,82,255,.18);
  border-color:rgba(0,184,255,.36);
}
.mini-market b{
  display:block;
  font-size:13px;
}
.mini-market span{
  display:block;
  margin-top:5px;
  color:#d7e2ef;
  font-size:12px;
  font-weight:900;
}
.mini-chart-wrap{
  padding:14px;
  min-width:0;
}
.mini-chart-toolbar{
  display:flex;
  gap:6px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.mini-chart-toolbar span{
  height:28px;
  padding:0 9px;
  border-radius:9px;
  background:rgba(255,255,255,.06);
  color:#9fb0c6;
  font-size:11px;
  font-weight:1000;
  display:inline-flex;
  align-items:center;
}
.mini-chart-toolbar .active{
  background:rgba(0,82,255,.24);
  color:#fff;
}
#miniTerminalChart{
  width:100%;
  height:390px;
  border-radius:18px;
  background:#0b1220;
  border:1px solid rgba(255,255,255,.08);
}
.mini-orderbook{
  padding:12px;
  border-left:1px solid rgba(255,255,255,.08);
  display:grid;
  align-content:start;
  gap:8px;
}
.mini-order-head{
  display:flex;
  justify-content:space-between;
  color:#9fb0c6;
  font-size:12px;
  font-weight:1000;
  margin-bottom:4px;
}
.book-line{
  height:34px;
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 10px;
  font-size:12px;
  font-weight:900;
  background:rgba(255,255,255,.045);
}
.book-line.ask span{color:#ff9aa5}
.book-line.bid span{color:#5ee3ad}
.book-line.mid{
  height:42px;
  background:rgba(0,82,255,.20);
  color:#fff;
}
.mini-exchange-bottom{
  min-height:54px;
  padding:12px 18px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  gap:14px;
  overflow:hidden;
  white-space:nowrap;
  font-size:12px;
  font-weight:900;
}
.mini-exchange-bottom span{
  color:#9fb0c6;
}
.mini-exchange-bottom em{
  font-style:normal;
}
.system-side-grid{
  display:grid;
  gap:18px;
}
.system-ui-card{
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:var(--soft);
  padding:20px;
  display:flex;
  flex-direction:column;
  min-height:0;
}
.system-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
.system-card-head h3{
  margin:0;
  font-size:24px;
  letter-spacing:-.05em;
}
.system-metric-list{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}
.system-metric{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:6px 10px;
  align-items:center;
  padding:13px;
  border-radius:16px;
  border:1px solid #edf1f6;
  background:#fff;
}
.system-metric b{
  font-size:14px;
}
.system-metric span{
  grid-column:1 / 2;
  color:#667085;
  font-size:12px;
  font-weight:850;
}
.system-metric strong{
  grid-row:1 / 3;
  grid-column:2 / 3;
  color:var(--green);
  font-size:12px;
}
.notice-mini-board{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}
.notice-mini-board a{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 42px;
  align-items:center;
  gap:8px;
  padding:13px;
  border-radius:16px;
  border:1px solid #edf1f6;
  background:#fff;
}
.notice-mini-board span{
  height:24px;
  border-radius:999px;
  background:#edf5ff;
  color:var(--blue);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:1000;
}
.notice-mini-board b{
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.notice-mini-board em{
  font-style:normal;
  color:#667085;
  font-size:11px;
  font-weight:900;
}
@media(max-width:1180px){
  .terminal-system-grid{
    grid-template-columns:1fr;
  }
  .mini-exchange-body{
    grid-template-columns:1fr;
  }
  .mini-market-list,
  .mini-orderbook{
    border:0;
  }
  .mini-market-list{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:760px){
  .terminal-system-grid{padding:14px}
  .mini-exchange-card{min-height:auto}
  .mini-market-list{grid-template-columns:1fr}
  #miniTerminalChart{height:280px}
  .notice-mini-board a{grid-template-columns:64px minmax(0,1fr)}
  .notice-mini-board em{display:none}
}



.site-popup-overlay{
  position:fixed; inset:0; background:rgba(7,17,31,.68);
  display:flex; align-items:center; justify-content:center;
  z-index:9999; padding:20px;
}
.site-popup-card{
  position:relative; width:min(760px,96vw); border-radius:28px;
  overflow:hidden; box-shadow:0 28px 80px rgba(7,17,31,.42);
  background:#fff; border:1px solid rgba(255,255,255,.24);
}
.site-popup-card.large{width:min(760px,96vw)}
.site-popup-link{display:block; background:#fff}
.site-popup-card img{display:block; width:100%; height:auto}
.site-popup-close.icon{
  position:absolute; top:14px; right:14px; width:42px; height:42px; border:0;
  border-radius:50%; background:rgba(7,17,31,.68); color:#fff; cursor:pointer;
  font-size:26px; line-height:1; z-index:2; display:flex; align-items:center; justify-content:center;
}
.site-popup-actions{
  display:grid; grid-template-columns:1fr 140px; gap:10px; padding:14px;
  background:#fff; border-top:1px solid #e5e7eb;
}
.site-popup-today,.site-popup-close{
  height:48px; border-radius:14px; border:1px solid #dbe3ee; background:#fff; color:#07111f; cursor:pointer;
  font-size:14px; font-weight:1000;
}
.site-popup-close{background:#07111f; color:#fff; border-color:#07111f; position:static; width:auto}
.site-popup-today:hover,.site-popup-close:hover,.site-popup-close.icon:hover{transform:translateY(-1px)}
@media(max-width:760px){
  .site-popup-card.large{width:min(96vw,560px)}
  .site-popup-actions{grid-template-columns:1fr 110px; padding:12px}
  .site-popup-today,.site-popup-close{height:44px; font-size:13px}
}

.legal-page{padding:28px}
.legal-page h3{margin:0 0 10px; font-size:20px; letter-spacing:-.03em}
.legal-page p{margin:0 0 20px; color:#475467; line-height:1.8; font-size:14px; font-weight:780}
.footer{
  margin-top:28px; border-top:1px solid var(--line); background:#fff;
}
.footer .wrap{
  min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:18px;
  color:#667085; font-size:13px; font-weight:850;
}
.footer a{color:#344054}
@media(max-width:760px){
  .footer .wrap{padding:16px 0; flex-direction:column; align-items:flex-start}
}


/* popup resize */
.site-popup-card{width:min(560px,92vw)!important}
.site-popup-card.large{width:min(560px,92vw)!important}
.site-popup-card img{max-height:680px; object-fit:cover}

/* image showcase */
.image-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.image-showcase-card{border:1px solid var(--line);background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.image-showcase-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef4ff}
.image-showcase-card div{padding:18px}
.image-showcase-card h3{margin:0 0 8px;font-size:22px}
.image-showcase-card p{margin:0 0 14px;color:#667085;font-weight:850;line-height:1.65}

/* live status board */
.live-status-layout{display:grid;grid-template-columns:420px 1fr;gap:20px;align-items:start}
.live-status-intro{background:linear-gradient(180deg,#fbfdff,#f4f8ff);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.live-status-intro img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}
.live-status-copy{padding:18px}
.live-status-copy h3{margin:0 0 8px;font-size:24px}
.live-status-copy p{margin:0 0 14px;color:#667085;font-weight:850;line-height:1.7}
.status-badges{display:flex;flex-wrap:wrap;gap:8px}
.status-badges span{padding:9px 12px;border-radius:999px;background:#eef4ff;color:#155eef;font-size:12px;font-weight:1000}
.live-status-board-wrap{display:flex;flex-direction:column;gap:14px}
.live-status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.live-status-summary>div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow)}
.live-status-summary b{display:block;font-size:13px;color:#667085;margin-bottom:6px}
.live-status-summary span{display:block;font-size:22px;font-weight:1000;color:#07111f}
.live-status-board{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.live-status-board table{width:100%;border-collapse:collapse;font-size:14px}
.live-status-board thead th{background:#f8fafc;color:#667085;text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);font-size:13px}
.live-status-board tbody td{padding:12px;border-bottom:1px solid #eef2f6;font-weight:900;color:#07111f}
.live-status-board tbody tr:hover{background:#f8fbff}
.badge{display:inline-flex;align-items:center;justify-content:center;min-width:52px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:1000}
.badge.in{background:#ecfdf3;color:#067647}
.badge.out{background:#eff8ff;color:#155eef}
.state.ok{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f0fdf4;color:#15803d;font-size:12px;font-weight:1000}

/* floating customer support */
.floating-cs{position:fixed;right:22px;bottom:22px;z-index:8888;display:flex;align-items:center;gap:12px;background:#0b1324;color:#fff;padding:14px 16px;border-radius:18px;box-shadow:0 20px 50px rgba(7,17,31,.25);border:1px solid rgba(255,255,255,.08)}
.floating-cs:hover{transform:translateY(-2px)}
.floating-cs-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#1e63ff,#0b84ff);font-size:22px}
.floating-cs span{display:flex;flex-direction:column;line-height:1.2}
.floating-cs b{font-size:15px}
.floating-cs small{font-size:12px;color:#c7d7fe;font-weight:850}

/* premium CTA */
.cta-band.premium{background:linear-gradient(135deg,#07111f,#0b2040 54%,#155eef);color:#fff;border:none;box-shadow:0 18px 50px rgba(7,17,31,.18)}
.cta-band.premium span{color:#d7e5ff}

@media (max-width: 1100px){
  .image-showcase-grid{grid-template-columns:1fr}
  .live-status-layout{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .live-status-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-status-board{overflow:auto}
  .floating-cs{right:14px;left:14px;bottom:14px;justify-content:center}
  .floating-cs small{display:none}
}

.live-status-board tbody tr.pulse{background:#eef6ff;}


/* brand logo */
.brand-logo{width:148px;height:auto;display:block}
.brand{gap:14px}
.logo{display:none!important}

/* popup improved */
.site-popup-card{width:min(480px,90vw)!important;border-radius:24px;overflow:hidden}
.site-popup-card.large{width:min(480px,90vw)!important}
.site-popup-card img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;background:#fff}
.site-popup-actions{display:grid;grid-template-columns:1fr 110px;gap:10px;padding:12px;background:#fff;border-top:1px solid #e5e7eb}
.site-popup-today,.site-popup-close{height:44px;border-radius:12px;font-size:13px;font-weight:1000}
.site-popup-close.icon{width:38px;height:38px;top:12px;right:12px;position:absolute;display:flex;align-items:center;justify-content:center}

/* image fit */
.image-showcase-card img,.live-status-intro img{aspect-ratio:4/3;object-fit:contain!important;padding:10px;background:#f5f8fd}
.image-showcase-card{display:flex;flex-direction:column}
.image-showcase-card div{display:flex;flex-direction:column;gap:8px;flex:1}
.image-showcase-card .btn{align-self:flex-start;margin-top:auto}

/* section labels */
.terminal-system-section .panel-head h2,.live-status-section .panel-head h2{letter-spacing:-.04em}
.mini-exchange-top span{letter-spacing:.08em}

/* compact live status */
.live-status-layout.compact{grid-template-columns:330px 1fr;gap:18px;align-items:start}
.live-status-intro.compact{display:flex;flex-direction:column}
.live-status-copy.compact p{margin:0 0 12px;color:#667085;font-size:14px;font-weight:900;line-height:1.5}
.live-status-board.limited{overflow:hidden}
.live-status-board.limited table{width:100%;border-collapse:collapse;table-layout:fixed}
.live-status-board.limited tbody tr{height:54px;transition:background .25s ease, transform .25s ease}
.live-status-board.limited tbody tr.flash{background:#eef6ff}
.live-status-board.limited td,.live-status-board.limited th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-status-board.limited td:nth-child(5),.live-status-board.limited th:nth-child(5){width:18%}
.live-status-board.limited td:nth-child(2),.live-status-board.limited th:nth-child(2){width:14%}
.live-status-board.limited td:nth-child(3),.live-status-board.limited th:nth-child(3){width:12%}
.live-status-board.limited td:nth-child(7),.live-status-board.limited th:nth-child(7){width:11%}

@media(max-width:1100px){
  .live-status-layout.compact{grid-template-columns:1fr}
}
@media(max-width:760px){
  .brand-logo{width:118px}
  .site-popup-card{width:min(400px,92vw)!important}
  .site-popup-card.large{width:min(400px,92vw)!important}
  .image-showcase-card img,.live-status-intro img{aspect-ratio:16/11}
  .live-status-board.limited{overflow:auto}
}


/* notice board content update */
.notice-pro .notice-lead{
  margin:12px 0 0;
  color:#475467;
  font-size:15px;
  line-height:1.7;
  font-weight:850;
  max-width:860px;
}
.notice-content-inner p{
  margin:0 0 12px;
  color:#475467;
  line-height:1.8;
  font-size:14px;
  font-weight:780;
}
.notice-content-inner ul{
  margin:12px 0;
  padding-left:20px;
  color:#344054;
  line-height:1.8;
  font-size:14px;
  font-weight:850;
}
.notice-content-inner a{
  color:#0052ff;
  font-weight:1000;
}
.notice-content-inner .notice-box{
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:#1e3a8a;
  border-radius:14px;
  padding:14px 16px;
  margin:14px 0;
  font-weight:850;
}
.notice-content-inner .notice-box.warn{
  border-color:#fed7aa;
  background:#fff7ed;
  color:#9a3412;
}
.notice-content-inner .link-btn{
  display:inline-flex;
  height:42px;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:12px;
  background:#07111f;
  color:#fff;
  font-size:13px;
  font-weight:1000;
  margin:8px 0 14px;
}
.notice-content-inner .table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
  margin-top:14px;
}
.notice-content-inner table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
.notice-content-inner th,
.notice-content-inner td{
  padding:12px 14px;
  border-bottom:1px solid #edf1f6;
  text-align:left;
  white-space:nowrap;
  font-size:13px;
}
.notice-content-inner th{
  background:#f8fafc;
  color:#667085;
  font-weight:1000;
}
.notice-content-inner td{
  color:#344054;
  font-weight:850;
}
.notice-item.open .toggle{
  transform:rotate(45deg);
}
#empty{
  display:none;
}


/* final popup visibility fix */
.site-popup-overlay{
  display:flex;
}
.site-popup-card{
  width:min(480px,90vw)!important;
}
.site-popup-card.large{
  width:min(480px,90vw)!important;
}
.site-popup-actions{
  display:grid;
  grid-template-columns:1fr 110px;
  gap:10px;
}
.site-popup-today,
.site-popup-close{
  cursor:pointer;
}

/* notice signup button */
.notice-signup-cta{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #edf1f6;
}
.notice-signup-cta a{
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:13px;
  background:linear-gradient(135deg,#0052ff,#0077ff);
  color:#fff!important;
  font-size:14px;
  font-weight:1000;
  box-shadow:0 14px 32px rgba(0,82,255,.20);
}
.notice-signup-cta a:hover{
  transform:translateY(-1px);
}


/* service icon cards - image section replaced */
.service-icon-section{
  overflow:hidden;
}
.service-icon-grid{
  padding:22px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.service-icon-card{
  min-height:280px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0,82,255,.08), transparent 18rem),
    linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:var(--soft);
  display:flex;
  flex-direction:column;
}
.service-icon-card h3{
  margin:18px 0 0;
  font-size:25px;
  letter-spacing:-.055em;
}
.service-icon-card p{
  margin:12px 0 20px;
  color:#667085;
  line-height:1.75;
  font-size:14px;
  font-weight:850;
}
.service-icon-card .btn{
  margin-top:auto;
  align-self:flex-start;
}
.service-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
}
.service-icon svg{
  width:31px;
  height:31px;
}
.service-icon.blue{
  color:#0052ff;
  background:#edf5ff;
}
.service-icon.cyan{
  color:#0284c7;
  background:#e0f7ff;
}
.service-icon.navy{
  color:#07111f;
  background:#eef2f7;
}

/* professional footer */
.footer-pro{
  margin-top:36px;
  padding:34px 0;
  background:#07111f;
  color:#cbd5e1;
  border-top:0;
}
.footer-pro-grid{
  display:grid;
  grid-template-columns:1.45fr repeat(4,1fr);
  gap:26px;
  align-items:start;
}
.footer-brand{
  display:block;
  font-size:28px;
  color:#fff;
  font-weight:1000;
  letter-spacing:-.05em;
}
.footer-brand-block p{
  margin:8px 0 14px;
  color:#94a3b8;
  font-size:14px;
  font-weight:900;
}
.risk-note{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#dbeafe;
  line-height:1.65;
  font-size:12px;
  font-weight:850;
}
.footer-col{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.footer-col strong{
  color:#fff;
  margin-bottom:5px;
  font-size:15px;
}
.footer-col a,
.footer-col span{
  color:#94a3b8;
  font-size:13px;
  font-weight:850;
}
.footer-col a:hover{
  color:#fff;
}
@media(max-width:1100px){
  .service-icon-grid{grid-template-columns:1fr}
  .footer-pro-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .service-icon-grid{padding:14px}
  .service-icon-card{min-height:auto;padding:22px}
  .footer-pro-grid{grid-template-columns:1fr}
}


/* final mobile optimization */
.mobile-bottom-cta{
  display:none;
}
@media(max-width:760px){
  body{padding-bottom:76px}
  .wrap{width:min(100% - 22px, 100%)}
  .nav{height:auto;min-height:66px;padding:10px 0}
  .brand-logo{width:116px}
  .brand span{font-size:18px}
  .brand small{font-size:9px}
  .hero{gap:14px}
  .hero h1{font-size:44px;line-height:1.02}
  .hero p{font-size:14px;line-height:1.65}
  .hero-actions .btn{flex:1;min-width:120px}
  .hero-stats{grid-template-columns:repeat(2,1fr);gap:10px}
  .hero-stat{padding:14px}
  .trust-strip{grid-template-columns:1fr 1fr}
  .visual-hero{padding:10px}
  .visual-hero img{border-radius:18px}
  .panel{border-radius:20px}
  .panel-head{padding:16px}
  .panel-head h2{font-size:20px}
  .market-board th,.market-board td{padding:12px 14px}
  .terminal-system-grid{padding:14px}
  .mini-exchange-card{border-radius:20px}
  .mini-exchange-top strong{font-size:20px}
  .mini-exchange-body{grid-template-columns:1fr}
  .mini-orderbook{display:none}
  .service-icon-grid{padding:14px}
  .service-icon-card{padding:20px}
  .live-status-summary{grid-template-columns:repeat(2,1fr)}
  .live-status-board{overflow:auto}
  .live-status-board table{min-width:720px}
  .footer-pro{padding-bottom:92px}
  .floating-cs{display:none}
  .mobile-bottom-cta{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:9000;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
    border-radius:18px;
    background:rgba(255,255,255,.96);
    border:1px solid #dfe7f1;
    box-shadow:0 18px 50px rgba(7,17,31,.18);
    backdrop-filter:blur(14px);
  }
  .mobile-bottom-cta a{
    height:46px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:1000;
  }
  .mobile-bottom-cta a:first-child{
    background:#fee500;
    color:#111827;
  }
  .mobile-bottom-cta a:last-child{
    background:linear-gradient(135deg,#0052ff,#0077ff);
    color:#fff;
  }
  .site-popup-card,.site-popup-card.large{width:min(400px,92vw)!important}
}


/* mobile hamburger menu */
.mobile-menu-toggle{
  display:none;
  position:fixed;
  top:16px;
  right:16px;
  z-index:9200;
  width:44px;
  height:44px;
  border:1px solid #dfe7f1;
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(7,17,31,.12);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.mobile-menu-toggle span{
  width:20px;
  height:2px;
  border-radius:999px;
  background:#07111f;
  display:block;
}
.mobile-menu-panel{
  position:fixed;
  top:0;
  right:0;
  width:min(330px,86vw);
  height:100vh;
  background:#fff;
  z-index:9300;
  transform:translateX(105%);
  transition:transform .22s ease;
  box-shadow:-24px 0 70px rgba(7,17,31,.22);
  border-left:1px solid #dfe7f1;
  padding:18px;
  display:flex;
  flex-direction:column;
}
.mobile-menu-panel.open{transform:translateX(0)}
.mobile-menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid #edf1f6;
}
.mobile-menu-top strong{
  font-size:24px;
  letter-spacing:-.05em;
}
.mobile-menu-top button{
  width:38px;
  height:38px;
  border:0;
  border-radius:12px;
  background:#07111f;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.mobile-menu-links{
  display:grid;
  gap:8px;
  padding-top:16px;
}
.mobile-menu-links a{
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  padding:0 14px;
  background:#f8fafc;
  border:1px solid #edf1f6;
  color:#07111f;
  font-size:15px;
  font-weight:1000;
}
.mobile-menu-links a:hover{
  background:#edf5ff;
  color:#0052ff;
}
.mobile-menu-links a:last-child{
  background:linear-gradient(135deg,#0052ff,#0077ff);
  color:#fff;
  border-color:transparent;
}
.mobile-menu-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(7,17,31,.48);
  z-index:9250;
}
.mobile-menu-backdrop.open{display:block}
body.mobile-menu-open{overflow:hidden}
@media(max-width:760px){
  .mobile-menu-toggle{display:flex}
  .header .menu,
  .header .actions{
    display:none!important;
  }
  .nav{
    padding-right:58px;
  }
}


/* live status text cleanup */
.status-badges.clean{
  gap:7px;
}
.status-badges.clean span{
  background:#f4f8ff;
  color:#155eef;
  border:1px solid #dbeafe;
}


/* basic copy/source protection */
body{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
input, textarea{
  -webkit-user-select:text;
  -moz-user-select:text;
  -ms-user-select:text;
  user-select:text;
}
img, a{
  -webkit-user-drag:none;
  user-drag:none;
}


/* popup + favicon final fix */
.site-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(7,17,31,.68);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}
.site-popup-card,
.site-popup-card.large{
  width:min(480px,90vw)!important;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 28px 80px rgba(7,17,31,.42);
  border:1px solid rgba(255,255,255,.24);
  position:relative;
}
.site-popup-link{display:block;background:#fff}
.site-popup-card img{
  display:block;
  width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain;
  background:#fff;
}
.site-popup-close.icon{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(7,17,31,.72);
  color:#fff;
  font-size:24px;
  line-height:1;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.site-popup-actions{
  display:grid;
  grid-template-columns:1fr 110px;
  gap:10px;
  padding:12px;
  background:#fff;
  border-top:1px solid #e5e7eb;
}
.site-popup-today,
.site-popup-actions .site-popup-close{
  height:44px;
  border-radius:12px;
  border:1px solid #dbe3ee;
  cursor:pointer;
  font-size:13px;
  font-weight:1000;
}
.site-popup-actions .site-popup-close{
  background:#07111f;
  color:#fff;
  border-color:#07111f;
  position:static;
  width:auto;
}


/* expanded fake market list */
.market-list{
  max-height:760px;
  overflow:auto;
}
.market-list::-webkit-scrollbar,
.market-board::-webkit-scrollbar{
  width:8px;
  height:8px;
}
.market-list::-webkit-scrollbar-thumb,
.market-board::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:999px;
}
.mini-market-list{
  max-height:430px;
  overflow:auto;
}
.market-board tbody tr:nth-child(n+11){
  background:linear-gradient(90deg,rgba(248,250,252,.52),rgba(255,255,255,1));
}
@media(max-width:760px){
  .market-list{max-height:460px}
  .mini-market-list{max-height:320px}
}


/* hide ugly native scrollbars on market lists */
.market-list,
.mini-market-list{
  overflow-y:auto;
  scrollbar-width:none;        /* Firefox */
  -ms-overflow-style:none;     /* IE/Edge old */
}
.market-list::-webkit-scrollbar,
.mini-market-list::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}
.market-list::-webkit-scrollbar-thumb,
.mini-market-list::-webkit-scrollbar-thumb{
  background:transparent!important;
}
.mini-market-list{
  padding-right:0!important;
  gap:10px;
}
.mini-market{
  min-height:72px;
}
.market-list{
  padding-right:0!important;
}
@media(max-width:760px){
  .mini-market-list,
  .market-list{
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
}
