:root { --navy: #123f70; --teal: #11afa9; --gold: #ffac20; --text: #55585d; --muted: #64748b; --page: #f4f6f8; --white: #ffffff; --border: #e1e4e8; --shadow: 0 14px 30px rgba(25, 48, 75, .08); --radius: 20px; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--page); color: var(--text); font-family: "Prompt", sans-serif; }
a { color: inherit; text-decoration: none; } button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.main-content { display: flex; align-items: center; justify-content: center; min-height: 900px; padding: 60px 20px 90px; }
.hero { width: min(100%, 1400px); }
.brand { margin-bottom: 48px; text-align: center; } .brand--compact { margin-bottom: 28px; }
.brand-mark { display: grid; width: 110px; height: 110px; margin: 0 auto 16px; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand h1 { margin: 0; color: var(--navy); font-size: clamp(28px, 3.5vw, 56px); letter-spacing: 1px; }
.brand p { margin: 10px 0 0; color: var(--muted); font-size: clamp(14px, 1.2vw, 20px); }
.give { color: var(--gold); } .get { color: var(--teal); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1350px; margin: 0 auto; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease; }
.service-card:hover { transform: translateY(-5px); }
.card-title { display: grid; min-height: 80px; padding: 22px 14px; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--teal)); place-items: center; text-align: center; font-size: clamp(16px, 1.1vw, 20px); font-weight: 700; line-height: 1.3; }
.card-content { display: flex; flex-grow: 1; flex-direction: column; align-items: center; padding: 24px 20px; text-align: center; }
.service-icon { width: 75px; height: 75px; margin-bottom: 18px; }.service-icon img { width: 100%; height: 100%; object-fit: contain; }.card-content p { margin: 0; color: var(--text); font-size: 13.5px; line-height: 1.6; }
.access-page { min-height: 100vh; }.access-panel, .payment-panel { max-width: 600px; margin: 0 auto; padding: 40px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }.access-panel { max-width: 450px; }
.auth-hero { max-width: 450px; }.auth-panel .brand { margin-bottom: 20px; }.auth-panel .brand h1 { font-size: 28px; }.auth-panel .brand p { margin-top: 8px; font-size: 14px; }.pin-form { display: flex; flex-direction: column; align-items: center; }.pin-form .pin-input { display: block; }.pin-form .button-primary { width: 100%; }
.login-form { display: flex; flex-direction: column; gap: 8px; text-align: left; }.login-form label { color: var(--navy); font-size: 14px; font-weight: 600; }.login-input { width: 100%; margin: 0 0 10px; padding: 12px; border: 2px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text); outline: none; }.login-input:focus { border-color: var(--teal); }.login-form .button-primary { width: 100%; margin-top: 6px; }.login-form .error-msg { text-align: center; }
.pin-input { width: 100%; max-width: 240px; margin: 20px 0; padding: 12px; border: 2px solid var(--border); border-radius: 10px; letter-spacing: 8px; font-size: 24px; text-align: center; outline: none; }.pin-input:focus { border-color: var(--teal); }
.button-primary { display: inline-block; border: 0; border-radius: 30px; padding: 12px 30px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); cursor: pointer; font-size: 16px; font-weight: 600; }.button-primary:hover { opacity: .9; }.access-panel .button-primary { width: 100%; }.error-msg { margin-top: 10px; color: #d32f4f; font-size: 14px; }.back-link { display: inline-block; margin-top: 25px; color: var(--muted); font-size: 14px; }
.payment-panel h2 { margin-top: 0; color: var(--navy); }.payment-panel > p { color: var(--text); }.qr-frame { display: inline-block; margin: 20px 0; padding: 15px; border: 1px solid var(--border); border-radius: 12px; background: #f8f9fa; }.qr-frame img { display: block; width: 100%; max-width: 260px; height: auto; border-radius: 8px; }.payment-account { color: var(--navy); font-weight: 600; }.payment-panel .button-primary { margin-top: 14px; }
footer { padding: 60px 40px 30px; color: var(--white); background: linear-gradient(135deg, #0e355f, #13556c 50%, var(--teal)); }.footer-content { display: grid; grid-template-columns: 1fr 1.3fr 1.5fr 1fr; gap: 40px; width: min(100%, 1350px); margin: 0 auto; padding-bottom: 50px; }.footer-content h2 { margin: 0 0 20px; font-size: 18px; }.footer-content a, .footer-content p { display: block; margin: 0 0 12px; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.5; }.footer-content a:hover { color: var(--gold); }.social-links { display: flex; gap: 10px; }.social-links a { display: grid; width: 38px; height: 38px; margin: 0; border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%; place-items: center; font-weight: 600; }.social-links a:hover { background: var(--white); color: var(--teal); }.copyright { width: min(100%, 1350px); margin: 0 auto; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); font-size: 13px; text-align: center; }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } .footer-content { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .main-content { min-height: auto; padding: 40px 16px; } .service-grid, .footer-content { grid-template-columns: 1fr; } .access-panel, .payment-panel { padding: 30px 20px; } footer { padding: 40px 20px 20px; } }

/* =========================================================
   MOREYOU — Line Update page
   Page-specific styles are kept here to avoid affecting other pages.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

body.line-update-page {
    font-family: 'Sarabun', sans-serif;
}

body.line-update-page input[type="date"] {
    box-sizing: border-box;
    max-width: 100%;
}

@media print {
    body.line-update-page .no-print {
        display: none !important;
    }

    body.line-update-page {
        background: white !important;
        padding: 0 !important;
    }

    body.line-update-page .print-area {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}

/* =========================================================
   MOREYOU — Menu page
   ใช้กับ menu.html เท่านั้น เพื่อไม่กระทบหน้าอื่น
   ========================================================= */
body.menu-page .main-content {
  width: 100%;
  min-height: 100vh;
  padding: clamp(16px, 3vw, 44px) clamp(12px, 2vw, 28px);
  align-items: flex-start;
}

body.menu-page .hero {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

body.menu-page .menu-heading {
  width: 100%;
  margin: 0;
  padding: clamp(18px, 3vw, 30px) 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

body.menu-page .menu-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
}

body.menu-page .menu-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 18px);
}

body.menu-page .menu-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
}

body.menu-page .menu-card {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

body.menu-page .menu-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

body.menu-page .image-caption {
  display: block;
  padding: 12px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

body.menu-page .menu-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
}

body.menu-page .menu-actions .line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-weight: 600;
}

body.menu-page .menu-actions .line-button img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
}

@media (max-width: 640px) {
  body.menu-page .main-content {
    min-height: auto;
    padding: 18px 10px 28px;
  }

  body.menu-page .hero {
    gap: 14px;
  }

  body.menu-page .menu-heading,
  body.menu-page .menu-card {
    border-radius: 14px;
  }

  body.menu-page .image-caption {
    padding: 10px 12px;
    font-size: 13px;
  }

  body.menu-page .menu-actions {
    flex-direction: column;
  }

  body.menu-page .menu-actions .line-button {
    width: min(100%, 360px);
  }
}
