﻿
    :root {
      --bg: #0c0d10;
      --surface: #15171c;
      --surface-2: #1b1e24;
      --surface-3: #22252d;
      --border: rgba(255,255,255,.08);
      --border-strong: rgba(255,255,255,.12);
      --text: #f5f6f7;
      --muted: #aeb4bf;
      --muted-2: #7f8793;
      --accent: #5865f2;
      --accent-2: #7c86ff;
      --accent-soft: rgba(88,101,242,.14);
      --success: #23a55a;
      --danger: #f23f42;
      --shadow: 0 24px 80px rgba(0,0,0,.42);
    }

    * { box-sizing: border-box; }

    html, body {
      min-height: 100%;
      margin: 0;
    }

    body {
      min-height: 100vh;
      color: var(--text);
      font-family:
        "gg sans",
        "Noto Sans",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
      background:
        radial-gradient(circle at 15% 5%, rgba(88,101,242,.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(124,134,255,.10), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(88,101,242,.08), transparent 30%),
        var(--bg);
      overflow-x: hidden;
    }

    .page-shell {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
      isolation: isolate;
    }

    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .035;
      z-index: -1;
      background-image:
        repeating-linear-gradient(
          0deg,
          rgba(255,255,255,.7) 0,
          rgba(255,255,255,.7) 1px,
          transparent 1px,
          transparent 3px
        );
      mix-blend-mode: soft-light;
    }

    .topbar {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 24px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--text);
      text-decoration: none;
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.08), transparent),
        var(--accent);
      box-shadow:
        0 0 0 1px rgba(255,255,255,.08) inset,
        0 10px 25px rgba(88,101,242,.28);
    }

    .brand-mark svg {
      width: 19px;
      height: 19px;
      fill: white;
    }

    .top-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 11px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: rgba(255,255,255,.035);
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      backdrop-filter: blur(12px);
    }

    .top-pill::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 4px rgba(35,165,90,.11);
    }

    main {
      flex: 1;
      display: grid;
      place-items: center;
      padding: 38px 16px 72px;
    }

    .hero {
      width: min(100%, 860px);
      margin: 0 auto;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding: 8px 12px;
      border: 1px solid rgba(88,101,242,.26);
      border-radius: 999px;
      background: rgba(88,101,242,.08);
      color: #cdd1ff;
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 12px rgba(124,134,255,.7);
    }

    h1 {
      margin: 0 auto;
      max-width: 760px;
      font-size: clamp(38px, 7vw, 70px);
      line-height: .99;
      letter-spacing: -.055em;
      font-weight: 900;
    }

    h1 .gradient {
      background: linear-gradient(90deg, #ffffff 20%, #bfc5ff 65%, #7f89ff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .subtitle {
      max-width: 640px;
      margin: 22px auto 0;
      color: var(--muted);
      font-size: clamp(15px, 2vw, 18px);
      line-height: 1.7;
    }

    .lookup-card {
      position: relative;
      width: min(100%, 720px);
      margin: 38px auto 0;
      padding: 22px;
      text-align: left;
      border: 1px solid var(--border-strong);
      border-radius: 22px;
      background:
        linear-gradient(145deg, rgba(88,101,242,.055), transparent 38%),
        rgba(21,23,28,.92);
      box-shadow: var(--shadow);
      backdrop-filter: blur(20px);
      overflow: hidden;
    }

    .lookup-card::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 48%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(124,134,255,.7), transparent);
    }

    .lookup-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 17px;
    }

    .lookup-title {
      margin: 0;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: -.015em;
    }

    .lookup-copy {
      margin: 4px 0 0;
      color: var(--muted-2);
      font-size: 13px;
      line-height: 1.55;
    }

    .api-chip {
      flex: 0 0 auto;
      padding: 7px 10px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255,255,255,.028);
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .form-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .input-wrap {
      position: relative;
    }

    .input-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted-2);
      pointer-events: none;
      width: 18px;
      height: 18px;
    }

    input {
      width: 100%;
      height: 52px;
      padding: 0 14px 0 42px;
      border: 1px solid var(--border-strong);
      border-radius: 12px;
      outline: none;
      background: #101216;
      color: var(--text);
      font: inherit;
      font-size: 15px;
      letter-spacing: .01em;
      transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
    }

    input::placeholder {
      color: #666e79;
    }

    input:focus {
      border-color: rgba(88,101,242,.82);
      background: #12141a;
      box-shadow:
        0 0 0 4px rgba(88,101,242,.12),
        0 10px 30px rgba(0,0,0,.18);
    }

    button {
      min-width: 142px;
      height: 52px;
      padding: 0 18px;
      border: 0;
      border-radius: 12px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.07), transparent),
        var(--accent);
      color: white;
      font: inherit;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      box-shadow:
        0 8px 20px rgba(88,101,242,.22),
        0 0 0 1px rgba(255,255,255,.07) inset;
      transition:
        transform .14s ease,
        filter .14s ease,
        box-shadow .14s ease;
    }

    button:hover {
      transform: translateY(-1px);
      filter: brightness(1.06);
      box-shadow:
        0 12px 28px rgba(88,101,242,.3),
        0 0 0 1px rgba(255,255,255,.08) inset;
    }

    button:active {
      transform: translateY(0);
    }

    .helper-row {
      margin-top: 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      color: var(--muted-2);
      font-size: 12px;
      line-height: 1.5;
    }

    .helper-row strong {
      color: #b8bec8;
      font-weight: 750;
    }

    .security-note {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .security-note svg {
      width: 14px;
      height: 14px;
      fill: currentColor;
    }

    .features {
      width: min(100%, 720px);
      margin: 22px auto 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .feature {
      padding: 14px 15px;
      border: 1px solid var(--border);
      border-radius: 13px;
      background: rgba(255,255,255,.025);
      text-align: left;
    }

    .feature strong {
      display: block;
      margin-bottom: 4px;
      color: #dce0e6;
      font-size: 12px;
      font-weight: 800;
    }

    .feature span {
      color: var(--muted-2);
      font-size: 11.5px;
      line-height: 1.45;
    }

    footer {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 0 0 28px;
      display: flex;
      justify-content: center;
      color: #676f7a;
      font-size: 11px;
      text-align: center;
    }

    @media (max-width: 700px) {
      .topbar {
        padding-top: 18px;
      }

      .top-pill {
        display: none;
      }

      main {
        padding-top: 26px;
      }

      .lookup-card {
        padding: 18px;
        border-radius: 18px;
      }

      .lookup-head {
        display: block;
      }

      .api-chip {
        display: inline-flex;
        margin-top: 10px;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      button {
        width: 100%;
      }

      .helper-row {
        display: block;
      }

      .security-note {
        margin-top: 7px;
      }

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

    @media (max-width: 420px) {
      h1 {
        font-size: 40px;
      }

      .subtitle {
        font-size: 14px;
      }

      .lookup-card {
        padding: 15px;
      }
    }
  
    .guide-link {
      color: #dfe2ff;
      font-weight: 800;
      text-decoration: none;
      border-bottom: 1px dashed rgba(191,197,255,.52);
      transition: color .15s ease, border-color .15s ease;
    }

    .guide-link:hover {
      color: #ffffff;
      border-color: #ffffff;
    }

  
/* ===== Preview A CSS ===== */

        /* =========================================================
           PAGE FOUNDATION
           ========================================================= */

        

        

        


        /* =========================================================
           MAIN CARD
           ========================================================= */

        .case-summary-card {
            --demo-bg: #1e1f22;
            --demo-surface: #2b2d31;
            --demo-surface-alt: #313338;

            --demo-border: rgba(255, 255, 255, 0.08);

            --demo-text: #f2f3f5;
            --demo-muted: #b5bac1;
            --demo-muted-2: #949ba4;

            --demo-accent: #5865f2;
            --demo-accent-hover: #4752c4;
            --demo-accent-soft: rgba(88, 101, 242, 0.14);

            --demo-danger: #f23f42;
            --demo-warning: #f0b232;

            position: relative;

            width: min(100%, 780px);

            margin: 0 auto;

            padding: 76px 28px 28px;

            background:
                radial-gradient(
                    circle at top right,
                    rgba(88, 101, 242, 0.12),
                    transparent 30%
                ),
                var(--demo-bg);

            border: 1px solid var(--demo-border);
            border-radius: 20px;

            color: var(--demo-text);

            line-height: 1.55;

            overflow: hidden;

            box-shadow:
                0 24px 70px rgba(0, 0, 0, 0.42),
                0 0 0 1px rgba(255, 255, 255, 0.015);
        }


        /* =========================================================
           FICTIONAL / DEMO IDENTIFIER
           ========================================================= */

        .case-summary-card::before {
            content: "UNOFFICIAL DISCORD NOTICE";

            position: absolute;

            top: 0;
            left: 0;
            right: 0;

            padding: 14px 20px;

            background:
                repeating-linear-gradient(
                    -45deg,
                    #4e5058,
                    #4e5058 12px,
                    #3f4147 12px,
                    #3f4147 24px
                );

            border-bottom: 1px solid rgba(255, 255, 255, 0.12);

            color: #ffffff;

            font-size: 11px;
            font-weight: 800;
            line-height: 16px;

            letter-spacing: 0.08em;

            text-align: center;
            text-transform: uppercase;
        }


        /* =========================================================
           OPTIONAL BACKGROUND ART
           ========================================================= */

        .case-summary-card > img:first-child {
            position: absolute;

            top: 56px;
            right: 18px;

            width: 90px;
            height: 90px;

            object-fit: contain;

            opacity: 0.055;

            pointer-events: none;
            user-select: none;
        }


        /* =========================================================
           TICKET HEADER
           ========================================================= */

        .case-top {
            display: flex;

            align-items: center;
            flex-wrap: wrap;

            gap: 10px;

            margin-bottom: 30px;
            padding: 16px 18px;

            background: var(--demo-surface);

            border: 1px solid var(--demo-border);
            border-radius: 12px;
        }

        .case-top-label {
            width: 10px;
            height: 10px;

            flex: 0 0 auto;

            background: var(--demo-accent);

            border-radius: 50%;

            box-shadow:
                0 0 0 4px var(--demo-accent-soft);
        }

        .case-top strong {
            flex: 1;

            min-width: 220px;

            color: var(--demo-text);

            font-size: 17px;
            font-weight: 700;
            line-height: 1.35;
        }

        .case-ref-pill {
            display: inline-flex;

            align-items: center;
            justify-content: center;

            padding: 7px 11px;

            background: var(--demo-accent-soft);

            border: 1px solid rgba(88, 101, 242, 0.32);
            border-radius: 999px;

            color: #c9cdfb;

            font-size: 12px;
            font-weight: 700;

            white-space: nowrap;
        }


        /* =========================================================
           MONOSPACE VALUES
           ========================================================= */

        .mono {
            font-family:
                "SFMono-Regular",
                Consolas,
                "Liberation Mono",
                Menlo,
                monospace;
        }


        /* =========================================================
           SECTION TITLES
           ========================================================= */

        .case-section-title {
            position: relative;

            margin: 30px 0 13px;

            padding-left: 14px;

            color: var(--demo-text);

            font-size: 16px;
            font-weight: 750;
            line-height: 1.35;
        }

        .case-section-title::before {
            content: "";

            position: absolute;

            top: 3px;
            bottom: 3px;
            left: 0;

            width: 4px;

            background: var(--demo-accent);

            border-radius: 999px;
        }


        /* =========================================================
           ACCOUNT / PROFILE CARDS

           Main layout:
           avatar LEFT
           account information RIGHT
           ========================================================= */

        .case-account-box {
            display: grid;

            grid-template-columns:
                112px
                minmax(0, 1fr);

            align-items: center;

            gap: 20px;

            padding: 18px;

            background:
                linear-gradient(
                    145deg,
                    rgba(88, 101, 242, 0.06),
                    transparent 46%
                ),
                var(--demo-surface);

            border: 1px solid var(--demo-border);
            border-radius: 14px;

            transition:
                border-color 160ms ease,
                background-color 160ms ease,
                transform 160ms ease;
        }

        .case-account-box:hover {
            border-color: rgba(88, 101, 242, 0.28);

            background:
                linear-gradient(
                    145deg,
                    rgba(88, 101, 242, 0.085),
                    transparent 46%
                ),
                var(--demo-surface);
        }


        /* =========================================================
           PROFILE AVATAR
           ========================================================= */

        .case-avatar {
            display: block;

            width: 104px;
            height: 104px;

            margin: 0;

            object-fit: cover;

            background: #111214;

            border: 3px solid rgba(88, 101, 242, 0.48);
            border-radius: 18px;

            box-shadow:
                0 8px 22px rgba(0, 0, 0, 0.28),
                0 0 0 4px rgba(88, 101, 242, 0.07);
        }


        /* =========================================================
           ACCOUNT INFORMATION
           ========================================================= */

        .case-account-text {
            min-width: 0;

            text-align: left;
        }

        .case-display-name {
            margin: 0 0 4px;

            color: var(--demo-text);

            font-size: 18px;
            font-weight: 750;
            line-height: 1.35;
        }

        .case-handle {
            margin: 0 0 13px;

            color: var(--demo-muted-2);

            font-size: 14px;
            font-weight: 500;
            line-height: 1.45;

            overflow-wrap: anywhere;
        }

        .case-id-line {
            margin: 6px 0;

            color: var(--demo-muted);

            font-size: 14px;
            line-height: 1.45;

            overflow-wrap: anywhere;
        }

        .case-id-line .mono {
            color: #dbdee1;
        }


        /* =========================================================
           BODY CONTENT
           ========================================================= */

        .case-body-copy {
            margin-top: 0;

            color: var(--demo-muted);

            font-size: 14px;
            line-height: 1.65;
        }

        .case-body-copy p {
            margin: 12px 0;
        }

        .case-body-copy strong {
            color: var(--demo-text);

            font-weight: 700;
        }


        /* =========================================================
           WARNING PARAGRAPH
           ========================================================= */

        .case-body-copy > p:first-child {
            margin-top: 0;

            padding: 15px 16px;

            background: rgba(242, 63, 66, 0.07);

            border:
                1px solid
                rgba(242, 63, 66, 0.20);

            border-left:
                4px solid
                var(--demo-danger);

            border-radius: 10px;
        }


        /* =========================================================
           WARNING / ESCALATION BULLETS
           ========================================================= */

        .case-bullets {
            margin: 16px 0 8px;

            padding: 0;

            list-style: none;
        }

        .case-bullets li {
            position: relative;

            margin: 10px 0;

            padding:
                13px
                15px
                13px
                42px;

            background:
                rgba(240, 178, 50, 0.055);

            border:
                1px solid
                rgba(240, 178, 50, 0.16);

            border-radius: 10px;

            color: var(--demo-muted);
        }

        .case-bullets li::before {
            content: "!";

            position: absolute;

            top: 15px;
            left: 15px;

            display: grid;

            place-items: center;

            width: 18px;
            height: 18px;

            background: var(--demo-warning);

            border-radius: 50%;

            color: #1e1f22;

            font-size: 11px;
            font-weight: 900;
            line-height: 1;
        }


        /* =========================================================
           DIVIDER
           ========================================================= */

        .case-summary-card hr {
            height: 1px;

            margin: 8px 0 18px;

            background: var(--demo-border);

            border: 0;
        }


        /* =========================================================
           FOOTER NOTICE
           ========================================================= */

        .case-footer-note {
            margin: 24px 0 0;

            padding: 14px 16px;

            background:
                rgba(88, 101, 242, 0.065);

            border:
                1px solid
                rgba(88, 101, 242, 0.17);

            border-radius: 10px;

            color: #aeb3bc;

            font-size: 12.5px;
            line-height: 1.6;
        }


        /* =========================================================
           RESPONSIVE TABLET / MOBILE
           ========================================================= */

        @media (max-width: 600px) {
            

            .case-summary-card {
                padding:
                    76px
                    16px
                    20px;

                border-radius: 15px;
            }

            .case-top {
                align-items: flex-start;

                padding: 14px;
            }

            .case-top strong {
                min-width: 180px;

                font-size: 15px;
            }

            .case-ref-pill {
                width: fit-content;
            }

            .case-account-box {
                grid-template-columns:
                    82px
                    minmax(0, 1fr);

                gap: 14px;

                padding: 14px;
            }

            .case-avatar {
                width: 78px;
                height: 78px;

                border-radius: 15px;
            }

            .case-display-name {
                font-size: 16px;
            }

            .case-handle,
            .case-id-line,
            .case-body-copy {
                font-size: 13px;
            }
        }


        /* =========================================================
           VERY SMALL MOBILE
           ========================================================= */

        @media (max-width: 390px) {
            .case-account-box {
                grid-template-columns:
                    72px
                    minmax(0, 1fr);

                gap: 12px;
            }

            .case-avatar {
                width: 68px;
                height: 68px;

                border-radius: 13px;
            }

            .case-display-name {
                font-size: 15px;
            }

            .case-top {
                display: grid;
            }

            .case-top strong {
                min-width: 0;
            }
        }
    

    /* ===== Merged Preview A notice ===== */
    #notice-stage {
      width: 100%;
      display: none;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .28s ease, transform .28s ease;
    }

    #notice-stage.is-visible {
      display: block;
    }

    #notice-stage.is-entered {
      opacity: 1;
      transform: translateY(0);
    }

    #landing-stage {
      width: 100%;
      transition: opacity .22s ease, transform .22s ease;
    }

    #landing-stage.is-leaving {
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
    }

    .lookup-status {
      min-height: 20px;
      margin: 11px 2px 0;
      font-size: 12.5px;
      color: var(--muted-2);
      line-height: 1.45;
    }

    .lookup-status.error {
      color: #ff7b7d;
    }

    .lookup-status.success {
      color: #62d38f;
    }

    .lookup-button-content {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .spinner {
      width: 15px;
      height: 15px;
      border: 2px solid rgba(255,255,255,.34);
      border-top-color: white;
      border-radius: 50%;
      animation: spin .7s linear infinite;
      display: none;
    }

    button.is-loading .spinner {
      display: inline-block;
    }

    button:disabled {
      cursor: wait;
      opacity: .72;
      transform: none !important;
      filter: none !important;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .notice-actions {
      display: flex;
      justify-content: flex-end;
      margin: -44px 0 16px;
      position: relative;
      z-index: 3;
    }

    .secondary-action {
      min-width: 0;
      height: 38px;
      padding: 0 13px;
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 9px;
      background: rgba(255,255,255,.04);
      color: #d7dae0;
      box-shadow: none;
      font-size: 12px;
      font-weight: 750;
    }

    .secondary-action:hover {
      background: rgba(255,255,255,.07);
      box-shadow: none;
      transform: none;
    }

    .guide-link::after {
      content: "â†—";
      margin-left: 4px;
      font-size: 10px;
      vertical-align: 1px;
    }

    /* Prevent any placeholder content from flashing before a successful lookup. */
    #notice-template[hidden] {
      display: none !important;
    }

    @media (max-width: 600px) {
      .notice-actions {
        margin: -42px 0 14px;
      }

      .secondary-action {
        height: 36px;
        font-size: 11.5px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #notice-stage,
      #landing-stage {
        transition: none;
      }

      .spinner {
        animation-duration: 1.2s;
      }

      html {
        scroll-behavior: auto;
      }
    }

  

/* ===== Normal Discord profile result ===== */
#profile-stage {
  width: 100%;
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease;
}

