:root {
  --bg: #08090a;
  --panel: #101113;
  --panel-2: #15171a;
  --panel-3: #1b1d20;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.13);

  --text: #f5f6f7;
  --muted: #92979f;
  --muted-2: #666c74;

  --accent: #d8ff3e;
  --accent-soft: rgba(216, 255, 62, 0.10);
  --accent-border: rgba(216, 255, 62, 0.32);

  --danger: #ff6675;

  --radius: 18px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 82% 0%,
      rgba(216, 255, 62, 0.07),
      transparent 28rem
    ),
    radial-gradient(
      circle at 15% 35%,
      rgba(255, 255, 255, 0.025),
      transparent 24rem
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


button,
input {
  font: inherit;
}


button {
  cursor: pointer;
}


button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}


a {
  color: inherit;
  text-decoration: none;
}


.app-shell {
  width: min(1420px, calc(100% - 36px));
  margin: 0 auto;

  padding:
    50px
    0
    40px;
}


/* HERO */

.hero {
  display: flex;

  justify-content: space-between;
  align-items: flex-start;

  gap: 30px;

  margin-bottom: 26px;
}


.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 16px;
}


.eyebrow {
  margin:
    0
    0
    8px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 0.17em;
}


.hero-tags .eyebrow {
  margin: 0;
}


.privacy-chip {
  padding:
    6px
    10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: #b5bac1;

  background:
    rgba(255, 255, 255, 0.025);

  font-size: 11px;
  font-weight: 700;
}


h1,
h2,
h3,
p {
  margin-top: 0;
}


h1 {
  margin-bottom: 15px;

  font-size:
    clamp(
      44px,
      6vw,
      76px
    );

  line-height: 0.92;

  letter-spacing: -0.06em;
}


h2 {
  margin-bottom: 0;

  font-size: 23px;

  letter-spacing: -0.035em;
}


.subtitle {
  max-width: 760px;

  margin-bottom: 15px;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.7;
}


.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 9px;

  color: #71767e;

  font-size: 12px;
}


.hero-links a {
  transition:
    color
    150ms
    ease;
}


.hero-links a:hover {
  color: var(--accent);
}


/* STATUS */

.status-pill {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding:
    10px
    14px;

  border:
    1px
    solid
    var(--border);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.03);

  color: var(--muted);

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

  white-space: nowrap;
}


.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #60646b;
}


.status-pill.live {
  border-color:
    var(--accent-border);

  color:
    var(--text);
}


.status-pill.live .status-dot {
  background:
    var(--accent);

  box-shadow:
    0
    0
    0
    5px
    rgba(216, 255, 62, 0.08);

  animation:
    pulse
    1.8s
    infinite;
}


.status-pill.error .status-dot {
  background:
    var(--danger);
}


@keyframes pulse {

  0% {
    box-shadow:
      0
      0
      0
      0
      rgba(216, 255, 62, 0.20);
  }

  70% {
    box-shadow:
      0
      0
      0
      8px
      rgba(216, 255, 62, 0);
  }

  100% {
    box-shadow:
      0
      0
      0
      0
      rgba(216, 255, 62, 0);
  }

}


/* PRIVACY */

.privacy-banner {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 18px;

  padding:
    14px
    17px;

  border:
    1px
    solid
    rgba(216, 255, 62, 0.15);

  border-radius: 14px;

  background:
    rgba(216, 255, 62, 0.035);
}


.privacy-icon {
  display: grid;
  place-items: center;

  flex:
    0
    0
    auto;

  width: 34px;
  height: 34px;

  border-radius: 10px;

  background:
    var(--accent-soft);

  color:
    var(--accent);

  font-size: 18px;
}


.privacy-banner strong {
  display: block;

  margin-bottom: 3px;

  font-size: 12px;
}


.privacy-banner p {
  margin: 0;

  color:
    var(--muted);

  font-size: 11px;

  line-height: 1.5;
}


/* PANELS */

.panel {
  border:
    1px
    solid
    var(--border);

  border-radius:
    var(--radius);

  background:
    rgba(16, 17, 19, 0.90);

  backdrop-filter:
    blur(18px);
}


.controls-panel {
  display: grid;

  grid-template-columns:
    minmax(300px, 2fr)
    minmax(160px, 0.7fr)
    auto;

  align-items: end;

  gap: 14px;

  padding: 18px;

  margin-bottom: 16px;
}


.field {
  display: flex;

  flex-direction: column;

  gap: 8px;
}


