:root {
  --bg: #F4F5FD; --card: #FFFFFF; --ink: #0E1330; --muted: #5B6386; --line: #E4E7F5; --soft: #F1F3FC;
  --brand: #5B4BFF; --brand-2: #4333E0; --cyan: #00B8F5; --pink: #FF4D8D; --brand-soft: #EEECFF;
  --grad: linear-gradient(135deg, #5B4BFF 0%, #8A5CFF 48%, #00B8F5 100%);
  --good: #00A372; --good-soft: #DEF7EE; --warn: #C27803; --warn-soft: #FEF3D7; --night: #0A0D2C;
  --radius: 16px; --wrap: 1280px;
  --shadow: 0 1px 2px rgba(14, 19, 48, .05), 0 8px 24px -12px rgba(14, 19, 48, .14);
  --lift: 0 2px 4px rgba(14, 19, 48, .06), 0 18px 40px -16px rgba(91, 75, 255, .35);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.gtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 227, 150, .55); } 100% { box-shadow: 0 0 0 9px rgba(0, 227, 150, 0); } }

/* top bar */
.top { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; height: 62px; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); position: relative; flex: none; box-shadow: 0 6px 14px -6px rgba(91, 75, 255, .8); }
.logo::before { content: ""; position: absolute; inset: 8px; border: 2.5px solid #fff; border-radius: 50%; }
.logo::after { content: ""; position: absolute; inset: 14.500px; background: #fff; border-radius: 50%; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background .15s, color .15s; }
.top nav a:hover { color: var(--ink); background: var(--soft); }
.top nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* buttons, fields, cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--grad); background-size: 140% 140%; color: #fff; border: 0; border-radius: 12px; padding: 10px 18px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(91, 75, 255, .7); transition: transform .15s, box-shadow .15s, background-position .3s; }
.btn:hover { transform: translateY(-1px); background-position: 100% 50%; box-shadow: 0 12px 24px -8px rgba(91, 75, 255, .8); }
.btn.line, .btn.grey { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line { color: var(--brand); }
.btn.line:hover, .btn.grey:hover { box-shadow: inset 0 0 0 1.5px var(--brand); transform: none; }
.btn.on { background: var(--good-soft); color: var(--good); box-shadow: inset 0 0 0 1.5px var(--good); }
.btn.small { padding: 7px 13px; font-size: 14px; border-radius: 10px; }
select, input[type="search"] { background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; max-width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; }
select:hover, input[type="search"]:hover { border-color: #C6CAE6; }
select:focus, input[type="search"]:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 75, 255, .14); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card { margin-top: 12px; }
.card h2 { font-size: 16px; font-weight: 700; }
.card .hint { color: var(--muted); font-size: 13px; margin-top: 3px; }

/* hero */
.hero { background: radial-gradient(900px 480px at 85% -10%, rgba(0, 184, 245, .38), transparent 60%), radial-gradient(760px 520px at 8% 0%, rgba(138, 92, 255, .55), transparent 62%), radial-gradient(600px 400px at 55% 115%, rgba(255, 77, 141, .28), transparent 60%), var(--night); color: #fff; padding: 64px 0 84px; overflow: hidden; margin-top: -62px; padding-top: 126px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero .live { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #D8DCFF; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); padding: 6px 14px; border-radius: 999px; }
.hero .live i { width: 8px; height: 8px; border-radius: 50%; background: #00E396; animation: pulse 1.6s infinite; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.05; margin-top: 20px; }
.hero h1 span { background: linear-gradient(100deg, #B9A8FF, #6FE3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { color: #C3C9EE; font-size: 18px; margin-top: 16px; max-width: 560px; }
.searchbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; background: #fff; border-radius: 18px; padding: 8px; gap: 4px; margin-top: 30px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.searchbar label { display: grid; padding: 6px 12px; border-radius: 12px; transition: background .15s; }
.searchbar label:hover { background: var(--soft); }
.searchbar label span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.searchbar select { border: 0; padding: 2px 0; font-size: 15.5px; font-weight: 600; background: transparent; width: 100%; cursor: pointer; color: var(--ink); box-shadow: none !important; }
.searchbar .btn { padding: 0 26px; font-size: 16px; border-radius: 13px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.stats div b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stats div span { color: #AEB5E0; font-size: 13.5px; }
.stack { display: grid; gap: 14px; }
.stack a { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 16px; color: #fff; text-decoration: none; animation: float 6s ease-in-out infinite; transition: background .2s; }
.stack a:nth-child(2) { margin-left: 34px; animation-delay: -2s; } .stack a:nth-child(3) { animation-delay: -4s; }
.stack a:hover { background: rgba(255, 255, 255, .18); }
.stack b { display: block; font-size: 15px; line-height: 1.3; }
.stack span.s { display: block; color: #C3C9EE; font-size: 13px; }
.stack .cap { color: #AEB5E0; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* landing sections */
.ticker { background: var(--card); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.ticker .track { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker a { display: inline-flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 999px; padding: 6px 16px 6px 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ticker a:hover { background: var(--brand-soft); }
.ticker a span { color: var(--muted); font-weight: 500; }
.ticker .ava { width: 30px; height: 30px; font-size: 12px; border-radius: 50%; }
.section { padding: 64px 0 0; }
.section > .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.section > h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 8px; max-width: 720px; }
.section > p { color: var(--muted); margin-top: 8px; font-size: 16.5px; max-width: 640px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.feat { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; margin: 0 !important; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--lift); }
.feat .art { height: 150px; border-radius: 16px; margin-bottom: 18px; display: grid; place-items: center; position: relative; overflow: hidden; }
.feat:nth-child(1) .art { background: linear-gradient(135deg, #EEECFF, #DDF6FF); } .feat:nth-child(2) .art { background: linear-gradient(135deg, #DEF7EE, #E6F4FF); } .feat:nth-child(3) .art { background: linear-gradient(135deg, #FFE9F1, #EEECFF); }
.feat h3 { font-size: 19px; font-weight: 800; }
.feat p { color: var(--muted); margin-top: 6px; }
.art .mring { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(closest-side, #fff 72%, transparent 74%), conic-gradient(var(--brand) 0 62%, var(--cyan) 62% 84%, #fff 84%); box-shadow: 0 10px 24px -10px rgba(91, 75, 255, .6); }
.art .mbars { display: grid; gap: 9px; width: 62%; } .art .mbars i { height: 14px; border-radius: 99px; background: #fff; position: relative; overflow: hidden; }
.art .mbars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--good), #53D7A8); border-radius: 99px; }
.art .mcols { display: flex; gap: 10px; align-items: flex-end; } .art .mcols i { width: 56px; border-radius: 12px; background: #fff; box-shadow: 0 8px 18px -10px rgba(14, 19, 48, .4); }
.art .mcols i:nth-child(2) { background: var(--grad); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.duo .card { margin: 0; padding: 24px; border-radius: 22px; }
.duo h3 { font-size: 18px; font-weight: 800; }
.hbar { display: grid; grid-template-columns: minmax(90px, 36%) 1fr 52px; gap: 10px; align-items: center; font-size: 14px; margin-top: 11px; }
.hbar span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hbar i { display: block; height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.hbar i b { display: block; height: 100%; border-radius: 99px; background: var(--grad); transform-origin: left; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.hbar.mine i b { background: linear-gradient(90deg, var(--good), #53D7A8); }
.hbar span:last-child { text-align: right; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.tiles a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; transition: transform .18s, box-shadow .18s; }
.tiles a:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.tiles a .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; background: linear-gradient(135deg, hsl(var(--h) 80% 60%), hsl(calc(var(--h) + 40) 85% 55%)); }
.tiles a span { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.tiles a span em { font-style: normal; color: var(--good); font-weight: 700; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; margin-top: 10px; max-width: 860px; }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; }
.band { margin-top: 64px; border-radius: 28px; background: var(--grad); color: #fff; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 30px 60px -30px rgba(91, 75, 255, .8); }
.band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; max-width: 560px; }
.band .btn { background: #fff; color: var(--brand); box-shadow: none; font-size: 16px; padding: 14px 24px; }

/* app */
.banner { margin-top: 20px; border-radius: 22px; padding: 22px 26px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  background: radial-gradient(500px 220px at 90% 0%, rgba(0, 184, 245, .55), transparent 65%), radial-gradient(420px 260px at 0% 100%, rgba(255, 77, 141, .35), transparent 65%), linear-gradient(135deg, #2A1FA8, #5B4BFF); box-shadow: 0 24px 48px -28px rgba(91, 75, 255, .9); animation: rise .5s both; }
.banner h1 { font-size: 24px; font-weight: 800; }
.banner p { color: #D5D9FF; font-size: 14.5px; margin-top: 2px; }
.banner .nums { display: flex; gap: 10px; flex-wrap: wrap; }
.banner .nums div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 9px 16px; min-width: 104px; }
.banner .nums b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.banner .nums span { font-size: 12.5px; color: #D5D9FF; }
.app { display: grid; grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1.12fr); gap: 16px; padding-top: 16px; align-items: start; }
.app > * { min-width: 0; }
.side { position: sticky; top: 78px; max-height: calc(100vh - 94px); overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.side h3 { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 16px 0 7px; }
.side select { width: 100%; padding: 7px 9px; font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 4px 11px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .14s; }
.pill:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.pill[aria-pressed="true"], .pill.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 12px -6px rgba(91, 75, 255, .7); }
.pill .x { font-size: 15px; line-height: 1; opacity: .85; }
.unlock-card { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.unlock { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 6px; }
.unlock button { width: 100%; display: flex; justify-content: space-between; gap: 8px; align-items: center; background: var(--soft); border: 0; border-radius: 10px; padding: 9px 11px; cursor: pointer; text-align: left; font-size: 14px; font-weight: 600; transition: background .15s, transform .15s; }
.unlock button:hover { background: var(--brand-soft); transform: translateX(2px); }
.unlock b { color: var(--good); white-space: nowrap; }
.side-toggle { display: none; }

.listhead { background: var(--card); border-radius: var(--radius) var(--radius) 0 0; padding: 16px 16px 0; box-shadow: var(--shadow); }
.tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tools input { flex: 1 1 100%; padding: 9px 12px; }
.tools select { flex: 1; padding: 7px 8px; font-size: 14px; }
.tabs { display: flex; gap: 2px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 12px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabs i { font-style: normal; font-weight: 600; margin-left: 6px; font-size: 12px; background: var(--soft); padding: 1px 7px; border-radius: 99px; }
#list { background: var(--card); box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; padding: 15px 16px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; animation: rise .35s both; }
.row:hover { background: #FAFAFF; }
.row[aria-current="true"] { background: linear-gradient(90deg, var(--brand-soft), #fff 70%); box-shadow: inset 4px 0 0 var(--brand); }
.ava { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 72% 56%), hsl(calc(var(--h) + 38) 78% 46%)); flex: none; }
.ava.big { width: 68px; height: 68px; font-size: 23px; border-radius: 20px; border: 4px solid #fff; box-shadow: 0 10px 22px -10px rgba(14, 19, 48, .5); }
.row h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.row:hover h3 { color: var(--brand); }
.row p { font-size: 14px; color: #3A4268; }
.row p.sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.row .right { display: grid; justify-items: end; align-content: space-between; gap: 6px; }
.ring { --p: 0; --c: #A6ADCB; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #fff 74%, transparent 76%), conic-gradient(var(--c) calc(var(--p) * 1%), #E8EAF6 0); }
.ring b { font-size: 14px; font-weight: 800; }
.ring.s3 { --c: var(--good); } .ring.s2 { --c: var(--brand); } .ring.s1 { --c: #F5A524; }
.ring.big { width: 104px; height: 104px; flex: none; } .ring.big b { font-size: 27px; }
.cmp { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; cursor: pointer; font-weight: 600; }
.cmp input { accent-color: var(--brand); }
.new { color: var(--good); font-weight: 700; }
.more { margin: 16px auto; display: flex; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); border-top: 1px solid var(--line); }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.detail { position: sticky; top: 78px; max-height: calc(100vh - 94px); overflow-y: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: thin; }
.cover { height: 84px; background: radial-gradient(260px 120px at 85% 0%, rgba(255, 255, 255, .35), transparent 70%), linear-gradient(120deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 50) 80% 50%)); border-radius: var(--radius) var(--radius) 0 0; }
.d-body { padding: 0 24px 24px; }
.d-top { margin-top: -34px; }
.detail h2 { font-size: 23px; font-weight: 800; margin-top: 12px; }
.detail .meta { color: var(--muted); margin-top: 3px; }
.d-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fit { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 20px; padding: 18px; background: linear-gradient(135deg, #F4F3FF, #EFFAFF); border-radius: 18px; }
.fit-label { display: block; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.bars { display: grid; gap: 7px; }
.bars div { display: grid; grid-template-columns: 74px 1fr 44px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.bars i { display: block; height: 7px; border-radius: 99px; background: #fff; overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--grad); border-radius: 99px; transform-origin: left; animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
.bars span:last-child { text-align: right; color: var(--ink); font-weight: 700; }
.detail h4 { font-size: 15px; font-weight: 800; margin: 22px 0 8px; }
.detail ul.why { padding-left: 18px; color: #3A4268; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--muted); margin: 0 5px 6px 0; }
.tag.good { background: var(--good-soft); color: var(--good); } .tag.warn { background: var(--warn-soft); color: var(--warn); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts div { background: var(--soft); border-radius: 12px; padding: 10px 13px; font-weight: 600; }
.facts small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.others { list-style: none; padding: 0; }
.others li { border-top: 1px solid var(--line); padding: 10px 0; }
.others button { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; cursor: pointer; text-align: left; }
.others span { display: block; color: var(--muted); font-size: 13px; }
.close { display: none; }

/* compare */
.cbar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 12px; z-index: 30; box-shadow: 0 16px 40px -10px rgba(10, 13, 44, .7); font-weight: 600; animation: rise .25s both; }
.cbar .btn.grey { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.modal { position: fixed; inset: 0; background: rgba(10, 13, 44, .6); backdrop-filter: blur(4px); z-index: 40; display: grid; place-items: center; padding: 16px; }
.modal-card { background: var(--card); border-radius: 22px; width: min(1020px, 100%); max-height: 92vh; overflow: auto; padding: 26px; animation: rise .25s both; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h2 { font-size: 22px; font-weight: 800; }
.ctable { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 560px; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 11px 12px; border-top: 1px solid var(--line); font-size: 14px; }
.ctable thead th { border-top: 0; font-size: 15.5px; font-weight: 800; }
.ctable tbody th { width: 120px; color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.ctable .best { background: var(--good-soft); border-radius: 10px; }

/* market pulse */
.pulse-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; padding: 34px 0 18px; }
.pulse-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.pulse-head p { color: var(--muted); font-size: 16px; }
.pulse-head .picks { display: flex; gap: 8px; flex-wrap: wrap; }
.pulse-head select { padding: 10px 12px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpis .card { margin: 0; padding: 20px; animation: rise .4s both; }
.kpis b { display: block; font-size: 36px; font-weight: 800; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis span { color: var(--muted); font-size: 14px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.grid2 .card { margin: 0; padding: 22px; }
.grid2 h2 { font-size: 18px; font-weight: 800; }

/* text pages */
.prose { padding: 36px 0 10px; max-width: 900px; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.prose h2 { font-size: 21px; font-weight: 800; margin-top: 32px; }
.prose h3 { font-size: 16.5px; margin-top: 18px; }
.prose p, .prose li { color: #3A4268; margin-top: 10px; }
.prose ul { padding-left: 20px; }
.prose ul.plain { list-style: none; padding: 0; margin-top: 14px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.plain li { padding: 13px 18px; margin: 0; border-top: 1px solid var(--line); transition: background .15s; }
.plain li:hover { background: #FAFAFF; }
.plain li:first-child { border-top: 0; }
.plain li a { font-weight: 700; text-decoration: none; color: var(--ink); }
.plain li a:hover { color: var(--brand); }
.plain li span { display: block; color: var(--muted); font-size: 14px; }
.cta { background: linear-gradient(135deg, #F4F3FF, #EFFAFF); border-radius: 20px; padding: 20px 22px; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta p { margin: 0; color: var(--ink); font-weight: 700; font-size: 16px; flex: 1 1 260px; }

footer { margin-top: 72px; padding: 30px 0 90px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); background: var(--card); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
footer a:hover { color: var(--brand); }
.toast { position: fixed; bottom: 78px; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 50; animation: rise .2s both; }

@media (max-width: 1100px) {
  .app { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .side { position: fixed; inset: 62px 0 0 0; max-height: none; background: var(--bg); z-index: 15; padding: 14px 16px 90px; display: none; }
  .side.open { display: block; }
  .side-toggle { display: inline-flex; }
  .hero .wrap { grid-template-columns: 1fr; } .stack { display: none; }
}
@media (max-width: 780px) {
  .wrap { padding: 0 14px; }
  .top nav a.opt { display: none; } .top .wrap { gap: 8px; } .top nav a { padding: 7px 10px; font-size: 14px; }
  .hero { padding-bottom: 48px; padding-top: 100px; }
  .searchbar { grid-template-columns: 1fr; } .searchbar .btn { padding: 14px; }
  .three, .duo, .grid2 { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 44px; } .band { padding: 28px; border-radius: 22px; }
  .banner { padding: 18px; border-radius: 18px; } .banner .nums div { min-width: 0; flex: 1; padding: 8px 10px; }
  .app { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .row { grid-template-columns: 44px minmax(0, 1fr) auto; } .row .ava { width: 44px; height: 44px; }
  .detail { display: none; position: fixed; inset: 0; max-height: none; border-radius: 0; z-index: 35; padding-bottom: 90px; }
  .detail.open { display: block; } .cover { border-radius: 0; }
  .close { display: inline-flex; position: absolute; top: 12px; left: 12px; }
  .row[aria-current="true"] { background: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* resume match */
.alt { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ghostlink { background: none; border: 0; padding: 0; color: #D8DCFF; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.ghostlink:hover { color: #fff; }
#resume-note { color: #7CF0C4; font-weight: 600; font-size: 14.5px; flex-basis: 100%; }
.modal-card.narrow { width: min(560px, 100%); }
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 36px 20px; border: 2px dashed #C6CAE6; border-radius: 18px; background: var(--soft); cursor: pointer; transition: all .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop.busy { opacity: .55; pointer-events: none; }
.drop b { font-size: 16px; } .drop span { color: var(--muted); font-size: 14px; }
.paste { margin-top: 14px; } .paste summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 14.5px; }
.paste textarea { width: 100%; margin: 10px 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; resize: vertical; }
.lock { margin-top: 14px; } .lock::before { content: "🔒 "; }
.err { margin-top: 12px; background: #FFECEF; color: #B4233C; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; }
.modal-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.need { background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 13.5px; border-radius: 10px; padding: 8px 11px; margin-bottom: 8px; }

/* brand mark */
svg.logo { width: 36px; height: 36px; background: none; border-radius: 0; box-shadow: none; filter: drop-shadow(0 6px 10px rgba(91, 75, 255, .45)); }
svg.logo::before, svg.logo::after { content: none; }
.brand span { font-weight: 800; letter-spacing: -.03em; }
.brand span b { font-weight: 500; color: var(--muted); }

/* listing hubs and popular searches */
.tiles.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.tiles.small a { display: block; padding: 12px 14px; font-size: 14.5px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.links b { flex: 0 0 100px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.links a { background: var(--card); box-shadow: var(--shadow); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; transition: all .15s; }
.links a:hover { color: var(--brand); transform: translateY(-1px); }
.links a:last-child { background: none; box-shadow: none; color: var(--brand); }
@media (max-width: 640px) { .links b { flex-basis: 100%; } }

/* home: newest jobs; jobs page: browsing before a profile exists */
.fresh { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 24px; }
.fresh a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.fresh a:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.fresh b { display: block; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fresh span { display: block; color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fresh em { font-style: normal; color: var(--good); font-weight: 700; font-size: 12.5px; }
.hero .btn.line { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
#banner.browse .nums { display: none; }
.nudge { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; margin: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #F4F3FF, #EFFAFF); border: 1.5px solid #DAD6FF; }
.nudge b { display: block; font-size: 15.5px; } .nudge span { color: var(--muted); font-size: 13.5px; }
.nudge select { font-weight: 700; border-color: var(--brand); color: var(--brand); padding: 9px 12px; }
.kind { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.tip { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; font-size: 13.5px; border-radius: 10px; padding: 8px 11px; margin-bottom: 8px; }
.fit.plain { display: block; } .fit.plain p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 780px) { .kind { max-width: 110px; } }

/* breadcrumbs; long lists render only when scrolled to */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; } .crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--ink); font-weight: 600; }
.plain li { content-visibility: auto; contain-intrinsic-size: auto 62px; }
