:root {
  --ink: #111827;
  --muted: #718096;
  --subtle: #99a4b4;
  --line: #e4eaf1;
  --line-strong: #d7e0eb;
  --surface: rgba(255, 255, 255, 0.9);
  --blue: #3ca4eb;
  --blue-deep: #247bb5;
  --cyan: #83d8dc;
  --coral: #e58e74;
  --shadow: 0 16px 38px rgba(67, 104, 135, 0.08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #f7fbff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: linear-gradient(180deg, #f5fbff 0%, #fff 32%, #fbfdff 100%); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; overflow: hidden; }
.site-header { height: 76px; display: flex; align-items: center; gap: 38px; padding: 0 clamp(24px, 5vw, 78px); border-bottom: 1px solid rgba(225, 234, 241, .7); background: rgba(255,255,255,.64); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 196px; }
.brand strong { display: block; font-size: 18px; letter-spacing: .01em; }
.brand small { display: block; color: #9ba7b3; font-size: 8px; letter-spacing: .18em; margin-top: 3px; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(12deg); }
.brand-mark span { border-radius: 10px 3px; background: linear-gradient(135deg, #70d9e0, #2798c9); }
.brand-mark span:nth-child(2) { background: linear-gradient(135deg, #ecb78d, #df755e); }
.brand-mark span:nth-child(3) { background: linear-gradient(135deg, #b7e8e3, #55b6d3); }
.brand-mark span:nth-child(4) { background: linear-gradient(135deg, #f3c79e, #e5846b); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); font-size: 14px; color: #6f7887; flex: 1; }
.main-nav a { position: relative; padding: 28px 0; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; height: 3px; width: 22px; border-radius: 3px; background: var(--blue); position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button, .mobile-menu { border: 0; background: transparent; color: #677382; width: 34px; height: 34px; border-radius: 9px; position: relative; font-size: 18px; }
.icon-button:hover, .mobile-menu:hover { background: #edf6fc; color: var(--blue-deep); }
.notification b { position: absolute; top: -1px; right: -2px; width: 15px; height: 15px; font-size: 9px; line-height: 15px; color: #fff; background: #ef9b83; border-radius: 50%; }
.login-button, .primary-button { border: 0; background: linear-gradient(135deg, #75c9ee, #329bd1); color: #fff; font-weight: 700; border-radius: 10px; padding: 10px 19px; box-shadow: 0 8px 18px rgba(57, 160, 211, .22); }
.login-button:hover, .primary-button:hover { filter: brightness(.97); transform: translateY(-1px); }
.mobile-menu { display: none; margin-left: auto; }

.hero { text-align: center; max-width: 860px; margin: 0 auto; padding: 74px 24px 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #5ea3bd; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 19px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7ed3d0; box-shadow: 0 0 0 5px rgba(126,211,208,.15); }
h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.05; letter-spacing: -.055em; margin: 0; }
.hero-count { color: #748191; font-size: 17px; margin: 20px 0 7px; }
.hero-count strong { color: #3c9bc8; font-size: 20px; }
.hero-subtitle { margin: 0 auto 31px; color: #a2acb7; font-size: 14px; }
.search-wrap { display: flex; align-items: center; gap: 12px; max-width: 690px; height: 52px; padding: 0 15px; margin: 0 auto; border: 1px solid #e3ebf3; border-radius: 15px; background: rgba(255,255,255,.85); box-shadow: 0 12px 28px rgba(69, 128, 161, .06); text-align: left; transition: border-color .2s, box-shadow .2s; }
.search-wrap:focus-within { border-color: #a2d6ee; box-shadow: 0 0 0 4px rgba(93, 190, 228, .12); }
.search-icon { color: #96a3b0; font-size: 26px; line-height: 1; transform: rotate(-18deg); }
.search-wrap input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; min-width: 0; }
.search-wrap input::placeholder { color: #b2bdc8; }
kbd { color: #8c99a6; font-size: 11px; border: 1px solid #dfe7ee; background: #f9fbfd; padding: 4px 7px; border-radius: 6px; }

.catalog-panel { max-width: 1260px; margin: 0 auto; padding: 0 24px 50px; }
.toolbar-top { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 20px 20px 0 0; background: rgba(255,255,255,.74); }
.result-count { display: flex; align-items: center; gap: 8px; color: #8e9aaa; font-size: 13px; }
.result-count strong { color: #3e9ed0; font-size: 18px; margin-left: 3px; }
.filter-button, .sort-button, .segmented, .view-switch { display: inline-flex; align-items: center; border: 1px solid #e1e8ef; background: #fff; border-radius: 10px; height: 34px; }
.filter-button, .sort-button { gap: 7px; color: #515d6b; padding: 0 11px; font-size: 13px; }
.filter-button span, .sort-button span:first-child { color: #7a9bb1; font-size: 16px; }
.toolbar-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.segmented { overflow: hidden; padding: 3px; gap: 2px; }
.segmented button, .view-switch button { height: 26px; border: 0; background: transparent; color: #768393; padding: 0 12px; border-radius: 8px; font-size: 12px; }
.segmented button.selected, .view-switch button.selected { background: #4eafe2; color: #fff; box-shadow: 0 3px 8px rgba(50, 165, 219, .2); }
.unit-switch button.selected { background: #63bee5; }
.sort-button { padding: 0 11px; }
.view-switch { padding: 3px; }
.view-switch button { width: 29px; padding: 0; font-size: 18px; line-height: 24px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 18px; border: 1px solid var(--line); border-top: 0; background: rgba(255,255,255,.74); }
.filter-row[hidden] { display: none; }
.chip { border: 1px solid #dce7ef; background: #fff; color: #718092; padding: 7px 13px; border-radius: 999px; font-size: 12px; }
.chip.active, .chip:hover { border-color: #82cce9; color: #247dad; background: #eefaff; }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 18px; }
.model-grid.list-view { grid-template-columns: 1fr; }
.model-card { position: relative; min-height: 214px; display: flex; flex-direction: column; padding: 21px 22px 18px; border: 1px solid #e3e9ef; border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 5px 0 rgba(224, 235, 242, .2); transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
.model-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #e99478, #f1c89e); opacity: .8; }
.model-card[data-provider="DeepSeek"]::before { background: linear-gradient(90deg, #6a8ded, #9eaff0); }
.model-card[data-provider="Gemini"]::before { background: linear-gradient(90deg, #7bb6f2, #9de2d5); }
.model-card:hover { transform: translateY(-3px); border-color: #b8dff0; box-shadow: var(--shadow); }
.model-head { display: flex; align-items: flex-start; gap: 12px; }
.provider-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; font-size: 20px; color: #e28a6f; }
.provider-icon.deepseek { color: #6d8ee9; }
.provider-icon.gemini { color: #5c9fe2; }
.model-title-wrap { flex: 1; min-width: 0; }
.model-title { margin: 1px 0 7px; font-size: 15px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.price-line { display: flex; flex-wrap: wrap; gap: 10px; color: #536071; font-size: 12px; }
.price-line strong { color: #171f2b; font-size: 13px; }
.model-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.detail-button, .copy-button { height: 31px; border: 1px solid #e1e8ee; background: #fff; color: #6e7b8b; border-radius: 9px; padding: 0 10px; font-size: 12px; }
.copy-button { width: 31px; padding: 0; font-size: 17px; }
.detail-button:hover, .copy-button:hover { border-color: #8bcbe8; color: var(--blue-deep); background: #f6fcff; }
.model-description { color: #768393; font-size: 12px; line-height: 1.6; margin: 18px 0 20px; min-height: 38px; }
.model-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; }
.model-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #8895a4; font-size: 11px; }
.model-tags span { padding: 3px 7px; border-radius: 5px; background: #f4f7f9; }
.model-tags .billing { color: #249bc8; background: #effaff; font-weight: 700; }
.model-health { display: flex; gap: 14px; color: #a0aab6; font-size: 10px; text-align: right; }
.model-health b { display: block; color: #657383; font-size: 11px; margin-top: 3px; font-weight: 600; }
.status-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; justify-content: flex-end; }
.status-bars i { display: block; width: 3px; border-radius: 3px; background: #56c89f; }
.status-bars i:nth-child(1) { height: 6px; }.status-bars i:nth-child(2) { height: 10px; }.status-bars i:nth-child(3) { height: 14px; }
.status-bars.warn i { background: #e98d79; }
.list-view .model-card { min-height: 132px; flex-direction: row; align-items: center; gap: 18px; }
.list-view .model-head { flex: 1; }
.list-view .model-description { flex: 1.25; min-height: auto; margin: 0; }
.list-view .model-footer { flex: 1; margin: 0; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed #d9e5ee; border-radius: 16px; color: #9aa7b4; margin-top: 18px; background: rgba(255,255,255,.6); }
.empty-icon { font-size: 34px; color: #7bbfdc; }
.empty-state h3 { color: #586675; font-size: 17px; margin: 14px 0 6px; }.empty-state p { font-size: 13px; margin: 0 0 19px; }.empty-state button { border: 1px solid #b9dceb; background: #f0fbff; color: #328aae; border-radius: 9px; padding: 8px 14px; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 25px 3px 0; color: #99a5b1; font-size: 12px; }.pagination strong { color: #6d7c8b; }.pagination button { height: 34px; padding: 0 12px; border: 1px solid var(--line); background: #fff; color: #657487; border-radius: 8px; margin-left: 6px; font-size: 12px; }.pagination button:disabled { color: #c2cbd4; cursor: not-allowed; background: #fafcfd; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1260px; margin: 0 auto; padding: 25px 24px 34px; color: #9aa6b3; border-top: 1px solid #edf1f5; font-size: 12px; }.site-footer a { color: #4da6cd; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(23, 39, 51, .3); backdrop-filter: blur(5px); }.modal-backdrop[hidden] { display: none; }.detail-modal { position: relative; width: min(520px, 100%); padding: 31px; border: 1px solid #e2eaf0; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(29, 65, 85, .2); }.modal-close { position: absolute; right: 17px; top: 15px; border: 0; background: transparent; color: #9ba8b4; font-size: 25px; }.modal-provider { color: #58a8c8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.detail-modal h2 { margin: 8px 0 11px; font-size: 25px; letter-spacing: -.035em; }.detail-modal p { color: #718091; line-height: 1.7; font-size: 13px; margin: 0 0 18px; }.modal-price { display: flex; flex-wrap: wrap; gap: 16px; padding: 15px; border-radius: 12px; background: #f6fbfd; color: #627181; font-size: 12px; }.modal-price strong { color: #17212d; font-size: 15px; }.modal-meta { color: #8a97a4; font-size: 12px; padding: 16px 0 22px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; }.secondary-button { border: 1px solid #dbe7ee; background: #fff; color: #6a7988; border-radius: 9px; padding: 10px 13px; font-size: 12px; }.secondary-button:hover { border-color: #8bcbe8; color: #297fad; }.toast { position: fixed; z-index: 30; bottom: 26px; left: 50%; transform: translate(-50%, 14px); padding: 10px 16px; border-radius: 10px; color: #fff; background: #263746; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) { .site-header { gap: 16px; padding: 0 20px; }.brand { min-width: auto; }.main-nav { gap: 16px; }.main-nav a { font-size: 13px; }.header-actions .icon-button { display: none; }.toolbar-top { align-items: flex-start; flex-direction: column; }.toolbar-actions { width: 100%; justify-content: flex-start; } }
@media (max-width: 680px) { .site-header { height: 66px; }.main-nav, .header-actions { display: none; }.mobile-menu { display: block; }.hero { padding-top: 52px; }.hero-subtitle { line-height: 1.6; }.catalog-panel { padding: 0 14px 40px; }.toolbar-top { padding: 16px 13px; border-radius: 16px 16px 0 0; }.toolbar-actions { gap: 7px; }.segmented button { padding: 0 9px; }.sort-button { padding: 0 8px; }.model-grid, .model-grid.list-view { grid-template-columns: 1fr; gap: 12px; }.model-card, .list-view .model-card { min-height: 0; padding: 18px 16px; flex-direction: column; align-items: stretch; gap: 15px; }.list-view .model-head, .list-view .model-description, .list-view .model-footer { flex: initial; }.list-view .model-description { margin: 0; }.model-description { margin: 14px 0 15px; }.site-footer { flex-direction: column; padding: 23px 16px 28px; }.pagination { align-items: flex-start; flex-direction: column; gap: 12px; } }

.register-link{color:#3d8ead;font-size:13px;font-weight:700;padding:8px 11px;border:1px solid #d8ebf3;border-radius:9px;background:rgba(255,255,255,.75)}@media(max-width:680px){.register-link{margin-left:auto}}
.home-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(460px,.98fr);align-items:center;gap:clamp(45px,6vw,92px);max-width:1240px;min-height:650px;margin:0 auto;padding:68px 28px 82px}.home-hero:before{content:"";position:absolute;z-index:-1;inset:-20px -18vw 0;background:radial-gradient(ellipse at 15% 20%,rgba(178,222,255,.38),transparent 44%),radial-gradient(ellipse at 62% 8%,rgba(203,247,241,.42),transparent 38%),linear-gradient(180deg,rgba(246,252,255,.82),rgba(255,255,255,.4) 78%,transparent)}.home-copy{max-width:600px}.home-copy .eyebrow{color:#398fd1;background:#edf6ff;border:1px solid #d9eaff;border-radius:99px;padding:8px 13px;margin-bottom:22px;font-size:11px;letter-spacing:0;text-transform:none}.home-copy .eyebrow-dot{background:#3f9eff;box-shadow:0 0 0 5px rgba(63,158,255,.11)}.home-copy h1{font-size:clamp(44px,5vw,64px);line-height:1.08;letter-spacing:-.055em;font-weight:750}.home-copy h1 span{background:linear-gradient(90deg,#4ba9ff,#b24eff);-webkit-background-clip:text;background-clip:text;color:transparent}.home-description{max-width:570px;margin:23px 0 31px;color:#83909e;font-size:15px;line-height:1.8}.home-actions{display:flex;align-items:center;gap:12px}.home-primary,.home-secondary{height:46px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:0 19px;border-radius:12px;font-size:13px;font-weight:700}.home-primary{color:#fff;background:#369fe3;box-shadow:0 10px 23px rgba(47,155,222,.2)}.home-primary:hover{background:#258dce;transform:translateY(-1px)}.home-primary span{font-size:18px}.home-secondary{color:#435363;border:1px solid #e3eaf1;background:rgba(255,255,255,.8)}.supported-apps{display:grid;gap:8px;margin-top:43px}.supported-apps>strong{color:#a4aebb;font-size:10px;letter-spacing:.08em}.supported-apps>span{color:#96a0ad;font-size:12px}.app-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}.app-chips span{padding:11px 15px;border:1px solid #eaf0f5;background:rgba(255,255,255,.74);border-radius:99px;color:#596777;font-size:12px;box-shadow:0 5px 18px rgba(75,112,143,.035)}.code-window{overflow:hidden;border:1px solid rgba(224,232,240,.9);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 28px 65px rgba(57,89,118,.11)}.code-tabs{height:48px;display:flex;align-items:center;gap:23px;padding:0 22px;border-bottom:1px solid #eff2f5;color:#8d98a5;font-size:12px}.code-tabs>span{height:100%;display:flex;align-items:center}.code-tabs>span.selected{color:#31a477;border-bottom:2px solid #34c18b;font-weight:700}.code-tabs i{width:7px;height:7px;border-radius:50%;background:#22be84;margin-left:auto;color:transparent}.code-tabs small{margin-left:-14px;color:#9aa5af;font-size:10px}.code-endpoint{display:flex;align-items:center;gap:12px;padding:13px 22px;border-bottom:1px solid #f0f2f4;color:#617081;font-size:12px}.code-endpoint b{padding:4px 8px;border-radius:6px;background:#e8fbf2;color:#2ca775;font-size:9px}.code-endpoint code{color:#455362}.code-block,.response-block{padding:21px 23px 20px}.code-block{min-height:220px}.code-block>small,.response-block>small{color:#aab3bd;font-size:9px;letter-spacing:.2em}.code-block pre,.response-block pre{overflow:auto;margin:13px 0 0;color:#5c6977;font:11px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.code-block pre code{color:#566778}.response-block{min-height:140px;border-top:1px solid #f0f2f4;background:#fdfefe}.response-block pre{color:#3274ae}.code-foot{display:flex;justify-content:space-between;padding:13px 22px;border-top:1px solid #f0f2f4;color:#a7afb8;font-size:9px;letter-spacing:.04em}.home-highlights{max-width:1240px;margin:0 auto 48px;padding:37px 30px 45px;border-top:1px solid rgba(225,232,239,.85);display:grid;grid-template-columns:repeat(4,1fr);text-align:center}.home-highlights div{display:grid;gap:6px}.home-highlights strong{font-size:28px;letter-spacing:-.04em;color:#101820}.home-highlights span{font-size:12px;color:#8290a0}.catalog-section{max-width:1320px;margin:10px auto 0;padding:58px 24px 42px;border-top:1px solid #edf1f5}.catalog-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;max-width:1260px;margin:0 auto 23px;padding:0 24px}.catalog-kicker{color:#41a5d3;font-size:10px;font-weight:800;letter-spacing:.18em}.catalog-heading h2{margin:8px 0 7px;font-size:33px;letter-spacing:-.045em}.catalog-heading p{margin:0;color:#919daa;font-size:13px}.catalog-heading>a{color:#3999cc;font-size:12px;font-weight:700;white-space:nowrap}.catalog-section .hero{display:none}.catalog-section .catalog-panel{padding-top:0}.site-header{max-width:none}.site-header .main-nav a.active::after{bottom:14px}@media(max-width:980px){.home-hero{grid-template-columns:1fr;max-width:760px;gap:36px;padding-top:55px;min-height:auto}.home-copy{max-width:680px}.code-window{max-width:720px;width:100%}.home-highlights{margin-top:10px}}@media(max-width:680px){.home-hero{padding:43px 18px 55px;gap:30px}.home-copy h1{font-size:clamp(38px,11vw,52px)}.home-description{font-size:13px;margin:19px 0 24px}.supported-apps{margin-top:32px}.app-chips{gap:7px}.app-chips span{font-size:10px;padding:9px 11px}.code-window{border-radius:20px}.code-tabs{gap:13px;padding:0 14px}.code-block,.response-block{padding:16px}.code-foot{padding:11px 14px;gap:12px;flex-wrap:wrap}.home-highlights{grid-template-columns:repeat(2,1fr);row-gap:28px;padding:30px 10px 36px}.home-highlights strong{font-size:24px}.catalog-section{padding:42px 0 24px}.catalog-heading{align-items:flex-start;flex-direction:column;padding:0 18px}.catalog-heading h2{font-size:28px}.catalog-section .catalog-panel{padding-left:14px;padding-right:14px}}
.catalog-heading .model-total{display:block;margin-top:8px;color:#97a3ae;font-size:11px}.catalog-heading .model-total strong{color:#409dcc}.catalog-search-row{max-width:1260px;margin:0 auto 15px;padding:0 24px}.catalog-search-row .search-wrap{width:100%;max-width:none;height:44px;margin:0;border-radius:12px}.catalog-search-row .search-wrap input{font-size:12px}

.code-tabs button{height:100%;display:flex;align-items:center;padding:0 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8d98a5;font:inherit;cursor:pointer;transition:color .18s,border-color .18s}.code-tabs button:hover{color:#506274}.code-tabs button.selected{color:#31a477;border-bottom-color:#34c18b;font-weight:700}.code-tabs button[data-code-tab="responses"].selected{color:#e88c26;border-bottom-color:#f0a33c}.code-tabs button[data-code-tab="claude"].selected{color:#376cf4;border-bottom-color:#376cf4}.code-tabs button[data-code-tab="gemini"].selected{color:#7939ef;border-bottom-color:#7939ef}.code-tabs button:focus-visible{outline:2px solid #69b9e5;outline-offset:-3px;border-radius:5px}
