  :root{
  /* VocTest-like warm paper background */
  --bg:   #fbfbe8;     /* beige   #f6ead2*/
  --bg2:  #fbf3e6;     /* deeper beige #f1ddb6 */
  --card: #e3ae22;     /* creamy card */
  --card2:#ffffff;     /* white highlight */

  /* Text */
  --text:#111827;
  --muted:#4b5563;

  /* Lines & shadows (VocTest has soft shadow) */
  --line: rgba(17,24,39,.14);
  --shadow: 0 18px 40px rgba(0,0,0,.18);
  --radius: 18px;

  /* Gold / brown button family (main accent) */
  --gold:   #b87912;   /* warm brown-gold */
  --gold2:  #96610e;   /* darker hover */
  --gold3:  #7a4f0b;   /* pressed */
  --goldSoft:#f3e2c2;  /* soft highlight */

  /* Optional subtle green (very minimal, for tiny accents only) */
  --greenHint:#0b6b2e;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #fff8e1 0%, #ffe0b2 100%);
}

    .header {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        background: transparent;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px;
    }
    
    .header .title {
        font-size: clamp(1.5rem, 3vw, 2.5rem); 
        font-weight: bold;
        text-align: center;
        color: black;
    }
    .img { 
        width: clamp(2.5rem, 3vw, 2.5rem);
        height: auto;}
    
    .subtitle {
        font-size: clamp(0.9rem, 2vw, 1.4rem); 
        text-align: center;
        margin-top: 2px;
        color: black;
    }

    .sm-menu-wrapper {
      max-width: 900px;
      margin: 26px auto;
      padding: 10px 18px 26px;
      border: 1 px solid grey;
    }

    
    .menu-title {
      width: clamp(18rem, 80vw, 49rem);
      margin-left: auto;
      margin-right: auto;
      font-size: 1.3rem;
      font-weight: 750;
      text-align: center;
      justify-content: center;
      gap: 3px;
      color: #111;
    }
    .menu-subtitle {
      font-size: 0.95rem;
      font-weight: 500;
      color: #555;
    }

    /* ===== Grid ===== */
    .sm-grid {
      width: clamp(18rem, 80vw, 50rem);
      margin-left: auto;
      margin-right: auto;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
      margin-top: 10px;
      background: linear-gradient(180deg, #f2f2f2, #c5c5c5); 
      border:1px solid var(--ring);
      border-radius:16px; padding:12px; box-shadow:0 8px 24px rgba(0,0,0,.32);
    }

    /* ===== Pills ===== */
    .sm-pill {
      display: block;
      background: #0a8f08;
      color: #fff;
      border-radius: 14px;
      padding: 14px 10px;
      text-align: center;
      font-weight: 650;
      text-decoration: none;
      transition: transform 0.1s ease, background 0.15s ease;
      user-select: none;
      box-shadow: 0 2px 0 rgba(0,0,0,0.08);
    }
    .sm-pill:hover {
      background: #0bb20b;
      transform: translateY(-2px);
    }
    .sm-pill:active {
      transform: translateY(0);
    }

    /* ===== Nav ===== */
    .sm-nav {
      width: clamp(16rem, 80vw, 50rem);
      margin-left: auto;
      margin-right: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 18px;
      gap: 16px;
    }
    .nav-btn {
      background: #0a8f08;
      color: #fff;
      border: none;
      border-radius: 15%;
      width: 40px;
      height: 40px;
      font-size: clamp(0.9rem, 2vw, 1.7rem);
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 0 rgba(0,0,0,0.08);
    }
    .nav-btn.disabled {
      opacity: 0.4;
      cursor: not-allowed;
      pointer-events: none;
    }
    .page-info {
      min-width: 140px;
      width: clamp(8rem, 30vw, 30rem);
      font-size: 0.95rem;
      color: #444;
      text-align: center;
      background: #fff;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid rgba(0,0,0,0.06);
    }

    /* ===== Responsive ===== */
    @media (max-width: 900px) {
      .sm-grid { grid-template-columns: repeat(3, 1fr); }
      .header img { height: 46px; }
      .header .title { font-size: 1.5rem; }
    }
    @media (max-width: 600px) {
      .sm-grid { grid-template-columns: repeat(2, 1fr); }
      .page-info { min-width: 150px; }
      .header { padding: 10px 12px; }
      .header img { height: 42px; }
      .header .title { font-size: 1.2rem; }
      .header .img img { width: 46px; height: 46px; }
      .nav-btn {min-width: 40px;}
    }
 