*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --adobe-red: #EB1000; --adobe-red-hover: #D40000; --adobe-red-active: #B80000; --adobe-blue: #1473E6; --text-primary: #2C2C2C; --text-secondary: #505050; --text-muted: #6E6E6E; --border: #E1E1E1; --border-light: #EBEBEB; --bg-page: #F5F5F5; --bg-white: #FFFFFF; --bg-panel: #FAFAFA; --shadow: 0 2px 16px rgba(0, 0, 0, 0.08); } body { font-family: 'Inter', adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #3a3a3a; min-height: 100vh; color: var(--text-primary); display: flex; align-items: center; justify-content: center; padding: 20px; -webkit-font-smoothing: antialiased; position: relative; overflow-x: hidden; } .pdf-bg-layer { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #d8d8d8; visibility: hidden; } .pdf-bg-layer.is-active { visibility: visible; } .pdf-bg-canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(3px) saturate(0.98) brightness(0.98); pointer-events: none; } .viewer-shell { position: relative; z-index: 2; width: min(100%, 900px); max-width: 900px; margin-inline: auto; flex-shrink: 0; } .viewer-container { width: 100%; max-width: 900px; margin-inline: auto; background: var(--bg-white); border-radius: 8px; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22); overflow: hidden; border: 1px solid var(--border); } .viewer-header { background: var(--bg-white); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); } .logo-mark { width: 132px; height: 32px; display: flex; align-items: center; } .logo-mark svg { width: 100%; height: 100%; } .reload-btn { display: none; align-items: center; gap: 8px; background: var(--bg-white); color: var(--text-primary); border: 1px solid var(--border); padding: 8px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; -webkit-user-select: none; transition: background 0.15s, border-color 0.15s; } .reload-btn:hover { background: var(--bg-panel); border-color: #CACACA; } .reload-btn.is-visible { display: flex; } .reload-btn:focus-visible { outline: 2px solid var(--adobe-blue); outline-offset: 2px; } .reload-btn svg { width: 16px; height: 16px; flex-shrink: 0; } .viewer-content { position: relative; background: var(--bg-white); min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 48px 40px; } .viewer-content > * { position: relative; z-index: 1; } .panel { display: none; text-align: center; max-width: 560px; width: 100%; } .panel.is-active { display: block; } .doc-icon, .error-icon, .mobile-icon { width: 96px; height: 96px; margin: 0 auto 28px; } .doc-icon svg, .error-icon svg, .mobile-icon svg { width: 100%; height: 100%; } .panel-title.veil-line { white-space: nowrap; } .panel-title { font-size: 24px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; letter-spacing: -0.3px; line-height: 1.35; word-break: normal; overflow-wrap: normal; } .panel-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; } .user-name { color: var(--adobe-red); font-weight: 600; } .doc-meta { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; margin-bottom: 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); } .doc-meta-icon { width: 40px; height: 50px; flex-shrink: 0; background: #fff; border: 1.5px solid #ddd; border-radius: 3px; display: flex; align-items: center; justify-content: center; box-shadow: 1px 1px 3px rgba(0,0,0,0.08); } .doc-meta-icon svg { display: block; } .doc-meta-info { min-width: 0; flex: 1; } .doc-meta-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; letter-spacing: -0.1px; } .doc-meta-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .doc-meta-badge { display: inline-block; font-size: 10px; font-weight: 600; color: #fff; background: var(--adobe-red); border-radius: 2px; padding: 1px 5px; letter-spacing: 0.3px; margin-bottom: 5px; text-transform: uppercase; } .progress-wrap { margin-bottom: 20px; } .ts-widget-wrap { display: flex; justify-content: center; align-items: center; margin: 20px 0 8px; min-height: 65px; } .progress-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; } .progress-track { height: 4px; background: var(--border-light); border-radius: 999px; overflow: hidden; } .progress-fill { height: 100%; width: 0; background: var(--adobe-red); border-radius: 999px; transition: width 0.05s linear; } .hold-btn { display: block; width: 100%; padding: 14px 20px; background: var(--adobe-red); color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; transition: background 0.15s; } .hold-btn:hover { background: var(--adobe-red-hover); } .hold-btn.is-holding { background: var(--adobe-red-active); } .hold-btn.is-disabled { opacity: 0.65; cursor: default; pointer-events: none; } .error-message { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.65; } .info-box { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 20px; margin-bottom: 20px; text-align: left; } .download-status { display: flex; align-items: center; justify-content: center; gap: 10px; } .spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--adobe-red); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .download-status-text { color: var(--text-secondary); font-size: 14px; font-weight: 600; } .checkmark { display: none; font-size: 18px; } .checkmark.is-visible { display: inline; } .manual-download-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--adobe-red); color: #fff; border: none; padding: 14px 20px; font-size: 15px; font-weight: 600; border-radius: 4px; cursor: pointer; text-decoration: none; transition: background 0.15s; } .manual-download-btn:hover { background: var(--adobe-red-hover); } .instructions { background: var(--bg-white); border: 1px solid var(--border); border-left: 3px solid var(--adobe-red); border-radius: 4px; padding: 18px 20px; margin-top: 20px; text-align: left; } .instructions-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; } .instructions-list { list-style: none; padding: 0; } .instructions-list li { color: var(--text-muted); font-size: 13px; padding: 6px 0 6px 22px; position: relative; line-height: 1.5; } .instructions-list li::before { content: "✓"; position: absolute; left: 0; color: var(--adobe-red); font-weight: 700; } .reload-hint { background: #FFF5F5; border: 1px solid #FFD6D6; border-radius: 4px; padding: 16px; margin-top: 16px; text-align: center; } .reload-hint-title { color: var(--text-primary); font-size: 14px; font-weight: 600; margin-bottom: 4px; } .reload-hint-sub { color: var(--text-muted); font-size: 13px; } .mobile-info-box { display: flex; align-items: center; gap: 16px; text-align: left; } .mobile-info-icon { font-size: 40px; flex-shrink: 0; } .mobile-info-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; } .mobile-info-text { font-size: 14px; color: var(--text-muted); line-height: 1.55; } .device-list { margin-top: 20px; text-align: left; } .device-list-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; } .device-items { display: flex; gap: 12px; flex-wrap: wrap; } .device-item { background: var(--bg-white); border: 1px solid var(--border); padding: 10px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; flex: 1; min-width: 130px; } .device-name { color: var(--text-secondary); font-size: 13px; font-weight: 600; } .ghost { position: absolute; width: 0; height: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } @media (max-width: 768px) { body { padding: 0; } .viewer-container { border-radius: 0; border-left: none; border-right: none; } .viewer-content { padding: 32px 20px; min-height: 480px; } .panel-title { font-size: 20px; } .mobile-info-box { flex-direction: column; text-align: center; } .device-items { flex-direction: column; } }