/* Generated from actual hud.html comment CSS. Run build-hud-preview.mjs to refresh. */
.hud-preview{font-family:"Noto Sans JP","DotGothic16","Noto Color Emoji",sans-serif;--comment-font-size:17px;--comment-name-size:14px;--comment-platform-size:11px;--twitcasting-accent:#01cff4;--youtube-accent:#ff4f4f;max-width:680px;margin:0 auto;line-height:normal;zoom:1.25}
.hud-preview .comment {
      --accent: #5ad7ff;
      --panel: rgba(14, 24, 30, 0.82);
      --name: #d7f6ff;
      width: 100%;
      animation: comment-in 220ms ease-out both;
    }.hud-preview .comment.youtube {
      --accent: var(--youtube-accent);
      --panel: rgba(36, 16, 16, 0.84);
      --name: #ffd6d6;
    }.hud-preview .comment.twitcasting {
      --accent: var(--twitcasting-accent);
      --panel: rgba(14, 24, 30, 0.82);
      --name: #d7f6ff;
    }.hud-preview .comment-head {
      display: flex;
      align-items: baseline;
      min-width: 0;
      gap: 7px;
      margin-left: 36px;
      margin-bottom: 2px;
    }.hud-preview .comment-row {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      gap: 6px;
      align-items: start;
    }.hud-preview .comment-avatar,
.hud-preview .alert-avatar {
      border: 2px solid var(--accent);
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.45);
      box-shadow: 0 0 10px var(--accent);
      color: #ffffff;
      display: grid;
      place-items: center;
      font-weight: 800;
      overflow: hidden;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    }.hud-preview .comment-avatar {
      width: 28px;
      height: 28px;
      margin-top: 2px;
      font-size: 11px;
    }.hud-preview .comment-avatar img,
.hud-preview .alert-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }.hud-preview .comment-platform {
      flex: 0 0 auto;
      color: var(--accent);
      font-size: var(--comment-platform-size);
      font-weight: 800;
      letter-spacing: 0.08em;
      text-shadow: 0 0 8px var(--accent);
      text-transform: uppercase;
    }.hud-preview .comment-name {
      min-width: 0;
      color: var(--name);
      font-size: var(--comment-name-size);
      font-weight: 800;
      overflow: hidden;
      text-overflow: ellipsis;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
      white-space: nowrap;
    }.hud-preview .comment-time {
      flex: 0 0 auto;
      margin-left: auto;
      color: rgba(220, 232, 240, 0.62);
      font-size: 10px;
    }.hud-preview .comment-star,
.hud-preview .alert-star {
      color: #ffd25a;
      font-weight: 800;
      text-shadow: 0 0 8px rgba(255, 210, 90, 0.85);
      white-space: nowrap;
    }.hud-preview .comment-star {
      flex: 0 0 auto;
      font-size: 11px;
    }.hud-preview .alert-star {
      margin-left: 8px;
      font-size: 13px;
    }.hud-preview .comment-body {
      padding: 7px 11px;
      color: #f5fbff;
      background: var(--panel);
      border-left: 4px solid var(--accent);
      border-radius: 2px;
      box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(0, 0, 0, 0.16);
      font-size: var(--comment-font-size);
      line-height: 1.5;
      overflow-wrap: anywhere;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
      word-break: break-word;
    }


.hud-preview .comment{animation:none;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.hud-preview .comment-avatar{box-sizing:border-box}
.hud-preview .comment-badge{width:18px;height:18px;object-fit:contain;align-self:center;flex:0 0 auto}
.hud-preview .comment-body{white-space:pre-wrap}
