/*
  SCHICGIRL - hydracheck.css (extracted from hydracheck.html)
  (c) 2024-2026 Schicgirl.
*/
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      :root {
        --cream: #fdf6ee;
        --warm: #f5e9d8;
        --blush: #f2d5cf;
        --rose: #e4b4af;
        --brown: #3e261c;
        --brown-md: #6b3e2e;
        --gold: #b07b38;
        --gold-lt: #d4a55e;
        --muted: #9a7060;
        --white: #fff;
        --danger: #8a3a33;
        --success: #3a6b4c;
        --shadow-s: 0 4px 24px rgba(62, 38, 28, 0.08);
        --shadow-l: 0 24px 80px rgba(62, 38, 28, 0.18);
        --radius: 20px;
        --radius-lg: 28px;
        --serif: "Cormorant Garamond", Georgia, serif;
        --sans: "DM Sans", system-ui, sans-serif;
      }
      html {
        height: 100%;
        -webkit-text-size-adjust: 100%;
      }
      body {
        min-height: 100%;
        font-family: var(--sans);
        color: var(--brown);
        background:
          radial-gradient(
            ellipse 70% 55% at 8% 0%,
            #f2ccc7 0%,
            transparent 55%
          ),
          radial-gradient(
            ellipse 60% 50% at 92% 100%,
            #edd9b0 0%,
            transparent 50%
          ),
          linear-gradient(160deg, #fdf6ee, #f7ede0);
        background-attachment: fixed;
      }
      .app {
        width: min(1040px, 96vw);
        min-height: 100dvh;
        margin: 0 auto;
        padding: 14px 0 env(safe-area-inset-bottom, 0);
        display: grid;
        grid-template-rows: auto 1fr auto;
        gap: 10px;
      }

      /* ── Topbar ── */
      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(255, 255, 255, 0.74);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(176, 123, 56, 0.2);
        border-radius: var(--radius-lg);
        padding: 12px 16px;
        box-shadow: var(--shadow-s);
      }
      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }
      .mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--rose), var(--gold));
        display: grid;
        place-items: center;
        color: #fff;
        font-family: var(--serif);
        font-size: 25px;
        font-weight: 600;
        box-shadow: 0 8px 20px rgba(176, 123, 56, 0.28);
        flex: 0 0 auto;
      }
      .brand small {
        display: block;
        font-size: 10px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--gold);
        font-weight: 700;
      }
      .brand h1 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: clamp(21px, 3vw, 34px);
        line-height: 1.02;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      /* Language switcher */
      .lang-sw {
        display: flex;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(176, 123, 56, 0.22);
        border-radius: 999px;
        padding: 3px;
        gap: 2px;
        flex-shrink: 0;
      }
      .lang-sw button {
        border: none;
        background: transparent;
        padding: 5px 13px;
        border-radius: 999px;
        font-family: var(--sans);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        color: var(--muted);
        transition: 0.18s;
        letter-spacing: 0.05em;
      }
      .lang-sw button.active {
        background: var(--gold);
        color: white;
        box-shadow: 0 3px 10px rgba(176, 123, 56, 0.3);
      }

      /* ── Layout ── */
      .panel {
        display: grid;
        grid-template-columns: 0.92fr 1.08fr;
        gap: 12px;
        align-items: start;
      }

      .hero,
      .chat-panel {
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(176, 123, 56, 0.18);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-l);
        overflow: hidden;
      }

      /* ── Hero sidebar ── */
      .hero {
        padding: 26px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
        position: relative;
        height: auto;
      }
      .hero::after {
        content: "";
        position: absolute;
        right: -80px;
        bottom: -90px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        border: 1px solid rgba(176, 123, 56, 0.18);
        background: radial-gradient(
          circle,
          rgba(228, 180, 175, 0.25),
          transparent 62%
        );
      }
      .eyebrow {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 7px;
      }
      .hero h2 {
        font-family: var(--serif);
        font-weight: 400;
        font-size: clamp(34px, 5vw, 58px);
        line-height: 0.96;
        margin-bottom: 14px;
      }
      .hero p {
        font-size: 14px;
        line-height: 1.75;
        color: var(--muted);
        max-width: 540px;
      }
      .mini-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        position: relative;
        z-index: 1;
      }
      .mini {
        background: #fff;
        border: 1px solid rgba(176, 123, 56, 0.14);
        border-radius: 18px;
        padding: 14px;
        box-shadow: var(--shadow-s);
      }
      .mini strong {
        font-family: var(--serif);
        font-size: 23px;
        color: var(--gold);
        display: block;
        line-height: 1;
      }
      .mini span {
        font-size: 11.5px;
        color: var(--muted);
        line-height: 1.4;
        display: block;
        margin-top: 5px;
      }

      /* ── Chat ── */
      .chat-panel {
        display: flex;
        flex-direction: column;
        min-height: 620px;
      }
      .progress-track {
        height: 4px;
        background: rgba(176, 123, 56, 0.1);
        flex: 0 0 auto;
      }
      .progress-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--rose), var(--gold));
        transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .chatbox {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 18px 18px 10px;
        scroll-behavior: smooth;
      }
      .chatbox::-webkit-scrollbar {
        width: 4px;
      }
      .chatbox::-webkit-scrollbar-thumb {
        background: rgba(176, 123, 56, 0.25);
        border-radius: 4px;
      }
      .msg {
        max-width: 91%;
        margin-bottom: 11px;
        border-radius: 18px;
        padding: 12px 15px;
        font-size: 13.5px;
        line-height: 1.58;
        white-space: pre-line;
        animation: fadeUp 0.25s cubic-bezier(0.34, 1.2, 0.64, 1) both;
      }
      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(8px) scale(0.98);
        }
        to {
          opacity: 1;
          transform: none;
        }
      }
      .bot {
        background: #fff;
        border: 1px solid rgba(228, 180, 175, 0.4);
        border-bottom-left-radius: 5px;
      }
      .user {
        background: var(--brown);
        color: #fff;
        margin-left: auto;
        border-bottom-right-radius: 5px;
      }
      .result {
        max-width: 100%;
        background: linear-gradient(145deg, #fffaf3, #fff7ee);
        border: 1px solid rgba(176, 123, 56, 0.28);
      }
      .quick {
        flex: 0 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        padding: 9px 14px 7px;
        background: rgba(255, 255, 255, 0.62);
        border-top: 1px solid rgba(228, 180, 175, 0.2);
        max-height: 150px;
        overflow-y: auto;
      }
      .quick:empty {
        padding: 0;
        border-top: none;
        max-height: 0;
      }
      button {
        font-family: var(--sans);
      }
      .qbtn {
        border: 1.5px solid rgba(176, 123, 56, 0.32);
        background: #fff;
        color: var(--brown-md);
        border-radius: 999px;
        padding: 9px 14px;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.17s;
      }
      .qbtn:hover {
        background: var(--warm);
        border-color: var(--gold);
        transform: translateY(-1px);
      }
      .form {
        flex: 0 0 auto;
        display: flex;
        gap: 8px;
        padding: 11px 12px 13px;
        border-top: 1px solid rgba(228, 180, 175, 0.28);
        background: rgba(253, 246, 238, 0.95);
      }
      .form input {
        flex: 1;
        height: 44px;
        border-radius: 999px;
        border: 1.5px solid rgba(176, 123, 56, 0.28);
        padding: 0 18px;
        font-size: 16px;
        outline: none;
        color: var(--brown);
      }
      .form input:focus {
        border-color: var(--gold);
      }
      .send {
        height: 44px;
        border: 0;
        border-radius: 999px;
        background: var(--brown);
        color: #fff;
        padding: 0 18px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: 0.17s;
      }
      .send:hover {
        background: var(--brown-md);
      }

      /* Typing indicator */
      .typing {
        display: inline-flex;
        gap: 5px;
        background: #fff;
        border: 1px solid rgba(228, 180, 175, 0.4);
        border-radius: 18px;
        border-bottom-left-radius: 5px;
        padding: 12px 15px;
        margin-bottom: 11px;
      }
      .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--rose);
        animation: bounce 1.2s ease-in-out infinite;
      }
      .dot:nth-child(2) {
        animation-delay: 0.18s;
      }
      .dot:nth-child(3) {
        animation-delay: 0.36s;
      }
      @keyframes bounce {
        0%,
        60%,
        100% {
          transform: translateY(0);
          opacity: 0.6;
        }
        30% {
          transform: translateY(-6px);
          opacity: 1;
        }
      }

      /* Result card */
      .r-label {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 7px;
      }
      .divider {
        height: 1px;
        background: rgba(176, 123, 56, 0.14);
        margin: 14px 0;
      }
      .score-card {
        display: flex;
        align-items: center;
        gap: 13px;
        background: rgba(176, 123, 56, 0.09);
        border-radius: 16px;
        padding: 12px 16px;
        margin-bottom: 12px;
      }
      .score {
        font-family: var(--serif);
        font-size: 48px;
        font-weight: 600;
        color: var(--gold);
        line-height: 1;
      }
      .score-text {
        font-size: 12.5px;
        color: var(--muted);
        line-height: 1.45;
      }
      .score-text strong {
        color: var(--brown);
      }
      .method-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
        margin-top: 8px;
      }
      .method {
        background: #fff;
        border: 1px solid rgba(176, 123, 56, 0.16);
        border-radius: 14px;
        padding: 12px;
        font-size: 12.5px;
        line-height: 1.55;
      }
      .method b {
        color: var(--gold);
      }
      .offer {
        background: linear-gradient(145deg, #fffaf3, #fff2e5);
        border: 1px solid rgba(176, 123, 56, 0.33);
        border-radius: var(--radius);
        padding: 18px;
        margin-top: 12px;
      }
      .offer h3 {
        font-family: var(--serif);
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 8px;
      }
      .offer p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.65;
        margin-bottom: 9px;
      }
      .offer-btns {
        display: grid;
        gap: 9px;
        margin-top: 12px;
      }
      .offer a {
        display: block;
        text-align: center;
        text-decoration: none;
        border-radius: 999px;
        padding: 13px 16px;
        font-size: 13px;
        font-weight: 800;
      }
      .btn-dark {
        background: var(--brown);
        color: #fff;
      }
      .btn-gold {
        background: linear-gradient(135deg, var(--gold), var(--gold-lt));
        color: #fff;
      }

      /* Footer */
      .footer {
        text-align: center;
        font-size: 10.5px;
        color: var(--muted);
        padding: 2px 8px 6px;
        line-height: 1.5;
      }

      /* Responsive */
     @media(max-width:900px){

  html,
  body{
    height:100%;
    overflow:hidden;
  }

  .app{
    width:100%;
    height:100dvh;

    padding:4px;

    display:flex;
    flex-direction:column;

    gap:4px;
  }

  .panel{
    flex:1;
    min-height:0;

    display:flex;
    flex-direction:column;
  }

  .hero{
    display:none;
  }

  .chat-panel{
    flex:1;

    min-height:0;
    height:100%;

    border-radius:18px;

    overflow:hidden;
  }

  .chatbox{
    flex:1;

    overflow-y:auto;

    padding:12px 10px 8px;
  }

  .form{
    padding:8px;
  }

  .form input{
    height:42px;
  }

  .send{
    height:42px;
  }

  .topbar{
    border-radius:18px;
  }

  .brand h1{
    font-size:22px;
  }

  .method-grid{
    grid-template-columns:1fr;
  }

  .msg{
    max-width:95%;
    font-size:13px;
  }

}
    

.sg-foot{text-align:center;padding:1.25rem 1rem;font-size:.72rem;color:#000;opacity:.5;letter-spacing:.02em}.sg-foot a{color:inherit;text-decoration:underline;text-underline-offset:2px}
