:root { --page-bg: #f5f6f8; --card-bg: #ffffff; --text: #20242a; --muted: #7c8592; --line: #e7ebf0; --primary: #18b89f; --primary-dark: #0b8b79; --danger: #d83c3c; --danger-bg: #fff0f0; --gold: #c79633; --shadow: 0 10px 28px rgba(31, 41, 55, 0.08); } * { box-sizing: border-box; } html, body { width: 100%; min-height: 100%; margin: 0; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; } body { display: flex; justify-content: center; background: #16191d; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } button, input, select, textarea { font: inherit; } button { border: 0; } button:disabled { cursor: not-allowed; opacity: 0.48; } [hidden] { display: none !important; } .manager-center { position: relative; width: 100%; max-width: 430px; min-height: 100vh; overflow: hidden; background: linear-gradient(180deg, #eaf7f4 0, #f5f6f8 210px), var(--page-bg); } .manager-center[data-loading="true"] .title-bar, .manager-center[data-loading="true"] .content { visibility: hidden; } .title-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 60px; padding: env(safe-area-inset-top) 14px 0; } .title-bar h1 { margin: 0; text-align: center; font-size: 20px; font-weight: 800; letter-spacing: 0; } .back-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.76); color: var(--text); box-shadow: 0 4px 14px rgba(32, 36, 42, 0.08); } .back-button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } .content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 12px 14px calc(28px + env(safe-area-inset-bottom)); } .card { border: 1px solid rgba(231, 235, 240, 0.9); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow); } .profile-card, .target-card { display: flex; gap: 12px; align-items: center; min-height: 96px; padding: 14px; } .avatar-shell { position: relative; flex: 0 0 58px; width: 58px; height: 58px; overflow: hidden; border-radius: 50%; background: #dfe7ea; } .avatar-shell img, .avatar-shell span { display: block; width: 100%; height: 100%; } .avatar-shell img { object-fit: cover; } .avatar-shell span { display: flex; align-items: center; justify-content: center; color: #51606d; font-size: 24px; font-weight: 800; } .profile-copy { min-width: 0; } .eyebrow { margin-bottom: 4px; color: var(--primary-dark); font-size: 12px; font-weight: 800; } .name { overflow: hidden; color: var(--text); font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } .meta { margin-top: 3px; color: var(--muted); font-size: 13px; } .pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .status-pill, .danger-chip { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 0 9px; background: #edf5f2; color: #315e56; font-size: 12px; font-weight: 800; } .status-pill.is-danger, .danger-chip.is-danger { background: var(--danger-bg); color: var(--danger); } .search-card, .gift-card, .ban-card { padding: 14px; } .section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; } .section-head h2 { margin: 0; font-size: 16px; font-weight: 900; letter-spacing: 0; } .search-form { display: grid; grid-template-columns: 1fr 88px; gap: 8px; } input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: none; background: #f9fafb; color: var(--text); } input, select { height: 44px; padding: 0 12px; } textarea { min-height: 84px; resize: none; padding: 12px; } input:focus, select:focus, textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(24, 184, 159, 0.13); } .search-form button, .primary-action, .danger-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; padding: 0 16px; color: #fff; font-weight: 900; } .search-form button, .primary-action { background: var(--primary); } .danger-action { width: 100%; margin-top: 10px; background: var(--danger); } .primary-action { width: 100%; margin-top: 12px; } .field-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 800; } .props-list { display: grid; gap: 8px; margin-top: 12px; } .prop-option { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 68px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; color: inherit; text-align: left; } .prop-option.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 184, 159, 0.13); } .prop-cover { width: 52px; height: 52px; overflow: hidden; border-radius: 8px; background: #eef2f5; } .prop-cover img { display: block; width: 100%; height: 100%; object-fit: cover; } .prop-cover span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--gold); font-weight: 900; } .prop-copy { min-width: 0; } .prop-name { overflow: hidden; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; } .prop-meta { margin-top: 4px; color: var(--muted); font-size: 12px; } .prop-days { border-radius: 999px; padding: 5px 8px; background: #f2f4f7; color: #596273; font-size: 12px; font-weight: 900; } .form-status, .props-status { margin-top: 10px; border-radius: 8px; padding: 9px 10px; background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 700; } .form-status.is-error, .props-status.is-error { background: var(--danger-bg); color: var(--danger); } .loading-mask { position: absolute; z-index: 20; inset: 0; display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(245, 246, 248, 0.96); color: var(--primary-dark); font-weight: 900; } .loader { width: 34px; height: 34px; border: 4px solid rgba(24, 184, 159, 0.18); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.82s linear infinite; } .toast { position: fixed; z-index: 40; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: min(330px, calc(100vw - 40px)); transform: translateX(-50%); border-radius: 8px; padding: 10px 14px; background: rgba(29, 34, 40, 0.92); color: #fff; font-size: 13px; font-weight: 800; text-align: center; } @keyframes spin { to { transform: rotate(360deg); } } @media (min-width: 720px) { .manager-center { min-height: 760px; } }