#profile-stage.is-visible {
  display: block;
}

#profile-stage.is-entered {
  opacity: 1;
  transform: translateY(0);
}

.normal-profile-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(88,101,242,.10), transparent 34%),
    rgba(21,23,28,.96);
  box-shadow: var(--shadow);
}

.normal-profile-card[hidden] {
  display: none !important;
}

.normal-profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.normal-profile-header {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.07), transparent 46%),
    var(--surface-2);
}

.normal-profile-avatar {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: cover;
  border: 3px solid rgba(88,101,242,.48);
  border-radius: 18px;
  background: #111214;
  box-shadow:
    0 8px 22px rgba(0,0,0,.28),
    0 0 0 4px rgba(88,101,242,.07);
}

.normal-profile-identity {
  min-width: 0;
}

.normal-profile-kicker {
  margin: 0 0 6px;
  color: #aeb4ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.normal-profile-identity h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.normal-profile-identity > p:last-child {
  margin: 6px 0 0;
  color: var(--muted-2);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.normal-profile-type {
  align-self: start;
  padding: 7px 10px;
  border: 1px solid rgba(88,101,242,.25);
  border-radius: 999px;
  background: rgba(88,101,242,.10);
  color: #cdd1ff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.normal-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.normal-profile-field {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.normal-profile-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.normal-profile-field strong {
  display: block;
  color: #dfe2e7;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.normal-profile-footer {
  margin: 16px 2px 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 700px) {
  .normal-profile-card {
    padding: 16px;
  }

  .normal-profile-header {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .normal-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .normal-profile-type {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .normal-profile-grid {
    grid-template-columns: 1fr;
  }

  .normal-profile-identity h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #profile-stage {
    transition: none;
  }
}


footer .privacy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .privacy-link:hover {
  color: #cdd1ff;
}

/* ===== External review contact CTA ===== */
.review-contact-card {
  position: relative;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px 20px;
  overflow: hidden;
  border-color: rgba(88, 101, 242, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(88, 101, 242, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(88, 101, 242, 0.06), rgba(255, 255, 255, 0.015)),
    var(--demo-surface);
}

.review-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #5865f2, #8b5cf6);
}

.review-contact-avatar {
  width: 88px;
  height: 88px;
  margin-top: 3px;
  border-radius: 16px;
}

.review-contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.review-contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 8px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.10);
  color: #b8c0ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.review-contact-meta {
  display: grid;
  gap: 1px;
}

.review-contact-meta .case-id-line {
  margin: 3px 0;
}

.review-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 14px;
}

.review-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 10px;
  background: #5865f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.review-contact-button:hover {
  transform: translateY(-1px);
  background: #6571f5;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.24);
}

.review-contact-button:focus-visible {
  outline: 3px solid rgba(88, 101, 242, 0.34);
  outline-offset: 3px;
}