.field label {
  color:
    var(--muted);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 0.10em;
}


.field input {
  width: 100%;
  height: 48px;

  padding:
    0
    14px;

  border:
    1px
    solid
    var(--border);

  border-radius: 11px;

  outline: none;

  background:
    var(--panel-2);

  color:
    var(--text);

  transition:
    border-color
    150ms
    ease,
    box-shadow
    150ms
    ease;
}


.field input:focus {
  border-color:
    rgba(216, 255, 62, 0.45);

  box-shadow:
    0
    0
    0
    4px
    rgba(216, 255, 62, 0.06);
}


.field input:disabled {
  color:
    #7f848b;
}


.button-row {
  display: flex;

  gap: 9px;
}


/* BUTTONS */

.primary-button,
.secondary-button,
.ghost-button,
.x-button,
.small-ghost-button {
  border-radius: 11px;

  font-weight: 800;

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


.primary-button,
.secondary-button,
.ghost-button,
.x-button {
  min-height: 47px;

  padding:
    0
    16px;
}


.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled),
.ghost-button:hover:not(:disabled),
.x-button:hover:not(:disabled),
.small-ghost-button:hover:not(:disabled) {
  transform:
    translateY(-1px);
}


.primary-button {
  border:
    1px
    solid
    var(--accent);

  background:
    var(--accent);

  color:
    #08090a;
}


.secondary-button {
  border:
    1px
    solid
    var(--border-strong);

  background:
    var(--panel-3);

  color:
    var(--text);
}


.ghost-button {
  border:
    1px
    solid
    var(--border);

  background:
    transparent;

  color:
    var(--muted);
}


.x-button {
  border:
    1px
    solid
    #f1f1f1;

  background:
    #f1f1f1;

  color:
    #08090a;
}


.small-ghost-button {
  min-height: 31px;

  padding:
    0
    10px;

  border:
    1px
    solid
    var(--border);

  background:
    transparent;

  color:
    var(--muted);

  font-size: 11px;
}


.button-dot {
  display: inline-block;

  width: 7px;
  height: 7px;

  margin-right: 6px;

  border-radius: 50%;

  background:
    #08090a;
}


/* STATS */

.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 12px;

  margin-bottom: 18px;
}


.stat-card {
  min-height: 120px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 18px;

  border:
    1px
    solid
    var(--border);

  border-radius: 16px;

  background:
    var(--panel);
}


.stat-card.accent-stat {
  border-color:
    rgba(216, 255, 62, 0.17);

  background:
    linear-gradient(
      135deg,
      rgba(216, 255, 62, 0.055),
      transparent 60%
    ),
    var(--panel);
}


.stat-label {
  color:
    var(--muted);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 0.09em;
}


.stat-card strong {
  overflow: hidden;

  text-overflow: ellipsis;

  font-size: 25px;

  letter-spacing: -0.04em;
}


.accent-stat strong {
  color:
    var(--accent);
}


.stat-card small {
  color:
    var(--muted-2);

  font-size: 10px;
}


/* LARGE ACTIVITY NAVIGATION */

.activity-navigation {
  display: grid;

  grid-template-columns:
    1fr
    1fr
    auto;

  align-items: stretch;

  gap: 12px;

  margin:
    4px
    0
    18px;
}


.activity-nav-button {
  position: relative;

  display: flex;

  align-items: center;

  gap: 14px;

  min-height: 90px;

  padding:
    17px
    19px;

  border:
    1px
    solid
    var(--border);

  border-radius: 16px;

  background:
    var(--panel);

  color:
    var(--text);

  text-align: left;

  transition:
    transform
    150ms
    ease,
    border-color
    150ms
    ease,
    background
    150ms
    ease,
    box-shadow
    150ms
    ease;
}


.activity-nav-button:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(216, 255, 62, 0.32);

  box-shadow:
    0
    10px
    35px
    rgba(0, 0, 0, 0.18);
}


.activity-nav-button.active {
  border-color:
    rgba(216, 255, 62, 0.48);

  background:
    linear-gradient(
      120deg,
      rgba(216, 255, 62, 0.09),
      transparent 65%
    ),
    var(--panel);

  box-shadow:
    inset
    0
    0
    0
    1px
    rgba(216, 255, 62, 0.04);
}


.activity-nav-icon {
  display: grid;

  place-items: center;

  flex:
    0
    0
    auto;

  width: 48px;
  height: 48px;

  border-radius: 14px;

  background:
    var(--accent-soft);

  color:
    var(--accent);

  font-size: 22px;
}


