* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #f0f2f5; color: #050505; line-height: 1.5; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } header { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; } h1 { font-size: 24px; font-weight: 700; } .profile-selector { display: flex; align-items: center; gap: 12px; } .profile-selector label { font-size: 14px; font-weight: 600; } .profile-selector select { padding: 8px 12px; border: 1px solid #ccd0d5; border-radius: 6px; font-size: 14px; background: white; cursor: pointer; } .tabs { display: flex; gap: 8px; margin-bottom: 20px; } .tab-btn { padding: 10px 20px; background: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .tab-btn:hover { background: #f8f9fa; } .tab-btn.active { background: #1877f2; color: white; } .loading, .error { text-align: center; padding: 40px; background: white; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .error { color: #dc2626; } .posts-container { display: flex; flex-direction: column; gap: 16px; } .post-card { background: white; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); padding: 20px; transition: transform 0.2s, box-shadow 0.2s; } .post-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .post-card.complete { opacity: 0.7; border-left: 4px solid #059669; } .post-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 12px; } .post-title { flex: 1; font-size: 16px; color: #050505; line-height: 1.4; } .post-status { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #f0f2f5; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; } .post-status.complete { background: #d1fae5; color: #065f46; } .post-meta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 12px; } .post-info { font-size: 13px; color: #65676b; margin-bottom: 0; } .post-target { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #1f2937; } .btn-inline { background: none; border: none; color: #2563eb; padding: 0; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 0; display: inline; } .btn-inline:hover, .btn-inline:focus { text-decoration: underline; } .post-link { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 12px; } .post-link__label { font-weight: 600; color: #4b5563; } .post-link__anchor { color: #2563eb; text-decoration: none; word-break: break-all; } .post-link__anchor:hover { text-decoration: underline; } .post-profiles { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; margin-bottom: 12px; } .profile-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 8px; border-radius: 6px; } .profile-line__name { font-weight: 600; } .profile-line__status { font-weight: 500; } .profile-line--done { background: #ecfdf5; color: #047857; border-left: 3px solid #10b981; } .profile-line--available { background: #eff6ff; color: #1d4ed8; border-left: 3px solid #3b82f6; } .profile-line--locked { background: #f3f4f6; color: #6b7280; border-left: 3px solid #9ca3af; } .post-hints { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .post-hint { font-size: 13px; color: #92400e; background: #fff7ed; border-radius: 6px; padding: 8px 10px; } .post-hint--success { color: #065f46; background: #ecfdf5; } .post-screenshot { margin-bottom: 12px; border: 1px solid #d1d5db; border-radius: 12px; background: #f8fafc; display: flex; align-items: center; justify-content: center; height: clamp(180px, 24vw, 240px); padding: 12px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; outline: none; overflow: hidden; } .post-screenshot:hover, .post-screenshot:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18); } .post-screenshot img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; display: block; border-radius: 8px; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18); } .check-badge { padding: 4px 10px; background: #e4e6eb; border-radius: 6px; font-size: 13px; font-weight: 500; } .check-badge:not(.checked) { color: #4b5563; } .check-badge.checked { background: #d1fae5; color: #065f46; } .check-badge.current { background: #dbeafe; color: #1e40af; border: 2px solid #3b82f6; } .post-actions { display: flex; gap: 8px; flex-wrap: wrap; } .btn { padding: 10px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; text-align: center; } .btn-primary { background: #1877f2; color: white; } .btn-primary:hover { background: #166fe5; } .btn-success { background: #059669; color: white; } .btn-success:hover { background: #047857; } .btn-danger { background: #dc2626; color: white; } .btn-danger:hover { background: #b91c1c; } .btn-secondary { background: #e4e6eb; color: #050505; } .btn-secondary:hover { background: #d8dadf; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .screenshot-modal { position: fixed; inset: 0; display: flex; justify-content: center; align-items: center; padding: 24px; background: rgba(15, 23, 42, 0.7); z-index: 1000; } .screenshot-modal[hidden] { display: none; } .screenshot-modal__backdrop { position: absolute; inset: 0; } .screenshot-modal__content { position: relative; width: min(95vw, 1300px); max-height: 92vh; padding: 24px; border-radius: 18px; background: rgba(15, 23, 42, 0.92); display: flex; justify-content: center; align-items: center; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.45); overflow: hidden; } .screenshot-modal__content.zoomed { justify-content: flex-start; align-items: flex-start; } .screenshot-modal__content img { max-width: calc(95vw - 96px); max-height: calc(92vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 44px rgba(8, 15, 35, 0.45); cursor: zoom-in; } .screenshot-modal__content.zoomed { cursor: zoom-out; overflow: auto; } .screenshot-modal__content.zoomed img { max-width: none; max-height: none; width: auto; height: auto; cursor: zoom-out; } .screenshot-modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px; border: none; background: #111827; color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); transition: background 0.2s ease, transform 0.2s ease; } .screenshot-modal__close:hover { background: #2563eb; transform: scale(1.05); } .screenshot-modal__close:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; } .empty-state { text-align: center; padding: 60px 20px; background: white; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .empty-state-icon { font-size: 64px; margin-bottom: 16px; } .empty-state-text { font-size: 18px; color: #65676b; } @media (max-width: 768px) { .container { padding: 12px; } header { padding: 16px; } h1 { font-size: 20px; } .post-header { flex-direction: column; } .post-actions { flex-direction: column; } .btn { width: 100%; } }