body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: #050816; color: #eaf2ff; }
.screen { min-height: 100vh; position: relative; overflow: hidden; }
.corner { position: absolute; width: 256px; height: 256px; opacity: 0.75; border-color: rgba(0, 229, 255, 0.35); }
.tl { top: 0; left: 0; border-left: 2px solid; border-top: 2px solid; }
.tr { top: 0; right: 0; border-right: 2px solid; border-top: 2px solid; }
.bl { bottom: 0; left: 0; border-left: 2px solid; border-bottom: 2px solid; }
.br { bottom: 0; right: 0; border-right: 2px solid; border-bottom: 2px solid; }
.grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.10; }
.container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 32px 16px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.onlineBadge { font-weight: 900; color: #eaf2ff; border: 1px solid rgba(0, 229, 255, 0.25); background: rgba(0, 229, 255, 0.08); padding: 8px 10px; border-radius: 999px; }
.linkBtn { border: 0; background: transparent; color: #cbd5e1; font-weight: 800; cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.linkBtn:hover { background: rgba(0, 229, 255, 0.10); color: #eaf2ff; }
.title { text-align: center; margin-bottom: 28px; }
.title h1 { margin: 0 0 10px 0; font-size: 44px; font-weight: 900; background: linear-gradient(90deg, #00e5ff, #2b7bff, #00e5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title p { margin: 0; color: #94a3b8; font-size: 18px; }
.marketStatus { display: inline-block; margin-top: 6px; padding: 8px 12px; border-radius: 12px; font-weight: 900; font-size: 13px; border: 1px solid rgba(0, 229, 255, 0.22); background: rgba(0, 229, 255, 0.06); color: rgba(234, 242, 255, 0.9); }
.marketStatus.closed { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); color: #fecaca; }
.tabs { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
.tab { border: 0; border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: rgba(15, 23, 42, 0.55); }
.tab.active { background: #0077ff; box-shadow: 0 10px 30px rgba(0, 119, 255, 0.35); }
.card { background: rgba(8, 12, 32, 0.62); border: 1px solid rgba(0, 229, 255, 0.22); border-radius: 16px; padding: 18px; margin-bottom: 16px; backdrop-filter: blur(10px); }
.cardHeader { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cardHeader h2 { margin: 0; font-size: 20px; font-weight: 800; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn { border: 0; border-radius: 12px; padding: 12px 14px; font-weight: 900; font-size: 15px; cursor: pointer; color: #eaf2ff; background: rgba(18, 28, 60, 0.65); }
.btn.active { background: #0077ff; box-shadow: 0 10px 30px rgba(0, 119, 255, 0.35); }
select { width: 100%; padding: 12px 14px; background: rgba(18, 28, 60, 0.65); border: 1px solid rgba(0, 229, 255, 0.18); border-radius: 12px; color: #eaf2ff; font-size: 15px; outline: none; }
input { width: 100%; padding: 12px 14px; background: rgba(18, 28, 60, 0.65); border: 1px solid rgba(0, 229, 255, 0.18); border-radius: 12px; color: #eaf2ff; font-size: 15px; outline: none; box-sizing: border-box; }
input::placeholder { color: rgba(234, 242, 255, 0.6); }
.btn:focus-visible, .primary:focus-visible, .secondary:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid rgba(0, 229, 255, 0.55); outline-offset: 2px; }
.signalBox { min-height: 300px; }
.signalEmpty { height: 160px; display: flex; align-items: center; justify-content: center; color: #94a3b8; text-align: center; }
.signalCard { padding: 18px; border-radius: 12px; border: 2px solid; }
.signalCard.green { background: rgba(20, 83, 45, 0.3); border-color: #22c55e; }
.signalCard.red { background: rgba(127, 29, 29, 0.3); border-color: #ef4444; }
.signalArrow { font-size: 42px; margin-bottom: 6px; }
.signalDir { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.signalSub { font-size: 13px; color: #cbd5e1; }
.signalCard.green .signalArrow, .signalCard.green .signalDir { color: #84ff00; }
.signalCard.red .signalArrow, .signalCard.red .signalDir { color: #ff3b3b; }
.summary { background: rgba(30, 41, 59, 0.45); padding: 14px; border-radius: 12px; margin-top: 12px; }
.oppSummary { text-align: center; }
.oppLine { font-weight: 900; font-size: 18px; line-height: 1.25; padding: 4px 0; color: #eaf2ff; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.muted { color: #94a3b8; }
.primary { width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 0; background: #0077ff; color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 119, 255, 0.25); }
.primary:disabled { background: rgba(51, 65, 85, 0.9); cursor: not-allowed; }
.secondary { width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0, 229, 255, 0.25); background: rgba(8, 12, 32, 0.62); color: #eaf2ff; font-weight: 900; font-size: 16px; cursor: pointer; }
.error { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.35); color: #fecaca; display: none; white-space: pre-wrap; }
.hint { margin-top: 10px; color: #94a3b8; font-size: 13px; }
.priceLine { margin-top: 6px; font-size: 13px; color: #84ff00; }
.priceLine.priceUp { color: #84ff00; }
.priceLine.priceDown { color: #ff3b3b; }
.countdown { margin-top: 10px; color: #00e5ff; font-weight: 900; }
.actionsRow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actionsRow.pairMode { grid-template-columns: 1fr; }
.pairButtons { display: flex; flex-wrap: wrap; gap: 10px; max-height: 170px; overflow: auto; padding: 2px; }
.pairButtons .btn { padding: 10px 12px; font-size: 14px; border: 1px solid rgba(0, 229, 255, 0.18); }
.scanResults { margin-top: 12px; font-size: 13px; color: #cbd5e1; }
.scanItem { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(51, 65, 85, 0.7); background: rgba(30, 41, 59, 0.35); cursor: pointer; }
.scanItem + .scanItem { margin-top: 8px; }
.scanDirCall { color: #4ade80; font-weight: 900; }
.scanDirPut { color: #f87171; font-weight: 900; }
.scanRight { display: flex; align-items: center; gap: 10px; }
.scanTimer { font-weight: 900; color: #00e5ff; border: 1px solid rgba(0, 229, 255, 0.28); padding: 4px 8px; border-radius: 999px; }
.footerSig { margin-top: 18px; text-align: right; color: rgba(234, 242, 255, 0.55); font-size: 12px; font-weight: 800; }
