:root { --bg:#090b1c; --panel:#11142b; --panel-2:#171b38; --line:rgba(173,190,255,.15); --text:#f6f7ff; --muted:#98a1c3; --purple:#9c7cff; --cyan:#50d7f5; --green:#54e6ab; --red:#ff6b8d; }
* { box-sizing:border-box; } body { margin:0; min-width:1080px; color:var(--text); background:radial-gradient(circle at 70% -10%,#282455 0,transparent 28%),var(--bg); font-family:"Noto Sans JP",sans-serif; } .stars { position:fixed; inset:0; pointer-events:none; opacity:.65; background-image:radial-gradient(#fff 1px,transparent 1px),radial-gradient(#8bdfff 1px,transparent 1px); background-position:20px 30px,130px 80px; background-size:160px 160px,240px 240px; mask-image:linear-gradient(#000,transparent); }
.topbar { position:sticky; top:0; z-index:3; height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 calc((100% - 1400px)/2); min-padding-left:24px; background:rgba(9,11,28,.85); border-bottom:1px solid var(--line); backdrop-filter:blur(16px); } .brand { color:#fff; text-decoration:none; font:600 20px "Space Grotesk"; letter-spacing:.8px; } .brand b { color:var(--cyan); font-weight:600; } .brand-mark { display:inline-grid; place-items:center; width:28px; height:28px; margin-right:8px; color:#07101c; background:var(--cyan); clip-path:polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%); } .market-status { font-size:13px; font-weight:700; color:var(--green); } .market-status i { display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; background:var(--green); box-shadow:0 0 10px var(--green); } .market-status span { margin-left:16px; color:var(--muted); font:12px "DM Mono"; } button { font:700 14px "Noto Sans JP"; cursor:pointer; } .next-day { padding:11px 17px; border:1px solid #7867de; color:white; border-radius:8px; background:linear-gradient(135deg,#6650cf,#9b6deb); box-shadow:0 8px 24px rgba(113,81,233,.24); } .next-day span { margin-left:8px; font-size:17px; }
main { position:relative; max-width:1400px; margin:auto; padding:44px 0 60px; } .hero { min-height:190px; display:flex; align-items:center; justify-content:space-between; padding:0 42px 0 26px; } .eyebrow { margin:0 0 7px; color:var(--cyan); font:500 11px "DM Mono"; letter-spacing:1.6px; } h1,h2,p { margin-top:0; } h1 { margin-bottom:13px; font:700 42px/1.22 "Noto Sans JP"; letter-spacing:-1.6px; } h1 em { color:#bdabff; font-style:normal; } .lead { max-width:610px; margin:0; color:var(--muted); font-size:14px; line-height:1.8; } .lead strong { color:#fff; } .orbit-scene { position:relative; width:295px; height:180px; } .planet { position:absolute; top:48px; left:105px; width:94px; height:94px; border-radius:50%; background:radial-gradient(circle at 32% 28%,#dac7ff,#987be8 38%,#382b7a 72%); box-shadow:0 0 44px #8264dc; } .orbit { position:absolute; top:39px; left:36px; width:226px; height:113px; border:1px solid rgba(120,207,255,.42); border-radius:50%; transform:rotate(-20deg); } .orbit-two { transform:rotate(37deg) scale(.76); border-color:rgba(205,156,255,.45); } .satellite { position:absolute; top:24px; left:225px; color:#f9db73; font-size:23px; text-shadow:0 0 12px #ffdd77; }
.dashboard { display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden; margin:8px 0 22px; border:1px solid var(--line); border-radius:12px; background:rgba(17,20,43,.76); } .dashboard article { padding:18px 25px; border-right:1px solid var(--line); } .dashboard article:last-child { border:0; } .dashboard p { margin-bottom:5px; color:var(--muted); font-size:12px; } .dashboard strong { font:600 25px "Space Grotesk"; letter-spacing:.2px; } .dashboard small { margin-left:5px; color:var(--muted); font-size:11px; } .turn-card { background:rgba(110,83,210,.1); } .up,.positive { color:var(--green)!important; } .down,.negative { color:var(--red)!important; } .neutral { color:#fff; }
.layout { display:grid; grid-template-columns:300px minmax(500px,1fr) 270px; gap:18px; } .panel { border:1px solid var(--line); border-radius:12px; background:linear-gradient(145deg,rgba(23,27,56,.95),rgba(13,16,36,.95)); box-shadow:0 16px 35px rgba(0,0,0,.15); } .watchlist,.portfolio { min-height:690px; padding:20px 14px; } .section-heading { display:flex; align-items:flex-start; justify-content:space-between; padding:0 7px 15px; } h2 { margin:0; font-size:18px; letter-spacing:-.6px; } .section-heading>span { padding:4px 8px; color:var(--muted); border:1px solid var(--line); border-radius:5px; font:11px "DM Mono"; }
.company-list { display:grid; gap:5px; } .company-item { width:100%; display:grid; grid-template-columns:33px 1fr auto; gap:9px; align-items:center; padding:10px 8px; color:#fff; text-align:left; border:1px solid transparent; border-radius:8px; background:transparent; transition:.18s; } .company-item:hover,.company-item.active { border-color:rgba(111,201,255,.32); background:rgba(86,160,234,.1); } .mini-icon,.company-icon { display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(135deg,#7a64d8,#314787); } .mini-icon { width:30px; height:30px; font-size:14px; } .company-item b { display:block; overflow:hidden; max-width:158px; text-overflow:ellipsis; white-space:nowrap; font-size:12px; } .company-item small { color:var(--muted); font-size:10px; } .mini-quote { text-align:right; font:11px "DM Mono"; } .mini-quote span { display:block; margin-top:3px; font-size:9px; }
.detail { display:grid; gap:18px; } .company-hero { display:flex; align-items:center; justify-content:space-between; min-height:118px; padding:22px 25px; } .company-title { display:flex; align-items:center; gap:14px; } .company-icon { flex:none; width:55px; height:55px; font-size:24px; } .company-title h2 { margin-bottom:5px; font-size:22px; } .company-title>div>p:last-child { max-width:380px; margin:0; color:var(--muted); font-size:12px; } .quote { text-align:right; } .quote strong { display:block; font:600 35px "Space Grotesk"; } .quote small { color:var(--muted); font-size:11px; } .quote span { display:block; margin-top:7px; font:12px "DM Mono"; }.chart-panel { padding:22px 25px 14px; } .chart-top { display:flex; align-items:start; justify-content:space-between; } .legend { color:var(--muted); font-size:11px; }.legend span { display:inline-block; width:18px; height:2px; margin:0 5px 3px 0; background:var(--cyan); } #price-chart { width:100%; height:240px; overflow:visible; } .news-card { display:grid; grid-template-columns:108px 1fr auto; align-items:center; gap:14px; padding:15px 20px; } .news-badge { color:#e8ce75; font:10px "DM Mono"; letter-spacing:1px; } .news-card p { margin:0 0 3px; font-size:13px; font-weight:700; }.news-card small { color:var(--muted); font-size:11px; }.impact { padding:6px 9px; border-radius:5px; background:rgba(84,230,171,.1); font:12px "DM Mono"; }.trade-panel { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; }.trade-note { margin:6px 0 0; color:var(--muted); font-size:11px; }.trade-controls { display:flex; align-items:center; gap:8px; }.quantity { display:flex; align-items:center; border:1px solid var(--line); border-radius:7px; overflow:hidden; }.quantity button { width:29px; height:34px; color:var(--cyan); border:0; background:#10142c; font-size:17px; }.quantity strong { width:55px; text-align:center; font:10px "DM Mono"; }.buy,.sell { min-width:118px; padding:9px 11px; border-radius:7px; color:white; }.buy { border:1px solid #36ba87; background:#197950; }.sell { border:1px solid #a44159; background:#5d263d; }.buy span,.sell span { display:block; margin-top:2px; font:10px "DM Mono"; opacity:.75; }
.holdings { display:grid; gap:7px; }.empty { padding:48px 13px; color:var(--muted); text-align:center; font-size:12px; line-height:1.8; }.holding { display:flex; justify-content:space-between; padding:11px 8px; border-bottom:1px solid var(--line); }.holding b { display:block; font-size:12px; }.holding small { color:var(--muted); font-size:10px; }.holding strong { font:12px "DM Mono"; }.hint { position:sticky; top:100%; margin:28px 5px 0; padding:13px; color:#9da9d6; border:1px solid rgba(156,124,255,.22); border-radius:8px; background:rgba(116,83,215,.1); font-size:11px; line-height:1.75; }.hint b { color:#d6c8ff; }.toast { position:fixed; right:30px; bottom:26px; z-index:9; margin:0; padding:13px 17px; color:white; border:1px solid rgba(80,215,245,.4); border-radius:8px; background:#202750; box-shadow:0 15px 30px #0007; font-size:13px; opacity:0; transform:translateY(12px); transition:.24s; pointer-events:none; }.toast.show { opacity:1; transform:translateY(0); }
@media (max-width:1120px) { body { min-width:0; }.topbar { padding:0 18px; }.market-status { display:none; } main { padding:28px 15px; }.layout { grid-template-columns:260px 1fr; }.portfolio { grid-column:1/-1; min-height:initial; }.hero { padding:0 12px; }.orbit-scene { width:230px; transform:scale(.82); transform-origin:right; } }
@media (max-width:760px) { .layout { grid-template-columns:1fr; }.watchlist { min-height:initial; }.company-list { grid-template-columns:1fr 1fr; }.portfolio { grid-column:auto; }.dashboard { grid-template-columns:1fr 1fr; }.dashboard article:nth-child(2) { border-right:0; }.hero { display:block; }.orbit-scene { display:none; }.trade-panel { display:block; }.trade-controls { margin-top:18px; }.company-hero { align-items:flex-start; }.quote { margin-left:12px; }.news-card { grid-template-columns:1fr auto; }.news-badge { grid-column:1/-1; } }

/* Brand assets */
.mini-icon,.company-icon { overflow:hidden; background:#f7f8ff; }
.mini-icon img,.company-icon img { width:100%; height:100%; object-fit:contain; }

/* Mobile-first trading view */
@media (max-width:760px) {
  body { min-width:0; padding-bottom:86px; }
  .topbar { height:58px; padding:0 14px; }
  .brand { font-size:16px; }.brand-mark { width:23px; height:23px; margin-right:5px; }.next-day { padding:9px 11px; font-size:12px; }
  main { padding:21px 12px 0; }.hero { min-height:0; padding:0 5px 20px; } h1 { margin-bottom:8px; font-size:27px; line-height:1.32; letter-spacing:-1px; }.lead { font-size:12px; line-height:1.65; }
  .dashboard { margin:0 0 12px; border-radius:10px; }.dashboard article { min-height:82px; padding:12px; }.dashboard p { margin-bottom:3px; font-size:10px; }.dashboard strong { font-size:19px; }.dashboard small { display:block; margin:2px 0 0; font-size:9px; }
  .layout { display:flex; flex-direction:column; gap:12px; }.watchlist { order:0; min-height:0; padding:15px 0 13px; }.section-heading { padding:0 15px 11px; }.section-heading h2 { font-size:16px; }
  .company-list { display:flex; gap:7px; overflow-x:auto; padding:0 12px 4px; scroll-snap-type:x mandatory; scrollbar-width:none; }.company-list::-webkit-scrollbar { display:none; }
  .company-item { flex:0 0 180px; min-height:62px; grid-template-columns:36px 1fr auto; padding:9px; scroll-snap-align:start; border-color:var(--line); background:rgba(9,12,31,.4); }.company-item b { max-width:80px; font-size:11px; }.company-item small { font-size:9px; }.mini-icon { width:34px; height:34px; }.mini-quote { font-size:10px; }
  .detail { order:1; gap:12px; }.company-hero { min-height:104px; padding:16px; border-radius:10px; }.company-title { gap:10px; min-width:0; }.company-icon { width:46px; height:46px; }.company-title h2 { overflow:hidden; margin-bottom:3px; font-size:17px; text-overflow:ellipsis; white-space:nowrap; }.company-title>div>p:last-child { display:-webkit-box; overflow:hidden; font-size:10px; -webkit-line-clamp:2; -webkit-box-orient:vertical; }.quote { flex:none; margin-left:8px; }.quote strong { font-size:23px; }.quote small { font-size:9px; }.quote span { margin-top:4px; font-size:10px; }
  .chart-panel { padding:17px 14px 9px; border-radius:10px; }.chart-top h2 { font-size:16px; } #price-chart { height:178px; }.news-card { grid-template-columns:1fr auto; gap:7px; padding:14px 15px; border-radius:10px; }.news-badge { grid-column:1/-1; font-size:9px; }.news-card p { font-size:12px; line-height:1.5; }.news-card small { font-size:10px; }.impact { font-size:10px; }
  .trade-panel { position:sticky; bottom:8px; z-index:2; display:block; padding:14px; border-color:rgba(80,215,245,.45); border-radius:12px; box-shadow:0 10px 35px #000b; }.trade-panel h2 { font-size:16px; }.trade-note { font-size:10px; }.trade-controls { display:grid; grid-template-columns:88px 1fr 1fr; gap:7px; margin-top:12px; }.quantity { height:44px; }.quantity button { width:28px; height:42px; }.quantity strong { width:32px; font-size:9px; }.buy,.sell { min-width:0; padding:7px 5px; font-size:13px; }
  .portfolio { order:2; min-height:0; padding:16px 12px; border-radius:10px; }.hint { margin-top:16px; }.toast { right:12px; bottom:92px; max-width:calc(100% - 24px); font-size:12px; }
}
