* {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    background: transparent;
    color: #ffffff;
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
    overflow: hidden;
  }
  .page {
    width: 100vw;
    height: 100vh;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
  }
  .chat-box {
    width: 100%;
    height: 100%;
    max-height: 620px;
    padding: 0;
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    overflow: visible;
    box-shadow: none;
  }
  .message {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.2em;
    margin-bottom: 0.3em;
    min-height: 1.4em;
    padding: 0 5px;
    background: transparent;
    border: 0;
    animation: slideIn 0.16s ease-out;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }
  .meta {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 0;
  }
  .message.verified {
    background: transparent;
    border: 0;
  }
  .message.official {
    background: transparent;
    opacity: 1;
  }
  .message.unverified {
    opacity: 1;
  }
  .platform-icon {
    width: 1.4em;
    height: 1.4em;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.3em;
    vertical-align: middle;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9))
      drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
  }
  .platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .official-badge {
    width: 1.4em;
    height: 1.4em;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.3em;
    vertical-align: middle;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9))
      drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
  }
  .official-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .platform-fallback {
    width: 1.4em;
    height: 1.4em;
    border-radius: 0.35em;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6em;
    font-weight: 900;
    color: #ffffff;
    text-shadow:
      -1px -1px 0 rgba(0, 0, 0, 0.9),
      1px -1px 0 rgba(0, 0, 0, 0.9),
      -1px 1px 0 rgba(0, 0, 0, 0.9),
      1px 1px 0 rgba(0, 0, 0, 0.9),
      0 2px 3px rgba(0, 0, 0, 0.85);
  }
  .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.55em;
    padding: 0 0.55em;
    border-radius: 0.4em;
    font-size: 0.72em;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0.43em;
    vertical-align: middle;
    background:
      linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)),
      var(--tag-color, #475569);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow:
      -1px -1px 0 rgba(0, 0, 0, 0.9),
      1px -1px 0 rgba(0, 0, 0, 0.9),
      -1px 1px 0 rgba(0, 0, 0, 0.9),
      1px 1px 0 rgba(0, 0, 0, 0.9),
      0 2px 3px rgba(0, 0, 0, 0.85);
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.55),
      0 0 3px var(--tag-color, #475569),
      inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  }
  .rank-tag {
    letter-spacing: 0.2px;
  }
  .private-rank-tag {
    padding: 0 0.65em;
    font-size: 0.68em;
    letter-spacing: 0;
  }
  .hero-tag {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-tag::before {
    content: "MOST";
    margin-right: 5px;
    font-size: 9px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: none;
  }
  .hero-portrait {
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    border-radius: 0.35em;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.55),
      0 0 3px rgba(0, 0, 0, 0.85);
    flex-shrink: 0;
  }
  .hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .name {
    display: none !important;
    font-size: 1em;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.4;
    padding: 0;
    margin-right: 0.1em;
    vertical-align: middle;
    text-shadow:
      -1px -1px 0 rgba(0, 0, 0, 0.95),
      1px -1px 0 rgba(0, 0, 0, 0.95),
      -1px 1px 0 rgba(0, 0, 0, 0.95),
      1px 1px 0 rgba(0, 0, 0, 0.95),
      0 2px 3px rgba(0, 0, 0, 0.9);
  }
  .colon {
    display: none;
    color: rgba(255, 255, 255, 0.62);
    margin-left: 0;
    margin-right: 0.3em;
    line-height: 1.4;
    padding: 0;
    vertical-align: middle;
    text-shadow:
      -1px -1px 0 rgba(0, 0, 0, 0.95),
      1px -1px 0 rgba(0, 0, 0, 0.95),
      -1px 1px 0 rgba(0, 0, 0, 0.95),
      1px 1px 0 rgba(0, 0, 0, 0.95),
      0 2px 3px rgba(0, 0, 0, 0.9);
  }
  .text {
    display: inline;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.92);
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
    text-shadow:
      -1px -1px 0 rgba(0, 0, 0, 0.95),
      1px -1px 0 rgba(0, 0, 0, 0.95),
      -1px 1px 0 rgba(0, 0, 0, 0.95),
      1px 1px 0 rgba(0, 0, 0, 0.95),
      0 2px 3px rgba(0, 0, 0, 0.9);
  }
  .notice {
    display: none;
  }
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @media (max-width: 520px) {
    .page {
      padding: 12px;
    }
  }
