/* ?꾨줈???섏씠吏 ???꾩슜 ?뚮쭏 蹂??湲곕컲 怨좊?鍮??ㅽ???援ъ꽦 */
        .x-profile-main {
            border-right: 1px solid var(--x-border);
            min-height: 100vh;
            background: var(--x-bg);
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .profile-cover {
            height: 180px;
            background: var(--x-card);
            border-bottom: 1px solid var(--x-border);
            position: relative;
            overflow: hidden;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .profile-cover-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(var(--x-border) 1px, transparent 1px),
                              linear-gradient(90deg, var(--x-border) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.35;
        }
        .profile-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding: 0 16px;
            margin-top: -60px;
            position: relative;
            z-index: 10;
        }
        .profile-avatar-wrap {
            width: 120px;
            height: 120px;
            border-radius: 9999px;
            border: 4px solid var(--x-bg);
            background: var(--x-card);
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(0,0,0,0.12);
            transition: border-color 0.2s ease, background-color 0.2s ease;
        }
        .profile-avatar {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .profile-actions {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
        }
        .profile-icon-btn {
            width: 38px;
            height: 38px;
            border-radius: 9999px;
            border: 1px solid var(--x-border);
            background: var(--x-bg);
            color: var(--x-text);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.2s ease;
        }
        .profile-icon-btn:hover {
            background: var(--x-hover-overlay);
            border-color: var(--x-accent);
        }
        .profile-icon-btn.profile-primary {
            background: var(--x-accent);
            color: var(--x-accent-text);
            border-color: var(--x-accent);
        }
        .profile-icon-btn.profile-primary:hover {
            background: var(--x-accent-hover);
        }
        .profile-info {
            padding: 16px;
        }
        .profile-name {
            font-size: 22px;
            font-weight: 800;
            color: var(--x-text);
            line-height: 1.2;
        }
        .profile-handle {
            font-size: 13px;
            font-weight: 400;
            color: var(--x-muted);
            font-family: inherit;
            margin-top: 2px;
        }
        .profile-bio {
            font-size: 15px;
            color: var(--x-text);
            margin-top: 12px;
            line-height: 1.5;
        }
        .profile-website-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 10px;
            color: var(--x-blue, #1d9bf0);
            font-size: 13px;
            text-decoration: none;
        }
        .profile-website-link:hover { text-decoration: underline; }
        .profile-name-input {
            font-size: 22px;
            font-weight: 800;
            background: transparent;
            border-bottom: 1px dashed var(--x-border);
            color: var(--x-text);
            width: 100%;
            outline: none;
            padding: 2px 0;
            transition: border-color 0.2s ease;
        }
        .profile-name-input:focus {
            border-bottom-style: solid;
            border-bottom-color: var(--x-accent);
        }
        .profile-edit-line-input {
            font-size: 13px;
            font-weight: 400;
            padding: 6px 0 5px;
            margin-top: 8px;
        }
        .profile-handle-input-wrap {
            display: flex;
            align-items: center;
            color: var(--x-muted);
            margin-top: 8px;
            border-bottom: 1px dashed var(--x-border);
        }
        .profile-handle-input-wrap > span {
            font-size: 13px;
            font-weight: 400;
            color: var(--x-text);
            line-height: 1;
        }
        .profile-handle-input-wrap .profile-edit-line-input {
            margin-top: 0;
            border-bottom: 0;
            padding-left: 3px;
        }
        .profile-handle-input-wrap:focus-within {
            border-bottom: 1px solid var(--x-accent);
        }
        .profile-url-input {
            font-size: 13px;
            background: transparent;
            border: 0;
            border-bottom: 1px dashed var(--x-border);
            border-radius: 0;
            color: var(--x-text);
            width: 100%;
            outline: none;
            padding: 6px 0 5px;
            margin-top: 8px;
            transition: border-color 0.2s ease;
        }
        .profile-url-input:focus {
            border-bottom-color: var(--x-accent);
            border-bottom-style: solid;
        }
        .profile-status {
            font-size: 12px;
            color: var(--x-muted);
            margin-top: 4px;
            min-height: 18px;
        }
        .profile-stats {
            display: flex;
            gap: 20px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--x-border);
            transition: border-color 0.2s ease;
        }
        .profile-stats span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: var(--x-muted);
        }
        .profile-stats strong {
            color: var(--x-text);
            font-weight: 700;
        }
        .profile-stats i {
            font-size: 16px;
        }
        .profile-alert {
            margin: 16px;
            padding: 16px;
            border-radius: 12px;
            border: 1px solid var(--x-border);
            background: var(--x-card);
            display: flex;
            align-items: center;
            gap: 12px;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .profile-alert i {
            font-size: 24px;
            color: var(--x-muted);
        }
        .profile-alert p {
            font-size: 14px;
            color: var(--x-text);
            flex-grow: 1;
        }
        .profile-alert button {
            width: 36px;
            height: 36px;
            border-radius: 9999px;
            background: var(--x-accent);
            color: var(--x-accent-text);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background-color 0.16s ease;
        }
        .profile-alert button:hover {
            background: var(--x-accent-hover);
        }
        .profile-tabs {
            display: flex;
            border-bottom: 1px solid var(--x-border);
            margin-top: 8px;
            transition: border-color 0.2s ease;
        }
        .profile-tabs button {
            flex: 1;
            height: 52px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--x-muted);
            position: relative;
            transition: all 0.2s ease;
        }
        .profile-tabs button:hover {
            background: var(--x-hover-overlay);
            color: var(--x-text);
        }
        .profile-tabs button.is-active {
            color: var(--x-text);
            font-weight: bold;
        }
        .profile-tabs button.is-active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 4px;
            border-radius: 9999px;
            background: var(--x-accent);
        }
        .profile-feed {
            background: var(--x-bg);
            transition: background-color 0.2s ease;
        }
        .profile-empty {
            padding: 64px 32px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            color: var(--x-muted);
        }
        .profile-empty i {
            font-size: 48px;
        }
        .profile-empty strong {
            font-size: 16px;
            font-weight: 600;
            color: var(--x-text);
        }
        .profile-post {
            display: flex;
            gap: 12px;
            padding: 16px;
            border-bottom: 1px solid var(--x-border);
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .profile-post:hover {
            background: var(--x-hover-overlay);
        }
        .profile-post-avatar {
            width: 40px;
            height: 40px;
            border-radius: 9999px;
            background: var(--x-card);
            overflow: hidden;
            flex-shrink: 0;
        }
        .profile-post-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .profile-post-body {
            flex: 1;
            min-width: 0;
        }
        .profile-post-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: var(--x-muted);
            flex-wrap: wrap;
        }
        .profile-post-meta strong {
            color: var(--x-text);
            font-weight: 700;
        }
        .profile-post-meta span {
            font-family: monospace;
        }
        .profile-post-body h2 {
            font-size: 15px;
            font-weight: 700;
            color: var(--x-text);
            margin-top: 4px;
            line-height: 1.4;
            word-wrap: break-word;
        }
        .profile-post-body p {
            font-size: 15px;
            color: var(--x-text);
            margin-top: 4px;
            line-height: 1.5;
            word-wrap: break-word;
        }
        .profile-post-media {
            display: block;
            width: auto !important;
            inline-size: auto !important;
            max-width: 100% !important;
            height: auto !important;
            block-size: auto !important;
            max-height: 420px !important;
            min-height: 0 !important;
            object-fit: contain !important;
            align-self: flex-start;
            border-radius: 12px;
            border: 1px solid var(--x-border);
            margin-top: 8px;
        }
        .profile-post-live-thumbnail {
            position: relative;
            display: flex;
            aspect-ratio: 16 / 9;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 720px;
            margin-top: 8px;
            overflow: hidden;
            border-radius: 16px;
            background: #000;
            cursor: pointer;
        }
        .profile-post-live-thumbnail img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .profile-post-live-thumbnail::after {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .5));
            content: "";
        }
        .profile-post-live-thumbnail > span {
            position: absolute;
            z-index: 2;
            display: grid;
            width: 58px;
            height: 58px;
            place-items: center;
            border: 1px solid rgba(255, 255, 255, .7);
            border-radius: 9999px;
            background: rgba(0, 0, 0, .55);
            color: #fff;
            font-size: 30px;
        }
        .profile-post-live-thumbnail > b {
            position: absolute;
            z-index: 2;
            top: 14px;
            right: 14px;
            padding: 5px 9px;
            border-radius: 9999px;
            background: #ef4444;
            color: #fff;
            font-size: 10px;
            letter-spacing: .08em;
        }
        .profile-post-video {
            width: 100%;
            max-width: 720px;
            margin-top: 8px;
            overflow: hidden;
            border-radius: 12px;
            background: #000;
        }
        .profile-post-video-stage {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 260px;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #000;
        }
        .profile-post-video-player {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 260px;
            object-fit: contain;
            background: #000;
        }
        @media (max-width: 640px) {
            .profile-post-video { max-width: none; }
            .profile-post-video-stage, .profile-post-video-player { min-height: 220px; }
        }
