.kc-profile-page { max-width: 860px; padding-bottom: 118px; }
.kc-profile-header { margin: 0 -18px; padding: 13px 18px; border-bottom: 1px solid var(--kc-border); background: #fff; }
.kc-profile-brand { display: flex; align-items: center; gap: 10px; color: var(--kc-text) !important; }
.kc-profile-brand > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, var(--kc-blue), var(--kc-blue-dark)); color: #fff; font-size: 14px; font-weight: 950; }
.kc-profile-brand h1 { margin: 0; font-size: 20px; letter-spacing: -.35px; }
.kc-profile-section { margin-top: 16px; }
.kc-profile-card { padding: 17px; border: 1px solid var(--kc-border); border-radius: 22px; background: #fff; box-shadow: var(--kc-shadow); }
.kc-profile-identity-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.kc-profile-avatar { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: var(--kc-soft-blue); color: var(--kc-blue); font-size: 20px; font-weight: 950; }
.kc-profile-identity-copy { min-width: 0; }
.kc-profile-identity-copy h2 { overflow: hidden; margin: 0 0 3px; font-size: 20px; letter-spacing: -.4px; text-overflow: ellipsis; white-space: nowrap; }
.kc-profile-identity-copy p { margin: 0; color: var(--kc-muted); font-size: 12px; }
.kc-profile-edit { min-height: 36px; padding: 7px 12px; border: 1px solid var(--kc-border); border-radius: 12px; background: #fff; color: var(--kc-blue); font-weight: 900; }
.kc-profile-verified { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 9px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 850; }
.kc-profile-verified.is-verified { background: #e8f5e9; color: #246c37; }
.kc-profile-verified.is-unverified { background: #fff6dc; color: #8a5a00; }
.kc-profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid #edf1f6; }
.kc-profile-stats > * { display: grid; min-width: 0; place-items: center; align-content: center; gap: 4px; min-height: 75px; padding: 10px 6px; border: 0; border-right: 1px solid #edf1f6; background: transparent; color: var(--kc-text); text-align: center; }
.kc-profile-stats > :last-child { border-right: 0; }
.kc-profile-stats strong { color: var(--kc-blue); font-size: 20px; }
.kc-profile-stats span { color: var(--kc-muted); font-size: 9.5px; font-weight: 850; line-height: 1.25; }
.kc-profile-section-title { margin: 0 0 7px; padding: 2px 2px 9px; font-size: 16px; }
.kc-profile-menu { border-top: 1px solid #edf1f6; }
.kc-profile-row { display: grid; width: 100%; min-height: 64px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 2px; border: 0; border-bottom: 1px solid #edf1f6; background: transparent; color: var(--kc-text) !important; text-align: left; }
.kc-profile-row:last-child { border-bottom: 0; }
.kc-profile-row-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #f3f6fa; font-size: 18px; }
.kc-profile-row strong, .kc-profile-row small { display: block; }
.kc-profile-row strong { font-size: 13px; }
.kc-profile-row small { margin-top: 3px; color: var(--kc-muted); font-size: 10.8px; line-height: 1.35; }
.kc-profile-row > :last-child { color: var(--kc-muted); font-size: 12px; font-weight: 850; }
.kc-profile-row.is-danger strong, .kc-profile-row.is-danger > :last-child { color: #b42318; }
.kc-profile-signout { margin: 0; }
.kc-profile-flash { margin-top: 14px; padding: 11px 13px; border-radius: 13px; font-size: 12px; font-weight: 850; }
.kc-profile-flash.is-success { background: #ecfdf5; color: #065f46; }
.kc-profile-flash.is-error { background: #fff0f0; color: #b42318; }
.kc-profile-seller { position: relative; overflow: hidden; min-height: 178px; padding: 21px 105px 21px 20px; border-radius: 23px; background: linear-gradient(145deg, var(--kc-blue), var(--kc-blue-dark)); color: #fff; box-shadow: 0 12px 32px rgba(13, 90, 155, .22); }
.kc-profile-seller p { margin: 0 0 5px; color: var(--kc-yellow); font-size: 10px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.kc-profile-seller h2 { margin: 0 0 6px; font-size: 20px; }
.kc-profile-seller small { display: block; color: #d7e7f5; font-size: 11.5px; line-height: 1.45; }
.kc-profile-seller a { display: inline-flex; min-height: 39px; align-items: center; margin-top: 14px; padding: 8px 13px; border-radius: 12px; background: var(--kc-yellow); color: #111827 !important; font-size: 12px; font-weight: 950; }
.kc-profile-seller > span { position: absolute; right: 22px; bottom: 37px; font-size: 53px; }
.kc-profile-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; padding: 14px; background: rgba(15, 26, 40, .58); }
.kc-profile-overlay.is-open { display: flex; }
.kc-profile-modal-open { overflow: hidden; }
.kc-profile-sheet { width: min(100%, 560px); max-height: 88vh; overflow-y: auto; padding: 16px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 18px 18px; background: #fff; }
.kc-profile-sheet-handle { width: 42px; height: 4px; margin: 0 auto 15px; border-radius: 99px; background: var(--kc-border); }
.kc-profile-sheet h2 { margin: 0 0 5px; font-size: 20px; }
.kc-profile-sheet > p { margin: 0 0 15px; color: var(--kc-muted); font-size: 12px; line-height: 1.45; }
.kc-profile-sheet label { display: block; margin: 12px 0 6px; font-size: 11.5px; font-weight: 900; }
.kc-profile-sheet label span { color: var(--kc-muted); font-weight: 700; }
.kc-profile-sheet input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--kc-border); border-radius: 13px; font: inherit; }
.kc-profile-sheet input[readonly] { background: #f4f6f9; color: var(--kc-muted); }
.kc-profile-save, .kc-profile-sheet-close, .kc-profile-clear { width: 100%; min-height: 46px; margin-top: 14px; border: 0; border-radius: 14px; font-weight: 900; }
.kc-profile-save { background: var(--kc-blue); color: #fff; }
.kc-profile-sheet-close { margin-top: 9px; background: #f4f6f9; color: var(--kc-muted); }
.kc-profile-clear { border: 1px solid #fecaca; background: #fff0f0; color: #b42318; }
.kc-profile-clear:disabled { opacity: .45; }
.kc-profile-recent-list { display: grid; border-top: 1px solid #edf1f6; }
.kc-profile-recent-list a, .kc-profile-recent-empty { padding: 12px 3px; border-bottom: 1px solid #edf1f6; color: var(--kc-text) !important; font-size: 12.5px; font-weight: 850; }
.kc-profile-recent-empty { color: var(--kc-muted); font-weight: 700; }
.kc-profile-edit:focus-visible, .kc-profile-row:focus-visible, .kc-profile-save:focus-visible, .kc-profile-sheet-close:focus-visible, .kc-profile-clear:focus-visible { outline: 3px solid rgba(247, 190, 0, .8); outline-offset: 2px; }
@media (min-width: 760px) { .kc-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; } .kc-profile-grid .kc-profile-section { margin-top: 0; } }
@media (max-width: 420px) { .kc-profile-header { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; } .kc-profile-card { padding: 14px; } .kc-profile-identity-top { grid-template-columns: auto minmax(0, 1fr); } .kc-profile-edit { grid-column: 1 / -1; width: 100%; } .kc-profile-seller { padding-right: 82px; } .kc-profile-seller > span { right: 13px; font-size: 44px; } }
