:root { color-scheme: light; --bg: #f3f6fb; --panel: #ffffff; --panel-soft: #f8fbff; --text: #17171a; --muted: #747b88; --line: rgba(0, 0, 0, 0.08); --blue: #2049ee; --blue-dark: #1232da; --blue-soft: #edf5ff; --green: #00ab59; --orange: #fa9014; --red: #e54747; --shadow: 0 16px 40px rgba(31, 53, 108, 0.08); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { min-width: 320px; margin: 0; color: var(--text); background: var(--bg); } a { color: inherit; text-decoration: none; } button, input, select, textarea { font: inherit; } button { cursor: pointer; } h1, h2, p, dl, dd { margin: 0; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } .soft-topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); } .soft-topbar-inner { display: grid; width: min(1200px, calc(100% - 32px)); min-height: 88px; grid-template-columns: auto 1fr minmax(220px, 320px) auto; gap: 22px; align-items: center; margin-inline: auto; } .login-topbar-inner { grid-template-columns: auto 1fr; } .soft-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; } .soft-brand img { width: 40px; height: 40px; } .soft-nav { display: flex; align-items: center; gap: 44px; } .soft-nav a { position: relative; display: inline-flex; min-height: 88px; align-items: center; color: #25272d; font-size: 18px; font-weight: 500; } .soft-nav a:hover, .soft-nav a:focus-visible, .soft-nav a.is-active { color: var(--blue); } .soft-nav a.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--blue); content: ""; } .soft-search { display: flex; height: 42px; align-items: center; gap: 10px; padding: 0 14px; background: #f5f7fb; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 21px; } .soft-search svg { width: 18px; height: 18px; fill: none; stroke: #8a92a1; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; } .soft-search input { width: 100%; min-width: 0; color: var(--text); background: transparent; border: 0; outline: 0; } .player-status { display: flex; min-height: 42px; align-items: center; justify-content: flex-end; gap: 10px; } .player-login-link, .player-logout { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 14px; color: var(--blue); background: rgba(32, 73, 238, 0.08); border: 1px solid rgba(32, 73, 238, 0.18); border-radius: 18px; font-weight: 700; } .player-logout { color: #697182; background: #f5f7fb; } .player-name { max-width: 130px; overflow: hidden; color: #25272d; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } main, .soft-footer { width: min(1200px, calc(100% - 32px)); margin-inline: auto; } .download-hero { position: relative; min-height: 330px; margin-top: 24px; overflow: hidden; background: linear-gradient(90deg, rgba(237, 245, 255, 0.98) 0%, rgba(237, 245, 255, 0.82) 54%, rgba(255, 255, 255, 0.3) 100%), linear-gradient(135deg, #dff0ff 0%, #f9fcff 52%, #fff6e8 100%); border-radius: 8px; } .download-hero::before { position: absolute; right: 42px; bottom: -22px; width: min(430px, 42vw); height: 270px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)), repeating-linear-gradient(90deg, transparent 0 36px, rgba(32, 73, 238, 0.08) 36px 37px); border: 1px solid rgba(32, 73, 238, 0.1); border-radius: 8px 8px 0 0; box-shadow: var(--shadow); content: ""; } .download-hero::after { position: absolute; right: 86px; bottom: 44px; width: min(344px, 34vw); height: 172px; background: linear-gradient(90deg, rgba(32, 73, 238, 0.12) 0 72px, transparent 72px 86px, rgba(0, 171, 89, 0.14) 86px 158px, transparent 158px 172px, rgba(250, 144, 20, 0.14) 172px 244px, transparent 244px 258px, rgba(229, 71, 71, 0.12) 258px 100%), linear-gradient(180deg, transparent 0 76px, rgba(0, 0, 0, 0.08) 76px 77px, transparent 77px 100%); border-radius: 8px; content: ""; } .hero-content { position: relative; z-index: 1; width: min(740px, 100%); padding: 52px 58px; } .hero-kicker { margin-bottom: 10px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; } .download-hero h1 { margin-bottom: 14px; color: #0f172a; font-size: clamp(36px, 4.6vw, 50px); line-height: 1.12; letter-spacing: 0; } .download-hero h1 span { display: inline-block; } .hero-copy { max-width: 590px; margin-bottom: 28px; color: #3b4656; font-size: 18px; line-height: 1.7; } .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; } .primary-action, .secondary-action, .text-button, .download-button, .edit-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; } .primary-action, .secondary-action { min-height: 46px; padding: 0 22px; font-weight: 700; } .primary-action { color: #fff; background: var(--blue); } .primary-action:hover, .primary-action:focus-visible { background: var(--blue-dark); } .secondary-action { color: var(--blue); background: #fff; border: 1px solid rgba(32, 73, 238, 0.18); } .primary-action svg, .secondary-action svg, .text-button svg, .download-button svg, .edit-button svg, .danger-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; } .hero-stats { display: flex; flex-wrap: wrap; gap: 18px; } .hero-stats div { min-width: 110px; padding: 12px 14px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 8px; } .hero-stats dt { color: #111827; font-size: 24px; font-weight: 800; } .hero-stats dd { margin-top: 2px; color: var(--muted); font-size: 13px; } .category-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding: 18px 22px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); } .category-button { min-height: 36px; padding: 0 18px; color: #25272d; background: transparent; border: 1px solid transparent; border-radius: 18px; } .category-button:hover, .category-button:focus-visible, .category-button.is-active { color: var(--blue); background: rgba(32, 73, 238, 0.08); border-color: rgba(32, 73, 238, 0.18); } .software-section, .all-section { margin-top: 20px; padding: 30px; background: #fff; border-radius: 8px; } .section-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; } .section-title-row h2, .topic-heading h2 { color: #111827; font-size: 22px; line-height: 1.2; letter-spacing: 0; } .section-title-row p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; } .text-button { min-height: 34px; flex: 0 0 auto; padding: 0 12px; color: var(--blue); background: #f4f7ff; } .software-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .software-card { position: relative; display: grid; min-height: 112px; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; } .software-card:hover, .software-row:hover { background: #eaf4ff; } .app-icon { display: grid; width: 60px; height: 60px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, #5db2ff, #2049ee); border-radius: 8px; font-size: 24px; font-weight: 800; } .app-icon img { width: 100%; height: 100%; object-fit: cover; } .app-name-line { display: flex; min-width: 0; align-items: center; gap: 6px; margin-bottom: 6px; } .app-name { overflow: hidden; color: #181818; font-size: 16px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .version-pill, .category-pill { display: inline-flex; min-height: 18px; align-items: center; padding: 0 5px; color: var(--green); background: rgba(0, 171, 89, 0.1); border-radius: 2px; font-size: 11px; white-space: nowrap; } .category-pill { color: var(--blue); background: rgba(32, 73, 238, 0.08); } .app-desc { overflow: hidden; color: #777f8f; font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; } .app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: #9299a6; font-size: 12px; } .download-button { min-height: 28px; margin-top: 12px; padding: 0 12px; color: #fff; background: var(--blue); font-size: 13px; } .download-button:hover, .download-button:focus-visible { background: var(--blue-dark); } .download-button.is-disabled { color: #8d95a3; background: #eef1f6; pointer-events: none; } .download-button.login-required { color: var(--blue); background: rgba(32, 73, 238, 0.08); } .download-button.login-required:hover, .download-button.login-required:focus-visible { color: #fff; background: var(--blue); } .login-main { display: grid; min-height: calc(100svh - 88px); place-items: center; padding: 44px 0; } .login-panel { display: grid; width: min(840px, 100%); grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 34px; align-items: center; padding: 42px; background: linear-gradient(135deg, rgba(237, 245, 255, 0.92), rgba(255, 255, 255, 0.88)), #fff; border: 1px solid rgba(32, 73, 238, 0.12); border-radius: 8px; box-shadow: var(--shadow); } .login-panel h1 { margin-bottom: 14px; color: #0f172a; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: 0; } .login-copy { color: #3b4656; font-size: 17px; line-height: 1.7; } .login-form { display: grid; gap: 16px; padding: 22px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 8px; } .topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; } .topic-panel { min-height: 418px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; } .topic-orange { background: linear-gradient(205deg, rgba(250, 144, 20, 0.1) 0%, rgba(255, 255, 255, 0.5) 44%), #fff; border-color: rgba(250, 144, 20, 0.25); } .topic-blue { background: linear-gradient(205deg, rgba(32, 73, 238, 0.11) 0%, rgba(255, 255, 255, 0.5) 44%), #fff; border-color: rgba(32, 73, 238, 0.24); } .topic-green { background: linear-gradient(205deg, rgba(0, 171, 89, 0.12) 0%, rgba(255, 255, 255, 0.5) 44%), #fff; border-color: rgba(0, 171, 89, 0.24); } .topic-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .topic-heading span { display: inline-flex; min-height: 22px; align-items: center; padding: 0 7px; border-radius: 2px; font-size: 12px; } .topic-orange .topic-heading span { color: var(--orange); background: rgba(250, 144, 20, 0.1); } .topic-blue .topic-heading span { color: var(--blue); background: rgba(32, 73, 238, 0.1); } .topic-green .topic-heading span { color: var(--green); background: rgba(0, 171, 89, 0.1); } .topic-list { display: grid; gap: 8px; } .topic-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 76px; padding: 8px 10px; border-radius: 8px; } .topic-item:hover { background: rgba(255, 255, 255, 0.74); } .topic-item .app-icon { width: 52px; height: 52px; font-size: 20px; } .topic-item .download-button { margin-top: 0; } .all-list { display: grid; gap: 10px; } .software-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 92px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; } .row-actions { display: flex; align-items: center; justify-content: flex-end; } .empty-state { padding: 28px; color: var(--muted); text-align: center; background: var(--panel-soft); border-radius: 8px; } .soft-footer { display: flex; justify-content: center; gap: 18px; padding: 28px 0 34px; color: #7b8290; font-size: 14px; } .admin-shell { width: min(1200px, calc(100% - 32px)); margin: 24px auto 40px; } .admin-layout { display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); gap: 18px; } .admin-panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); } .admin-panel h1, .admin-panel h2 { margin: 0 0 18px; font-size: 22px; line-height: 1.25; } .admin-note, .form-hint, .status-message { color: var(--muted); font-size: 13px; line-height: 1.6; } .token-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 16px; } .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .field { display: grid; gap: 7px; } .field.full { grid-column: 1 / -1; } .field label, .checkbox-field { color: #2b303b; font-size: 13px; font-weight: 700; } .field input, .field select, .field textarea, .token-row input { width: 100%; min-height: 40px; padding: 8px 10px; color: var(--text); background: #fbfcff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 6px; outline: 0; } .field textarea { min-height: 92px; resize: vertical; } .field input:focus, .field select:focus, .field textarea:focus, .token-row input:focus { border-color: rgba(32, 73, 238, 0.45); box-shadow: 0 0 0 3px rgba(32, 73, 238, 0.08); } .checkbox-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0; } .checkbox-field { display: inline-flex; align-items: center; gap: 8px; } .form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .edit-button, .danger-button { min-height: 34px; padding: 0 12px; color: var(--blue); background: #f4f7ff; } .danger-button { color: var(--red); background: rgba(229, 71, 71, 0.08); } .admin-list { display: grid; gap: 10px; } .admin-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; } .admin-item .app-icon { width: 52px; height: 52px; font-size: 20px; } .admin-item-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .status-message { min-height: 21px; margin-top: 12px; } .status-message.is-error { color: var(--red); } .status-message.is-ok { color: var(--green); } @media (max-width: 980px) { .soft-topbar-inner { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; } .soft-nav, .soft-topbar-inner { justify-items: start; } .soft-nav { flex-wrap: wrap; gap: 18px; } .player-status { justify-content: flex-start; } .soft-nav a { min-height: 34px; } .soft-nav a.is-active::after { display: none; } .software-grid, .topic-grid, .admin-layout, .login-panel { grid-template-columns: 1fr; } .download-hero::before, .download-hero::after { opacity: 0.28; } } @media (max-width: 640px) { main, .soft-footer, .admin-shell, .soft-topbar-inner { width: min(100% - 24px, 1200px); } .hero-content, .software-section, .all-section, .admin-panel, .login-panel { padding: 22px; } .download-hero h1 { font-size: clamp(32px, 10.5vw, 42px); } .hero-copy { font-size: 16px; } .category-strip { padding: 14px; gap: 8px; } .category-button { min-height: 34px; padding: 0 14px; } .software-row, .admin-item { grid-template-columns: 52px minmax(0, 1fr); } .row-actions, .admin-item-actions { grid-column: 1 / -1; justify-content: stretch; } .row-actions .download-button, .admin-item-actions button { width: 100%; } .field-grid, .token-row { grid-template-columns: 1fr; } .soft-footer { flex-direction: column; align-items: center; gap: 6px; text-align: center; } }