.review-contact-disclaimer {
  max-width: 360px;
  color: var(--demo-muted-2);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .review-contact-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .review-contact-avatar {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }

  .review-contact-label {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .review-contact-actions {
    width: 100%;
    align-items: stretch;
  }

  .review-contact-button {
    width: 100%;
    min-height: 44px;
  }

  .review-contact-disclaimer {
    max-width: none;
  }
}

@media (max-width: 390px) {
  .review-contact-card {
    grid-template-columns: 1fr;
  }

  .review-contact-avatar {
    width: 72px;
    height: 72px;
  }
}
/* ===== Notice single-screen desktop fit mode ===== */
@media (min-width: 760px) {
  body.notice-open {
    overflow: hidden;
  }

  body.notice-open .topbar,
  body.notice-open > .page-shell > footer {
    display: none;
  }

  body.notice-open main {
    min-height: 100vh;
    height: 100vh;
    padding: 8px 14px;
    overflow: hidden;
    place-items: center;
  }

  body.notice-open #notice-stage {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  body.notice-open .case-summary-card {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 46px 18px 12px;
    border-radius: 16px;
    line-height: 1.32;
    box-shadow: 0 18px 50px rgba(0,0,0,.36);
  }

  body.notice-open .case-summary-card::before {
    padding: 8px 16px;
    font-size: 10px;
    line-height: 14px;
  }

  body.notice-open .case-summary-card > img:first-child {
    top: 38px;
    right: 12px;
    width: 58px;
    height: 58px;
  }

  body.notice-open .notice-actions {
    position: absolute;
    top: 7px;
    right: 10px;
    margin: 0;
  }
  body.notice-open .secondary-action {
    height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }

  body.notice-open .case-top {
    gap: 8px;
    margin-bottom: 10px;
    padding: 9px 12px;
    border-radius: 10px;
  }

  body.notice-open .case-top strong {
    min-width: 180px;
    font-size: 14px;
  }

  body.notice-open .case-ref-pill {
    padding: 5px 8px;
    font-size: 10px;
  }

  body.notice-open .case-section-title {
    margin: 10px 0 6px;
    padding-left: 10px;
    font-size: 13px;
  }
  body.notice-open .case-account-box {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
  }

  body.notice-open .case-avatar,
  body.notice-open .review-contact-avatar {
    width: 58px;
    height: 58px;
    border-width: 2px;
    border-radius: 12px;
  }

  body.notice-open .case-display-name {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.2;
  }

  body.notice-open .case-handle {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.25;
  }

  body.notice-open .case-id-line {
    margin: 2px 0;
    font-size: 11px;
    line-height: 1.25;
  }
  body.notice-open .case-body-copy {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 7px 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  body.notice-open .case-body-copy > br {
    display: none;
  }

  body.notice-open .case-body-copy > p:first-child {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 9px 10px;
    border-left-width: 3px;
  }

  body.notice-open .case-bullets {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    gap: 6px;
    margin: 0;
  }
  body.notice-open .case-bullets li {
    margin: 0;
    padding: 8px 9px 8px 31px;
    border-radius: 8px;
  }

  body.notice-open .case-bullets li::before {
    top: 9px;
    left: 9px;
    width: 15px;
    height: 15px;
    font-size: 9px;
  }

  body.notice-open .case-body-copy > hr {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  body.notice-open .case-body-copy > p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }

  body.notice-open .case-body-copy > .case-section-title {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 2px 0 0;
  }
  body.notice-open .review-contact-card {
    grid-template-columns: 62px minmax(0,1fr);
    gap: 10px;
    padding: 9px 11px;
  }

  body.notice-open .review-contact-label {
    margin-bottom: 4px;
    padding: 3px 6px;
    font-size: 8px;
  }

  body.notice-open .review-contact-actions {
    gap: 7px;
    margin-top: 7px;
  }

  body.notice-open .review-contact-button {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 10px;
  }

  body.notice-open .review-contact-disclaimer {
    max-width: none;
    font-size: 9px;
    line-height: 1.25;
  }
  body.notice-open .case-footer-note {
    margin: 8px 0 0;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 9.5px;
    line-height: 1.3;
  }
}

@media (min-width: 760px) and (max-height: 780px) {
  body.notice-open .case-summary-card {
    width: min(100%, 1160px);
    padding-top: 42px;
  }

  body.notice-open .case-section-title {
    margin-top: 7px;
  }

  body.notice-open .case-footer-note {
    margin-top: 6px;
  }
}
/* ===== Notice readability / larger desktop placement ===== */
@media (min-width: 1180px) and (min-height: 820px) {
  body.notice-open main {
    padding: 18px 26px;
  }

  body.notice-open .case-summary-card {
    width: min(calc(100vw - 96px), 1280px);
    padding: 52px 24px 16px;
    border-radius: 18px;
    line-height: 1.38;
  }

  body.notice-open .case-summary-card::before {
    padding: 10px 18px;
    font-size: 11px;
    line-height: 15px;
  }

  body.notice-open .notice-actions {
    top: 9px;
    right: 12px;
  }

  body.notice-open .secondary-action {
    height: 32px;
    padding: 0 11px;
    font-size: 11px;
  }
  body.notice-open .case-top {
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 14px;
  }

  body.notice-open .case-top strong {
    font-size: 15px;
  }

  body.notice-open .case-ref-pill {
    padding: 6px 9px;
    font-size: 11px;
  }

  body.notice-open .case-section-title {
    margin: 12px 0 7px;
    padding-left: 11px;
    font-size: 14.5px;
  }

  body.notice-open .case-account-box {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 13px;
    padding: 11px 13px;
  }
  body.notice-open .case-avatar,
  body.notice-open .review-contact-avatar {
    width: 68px;
    height: 68px;
    border-radius: 13px;
  }

  body.notice-open .case-display-name {
    margin-bottom: 3px;
    font-size: 16px;
  }

  body.notice-open .case-handle {
    margin-bottom: 6px;
    font-size: 12.5px;
  }

  body.notice-open .case-id-line {
    margin: 3px 0;
    font-size: 12.5px;
    line-height: 1.3;
  }

  body.notice-open .case-body-copy {
    gap: 9px 12px;
    font-size: 12.3px;
    line-height: 1.42;
  }
  body.notice-open .case-body-copy > p:first-child {
    padding: 11px 12px;
  }

  body.notice-open .case-bullets {
    gap: 8px;
  }

  body.notice-open .case-bullets li {
    padding: 10px 11px 10px 35px;
  }

  body.notice-open .case-bullets li::before {
    top: 11px;
    left: 11px;
    width: 16px;
    height: 16px;
    font-size: 9.5px;
  }

  body.notice-open .review-contact-card {
    grid-template-columns: 74px minmax(0,1fr);
    gap: 12px;
    padding: 11px 13px;
  }
  body.notice-open .review-contact-label {
    margin-bottom: 5px;
    padding: 4px 7px;
    font-size: 9px;
  }

  body.notice-open .review-contact-actions {
    gap: 8px 10px;
    margin-top: 8px;
  }

  body.notice-open .review-contact-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11.5px;
  }

  body.notice-open .review-contact-disclaimer {
    font-size: 10px;
    line-height: 1.3;
  }

  body.notice-open .case-footer-note {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 10.5px;
    line-height: 1.34;
  }
}
/* ===== Clean notice information hierarchy ===== */
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 10px 12px;
  align-items: stretch;
}

.review-primary-card,
.review-secondary-stack {
  min-width: 0;
}

.review-primary-card > p {
  height: 100%;
  margin: 0;
  padding: 12px 13px;
  background: rgba(242, 63, 66, 0.065);
  border: 1px solid rgba(242, 63, 66, 0.20);
  border-left: 4px solid var(--demo-danger);
  border-radius: 10px;
}

.review-secondary-stack .case-bullets {
  display: grid;
  gap: 8px;
  margin: 0;
}
.review-secondary-stack .case-bullets li {
  margin: 0;
  height: 100%;
}

.review-clarification {
  grid-column: 1 / -1;
  margin-top: 1px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.022);
}

.review-clarification p {
  margin: 0;
  color: var(--demo-muted);
}

.review-contact-heading {
  grid-column: 1 / -1;
  margin-bottom: -1px !important;
}

@media (max-width: 759px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-clarification,
  .review-contact-heading {
    grid-column: 1;
  }
}
@media (min-width: 760px) {
  body.notice-open .case-body-copy.review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 8px 10px;
  }

  body.notice-open .review-primary-card > p {
    height: 100%;
    margin: 0;
    padding: 10px 11px;
    border-left-width: 3px;
  }

  body.notice-open .review-secondary-stack .case-bullets {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    gap: 7px;
    margin: 0;
  }

  body.notice-open .review-secondary-stack .case-bullets li {
    margin: 0;
    padding: 9px 10px 9px 33px;
  }
  body.notice-open .review-secondary-stack .case-bullets li::before {
    top: 10px;
    left: 10px;
  }

  body.notice-open .review-clarification {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 7px 10px;
    font-size: 10.8px;
    line-height: 1.35;
  }

  body.notice-open .review-contact-heading {
    grid-column: 1 / -1;
    grid-row: auto;
    margin: 1px 0 0 !important;
  }
}

@media (min-width: 1180px) and (min-height: 820px) {
  body.notice-open .case-summary-card {
    width: min(calc(100vw - 88px), 1320px);
    padding: 52px 24px 16px;
  }

  body.notice-open .case-body-copy.review-layout {
    gap: 10px 12px;
    font-size: 12.4px;
    line-height: 1.4;
  }
  body.notice-open .review-primary-card > p {
    padding: 12px 13px;
  }

  body.notice-open .review-secondary-stack .case-bullets {
    gap: 9px;
  }

  body.notice-open .review-secondary-stack .case-bullets li {
    padding: 11px 12px 11px 37px;
  }

  body.notice-open .review-secondary-stack .case-bullets li::before {
    top: 12px;
    left: 12px;
  }

  body.notice-open .review-clarification {
    padding: 9px 12px;
    font-size: 11.4px;
    line-height: 1.4;
  }

  body.notice-open .review-contact-heading {
    margin-top: 2px !important;
  }
}
/* ===== Reported profile card: compact profile lookup style ===== */
.reported-profile-card {
  display: grid;
  gap: 10px;
  padding: 0;
}

.reported-profile-header {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--demo-border);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.07), transparent 46%),
    var(--demo-surface);
}

.reported-profile-avatar {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 2px solid rgba(88,101,242,.48);
  border-radius: 14px;
  background: #111214;
  box-shadow: 0 7px 18px rgba(0,0,0,.24), 0 0 0 3px rgba(88,101,242,.07);
}
.reported-profile-identity {
  min-width: 0;
}