.activity-nav-text {
  min-width: 0;
}


.activity-nav-button strong {
  display: block;

  margin-bottom: 5px;

  color:
    var(--text);

  font-size: 16px;
}


.activity-nav-button small {
  display: block;

  color:
    var(--muted);

  font-size: 11px;

  line-height: 1.45;
}


.activity-nav-badge {
  display: grid;

  place-items: center;

  min-width: 30px;
  height: 30px;

  margin-left: auto;

  padding:
    0
    7px;

  border-radius: 999px;

  background:
    var(--accent);

  color:
    #08090a;

  font-size: 11px;
  font-weight: 900;
}


/* TOGGLE */

.toggle-control {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  min-width: 165px;

  padding:
    0
    14px;

  border:
    1px
    solid
    var(--border);

  border-radius: 16px;

  background:
    var(--panel);

  color:
    var(--muted);

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;
}


.toggle-control input {
  display: none;
}


.toggle-track {
  position: relative;

  width: 36px;
  height: 20px;

  flex:
    0
    0
    auto;

  border-radius: 999px;

  background:
    #292c30;

  transition:
    background
    150ms
    ease;
}


.toggle-thumb {
  position: absolute;

  top: 3px;
  left: 3px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background:
    #8e939a;

  transition:
    left
    150ms
    ease,
    background
    150ms
    ease;
}


.toggle-control input:checked + .toggle-track {
  background:
    rgba(216, 255, 62, 0.18);
}


.toggle-control input:checked + .toggle-track .toggle-thumb {
  left: 19px;

  background:
    var(--accent);
}


/* ACTIVITY */

.activity-view {
  scroll-margin-top: 20px;
}


.activity-panel {
  padding: 20px;

  margin-bottom: 20px;
}


.panel-heading {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}


.panel-description {
  max-width: 650px;

  margin:
    7px
    0
    0;

  color:
    var(--muted);

  font-size: 11px;

  line-height: 1.55;
}


.heading-actions {
  display: flex;

  align-items: center;

  gap: 8px;
}


.mini-badge {
  display: inline-flex;

  align-items: center;

  padding:
    7px
    10px;

  border:
    1px
    solid
    var(--border);

  border-radius: 999px;

  color:
    var(--muted);

  background:
    rgba(255, 255, 255, 0.025);

  font-size: 10px;
  font-weight: 800;

  white-space: nowrap;
}


.feed-list {
  display: flex;

  flex-direction: column;

  gap: 9px;

  max-height: 580px;

  overflow-y: auto;

  padding-right: 4px;
}


.feed-list::-webkit-scrollbar {
  width: 6px;
}


.feed-list::-webkit-scrollbar-thumb {
  border-radius: 999px;

  background:
    #2c2f33;
}


.feed-item {
  position: relative;

  padding: 14px;

  border:
    1px
    solid
    var(--border);

  border-radius: 13px;

  background:
    var(--panel-2);

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


.feed-item:hover {
  border-color:
    var(--border-strong);
}


.feed-item.match {
  border-color:
    rgba(216, 255, 62, 0.35);

  background:
    linear-gradient(
      90deg,
      rgba(216, 255, 62, 0.06),
      transparent 45%
    ),
    var(--panel-2);
}


.feed-item.match::before {
  content: "";

  position: absolute;

  top: 13px;
  left: -1px;

  width: 3px;

  height:
    calc(100% - 26px);

  border-radius:
    0
    4px
    4px
    0;

  background:
    var(--accent);
}


.feed-item.selectable {
  cursor: pointer;
}


.feed-item.selectable:hover {
  transform:
    translateY(-1px);

  border-color:
    rgba(216, 255, 62, 0.35);
}


.feed-meta {
  display: flex;

  flex-wrap: wrap;

  gap:
    8px
    12px;

  margin-bottom: 8px;

  color:
    var(--muted-2);

  font-size: 10px;
}


.feed-did {
  overflow: hidden;

  margin-bottom: 7px;

  text-overflow: ellipsis;

  color:
    #b7bbc1;

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 11px;

  white-space: nowrap;
}


.feed-item.match .feed-did {
  color:
    var(--accent);
}


.feed-message {
  margin: 0;

  color:
    #e9eaec;

  font-size: 13px;

  line-height: 1.55;

  word-break: break-word;
}


.empty-state {
  min-height: 200px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 7px;

  padding: 25px;

  border:
    1px
    dashed
    var(--border);

  border-radius: 14px;

  color:
    var(--muted);

  text-align: center;
}


.empty-state strong {
  color:
    #c9ccd0;

  font-size: 13px;
}


.empty-state span {
  max-width: 430px;

  font-size: 11px;

  line-height: 1.5;
}


.empty-icon {
  display: grid;

  place-items: center;

  width: 38px;
  height: 38px;

  margin-bottom: 5px;

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.035);

  color:
    var(--accent);
}


