
    :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;
  }
}

/* Unmarked profile polish: keep technical JSON out of the main profile view. */
.normal-profile-technical {
  padding: 0;
  overflow: hidden;
}

.normal-profile-technical-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
}

.normal-profile-technical-summary::-webkit-details-marker {
  display: none;
}

.normal-profile-technical-summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #b8bfff;
  font-size: 22px;
  line-height: 1;
}

.normal-profile-technical[open] .normal-profile-technical-summary::after {
  content: "−";
}

.normal-profile-technical-summary > span:first-child {
  display: grid;
  gap: 5px;
}

.normal-profile-technical-summary strong {
  color: #f2f3f5;
  font-size: 14px;
  font-weight: 650;
}

.normal-profile-technical-hint {
  color: #9299a7;
  font-size: 12px;
  text-align: right;
}

.normal-profile-technical .normal-profile-section-copy {
  margin: 0;
  padding: 0 20px 14px;
}

.normal-profile-technical .normal-profile-json {
  max-height: 420px;
  margin: 0 20px 20px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(5,7,11,.72);
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .normal-profile-technical-summary {
    padding: 15px;
  }

  .normal-profile-technical-hint {
    max-width: 112px;
  }

  .normal-profile-technical .normal-profile-json {
    margin: 0 12px 12px;
    padding: 12px;
    font-size: 11px;
  }
}

/* Discord-inspired profile preview — applies only to the unmarked profile result. */
.normal-profile-card {
  width: min(100%, 680px);
  padding: 14px;
  border: 1px solid #232428;
  border-radius: 12px;
  background: #313338;
  box-shadow: 0 18px 60px rgba(0,0,0,.38);
}
.normal-profile-actions { margin: 0 0 12px; }
.normal-profile-actions .secondary-action {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  background: #383a40;
  border-color: #41434a;
  font-size: 12px;
}
.normal-profile-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #232428;
}
.normal-profile-visual { width: 100%; }
.normal-profile-banner {
  height: 120px;
  min-height: 120px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: #5865f2;
}
.normal-profile-banner img { width: 100%; height: 120px; object-fit: cover; }
.normal-profile-banner:not(.has-image) {
  background:
    radial-gradient(ellipse at 75% 0%, rgba(167,139,250,.75), transparent 40%),
    radial-gradient(ellipse at 20% 100%, rgba(88,101,242,.95), transparent 54%),
    #3c3274;
}
.normal-profile-banner::after { display: none; }
.normal-profile-avatar-wrap {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 16px;
  padding: 6px;
  border-radius: 50%;
  background: #232428;
}
.normal-profile-avatar {
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: #18191c;
}
.normal-avatar-decoration { inset: -7px; width: 106px; height: 106px; }
.normal-profile-identity {
  padding: 14px 18px 16px;
}
.normal-profile-kicker {
  margin: 0 0 5px;
  color: #b5bac1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.normal-profile-identity h2 {
  color: #f2f3f5;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
}
.normal-profile-identity > p:last-child {
  margin-top: 2px;
  color: #dbdee1;
  font-size: 14px;
}
.normal-profile-global-name { color: #b5bac1; font-size: 12px; }
.normal-profile-header-meta {
  padding: 0 18px 16px;
  gap: 6px;
}
.normal-profile-type,
.normal-profile-status-pill {
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #41434a;
  border-radius: 4px;
  background: #383a40;
  color: #dbdee1;
  font-size: 11px;
  font-weight: 600;
}
.normal-profile-grid-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
  background: #232428;
}
.normal-profile-field {
  padding: 10px 11px;
  border: 1px solid #34363c;
  border-radius: 5px;
  background: #2b2d31;
}
.normal-profile-field span {
  color: #b5bac1;
  font-size: 11px;
  font-weight: 600;
}
.normal-profile-field strong {
  margin-top: 5px;
  color: #f2f3f5;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.normal-profile-section {
  margin-top: 12px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #232428;
}
.normal-profile-section-head { margin-bottom: 12px; }
.normal-profile-section-kicker {
  color: #b5bac1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.normal-profile-section-head h3 {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 700;
}
.normal-profile-detail-grid { gap: 7px; }
.normal-profile-detail-grid .normal-profile-field { background: #2b2d31; }
.normal-profile-badge-list { gap: 6px; margin-bottom: 10px; }
.normal-badge-chip, .normal-empty-chip {
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #4549a3;
  border-radius: 5px;
  background: #34365f;
  color: #e0e2ff;
  font-size: 11px;
  font-weight: 600;
}
.normal-empty-chip {
  border-color: #41434a;
  background: #2b2d31;
  color: #b5bac1;
}
.normal-profile-accent-dot { border-radius: 5px; }
.normal-profile-technical { background: #232428; }
.normal-profile-technical-summary { padding: 14px 16px; }
.normal-profile-technical-summary strong { color: #f2f3f5; }
.normal-profile-technical-hint { color: #b5bac1; }
.normal-profile-footer {
  margin: 12px 2px 2px;
  color: #949ba4;
  font-size: 11px;
  line-height: 1.55;
}
@media (max-width: 560px) {
  .normal-profile-card { padding: 9px; border-radius: 10px; }
  .normal-profile-banner, .normal-profile-banner img { height: 104px; min-height: 104px; }
  .normal-profile-avatar-wrap { margin-top: -40px; width: 80px; height: 80px; }
  .normal-profile-avatar { width: 68px; height: 68px; }
  .normal-avatar-decoration { inset: -6px; width: 92px; height: 92px; }
  .normal-profile-identity { padding: 12px 14px 14px; }
  .normal-profile-identity h2 { font-size: 20px; }
  .normal-profile-header-meta { padding: 0 14px 14px; }
  .normal-profile-grid-primary { padding: 8px; }
  .normal-profile-grid-primary .normal-profile-field { padding: 9px; }
  .normal-profile-section { padding: 12px; }
  .normal-profile-detail-grid { grid-template-columns: 1fr; }
}


/* Profile-popout layout inspired by the user's reference screenshot.
   Scoped only to the unmarked profile result; lookup and notice behavior stay untouched. */
@media (min-width: 760px) {
  .normal-profile-card {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: #1e1f22;
    border-color: #2b2d31;
    border-radius: 12px;
  }
  .normal-profile-actions {
    grid-column: 1 / -1;
    margin: 0;
    display: flex;
    justify-content: flex-end;
  }
  .normal-profile-header {
    grid-column: 1;
    grid-row: 2 / span 2;
    align-self: stretch;
    background: #232428;
  }
  .normal-profile-visual { flex: 0 0 auto; }
  .normal-profile-banner,
  .normal-profile-banner img { height: 150px; min-height: 150px; }
  .normal-profile-avatar-wrap { margin-top: -48px; }
  .normal-profile-identity { padding-top: 12px; }
  .normal-profile-kicker { display: none; }
  .normal-profile-identity h2 { font-size: 24px; overflow-wrap: anywhere; }
  .normal-profile-header-meta { display: flex; flex-wrap: wrap; }
  .normal-profile-grid-primary {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .normal-profile-card > .normal-profile-section:not(.normal-profile-technical):nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    min-width: 0;
  }
  .normal-profile-card > .normal-profile-section:not(.normal-profile-technical):nth-of-type(5) {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    min-width: 0;
  }
  .normal-profile-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .normal-profile-technical,
  .normal-profile-footer {
    grid-column: 1 / -1;
  }
  .normal-profile-technical { margin-top: 0; }
}
@media (max-width: 759px) {
  .normal-profile-card { width: min(100%, 680px); }
}
