/* Douyin 控制台 — 黑底 + 抖音粉/青,区别微信翠绿后台 */ @import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap'); .dy-shell { --dy-bg: #050507; --dy-elev: #0c0d12; --dy-panel: rgba(18, 20, 28, 0.88); --dy-panel-solid: #12141c; --dy-line: rgba(255, 255, 255, 0.07); --dy-line-strong: rgba(255, 255, 255, 0.12); --dy-text: #f4f6fb; --dy-muted: #8b93a8; --dy-faint: #5c6478; --dy-pink: #ff4d6d; --dy-cyan: #2dd4bf; --dy-ok: #34d399; --dy-warn: #fbbf24; --dy-danger: #f87171; --dy-radius: 16px; --dy-radius-sm: 12px; --dy-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); --dy-font: 'Sora', system-ui, sans-serif; --dy-body: 'IBM Plex Sans', system-ui, sans-serif; --dy-mono: 'IBM Plex Mono', ui-monospace, monospace; --dy-side-w: 250px; min-height: 100vh; display: grid; grid-template-columns: var(--dy-side-w) 1fr; background: radial-gradient(820px 480px at -8% -8%, rgba(254, 44, 85, 0.1), transparent 55%), radial-gradient(640px 420px at 108% 0%, rgba(45, 212, 191, 0.07), transparent 50%), var(--dy-bg); color: var(--dy-text); font-family: var(--dy-body); isolation: isolate; } .dy-shell * { box-sizing: border-box; } /* —— 侧栏 —— */ .dy-side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--dy-line); padding: 22px 16px 18px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, rgba(8, 9, 14, 0.96), rgba(5, 5, 7, 0.98)); backdrop-filter: blur(16px); z-index: 20; } .dy-logo { display: flex; gap: 12px; align-items: center; padding: 4px 6px 8px; } .dy-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #fe2c55 0%, #ff6b81 70%, #2dd4bf 160%); color: #fff; font-family: var(--dy-font); font-weight: 800; font-size: 17px; box-shadow: 0 6px 18px rgba(254, 44, 85, 0.28); position: relative; overflow: hidden; } .dy-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-120%); animation: dy-shine 4.5s ease-in-out infinite; } @keyframes dy-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } } .dy-title { font-family: var(--dy-font); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; } .dy-sub { color: var(--dy-muted); font-size: 11px; margin-top: 3px; letter-spacing: 0.02em; } .dy-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(37, 244, 238, 0.22); background: rgba(37, 244, 238, 0.06); color: var(--dy-cyan); font-size: 11px; font-weight: 600; width: fit-content; margin: 0 6px; } .dy-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dy-cyan); box-shadow: 0 0 8px var(--dy-cyan); animation: dy-pulse 2s ease-in-out infinite; } @keyframes dy-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } } .dy-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 4px 0; } .dy-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; color: var(--dy-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: background 0.18s, color 0.18s, transform 0.18s; min-height: 44px; } .dy-nav a .dy-nav-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.04); font-size: 14px; flex-shrink: 0; } .dy-nav a:hover { background: rgba(255,255,255,0.04); color: var(--dy-text); } .dy-nav a.active { background: rgba(254, 44, 85, 0.12); color: var(--dy-text); box-shadow: inset 0 0 0 1px rgba(254, 44, 85, 0.22); } .dy-nav a.active .dy-nav-ico { background: rgba(254, 44, 85, 0.25); } .dy-side-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--dy-line); } .dy-hint { color: var(--dy-faint); font-size: 11px; line-height: 1.5; margin: 0 4px 4px; } .dy-ghost { border: 1px solid var(--dy-line); background: rgba(255,255,255,0.02); color: var(--dy-muted); border-radius: 12px; padding: 11px 12px; cursor: pointer; font: inherit; font-size: 13px; text-align: left; transition: border-color 0.15s, color 0.15s, background 0.15s; min-height: 44px; } .dy-ghost:hover { border-color: var(--dy-line-strong); color: var(--dy-text); background: rgba(255,255,255,0.04); } /* —— 主区 —— */ .dy-main { padding: 28px 36px 88px; max-width: 1120px; width: 100%; animation: dy-in 0.35s ease-out; } @keyframes dy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } .dy-head { margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; } .dy-head-copy { flex: 1; min-width: 200px; } .dy-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--dy-cyan); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; } .dy-head h1 { margin: 0 0 6px; font-family: var(--dy-font); font-size: clamp(24px, 3vw, 32px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; } .dy-head p { margin: 0; color: var(--dy-muted); font-size: 14px; line-height: 1.55; max-width: 52ch; } .dy-panel { background: var(--dy-panel); border: 1px solid var(--dy-line); border-radius: var(--dy-radius); padding: 20px; margin-bottom: 14px; backdrop-filter: blur(10px); box-shadow: var(--dy-shadow); } .dy-panel h2 { margin: 0 0 14px; font-family: var(--dy-font); font-size: 15px; font-weight: 650; letter-spacing: -0.01em; } .dy-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .dy-panel-head h2 { margin: 0; } .dy-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .dy-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .dy-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .dy-card { border: 1px solid var(--dy-line); border-radius: 16px; padding: 16px; background: rgba(255,255,255,0.025); transition: border-color 0.2s, transform 0.2s; } .dy-card:hover { border-color: var(--dy-line-strong); transform: translateY(-1px); } .dy-card strong { display: block; margin-bottom: 8px; font-size: 12px; color: var(--dy-muted); font-weight: 600; letter-spacing: 0.02em; } .dy-card-val { font-family: var(--dy-font); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; word-break: break-all; } .dy-muted { color: var(--dy-muted); font-size: 13px; line-height: 1.5; } .dy-faint { color: var(--dy-faint); font-size: 12px; } /* —— 模块开关卡片 —— */ .dy-mod-list { display: flex; flex-direction: column; gap: 10px; } .dy-mod { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--dy-line); background: rgba(255,255,255,0.02); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; min-height: 76px; } .dy-mod.is-on { border-color: rgba(37, 244, 238, 0.28); background: linear-gradient(105deg, rgba(37, 244, 238, 0.07), rgba(254, 44, 85, 0.04)); box-shadow: 0 0 0 1px rgba(37, 244, 238, 0.08); } .dy-mod-meta { display: flex; gap: 14px; align-items: center; min-width: 0; } .dy-mod-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,0.05); flex-shrink: 0; } .dy-mod.is-on .dy-mod-ico { background: rgba(37, 244, 238, 0.12); } .dy-mod-text strong { display: block; font-family: var(--dy-font); font-size: 15px; font-weight: 650; margin-bottom: 4px; } .dy-mod-text span { color: var(--dy-muted); font-size: 12px; line-height: 1.4; } .dy-mod-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; vertical-align: middle; } .dy-mod-badge.on { background: rgba(61, 255, 181, 0.15); color: var(--dy-ok); } .dy-mod-badge.off { background: rgba(255,255,255,0.06); color: var(--dy-faint); } /* toggle */ .dy-switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; cursor: pointer; } .dy-switch input { opacity: 0; width: 0; height: 0; position: absolute; } .dy-switch-track { position: absolute; inset: 0; border-radius: 999px; background: #2a2d38; border: 1px solid var(--dy-line-strong); transition: background 0.2s, border-color 0.2s; } .dy-switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #c5cad8; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.35); } .dy-switch input:checked + .dy-switch-track { background: #fe2c55; border-color: transparent; } .dy-switch input:checked + .dy-switch-track .dy-switch-thumb { transform: translateX(22px); background: #fff; } .dy-switch input:focus-visible + .dy-switch-track { outline: 2px solid var(--dy-cyan); outline-offset: 2px; } /* 手机预览 */ .dy-preview-wrap { display: grid; grid-template-columns: 1fr 200px; gap: 18px; align-items: start; } .dy-phone { width: 200px; border-radius: 28px; border: 1px solid var(--dy-line-strong); background: #0a0b10; padding: 10px 10px 14px; box-shadow: var(--dy-shadow); position: sticky; top: 24px; } .dy-phone-notch { width: 72px; height: 6px; border-radius: 999px; background: #1c1e28; margin: 4px auto 12px; } .dy-phone-screen { border-radius: 18px; background: radial-gradient(120px 80px at 50% 0%, rgba(254,44,85,0.2), transparent), #0e1018; min-height: 280px; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 10px; } .dy-phone-title { font-family: var(--dy-font); font-size: 13px; font-weight: 700; text-align: center; } .dy-phone-tiles { display: flex; flex-direction: column; gap: 8px; flex: 1; } .dy-phone-tile { border-radius: 12px; padding: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--dy-line); font-size: 12px; display: flex; align-items: center; gap: 8px; color: var(--dy-muted); transition: opacity 0.2s, transform 0.2s; } .dy-phone-tile.on { color: var(--dy-text); border-color: rgba(37, 244, 238, 0.25); background: rgba(37, 244, 238, 0.08); } .dy-phone-tile.off { opacity: 0.28; text-decoration: line-through; } .dy-phone-tabbar { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--dy-line); font-size: 10px; color: var(--dy-faint); } .dy-phone-tabbar span.on { color: var(--dy-pink); font-weight: 700; } /* —— 加群弹窗(集成在入口页) —— */ .dy-join-panel { margin-top: 22px; scroll-margin-top: 24px; } .dy-join-layout { display: grid; grid-template-columns: 1fr minmax(220px, 260px); gap: 20px; align-items: start; } .dy-join-controls { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .dy-channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .dy-channel-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px 16px 14px; border-radius: 16px; border: 1px solid var(--dy-line); background: rgba(255, 255, 255, 0.02); color: var(--dy-text); cursor: pointer; font: inherit; min-height: 120px; transition: border-color 0.2s, background 0.2s, transform 0.18s, box-shadow 0.2s; } .dy-channel-card:hover:not(:disabled) { border-color: var(--dy-line-strong); transform: translateY(-1px); } .dy-channel-card:disabled { opacity: 0.65; cursor: wait; } .dy-channel-card.is-on { border-color: rgba(45, 212, 191, 0.45); background: linear-gradient(145deg, rgba(45, 212, 191, 0.12), rgba(254, 44, 85, 0.05)); box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12), 0 10px 28px rgba(0, 0, 0, 0.28); } .dy-channel-card--dy.is-on { border-color: rgba(254, 44, 85, 0.5); background: linear-gradient(145deg, rgba(254, 44, 85, 0.14), rgba(45, 212, 191, 0.05)); box-shadow: 0 0 0 1px rgba(254, 44, 85, 0.15), 0 10px 28px rgba(0, 0, 0, 0.28); } .dy-channel-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, 0.06); margin-bottom: 2px; } .dy-channel-card.is-on .dy-channel-ico { background: rgba(45, 212, 191, 0.16); } .dy-channel-card--dy.is-on .dy-channel-ico { background: rgba(254, 44, 85, 0.2); } .dy-channel-card strong { font-family: var(--dy-font); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; } .dy-channel-card > span:not(.dy-channel-ico):not(.dy-channel-check) { color: var(--dy-muted); font-size: 12px; line-height: 1.4; } .dy-channel-check { margin-top: auto; padding-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--dy-faint); } .dy-channel-card.is-on .dy-channel-check { color: var(--dy-cyan); } .dy-channel-card--dy.is-on .dy-channel-check { color: var(--dy-pink); } .dy-join-fields { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--dy-line); background: rgba(0, 0, 0, 0.18); } .dy-join-field-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; } .dy-join-preview { position: sticky; top: 24px; } .dy-join-preview-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dy-faint); margin-bottom: 10px; } .dy-join-sheet { position: relative; border-radius: 20px; border: 1px solid var(--dy-line-strong); background: linear-gradient(160deg, #14161f 0%, #0c0e14 100%); padding: 22px 18px 16px; overflow: hidden; box-shadow: var(--dy-shadow); min-height: 280px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; } .dy-join-sheet-glow { position: absolute; width: 160px; height: 160px; top: -40px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 70%); pointer-events: none; } .dy-join-sheet.is-dy .dy-join-sheet-glow { background: radial-gradient(circle, rgba(254, 44, 85, 0.32), transparent 70%); } .dy-join-sheet-eye { margin: 0; position: relative; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dy-cyan); } .dy-join-sheet.is-dy .dy-join-sheet-eye { color: var(--dy-pink); } .dy-join-sheet h3 { margin: 0; position: relative; font-family: var(--dy-font); font-size: 18px; font-weight: 750; letter-spacing: -0.02em; } .dy-join-sheet h3 em { font-style: normal; color: var(--dy-cyan); } .dy-join-sheet.is-dy h3 em { color: var(--dy-pink); } .dy-join-sheet-lead { margin: 0; position: relative; font-size: 12px; line-height: 1.45; color: var(--dy-muted); max-width: 28ch; } .dy-join-sheet-qr { position: relative; width: 112px; height: 112px; margin: 8px 0; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(255, 255, 255, 0.12); display: grid; place-items: center; font-size: 36px; overflow: hidden; } .dy-join-sheet-qr img { width: 100%; height: 100%; object-fit: cover; } .dy-join-sheet-cta { position: relative; margin-top: auto; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--dy-line); font-size: 12px; color: var(--dy-muted); font-weight: 600; } @media (max-width: 900px) { .dy-join-layout { grid-template-columns: 1fr; } .dy-join-preview { position: static; max-width: 280px; } } @media (max-width: 560px) { .dy-channel-grid { grid-template-columns: 1fr; } } /* —— 表单 —— */ .dy-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--dy-muted); font-weight: 500; } .dy-input, .dy-textarea { width: 100%; border-radius: 12px; border: 1px solid var(--dy-line); background: #0a0b11; color: var(--dy-text); padding: 11px 13px; font: inherit; font-size: 14px; transition: border-color 0.15s, box-shadow 0.15s; } .dy-input:focus, .dy-textarea:focus { outline: none; border-color: rgba(37, 244, 238, 0.45); box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.1); } .dy-textarea { min-height: 320px; font-family: var(--dy-mono); font-size: 13px; line-height: 1.55; resize: vertical; } /* —— 按钮 —— */ .dy-btn { border: none; border-radius: 12px; padding: 12px 18px; font-family: var(--dy-font); font-weight: 700; font-size: 14px; cursor: pointer; background: #fe2c55; color: #fff; box-shadow: 0 8px 22px rgba(254, 44, 85, 0.28); transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; min-height: 44px; } .dy-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(254, 44, 85, 0.36); } .dy-btn:disabled { opacity: 0.55; cursor: wait; } .dy-btn-ghost { border: 1px solid var(--dy-line); background: rgba(255,255,255,0.03); color: var(--dy-text); border-radius: 12px; padding: 10px 14px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; min-height: 40px; transition: border-color 0.15s, background 0.15s; } .dy-btn-ghost:hover { border-color: var(--dy-line-strong); background: rgba(255,255,255,0.06); } .dy-btn-danger { color: var(--dy-danger); border-color: rgba(255, 107, 122, 0.3); } .dy-btn-danger:hover { background: rgba(255, 107, 122, 0.08); } .dy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .dy-toast { font-size: 13px; padding: 8px 12px; border-radius: 10px; } .dy-ok { color: var(--dy-ok); background: rgba(61, 255, 181, 0.1); } .dy-err { color: var(--dy-danger); background: rgba(255, 107, 122, 0.1); } /* sticky save bar */ .dy-savebar { position: sticky; bottom: 16px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--dy-line-strong); background: rgba(10, 11, 16, 0.92); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); } /* —— 小册编辑 —— */ .dy-book-layout { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: start; } .dy-chap-list { border: 1px solid var(--dy-line); border-radius: 16px; background: rgba(255,255,255,0.02); padding: 10px; position: sticky; top: 20px; max-height: calc(100vh - 120px); overflow: auto; } .dy-chap-list-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 10px; font-family: var(--dy-font); font-size: 13px; font-weight: 650; } .dy-chap-item { width: 100%; text-align: left; border: 1px solid transparent; background: transparent; color: var(--dy-muted); border-radius: 12px; padding: 10px 10px; cursor: pointer; font: inherit; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; transition: background 0.15s, color 0.15s, border-color 0.15s; min-height: 44px; } .dy-chap-item:hover { background: rgba(255,255,255,0.04); color: var(--dy-text); } .dy-chap-item.is-on { background: rgba(254, 44, 85, 0.12); border-color: rgba(254, 44, 85, 0.3); color: var(--dy-text); } .dy-chap-num { font-family: var(--dy-mono); font-size: 11px; color: var(--dy-faint); min-width: 18px; padding-top: 2px; } .dy-chap-item.is-on .dy-chap-num { color: var(--dy-pink); } .dy-chap-name { flex: 1; line-height: 1.35; word-break: break-word; } .dy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; } .dy-chip { border: 1px solid var(--dy-line); background: rgba(37, 244, 238, 0.05); color: var(--dy-text); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: 12px; min-height: 36px; } .dy-chip.is-on { border-color: rgba(254, 44, 85, 0.45); background: rgba(254, 44, 85, 0.12); } .dy-link { color: var(--dy-cyan); text-decoration: none; font-weight: 500; } .dy-link:hover { text-decoration: underline; } .dy-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dy-line); } .dy-status-row:last-child { border-bottom: none; } .dy-doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .dy-doc-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--dy-line); background: rgba(255,255,255,0.02); color: var(--dy-text); text-decoration: none; transition: border-color 0.15s, background 0.15s; min-height: 48px; } .dy-doc-list a:hover { border-color: rgba(37, 244, 238, 0.35); background: rgba(37, 244, 238, 0.05); } .dy-doc-list a span:last-child { color: var(--dy-cyan); font-size: 12px; white-space: nowrap; } .dy-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dy-line); background: rgba(255,255,255,0.02); cursor: pointer; transition: border-color 0.15s, background 0.15s; min-height: 48px; } .dy-check:hover { border-color: var(--dy-line-strong); } .dy-check.is-done { border-color: rgba(61, 255, 181, 0.25); background: rgba(61, 255, 181, 0.05); } .dy-check input { margin-top: 3px; accent-color: var(--dy-cyan); width: 16px; height: 16px; } .dy-check span { font-size: 13px; line-height: 1.45; color: var(--dy-muted); } .dy-check.is-done span { color: var(--dy-text); text-decoration: line-through; opacity: 0.75; } .dy-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } .dy-quick a { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--dy-line); background: rgba(255,255,255,0.025); text-decoration: none; color: var(--dy-text); transition: transform 0.15s, border-color 0.15s, background 0.15s; min-height: 88px; } .dy-quick a:hover { transform: translateY(-2px); border-color: rgba(254, 44, 85, 0.35); background: rgba(254, 44, 85, 0.06); } .dy-quick a strong { font-family: var(--dy-font); font-size: 14px; } .dy-quick a span { color: var(--dy-muted); font-size: 12px; line-height: 1.4; } .dy-skeleton { color: var(--dy-muted); padding: 40px 0; text-align: center; } .dy-skeleton::before { content: ''; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid var(--dy-line-strong); border-top-color: var(--dy-pink); animation: dy-spin 0.7s linear infinite; } @keyframes dy-spin { to { transform: rotate(360deg); } } @media (max-width: 960px) { .dy-shell { grid-template-columns: 1fr; } .dy-side { position: relative; height: auto; border-right: none; border-bottom: 1px solid var(--dy-line); } .dy-nav { flex-direction: row; flex-wrap: wrap; } .dy-nav a { flex: 1 1 140px; } .dy-main { padding: 20px 16px 100px; } .dy-grid2, .dy-grid3, .dy-grid4, .dy-quick, .dy-preview-wrap, .dy-book-layout { grid-template-columns: 1fr; } .dy-phone { position: relative; top: 0; width: 100%; max-width: 240px; margin: 0 auto; } .dy-chap-list { position: relative; top: 0; max-height: none; } }