/* MY ACTIVITY */

.my-activity-stats {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 10px;

  margin-bottom: 12px;
}


.my-activity-stats article {
  min-width: 0;

  padding:
    14px
    16px;

  border:
    1px
    solid
    var(--border);

  border-radius: 13px;

  background:
    var(--panel);
}


.my-activity-stats span {
  display: block;

  margin-bottom: 8px;

  color:
    var(--muted-2);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.08em;
}


.my-activity-stats strong {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;

  font-size: 14px;

  white-space: nowrap;
}



/* MY ACTIVITY CAPTURE TIP */

.capture-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 700px;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid rgba(216, 255, 62, 0.16);
  border-radius: 11px;
  background: rgba(216, 255, 62, 0.035);
}

.capture-tip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
}

.capture-tip strong {
  display: block;
  margin-bottom: 3px;
  color: #d9dce0;
  font-size: 10px;
}

.capture-tip p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}


/* CARD THEME SELECTOR */

.theme-selector {
  display: flex;

  align-items: center;

  gap: 10px;
}


.theme-selector > span {
  color:
    var(--muted);

  font-size: 10px;
  font-weight: 700;
}


.theme-buttons {
  display: flex;

  gap: 4px;

  padding: 3px;

  border:
    1px
    solid
    var(--border);

  border-radius: 9px;

  background:
    #0b0c0d;
}


.theme-button {
  height: 29px;

  padding:
    0
    9px;

  border: 0;

  border-radius: 6px;

  background:
    transparent;

  color:
    var(--muted);

  font-size: 9px;
  font-weight: 800;
}


.theme-button.active {
  background:
    var(--panel-3);

  color:
    var(--text);
}


/* ACTIVITY CARD */

.proof-section {
  padding: 20px;

  margin-bottom: 20px;
}


.proof-layout {
  display: grid;

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

  gap: 18px;
}


.proof-card {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  min-height: 410px;

  padding: 30px;

  border-radius: 23px;

  transition:
    background
    200ms
    ease,
    color
    200ms
    ease,
    border-color
    200ms
    ease;
}


.proof-card.theme-dark {
  border:
    1px
    solid
    rgba(216, 255, 62, 0.21);

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(216, 255, 62, 0.13),
      transparent 16rem
    ),
    linear-gradient(
      145deg,
      #111315,
      #090a0b
    );

  color:
    #f5f6f7;
}


.proof-card.theme-neon {
  border:
    1px
    solid
    rgba(216, 255, 62, 0.48);

  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(216, 255, 62, 0.26),
      transparent 18rem
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(119, 76, 255, 0.16),
      transparent 19rem
    ),
    #080a08;

  color:
    #ffffff;

  box-shadow:
    inset
    0
    0
    50px
    rgba(216, 255, 62, 0.025);
}


.proof-card.theme-minimal {
  border:
    1px
    solid
    #dedede;

  background:
    #f4f4f0;

  color:
    #111214;
}


.card-grid-decoration {
  position: absolute;

  inset: 0;

  z-index: -2;

  opacity: 0.22;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025)
      1px,
      transparent
      1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025)
      1px,
      transparent
      1px
    );

  background-size:
    42px
    42px;
}


.theme-minimal .card-grid-decoration {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.035)
      1px,
      transparent
      1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.035)
      1px,
      transparent
      1px
    );
}


.card-glow {
  position: absolute;

  z-index: -1;

  width: 320px;
  height: 320px;

  right: -100px;
  top: -140px;

  border-radius: 50%;

  background:
    rgba(216, 255, 62, 0.07);

  filter:
    blur(10px);
}


.theme-neon .card-glow {
  background:
    rgba(216, 255, 62, 0.18);
}


.theme-minimal .card-glow {
  background:
    rgba(150, 170, 30, 0.08);
}


.proof-top {
  display: flex;

  justify-content: space-between;

  gap: 20px;
}


.proof-brand {
  margin-bottom: 5px;

  color:
    var(--accent);

  font-size: 11px;
  font-weight: 950;

  letter-spacing: 0.20em;
}


.theme-minimal .proof-brand {
  color:
    #667a00;
}