.reported-profile-kicker {
  margin: 0 0 4px;
  color: #aeb4ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.reported-profile-name {
  margin: 0;
  color: var(--demo-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.reported-profile-handle {
  margin: 4px 0 0;
  color: var(--demo-muted-2);
  font-size: 11.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.reported-profile-type {
  align-self: start;
  padding: 6px 9px;
  border: 1px solid rgba(88,101,242,.28);
  border-radius: 999px;
  background: rgba(88,101,242,.10);
  color: #cdd1ff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.reported-profile-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}

.reported-profile-field {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--demo-border);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.reported-profile-field > span {
  display: block;
  margin-bottom: 4px;
  color: var(--demo-muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.reported-profile-field > strong {
  display: block;
  color: #e4e6eb;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
@media (min-width:760px) {
  body.notice-open .reported-profile-card {
    gap: 7px;
  }

  body.notice-open .reported-profile-header {
    grid-template-columns: 60px minmax(0,1fr) auto;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
  }

  body.notice-open .reported-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 11px;
  }

  body.notice-open .reported-profile-kicker {
    margin-bottom: 2px;
    font-size: 7.5px;
  }

  body.notice-open .reported-profile-name {
    font-size: 13.5px;
  }

  body.notice-open .reported-profile-handle {
    margin-top: 2px;
    font-size: 10px;
  }

  body.notice-open .reported-profile-type {
    padding: 4px 7px;
    font-size: 8.5px;
  }

  body.notice-open .reported-profile-grid {
    gap: 6px;
  }
  body.notice-open .reported-profile-field {
    padding: 7px 9px;
    border-radius: 8px;
  }

  body.notice-open .reported-profile-field > span {
    margin-bottom: 2px;
    font-size: 7.5px;
  }

  body.notice-open .reported-profile-field > strong {
    font-size: 10px;
    line-height: 1.2;
  }
}

@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .reported-profile-header {
    grid-template-columns: 72px minmax(0,1fr) auto;
    gap: 12px;
    padding: 10px 12px;
  }

  body.notice-open .reported-profile-avatar {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  body.notice-open .reported-profile-kicker {
    font-size: 8.5px;
  }

  body.notice-open .reported-profile-name {
    font-size: 15px;
  }

  body.notice-open .reported-profile-handle {
    font-size: 11px;
  }

  body.notice-open .reported-profile-type {
    padding: 5px 8px;
    font-size: 9.5px;
  }

  body.notice-open .reported-profile-field {
    padding: 8px 10px;
  }

  body.notice-open .reported-profile-field > span {
    font-size: 8.5px;
  }

  body.notice-open .reported-profile-field > strong {
    font-size: 11px;
  }
}
@media (max-width:620px) {
  .reported-profile-header {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 11px;
    padding: 12px;
  }

  .reported-profile-avatar {
    width: 58px;
    height: 58px;
  }

  .reported-profile-type {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .reported-profile-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Balanced case composition v2 â€” layout only ===== */
.reported-profile-header {
  grid-template-columns: 78px minmax(0,1fr);
}

@media (min-width:760px) {
  body.notice-open .reported-profile-header {
    grid-template-columns: 60px minmax(0,1fr);
  }
}

@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .reported-profile-header {
    grid-template-columns: 72px minmax(0,1fr);
  }
}

@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .case-summary-card {
    width: min(calc(100vw - 92px), 1340px);
    padding: 54px 26px 16px;
    background:
      radial-gradient(circle at 84% 12%, rgba(88,101,242,.095), transparent 28%),
      var(--demo-bg);
  }

  body.notice-open .case-top {
    min-height: 48px;
    padding: 10px 14px;
    background:
      linear-gradient(90deg, rgba(88,101,242,.055), transparent 42%),
      var(--demo-surface);
  }
}
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .case-section-title {
    margin: 13px 0 7px;
    font-size: 14px;
    letter-spacing: -.01em;
  }

  body.notice-open .reported-profile-card {
    gap: 8px;
  }

  body.notice-open .reported-profile-header {
    padding: 11px 13px;
  }

  body.notice-open .reported-profile-grid {
    gap: 8px;
  }

  body.notice-open .reported-profile-field {
    min-height: 46px;
    padding: 8px 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.notice-open .review-primary-card > p,
  body.notice-open .review-secondary-stack .case-bullets li {
    display: flex;
    align-items: flex-start;
  }

  body.notice-open .review-primary-card > p {
    min-height: 112px;
  }

  body.notice-open .review-secondary-stack .case-bullets li {
    min-height: 51px;
  }
}
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .review-contact-card {
    grid-template-columns: 76px minmax(0,1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    min-height: 126px;
  }

  body.notice-open .review-contact-content {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(270px, 340px);
    grid-template-areas:
      "label actions"
      "name actions"
      "handle actions"
      "meta actions";
    align-items: center;
    column-gap: 24px;
    row-gap: 1px;
  }

  body.notice-open .review-contact-label {
    grid-area: label;
    justify-self: start;
    margin-bottom: 3px;
  }

  body.notice-open .review-contact-content > .case-display-name {
    grid-area: name;
  }

  body.notice-open .review-contact-content > .case-handle {
    grid-area: handle;
  }

  body.notice-open .review-contact-meta {
    grid-area: meta;
    margin-top: 4px;
  }

  body.notice-open .review-contact-actions {
    grid-area: actions;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }
  body.notice-open .review-contact-button {
    min-width: 170px;
    min-height: 38px;
  }

  body.notice-open .review-contact-disclaimer {
    max-width: 320px;
    text-align: right;
    font-size: 9.8px;
    line-height: 1.35;
  }

  body.notice-open .case-footer-note {
    margin-top: 9px;
    padding: 8px 11px;
    border-color: rgba(88,101,242,.14);
    background: rgba(88,101,242,.04);
  }
}

@media (max-width:1179px) {
  .review-contact-content {
    display: block;
  }
}
/* ===== Review copy flow correction â€” layout only ===== */
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .review-primary-card > p,
  body.notice-open .review-secondary-stack .case-bullets li {
    display: block;
  }

  body.notice-open .review-primary-card > p strong,
  body.notice-open .review-secondary-stack .case-bullets li strong {
    display: inline;
    margin: 0;
    font-weight: 800;
  }

  body.notice-open .review-primary-card > p {
    min-height: 0;
    padding: 13px 14px;
    line-height: 1.48;
  }

  body.notice-open .review-secondary-stack .case-bullets li {
    min-height: 0;
    padding: 11px 13px 11px 38px;
    line-height: 1.45;
  }

  body.notice-open .review-secondary-stack .case-bullets li::before {
    top: 12px;
  }
}
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .reported-profile-header {
    min-height: 72px;
  }

  body.notice-open .reported-profile-name {
    font-size: 15.5px;
    letter-spacing: -.01em;
  }

  body.notice-open .reported-profile-handle {
    margin-top: 3px;
    color: #a6acb5;
  }

  body.notice-open .reported-profile-field {
    background: rgba(255,255,255,.018);
  }

  body.notice-open .review-clarification {
    background: rgba(255,255,255,.018);
    border-color: rgba(255,255,255,.065);
  }

  body.notice-open .review-contact-card {
    background:
      linear-gradient(90deg, rgba(88,101,242,.11), transparent 38%),
      var(--demo-surface);
  }
}
/* ===== Dashboard collage composition ===== */
.case-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  gap: 16px;
  align-items: stretch;
}

.case-dashboard-section {
  min-width: 0;
}

.case-dashboard-section > .case-section-title {
  margin-top: 0;
}

.case-dashboard-profile {
  display: flex;
  flex-direction: column;
}

.case-dashboard-profile .reported-profile-card {
  flex: 1;
}

@media (max-width: 980px) {
  .case-dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .case-dashboard-grid {
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1.38fr);
    gap: 18px;
  }

  body.notice-open .case-dashboard-section > .case-section-title {
    margin: 4px 0 8px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-card {
    display: grid;
    grid-template-rows: minmax(150px, 1fr) auto;
    gap: 9px;
    height: calc(100% - 27px);
  }

  body.notice-open .case-dashboard-profile .reported-profile-header {
    height: 100%;
    min-height: 150px;
    grid-template-columns: 88px minmax(0,1fr);
    gap: 16px;
    padding: 18px;
    background:
      radial-gradient(circle at 15% 20%, rgba(88,101,242,.16), transparent 40%),
      linear-gradient(145deg, rgba(88,101,242,.075), transparent 55%),
      var(--demo-surface);
  }

  body.notice-open .case-dashboard-profile .reported-profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 16px;
  }
  body.notice-open .case-dashboard-profile .reported-profile-name {
    font-size: 18px;
    margin-bottom: 2px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-handle {
    font-size: 12px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-field {
    min-height: 52px;
    padding: 10px 11px;
  }

  body.notice-open .case-dashboard-review .review-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body.notice-open .case-dashboard-review .review-primary-card {
    grid-column: 1;
  }

  body.notice-open .case-dashboard-review .review-secondary-stack {
    grid-column: 1;
  }
  body.notice-open .case-dashboard-review .review-secondary-stack .case-bullets {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }

  body.notice-open .case-dashboard-review .review-secondary-stack .case-bullets li {
    height: 100%;
    padding: 11px 12px 11px 37px;
  }

  body.notice-open .case-dashboard-review .review-clarification {
    grid-column: 1;
    padding: 9px 11px;
  }

  body.notice-open .case-dashboard-review .review-primary-card > p {
    padding: 12px 13px;
  }

  body.notice-open .review-contact-heading {
    margin-top: 12px !important;
  }

  body.notice-open .review-contact-card {
    min-height: 108px;
    padding: 11px 14px;
  }
}
/* ===== Marked-notice factual Discord-style profile hero ===== */
.case-dashboard-profile .reported-profile-card {
  position: relative;
  overflow: hidden;
  display: block;
  height: auto;
  border: 1px solid #3f4147;
  border-radius: 12px;
  background: #1e1f22;
  box-shadow: none;
}

.case-dashboard-profile .reported-profile-banner {
  position: relative;
  height: 96px;
  overflow: hidden;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--reported-accent, #5865f2) 82%, #ffffff 0%),
      color-mix(in srgb, var(--reported-accent, #5865f2) 58%, #111214 42%));
}

.case-dashboard-profile .reported-profile-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-dashboard-profile .reported-profile-banner-image[hidden] {
  display: none;
}
.case-dashboard-profile .reported-profile-hero {
  position: relative;
  padding: 48px 16px 14px;
  min-height: 112px;
  background: #1e1f22;
}

.case-dashboard-profile .reported-profile-avatar-wrap {
  position: absolute;
  top: -46px;
  left: 16px;
  width: 92px;
  height: 92px;
  padding: 6px;
  border-radius: 50%;
  background: #1e1f22;
}

.case-dashboard-profile .reported-profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
  background: #313338;
  box-shadow: none;
}

.case-dashboard-profile .reported-profile-identity {
  min-width: 0;
}

.case-dashboard-profile .reported-profile-name {
  margin: 0;
  color: #f2f3f5;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.case-dashboard-profile .reported-profile-handle {
  margin: 4px 0 0;
  color: #b5bac1;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.case-dashboard-profile .reported-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  padding: 0 12px 12px;
  background: #1e1f22;
}

.case-dashboard-profile .reported-profile-field {
  min-width: 0;
  min-height: 50px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #35373d;
  border-radius: 8px;
  background: #232428;
}

.case-dashboard-profile .reported-profile-field > span {
  display: block;
  margin: 0 0 3px;
  color: #949ba4;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-dashboard-profile .reported-profile-field > strong {
  display: block;
  color: #f2f3f5;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
@media (min-width:1180px) and (min-height:820px) {
  body.notice-open .case-dashboard-profile .reported-profile-card {
    display: block;
    height: auto;
  }

  body.notice-open .case-dashboard-profile .reported-profile-banner {
    height: 102px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-hero {
    min-height: 118px;
    padding: 51px 17px 14px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-avatar-wrap {
    top: -49px;
    left: 17px;
    width: 98px;
    height: 98px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }

  body.notice-open .case-dashboard-profile .reported-profile-name {
    font-size: 21px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-handle {
    font-size: 13px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-grid {
    gap: 8px;
    padding: 0 12px 12px;
  }

  body.notice-open .case-dashboard-profile .reported-profile-field {
    min-height: 50px;
    padding: 9px 10px;
  }
}
@media (max-width:620px) {
  .case-dashboard-profile .reported-profile-banner {
    height: 86px;
  }

  .case-dashboard-profile .reported-profile-hero {
    padding: 44px 14px 12px;
  }

  .case-dashboard-profile .reported-profile-avatar-wrap {
    top: -42px;
    left: 14px;
    width: 84px;
    height: 84px;
  }

  .case-dashboard-profile .reported-profile-name {
    font-size: 18px;
  }

  .case-dashboard-profile .reported-profile-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Review Contact balanced 3-zone layout ===== */
@media (min-width: 1180px) and (min-height: 820px) {
  body.notice-open .review-contact-card {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 116px;
    padding: 12px 16px;
  }

  body.notice-open .review-contact-avatar {
    width: 70px;
    height: 70px;
    margin: 0;
    align-self: center;
  }

  body.notice-open .review-contact-content {
    display: grid;
    grid-template-columns:
      minmax(280px, 1.08fr)
      minmax(220px, .82fr)
      minmax(250px, .88fr);
    grid-template-areas:
      "label meta actions"
      "name  meta actions"
      "handle meta actions";
    align-items: center;
    column-gap: 22px;
    row-gap: 2px;
    width: 100%;
  }

  body.notice-open .review-contact-label {
    grid-area: label;
    justify-self: start;
    margin: 0 0 3px;
  }

  body.notice-open .review-contact-content > .case-display-name {
    grid-area: name;
    margin: 0;
  }

  body.notice-open .review-contact-content > .case-handle {
    grid-area: handle;
    margin: 2px 0 0;
  }

  body.notice-open .review-contact-meta {
    grid-area: meta;
    display: grid;
    gap: 5px;
    align-content: center;
    margin: 0;
    padding: 3px 22px;
    border-left: 1px solid rgba(255,255,255,.07);
    border-right: 1px solid rgba(255,255,255,.07);
  }

  body.notice-open .review-contact-meta .case-id-line {
    margin: 0;
    line-height: 1.35;
  }

  body.notice-open .review-contact-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin: 0;
    min-width: 0;
  }

  body.notice-open .review-contact-button {
    min-width: 180px;
    min-height: 38px;
  }

  body.notice-open .review-contact-disclaimer {
    max-width: 270px;
    text-align: left;
    line-height: 1.35;
  }
}


/* ===== Review Contact balance for normal desktop heights ===== */
@media (min-width: 1180px) {
  body.notice-open .review-contact-card {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 112px;
    padding: 11px 15px;
  }

  body.notice-open .review-contact-avatar {
    width: 68px;
    height: 68px;
    margin: 0;
    align-self: center;
  }

  body.notice-open .review-contact-content {
    display: grid;
    grid-template-columns:
      minmax(260px, 1.02fr)
      minmax(220px, .82fr)
      minmax(230px, .80fr);
    grid-template-areas:
      "label meta actions"
      "name  meta actions"
      "handle meta actions";
    align-items: center;
    column-gap: 20px;
    row-gap: 1px;
    width: 100%;
  }

  body.notice-open .review-contact-label {
    grid-area: label;
    justify-self: start;
    margin: 0 0 3px;
  }

  body.notice-open .review-contact-content > .case-display-name {
    grid-area: name;
    margin: 0;
  }

  body.notice-open .review-contact-content > .case-handle {
    grid-area: handle;
    margin: 2px 0 0;
  }

  body.notice-open .review-contact-meta {
    grid-area: meta;
    display: grid;
    gap: 4px;
    align-content: center;
    margin: 0;
    padding: 2px 18px;
    border-left: 1px solid rgba(255,255,255,.07);
    border-right: 1px solid rgba(255,255,255,.07);
  }

  body.notice-open .review-contact-meta .case-id-line {
    margin: 0;
    line-height: 1.3;
  }

  body.notice-open .review-contact-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 0;
    min-width: 0;
  }

  body.notice-open .review-contact-button {
    min-width: 172px;
    min-height: 36px;
  }

  body.notice-open .review-contact-disclaimer {
    max-width: 255px;
    text-align: left;
    line-height: 1.3;
  }
}

/* =========================================================
   DISCORD UI UPGRADE â€” VISUAL LAYER ONLY
   Context/content/JS behavior intentionally untouched.
   ========================================================= */

:root {
  --ui-bg: #0b0d12;
  --ui-surface: rgba(20, 23, 31, .88);
  --ui-surface-strong: rgba(24, 27, 37, .96);
  --ui-border: rgba(255,255,255,.075);
  --ui-border-hover: rgba(88,101,242,.42);
  --ui-glow: rgba(88,101,242,.20);
  --ui-text: #f2f3f5;
  --ui-muted: #a7adb9;
}

body {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(88,101,242,.20), transparent 65%),
    radial-gradient(760px 460px at 92% 4%, rgba(124,134,255,.13), transparent 62%),
    radial-gradient(900px 520px at 50% 108%, rgba(88,101,242,.09), transparent 65%),
    var(--ui-bg);
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 72%);
}

.topbar {
  width: min(1220px, calc(100% - 36px));
  padding: 22px 0;
}

.brand {
  font-size: 14px;
  transition: opacity .18s ease, transform .18s ease;
}

.brand:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 8px 26px rgba(88,101,242,.28);
}

.top-pill {
  padding: 8px 12px;
  background: rgba(20,23,31,.64);
  border-color: rgba(255,255,255,.09);
}

main {
  padding-top: 54px;
}

.hero {
  max-width: 920px;
}

.eyebrow {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}

h1 {
  text-wrap: balance;
}

.subtitle {
  color: #aeb4c0;
}

.lookup-card {
  margin-top: 34px;
  padding: 25px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.075), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 45%),
    rgba(18,21,29,.92);
  border-color: rgba(255,255,255,.095);
  box-shadow:
    0 28px 90px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.lookup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(88,101,242,.035);
}

.input-wrap input,
#lookup-button {
  min-height: 52px;
}

.input-wrap input {
  border-radius: 13px;
  background: rgba(9,11,16,.78);
  border-color: rgba(255,255,255,.09);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.input-wrap input:hover {
  border-color: rgba(255,255,255,.14);
}

.input-wrap input:focus {
  background: rgba(10,12,18,.92);
  border-color: rgba(88,101,242,.68);
  box-shadow: 0 0 0 4px rgba(88,101,242,.12);
}

#lookup-button {
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(88,101,242,.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#lookup-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(88,101,242,.28);
  filter: brightness(1.04);
}

#lookup-button:active:not(:disabled) {
  transform: translateY(0);
}

.helper-row {
  margin-top: 15px;
}

.guide-link {
  text-underline-offset: 3px;
}

.normal-profile-card,
.case-summary-card {
  width: min(100%, 1120px);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.055), transparent 32%),
    rgba(17,20,27,.95);
  border-color: rgba(255,255,255,.085);
  box-shadow:
    0 30px 100px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(22px);
}

.normal-profile-card {
  padding: 30px;
}

.normal-profile-actions,
.notice-actions {
  margin-bottom: 22px;
}

.secondary-action {
  border-radius: 10px;
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.secondary-action:hover {
  border-color: rgba(88,101,242,.40);
  background: rgba(88,101,242,.09);
  transform: translateY(-1px);
}

.normal-profile-header {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(88,101,242,.14), transparent 42%),
    rgba(255,255,255,.018);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.normal-profile-avatar {
  border: 3px solid rgba(88,101,242,.40);
  box-shadow:
    0 12px 32px rgba(0,0,0,.34),
    0 0 0 5px rgba(88,101,242,.065);
}

.normal-profile-type {
  border-color: rgba(88,101,242,.25);
  background: rgba(88,101,242,.09);
}

.normal-profile-grid {
  gap: 12px;
  margin-top: 14px;
}

.normal-profile-field {
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.065);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.normal-profile-field:hover {
  border-color: rgba(88,101,242,.28);
  background: rgba(88,101,242,.045);
  transform: translateY(-1px);
}

.normal-profile-footer {
  color: #858c99;
}

.case-summary-card {
  overflow: hidden;
}

.case-summary-card .case-top {
  background:
    linear-gradient(90deg, rgba(88,101,242,.075), transparent 65%),
    rgba(255,255,255,.018);
  border-color: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.case-dashboard-section,
.reported-profile-card,
.review-primary-card,
.review-secondary-stack > *,
.review-clarification,
.review-contact-card {
  border-color: rgba(255,255,255,.075);
}

.reported-profile-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.018);
  box-shadow: 0 16px 40px rgba(0,0,0,.20);
}

.reported-profile-hero {
  background: linear-gradient(145deg, rgba(88,101,242,.08), transparent 52%);
}

.review-primary-card,
.review-secondary-stack > *,
.review-clarification {
  border-radius: 14px;
}

.review-contact-card {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.065), transparent 48%),
    rgba(255,255,255,.018);
}

