  :root {
      --bg: #0a0a0a;
      --surface: #1a1a1a;
      --btn-erase: #12935c;
      --surface2: #1b1b1b;
      --edge: hsl(240, 2%, 13%);
      --edge2: hsl(240, 2%, 12%);
      --jet: hsl(0, 0%, 22%);
      --onyx: hsl(240, 1%, 17%);
      --green: #45be6c;
      --green-l: #57f287;
      --gold: #dfc947;
      --gold-l: #fee75c;
      --pg: hsl(145, 38%, 32%);
      --pg-h: hsl(144.3, 44%, 37%);
      --bad: hsl(0, 50%, 58%);
      --white-1: hsl(0, 0%, 100%);
      --white-2: hsl(0, 0%, 98%);
      --light-gray: hsl(0, 0%, 84%);
      --soft: hsl(0, 0%, 62%);
      --muted: hsl(0, 0%, 40%);
      --focus-ring: rgba(69, 190, 108, .7);
  }

  *,
  *::before,
  *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--white-2);
      min-height: min-h-dvh;
      min-height: 100dvh;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      font-size: 16px;
  }

  /* ── Skip link (accessibility) ── */
  .skip-link {
      position: absolute;
      top: -100%;
      left: 1rem;
      background: var(--green);
      color: var(--bg);
      padding: 10px 18px;
      border-radius: 0 0 10px 10px;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .85rem;
      z-index: 9999;
      text-decoration: none;
      transition: top .15s;
  }

  .skip-link:focus {
      top: 0;
  }

  /* ── Focus rings (accessibility CRITICAL) ── */
  *:focus-visible {
      outline: 2.5px solid var(--focus-ring);
      outline-offset: 3px;
      border-radius: 6px;
  }

  button:focus-visible,
  a:focus-visible {
      border-radius: 10px;
  }

  a:link,
  a:visited {
      color: #D3C9D6;
  }

  ::-webkit-scrollbar {
      height: 4px;
      width: 4px;
  }

  ::-webkit-scrollbar-track {
      border-radius: 2em;

  }

  ::-webkit-scrollbar-thumb {
      background-color: #2a6e3f9e;
      border-radius: 2em;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #57f287;
  }

  a:hover {
      color: #7bb4f0;
      animation: colorRotate .5s linear 0s infinite;
  }

  /* ── Grain canvas 35mm ── */
  #grain {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 999;
      opacity: .05;
      mix-blend-mode: screen;
  }

  /* ── Background mesh ── */
  .bg-mesh {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
          radial-gradient(ellipse 55% 45% at 15% 8%, rgba(69, 190, 108, .09) 0%, transparent 65%),
          radial-gradient(ellipse 45% 35% at 85% 78%, rgba(87, 242, 135, .06) 0%, transparent 65%),
          radial-gradient(ellipse 35% 55% at 65% 25%, rgba(223, 201, 71, .04) 0%, transparent 65%),
          radial-gradient(ellipse 60% 30% at 50% 105%, rgba(69, 190, 108, .04) 0%, transparent 70%);
  }

  /* ── Logo icon ── */
  .logo-icon {
      width: 34px;
      height: 34px;
      border-radius: 9px;
      flex-shrink: 0;
      background: linear-gradient(135deg, var(--pg), var(--green));
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 0 1px rgba(87, 242, 135, .2), 0 4px 14px rgba(69, 190, 108, .25);
  }

  /* ── Logo text — sem gradiente, clean ── */
  .logo-text {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      color: var(--white-1);
      letter-spacing: -.02em;
  }

  /* ── Hero tag ── */
  .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(69, 190, 108, .07);
      border: 1px solid rgba(69, 190, 108, .2);
      border-radius: 999px;
      padding: 6px 16px;
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      font-size: .72rem;
      letter-spacing: .08em;
      color: var(--green-l);
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(87, 242, 135, .06);
  }

  .tag-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green-l);
      box-shadow: 0 0 6px var(--green-l);
      animation: pdot 2s ease infinite;
  }

  @keyframes pdot {

      0%,
      100% {
          opacity: 1;
          box-shadow: 0 0 6px var(--green-l);
      }

      50% {
          opacity: .4;
          box-shadow: 0 0 14px var(--green-l);
      }
  }

  /* ── Card ── */
  .card {
      background: var(--surface);
      border: 1px solid var(--edge);
      border-radius: 20px;
      position: relative;
      overflow: hidden;
  }

  .card::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(135deg, rgba(69, 190, 108, .04) 0%, transparent 55%);
  }

  .card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      pointer-events: none;
      background: linear-gradient(90deg, transparent, rgba(87, 242, 135, .16), transparent);
  }

  /* ── Textarea ── */
  .link-input {
      width: 100%;
      background: var(--bg);
      border: 1.5px solid var(--onyx);
      border-radius: 12px;
      color: var(--white-2);
      font-family: 'DM Mono', 'Fira Mono', 'Courier New', monospace;
      font-size: .82rem;
      line-height: 1.65;
      padding: 14px 16px;
      resize: none;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      min-height: 100px;
  }

  .link-input::placeholder {
      color: var(--jet);
      font-size: .8rem;
  }

  .link-input:focus {
      border-color: rgba(69, 190, 108, .55);
      box-shadow: 0 0 0 3px rgba(69, 190, 108, .08);
  }

  /* ────────────────────────────────────────────────────────────
       ERASER BUTTON (uiverse.io inspired sweep + tilt animation)
    ──────────────────────────────────────────────────────────── */
  .btn-erase {
      background: linear-gradient(135deg, var(--btn-erase) 0%, var(--btn-erase) 70%, var(--btn-erase) 100%);
      color: white;
      font-weight: 800;
      font-size: .92rem;
      letter-spacing: .04em;
      border: none;
      border-radius: 12px;
      padding: 14px 28px;
      min-height: 48px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: transform .15s, box-shadow .15s, filter .15s;
      box-shadow: 0 3px 0 #45be6b57, 0 10px 28px -8px #45be6b54;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
  }

  /* Shimmer gloss base */
  .btn-erase::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, transparent 55%);
  }

  /* Sweep wipe effect */
  .btn-erase::after {
      content: '';
      position: absolute;
      top: -4px;
      left: -110%;
      width: 65%;
      height: calc(100% + 8px);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), rgba(255, 255, 255, .3), rgba(255, 255, 255, .22), transparent);
      transform: skewX(-12deg);
      pointer-events: none;
  }

  .btn-erase:hover::after {
      animation: eraserSweep .55s cubic-bezier(.22, 1, .36, 1) forwards;
  }

  @keyframes eraserSweep {
      0% {
          left: -110%
      }

      100% {
          left: 130%
      }
  }

  /* Icon tilt on hover */
  .btn-erase:hover .eraser-ico {
      animation: eraserTilt .4s cubic-bezier(.34, 1.56, .64, 1) forwards;
  }

  @keyframes eraserTilt {
      0% {
          transform: rotate(0deg) translate(0, 0);
      }

      25% {
          transform: rotate(-18deg) translate(-1px, 1px);
      }

      60% {
          transform: rotate(12deg) translate(1px, -1px);
      }

      100% {
          transform: rotate(0deg) translate(0, 0);
      }
  }

  .btn-erase:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
      box-shadow: 0 5px 0 rgba(69, 190, 108, .4), 0 14px 34px -6px rgba(69, 190, 108, .45);
  }

  .btn-erase:active {
      transform: translateY(1px) scale(.98);
      box-shadow: 0 1px 0 rgba(69, 190, 108, .4);
  }

  /* Disabled during loading */
  .btn-erase:disabled {
      opacity: .55;
      cursor: not-allowed;
      transform: none;
      filter: none;
  }

  /* ── Secondary button ── */
  .btn-secondary {
      background: var(--surface);
      color: var(--soft);
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      font-size: .88rem;
      border: 1.5px solid var(--edge);
      border-radius: 11px;
      padding: 10px 18px;
      min-height: 48px;
      min-width: 48px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: background .15s, border-color .15s, color .15s, transform .1s;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
  }

  .btn-secondary:hover {
      background: var(--onyx);
      border-color: var(--jet);
      color: var(--light-gray);
      transform: translateY(-1px);
  }

  .btn-secondary:active {
      transform: translateY(0) scale(.97);
  }

  /* ── Loading bar ── */
  .loading-bar {
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--pg) 0%, var(--green) 40%, var(--green-l) 60%, var(--gold) 80%, var(--pg) 100%);
      background-size: 200% 100%;
      animation: shimmer 1.6s linear infinite;
      display: none;
  }

  @keyframes shimmer {
      0% {
          background-position: -200% 0
      }

      100% {
          background-position: 200% 0
      }
  }

  .loading-bar.visible {
      display: block;
  }

  /* ── Error ── */
  .error-msg {
      background: rgba(180, 60, 60, .07);
      border: 1px solid rgba(180, 60, 60, .28);
      border-radius: 10px;
      color: hsl(0, 70%, 68%);
      font-size: .84rem;
      padding: 12px 14px;
      display: none;
      line-height: 1.55;
  }

  .error-msg.visible {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      animation: pop .35s both;
  }

  /* ── Result box ── */
  .result-box {
      background: var(--bg);
      border: 1.5px solid rgba(69, 190, 108, .3);
      border-radius: 12px;
      padding: 14px 16px;
      font-family: 'DM Mono', 'Fira Mono', 'Courier New', monospace;
      font-size: .8rem;
      line-height: 1.7;
      color: var(--green-l);
      word-break: break-all;
      position: relative;
      display: none;
      box-shadow: 0 0 20px rgba(69, 190, 108, .04);
  }

  .result-box.visible {
      display: block;
      animation: pop .42s cubic-bezier(.34, 1.56, .64, 1) both;
  }

  @keyframes pop {
      0% {
          transform: scale(.9);
          opacity: 0
      }

      60% {
          transform: scale(1.03)
      }

      100% {
          transform: scale(1);
          opacity: 1
      }
  }

  /* ── Copy btn ── */
  .copy-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(69, 190, 108, .1);
      border: 1px solid rgba(69, 190, 108, .26);
      border-radius: 7px;
      color: var(--green);
      font-size: .72rem;
      font-weight: 700;
      padding: 6px 12px;
      min-height: 36px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background .15s, transform .1s, color .15s;
      font-family: 'Syne', sans-serif;
      letter-spacing: .03em;
      touch-action: manipulation;
  }

  .copy-btn:hover {
      background: rgba(69, 190, 108, .22);
      color: var(--green-l);
      transform: scale(1.04);
  }

  .copy-btn:active {
      transform: scale(.96);
  }

  .copy-btn.copied {
      background: rgba(69, 190, 108, .26);
      color: var(--green-l);
  }

  /* ── Stat badge ── */
  .stat-badge {
      background: rgba(223, 201, 71, .08);
      border: 1px solid rgba(223, 201, 71, .2);
      border-radius: 6px;
      color: var(--gold);
      font-size: .67rem;
      font-weight: 700;
      padding: 3px 9px;
      font-family: 'Syne', sans-serif;
      letter-spacing: .05em;
      text-transform: uppercase;
  }

  /* ── Param pills ── */
  .param-pill {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(180, 60, 60, .07);
      border: 1px solid rgba(180, 60, 60, .22);
      border-radius: 999px;
      color: hsl(0, 65%, 65%);
      font-size: .7rem;
      padding: 4px 11px;
      font-family: 'DM Mono', monospace;
  }

  /* ── Feature icon ── */
  .feat-icon {
      width: 46px;
      height: 46px;
      flex-shrink: 0;
      border-radius: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
  }

  .feat-green {
      background: rgba(69, 190, 108, .08);
      border: 1px solid rgba(69, 190, 108, .18);
      color: var(--green);
  }

  .feat-gold {
      background: rgba(223, 201, 71, .08);
      border: 1px solid rgba(223, 201, 71, .2);
      color: var(--gold);
  }

  .feat-check {
      background: rgba(69, 190, 108, .12);
      border: 1px solid rgba(87, 242, 135, .24);
      color: var(--green-l);
  }

  /* ── Step num ── */
  .step-num {
      display: inline-block;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .63rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      background: rgba(69, 190, 108, .08);
      border: 1px solid rgba(69, 190, 108, .18);
      border-radius: 999px;
      padding: 2px 9px;
      color: var(--green);
      margin-bottom: 5px;
  }

  .step-gold {
      background: rgba(223, 201, 71, .08);
      border-color: rgba(223, 201, 71, .2);
      color: var(--gold);
  }

  /* ── Divider ── */
  .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--onyx) 30%, var(--onyx) 70%, transparent);
  }

  /* ── Reveal ── */
  .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .65s ease, transform .65s ease;
  }

  .reveal.in {
      opacity: 1;
      transform: translateY(0);
  }

  /* ── Gold underline ── */
  .gold-line {
      display: inline-block;
      border-bottom: 2px solid var(--gold);
      padding-bottom: 1px;
  }

  /* ── Nav link ── */
  .nav-link {
      font-size: .82rem;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: .01em;
      transition: color .15s;
      padding: 8px 4px;
      border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav-link:hover {
      color: var(--soft);
      border: 1px solid var(--soft);
  }

  /* ── kbd ── */
  kbd {
      background: var(--onyx);
      border: 1px solid var(--jet);
      border-radius: 4px;
      font-family: 'DM Mono', monospace;
      font-size: .67rem;
      color: var(--light-gray);
      padding: 2px 6px;
      box-shadow: 0 2px 0 var(--edge2);
  }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar {
      width: 5px;
  }

  ::-webkit-scrollbar-track {
      background: var(--bg);
  }

  ::-webkit-scrollbar-thumb {
      background: var(--onyx);
      border-radius: 999px;
  }

  /* ── Input label ── */
  .input-label {
      display: block;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
      cursor: pointer;
  }

  /* gbtn Styles */




  .gbtn:hover {
      background: linear-gradient(145deg, #12935c, #1ecc88);
  }

  .gbtn:active {
      transform: scale(0.97);
  }

  .gbtn .text {
      font-size: 1em;
      font-weight: 700;
      letter-spacing: 1px;
  }

  .gbtn .svg {
      padding-top: 5px;
      height: 100%;
      width: fit-content;
  }

  .gbtn .svg svg {
      width: 50px;
      height: 30px;
  }

  .gbtn:hover .svg svg {
      animation: jello-vertical 0.9s both;
      transform-origin: left;
  }

  /* Animations */
  @keyframes jello-vertical {

      0%,
      100% {
          transform: scale3d(1, 1, 1);
      }

      30% {
          transform: scale3d(0.75, 1.25, 1);
      }

      40% {
          transform: scale3d(1.25, 0.75, 1);
      }

      50% {
          transform: scale3d(0.85, 1.15, 1);
      }

      65% {
          transform: scale3d(1.05, 0.95, 1);
      }

      75% {
          transform: scale3d(0.95, 1.05, 1);
      }
  }

  @keyframes bounce {

      0%,
      50%,
      100% {
          transform: translateY(0);
      }

      25%,
      75% {
          transform: translateY(-0.25em);
      }
  }


  @media (max-width: 768px) {
      .gbtn {
          padding: 10px 20px;
          font-size: 0.9rem;
      }

      .gbtn .svg svg {
          width: 35px;
          height: 20px;
      }
  }

  /* ── Toast success ── */
  .toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(12px);
      background: rgba(30, 30, 30, .95);
      border: 1px solid rgba(87, 242, 135, .3);
      border-radius: 12px;
      padding: 11px 20px;
      display: flex;
      align-items: center;
      gap: 9px;
      color: var(--green-l);
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .82rem;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
      backdrop-filter: blur(10px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s, transform .25s;
      z-index: 500;
      white-space: nowrap;
  }

  .toast.visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }

  /* ── Stagger ── */
  .d1 {
      animation-delay: .08s
  }

  .d2 {
      animation-delay: .18s
  }

  .d3 {
      animation-delay: .28s
  }

  .d4 {
      animation-delay: .38s
  }

  .d5 {
      animation-delay: .48s
  }

  @keyframes fadeUp {
      0% {
          opacity: 0;
          transform: translateY(22px)
      }

      100% {
          opacity: 1;
          transform: translateY(0)
      }
  }

  .animate-fadeUp {
      animation: fadeUp .6s cubic-bezier(.22, 1, .36, 1) both;
  }

  /* ── Eraser dust particles ── */
  .dust-particle {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(87, 242, 135, .6);
      pointer-events: none;
      animation: dustPop .6s ease-out forwards;
  }

  @keyframes dustPop {
      0% {
          opacity: 0;
          transform: scale(0) translateY(0);
      }

      40% {
          opacity: 1;
      }

      100% {
          opacity: 0;
          transform: scale(1.2) translateY(-18px);
      }
  }

  /* ── Tab bar ─────────────────────────────────── */
  .lp-tab-bar {
      position: relative;
      display: flex;
      align-items: stretch;
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      background: rgba(255, 255, 255, .025);
      border-radius: 16px 16px 0 0;
      overflow: hidden;
  }

  .lp-tab {
      position: relative;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 13px 20px;
      font-family: 'Syne', sans-serif;
      font-size: .78rem;
      font-weight: 600;
      color: var(--muted);
      background: transparent;
      border: none;
      cursor: pointer;
      transition: color .2s, background .2s;
      outline: none;
      white-space: nowrap;
      z-index: 1;
      letter-spacing: .01em;
  }

  .lp-tab:focus-visible {
      box-shadow: inset 0 0 0 2px var(--green);
  }

  .lp-tab i {
      font-size: .72rem;
  }

  .lp-tab:hover {
      color: var(--soft);
      background: rgba(255, 255, 255, .03);
  }

  .lp-tab--active {
      color: var(--green) !important;
  }

  .lp-tab-ink {
      position: absolute;
      bottom: 0;
      height: 2px;
      background: var(--green);
      border-radius: 2px 2px 0 0;
      transition: left .25s cubic-bezier(.4, 0, .2, 1), width .25s cubic-bezier(.4, 0, .2, 1);
      pointer-events: none;
      z-index: 2;
  }

  /* ── Badge ───────────────────────────────────── */
  .lp-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
      border-radius: 99px;
      font-size: .6rem;
      font-weight: 700;
      font-family: 'Syne', sans-serif;
      background: rgba(87, 242, 135, .18);
      color: var(--green);
      line-height: 1;
  }

  /* ── Panel animation ─────────────────────────── */
  .lp-panel {
      animation: lpPanelIn .2s cubic-bezier(.4, 0, .2, 1) both;
  }

  @keyframes lpPanelIn {
      from {
          opacity: 0;
          transform: translateY(6px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* ── Histórico — empty state ─────────────────── */
  .lp-hist-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 36px 0 24px;
      text-align: center;
  }

  .lp-hist-empty i {
      font-size: 1.6rem;
      color: var(--jet);
      margin-bottom: 4px;
  }

  .lp-hist-empty p {
      font-size: .84rem;
      color: var(--soft);
      font-weight: 600;
      font-family: 'Syne', sans-serif;
  }

  .lp-hist-empty span {
      font-size: .72rem;
      color: var(--muted);
  }

  /* ── Histórico — botão limpar tudo ───────────── */
  .lp-hist-clear-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 11px;
      border-radius: 8px;
      font-size: .7rem;
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      color: hsl(0, 60%, 62%);
      background: rgba(255, 80, 80, .07);
      border: 1px solid rgba(255, 80, 80, .15);
      cursor: pointer;
      transition: background .18s, border-color .18s;
  }

  .lp-hist-clear-btn:hover {
      background: rgba(255, 80, 80, .14);
      border-color: rgba(255, 80, 80, .32);
  }

  /* ── Histórico — cada entrada ────────────────── */
  .lp-hist-entry {
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 12px;
      padding: 13px 14px;
      margin-bottom: 10px;
      background: rgba(255, 255, 255, .025);
      transition: border-color .18s;
      animation: lpPanelIn .18s both;
  }

  .lp-hist-entry:hover {
      border-color: rgba(87, 242, 135, .18);
  }

  .lp-hist-head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 7px;
  }

  .lp-hist-domain {
      font-family: 'Syne', sans-serif;
      font-size: .68rem;
      font-weight: 700;
      color: var(--green);
      background: rgba(87, 242, 135, .08);
      padding: 2px 8px;
      border-radius: 6px;
      max-width: 160px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .lp-hist-time {
      font-size: .63rem;
      color: var(--muted);
      margin-left: auto;
      white-space: nowrap;
  }

  .lp-hist-del {
      width: 26px;
      height: 26px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 7px;
      border: none;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      transition: background .15s, color .15s;
      flex-shrink: 0;
  }

  .lp-hist-del:hover {
      background: rgba(255, 80, 80, .12);
      color: hsl(0, 60%, 62%);
  }

  .lp-hist-del i {
      font-size: .68rem;
  }

  .lp-hist-clean {
      font-size: .78rem;
      color: var(--soft);
      word-break: break-all;
      line-height: 1.5;
      margin-bottom: 5px;
  }

  .lp-hist-orig-toggle {
      font-size: .65rem;
      color: var(--muted);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: color .15s;
  }

  .lp-hist-orig-toggle:hover {
      color: var(--soft);
  }

  .lp-hist-orig-url {
      font-size: .67rem;
      color: var(--muted);
      word-break: break-all;
      line-height: 1.4;
      padding: 6px 8px;
      border-radius: 7px;
      background: rgba(255, 255, 255, .03);
      margin-bottom: 6px;
      border-left: 2px solid rgba(255, 255, 255, .08);
  }

  .lp-hist-params {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 8px;
  }

  .lp-hist-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
  }

  .lp-hist-copy {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 11px;
      border-radius: 7px;
      font-size: .68rem;
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(87, 242, 135, .2);
      background: rgba(87, 242, 135, .06);
      color: var(--green);
      transition: background .15s, border-color .15s;
  }

  .lp-hist-copy:hover {
      background: rgba(87, 242, 135, .13);
      border-color: rgba(87, 242, 135, .4);
  }

  .lp-hist-copy.lp-copied {
      color: #45be6c;
  }

  .lp-hist-copy-orig {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 11px;
      border-radius: 7px;
      font-size: .68rem;
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, .08);
      background: transparent;
      color: var(--muted);
      transition: background .15s, border-color .15s, color .15s;
  }

  .lp-hist-copy-orig:hover {
      background: rgba(255, 255, 255, .05);
      color: var(--soft);
      border-color: rgba(255, 255, 255, .15);
  }


  @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
      }

      .btn-erase::after {
          display: none;
      }

      .reveal {
          opacity: 1;
          transform: none;
      }
  }