.proof-top h3 {
  margin: 0;

  font-size: 31px;

  letter-spacing: -0.045em;
}


.verified-badge {
  display: inline-flex;

  align-items: center;

  align-self: flex-start;

  gap: 7px;

  padding:
    8px
    10px;

  border:
    1px
    solid
    rgba(216, 255, 62, 0.24);

  border-radius: 999px;

  background:
    rgba(216, 255, 62, 0.08);

  color:
    var(--accent);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.07em;
}


.verified-badge span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    currentColor;
}


.theme-minimal .verified-badge {
  border-color:
    rgba(70, 80, 0, 0.18);

  background:
    rgba(90, 110, 0, 0.06);

  color:
    #5d7000;
}


.proof-message {
  max-width: 900px;

  margin:
    58px
    0
    62px;

  font-size:
    clamp(
      21px,
      2.6vw,
      34px
    );

  font-weight: 730;

  line-height: 1.35;

  letter-spacing: -0.03em;
}


.proof-details {
  display: grid;

  grid-template-columns:
    2fr
    0.8fr
    0.9fr
    1.4fr;

  gap: 14px;
}


.proof-details > div {
  min-width: 0;
}


.proof-details span {
  display: block;

  margin-bottom: 6px;

  color:
    #777d84;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.09em;
}


.proof-details strong {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;

  color:
    #d8dade;

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 11px;

  white-space: nowrap;
}


.theme-minimal .proof-details strong {
  color:
    #34373a;
}


.proof-footer {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-top: 29px;

  padding-top: 16px;

  border-top:
    1px
    solid
    rgba(255, 255, 255, 0.08);

  color:
    #6e737a;

  font-size: 10px;
}


.theme-minimal .proof-footer {
  border-color:
    rgba(0, 0, 0, 0.09);

  color:
    #777b7e;
}


/* SHARE */

.proof-actions {
  display: flex;

  flex-direction: column;

  gap: 9px;
}


.proof-actions button {
  width: 100%;
}


.action-intro {
  margin-bottom: 7px;
}


.action-intro strong {
  display: block;

  margin-bottom: 5px;

  font-size: 13px;
}


.action-intro p {
  margin: 0;

  color:
    var(--muted);

  font-size: 10px;

  line-height: 1.55;
}


.share-button span {
  margin-right: 5px;
}


.share-hint {
  margin-top: 5px;

  padding: 12px;

  border:
    1px
    solid
    var(--border);

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.02);
}


.share-hint strong {
  display: block;

  margin-bottom: 4px;

  color:
    #c8cbd0;

  font-size: 10px;
}


.share-hint span {
  display: block;

  color:
    var(--muted-2);

  font-size: 9px;

  line-height: 1.5;
}


/* ABOUT */

.about-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 11px;

  margin-bottom: 36px;
}


.about-card {
  display: flex;

  gap: 13px;

  padding: 17px;

  border:
    1px
    solid
    var(--border);

  border-radius: 14px;

  background:
    rgba(16, 17, 19, 0.72);
}


.about-icon {
  display: grid;

  place-items: center;

  flex:
    0
    0
    auto;

  width: 34px;
  height: 34px;

  border-radius: 10px;

  background:
    var(--accent-soft);

  color:
    var(--accent);
}


.about-card strong {
  display: block;

  margin-bottom: 5px;

  font-size: 12px;
}


.about-card p {
  margin: 0;

  color:
    var(--muted);

  font-size: 10px;

  line-height: 1.55;
}


/* FOOTER */

footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  padding-top: 20px;

  border-top:
    1px
    solid
    var(--border);
}


footer > div:first-child {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


footer strong {
  font-size: 11px;
}


footer span {
  color:
    var(--muted-2);

  font-size: 9px;
}


.footer-links {
  display: flex;

  gap: 18px;

  color:
    var(--muted);

  font-size: 10px;
  font-weight: 700;
}


.footer-links a:hover {
  color:
    var(--accent);
}



/* HOW TO USE + FIRST-VISIT TUTORIAL */

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.how-to-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
  font-size: 12px;
  transition: transform 130ms ease, background 130ms ease, border-color 130ms ease;
}

.how-to-button:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 255, 62, 0.55);
  background: rgba(216, 255, 62, 0.14);
}

.how-to-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(216, 255, 62, 0.35);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 950;
}

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 28px 18px;
  background: rgba(3, 4, 5, 0.82);
  backdrop-filter: blur(12px);
}