.review-contact-button {
  border-radius: 11px;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.review-contact-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(88,101,242,.18);
}

footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: #707784;
}

@media (max-width: 720px) {
  .topbar {
    width: min(100% - 24px, 1220px);
    padding: 16px 0;
  }

  .top-pill {
    font-size: 11px;
  }

  main {
    padding: 30px 12px 56px;
  }

  .lookup-card {
    padding: 18px;
    border-radius: 19px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  #lookup-button {
    width: 100%;
  }

  .normal-profile-card,
  .case-summary-card {
    border-radius: 19px;
  }

  .normal-profile-card {
    padding: 20px;
  }

  .normal-profile-header {
    padding: 17px;
  }

  .case-summary-card {
    padding: 18px;
  }

  footer {
    width: min(100% - 24px, 1120px);
    font-size: 11px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Full profile-context layer: keeps the existing notice UI untouched while expanding
   the ordinary profile result into a complete public-user dossier. */
.normal-profile-visual {
  position: relative;
  min-width: 0;
}

.normal-profile-banner {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 0%, rgba(88,101,242,.28), transparent 48%),
    rgba(255,255,255,.025);
}

.normal-profile-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10,12,17,.46) 100%);
  pointer-events: none;
}

.normal-profile-banner img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.normal-profile-banner:not(.has-image) {
  background:
    radial-gradient(circle at 20% 20%, rgba(88,101,242,.20), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(88,101,242,.11), transparent 38%),
    rgba(255,255,255,.025);
}

