/*
  Hentrad public badge check — the one page a stranger with no Hentrad
  account sees. The same look as the website and the app (the Doji look),
  so a shared link reads as real Hentrad: a blue header with Doji on the
  ledge, a white card with the verdict, and Doji reacting to it.
*/
:root {
  --brand: #2F5BFF;
  --ink: #14182A;
  --muted: #5A6075;
  --paper: #F0F1F4;
  --card: #FFFFFF;
  --line: rgba(20, 24, 42, 0.10);
  --blue-deep: #1B3BCC;
  --blue-soft: #E1E8FF;
  --gold: #FFC83D;
  --green-deep: #1C7A47;
  --green-soft: #E9F8EF;
  --red-deep: #B4232A;
  --red-soft: #FEF1F1;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.inner { max-width: 540px; margin: 0 auto; padding-inline: 20px; }
.wm { font-family: "Fredoka", var(--display); font-weight: 700; letter-spacing: -0.03em; display: inline-block; transform: skewX(-9deg); text-decoration: none; line-height: 1; }
.top { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: 22px 0 150px; border-radius: 0 0 40px 40px; }
.top::after { content: ""; position: absolute; right: max(16px, calc(50% - 300px)); bottom: 58px; width: 130px; height: 106px; background: url("/brand/doji/peek.svg") bottom center / contain no-repeat; }
.top .inner { display: flex; flex-direction: column; gap: 6px; }
.brand { color: #fff; font-size: 30px; margin-bottom: 20px; align-self: flex-start; }
.label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
h1 { margin: 0; max-width: 12em; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
main.inner { margin-top: -60px; position: relative; display: flex; flex-direction: column; gap: 14px; padding-bottom: 44px; }
.card { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: 0 18px 40px -26px rgba(20, 24, 42, 0.3); }
.muted { color: var(--muted); margin: 0; }
.verdict { display: flex; align-items: center; gap: 14px; }
.verdict-doji { width: 70px; height: 90px; object-fit: contain; flex-shrink: 0; }
.verdict h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.verdict h2.ok { color: var(--green-deep); }
.verdict h2.bad { color: var(--red-deep); }
.verdict p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
dl { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 116px minmax(0, 1fr); row-gap: 12px; column-gap: 12px; font-size: 15px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.mono { font-family: var(--mono); font-weight: 500; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--blue-soft); color: var(--blue-deep); margin-right: 6px; }
.history-title { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.level-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.level-row:first-of-type { border-top: 0; }
.level-tile { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 11px; background: var(--green-soft); color: var(--green-deep); flex-shrink: 0; }
.level-row div { flex: 1; }
.level-row strong { display: block; font-size: 15px; }
.level-row span.sub { font-size: 13px; color: var(--muted); }
.check-form { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.check-form label { font-size: 14px; font-weight: 600; }
.check-form input { min-height: 50px; padding: 12px 14px; border: 1px solid rgba(20, 24, 42, 0.16); border-radius: 14px; font-family: var(--body); font-size: 16px; background: var(--card); color: var(--ink); }
.check-form input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.check-form button { min-height: 52px; border-radius: 14px; border: 0; background: #0B0D14; color: #fff; font-family: var(--display); font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.5, .5, 1); }
.check-form button:hover { transform: scale(1.02); }
.foot { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