.tutorial-overlay[hidden] {
  display: none;
}

.tutorial-modal {
  position: relative;
  width: min(780px, 100%);
  margin: min(6vh, 60px) auto;
  padding: 28px;
  border: 1px solid rgba(216, 255, 62, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(216, 255, 62, 0.09), transparent 18rem),
    #101113;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.tutorial-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.tutorial-close:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.tutorial-heading {
  padding-right: 44px;
}

.tutorial-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.17em;
}

.tutorial-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.08;
}

.tutorial-heading p,
.tutorial-warning p,
.tutorial-step p,
.tutorial-proof-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tutorial-heading p {
  max-width: 650px;
  font-size: 12px;
}

.tutorial-warning {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  padding: 14px;
  border: 1px solid rgba(216, 255, 62, 0.16);
  border-radius: 13px;
  background: rgba(216, 255, 62, 0.04);
}

.tutorial-warning > span {
  font-size: 18px;
}

.tutorial-warning strong,
.tutorial-proof-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
}

.tutorial-warning p,
.tutorial-proof-note p {
  font-size: 10px;
}

.tutorial-modal code {
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #0a0b0c;
  color: #d9dce0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.tutorial-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tutorial-step {
  display: flex;
  gap: 12px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel-2);
}

.tutorial-step:last-child {
  grid-column: 1 / -1;
}

.tutorial-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--accent);
  color: #08090a;
  font-size: 12px;
  font-weight: 950;
}

.tutorial-step strong {
  display: block;
  margin: 2px 0 5px;
  font-size: 12px;
}

.tutorial-step p {
  font-size: 10px;
}

.tutorial-proof-note {
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.tutorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tutorial-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.tutorial-checkbox input {
  accent-color: var(--accent);
}

.tutorial-start-button {
  min-width: 175px;
}

body.tutorial-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .tutorial-overlay {
    padding: 10px;
  }

  .tutorial-modal {
    margin: 10px auto;
    padding: 20px;
    border-radius: 18px;
  }

  .tutorial-steps {
    grid-template-columns: 1fr;
  }

  .tutorial-step:last-child {
    grid-column: auto;
  }

  .tutorial-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tutorial-start-button {
    width: 100%;
  }
}


/* RESPONSIVE */

@media (max-width: 1050px) {

  .controls-panel {
    grid-template-columns:
      1fr
      1fr;
  }


  .button-row {
    grid-column:
      1 / -1;
  }


  .activity-navigation {
    grid-template-columns:
      1fr
      1fr;
  }


  .activity-navigation .toggle-control {
    grid-column:
      1 / -1;

    min-height: 52px;
  }


  .proof-layout {
    grid-template-columns:
      1fr;
  }


  .proof-actions {
    display: grid;

    grid-template-columns:
      repeat(2, 1fr);
  }


  .action-intro,
  .share-hint {
    grid-column:
      1 / -1;
  }

}


@media (max-width: 780px) {

  .app-shell {
    width:
      min(
        100% - 20px,
        1420px
      );

    padding-top: 28px;
  }


  .hero {
    flex-direction: column;
  }


  .controls-panel,
  .stats-grid,
  .my-activity-stats,
  .about-grid {
    grid-template-columns:
      1fr
      1fr;
  }


  .controls-panel .button-row {
    grid-column:
      1 / -1;
  }


  .proof-details {
    grid-template-columns:
      1fr
      1fr;
  }

}


@media (max-width: 600px) {

  .activity-navigation {
    grid-template-columns:
      1fr;
  }


  .activity-navigation .toggle-control {
    grid-column:
      auto;

    min-height: 54px;
  }

}


@media (max-width: 560px) {

  .controls-panel,
  .stats-grid,
  .my-activity-stats,
  .about-grid {
    grid-template-columns:
      1fr;
  }


  .button-row {
    flex-direction: column;
  }


  .panel-heading {
    flex-direction: column;
  }


  .theme-selector {
    width: 100%;

    justify-content: space-between;
  }


  .proof-card {
    min-height: 450px;

    padding: 22px;
  }


  .proof-top {
    flex-direction: column;
  }


  .proof-message {
    margin:
      42px
      0;
  }


  .proof-details {
    grid-template-columns:
      1fr
      1fr;
  }


  .proof-footer {
    flex-direction: column;

    gap: 5px;
  }


  .proof-actions {
    display: flex;
  }


  footer {
    align-items: flex-start;

    flex-direction: column;
  }


  .footer-links {
    flex-direction: column;

    gap: 8px;
  }

}