.profile-post-actions {
            display: flex;
            max-width: 320px;
            justify-content: space-between;
            margin-top: 12px;
            color: var(--x-muted);
}
.profile-post-poll { margin-top: 12px; max-width: 520px; padding: 12px; border: 1px solid var(--x-border); border-radius: 16px; background: var(--x-card); }
.profile-post-poll-title { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--x-text); font-size: 12px; font-weight: 700; }
.profile-post-poll-title small { color: var(--x-muted); font-weight: 400; }
.profile-post-poll-option { position: relative; display: block; width: 100%; min-height: 38px; overflow: hidden; margin-top: 7px; padding: 8px 11px; border: 1px solid var(--x-border); border-radius: 12px; background: var(--x-bg); color: var(--x-text); text-align: left; cursor: pointer; }
.profile-post-poll-option:hover:not(:disabled), .profile-post-poll-option.is-selected { border-color: var(--x-accent); }
.profile-post-poll-option.is-locked { cursor: default; }
.profile-post-poll-bar { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--x-accent) 12%, transparent); }
.profile-post-poll-label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-post-poll-label b { overflow-wrap: anywhere; font-weight: 500; }
.profile-post-poll-label small { flex: 0 0 auto; color: var(--x-muted); }
        .profile-post-actions span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            transition: color 0.15s ease;
        }
        .profile-post-actions span:hover {
            color: var(--x-text);
        }
.profile-avatar-upload { display:flex; align-items:center; gap:8px; width:max-content; margin-top:8px; padding:8px 12px; border:1px solid var(--theme-border, #3f3f46); border-radius:999px; cursor:pointer; font-size:12px; font-weight:700; }
.profile-avatar-upload input { display:none; }
.profile-avatar-upload-hint { display:block; margin-top:5px; color:var(--theme-muted, #888); font-size:11px; }