.normal-profile-avatar-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 22px;
  z-index: 2;
}

.normal-profile-avatar {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 22px;
  background: #11141b;
}

.normal-avatar-decoration {
  position: absolute;
  inset: -12px;
  width: 128px;
  height: 128px;
  object-fit: contain;
  pointer-events: none;
}

.normal-profile-identity {
  min-width: 0;
  padding: 18px 22px 0;
}

.normal-profile-identity h2,
.normal-profile-identity p {
  overflow-wrap: anywhere;
}

.normal-profile-global-name {
  margin-top: 5px;
  color: #8f96a3;
  font-size: 12px;
}

.normal-profile-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px 22px 0;
}

.normal-profile-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #b7bdc8;
  font-size: 12px;
  font-weight: 650;
}

.normal-profile-section {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(88,101,242,.035), transparent 45%),
    rgba(255,255,255,.018);
}

.normal-profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.normal-profile-section-head h3 {
  margin: 2px 0 0;
  color: #f2f3f5;
  font-size: 16px;
  line-height: 1.35;
}

.normal-profile-section-kicker {
  margin: 0;
  color: #7f8794;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.normal-profile-accent-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,255,255,.025);
}

.normal-profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.normal-profile-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.normal-badge-chip,
.normal-empty-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(88,101,242,.22);
  border-radius: 999px;
  background: rgba(88,101,242,.075);
  color: #cbd0ff;
  font-size: 12px;
  font-weight: 650;
}

.normal-empty-chip {
  border-color: rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  color: #858c99;
}

.normal-profile-section-copy {
  margin: 0 0 13px;
  color: #858c99;
  font-size: 12px;
  line-height: 1.6;
}

.normal-profile-json {
  max-height: 420px;
  margin: 0;
  padding: 15px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(0,0,0,.24);
  color: #bfc5d0;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .normal-profile-banner,
  .normal-profile-banner img {
    min-height: 118px;
    height: 118px;
  }

  .normal-profile-avatar-wrap {
    margin-left: 16px;
  }

  .normal-profile-identity,
  .normal-profile-header-meta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .normal-profile-section {
    padding: 16px;
  }

  .normal-profile-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ZOOM / RESIZE STABILITY PASS
   Keeps the existing content and notice context unchanged.
   Layout uses fluid tracks instead of height-dependent desktop
   compositions so browser zoom and viewport resizing reflow cleanly.
   ========================================================= */

html {
  overflow-x: hidden;
}

body {
  min-width: 0;
}

main,
#landing-stage,
#profile-stage,
#notice-stage,
.normal-profile-card,
.case-summary-card,
.case-dashboard-grid,
.case-dashboard-section,
.case-body-copy,
.review-contact-card,
.review-contact-content {
  min-width: 0;
}

/* Notice card: one stable width rule at every zoom level. */
.case-summary-card {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(62px, 7vw, 76px) clamp(16px, 2.5vw, 28px) clamp(18px, 2.5vw, 28px);
}

.case-summary-card > img:first-child {
  width: clamp(64px, 8vw, 90px);
  height: clamp(64px, 8vw, 90px);
  right: clamp(10px, 2vw, 18px);
  top: 54px;
}

.case-top {
  width: 100%;
  margin-bottom: clamp(18px, 2.2vw, 30px);
}

/* Main two-column notice area remains balanced until the available
   CSS viewport becomes too narrow, then becomes a single column. */
.case-dashboard-grid {
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: clamp(12px, 1.6vw, 18px);
}

.case-dashboard-section {
  width: 100%;
}

.reported-profile-card,
.review-primary-card,
.review-secondary-stack > *,
.review-clarification,
.review-contact-card {
  max-width: 100%;
}

.reported-profile-card {
  height: auto !important;
}

.reported-profile-banner {
  width: 100%;
}

.reported-profile-hero {
  min-width: 0;
}

.reported-profile-identity,
.reported-profile-name,
.reported-profile-handle,
.case-body-copy,
.case-bullets,
.case-bullets li,
.case-footer-note {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Review content: avoid the old viewport-height-dependent placement. */
.case-dashboard-review .review-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.case-dashboard-review .review-primary-card,
.case-dashboard-review .review-secondary-stack,
.case-dashboard-review .review-clarification {
  width: 100%;
  min-width: 0;
}

.review-secondary-stack {
  min-width: 0;
}

/* Contact card naturally changes from horizontal to stacked layout. */
.review-contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
}

.review-contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr) minmax(170px, .8fr);
  grid-template-areas:
    "label meta actions"
    "name  meta actions"
    "handle meta actions";
  align-items: center;
  gap: 2px clamp(12px, 1.8vw, 22px);
  width: 100%;
}

.review-contact-label { grid-area: label; }
.review-contact-content > .case-display-name { grid-area: name; }
.review-contact-content > .case-handle { grid-area: handle; }
.review-contact-meta {
  grid-area: meta;
  min-width: 0;
}
.review-contact-actions {
  grid-area: actions;
  min-width: 0;
}
.review-contact-button {
  max-width: 100%;
}

/* Normal profile: never allow the identity/header to force horizontal overflow. */
.normal-profile-header {
  min-width: 0;
}

.normal-profile-grid,
.normal-profile-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.normal-profile-field,
.normal-profile-field strong {
  min-width: 0;
}

/* CSS zoom effectively reduces the viewport width. These breakpoints therefore
   keep the composition readable without relying on screen pixel dimensions. */
@media (max-width: 980px) {
  .case-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .review-contact-content {
    grid-template-columns: minmax(0, 1fr) minmax(170px, .75fr);
    grid-template-areas:
      "label actions"
      "name  actions"
      "handle actions"
      "meta meta";
  }

  .review-contact-meta {
    padding: 10px 0 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(255,255,255,.07);
  }
}

@media (max-width: 720px) {
  .case-summary-card {
    padding: 58px 16px 18px;
    border-radius: 19px;
  }

  .case-dashboard-grid {
    gap: 14px;
  }

  .review-contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .review-contact-avatar {
    justify-self: start;
  }

  .review-contact-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "name"
      "handle"
      "meta"
      "actions";
    gap: 5px;
  }

  .review-contact-meta {
    padding: 8px 0 0 !important;
    margin-top: 4px !important;
  }

  .review-contact-actions {
    align-items: stretch !important;
    margin-top: 8px !important;
  }

  .review-contact-button {
    width: 100%;
  }

  .normal-profile-grid,
  .normal-profile-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .case-summary-card {
    padding-inline: 12px;
  }

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

  .case-top .case-ref-pill {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .reported-profile-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 981px) {
  /* Neutralize the old height-sensitive composition at desktop widths. */
  body.notice-open .case-dashboard-grid {
    grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
    gap: clamp(12px, 1.6vw, 18px);
  }

  body.notice-open .case-dashboard-profile .reported-profile-card {
    display: block;
    height: auto !important;
  }

  body.notice-open .review-contact-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    height: auto;
  }
}

