* {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        padding: 24px;
        background:
          radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.12), transparent 30%), #f8fafc;
        color: #111827;
        font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
      }

      .wrap {
        max-width: 1040px;
        margin: 0 auto;
      }

      .hero,
      .card {
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 22px;
        padding: 22px;
        margin-bottom: 14px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      }

      h1 {
        margin: 0 0 8px;
        font-size: 30px;
        letter-spacing: -0.05em;
      }

      h2 {
        margin: 0 0 14px;
        font-size: 20px;
        letter-spacing: -0.03em;
      }

      p {
        color: #64748b;
        line-height: 1.55;
        font-weight: 600;
        margin: 0;
      }

      .step {
        display: inline-flex;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: #2563eb;
        color: white;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        margin-right: 8px;
        font-size: 14px;
      }

      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 16px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: #f1f5f9;
        color: #111827;
        font-weight: 900;
        text-decoration: none;
        cursor: pointer;
        margin: 4px 4px 4px 0;
      }

      .blue {
        background: #2563eb;
        color: white;
      }
      .green {
        background: #008f5a;
        color: white;
      }
      .red {
        background: #dc2626;
        color: white;
      }
      .disabled {
        opacity: 0.45;
        cursor: not-allowed;
      }

      .status {
        margin-top: 14px;
        padding: 14px;
        border-radius: 14px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #64748b;
        font-weight: 800;
      }

      .ok {
        color: #16a34a;
        font-weight: 900;
      }
      .warn {
        color: #ca8a04;
        font-weight: 900;
      }

      .profile-card {
        margin-top: 14px;
        border-radius: 22px;
        overflow: hidden;
        border: 1px solid #e5e7eb;
        background: #0f172a;
        color: white;
      }

      .profile-top {
        padding: 18px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        background:
          radial-gradient(circle at top left, rgba(59, 130, 246, 0.28), transparent 32%), #111827;
      }

      .name {
        font-size: 23px;
        font-weight: 900;
        letter-spacing: -0.04em;
      }

      .subtext {
        color: #94a3b8;
        font-size: 13px;
        margin-top: 4px;
        font-weight: 700;
      }

      .complete-badge {
        padding: 10px 14px;
        border-radius: 14px;
        background: #2563eb;
        color: white;
        font-size: 16px;
        font-weight: 900;
        white-space: nowrap;
      }

      .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: rgba(255, 255, 255, 0.08);
      }

      .info-box {
        padding: 16px;
        background: rgba(15, 23, 42, 0.96);
        min-height: 128px;
      }

      .info-title {
        color: #94a3b8;
        font-size: 13px;
        font-weight: 900;
        margin-bottom: 10px;
      }

      .rank-line,
      .hero-line {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
      }

      .rank-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 54px;
        padding: 7px 10px;
        border-radius: 10px;
        color: white;
        font-size: 16px;
        font-weight: 900;
        background: #475569;
      }

      .rank-default {
        background: #475569;
      }

      .rank-bronze {
        background: #7a5230;
      }

      .rank-silver {
        background: #6f7b8a;
      }

      .rank-gold {
        background: #b88418;
      }

      .rank-platinum {
        background: #197b86;
      }

      .rank-diamond {
        background: #2f62b8;
      }

      .rank-master {
        background: #6841a8;
      }

      .rank-grandmaster {
        background: #a7334e;
      }

      .rank-champion,
      .rank-ultimate {
        background: #b85f1b;
      }

      .rank-text,
      .hero-name {
        font-size: 17px;
        font-weight: 900;
      }

      .extra {
        margin-top: 8px;
        color: #cbd5e1;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
      }

      .overlay-preview {
        padding: 16px;
        background: #020617;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
      }

      .preview-title {
        color: #94a3b8;
        font-size: 13px;
        font-weight: 900;
        margin-bottom: 10px;
      }

      .preview-chat {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        font-weight: 800;
      }

      .preview-chat-row {
        margin-top: 8px;
      }

      .preview-tag {
        padding: 4px 7px;
        border-radius: 7px;
        color: white;
        font-size: 13px;
        font-weight: 900;
        background: #2563eb;
      }

      .hero-preview-tag {
        background: #6841a8;
      }

      .need-link {
        color: #fbbf24;
        font-weight: 900;
      }

      .platform-icon-wrap {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.12);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        overflow: hidden;
      }

      .platform-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: block;
        border-radius: 4px;
      }

      .platform-name {
        color: #e2e8f0;
        font-size: 13px;
        font-weight: 900;
        min-width: 54px;
      }

      .platforms {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 10px;
        margin-top: 12px;
      }

      .platform {
        padding: 16px;
        border-radius: 16px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
      }

      .platform strong {
        display: block;
        margin-bottom: 8px;
        font-size: 17px;
      }

      @media (max-width: 860px) {
        .grid-4 {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 540px) {
        body {
          padding: 14px;
        }

        .grid-4 {
          grid-template-columns: 1fr;
        }

        .profile-top {
          align-items: flex-start;
          flex-direction: column;
        }
      }
