  :root {
    --bg: #f4f5f7;
    --card-bg: #ffffff;
    --text: #1f2430;
    --label: #4a4f5c;
    --border: #d7dae0;
    --accent: #4a6cf7;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #14161a;
      --card-bg: #1e2126;
      --text: #ecedf0;
      --label: #b6bac2;
      --border: #33373f;
      --accent: #6b8bff;
    }
  }
@font-face {
  font-family: Comic Sans MS;
  src: url(fonts/comic-sans-ms-regular-3-2_ufonts.com.ttf);
}

  * { box-sizing: border-box; font-family: "Comic Sans MS", sans-serif; }

  body{
    background: var(--bg);
    color: var(--text);

  }

  html::-webkit-scrollbar {
      display: none;
  }
  html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
  }

  .body {
    margin: 0;
    min-height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px;
  }

  .card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .crad {
    max-width: none;
  }

  h1 {
    font-size: 1.3rem;
    margin: 0 0 24px 0;
    text-align: center;
  }

  .field {
    margin-bottom: 18px;
  }

  label {
    display: block;
    font-size: 0.9rem;
    color: var(--label);
    margin-bottom: 6px;
  }

  input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease;
  }

  input[type="text"]:focus {
    border-color: var(--accent);
  }

  input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
  }

  button {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  button:hover {
    opacity: 0.9;
  }

  .status-wrap {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }

  .pigeon {
    position: fixed;
    top: 0;
    left: 0;
    font-size: 30rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.2s ease;
    will-change: transform;
  }

  .pigeon.visible {
    opacity: 1;
  }

  .status-msg {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color: var(--label);
    opacity: 0;
    transition: opacity 1s ease;
  }

  .status-msg.visible {
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .entries h2 {
    font-size: 1.1rem;
    margin: 0 0 16px 0;
    text-align: center;
  }

  .bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .bubble {
    background: var(--bg);
    border-radius: 16px;
    padding: 8px 14px;
    font-size: 1.5rem;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .bubble .cas {
    display: block;
    font-size: 0.7rem;
    color: var(--label);
  }

  .bubbles-empty {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--label);
  }
.rainbow{
    color:#fff;
    background-color: #fff;
}
.logo {
  position: sticky;
  top: 10px;
  height: 50%;
  width: 50%;
}
.logoimg {
  height: 50px;
}