/* Discord-inspired normal profile refresh (visual-only; profile data unchanged) */
#profile-stage { max-width: 1060px; margin-inline: auto; }
.normal-profile-card {
  --discord-panel: #313338;
  --discord-panel-raised: #2b2d31;
  --discord-muted: #b5bac1;
  --discord-blurple: #5865f2;
  width: min(100%, 1000px); margin: 26px auto 48px; padding: 0 0 24px;
  overflow: hidden; border: 1px solid #41434b; border-radius: 14px;
  background: #232428; color: #f2f3f5; box-shadow: 0 18px 56px #0005;
}
.normal-profile-actions { position: relative; z-index: 2; display:flex; justify-content:flex-end; padding: 14px 18px; margin:0; background:#2b2d31; border-bottom:1px solid #41434b; }
.normal-profile-header { position:relative; display:grid; grid-template-columns:1fr; gap:0; padding:0 24px 22px; background:#2b2d31; border-bottom:1px solid #41434b; }
.normal-profile-visual { position:relative; min-width:0; }
.normal-profile-banner { height:190px; margin:0 -24px; overflow:hidden; border-radius:0; background:linear-gradient(135deg,#5865f2 0%,#3b428f 44%,#232428 100%); }
.normal-profile-banner::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,transparent 48%,#2b2d31b8 100%); }
.normal-profile-banner img { width:100%; height:100%; object-fit:cover; display:block; }
.normal-profile-avatar-wrap { position:relative; width:112px; height:112px; margin-top:-58px; padding:7px; border-radius:50%; background:#2b2d31; z-index:1; }
.normal-profile-avatar { display:block; width:100%; height:100%; object-fit:cover; border:0; border-radius:50%; box-shadow:0 0 0 1px #ffffff12; }
.normal-profile-identity { min-width:0; padding-top:14px; }
.normal-profile-identity h2 { margin:0 0 3px; color:#f2f3f5; font-size:clamp(1.55rem,3vw,2rem); line-height:1.2; letter-spacing:-.035em; overflow-wrap:anywhere; }
.normal-profile-identity > p { color:var(--discord-muted); }
.normal-profile-identity > p:last-child { margin-top:9px; }
.normal-profile-kicker, .normal-profile-section-kicker { color:#949ba4 !important; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.normal-profile-header-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.normal-profile-type, .normal-profile-status-pill { display:inline-flex; align-items:center; min-height:28px; padding:5px 10px; border:1px solid #454750; border-radius:7px; background:#232428; color:#dbdee1; font-size:.78rem; font-weight:650; }
.normal-profile-grid, .normal-profile-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:20px 24px 0; }
.normal-profile-field { min-width:0; padding:13px 14px; border:1px solid #3f4148; border-radius:9px; background:#2b2d31; transition:border-color .15s ease, background .15s ease; }
.normal-profile-field:hover { border-color:#626675; background:#303238; }
.normal-profile-field span { display:block; margin-bottom:7px; color:#b5bac1; font-size:.72rem; font-weight:750; letter-spacing:.035em; text-transform:uppercase; }
.normal-profile-field strong { display:block; color:#f2f3f5; font-size:.91rem; line-height:1.45; overflow-wrap:anywhere; }
.normal-profile-section { margin:20px 24px 0; padding:18px; border:1px solid #3f4148; border-radius:11px; background:#2b2d31; }
.normal-profile-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.normal-profile-section-head h3 { margin:3px 0 0; color:#f2f3f5; font-size:1.02rem; font-weight:750; }
.normal-profile-section-copy { color:#b5bac1; font-size:.86rem; line-height:1.6; }
.normal-profile-section .normal-profile-detail-grid { padding:0; }
.normal-profile-badge-list { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.normal-badge-chip, .normal-empty-chip { display:inline-flex; align-items:center; min-height:30px; padding:6px 10px; border:1px solid #454750; border-radius:7px; background:#232428; color:#dbdee1; font-size:.78rem; font-weight:600; }
.normal-badge-chip { border-color:#5965d9; background:#5865f21c; }
.normal-profile-json { max-height:340px; overflow:auto; padding:16px; border:1px solid #41434b; border-radius:8px; background:#1e1f22; color:#dbdee1; font-size:.78rem; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.normal-profile-accent-dot { flex:0 0 auto; width:14px; height:14px; border-radius:50%; background:var(--profile-accent,#5865f2); box-shadow:0 0 0 4px #ffffff0c; }
.normal-profile-footer { margin:18px 24px 0; color:#949ba4; font-size:.78rem; line-height:1.6; }
#normal-user-id { user-select:all; }
@media (min-width:760px) {
 .normal-profile-header { grid-template-columns:minmax(0,1fr) auto; align-items:end; column-gap:18px; }
 .normal-profile-identity { grid-column:1; grid-row:2; }
 .normal-profile-header-meta { grid-column:2; grid-row:2; justify-content:flex-end; align-self:center; }
 .normal-profile-grid, .normal-profile-detail-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:560px) {
 .normal-profile-card { margin:18px auto 32px; border-radius:11px; }
 .normal-profile-header { padding:0 16px 18px; }
 .normal-profile-banner { height:142px; margin-inline:-16px; }
 .normal-profile-avatar-wrap { width:92px; height:92px; margin-top:-48px; padding:6px; }
 .normal-profile-grid, .normal-profile-detail-grid { grid-template-columns:1fr; padding:14px 16px 0; }
 .normal-profile-section { margin:14px 16px 0; padding:14px; }
 .normal-profile-section .normal-profile-detail-grid { padding:0; }
 .normal-profile-footer { margin-inline:16px; }
 .normal-profile-actions { padding:11px 12px; }
}

/* Layout refinement: compact, layered Discord-like profile dashboard */
.normal-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 0 18px;
  padding-bottom: 22px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(88,101,242,.12), transparent 34%),
    #232428;
}
.normal-profile-actions,
.normal-profile-header,
.normal-profile-grid-primary,
.normal-profile-footer {
  grid-column: 1 / -1;
}
.normal-profile-actions {
  min-height: 48px;
  align-items: center;
  background: #1e1f22;
}
.normal-profile-actions .secondary-action {
  border-radius: 7px;
  padding: 9px 13px;
  font-weight: 700;
}
.normal-profile-header {
  display: block;
  position: relative;
  padding: 0 24px 20px;
  background: linear-gradient(180deg,#2b2d31 0%,#292b30 100%);
}
.normal-profile-visual { display: contents; }
.normal-profile-banner {
  position: relative;
  height: 176px;
  margin: 0 -24px;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(255,255,255,.22), transparent 25%),
    radial-gradient(ellipse at 20% 90%, rgba(88,101,242,.8), transparent 44%),
    linear-gradient(120deg,#20233f 0%,#5865f2 48%,#34375e 100%);
}
.normal-profile-avatar-wrap {
  position: absolute;
  top: 116px;
  left: 24px;
  width: 112px;
  height: 112px;
  margin: 0;
  padding: 6px;
  border: 1px solid #41434b;
  background: #2b2d31;
  box-shadow: 0 8px 24px #0005;
}
.normal-profile-avatar { box-shadow: 0 0 0 4px #2b2d31; }
.normal-profile-identity {
  padding: 62px 0 0;
  max-width: 100%;
}
.normal-profile-identity h2 { font-size: clamp(1.45rem,2.4vw,1.9rem); }
.normal-profile-identity > p:last-child { margin-top: 7px; }
.normal-profile-header-meta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  justify-content: flex-end;
  max-width: 52%;
  margin: 0;
}
.normal-profile-grid-primary {
  gap: 9px;
  padding: 18px 24px 2px;
}
.normal-profile-field {
  padding: 12px 13px;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.normal-profile-field span { font-size: .68rem; letter-spacing: .07em; }
.normal-profile-field strong { font-size: .88rem; }
.normal-profile-section {
  min-width: 0;
  margin: 16px 0 0 24px;
  padding: 16px;
  align-self: stretch;
}
.normal-profile-section:nth-of-type(2) { margin-right: 24px; }
.normal-profile-section:nth-of-type(3) {
  grid-column: 1 / -1;
  margin-right: 24px;
}
.normal-profile-section:nth-of-type(4) {
  grid-column: 1 / -1;
  margin-right: 24px;
}
.normal-profile-section-head { margin-bottom: 12px; }
.normal-profile-section-copy { margin: 0 0 13px; }
.normal-profile-section .normal-profile-detail-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.normal-profile-badge-list { margin-bottom: 12px; }
.normal-profile-json { max-height: 280px; }
.normal-profile-footer { padding: 0 24px; margin-top: 16px; }
@media (min-width: 760px) {
  .normal-profile-header { grid-template-columns: none; }
  .normal-profile-grid-primary { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 759px) {
  .normal-profile-card { grid-template-columns: minmax(0,1fr); gap: 0; }
  .normal-profile-actions, .normal-profile-header, .normal-profile-grid-primary,
  .normal-profile-footer, .normal-profile-section, .normal-profile-section:nth-of-type(2),
  .normal-profile-section:nth-of-type(3), .normal-profile-section:nth-of-type(4) {
    grid-column: 1;
    margin-right: 14px;
    margin-left: 14px;
  }
  .normal-profile-actions { margin: 0; }
  .normal-profile-header { margin: 0; padding-inline: 16px; }
  .normal-profile-banner { margin-inline: -16px; height: 150px; }
  .normal-profile-avatar-wrap { left: 16px; top: 102px; width: 96px; height: 96px; }
  .normal-profile-identity { padding-top: 57px; }
  .normal-profile-header-meta { position: static; justify-content: flex-start; max-width: none; margin-top: 12px; }
  .normal-profile-grid-primary { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 14px 0 0; }
  .normal-profile-section { margin-top: 12px; padding: 13px; }
  .normal-profile-section .normal-profile-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .normal-profile-footer { padding: 0; }
}
@media (max-width: 420px) {
  .normal-profile-grid-primary,
  .normal-profile-section .normal-profile-detail-grid { grid-template-columns: 1fr; }
}

/* Final refinement: balanced Discord-like profile card, no awkward split columns */
.normal-profile-card {
  display: block !important;
  width: min(100% - 32px, 820px) !important;
  margin: 26px auto 44px !important;
  padding: 0 0 20px !important;
  overflow: hidden;
  border: 1px solid #3f4148 !important;
  border-radius: 12px !important;
  background: #232428 !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.28) !important;
}
.normal-profile-actions {
  display: flex !important;
  justify-content: flex-end !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #3f4148 !important;
  background: #1e1f22 !important;
}
.normal-profile-header {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 20px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #2b2d31 !important;
}
.normal-profile-visual { display: contents !important; }
.normal-profile-banner {
  position: relative !important;
  height: 142px !important;
  margin: 0 -20px !important;
  overflow: hidden;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(255,255,255,.17), transparent 27%),
    linear-gradient(115deg,#353b78 0%,#5865f2 52%,#34375f 100%) !important;
}
.normal-profile-banner img { width:100%; height:100%; object-fit:cover; display:block; }
.normal-profile-avatar-wrap {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 92px !important;
  height: 92px !important;
  margin: -46px 0 0 !important;
  padding: 5px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #2b2d31 !important;
  box-shadow: none !important;
}
.normal-profile-avatar {
  width:100% !important; height:100% !important;
  border: 0 !important; border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) !important;
}
.normal-profile-identity { padding: 10px 0 0 !important; min-width:0; }
.normal-profile-identity h2 {
  margin: 0 0 2px !important;
  color: #f2f3f5 !important;
  font-size: 1.55rem !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em !important;
}
.normal-profile-identity > p { margin-bottom: 0; color:#b5bac1 !important; }
.normal-profile-identity > p:last-child { margin-top: 8px !important; }
.normal-profile-header-meta {
  position: static !important;
  display: flex !important;
  justify-content: flex-start !important;
  max-width: none !important;
  margin: 12px 0 0 !important;
  gap: 7px !important;
}
.normal-profile-type, .normal-profile-status-pill {
  min-height: 26px !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
  font-size: .76rem !important;
}
.normal-profile-grid, .normal-profile-detail-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 8px !important;
  padding: 16px 20px 0 !important;
}
.normal-profile-field {
  min-width: 0;
  padding: 11px 12px !important;
  border: 1px solid #3b3d44 !important;
  border-radius: 7px !important;
  background: #2b2d31 !important;
  box-shadow: none !important;
}
.normal-profile-field:hover { border-color:#555965 !important; background:#303238 !important; }
.normal-profile-field span {
  margin-bottom: 5px !important;
  color: #b5bac1 !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .045em !important;
}
.normal-profile-field strong {
  color:#f2f3f5 !important;
  font-size:.86rem !important;
  line-height:1.4 !important;
  overflow-wrap:anywhere;
}
.normal-profile-section {
  display:block !important;
  min-width:0;
  margin: 14px 20px 0 !important;
  padding: 15px !important;
  border: 1px solid #3b3d44 !important;
  border-radius: 9px !important;
  background: #2b2d31 !important;
}
.normal-profile-section-head { margin-bottom: 11px !important; }
.normal-profile-section-head h3 { font-size:.96rem !important; }
.normal-profile-section .normal-profile-detail-grid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 8px !important;
  padding: 0 !important;
}
.normal-profile-badge-list { gap:7px !important; margin-bottom:11px !important; }
.normal-badge-chip, .normal-empty-chip {
  min-height:27px !important;
  padding:5px 9px !important;
  border-radius:6px !important;
  font-size:.75rem !important;
}
.normal-profile-json {
  max-height: 240px !important;
  padding: 12px !important;
  border-radius: 7px !important;
  font-size: .75rem !important;
}
.normal-profile-footer {
  margin: 14px 20px 0 !important;
  padding: 0 !important;
  color: #949ba4 !important;
  font-size: .76rem !important;
}
@media (max-width: 680px) {
  .normal-profile-card { width: calc(100% - 20px) !important; margin: 14px auto 26px !important; }
  .normal-profile-header { padding: 0 15px 16px !important; }
  .normal-profile-banner { height: 122px !important; margin-inline:-15px !important; }
  .normal-profile-avatar-wrap { width:82px !important; height:82px !important; margin-top:-41px !important; }
  .normal-profile-identity h2 { font-size:1.35rem !important; }
  .normal-profile-grid, .normal-profile-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; padding:13px 15px 0 !important; gap:7px !important; }
  .normal-profile-section { margin:12px 15px 0 !important; padding:12px !important; }
  .normal-profile-section .normal-profile-detail-grid { padding:0 !important; }
  .normal-profile-footer { margin:12px 15px 0 !important; }
}
@media (max-width: 380px) {
  .normal-profile-grid, .normal-profile-detail-grid,
  .normal-profile-section .normal-profile-detail-grid { grid-template-columns: minmax(0,1fr) !important; }
}

/* Profile information clarity pass: align labels, values and sections */
.normal-profile-grid-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 8px !important;
  padding-top: 16px !important;
}
.normal-profile-grid-primary .normal-profile-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  padding: 12px 14px !important;
  background: #2b2d31 !important;
}
.normal-profile-field span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 1.2em;
  margin: 0 0 7px !important;
  color: #b5bac1 !important;
  font-size: .69rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase;
}
.normal-profile-field strong {
  display: block;
  min-width: 0;
  color: #f2f3f5 !important;
  font-size: .9rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}
#normal-user-id { font-size: .82rem !important; letter-spacing: .01em; }
#normal-created { font-variant-numeric: tabular-nums; }
.normal-profile-section {
  margin-top: 12px !important;
  padding: 16px !important;
  background: #27292e !important;
}
.normal-profile-section-head {
  align-items: center;
  justify-content: flex-start !important;
  padding-bottom: 11px;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #3b3d44;
}
.normal-profile-section-kicker {
  margin: 0 0 3px !important;
  font-size: .65rem !important;
  letter-spacing: .11em !important;
}
.normal-profile-section-head h3 {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
.normal-profile-section-copy {
  margin: 0 0 12px !important;
  color: #b5bac1 !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}
.normal-profile-section .normal-profile-detail-grid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 8px !important;
}
.normal-profile-section .normal-profile-field {
  min-height: 62px;
  padding: 11px 12px !important;
  background: #232428 !important;
}
.normal-profile-section .normal-profile-field strong { font-size: .84rem !important; }
.normal-profile-badge-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px !important;
}
.normal-badge-chip, .normal-empty-chip {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35 !important;
}
.normal-profile-json {
  box-sizing: border-box;
  width: 100%;
  max-height: 260px !important;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  tab-size: 2;
}
.normal-profile-footer {
  padding-top: 3px !important;
  line-height: 1.55 !important;
}
@media (min-width: 760px) {
  .normal-profile-grid-primary { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
  .normal-profile-grid-primary,
  .normal-profile-section .normal-profile-detail-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  .normal-profile-grid-primary .normal-profile-field { min-height: 0; }
  .normal-profile-section .normal-profile-field { min-height: 0; }
  .normal-profile-section { padding: 13px !important; }
  .normal-profile-field strong { font-size: .88rem !important; }
}

/* Optional raw API payload: keep technical JSON out of the way until requested. */
.normal-profile-raw-details { margin-top: 14px; border: 1px solid var(--border-color, rgba(148,163,184,.22)); border-radius: 12px; overflow: hidden; background: rgba(15,23,42,.22); }
.normal-profile-raw-details > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; cursor:pointer; list-style:none; color:var(--text-primary, #f4f6ff); font-weight:650; }
.normal-profile-raw-details > summary::-webkit-details-marker { display:none; }
.normal-profile-raw-details > summary::after { content:'+'; font-size:20px; line-height:1; color:var(--text-secondary, #aab3c5); }
.normal-profile-raw-details[open] > summary::after { content:'-'; }
.normal-profile-raw-details > summary span { margin-left:auto; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-secondary, #aab3c5); }
.normal-profile-raw-details .normal-profile-json { margin:0 12px 12px; max-height:360px; overflow:auto; border-radius:8px; }

/* Discord-client-inspired unmarked profile view; existing API fields remain below. */
.normal-profile-card { max-width: 760px !important; overflow:hidden !important; background:#232428 !important; border:1px solid #3b3d44 !important; border-radius:14px !important; color:#f2f3f5 !important; }
.normal-profile-actions { padding:12px 18px !important; background:#232428 !important; }
.normal-profile-header { display:block !important; padding:0 22px 16px !important; background:#232428 !important; }
.normal-profile-visual { display:contents !important; }
.normal-profile-banner { height:140px !important; margin:0 -22px !important; border-radius:0 !important; background:#d4a8e6 !important; }
.normal-profile-banner:not(.has-image) { background:#d4a8e6 !important; }
.normal-profile-avatar-wrap { position:relative !important; top:auto !important; left:auto !important; width:104px !important; height:104px !important; margin:-68px 0 0 22px !important; padding:6px !important; border-radius:50% !important; background:#232428 !important; box-shadow:none !important; }
.normal-profile-avatar { width:100% !important; height:100% !important; border:0 !important; border-radius:50% !important; object-fit:cover !important; }
.normal-profile-identity { padding:10px 0 0 !important; }
.normal-profile-identity .normal-profile-kicker { display:none !important; }
.normal-profile-identity h2 { margin:0 !important; color:#f2f3f5 !important; font-size:1.55rem !important; font-weight:750 !important; letter-spacing:-.02em !important; }
.normal-profile-identity > p { margin:3px 0 0 !important; color:#b5bac1 !important; font-size:.92rem !important; }
.normal-profile-identity .normal-profile-global-name { margin-top:8px !important; }
.normal-profile-header-meta { margin:10px 0 0 !important; }
.normal-profile-type,.normal-profile-status-pill { border-radius:6px !important; }
.discord-look-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 22px; padding:12px 0 15px; border-top:1px solid #3b3d44; }
.discord-look-status { display:flex; align-items:center; gap:8px; color:#b5bac1; font-size:.78rem; }
.discord-look-status-dot { width:8px; height:8px; border-radius:50%; background:#23a559; box-shadow:0 0 0 3px rgba(35,165,89,.12); }
.discord-look-action-buttons { display:flex; gap:8px; }
.discord-copy-id { border:0; border-radius:6px; padding:9px 13px; background:#5865f2; color:#fff; font-family:inherit; font-size:.82rem; font-weight:600; cursor:pointer; }
.discord-copy-id:hover { background:#4752c4; }
.discord-look-about-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 22px 18px; }
.discord-look-about-panel { min-width:0; padding:15px; border-radius:8px; background:#2b2d31; }
.discord-look-about-panel h3 { margin:0 0 11px; color:#f2f3f5; font-size:.82rem; font-weight:750; text-transform:uppercase; letter-spacing:.035em; }
.discord-look-about-panel p { margin:0; color:#b5bac1; font-size:.86rem; line-height:1.5; }
.discord-look-detail { display:flex; flex-direction:column; gap:4px; margin-top:10px; }
.discord-look-detail:first-of-type { margin-top:0; }
.discord-look-detail span { color:#b5bac1; font-size:.75rem; }
.discord-look-detail strong { color:#f2f3f5; font-size:.86rem; overflow-wrap:anywhere; }
.discord-look-connections { grid-column:1/-1; }
.discord-look-more-data { margin:0 22px 18px; border:1px solid #3b3d44; border-radius:8px; background:#27292e; overflow:hidden; }
.discord-look-more-data > summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:14px 15px; cursor:pointer; list-style:none; color:#f2f3f5; font-size:.88rem; font-weight:700; }
.discord-look-more-data > summary::-webkit-details-marker { display:none; }
.discord-look-more-data > summary::after { content:'+'; font-size:1.2rem; color:#b5bac1; }
.discord-look-more-data[open] > summary::after { content:'-'; }
.discord-look-more-data > summary span { color:#b5bac1; font-size:.74rem; font-weight:500; }
.discord-look-more-data > .normal-profile-grid,.discord-look-more-data > .normal-profile-section { margin-left:14px !important; margin-right:14px !important; }
.discord-look-more-data > .normal-profile-section:last-of-type { margin-bottom:14px !important; }
.discord-look-more-data > .normal-profile-grid { padding-left:0 !important; padding-right:0 !important; }
.discord-look-more-data .normal-profile-raw-details { margin:12px 14px 14px; }
@media(max-width:560px) {
 .normal-profile-card { width:calc(100% - 16px) !important; }
 .normal-profile-header { padding:0 15px 14px !important; }
 .normal-profile-banner { height:118px !important; margin-inline:-15px !important; }
 .normal-profile-avatar-wrap { width:88px !important; height:88px !important; margin:-55px 0 0 12px !important; }
 .discord-look-actions { margin:0 15px; align-items:flex-start; }
 .discord-look-about-grid { grid-template-columns:1fr; padding:0 15px 15px; }
 .discord-look-connections { grid-column:auto; }
 .discord-look-more-data { margin:0 15px 15px; }
}


/* v8 polish: clearer hierarchy, calmer spacing, and responsive interaction states. */
:root { color-scheme: dark; }
html { scroll-behavior:smooth; }
body { -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.page-shell { isolation:isolate; }
.topbar { backdrop-filter:blur(16px); }
.brand { gap:11px; }
.brand-mark { box-shadow:0 8px 24px rgba(88,101,242,.28); }
.top-pill { border:1px solid rgba(35,165,89,.22); background:rgba(35,165,89,.09); }
.hero { padding-top:clamp(38px,7vw,82px) !important; }
.hero h1 { max-width:850px; letter-spacing:-.045em !important; text-wrap:balance; }
.hero .subtitle { max-width:650px; line-height:1.75 !important; text-wrap:pretty; }
.lookup-card { border:1px solid rgba(148,163,184,.22) !important; background:linear-gradient(145deg,rgba(35,38,48,.98),rgba(25,27,34,.98)) !important; box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035) !important; }
.lookup-head { gap:16px; }
.lookup-title { letter-spacing:-.02em; }
.input-wrap { transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.input-wrap:focus-within { border-color:#7984ff !important; box-shadow:0 0 0 4px rgba(88,101,242,.16) !important; background:rgba(18,20,27,.95) !important; }
#discord-id { min-width:0; }
#lookup-button { box-shadow:0 7px 18px rgba(88,101,242,.2); transition:transform .16s ease,background .16s ease,box-shadow .16s ease; }
#lookup-button:hover { transform:translateY(-1px); box-shadow:0 10px 24px rgba(88,101,242,.27); }
#lookup-button:active { transform:translateY(0); }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:2px solid #a5adff !important; outline-offset:3px !important; }
.lookup-status { min-height:1.25em; }
.helper-row { gap:12px 18px; flex-wrap:wrap; }
.guide-link { text-underline-offset:3px; }
.normal-profile-card { box-shadow:0 24px 70px rgba(0,0,0,.26) !important; }
.normal-profile-banner { position:relative; }
.normal-profile-banner:not(.has-image)::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,rgba(255,255,255,.12),transparent 45%,rgba(88,101,242,.1)); pointer-events:none; }
.normal-profile-avatar-wrap { z-index:1; }
.normal-profile-avatar { background:#313338; }
.discord-copy-id { transition:background .16s ease,transform .16s ease; }
.discord-copy-id:active { transform:scale(.98); }
.discord-look-about-panel { border:1px solid rgba(255,255,255,.035); transition:border-color .18s ease,background .18s ease; }
.discord-look-about-panel:hover { border-color:rgba(148,163,184,.22); background:#2e3036; }
.discord-look-more-data > summary { transition:background .16s ease; }
.discord-look-more-data > summary:hover { background:rgba(255,255,255,.035); }
.normal-profile-section,.normal-profile-field { transition:border-color .16s ease,background .16s ease; }
.normal-profile-json { white-space:pre; overflow-wrap:normal; }
@media (min-width:900px) {
  .lookup-card { padding:clamp(24px,3vw,34px) !important; }
  .discord-look-about-grid { gap:12px; }
}
@media (max-width:560px) {
  .hero { padding-left:16px !important; padding-right:16px !important; }
  .lookup-card { padding:19px !important; }
  .lookup-head { align-items:flex-start !important; }
  .api-chip { flex-shrink:0; }
  .form-row { gap:10px !important; }
  #lookup-button { min-height:48px; }
  .discord-look-actions { flex-wrap:wrap; }
  .discord-copy-id { min-height:40px; }
  .normal-profile-header-meta { flex-wrap:wrap; gap:7px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
