
:root{
  --p-blue:#2563eb;
  --p-cyan:#06b6d4;
  --p-mint:#10b981;
  --p-purple:#7c3aed;
  --p-orange:#f59e0b;
  --p-ink:#102638;
  --p-sub:#63798b;
  --p-line:#dbe7ef;
  --p-soft:#f5f9fc;
  --p-danger:#e84564;
}
body.product-page{background:linear-gradient(180deg,#f8fcff,#eff6fb 45%,#fbfdff);color:var(--p-ink)}
.product-page .topbar{position:sticky}
.product-page .desktop-nav a.active{color:var(--p-ink)}
.product-page .desktop-nav a.active:after{background:var(--p-cyan)}
.product-page .product-wrap{width:min(1280px,calc(100% - 36px));margin:0 auto}
.product-hero{padding:72px 0 42px;position:relative}
.product-hero-grid{display:grid;grid-template-columns:1fr 490px;gap:55px;align-items:center}
.breadcrumb{display:flex;gap:7px;align-items:center;color:#8194a4;font-size:10px;font-weight:800;margin-bottom:22px}
.breadcrumb a:hover{color:#008caf}
.product-label{display:inline-flex;align-items:center;gap:8px;height:31px;padding:0 11px;border:1px solid #cbeaf3;border-radius:999px;background:#ecfaff;color:#087f9e;font-size:9px;font-weight:950;letter-spacing:.13em}
.product-label i{width:7px;height:7px;border-radius:50%;background:var(--p-mint)}
.product-hero h1{margin:16px 0 16px;font-size:clamp(42px,5vw,66px);line-height:1.04;letter-spacing:-.06em}
.product-hero h1 em{font-style:normal;color:#009cc2}
.product-hero .lead{max-width:670px;margin:0;color:var(--p-sub);font-size:14px;line-height:1.85;word-break:keep-all}
.product-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:26px}
.product-hero-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.product-hero-points span{padding:8px 10px;border:1px solid var(--p-line);border-radius:9px;background:#fff;color:#526a7c;font-size:9px;font-weight:850}
.product-visual{min-height:410px;border:1px solid #d6e4ed;border-radius:25px;background:linear-gradient(145deg,#fff,#edf9ff);box-shadow:0 28px 80px rgba(41,78,108,.13);padding:24px;position:relative;overflow:hidden}
.product-visual:before,.product-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(1px)}
.product-visual:before{width:230px;height:230px;right:-80px;top:-85px;background:rgba(6,182,212,.14)}
.product-visual:after{width:180px;height:180px;left:-75px;bottom:-80px;background:rgba(37,99,235,.10)}
.visual-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}
.visual-top span{color:#718698;font-size:9px;font-weight:950;letter-spacing:.12em}
.visual-top b{padding:6px 8px;border-radius:7px;background:#e9faf4;color:#078c65;font-size:8px}
.visual-main{height:285px;display:grid;place-items:center;position:relative;z-index:2}
.big-glyph{width:150px;height:150px;border-radius:38px;display:grid;place-items:center;background:linear-gradient(145deg,#16c8e9,#2563eb);color:#fff;font-size:72px;font-weight:900;box-shadow:0 25px 60px rgba(37,99,235,.25);transform:rotate(-4deg)}
.visual-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;position:relative;z-index:2}
.visual-metrics div{padding:12px;border:1px solid #dbe8ef;border-radius:11px;background:rgba(255,255,255,.82)}
.visual-metrics span{display:block;color:#8193a2;font-size:7px}.visual-metrics strong{display:block;margin-top:5px;font-size:10px}
.product-nav-strip{border-top:1px solid var(--p-line);border-bottom:1px solid var(--p-line);background:#fff}
.product-nav-strip .product-wrap{display:flex;overflow:auto}
.product-nav-strip a{flex:1;min-width:170px;padding:17px;text-align:center;color:#748797;font-size:10px;font-weight:900;border-right:1px solid var(--p-line)}
.product-nav-strip a:last-child{border-right:0}
.product-nav-strip a:hover,.product-nav-strip a.active{color:#008bad;background:#effaff}
.content-section{padding:78px 0}
.content-section.soft{background:#f0f7fb;border-top:1px solid #e0ebf2;border-bottom:1px solid #e0ebf2}
.section-title{max-width:800px;margin-bottom:28px}
.section-title.center{text-align:center;margin-left:auto;margin-right:auto}
.section-title span{color:#009dc4;font-size:9px;font-weight:950;letter-spacing:.15em}
.section-title h2{margin:7px 0 9px;font-size:34px;letter-spacing:-.045em}
.section-title p{margin:0;color:var(--p-sub);font-size:12px;line-height:1.75}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.info-card{padding:23px;border:1px solid var(--p-line);border-radius:17px;background:#fff;box-shadow:0 15px 40px rgba(44,78,104,.055)}
.info-card .number{display:block;color:#cbd9e3;font-size:24px;font-weight:950}
.info-card h3{margin:23px 0 8px;font-size:17px}
.info-card p{margin:0;color:var(--p-sub);font-size:10px;line-height:1.75}
.info-card .tag{display:inline-flex;margin-top:18px;padding:6px 8px;border-radius:7px;background:#edf9fd;color:#0089aa;font-size:8px;font-weight:950}
.structure-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:stretch}
.structure-card{padding:28px;border:1px solid var(--p-line);border-radius:19px;background:#fff}
.structure-card h3{margin:0 0 13px;font-size:21px}
.structure-card>p{color:var(--p-sub);font-size:11px;line-height:1.75}
.flow-list{display:grid;gap:8px;margin-top:20px}
.flow-row{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid var(--p-line);border-radius:12px;background:#f9fcfe}
.flow-row>b{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e9f8fd;color:#0089ac;font-size:10px}
.flow-row strong{display:block;font-size:11px}.flow-row span{display:block;margin-top:4px;color:var(--p-sub);font-size:9px;line-height:1.55}
.example-card{background:linear-gradient(145deg,#0f3150,#0b6f8f);color:#fff;border:0;position:relative;overflow:hidden}
.example-card:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;bottom:-110px;background:rgba(255,255,255,.08)}
.example-card>p{color:#c9e9f3}
.example-table{position:relative;z-index:2;margin-top:20px;border:1px solid rgba(255,255,255,.16);border-radius:12px;overflow:hidden}
.example-table div{display:flex;justify-content:space-between;gap:20px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.13)}
.example-table div:last-child{border-bottom:0}.example-table span{color:#b9dce6;font-size:9px}.example-table strong{font-size:10px}
.warning-section{padding:24px;border:1px solid #ffd3dc;border-radius:18px;background:linear-gradient(145deg,#fff4f6,#fff);display:grid;grid-template-columns:210px 1fr;gap:22px;align-items:center}
.warning-section .warning-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:#ffe5ea;color:var(--p-danger);font-size:27px;font-weight:950}
.warning-section h3{margin:0;color:#a83048;font-size:20px}.warning-section p{margin:7px 0 0;color:#795563;font-size:10px;line-height:1.7}
.risk-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:15px}
.risk-list div{padding:12px;border:1px solid #f3d9df;border-radius:10px;background:rgba(255,255,255,.7);color:#794d5b;font-size:9px}
.compare-table-wrap{overflow:auto;border:1px solid var(--p-line);border-radius:17px;background:#fff;box-shadow:0 15px 45px rgba(44,78,104,.055)}
.compare-table{width:100%;min-width:850px;border-collapse:collapse}
.compare-table th,.compare-table td{padding:16px 14px;border-bottom:1px solid var(--p-line);text-align:left;font-size:10px;vertical-align:top}
.compare-table th{background:#eaf6fb;color:#5d7283;font-size:9px}
.compare-table tr:last-child td{border-bottom:0}
.compare-table td strong{display:block}.compare-table td small{display:block;margin-top:4px;color:var(--p-sub);line-height:1.5}
.product-cta{margin:0 auto 80px;width:min(1280px,calc(100% - 36px));padding:36px;border:1px solid #c9e8f1;border-radius:21px;background:linear-gradient(135deg,#e9faff,#eef5ff);display:flex;align-items:center;justify-content:space-between;gap:25px}
.product-cta h2{margin:0;font-size:27px;letter-spacing:-.04em}.product-cta p{margin:8px 0 0;color:var(--p-sub);font-size:11px}.product-cta-actions{display:flex;gap:8px;flex:0 0 auto}
.related-products{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.related-card{padding:18px;border:1px solid var(--p-line);border-radius:14px;background:#fff;transition:.2s}
.related-card:hover{transform:translateY(-3px);border-color:#b9e2ed}
.related-card small{color:#00a0c8;font-size:7px;font-weight:950}.related-card strong{display:block;margin-top:7px;font-size:13px}.related-card span{display:block;margin-top:5px;color:var(--p-sub);font-size:8px;line-height:1.5}
.calc-card{padding:28px;border:1px solid var(--p-line);border-radius:19px;background:#fff;box-shadow:0 18px 45px rgba(44,78,104,.06)}
.calc-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}
.calc-control label{display:block;margin-bottom:20px;color:#526a7d;font-size:10px;font-weight:900}
.calc-control input[type=range]{width:100%;accent-color:#06a8cd}
.range-value{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px}.range-value strong{font-size:34px;color:#008eb2}.range-value span{color:#7b8e9d;font-size:9px}
.calc-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.calc-results div{padding:15px;border:1px solid var(--p-line);border-radius:12px;background:#f8fcfe}
.calc-results span{display:block;color:#8193a1;font-size:8px}.calc-results strong{display:block;margin-top:6px;font-size:13px}
.barrier-diagram{padding:24px;border:1px solid var(--p-line);border-radius:18px;background:#fff}
.barrier-line{height:270px;position:relative;background:linear-gradient(rgba(20,54,79,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(20,54,79,.05) 1px,transparent 1px),#f9fdff;background-size:42px 42px;border-radius:13px;overflow:hidden}
.barrier-target{position:absolute;left:0;right:0;top:28%;border-top:2px dashed #f59e0b}.barrier-target span{position:absolute;right:10px;top:-22px;padding:5px 7px;border-radius:6px;background:#fff5df;color:#b36d00;font-size:8px;font-weight:900}
.barrier-start{position:absolute;left:0;right:0;bottom:28%;border-top:1px dashed #77a7bb}.barrier-start span{position:absolute;left:10px;top:7px;color:#638092;font-size:8px}
.price-path{position:absolute;inset:0}
.price-path svg{width:100%;height:100%}.price-path polyline{fill:none;stroke:#06a8cd;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.touch-dot{position:absolute;left:70%;top:25%;width:15px;height:15px;border:4px solid #fff;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.18)}
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:25px;position:relative}
.timeline:before{content:"";position:absolute;top:21px;left:12%;right:12%;height:2px;background:#d6e6ee}
.timeline article{position:relative;text-align:center}
.timeline article>b{position:relative;z-index:2;width:43px;height:43px;margin:0 auto;display:grid;place-items:center;border-radius:50%;background:#fff;border:2px solid #7bd3e6;color:#008bab;font-size:10px}
.timeline article strong{display:block;margin-top:12px;font-size:10px}.timeline article span{display:block;margin-top:4px;color:var(--p-sub);font-size:8px}
.option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.option-card{padding:23px;border:1px solid var(--p-line);border-radius:17px;background:#fff;position:relative;overflow:hidden}
.option-card:after{content:"";position:absolute;width:100px;height:100px;right:-45px;bottom:-50px;border-radius:50%;background:#12b8dc;opacity:.08}
.option-card .option-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf9fd;color:#008bad;font-size:18px;font-weight:900}
.option-card h3{margin:20px 0 7px;font-size:16px}.option-card p{margin:0;color:var(--p-sub);font-size:9px;line-height:1.7}.option-card ul{margin:14px 0 0;padding:0;list-style:none}.option-card li{padding:6px 0;border-top:1px solid var(--p-line);color:#60778a;font-size:8px}
.product-page footer{margin-top:0}
@media(max-width:1050px){
  .product-hero-grid{grid-template-columns:1fr}.product-visual{max-width:700px}
  .info-grid,.option-grid{grid-template-columns:repeat(2,1fr)}
  .structure-grid{grid-template-columns:1fr}.related-products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .product-page .product-wrap{width:min(100% - 24px,1280px)}
  .product-hero{padding-top:45px}.product-hero h1{font-size:40px}
  .product-visual{min-height:350px;padding:18px}.visual-main{height:230px}.big-glyph{width:125px;height:125px;font-size:58px}
  .info-grid,.option-grid{grid-template-columns:1fr}
  .content-section{padding:58px 0}.section-title h2{font-size:28px}
  .warning-section{grid-template-columns:1fr}.risk-list{grid-template-columns:1fr}
  .calc-layout{grid-template-columns:1fr}.timeline{grid-template-columns:1fr;gap:12px}.timeline:before{display:none}.timeline article{display:grid;grid-template-columns:44px 1fr;text-align:left;gap:10px}.timeline article>b{margin:0}.timeline article strong{margin-top:4px}
  .product-cta{padding:25px;align-items:flex-start;flex-direction:column}.product-cta-actions{width:100%;flex-direction:column}.product-cta-actions a{text-align:center}
  .related-products{grid-template-columns:1fr 1fr}
}


/* ===== PRODUCT IMAGE BANNER ===== */
.product-image-banner{padding:24px 0 10px}
.product-image-card{position:relative;overflow:hidden;border-radius:24px;border:1px solid #dce8ef;background:#fff;box-shadow:0 20px 55px rgba(43,78,104,.08)}
.product-image-card img{display:block;width:100%;height:auto;object-fit:cover;background:#f3f8fc}
.product-image-caption{position:absolute;left:18px;right:18px;bottom:18px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(43,78,104,.08)}
.product-image-caption span{display:inline-flex;height:24px;align-items:center;padding:0 9px;border-radius:999px;background:#ecfaff;color:#008cad;font-size:9px;font-weight:950;letter-spacing:.1em}
.product-image-caption strong{display:block;margin-top:9px;font-size:22px;letter-spacing:-.03em;color:#13283a}
.product-image-caption p{margin:7px 0 0;color:#5f7688;font-size:12px;line-height:1.65;max-width:780px}
@media(max-width:700px){.product-image-banner{padding-top:18px}.product-image-caption{position:static;border-top:1px solid #e6eef3;border-radius:0;padding:14px}.product-image-caption strong{font-size:18px}.product-image-caption p{font-size:11px}}


/* ===== LEGAL / FAQ CONTENT ===== */
.legal-wrap{width:min(1100px,calc(100% - 36px));margin:0 auto}
.legal-section{padding:78px 0}
.legal-card{padding:26px;border:1px solid var(--p-line);border-radius:20px;background:#fff;box-shadow:0 18px 45px rgba(44,78,104,.055)}
.legal-list{display:grid;gap:14px}
.legal-item{padding:20px;border:1px solid #e4edf3;border-radius:16px;background:#fbfdff}
.legal-item h3{margin:0 0 10px;font-size:18px;color:#163149}
.legal-item p,.legal-item li{color:var(--p-sub);font-size:11px;line-height:1.8}
.legal-item ul{margin:8px 0 0 18px;padding:0}
.faq-grid{display:grid;gap:12px}
.faq-item{padding:18px 20px;border:1px solid var(--p-line);border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(44,78,104,.05)}
.faq-item h3{margin:0 0 10px;font-size:17px;color:#163149}
.faq-item p{margin:0;color:var(--p-sub);font-size:11px;line-height:1.8}
.notice-mini{margin-top:16px;padding:16px 18px;border:1px solid #d8ebf2;border-radius:14px;background:#f4fbfe;color:#587082;font-size:11px;line-height:1.8}
@media(max-width:700px){.legal-wrap{width:min(100% - 24px,1100px)}.legal-section{padding:54px 0}.legal-card{padding:18px}.legal-item{padding:16px}.legal-item h3,.faq-item h3{font-size:16px}}


/* ===== SERVICE / DEMO PAGES ===== */
.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px}.metric-strip article{padding:16px;border:1px solid var(--p-line);border-radius:14px;background:#fff}.metric-strip span{display:block;color:#8193a2;font-size:8px}.metric-strip strong{display:block;margin-top:6px;font-size:15px;color:#143148}
.demo-balance-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid #cfe7ef;border-radius:18px;background:linear-gradient(135deg,#eefaff,#f7fcff)}.demo-balance-banner span{display:block;color:#648093;font-size:10px}.demo-balance-banner strong{display:block;margin-top:5px;font-size:28px;color:#102638}.demo-balance-banner small{color:#6e8697;font-size:10px}
.demo-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.demo-card{padding:22px;border:1px solid var(--p-line);border-radius:20px;background:#fff;box-shadow:0 15px 42px rgba(44,78,104,.055)}.demo-card h3{margin:12px 0 8px;font-size:20px;color:#163149}.demo-card p{margin:0;color:var(--p-sub);font-size:10px;line-height:1.75}
.demo-pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:#ecfaff;color:#008cad;font-size:9px;font-weight:950;letter-spacing:.04em}
.demo-card label{display:block;margin-top:16px;color:#577082;font-size:10px;font-weight:900}.demo-card input,.demo-card select{width:100%;height:44px;margin-top:7px;padding:0 12px;border:1px solid #dbe7ef;border-radius:10px;background:#f8fcfe;color:#102638}
.demo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.demo-actions button{height:44px;border-radius:12px;border:0;font-weight:900}.demo-actions .buy{background:linear-gradient(135deg,#19d17b,#0ab889);color:#fff}.demo-actions .sell{background:linear-gradient(135deg,#ff7b7b,#ff4c77);color:#fff}.demo-actions .neutral{background:linear-gradient(135deg,#00a6d6,#3676ff);color:#fff}
.demo-log{margin-top:22px;padding:18px;border:1px solid var(--p-line);border-radius:18px;background:#fff}.demo-log h3{margin:0 0 12px;font-size:19px}.demo-log-list{display:grid;gap:10px}.demo-log-item{padding:14px 16px;border:1px solid #e3edf3;border-radius:14px;background:#fbfdff}.demo-log-item strong{display:block;color:#15314a;font-size:12px}.demo-log-item p{margin:5px 0 0;color:#678095;font-size:10px;line-height:1.65}.demo-log-empty{padding:20px;border:1px dashed #d8e5ed;border-radius:14px;text-align:center;color:#6c8395;font-size:11px}
.guide-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-step-card{padding:22px;border:1px solid var(--p-line);border-radius:18px;background:#fff;box-shadow:0 15px 42px rgba(44,78,104,.05)}.guide-step-card span{display:block;color:#c6d5df;font-size:28px;font-weight:950}.guide-step-card strong{display:block;margin-top:16px;font-size:19px;color:#143149}.guide-step-card p{margin:9px 0 0;color:#678095;font-size:11px;line-height:1.75}
.info-board{padding:20px;border:1px solid var(--p-line);border-radius:18px;background:#fff}.info-board h3{margin:0 0 14px;font-size:21px}.info-board ul{margin:0;padding-left:18px}.info-board li{color:#678095;font-size:11px;line-height:1.85;margin:6px 0}
.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.partner-card{padding:22px;border:1px solid var(--p-line);border-radius:18px;background:#fff}.partner-card h3{margin:14px 0 8px;font-size:19px}.partner-card p{margin:0;color:var(--p-sub);font-size:11px;line-height:1.75}
@media(max-width:1050px){.demo-center-grid,.guide-step-grid,.partner-grid,.metric-strip{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.metric-strip,.demo-center-grid,.guide-step-grid,.partner-grid{grid-template-columns:1fr}.demo-balance-banner{align-items:flex-start;flex-direction:column}.demo-balance-banner strong{font-size:24px}.demo-actions{grid-template-columns:1fr}}


/* ===== LIVE DEMO TRADING TERMINAL ===== */
.demo-live-hero{padding:60px 0 35px;background:linear-gradient(180deg,#f8fcff,#eef7fc)}
.demo-live-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:38px;align-items:center}.demo-live-hero h1{margin:16px 0 16px;font-size:clamp(42px,5vw,66px);line-height:1.04;letter-spacing:-.06em}.demo-live-hero h1 em{font-style:normal;color:#009cc2}.demo-live-hero p{max-width:720px;color:#63798b;font-size:14px;line-height:1.85}
.demo-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.demo-hero-stats article{padding:19px;border:1px solid #dbe8ef;border-radius:17px;background:#fff;box-shadow:0 14px 38px rgba(49,85,115,.06)}.demo-hero-stats span{display:block;color:#8193a2;font-size:9px}.demo-hero-stats strong{display:block;margin-top:8px;color:#153149;font-size:15px}
.demo-market-strip{padding:0 0 24px;background:#eef7fc}.demo-market-strip-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.demo-market-strip-inner>div{padding:15px 17px;border:1px solid #dbe8ef;border-radius:14px;background:rgba(255,255,255,.84)}.demo-market-strip span{display:block;color:#0093b9;font-size:9px;font-weight:950;letter-spacing:.08em}.demo-market-strip strong{display:block;margin-top:6px;color:#39556a;font-size:10px;line-height:1.55}
.live-demo-section{padding:12px 10px 80px;background:#edf5fa}.live-demo-shell{max-width:1810px;margin:0 auto;display:grid;grid-template-columns:250px minmax(520px,1fr) 340px;grid-template-areas:"symbols chart order" "history history order";gap:9px}
.live-symbol-panel,.live-chart-panel,.live-order-panel,.live-order-history{border:1px solid #d8e5ed;border-radius:17px;background:#fff;box-shadow:0 15px 45px rgba(45,78,103,.06);overflow:hidden}.live-symbol-panel{grid-area:symbols;min-height:710px}.live-chart-panel{grid-area:chart;min-height:710px}.live-order-panel{grid-area:order;min-height:910px}.live-order-history{grid-area:history;min-height:190px}
.live-panel-head,.live-order-head{height:66px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3edf3}.live-panel-head span,.live-order-head span{display:block;color:#8193a2;font-size:8px;letter-spacing:.1em}.live-panel-head strong,.live-order-head strong{display:block;margin-top:4px;color:#183249;font-size:15px}.live-panel-head button{width:34px;height:34px;border:1px solid #dbe7ef;border-radius:9px;background:#f8fcfe;color:#4e6a7d;font-size:17px}.demo-only-badge{padding:6px 8px;border-radius:7px;background:#e9faf4;color:#09875f!important;font-size:8px!important;font-weight:950}
.live-symbol-search{display:none;padding:10px 12px 0}.live-symbol-search.show{display:block}.live-symbol-search input{width:100%;height:38px;padding:0 11px;border:1px solid #dbe7ef;border-radius:9px;background:#f8fcfe;color:#183249;outline:none}.live-symbol-search input:focus{border-color:#73cfe2}
.live-category-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:10px 11px;border-bottom:1px solid #e6eef3}.live-category-tabs button{height:31px;border:0;border-radius:8px;background:transparent;color:#768b9c;font-size:8px;font-weight:900}.live-category-tabs button.active{background:#eaf8fd;color:#008cad}.live-symbol-list{max-height:515px;overflow:auto}.live-symbol-row{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;min-height:55px;padding:7px 12px;border-bottom:1px solid #edf2f5;cursor:pointer;transition:.18s}.live-symbol-row:hover,.live-symbol-row.active{background:linear-gradient(90deg,#edfaff,#fff)}.live-symbol-row.active{box-shadow:inset 3px 0 0 #06a7cc}.live-symbol-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#edf8fc;color:#008bad;font-size:10px;font-weight:950}.live-symbol-row strong{display:block;color:#19334a;font-size:10px}.live-symbol-row small{display:block;margin-top:3px;color:#8294a3;font-size:7px}.live-symbol-source{color:#7e93a3;font-size:7px;font-weight:900}.live-source-note{margin:12px;padding:13px;border:1px solid #dfeaf1;border-radius:11px;background:#f8fcfe}.live-source-note strong{display:block;color:#25485f;font-size:9px}.live-source-note p{margin:6px 0 0;color:#748a9b;font-size:8px;line-height:1.6}
.live-chart-head{min-height:76px;padding:12px 15px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #e3edf3}.selected-asset{display:flex;align-items:center;gap:11px;margin-right:auto}.selected-asset-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#e9faff,#edf4ff);color:#008bad;font-size:15px;font-weight:950}.selected-asset strong{display:block;color:#143047;font-size:17px}.selected-asset small{display:block;margin-top:4px;color:#7890a2;font-size:8px}.live-chart-meta span{display:block;color:#8a9baa;font-size:7px}.live-chart-meta strong{display:block;margin-top:5px;color:#28485d;font-size:9px}.live-badge{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:8px;background:#ebfaf5;color:#07875f;font-size:8px;font-weight:950}.live-badge i{width:6px;height:6px;border-radius:50%;background:#13c98b}
.tradingview-stage{height:575px;position:relative;background:#f5f9fc}.tradingview-widget-container,.tradingview-widget-container__widget{width:100%;height:100%}.chart-loading{position:absolute;inset:0;z-index:0;display:grid;place-content:center;text-align:center;background:#f6fafc}.chart-loading strong{color:#27495f;font-size:14px}.chart-loading span{margin-top:7px;color:#7d92a2;font-size:9px}.tradingview-widget-container{position:relative;z-index:1}.live-chart-foot{min-height:57px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e4edf3;color:#74899a;font-size:9px}.live-chart-foot a{color:#008eaf;font-weight:900}
.demo-wallet-card{margin:14px;padding:14px;border:1px solid #cfe6ee;border-radius:13px;background:linear-gradient(135deg,#effaff,#f9fdff)}.demo-wallet-card span{display:block;color:#7a90a1;font-size:8px}.demo-wallet-card strong{display:block;margin-top:5px;color:#102e45;font-size:20px}.demo-wallet-card button{margin-top:9px;border:0;background:transparent;color:#008eaf;font-size:8px;font-weight:900;text-decoration:underline}
.product-mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:0 14px 13px;border-bottom:1px solid #e4edf3}.product-mode-tabs button{height:35px;border:1px solid #dce8ef;border-radius:9px;background:#fff;color:#72899a;font-size:9px;font-weight:900}.product-mode-tabs button.active{border-color:#69cce1;background:#eafaff;color:#008cad}.selected-order-symbol{display:flex;align-items:center;justify-content:space-between;margin:13px 14px 0;padding:11px 12px;border:1px solid #e0eaf0;border-radius:10px;background:#f9fcfe}.selected-order-symbol span{color:#7c91a2;font-size:8px}.selected-order-symbol strong{color:#183249;font-size:10px}.live-form-label{display:block;padding:13px 14px 0}.live-form-label>span{display:block;color:#526d80;font-size:9px;font-weight:900;margin-bottom:7px}.live-input-wrap{position:relative}.live-input-wrap input,.live-form-label select{width:100%;height:43px;padding:0 48px 0 11px;border:1px solid #dbe7ef;border-radius:10px;background:#f8fcfe;color:#173149;outline:none}.live-form-label select{padding:0 10px}.live-input-wrap b{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#8193a2;font-size:8px}.live-quick-amounts{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:7px 14px 0}.live-quick-amounts button{height:28px;border:1px solid #dfe9ef;border-radius:6px;background:#fff;color:#758b9b;font-size:7px;font-weight:900}.product-setting-panel{padding-bottom:4px}.product-setting-panel.hidden{display:none}.demo-order-preview{margin:13px 14px;padding:10px 12px;border:1px solid #e2ebf1;border-radius:10px;background:#f9fcfe}.demo-order-preview div{display:flex;justify-content:space-between;padding:5px 0}.demo-order-preview span{color:#7e92a2;font-size:8px}.demo-order-preview strong{color:#183249;font-size:8px}.live-direction-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px}.live-direction-buttons button{min-height:51px;border:0;border-radius:11px;color:#fff;font-size:10px;font-weight:950}.live-direction-buttons .up{background:linear-gradient(135deg,#18ce91,#0cac7f)}.live-direction-buttons .down{background:linear-gradient(135deg,#ff7086,#ef4667)}.live-direction-buttons .touch{background:linear-gradient(135deg,#07b5db,#3479ff)}.live-demo-warning{margin:12px 14px 0;color:#8295a4;font-size:8px;line-height:1.55;text-align:center}
.history-head{height:54px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4edf3}.history-head span{display:block;color:#0095ba;font-size:7px;font-weight:950;letter-spacing:.1em}.history-head strong{display:block;margin-top:4px;color:#19344b;font-size:13px}.history-head button{height:30px;padding:0 10px;border:1px solid #dce7ed;border-radius:7px;background:#fff;color:#718798;font-size:8px;font-weight:900}.live-history-table-wrap{overflow:auto}.live-history-table{width:100%;min-width:850px;border-collapse:collapse}.live-history-table th,.live-history-table td{padding:11px 12px;border-bottom:1px solid #edf2f5;text-align:right;font-size:8px}.live-history-table th{color:#8495a3}.live-history-table th:first-child,.live-history-table td:first-child{text-align:left}.live-empty-row td{text-align:center!important;padding:26px}.live-empty-row strong{display:block;color:#506a7d;font-size:10px}.live-empty-row span{display:block;margin-top:5px;color:#8a9aa7;font-size:8px}.demo-status-running{color:#d38900;font-weight:900}.demo-status-win{color:#0a9c6d;font-weight:900}.demo-status-lose{color:#e14663;font-weight:900}
.demo-asset-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.demo-asset-info-grid article{padding:22px;border:1px solid #dce7ee;border-radius:17px;background:#fff}.demo-asset-info-grid span{display:block;color:#0096ba;font-size:8px;font-weight:950;letter-spacing:.1em}.demo-asset-info-grid strong{display:block;margin-top:8px;color:#163149;font-size:17px}.demo-asset-info-grid p{margin:8px 0 0;color:#6a8192;font-size:10px;line-height:1.7}
@media(max-width:1250px){.live-demo-shell{grid-template-columns:230px minmax(480px,1fr);grid-template-areas:"symbols chart" "order order" "history history"}.live-order-panel{min-height:auto}.live-order-panel{display:grid;grid-template-columns:1fr 1fr}.live-order-head,.product-mode-tabs{grid-column:1/-1}.demo-wallet-card{grid-column:1}.selected-order-symbol{grid-column:2}.live-form-label,.live-quick-amounts,.product-setting-panel,.live-demo-warning{grid-column:1/-1}.demo-asset-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:880px){.demo-live-hero-grid{grid-template-columns:1fr}.demo-market-strip-inner{grid-template-columns:1fr}.live-demo-shell{grid-template-columns:1fr;grid-template-areas:"chart" "symbols" "order" "history"}.live-symbol-panel{min-height:auto}.live-symbol-list{max-height:360px}.live-order-panel{display:block}.live-chart-meta{display:none}.tradingview-stage{height:500px}}
@media(max-width:650px){.demo-live-hero{padding:42px 0 25px}.demo-live-hero h1{font-size:40px}.demo-hero-stats{grid-template-columns:1fr 1fr}.live-demo-section{padding-left:6px;padding-right:6px}.live-chart-head{gap:10px;align-items:flex-start}.live-badge{margin-left:auto}.tradingview-stage{height:430px}.live-chart-foot{align-items:flex-start;flex-direction:column}.demo-asset-info-grid{grid-template-columns:1fr}}


/* ===== DEMO POSITION PNL / STOP ===== */
.demo-quote-card{margin:12px 14px 0;padding:13px;border:1px solid #d9e8ef;border-radius:12px;background:linear-gradient(135deg,#f5fcff,#fff);display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:end}
.demo-quote-card span{display:block;color:#7b91a1;font-size:8px}.demo-quote-card strong{display:block;margin-top:4px;color:#19364e;font-size:16px}.demo-quote-card small{grid-column:1/-1;color:#8a9ba8;font-size:7px;line-height:1.5}.demo-quote-up,.quote-up{color:#0a9c6d!important}.demo-quote-down,.quote-down{color:#e14663!important}
.live-symbol-source{display:flex!important;flex-direction:column;align-items:flex-end;gap:3px}.live-symbol-source b{color:#29465a;font-size:8px}.live-symbol-source em{font-style:normal;font-size:7px;font-weight:900}
.history-actions{display:flex;gap:6px}.position-summary-strip{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #e4edf3}.position-summary-strip article{padding:12px 14px;border-right:1px solid #e4edf3}.position-summary-strip article:last-child{border-right:0}.position-summary-strip span{display:block;color:#8496a5;font-size:7px}.position-summary-strip strong{display:block;margin-top:5px;color:#19364d;font-size:11px}
.live-history-table.expanded{min-width:1280px}.live-history-table td small{display:block;margin-top:4px;color:#8193a2;font-size:7px}.live-history-table td strong{font-size:8px}.pnl-positive{color:#0a9c6d!important;font-weight:900}.pnl-negative{color:#e14663!important;font-weight:900}
.stop-position-btn{height:28px;padding:0 9px;border:1px solid #f2b8c4;border-radius:7px;background:#fff4f6;color:#cc3150;font-size:7px;font-weight:950}.stop-position-btn:hover{background:#ffe9ee}.settled-label{display:inline-flex;height:26px;align-items:center;padding:0 8px;border-radius:7px;background:#eef5f8;color:#728795;font-size:7px;font-weight:900}
@media(max-width:700px){.position-summary-strip{grid-template-columns:1fr 1fr}.position-summary-strip article:nth-child(2){border-right:0}.position-summary-strip article{border-bottom:1px solid #e4edf3}.history-actions{flex-direction:column}.history-head{height:auto;min-height:64px;padding:10px 12px}.demo-quote-card{grid-template-columns:1fr 1fr}}


/* ===== DEMO TRADE PRODUCT / HISTORY V6 ===== */
.product-mode-tabs.four-tabs{grid-template-columns:repeat(4,1fr)}
.product-mode-tabs.four-tabs button{font-size:8px;padding:0 3px}
.position-summary-strip.six-items{grid-template-columns:repeat(6,1fr)}
.demo-history-tabs{display:flex;gap:8px;padding:12px 14px;border-bottom:1px solid #e4edf3;background:#f8fcfe}
.demo-history-tabs button{height:38px;padding:0 16px;border:1px solid #d9e6ed;border-radius:10px;background:#fff;color:#607789;font-size:10px;font-weight:900;cursor:pointer}
.demo-history-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:6px;padding:0 6px;border-radius:999px;background:#eef5f8;color:#4e687a;font-size:8px}
.demo-history-tabs button.active{border-color:#68cfe5;background:#eafaff;color:#008cab;box-shadow:0 8px 20px rgba(0,145,181,.08)}
.demo-history-tabs button.active span{background:#00a7cf;color:#fff}
.live-history-table.expanded{min-width:1700px}
.live-history-table th,.live-history-table td{white-space:nowrap;vertical-align:middle}
.live-history-table th:first-child,.live-history-table td:first-child{text-align:left}
.live-history-table td small{display:block;margin-top:4px;color:#8193a2;font-size:7px}
.clickable-order-row{cursor:pointer;transition:.15s}
.clickable-order-row:hover{background:#f4fbfe}
.table-action-stack{display:flex;gap:5px;justify-content:flex-end}
.liquidate-btn,.detail-btn{height:30px;padding:0 10px;border-radius:8px;font-size:8px;font-weight:950;cursor:pointer}
.liquidate-btn{border:1px solid #f0aebc;background:#fff1f4;color:#c52d4c}
.liquidate-btn:hover{background:#ffe3e9}
.detail-btn{border:1px solid #cce4ed;background:#f1fbfe;color:#067f9e}
.detail-btn:hover{background:#e5f8fd}
.demo-detail-backdrop[hidden]{display:none}
.demo-detail-backdrop{position:fixed;inset:0;z-index:190;display:grid;place-items:center;padding:20px;background:rgba(8,20,30,.48)}
.demo-detail-modal{position:relative;width:min(760px,100%);max-height:min(82vh,820px);overflow:auto;padding:28px;border-radius:24px;background:#fff;box-shadow:0 32px 100px rgba(15,37,53,.28)}
.demo-detail-close{position:absolute;right:14px;top:14px;width:40px;height:40px;border:1px solid #dbe7ed;border-radius:50%;background:#fff;color:#526b7d;font-size:20px;cursor:pointer}
.demo-detail-kicker{display:block;color:#0099bd;font-size:9px;font-weight:950;letter-spacing:.13em}
.demo-detail-modal h2{margin:8px 0 20px;color:#122d42;font-size:28px;letter-spacing:-.04em}
.demo-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.demo-detail-grid div{padding:14px 15px;border:1px solid #e2ebf1;border-radius:13px;background:#f9fcfe}
.demo-detail-grid span{display:block;color:#8295a4;font-size:8px}
.demo-detail-grid strong{display:block;margin-top:6px;color:#17334a;font-size:11px;word-break:break-all}
.demo-detail-actions{display:flex;justify-content:flex-end;margin-top:18px}
@media(max-width:1250px){.position-summary-strip.six-items{grid-template-columns:repeat(3,1fr)}.position-summary-strip.six-items article:nth-child(3n){border-right:0}}
@media(max-width:700px){.product-mode-tabs.four-tabs{grid-template-columns:1fr 1fr}.position-summary-strip.six-items{grid-template-columns:1fr 1fr}.demo-history-tabs{overflow:auto}.demo-history-tabs button{flex:0 0 auto}.demo-detail-grid{grid-template-columns:1fr}.demo-detail-modal{padding:22px 16px}.table-action-stack{flex-direction:column}.live-history-table.expanded{min-width:1650px}}


/* ===== 데모 진행 중 거래 / 거래내역 스크롤바 숨김 ===== */
.live-history-table-wrap,
.demo-history-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.live-history-table-wrap::-webkit-scrollbar,
.demo-history-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}

.policy-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:14px 16px;border:1px solid #dce9f1;border-radius:14px;background:#f7fbfe}.policy-meta span,.policy-meta a{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid #dce9f1;color:#527087;font-size:9px;font-weight:900}.policy-meta a{color:#008cac;background:#ecfaff}.legal-item strong{color:#163149}@media(max-width:700px){.policy-meta{align-items:flex-start;flex-direction:column}.policy-meta span,.policy-meta a{width:100%;justify-content:center}}
