
    :root {
      --navy: #123b5d;
      --navy-2: #1f557d;
      --teal: #0f8b8d;
      --teal-soft: #eaf8f7;
      --gold: #d9a441;
      --coral: #e76f51;
      --ink: #183042;
      --muted: #66798a;
      --line: #dfe8ef;
      --soft: #f5f8fb;
      --white: #ffffff;
      --success: #16856b;
      --danger: #c84444;
      --shadow: 0 18px 50px rgba(18, 59, 93, .10);
      --radius: 22px;
    }








    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Sarabun', sans-serif;
      background: var(--soft);
      color: var(--ink);
      min-height: 100vh;
    }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; }








    .topbar {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }
    .topbar-inner {
      max-width: 1180px;
      margin: 0 auto;
      min-height: 74px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      text-decoration: none;
    }
    .brand-logo {
      width: 48px;
      height: 48px;
      border-radius: 15px;
      object-fit: contain;
      background: #fff;
      border: 1px solid var(--line);
      padding: 5px;
    }
    .brand-text { min-width: 0; }
    .brand-name {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--navy);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .brand-sub { color: var(--muted); font-size: .82rem; }
    .top-actions { display: flex; align-items: center; gap: 10px; }








    .btn {
      border: 0;
      border-radius: 13px;
      padding: 11px 16px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
    .btn-primary { background: var(--navy); color: #fff; box-shadow: 0 9px 22px rgba(18,59,93,.2); }
    .btn-primary:hover { background: #0b304d; }
    .btn-teal { background: var(--teal); color: #fff; }
    .btn-soft { background: #edf3f7; color: var(--navy); }
    .btn-outline { background: #fff; color: var(--navy); border: 1px solid #cbd9e3; }
    .btn-danger { background: #fff0f0; color: var(--danger); }
    .btn-block { width: 100%; }
    .btn-lg { min-height: 52px; padding: 14px 22px; font-size: 1rem; }
    .icon-btn { width: 43px; height: 43px; padding: 0; border-radius: 13px; }








    .container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
    .hero {
      padding: 64px 0 40px;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: 36px;
      align-items: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--teal-soft);
      color: #087273;
      border: 1px solid #caece9;
      border-radius: 999px;
      padding: 7px 12px;
      font-size: .86rem;
      font-weight: 700;
    }
    .hero h1 {
      margin: 18px 0 14px;
      color: var(--navy);
      font-size: clamp(2rem, 4.7vw, 4rem);
      line-height: 1.06;
      letter-spacing: -.04em;
    }
    .hero p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 730px; }
    .hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
    .hero-panel {
      background: var(--navy);
      color: #fff;
      border-radius: 28px;
      padding: 26px;
      box-shadow: var(--shadow);
      min-height: 280px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }
    .hero-panel::after {
      content: '';
      width: 180px;
      height: 180px;
      border: 34px solid rgba(255,255,255,.08);
      border-radius: 50%;
      position: absolute;
      right: -55px;
      bottom: -55px;
    }
    .hero-panel .big-icon {
      width: 76px;
      height: 76px;
      display: grid;
      place-items: center;
      border-radius: 19px;
      background: rgba(255,255,255,.13);
      font-size: 1.6rem;
    }
    .hero-panel h2 { margin: 28px 0 8px; font-size: 1.6rem; }
    .hero-panel p { color: rgba(255,255,255,.74); font-size: .98rem; }








    .section { padding: 54px 0; }
    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 22px;
    }
    .section-head h2 { margin: 0; color: var(--navy); font-size: 1.75rem; }
    .section-head p { margin: 6px 0 0; color: var(--muted); }
    .search-box {
      width: min(360px, 100%);
      position: relative;
    }
    .search-box i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8a9aa8; }
    .search-box input {
      width: 100%;
      min-height: 46px;
      border-radius: 14px;
      border: 1px solid var(--line);
      padding: 10px 14px 10px 42px;
      background: #fff;
      outline: none;
    }
    .search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,139,141,.09); }








    .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
    .chip {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      border-radius: 999px;
      padding: 8px 13px;
      cursor: pointer;
      font-weight: 700;
    }
    .chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }








    .systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .system-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 12px 35px rgba(18,59,93,.07);
      display: flex;
      flex-direction: column;
      min-height: 100%;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .system-cover {
      height: 182px;
      background: #eaf0f5;
      position: relative;
      overflow: hidden;
    }
    .system-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .cover-placeholder {
      height: 100%;
      display: grid;
      place-items: center;
      color: var(--navy-2);
      font-size: 2.5rem;
      background: #e8f1f7;
    }
    .system-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
    .meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border-radius: 999px;
      padding: 5px 9px;
      font-size: .76rem;
      font-weight: 800;
    }
    .badge-free { background: #eaf7ef; color: #18734f; }
    .badge-optional { background: #fff5df; color: #996814; }
    .badge-required { background: #ffebeb; color: #b43a3a; }
    .badge-cat { background: #edf3f8; color: var(--navy-2); }
    .badge-recommended { background: #fff5d6; color: #8a6200; border: 1px solid #f2d57a; }
    .system-title { margin: 0; color: var(--navy); font-size: 1.2rem; line-height: 1.42; }
    .system-desc { color: var(--muted); line-height: 1.7; margin: 9px 0 18px; flex: 1; }
    .system-actions { display: flex; gap: 9px; }
    .system-actions .btn { flex: 1; }








    .empty {
      grid-column: 1 / -1;
      background: #fff;
      border: 1px dashed #c7d6e1;
      border-radius: var(--radius);
      padding: 42px 20px;
      text-align: center;
      color: var(--muted);
    }








    .detail-wrap, .request-wrap, .track-wrap, .custom-work-wrap { display: none; }
    .detail-card, .form-card, .track-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .detail-hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 390px; }
    .detail-image { background: #e8f1f7; min-height: 320px; }
    .detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .detail-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
    .detail-content h1 { color: var(--navy); margin: 12px 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
    .detail-content p { color: var(--muted); line-height: 1.85; white-space: pre-line; }
    .detail-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }








    .form-card { padding: 30px; }
    .form-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
    .form-head h2 { margin: 0; color: var(--navy); }
    .form-head p { margin: 6px 0 0; color: var(--muted); }
    .member-strip {
      border: 1px solid #cfe7e5;
      background: var(--teal-soft);
      border-radius: 18px;
      padding: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 22px;
    }
    .member-strip strong { color: #087273; }
    .member-strip small { display: block; color: #577b7b; margin-top: 3px; }
    .member-actions { display: flex; gap: 8px; flex-wrap: wrap; }








    .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    .field label { font-weight: 700; color: #28465d; font-size: .92rem; }
    .required { color: var(--danger); }
    .field input, .field select, .field textarea {
      width: 100%;
      min-height: 48px;
      border: 1px solid #cedae3;
      border-radius: 13px;
      padding: 11px 13px;
      background: #fff;
      color: var(--ink);
      outline: none;
    }
    .field textarea { min-height: 105px; resize: vertical; }
    .field input:focus, .field select:focus, .field textarea:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 4px rgba(15,139,141,.09);
    }
    .hint { font-size: .8rem; color: var(--muted); }
    .check-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); }
    .check-row input { margin-top: 3px; accent-color: var(--teal); }








    .support-box {
      grid-column: 1 / -1;
      border: 1px solid #ead8ad;
      background: #fffaf0;
      border-radius: 20px;
      padding: 20px;
      display: none;
    }
    .support-box h3 { margin: 0 0 7px; color: #805a12; }
    .support-box p { color: #826d46; margin: 0 0 16px; line-height: 1.65; }
    .support-choice { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
    .choice-card {
      flex: 1;
      min-width: 180px;
      border: 1px solid #e6d7b5;
      background: #fff;
      border-radius: 14px;
      padding: 13px;
      cursor: pointer;
      display: flex;
      gap: 9px;
      align-items: center;
    }
    .choice-card input { accent-color: var(--gold); }
    .bank-panel {
      display: none;
      grid-template-columns: 180px 1fr;
      gap: 18px;
      align-items: center;
      background: #fff;
      border: 1px solid #eadfc8;
      border-radius: 18px;
      padding: 16px;
      margin-top: 12px;
    }
    .qr-box {
      width: 180px;
      height: 180px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: #f6f8fa;
      display: grid;
      place-items: center;
      overflow: hidden;
    }
    .qr-box img { width: 100%; height: 100%; object-fit: contain; }
    .bank-info { display: grid; gap: 8px; }
    .bank-line { padding: 10px 12px; background: #f7f9fb; border-radius: 11px; }
    .account-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
    .account-number { font-size: 1.28rem; font-weight: 800; color: var(--navy); letter-spacing: .05em; }
    .slip-upload {
      border: 1px dashed #c6a968;
      border-radius: 15px;
      padding: 16px;
      background: #fff;
      margin-top: 14px;
    }
    .slip-upload input { width: 100%; }








    .submit-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 6px; }








    .result-card {
      text-align: center;
      padding: 42px 24px;
    }
    .result-icon {
      width: 76px;
      height: 76px;
      margin: 0 auto 18px;
      border-radius: 24px;
      display: grid;
      place-items: center;
      background: #e9f8f2;
      color: var(--success);
      font-size: 2rem;
    }
    .result-card h2 { margin: 0; color: var(--navy); }
    .result-card p { color: var(--muted); }
    .result-code { display: inline-flex; padding: 8px 12px; background: #edf3f7; color: var(--navy); border-radius: 999px; font-weight: 800; margin: 6px 0 20px; }
    .result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }








    .track-card { padding: 32px; max-width: 720px; margin: 0 auto; }
    .status-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
    .status-dot { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; }
    .status-ready { background: #e9f8f2; color: var(--success); }
    .status-pending { background: #fff3d8; color: #9b6a09; }
    .status-rejected { background: #ffeded; color: var(--danger); }








    dialog {
      width: min(720px, calc(100% - 28px));
      border: 0;
      border-radius: 24px;
      padding: 0;
      box-shadow: 0 26px 80px rgba(0,0,0,.25);
    }
    dialog::backdrop { background: rgba(15,35,50,.55); backdrop-filter: blur(4px); }
    .modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
    .modal-head h3 { margin: 0; color: var(--navy); }
    .modal-body { padding: 22px; }
    .tabs { display: flex; gap: 8px; margin-bottom: 18px; }
    .tab-btn { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; font-weight: 800; color: var(--muted); cursor: pointer; }
    .tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }








    .loader {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      place-items: center;
      background: rgba(246,249,251,.84);
      backdrop-filter: blur(4px);
    }
    .loader.show { display: grid; }
    .loader-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 24px 28px; box-shadow: var(--shadow); text-align: center; min-width: 210px; }
    .spinner { width: 42px; height: 42px; border: 4px solid #d9efea; border-top-color: var(--success); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px; }
    @keyframes spin { to { transform: rotate(360deg); } }








    .toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 9px; }
    .toast { max-width: 360px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 10px; animation: rise .18s ease; }
    .toast.error { border-left: 4px solid var(--danger); }
    .toast.success { border-left: 4px solid var(--success); }
    @keyframes rise { from { opacity: 0; transform: translateY(8px); } }








    footer { border-top: 1px solid var(--line); background: #fff; padding: 24px 0; color: var(--muted); text-align: center; font-size: .86rem; }
















    /* ===== ครูไทยใช้สื่อ : Compact Brand Theme ===== */
    :root {
      --navy: #102a72;
      --navy-2: #2457c5;
      --teal: #18a8a1;
      --teal-soft: #eafaf8;
      --gold: #f2b323;
      --coral: #ef356c;
      --ink: #18234c;
      --muted: #687187;
      --line: #dfe5f1;
      --soft: #f6f8fc;
      --white: #ffffff;
      --success: #168f87;
      --danger: #d92f60;
      --shadow: 0 14px 36px rgba(16, 42, 114, .10);
      --radius: 18px;
    }








    body { font-size: 14px; background: var(--soft); }








    .topbar-inner {
      min-height: 64px;
      padding: 8px 18px;
    }
    .brand { gap: 10px; }
    .brand-logo {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      padding: 2px;
      border-color: #d7deed;
    }
    .brand-name { font-size: .98rem; }
    .brand-sub { font-size: .75rem; }








    .btn {
      border-radius: 11px;
      padding: 9px 13px;
      gap: 7px;
      font-size: .88rem;
    }
    .btn-primary {
      background: var(--navy);
      box-shadow: 0 7px 16px rgba(16, 42, 114, .18);
    }
    .btn-primary:hover { background: #0b205c; }
    .btn-teal { background: var(--teal); }
    .btn-soft { background: #eef2fa; color: var(--navy); }
    .btn-outline { border-color: #ccd5e8; }
    .btn-lg {
      min-height: 46px;
      padding: 11px 18px;
      font-size: .92rem;
    }
    .icon-btn {
      width: 39px;
      height: 39px;
      border-radius: 11px;
    }








    .hero {
      padding: 42px 0 30px;
      background: #fff;
    }
    .hero-grid { gap: 26px; }
    .eyebrow {
      padding: 6px 10px;
      font-size: .78rem;
      color: #087c77;
      border-color: #c9ece9;
    }
    .hero h1 {
      margin: 14px 0 11px;
      font-size: clamp(1.75rem, 3.8vw, 3rem);
      line-height: 1.12;
      letter-spacing: -.025em;
    }
    .hero p {
      font-size: .96rem;
      line-height: 1.7;
      max-width: 680px;
    }
    .hero-actions {
      gap: 10px;
      margin-top: 20px;
    }
    .hero-panel {
      min-height: 230px;
      padding: 22px;
      border-radius: 22px;
      border-top: 5px solid var(--coral);
    }
    .hero-panel .big-icon {
      width: 52px;
      height: 52px;
      border-radius: 15px;
      font-size: 1.3rem;
      background: rgba(239, 53, 108, .22);
    }
    .hero-panel h2 {
      margin: 20px 0 6px;
      font-size: 1.35rem;
    }
    .hero-panel p { font-size: .88rem; }








    .section { padding: 40px 0; }
    .section-head { margin-bottom: 18px; }
    .section-head h2 { font-size: 1.4rem; }
    .section-head p { margin-top: 4px; font-size: .9rem; }








    .search-box input {
      min-height: 42px;
      border-radius: 12px;
      padding-block: 8px;
      font-size: .9rem;
    }
    .chips { margin-bottom: 18px; }
    .chip {
      padding: 7px 11px;
      font-size: .82rem;
    }
    .chip.active {
      background: var(--navy);
      border-color: var(--navy);
    }








    .systems-grid { gap: 16px; }
    .system-card {
      border-radius: var(--radius);
      box-shadow: 0 9px 25px rgba(16, 42, 114, .07);
    }
    .system-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }
    .system-cover { height: 158px; }
    .cover-placeholder {
      font-size: 2rem;
      background: #edf2fb;
      color: var(--navy-2);
    }
    .system-body { padding: 16px; }
    .meta-row { margin-bottom: 10px; }
    .badge {
      padding: 4px 8px;
      font-size: .7rem;
    }
    .badge-free { background: #e8f8f4; color: #087c77; }
    .badge-optional { background: #fff5d9; color: #8c6500; }
    .badge-required { background: #ffeaf0; color: #be2450; }
    .badge-cat { background: #edf2ff; color: var(--navy-2); }
    .badge-recommended { background: #fff6d8; color: #8a6200; border-color: #f2d57a; }
    .system-title {
      font-size: 1.06rem;
      line-height: 1.38;
    }
    .system-desc {
      font-size: .9rem;
      line-height: 1.58;
      margin: 7px 0 15px;
    }








    .detail-card, .form-card, .track-card {
      border-radius: 20px;
    }
    .detail-hero { min-height: 340px; }
    .detail-image { min-height: 280px; }
    .detail-content { padding: 28px; }
    .detail-content h1 {
      margin: 10px 0;
      font-size: clamp(1.55rem, 3.2vw, 2.2rem);
    }
    .detail-content p {
      font-size: .92rem;
      line-height: 1.7;
    }
    .detail-toolbar { margin-top: 18px; }








    .form-card { padding: 24px; }
    .form-head { margin-bottom: 18px; }
    .form-head h2 { font-size: 1.28rem; }
    .form-head p { font-size: .88rem; }
    .member-strip {
      border-radius: 14px;
      padding: 13px;
      margin-bottom: 18px;
    }
    .form-grid { gap: 14px; }
    .field { gap: 6px; }
    .field label { font-size: .84rem; }
    .field input, .field select, .field textarea {
      min-height: 43px;
      border-radius: 11px;
      padding: 9px 11px;
      font-size: .9rem;
    }
    .field textarea { min-height: 92px; }
    .hint { font-size: .75rem; }








    .support-box {
      border-radius: 16px;
      padding: 17px;
      border-color: #f0d58c;
      background: #fffaf0;
    }
    .support-box h3 { font-size: 1.02rem; }
    .support-box p { font-size: .88rem; }
    .choice-card {
      border-radius: 12px;
      padding: 11px;
    }
    .bank-panel {
      grid-template-columns: 160px 1fr;
      border-radius: 15px;
      padding: 14px;
    }
    .qr-box {
      width: 160px;
      height: 160px;
      border-radius: 13px;
    }
    .account-number { font-size: 1.1rem; }
    .slip-upload {
      border-radius: 13px;
      padding: 13px;
    }








    .result-card { padding: 32px 22px; }
    .result-icon {
      width: 64px;
      height: 64px;
      border-radius: 19px;
      font-size: 1.6rem;
    }
    .result-card h2 { font-size: 1.35rem; }
    .track-card { padding: 26px; }
    .status-dot {
      width: 46px;
      height: 46px;
      border-radius: 14px;
    }








    dialog { border-radius: 20px; }
    .modal-head { padding: 16px 18px; }
    .modal-head h3 { font-size: 1.08rem; }
    .modal-body { padding: 18px; }








    .loader-card {
      border-radius: 16px;
      padding: 20px 24px;
      min-width: 190px;
    }
    .spinner {
      width: 36px;
      height: 36px;
      border-color: #ccece9;
      border-top-color: var(--teal);
    }








    footer { padding: 18px 0; font-size: .78rem; }








    @media (max-width: 900px) {
      .hero-grid, .detail-hero { grid-template-columns: 1fr; }
      .systems-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-panel { min-height: 220px; }
      .detail-image { min-height: 270px; }
    }
    @media (max-width: 650px) {
      .container { width: min(100% - 22px, 1180px); }
      .topbar-inner { padding: 9px 11px; min-height: 66px; }
      .brand-sub { display: none; }
      .brand-logo { width: 43px; height: 43px; }
      .top-actions .btn span { display: none; }
      .hero { padding: 42px 0 28px; }
      .hero-panel { display: none; }
      .section { padding: 36px 0; }
      .section-head { align-items: stretch; flex-direction: column; }
      .search-box { width: 100%; }
      .systems-grid { grid-template-columns: 1fr; }
      .form-card, .track-card { padding: 20px; border-radius: 20px; }
      .form-grid { grid-template-columns: 1fr; }
      .field.full, .support-box, .submit-row { grid-column: auto; }
      .member-strip, .form-head { align-items: stretch; flex-direction: column; }
      .bank-panel { grid-template-columns: 1fr; }
      .qr-box { width: 100%; height: auto; aspect-ratio: 1; max-width: 270px; margin: 0 auto; }
      .submit-row .btn { width: 100%; }
      .detail-content { padding: 24px; }
    }
  
    /* ===== BEAUTY UPDATE : ครูไทยใช้สื่อ ===== */
    body {
      background: #f4f7fc;
      color: #16214b;
    }








    .topbar {
      border-bottom: 1px solid #dce3f0;
      box-shadow: 0 5px 18px rgba(15, 42, 108, .06);
    }








    .topbar-inner {
      min-height: 72px;
    }








    .brand {
      gap: 12px;
    }








    .brand-logo {
      width: 50px;
      height: 50px;
      border-radius: 14px;
      background: #fff;
      padding: 3px;
      box-shadow: 0 6px 16px rgba(16, 42, 114, .10);
    }








    .brand-name {
      font-size: 1.17rem;
      font-weight: 800;
      color: #102a72;
      letter-spacing: -.01em;
    }








    .brand-sub {
      color: #7a8399;
      font-size: .76rem;
    }








    .hero {
      position: relative;
      overflow: hidden;
      padding: 48px 0 82px;
      background: #0b1d4e;
      color: #fff;
      isolation: isolate;
    }








    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
    }








    .hero::before {
      width: 360px;
      height: 360px;
      right: -95px;
      top: 30px;
      background: rgba(239, 53, 108, .16);
      border: 42px solid rgba(255, 255, 255, .04);
    }








    .hero::after {
      width: 280px;
      height: 280px;
      left: -115px;
      bottom: -150px;
      background: rgba(24, 168, 161, .15);
      border: 32px solid rgba(255, 255, 255, .035);
    }








    .hero-code {
      position: absolute;
      color: rgba(112, 214, 211, .09);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: .77rem;
      letter-spacing: .22em;
      writing-mode: vertical-rl;
      user-select: none;
      pointer-events: none;
      animation: codeFloat 8s ease-in-out infinite;
    }








    .hero-code-a {
      left: 22px;
      top: 55px;
    }








    .hero-code-b {
      right: 28px;
      bottom: 20px;
      animation-delay: -3s;
    }








    @keyframes codeFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-14px); }
    }








    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
      gap: 34px;
      align-items: center;
    }








    .hero-main-card {
      padding: 30px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 26px;
      background: rgba(255, 255, 255, .065);
      box-shadow: 0 22px 60px rgba(0, 0, 0, .20);
      backdrop-filter: blur(8px);
    }








    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      padding: 7px 12px 7px 7px;
      border: 1px solid rgba(255,255,255,.20);
      border-radius: 15px;
      background: rgba(255,255,255,.08);
    }








    .hero-kicker img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      padding: 2px;
      background: #fff;
      border-radius: 11px;
    }








    .hero-kicker small,
    .hero-kicker strong {
      display: block;
    }








    .hero-kicker small {
      color: #a9b9dc;
      font-size: .72rem;
    }








    .hero-kicker strong {
      margin-top: 1px;
      color: #fff;
      font-size: .98rem;
    }








    .hero h1 {
      margin: 0;
      line-height: 1.08;
      letter-spacing: -.035em;
    }








    .hero-app-line {
      display: block;
      color: #ffd33d;
      font-size: clamp(2.35rem, 5vw, 4.3rem);
      font-weight: 900;
      text-shadow: 0 7px 24px rgba(255, 211, 61, .10);
    }








    .hero-title-line {
      display: block;
      margin-top: 8px;
      color: #fff;
      font-size: clamp(1.55rem, 3.1vw, 2.65rem);
      font-weight: 800;
    }








    .hero-main-card > p {
      margin: 19px 0 0;
      max-width: 680px;
      color: #c5d0eb;
      font-size: .98rem;
      line-height: 1.75;
    }








    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 11px;
      margin-top: 24px;
    }








    .btn-light {
      background: #fff;
      color: #102a72;
      border-color: #fff;
      box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }








    .btn-light:hover {
      background: #ffd33d;
      border-color: #ffd33d;
      transform: translateY(-2px);
    }








    .btn-hero-outline {
      color: #fff;
      border: 1px solid rgba(255,255,255,.45);
      background: rgba(255,255,255,.05);
    }








    .btn-hero-outline:hover {
      background: rgba(255,255,255,.13);
      border-color: #fff;
      transform: translateY(-2px);
    }








    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 22px;
    }








    .hero-tags span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      border-radius: 999px;
      color: #d7e0f5;
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.13);
      font-size: .76rem;
    }








    .hero-tags i {
      color: #55d6ce;
    }








    .hero-showcase {
      position: relative;
      min-height: 415px;
      display: grid;
      align-items: center;
    }








    .showcase-window {
      width: 100%;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 24px;
      background: #07132f;
      box-shadow: 0 26px 70px rgba(0,0,0,.30);
      transform: rotate(1deg);
      transition: .28s ease;
    }








    .showcase-window:hover {
      transform: rotate(0deg) translateY(-4px);
    }








    .showcase-head {
      min-height: 44px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0 15px;
      color: #8996b7;
      border-bottom: 1px solid rgba(255,255,255,.10);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: .72rem;
    }








    .window-dots {
      display: inline-flex;
      gap: 6px;
    }








    .window-dots i {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      display: block;
    }








    .window-dots i:nth-child(1) { background: #ef5b6b; }
    .window-dots i:nth-child(2) { background: #f2b323; }
    .window-dots i:nth-child(3) { background: #34c77b; }








    .showcase-body {
      padding: 27px;
    }








    .showcase-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      color: #fff;
      background: #ef356c;
      box-shadow: 0 10px 25px rgba(239,53,108,.28);
      font-size: 1.35rem;
    }








    .showcase-body h2 {
      margin: 18px 0 8px;
      color: #fff;
      font-size: 1.35rem;
    }








    .showcase-body p {
      margin: 0;
      color: #9ba9c8;
      font-size: .86rem;
      line-height: 1.6;
    }








    .flow-list {
      display: grid;
      gap: 9px;
      margin-top: 21px;
    }








    .flow-list > div {
      display: grid;
      grid-template-columns: 34px 1fr 22px;
      align-items: center;
      gap: 9px;
      padding: 11px;
      border-radius: 12px;
      color: #d6def1;
      background: rgba(255,255,255,.055);
      border: 1px solid rgba(255,255,255,.08);
      font-size: .82rem;
    }








    .flow-list b {
      color: #55d6ce;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }








    .flow-list i {
      color: #ffd33d;
      text-align: right;
    }








    .floating-stat {
      position: absolute;
      right: -10px;
      bottom: 1px;
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 190px;
      padding: 13px 15px;
      border-radius: 17px;
      color: #152250;
      background: #fff;
      box-shadow: 0 17px 38px rgba(0,0,0,.22);
      animation: statFloat 4.4s ease-in-out infinite;
    }








    @keyframes statFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }








    .floating-stat-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 12px;
      color: #fff;
      background: #18a8a1;
    }








    .floating-stat strong,
    .floating-stat span {
      display: block;
    }








    .floating-stat strong {
      color: #102a72;
      font-size: 1.35rem;
      line-height: 1;
    }








    .floating-stat span {
      margin-top: 3px;
      color: #737d94;
      font-size: .72rem;
    }








    .benefit-grid {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 14px;
      margin-top: -36px;
    }








    .benefit-grid article {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 100px;
      padding: 16px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid #dfe5f1;
      box-shadow: 0 14px 34px rgba(16,42,114,.09);
      transition: transform .22s ease, box-shadow .22s ease;
    }








    .benefit-grid article:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(16,42,114,.14);
    }








    .benefit-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 13px;
      color: #fff;
      font-size: 1.03rem;
    }








    .benefit-icon.pink { background: #ef356c; }
    .benefit-icon.teal { background: #18a8a1; }
    .benefit-icon.gold { background: #f2b323; }








    .benefit-grid strong,
    .benefit-grid span {
      display: block;
    }








    .benefit-grid strong {
      color: #14245a;
      font-size: .9rem;
    }








    .benefit-grid span {
      margin-top: 4px;
      color: #737d94;
      font-size: .75rem;
      line-height: 1.45;
    }








    #catalogSection {
      padding-top: 54px;
    }








    .section-head h2 {
      position: relative;
      padding-left: 15px;
      color: #102a72;
      font-weight: 800;
    }








    .section-head h2::before {
      content: "";
      position: absolute;
      left: 0;
      top: 14%;
      width: 5px;
      height: 72%;
      border-radius: 999px;
      background: #ef356c;
    }








    .systems-grid {
      gap: 18px;
    }








    .system-card {
      position: relative;
      overflow: hidden;
      border: 1px solid #dfe5f1;
      box-shadow: 0 10px 28px rgba(16,42,114,.07);
    }








    .system-card::before {
      content: "";
      position: absolute;
      z-index: 3;
      left: 0;
      right: 0;
      top: 0;
      height: 4px;
      background: #ef356c;
    }








    .system-card:nth-child(3n+2)::before { background: #18a8a1; }
    .system-card:nth-child(3n+3)::before { background: #f2b323; }








    .system-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 45px rgba(16,42,114,.14);
    }








    .system-cover {
      height: 180px;
      background: #e9eef8;
    }








    .cover-placeholder {
      background: #e9eef8;
      color: #2457c5;
    }








    .system-actions .btn {
      flex: 1;
    }








    @media (max-width: 980px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }








      .hero-showcase {
        min-height: auto;
      }








      .floating-stat {
        right: 18px;
        bottom: -20px;
      }
    }








    @media (max-width: 760px) {
      .hero {
        padding: 30px 0 66px;
      }








      .hero-main-card {
        padding: 22px;
        border-radius: 21px;
      }








      .hero-app-line {
        font-size: 2.45rem;
      }








      .hero-title-line {
        font-size: 1.55rem;
      }








      .hero-showcase {
        display: block;
      }








      .showcase-window {
        transform: none;
      }








      .floating-stat {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 12px 0 0 auto;
        width: min(230px, 100%);
      }








      .benefit-grid {
        grid-template-columns: 1fr;
        margin-top: -28px;
      }








      .topbar-inner {
        min-height: 66px;
      }








      .brand-logo {
        width: 43px;
        height: 43px;
      }








      .brand-name {
        font-size: 1rem;
      }
    }








  
    /* ===== MEMBER MODAL ===== */
    .member-modal {
      width: min(760px, calc(100% - 28px));
      max-height: 92vh;
      overflow: auto;
      border: 0;
      border-radius: 24px;
      padding: 0;
      background: #fff;
      box-shadow: 0 30px 90px rgba(0,0,0,.32);
    }








    .member-modal::backdrop {
      background: rgba(7, 19, 47, .70);
      backdrop-filter: blur(6px);
    }








    .member-modal-accent {
      height: 5px;
      background: #ef356c;
    }








    .member-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 18px 20px;
      border-bottom: 1px solid #e3e8f2;
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 3;
    }








    .member-modal-brand {
      display: flex;
      align-items: center;
      gap: 11px;
    }








    .member-modal-brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      padding: 3px;
      border: 1px solid #dfe5f1;
      border-radius: 13px;
      background: #fff;
      box-shadow: 0 7px 18px rgba(16,42,114,.10);
    }








    .member-modal-brand small,
    .member-modal-brand strong {
      display: block;
    }








    .member-modal-brand small {
      color: #8790a4;
      font-size: .72rem;
    }








    .member-modal-brand strong {
      color: #102a72;
      font-size: 1.05rem;
      margin-top: 1px;
    }








    .member-close-btn {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border: 1px solid #ccd4e4;
      border-radius: 12px;
      background: #f5f7fb;
      color: #102a72;
      cursor: pointer;
      transition: .2s ease;
    }








    .member-close-btn:hover {
      color: #fff;
      background: #ef356c;
      border-color: #ef356c;
      transform: rotate(4deg);
    }








    .member-modal-body {
      padding: 22px;
    }








    .member-welcome {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 17px;
      padding: 13px;
      border-radius: 15px;
      background: #f3f6fc;
      border: 1px solid #e1e7f2;
    }








    .member-welcome-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 13px;
      color: #fff;
      background: #102a72;
    }








    .member-welcome h3 {
      margin: 0;
      color: #102a72;
      font-size: 1rem;
    }








    .member-welcome p {
      margin: 3px 0 0;
      color: #778198;
      font-size: .78rem;
    }








    .member-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 9px;
      margin-bottom: 18px;
      padding: 5px;
      border-radius: 14px;
      background: #eef2f8;
    }








    .member-tab-btn {
      min-height: 42px;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: #667188;
      font-weight: 800;
      cursor: pointer;
      transition: .2s ease;
    }








    .member-tab-btn.active {
      color: #fff;
      background: #102a72;
      box-shadow: 0 7px 17px rgba(16,42,114,.20);
    }








    .member-form {
      display: grid;
      gap: 14px;
    }








    .member-register-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }








    .member-field {
      display: grid;
      gap: 6px;
    }








    .member-field.full,
    .member-submit-btn.full {
      grid-column: 1 / -1;
    }








    .member-field label {
      color: #26345f;
      font-size: .82rem;
      font-weight: 700;
    }








    .member-field label i {
      width: 18px;
      color: #18a8a1;
    }








    .member-field input,
    .member-field select {
      width: 100%;
      min-height: 44px;
      padding: 9px 11px;
      border: 1px solid #ccd6e7;
      border-radius: 11px;
      background: #fff;
      color: #17234d;
      outline: none;
      transition: .18s ease;
    }








    .member-field input:focus,
    .member-field select:focus {
      border-color: #2457c5;
      box-shadow: 0 0 0 3px rgba(36,87,197,.10);
    }








    .member-submit-btn {
      min-height: 46px;
      border: 0;
      border-radius: 11px;
      color: #fff;
      background: #102a72;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 9px 20px rgba(16,42,114,.20);
      transition: .2s ease;
    }








    .member-submit-btn:hover {
      background: #081d58;
      transform: translateY(-2px);
    }








    @media (max-width: 650px) {
      .member-modal-body { padding: 17px; }
      .member-register-grid { grid-template-columns: 1fr; }
      .member-field.full,
      .member-submit-btn.full { grid-column: auto; }
      .member-modal-brand strong { font-size: .95rem; }
    }








  
    /* ===== COMPACT USER CONTROLS + CENTER FEEDBACK ===== */
    .btn {
      min-height: 34px !important;
      padding: 7px 11px !important;
      border-radius: 9px !important;
      font-size: .8rem !important;
      line-height: 1.15;
    }








    .btn-lg {
      min-height: 40px !important;
      padding: 9px 14px !important;
      font-size: .85rem !important;
      border-radius: 10px !important;
    }








    .icon-btn {
      width: 36px !important;
      height: 36px !important;
      min-height: 36px !important;
      padding: 0 !important;
      border-radius: 10px !important;
    }








    .member-tab-btn {
      min-height: 38px !important;
      font-size: .8rem !important;
    }








    .member-submit-btn {
      min-height: 40px !important;
      font-size: .82rem !important;
      border-radius: 10px !important;
    }








    .field input[type="checkbox"],
    .field input[type="radio"],
    .check-row input[type="checkbox"],
    .choice-card input[type="radio"],
    input[type="checkbox"],
    input[type="radio"] {
      width: 16px !important;
      height: 16px !important;
      min-height: 0 !important;
      padding: 0 !important;
      margin: 1px 0 0 !important;
      flex: 0 0 16px !important;
      box-shadow: none !important;
      accent-color: #18a8a1;
    }








    .check-row {
      display: inline-flex !important;
      align-items: center !important;
      gap: 7px !important;
      width: auto !important;
      color: #34415f;
      font-size: .78rem;
      line-height: 1.35;
    }








    .choice-card {
      padding: 9px 10px !important;
      min-height: 38px;
    }








    .toast-wrap {
      position: fixed !important;
      left: 50% !important;
      top: 50% !important;
      right: auto !important;
      bottom: auto !important;
      transform: translate(-50%, -50%) !important;
      z-index: 99999 !important;
      width: min(420px, calc(100vw - 30px));
      display: grid;
      gap: 10px;
      pointer-events: none;
    }








    .toast {
      width: 100% !important;
      max-width: none !important;
      min-height: 58px;
      align-items: center !important;
      justify-content: center;
      padding: 14px 18px !important;
      border: 1px solid #dce3ef !important;
      border-left: 1px solid #dce3ef !important;
      border-top: 5px solid #18a8a1 !important;
      border-radius: 16px !important;
      background: #fff !important;
      box-shadow: 0 26px 70px rgba(7, 24, 65, .28) !important;
      color: #102a72;
      font-size: .88rem;
      font-weight: 800;
      text-align: center;
      pointer-events: auto;
      animation: toastCenterPop .2s ease;
    }








    .toast.error {
      border-top-color: #d92f60 !important;
    }








    .toast i {
      font-size: 1.05rem;
      color: #18a8a1;
    }








    .toast.error i {
      color: #d92f60;
    }








    @keyframes toastCenterPop {
      from { opacity: 0; transform: scale(.92); }
      to { opacity: 1; transform: scale(1); }
    }








  
    .brand-name { font-size:1.28rem!important; font-weight:900!important; color:#102a72!important; }
        .system-stat-row,.detail-stat-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 13px;color:#738097;font-size:.73rem}
    .system-stat-row span,.detail-stat-row span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#f2f5fa}
    .system-stat-row .popular-rank{color:#8a6500;background:#fff5d9;font-weight:800}
    .status-dialog{width:min(360px,calc(100% - 32px));border:0;border-radius:22px;padding:25px 22px;text-align:center;background:#fff;box-shadow:0 30px 90px rgba(4,17,48,.38)}
    .status-dialog::backdrop{background:rgba(7,19,47,.55);backdrop-filter:blur(4px)}
    .status-dialog-icon{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 13px;border-radius:19px;font-size:1.65rem}
    .status-dialog-icon.success{color:#087c77;background:#e7faf7}.status-dialog-icon.error{color:#c32652;background:#ffedf2}.status-dialog-icon.loading{background:#eef4fb}
    .status-dialog h3{margin:0;color:#102a72;font-size:1.05rem}.status-dialog p{margin:7px 0 0;color:#737f96;font-size:.84rem;line-height:1.55}
    @media(max-width:760px){.brand-name{font-size:1.08rem!important}}








  
    /* ===== MEMBER-ONLY EMAIL DELIVERY ===== */
    .request-member-profile{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #d9e3f1;border-radius:16px;background:#f7f9fd}
    .request-member-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;color:#fff;background:#102a72;font-size:1.15rem}
    .request-member-info{display:grid;gap:4px;min-width:0}.request-member-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.request-member-info>span{color:#65718a;font-size:.8rem}.request-member-info small{color:#65718a;font-size:.76rem}.request-member-info small i{color:#18a8a1;margin-right:5px}
    .member-type-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:.68rem;font-weight:900}.member-type-badge.normal{color:#2457c5;background:#edf2ff}.member-type-badge.vip{color:#7a5700;background:#fff0b8;border:1px solid #f2cf54}
    .mini-vip{margin-left:4px;padding:2px 6px;border-radius:999px;color:#765500;background:#ffd84c;font-size:.6rem}
    .vip-access-box{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #eed06e;border-radius:16px;background:#fff7d8}.vip-access-box>i{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;color:#fff;background:#f2b323}.vip-access-box strong,.vip-access-box span{display:block}.vip-access-box strong{color:#6e5000}.vip-access-box span{margin-top:3px;color:#8b752f;font-size:.76rem}
    .email-delivery-note{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border-radius:12px;color:#52627d;background:#eef4fb;font-size:.77rem;line-height:1.5}.email-delivery-note i{color:#2457c5;margin-top:2px}
    .member-only-request .submit-row{justify-content:flex-end}








  
    .member-field-note {
      display:block;
      margin-top:2px;
      color:#7c879c;
      font-size:.72rem;
      line-height:1.45;
    }








  
    /* ===== V5.1 MEMBER LOGIN FEEDBACK ===== */
    .member-inline-message {
      display: none;
      width: 100%;
      padding: 10px 12px;
      border-radius: 10px;
      font-size: .78rem;
      line-height: 1.5;
      text-align: left;
    }








    .member-inline-message.show { display: block; }
    .member-inline-message.info {
      color: #2457c5;
      background: #eef4ff;
      border: 1px solid #d5e2ff;
    }
    .member-inline-message.success {
      color: #087c77;
      background: #e9faf7;
      border: 1px solid #c8eee8;
    }
    .member-inline-message.error {
      color: #b4234d;
      background: #fff0f4;
      border: 1px solid #ffd2df;
    }








    .member-submit-btn:disabled {
      cursor: wait;
      opacity: .72;
      transform: none !important;
    }
/* ===== MEMBER PLAN + VIP PAYMENT + PASSWORD ===== */
    .membership-plan-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 11px;
    }








    .membership-plan-card {
      position: relative;
      display: grid;
      grid-template-columns: 44px 1fr 22px;
      align-items: center;
      gap: 10px;
      min-height: 118px;
      padding: 14px;
      border: 2px solid #dfe5f1;
      border-radius: 16px;
      background: #fff;
      cursor: pointer;
      transition: .2s ease;
    }








    .membership-plan-card input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }








    .membership-plan-card:hover {
      transform: translateY(-2px);
      border-color: #9eb3df;
      box-shadow: 0 10px 24px rgba(16,42,114,.08);
    }








    .membership-plan-card.selected.normal {
      border-color: #18a8a1;
      background: #effbf9;
    }








    .membership-plan-card.selected.vip {
      border-color: #f2b323;
      background: #fff9e8;
    }








    .membership-plan-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: #fff;
      background: #18a8a1;
    }








    .membership-plan-card.vip .membership-plan-icon {
      background: #f2b323;
    }








    .membership-plan-content strong,
    .membership-plan-content b,
    .membership-plan-content small {
      display: block;
    }








    .membership-plan-content strong {
      color: #102a72;
      font-size: .9rem;
    }








    .membership-plan-content b {
      margin-top: 3px;
      color: #087c77;
      font-size: 1.15rem;
    }








    .membership-plan-card.vip .membership-plan-content b {
      color: #9a6500;
    }








    .membership-plan-content small {
      margin-top: 4px;
      color: #758096;
      font-size: .69rem;
      line-height: 1.4;
    }








    .membership-plan-check {
      color: #cbd3e1;
    }








    .membership-plan-card.selected.normal .membership-plan-check {
      color: #18a8a1;
    }








    .membership-plan-card.selected.vip .membership-plan-check {
      color: #f2b323;
    }








    .vip-signup-panel {
      display: none;
      padding: 14px;
      border: 1px solid #efd88e;
      border-radius: 16px;
      background: #fffaf0;
    }








    .vip-signup-panel.show {
      display: block;
    }








    .vip-signup-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 13px;
    }








    .vip-signup-head strong,
    .vip-signup-head span {
      display: block;
    }








    .vip-signup-head strong {
      color: #805c00;
      font-size: .9rem;
    }








    .vip-signup-head strong i {
      margin-right: 5px;
      color: #f2b323;
    }








    .vip-signup-head > div > span {
      margin-top: 3px;
      color: #8c7845;
      font-size: .72rem;
    }








    .vip-one-time {
      padding: 5px 8px;
      border-radius: 999px;
      color: #805c00;
      background: #ffefb8;
      font-size: .67rem;
      font-weight: 800;
      white-space: nowrap;
    }








    .vip-payment-grid {
      display: grid;
      grid-template-columns: 1fr 132px;
      gap: 12px;
      margin-bottom: 13px;
    }








    .vip-bank-card {
      padding: 12px;
      border: 1px solid #ead8a6;
      border-radius: 13px;
      background: #fff;
    }








    .vip-bank-card p {
      margin: 0 0 5px;
      color: #5f5132;
      font-size: .76rem;
    }








    .vip-account-copy {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 9px;
      padding-top: 9px;
      border-top: 1px dashed #e2d4ac;
    }








    .vip-account-copy strong {
      color: #102a72;
      font-size: .95rem;
      letter-spacing: .04em;
    }








    .vip-account-copy button {
      min-height: 31px;
      padding: 6px 9px;
      border: 0;
      border-radius: 8px;
      color: #fff;
      background: #102a72;
      font-size: .7rem;
      font-weight: 800;
      cursor: pointer;
    }








    .vip-signup-qr {
      min-height: 132px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px solid #ead8a6;
      border-radius: 13px;
      color: #9a6500;
      background: #fff;
      font-size: 2.6rem;
    }








    .vip-signup-qr img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }








    .password-input-wrap {
      position: relative;
    }








    .password-input-wrap input {
      padding-right: 48px !important;
    }








    .password-eye-btn {
      position: absolute;
      right: 5px;
      top: 50%;
      width: 38px;
      height: 34px;
      display: grid;
      place-items: center;
      transform: translateY(-50%);
      border: 0;
      border-radius: 8px;
      color: #66738e;
      background: #eef2f8;
      cursor: pointer;
    }








    .password-eye-btn:hover {
      color: #102a72;
      background: #e2e9f5;
    }








    .password-rules {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 5px 10px;
      margin-top: 8px;
      padding: 10px;
      border-radius: 11px;
      background: #f5f7fb;
    }








    .password-rules span {
      color: #858fa4;
      font-size: .68rem;
      line-height: 1.35;
    }








    .password-rules span i {
      margin-right: 4px;
      font-size: .48rem;
    }








    .password-rules span.valid {
      color: #087c77;
    }








    .password-rules span.valid i {
      color: #18a8a1;
    }








    .password-match-message {
      display: block;
      min-height: 18px;
      margin-top: 5px;
      color: #b4234d;
      font-size: .7rem;
    }








    .password-match-message.valid {
      color: #087c77;
    }








    @media (max-width: 650px) {
      .membership-plan-grid,
      .vip-payment-grid,
      .password-rules {
        grid-template-columns: 1fr;
      }








      .membership-plan-card {
        min-height: 105px;
      }








      .vip-signup-qr {
        width: 150px;
        min-height: 150px;
        margin: 0 auto;
      }
    }








  
    /* ===== VIP FULL-WIDTH PAYMENT + SLIP PREVIEW ===== */
    .optional-label {
      color: #8b94a7;
      font-size: .68rem;
      font-weight: 500;
    }








    .vip-signup-panel {
      width: 100%;
      grid-column: 1 / -1 !important;
      box-sizing: border-box;
    }








    .vip-signup-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
      gap: 14px;
      align-items: stretch;
    }








    .vip-payment-side,
    .vip-preview-side {
      min-width: 0;
    }








    .vip-payment-side {
      display: grid;
      gap: 12px;
    }








    .vip-transfer-section {
      height: 100%;
      padding: 13px;
      border: 1px solid #ead8a6;
      border-radius: 14px;
      background: #fff;
    }








    .vip-transfer-title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 11px;
      color: #805c00;
      font-size: .82rem;
      font-weight: 900;
    }








    .vip-transfer-title i {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      color: #fff;
      background: #f2b323;
    }








    .vip-slip-field {
      padding: 12px;
      border: 1px solid #ead8a6;
      border-radius: 14px;
      background: #fff;
    }








    .vip-preview-side {
      display: flex;
      flex-direction: column;
      min-height: 310px;
      padding: 13px;
      border: 1px solid #ead8a6;
      border-radius: 14px;
      background: #fff;
    }








    .vip-preview-head {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 10px;
      color: #805c00;
      font-size: .8rem;
      font-weight: 900;
    }








    .vip-slip-preview {
      flex: 1;
      min-height: 230px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px dashed #d9c589;
      border-radius: 12px;
      background: #fffdf7;
    }








    .vip-preview-empty {
      display: grid;
      justify-items: center;
      gap: 7px;
      padding: 20px;
      color: #9b8b62;
      text-align: center;
    }








    .vip-preview-empty i {
      font-size: 2.2rem;
      color: #d1b85d;
    }








    .vip-preview-empty strong {
      color: #6e5c29;
      font-size: .8rem;
    }








    .vip-preview-empty span {
      font-size: .68rem;
      line-height: 1.4;
    }








    .vip-preview-image,
    .vip-preview-pdf {
      width: 100%;
      height: 100%;
      min-height: 230px;
      border: 0;
      object-fit: contain;
      background: #fff;
    }








    .vip-preview-name {
      min-height: 18px;
      margin-top: 7px;
      overflow: hidden;
      color: #82734d;
      font-size: .67rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }








    /* ให้ข้อความ "เลือกไฟล์" และปุ่มเลือกไฟล์ใช้ฟอนต์เดียวกับเว็บทุกส่วน */
    input[type="file"],
    input[type="file"]::file-selector-button,
    input[type="file"]::-webkit-file-upload-button {
      font-family: 'Sarabun', sans-serif !important;
      font-size: .76rem !important;
    }








    input[type="file"]::file-selector-button,
    input[type="file"]::-webkit-file-upload-button {
      margin-right: 9px;
      padding: 7px 11px;
      border: 0;
      border-radius: 8px;
      color: #fff;
      background: #102a72;
      font-weight: 800;
      cursor: pointer;
    }








    .password-rules.compact {
      grid-template-columns: 1fr;
    }








    @media (max-width: 760px) {
      .vip-signup-layout {
        grid-template-columns: 1fr;
      }








      .vip-preview-side {
        min-height: 260px;
      }
    }








  
    /* ===== MEMBER ACCOUNT + CENTER ACTION OVERLAY ===== */
    .member-account-panel {
      display: grid;
      gap: 15px;
    }








    .member-account-hero {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 17px;
      border: 1px solid #dfe6f2;
      border-radius: 17px;
      background: #f4f7fc;
    }








    .member-account-avatar {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 17px;
      color: #fff;
      background: #102a72;
      font-size: 1.35rem;
      box-shadow: 0 10px 24px rgba(16,42,114,.18);
    }








    .member-account-avatar.vip {
      color: #765500;
      background: #ffd84c;
    }








    .member-account-main {
      min-width: 0;
    }








    .member-account-main small {
      color: #8690a5;
      font-size: .7rem;
    }








    .member-account-main h3 {
      margin: 3px 0 6px;
      overflow: hidden;
      color: #102a72;
      font-size: 1.12rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }








    .member-account-badge {
      display: inline-flex;
      padding: 4px 8px;
      border-radius: 999px;
      color: #087c77;
      background: #e7faf7;
      font-size: .68rem;
      font-weight: 900;
    }








    .member-account-badge.vip {
      color: #765500;
      background: #fff0a8;
    }








    .member-account-details {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }








    .member-account-details > div {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border: 1px solid #e1e7f1;
      border-radius: 13px;
      background: #fff;
    }








    .member-account-details > div > i {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 10px;
      color: #18a8a1;
      background: #e8faf8;
    }








    .member-account-details span {
      min-width: 0;
    }








    .member-account-details small,
    .member-account-details strong {
      display: block;
    }








    .member-account-details small {
      color: #8a94a8;
      font-size: .66rem;
    }








    .member-account-details strong {
      margin-top: 2px;
      overflow: hidden;
      color: #26345f;
      font-size: .77rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }








    .member-account-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }








    .member-account-actions button {
      min-height: 42px;
      border: 0;
      border-radius: 11px;
      font-family: 'Sarabun', sans-serif;
      font-weight: 900;
      cursor: pointer;
    }








    .member-account-close {
      color: #102a72;
      background: #eef2f8;
    }








    .member-account-logout {
      color: #fff;
      background: #d9325f;
      box-shadow: 0 9px 20px rgba(217,50,95,.18);
    }








    .member-action-overlay {
      position: fixed;
      inset: 0;
      z-index: 2147483900;
      display: none;
      place-items: center;
      padding: 20px;
      background: rgba(7,19,47,.72);
      backdrop-filter: blur(7px);
    }








    .member-action-overlay.show {
      display: grid;
    }








    .member-action-card {
      width: min(360px, 100%);
      padding: 27px 22px;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 32px 90px rgba(0,0,0,.36);
      text-align: center;
    }








    .member-action-icon {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      margin: 0 auto 13px;
      border-radius: 19px;
      color: #102a72;
      background: #eef3fb;
      font-size: 1.6rem;
    }








    .member-action-icon.success {
      color: #087c77;
      background: #e7faf7;
    }








    .member-action-icon.error {
      color: #b4234d;
      background: #fff0f4;
    }








    .member-action-card h3 {
      margin: 0;
      color: #102a72;
      font-size: 1.08rem;
    }








    .member-action-card p {
      margin: 7px 0 0;
      color: #778198;
      font-size: .82rem;
      line-height: 1.55;
    }








    @media (max-width: 650px) {
      .member-account-details,
      .member-account-actions {
        grid-template-columns: 1fr;
      }
    }








  
    /* =======================================================
       V9 LANDING PAGE / NAV / PROGRESS / FOOTER
       ======================================================= */
    body {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }








    main {
      flex: 1 0 auto;
    }








    .page-anchor {
      scroll-margin-top: 88px;
    }








    .page-scroll-track {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 2147483000;
      height: 4px;
      background: rgba(16,42,114,.08);
      pointer-events: none;
    }








    .page-scroll-progress {
      width: 0;
      height: 100%;
      border-radius: 0 999px 999px 0;
      background: linear-gradient(90deg, #18a8a1, #2457c5, #ef356c);
      box-shadow: 0 0 12px rgba(239,53,108,.45);
      transition: width .08s linear;
    }








    .brand-button {
      padding: 0;
      border: 0;
      background: transparent;
      font-family: inherit;
      text-align: left;
      cursor: pointer;
    }








    .brand-button .brand-text,
    .brand-button .brand-name,
    .brand-button .brand-sub {
      display: block;
    }








    .main-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      margin-left: auto;
      margin-right: auto;
    }








    .main-nav button {
      min-height: 38px;
      padding: 8px 12px;
      border: 0;
      border-radius: 10px;
      color: #5f6980;
      background: transparent;
      font-family: inherit;
      font-size: .78rem;
      font-weight: 800;
      cursor: pointer;
      transition: .18s ease;
    }








    .main-nav button:hover,
    .main-nav button.active {
      color: #102a72;
      background: #eef3fb;
    }








    .member-top-button {
      min-height: 44px;
      padding: 7px 12px;
    }








    .member-button-copy {
      display: grid;
      line-height: 1.05;
      text-align: left;
    }








    .member-button-copy b {
      font-size: .76rem;
    }








    .member-button-copy small {
      margin-top: 3px;
      color: #6f7b92;
      font-size: .6rem;
      font-weight: 700;
    }








    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      min-height: 27px;
      margin-bottom: 7px;
      padding: 5px 10px;
      border: 1px solid #dbe4f5;
      border-radius: 999px;
      color: #2457c5;
      background: #f2f6ff;
      font-size: .7rem;
      font-weight: 900;
    }








    .landing-section-head {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
      align-items: end;
      gap: 28px;
      margin-bottom: 25px;
    }








    .landing-section-head.centered {
      display: block;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }








    .landing-section-head h2 {
      margin: 0;
      color: #102a72;
      font-size: clamp(1.65rem, 3vw, 2.5rem);
      line-height: 1.18;
    }








    .landing-section-head p {
      margin: 8px 0 0;
      color: #6f7990;
      font-size: .9rem;
      line-height: 1.8;
    }








    .feature-section {
      background:
        radial-gradient(circle at 10% 0%, rgba(24,168,161,.08), transparent 30%),
        #ffffff;
    }








    .feature-showcase-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }








    .feature-showcase-card {
      position: relative;
      min-height: 220px;
      padding: 20px;
      overflow: hidden;
      border: 1px solid #dfe5f1;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 12px 32px rgba(16,42,114,.07);
      transition: transform .2s ease, box-shadow .2s ease;
    }








    .feature-showcase-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(16,42,114,.12);
    }








    .feature-number {
      position: absolute;
      top: 13px;
      right: 15px;
      color: #edf1f8;
      font-size: 2.3rem;
      font-weight: 900;
      line-height: 1;
    }








    .feature-showcase-icon {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: #fff;
      font-size: 1.05rem;
    }








    .feature-showcase-icon.teal { background: #18a8a1; }
    .feature-showcase-icon.navy { background: #102a72; }
    .feature-showcase-icon.pink { background: #ef356c; }
    .feature-showcase-icon.gold { background: #f2b323; color: #6d4c00; }








    .feature-showcase-card h3 {
      margin: 15px 0 7px;
      color: #102a72;
      font-size: 1rem;
    }








    .feature-showcase-card p {
      margin: 0;
      color: #6d7890;
      font-size: .78rem;
      line-height: 1.75;
    }








    .pricing-section {
      background:
        radial-gradient(circle at 82% 5%, rgba(239,53,108,.09), transparent 32%),
        linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
    }








    .pricing-grid {
      max-width: 900px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 17px;
      margin: 0 auto;
    }








    .pricing-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 475px;
      padding: 25px;
      border: 1px solid #dfe5f1;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 18px 48px rgba(16,42,114,.08);
    }








    .pricing-card.vip {
      color: #fff;
      border-color: #4132a2;
      background:
        radial-gradient(circle at 100% 0%, rgba(239,53,108,.35), transparent 35%),
        linear-gradient(145deg, #102a72, #392683);
      box-shadow: 0 22px 55px rgba(34,31,111,.25);
    }








    .pricing-popular {
      position: absolute;
      top: 17px;
      right: 17px;
      padding: 5px 9px;
      border-radius: 999px;
      color: #6d4c00;
      background: #ffd84c;
      font-size: .66rem;
      font-weight: 900;
    }








    .pricing-card-head {
      display: flex;
      align-items: center;
      gap: 10px;
    }








    .pricing-icon {
      width: 45px;
      height: 45px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: #fff;
      background: #18a8a1;
    }








    .pricing-card.vip .pricing-icon {
      color: #6d4c00;
      background: #ffd84c;
    }








    .pricing-label {
      color: #7b869d;
      font-size: .7rem;
      font-weight: 800;
    }








    .pricing-card.vip .pricing-label {
      color: rgba(255,255,255,.7);
    }








    .pricing-card h3 {
      margin: 17px 0 4px;
      color: #102a72;
      font-size: 1.3rem;
    }








    .pricing-card.vip h3 {
      color: #fff;
    }








    .pricing-price {
      display: flex;
      align-items: baseline;
      gap: 9px;
      margin: 7px 0 19px;
      padding-bottom: 19px;
      border-bottom: 1px solid #e6eaf2;
    }








    .pricing-card.vip .pricing-price {
      border-color: rgba(255,255,255,.18);
    }








    .pricing-price strong {
      color: #102a72;
      font-size: 2rem;
      font-weight: 900;
    }








    .pricing-card.vip .pricing-price strong {
      color: #fff;
    }








    .pricing-price span {
      color: #8a94a8;
      font-size: .7rem;
    }








    .pricing-card.vip .pricing-price span {
      color: rgba(255,255,255,.65);
    }








    .pricing-card ul {
      display: grid;
      gap: 11px;
      margin: 0 0 22px;
      padding: 0;
      list-style: none;
    }








    .pricing-card li {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      color: #5d6880;
      font-size: .78rem;
      line-height: 1.5;
    }








    .pricing-card.vip li {
      color: rgba(255,255,255,.84);
    }








    .pricing-card li i {
      width: 20px;
      height: 20px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 50%;
      color: #087c77;
      background: #e7faf7;
      font-size: .62rem;
    }








    .pricing-card.vip li i {
      color: #6d4c00;
      background: #ffd84c;
    }








    .pricing-card li.muted {
      color: #a0a8b8;
    }








    .pricing-card li.muted i {
      color: #8b94a7;
      background: #f0f2f6;
    }








    .pricing-action {
      min-height: 45px;
      margin-top: auto;
      border: 0;
      border-radius: 11px;
      font-family: inherit;
      font-weight: 900;
      cursor: pointer;
    }








    .pricing-action.secondary {
      color: #102a72;
      background: #eef3fb;
    }








    .pricing-action.primary {
      color: #102a72;
      background: #ffd84c;
      box-shadow: 0 12px 25px rgba(255,216,76,.2);
    }








    .pricing-note {
      max-width: 900px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 15px auto 0;
      padding: 12px 14px;
      border: 1px solid #dbe4f5;
      border-radius: 12px;
      color: #647087;
      background: #f5f8fe;
      font-size: .74rem;
      line-height: 1.6;
    }








    .pricing-note i {
      margin-top: 2px;
      color: #2457c5;
    }









    /* =======================================================
       CONTACT SECTION V38 : Premium floating layout (Concept C)
       โครงใหม่สลับฟอร์มซ้าย + Support cards ขวา
       ======================================================= */
    .contact-section {
      position: relative;
      overflow: hidden;
      padding: 78px 0 82px;
      color: #18234c;
      background:
        radial-gradient(circle at 14% 18%, rgba(239,53,108,.10), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(24,168,161,.12), transparent 30%),
        linear-gradient(135deg, #fff8fb 0%, #f6f8ff 48%, #eefaf8 100%);
      border-top: 1px solid #f2dce5;
      border-bottom: 1px solid #dbeae7;
      isolation: isolate;
    }

    .contact-section::before,
    .contact-section::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
    }

    .contact-section::before {
      width: 340px;
      height: 340px;
      left: -180px;
      top: -170px;
      border: 54px solid rgba(239,53,108,.045);
      background: rgba(255,255,255,.24);
    }

    .contact-section::after {
      width: 300px;
      height: 300px;
      right: -145px;
      bottom: -165px;
      border: 48px solid rgba(24,168,161,.055);
      background: rgba(255,255,255,.20);
    }

    .contact-shell {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(520px, 1.14fr) minmax(340px, .86fr);
      gap: 54px;
      align-items: center;
    }

    .contact-form-zone {
      position: relative;
    }

    .contact-form-zone::before {
      content: "";
      position: absolute;
      inset: 24px -18px -18px 24px;
      border-radius: 28px;
      background: #102a72;
      opacity: .08;
      transform: rotate(-1.2deg);
      pointer-events: none;
    }

    .contact-form-card {
      position: relative;
      z-index: 2;
      padding: 26px;
      border: 1px solid rgba(16,42,114,.10);
      border-radius: 28px;
      background: rgba(255,255,255,.96);
      box-shadow: 0 28px 70px rgba(16,42,114,.14);
      backdrop-filter: blur(10px);
    }

    .contact-form-head {
      position: relative;
      display: flex;
      align-items: center;
      gap: 13px;
      min-height: 52px;
      margin-bottom: 20px;
      padding-left: 58px;
    }

    .contact-form-head-icon {
      position: absolute;
      left: -8px;
      top: -46px;
      z-index: 4;
      width: 62px;
      height: 62px;
      display: grid;
      place-items: center;
      border: 5px solid #fff;
      border-radius: 20px;
      color: #fff !important;
      background: #ef356c;
      box-shadow: 0 14px 30px rgba(239,53,108,.28);
      font-size: 2.25rem;
      transform: rotate(-8deg);
      transition: transform .22s ease, box-shadow .22s ease;
    }

    .contact-form-card:hover .contact-form-head-icon {
      transform: rotate(-3deg) translateY(-4px) scale(1.03);
      box-shadow: 0 18px 36px rgba(239,53,108,.34);
    }

    .contact-form-head-icon i { color: #fff !important; }

    .contact-form-head strong,
    .contact-form-head span:not(.contact-form-head-icon) { display: block; }
    .contact-form-head .contact-form-head-icon {
      display: grid;
      place-items: center;
      line-height: 1;
    }
    .contact-form-head .contact-form-head-icon i {
      display: block;
      margin: 0;
      color: #fff !important;
      line-height: 1;
    }
    .contact-form-head strong { color: #102a72; font-size: 1.12rem; }
    .contact-form-head span { margin-top: 2px; color: #7a879c; font-size: .74rem; }

    .contact-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 13px;
    }

    .contact-form-field {
      display: grid;
      gap: 6px;
    }

    .contact-form-field.full { grid-column: 1 / -1; }
    .contact-form-field label {
      color: #334365;
      font-size: .77rem;
      font-weight: 800;
    }

    .contact-form-field input,
    .contact-form-field textarea {
      width: 100%;
      border: 1px solid #d5ddeb;
      border-radius: 13px;
      color: #18234c;
      background: #f8f9fd;
      outline: none;
      transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
    }

    .contact-form-field input {
      min-height: 46px;
      padding: 10px 12px;
    }

    .contact-form-field textarea {
      min-height: 122px;
      padding: 12px;
      resize: vertical;
      line-height: 1.62;
    }

    .contact-form-field input:focus,
    .contact-form-field textarea:focus {
      border-color: #2457c5;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(36,87,197,.08);
      transform: translateY(-1px);
    }

    .contact-form-honeypot {
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    .contact-form-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 16px;
    }

    .contact-form-note {
      color: #7a879c;
      font-size: .7rem;
      line-height: 1.5;
    }

    .contact-form-note i { color: #18a8a1; margin-right: 5px; }

    .contact-submit-btn {
      min-width: 170px;
      min-height: 45px;
      border: 0;
      border-radius: 13px;
      padding: 10px 19px;
      color: #fff;
      background: #102a72;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 11px 25px rgba(16,42,114,.18);
      transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .contact-submit-btn:hover {
      transform: translateY(-2px);
      background: #173b97;
      box-shadow: 0 15px 30px rgba(16,42,114,.22);
    }
    .contact-submit-btn:disabled { opacity: .6; cursor: wait; transform: none; }

    .contact-info-zone {
      position: relative;
      min-width: 0;
      padding: 10px 0;
    }

    .contact-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 11px;
      border: 1px solid #f0c6d4;
      border-radius: 999px;
      color: #c42e5d;
      background: rgba(255,255,255,.78);
      font-size: .77rem;
      font-weight: 900;
      box-shadow: 0 8px 20px rgba(239,53,108,.07);
    }

    .contact-info-zone h2 {
      margin: 18px 0 12px;
      max-width: 560px;
      color: #102a72;
      font-size: clamp(2rem, 3.2vw, 2.85rem);
      line-height: 1.12;
      letter-spacing: -.025em;
    }

    .contact-info-zone > p {
      max-width: 560px;
      margin: 0;
      color: #687187;
      font-size: .94rem;
      line-height: 1.82;
    }

    .contact-mini-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 25px;
    }

    .contact-mini-card {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 13px;
      border: 1px solid rgba(16,42,114,.09);
      border-radius: 17px;
      background: rgba(255,255,255,.86);
      box-shadow: 0 12px 28px rgba(16,42,114,.07);
    }

    .contact-mini-card i {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 12px;
      color: #fff;
      background: #18a8a1;
    }

    .contact-mini-card.pink i { background: #ef356c; }
    .contact-mini-card span,
    .contact-mini-card strong { display: block; }
    .contact-mini-card span { color: #7a879c; font-size: .66rem; }
    .contact-mini-card strong { margin-top: 2px; color: #18234c; font-size: .8rem; }

    .contact-mini-card {
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .contact-mini-card:hover {
      transform: translateY(-5px);
      border-color: rgba(36,87,197,.24);
      background: #fff;
      box-shadow: 0 20px 40px rgba(16,42,114,.13);
    }

    .contact-mini-card:hover i {
      transform: rotate(-5deg) scale(1.07);
    }

    .contact-mini-card i {
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .contact-direct-card {
      width: 100%;
      display: grid;
      grid-template-columns: 54px minmax(0,1fr) 34px;
      align-items: center;
      gap: 13px;
      margin-top: 14px;
      padding: 15px;
      border: 1px solid #cfdcf0;
      border-radius: 19px;
      color: #18234c;
      background: #fff;
      text-decoration: none;
      box-shadow: 0 14px 34px rgba(16,42,114,.09);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .contact-direct-card:hover {
      transform: translateY(-4px) translateX(3px);
      border-color: #9ec5f5;
      box-shadow: 0 20px 42px rgba(16,42,114,.13);
    }

    .contact-direct-card:hover .contact-direct-icon {
      transform: rotate(-5deg) scale(1.07);
    }

    .contact-direct-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      color: #fff;
      background: #1877f2;
      font-size: 1.28rem;
      box-shadow: 0 9px 22px rgba(24,119,242,.20);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .contact-direct-copy { min-width: 0; }
    .contact-direct-copy small,
    .contact-direct-copy strong,
    .contact-direct-copy span { display: block; }
    .contact-direct-copy small { color: #7a879c; font-size: .68rem; font-weight: 700; }
    .contact-direct-copy strong { margin-top: 2px; color: #102a72; font-size: .92rem; }
    .contact-direct-copy span { margin-top: 3px; color: #687187; font-size: .7rem; }
    .contact-direct-card > i { color: #2457c5; text-align: right; }

    .contact-response-card {
      position: relative;
      margin-top: 14px;
      padding: 17px 18px 17px 56px;
      border-radius: 19px;
      color: #fff;
      background: #102a72;
      box-shadow: 0 18px 40px rgba(16,42,114,.20);
      overflow: hidden;
    }

    .contact-response-card::after {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      right: -56px;
      top: -58px;
      border: 22px solid rgba(255,255,255,.08);
      border-radius: 50%;
    }

    .contact-response-card > i {
      position: absolute;
      left: 17px;
      top: 18px;
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      color: #102a72;
      background: #ffd33d;
    }

    .contact-response-card strong,
    .contact-response-card span { display: block; position: relative; z-index: 1; }
    .contact-response-card strong { font-size: .88rem; }
    .contact-response-card span { margin-top: 3px; color: #c7d2ef; font-size: .72rem; line-height: 1.5; }

    .contact-response-card {
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .contact-response-card:hover {
      transform: translateY(-5px);
      background: #173b97;
      box-shadow: 0 24px 48px rgba(16,42,114,.26);
    }

    .contact-response-card:hover > i {
      transform: rotate(-6deg) scale(1.08);
    }

    .contact-response-card > i { transition: transform .2s ease; }

    /* ===== คุณขอ เราเขียน : แยกจากส่วนติดต่อเรา ===== */
    .member-idea-section {
      position: relative;
      overflow: hidden;
      padding: 38px 0;
      background: #fff;
      border-top: 1px solid #e7e2f4;
    }

    .member-idea-shell {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) auto;
      align-items: center;
      gap: 28px;
      padding: 26px 30px;
      border: 1px solid #e4d6ff;
      border-radius: 24px;
      color: #36215f;
      background:
        radial-gradient(circle at 92% 20%, rgba(242,179,35,.17), transparent 24%),
        linear-gradient(120deg, #fffaf0 0%, #fbf7ff 45%, #f0edff 100%);
      box-shadow: 0 18px 44px rgba(78,48,135,.10);
    }

    .member-idea-shell::after {
      content: "";
      position: absolute;
      right: 110px;
      bottom: -72px;
      width: 170px;
      height: 170px;
      border: 28px solid rgba(91,53,166,.06);
      border-radius: 50%;
      pointer-events: none;
    }

    .member-idea-copy {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 66px minmax(0,1fr);
      gap: 18px;
      align-items: center;
    }

    .member-idea-big-icon {
      width: 66px;
      height: 66px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      color: #fff;
      background: #5b35a6;
      box-shadow: 0 12px 26px rgba(91,53,166,.24);
      font-size: 1.45rem;
    }

    .member-idea-eyebrow {
      display: inline-flex;
      align-items: center;
      width: max-content;
      max-width: 100%;
      gap: 7px;
      margin-bottom: 5px;
      color: #8a6d24;
      font-size: .69rem;
      font-weight: 900;
      letter-spacing: .04em;
    }

    .member-idea-copy h2 {
      margin: 0;
      color: #3d236d;
      font-size: clamp(1.55rem, 2.6vw, 2.2rem);
      line-height: 1.16;
    }

    .member-idea-copy p {
      margin: 7px 0 0;
      max-width: 760px;
      color: #75658e;
      font-size: .84rem;
      line-height: 1.65;
    }

    .member-idea-action {
      position: relative;
      z-index: 1;
      min-width: 210px;
      min-height: 48px;
      border: 0;
      border-radius: 14px;
      padding: 11px 18px;
      color: #fff;
      background: #5b35a6;
      box-shadow: 0 12px 26px rgba(91,53,166,.22);
      font-weight: 900;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .member-idea-action:hover {
      transform: translateY(-4px);
      background: #6d43bd;
      box-shadow: 0 18px 34px rgba(91,53,166,.28);
    }

    .free-idea-card {
      width: 100%;
      display: grid;
      grid-template-columns: 46px minmax(0,1fr) auto;
      align-items: center;
      gap: 13px;
      margin-top: 14px;
      padding: 15px 16px;
      border: 1px solid #e4d4ff;
      border-radius: 19px;
      color: #352260;
      background: linear-gradient(135deg, #fffdf5 0%, #fbf7ff 58%, #f3efff 100%);
      box-shadow: 0 14px 34px rgba(78,48,135,.10);
      cursor: pointer;
      text-align: left;
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .free-idea-card:hover {
      transform: translateY(-5px);
      border-color: #c9a9ff;
      box-shadow: 0 22px 46px rgba(78,48,135,.17);
    }

    .free-idea-icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: #5b35a6;
      background: #efe7ff;
      font-size: 1.05rem;
      transition: transform .2s ease;
    }

    .free-idea-card:hover .free-idea-icon { transform: rotate(-6deg) scale(1.08); }
    .free-idea-copy { min-width: 0; }
    .free-idea-copy small, .free-idea-copy strong, .free-idea-copy span { display: block; }
    .free-idea-copy small { color: #8a71b2; font-size: .66rem; font-weight: 800; }
    .free-idea-copy strong { margin-top: 2px; color: #3d236d; font-size: .9rem; }
    .free-idea-copy span { margin-top: 3px; color: #75658e; font-size: .7rem; line-height: 1.45; }
    .free-idea-card > .fa-arrow-right { color: #7047b8; }

    .free-idea-dialog {
      width: min(650px, calc(100% - 28px));
      max-height: 90vh;
      overflow: auto;
      border: 0;
      border-radius: 24px;
      padding: 0;
      background: #fff;
      box-shadow: 0 30px 90px rgba(12,25,60,.30);
    }
    .free-idea-dialog::backdrop { background: rgba(7,19,47,.66); backdrop-filter: blur(6px); }
    .free-idea-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 19px 20px;
      border-bottom: 1px solid #e5e9f2;
      background: linear-gradient(135deg, #fffaf0, #f7f1ff);
    }
    .free-idea-head-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .free-idea-head-icon {
      width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto;
      border-radius: 14px; color: #5b35a6; background: #eee5ff; font-size: 1.05rem;
    }
    .free-idea-head strong, .free-idea-head small { display: block; }
    .free-idea-head strong { color: #3d236d; font-size: 1.03rem; }
    .free-idea-head small { margin-top: 2px; color: #88789e; font-size: .7rem; }
    .free-idea-body { padding: 20px; }
    .free-idea-member {
      display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 11px 12px;
      border: 1px solid #d8ece9; border-radius: 13px; color: #246c68; background: #f1fbf9; font-size: .76rem;
    }
    .free-idea-note {
      margin-bottom: 16px; padding: 11px 12px; border-radius: 13px; color: #765d20;
      background: #fff9e9; border: 1px solid #f1dfaa; font-size: .73rem; line-height: 1.6;
    }
    .free-idea-grid { display: grid; gap: 13px; }
    .free-idea-field { display: grid; gap: 6px; }
    .free-idea-field label { color: #334365; font-size: .77rem; font-weight: 800; }
    .free-idea-field input, .free-idea-field select, .free-idea-field textarea {
      width: 100%; border: 1px solid #d5ddeb; border-radius: 12px; padding: 10px 12px;
      color: #18234c; background: #f8f9fd; outline: none;
    }
    .free-idea-field input, .free-idea-field select { min-height: 44px; }
    .free-idea-field textarea { min-height: 125px; resize: vertical; line-height: 1.6; }
    .free-idea-field input:focus, .free-idea-field select:focus, .free-idea-field textarea:focus {
      border-color: #7047b8; background: #fff; box-shadow: 0 0 0 4px rgba(112,71,184,.08);
    }
    .free-idea-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 17px; }
    .free-idea-submit {
      min-height: 43px; border: 0; border-radius: 11px; padding: 9px 17px; color: #fff;
      background: #5b35a6; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
      box-shadow: 0 10px 22px rgba(91,53,166,.20);
    }
    .free-idea-submit:disabled { opacity: .6; cursor: wait; }

    .footer-contact-link {
      width: max-content;
      max-width: 100%;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #9fb0cf;
      font-size: .72rem;
      line-height: 1.5;
      text-decoration: none;
    }

    .footer-contact-link:hover { color: #fff; }
    .footer-contact-link i { width: 17px; color: #18a8a1; }

    @media (max-width: 980px) {
      .member-idea-shell { grid-template-columns: 1fr; }
      .member-idea-action { width: 100%; }
      .contact-shell {
        grid-template-columns: 1fr;
        gap: 42px;
      }
      .contact-form-zone { order: 2; }
      .contact-info-zone { order: 1; }
    }

    @media (max-width: 650px) {
      .member-idea-section { padding: 26px 0; }
      .member-idea-shell { padding: 20px; border-radius: 20px; }
      .member-idea-copy { grid-template-columns: 52px minmax(0,1fr); gap: 13px; }
      .member-idea-big-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 1.12rem; }
      .member-idea-copy h2 { font-size: 1.45rem; }
      .contact-section { padding: 58px 0 58px; }
      .contact-form-card { padding: 22px 18px 18px; border-radius: 20px; }
      .contact-form-head { padding-left: 50px; }
      .contact-form-head-icon { left: -5px; top: -42px; width: 56px; height: 56px; border-radius: 18px; font-size: 1.72rem; }
      .contact-form-zone::before { inset: 16px -8px -10px 15px; border-radius: 22px; }
      .contact-form-grid { grid-template-columns: 1fr; }
      .contact-form-field.full { grid-column: auto; }
      .contact-form-footer { align-items: stretch; flex-direction: column; }
      .contact-submit-btn { width: 100%; }
      .contact-mini-grid { grid-template-columns: 1fr; }
      .contact-info-zone h2 { font-size: 2rem; }
      .contact-direct-card { grid-template-columns: 50px minmax(0,1fr) 28px; }
      .contact-direct-icon { width: 50px; height: 50px; }
      .free-idea-card { grid-template-columns: 44px minmax(0,1fr) 20px; }
      .free-idea-actions { flex-direction: column-reverse; }
      .free-idea-actions .btn, .free-idea-submit { width: 100%; justify-content: center; }
    }


    .site-footer {
      flex-shrink: 0;
      margin-top: auto;
      padding: 46px 0 18px;
      color: #c8d2e7;
      background:
        radial-gradient(circle at 8% 15%, rgba(36,87,197,.25), transparent 25%),
        #0d1831;
      border-top: 0;
      text-align: left;
    }








    .footer-grid {
      display: grid;
      grid-template-columns: minmax(260px, 1.5fr) .7fr .8fr minmax(260px, 1.2fr);
      gap: 34px;
    }








    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }








    .footer-brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      padding: 4px;
      border-radius: 13px;
      background: #fff;
    }








    .footer-brand strong,
    .footer-brand span {
      display: block;
    }








    .footer-brand strong {
      color: #fff;
      font-size: 1rem;
    }








    .footer-brand span {
      margin-top: 2px;
      color: #9fb0cf;
      font-size: .7rem;
    }








    .footer-brand-block p {
      max-width: 430px;
      margin: 15px 0 0;
      color: #9fb0cf;
      font-size: .76rem;
      line-height: 1.8;
    }








    .footer-link-group {
      display: grid;
      align-content: start;
      gap: 9px;
    }








    .footer-link-group strong,
    .footer-contact-block > strong {
      margin-bottom: 5px;
      color: #fff;
      font-size: .8rem;
    }








    .footer-link-group button {
      width: max-content;
      padding: 0;
      border: 0;
      color: #9fb0cf;
      background: transparent;
      font-family: inherit;
      font-size: .74rem;
      cursor: pointer;
    }








    .footer-link-group button:hover {
      color: #fff;
    }








    .footer-contact-block {
      display: grid;
      align-content: start;
      gap: 8px;
    }








    .footer-contact-block p,
    .footer-contact-block span {
      margin: 0;
      color: #9fb0cf;
      font-size: .72rem;
      line-height: 1.6;
    }








    .footer-contact-block span i {
      width: 17px;
      color: #18a8a1;
    }








    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 34px;
      padding-top: 16px;
      border-top: 1px solid rgba(255,255,255,.1);
      color: #7587a9;
      font-size: .67rem;
    }








    .footer-visitor-count {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 32px;
      padding: 7px 10px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 10px;
      color: #aebbd3;
      background: rgba(255,255,255,.045);
      font-size: .68rem;
      white-space: nowrap;
    }

    .footer-visitor-count i {
      color: #42d4c8;
    }

    .footer-visitor-count b {
      color: #fff;
      font-size: .74rem;
    }


    .footer-online {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }








    .footer-online i {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #16c79a;
      box-shadow: 0 0 0 4px rgba(22,199,154,.12);
    }








    /* Dialog ชั้นบนสุด: แก้สถานะสมัครไปอยู่หลังหน้าต่างสมัคร */
    .member-action-dialog {
      width: min(360px, calc(100% - 32px));
      margin: auto;
      padding: 0;
      overflow: visible;
      border: 0;
      border-radius: 22px;
      background: transparent;
      box-shadow: none;
    }








    .member-action-dialog::backdrop {
      background: rgba(7,19,47,.74);
      backdrop-filter: blur(7px);
    }








    .member-action-dialog .member-action-card {
      width: 100%;
      margin: 0;
    }








    /* ปิดกฎเดิมของ overlay แบบ div */
    .member-action-overlay {
      display: none !important;
    }








    








    @media (max-width: 1020px) {
      .main-nav {
        display: none;
      }








      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }








    @media (max-width: 760px) {
      .feature-showcase-grid,
      .pricing-grid,
      .landing-section-head {
        grid-template-columns: 1fr;
      }








      .feature-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }








      .pricing-card {
        min-height: auto;
      }








      .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }








      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
      }








      .member-button-copy small {
        display: none;
      }
    }








    @media (max-width: 520px) {
      .feature-showcase-grid {
        grid-template-columns: 1fr;
      }








      .member-top-button {
        padding: 8px 10px;
      }








      .member-top-button > i {
        margin: 0;
      }
    }








  
    /* =======================================================
       V10 SYSTEM CARDS
       ======================================================= */
    .system-card.interactive-card {
      position: relative;
      cursor: pointer;
      transform-style: preserve-3d;
      will-change: transform;
      outline: none;
    }








    .system-card.interactive-card:focus-visible {
      box-shadow:
        0 0 0 4px rgba(36,87,197,.18),
        0 24px 55px rgba(16,42,114,.18);
    }








    .system-card.interactive-card:hover {
      transform:
        perspective(950px)
        translateY(-9px)
        rotateX(1.5deg)
        rotateY(-1.5deg);
      box-shadow: 0 28px 62px rgba(16,42,114,.18);
    }








    .system-card.interactive-card:hover .system-cover img {
      transform: scale(1.06);
    }








    .system-card.interactive-card:hover .system-title {
      color: #2457c5;
    }








    .system-cover {
      overflow: hidden;
    }








    .system-cover img {
      transition: transform .45s ease;
    }








    .system-card-shine {
      position: absolute;
      inset: 0;
      z-index: 3;
      overflow: hidden;
      border-radius: inherit;
      pointer-events: none;
    }








    .system-card-shine::after {
      content: "";
      position: absolute;
      top: -30%;
      left: -70%;
      width: 38%;
      height: 160%;
      transform: rotate(18deg);
      background:
        linear-gradient(
          90deg,
          transparent,
          rgba(255,255,255,.55),
          transparent
        );
      transition: left .65s ease;
    }








    .system-card:hover .system-card-shine::after {
      left: 135%;
    }








    .system-corner-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 5;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 31px;
      padding: 6px 11px;
      border-radius: 999px;
      font-size: .72rem;
      font-weight: 900;
      box-shadow: 0 8px 20px rgba(0,0,0,.16);
      pointer-events: none;
    }








    .system-corner-badge.free {
      color: #087c77;
      background: #dffaf5;
      border: 1px solid #9ce8dd;
    }








    .system-corner-badge.vip-free {
      color: #6d4c00;
      background: #ffd84c;
      border: 1px solid #f2b323;
    }


    .system-price-promo {
      position: relative;
      display: grid;
      grid-template-columns: auto auto;
      align-items: center;
      gap: 2px 10px;
      width: fit-content;
      max-width: 100%;
      margin: 3px 0 11px;
      padding: 7px 42px 7px 10px;
      overflow: hidden;
      border: 1px solid #ffc4d4;
      border-radius: 13px;
      background: linear-gradient(135deg, #fff4f8 0%, #fff 58%, #fff9e9 100%);
      box-shadow: 0 7px 18px rgba(239,53,108,.10);
    }
    .system-price-promo::before {
      content: 'SALE';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 34px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(180deg, #ef356c, #d82558);
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: .05em;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
    }
    .system-price-promo .price-original {
      grid-column: 1 / -1;
      color: #828b9b;
      font-size: .69rem;
      font-weight: 700;
      white-space: nowrap;
    }
    .system-price-promo .price-original b {
      position: relative;
      margin-left: 3px;
      color: #737b89;
      font-size: .78rem;
      font-weight: 850;
    }
    .system-price-promo .price-original b::after {
      content: '';
      position: absolute;
      left: -3px;
      right: -3px;
      top: 50%;
      height: 2px;
      border-radius: 99px;
      background: #ef356c;
      transform: rotate(-7deg);
    }
    .system-price-promo .price-sale {
      display: inline-flex;
      align-items: baseline;
      gap: 3px;
      color: #d9285c;
      font-size: .75rem;
      font-weight: 900;
      white-space: nowrap;
    }
    .system-price-promo .price-sale strong {
      color: #c51f50;
      font-size: 1.08rem;
      line-height: 1;
    }
    .system-price-promo .price-discount {
      justify-self: start;
      padding: 3px 7px;
      border-radius: 999px;
      color: #7a5300;
      background: #ffe29a;
      border: 1px solid #f2c862;
      font-size: .62rem;
      font-weight: 900;
      white-space: nowrap;
    }








    .system-actions button {
      position: relative;
      z-index: 6;
    }








    .feature-showcase-card,
    .pricing-card,
    .public-stat-card,
    .hero-mini-card{
      transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
    }








    .feature-showcase-card:hover,
    .pricing-card:hover,
    .public-stat-card:hover,
    .hero-mini-card:hover{
      transform: translateY(-5px);
      box-shadow: 0 20px 42px rgba(16,42,114,.13);
      border-color: rgba(36,87,197,.24);
    }









    /* =======================================================
       V10 — WEBSITE VISITOR ANALYTICS
       ======================================================= */
    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    


    /* =======================================================
       PASSWORD RESET
       ======================================================= */
    .forgot-password-button {
      width: 100%;
      min-height: 37px;
      margin-top: -2px;
      border: 0;
      border-radius: 9px;
      color: #2457c5;
      background: transparent;
      font-family: inherit;
      font-size: .73rem;
      font-weight: 800;
      cursor: pointer;
    }








    .forgot-password-button:hover {
      background: #eef4ff;
    }








    .small-member-dialog {
      width: min(450px, calc(100% - 28px));
      max-width: 450px;
      margin: auto;
      padding: 0;
      border: 0;
      border-radius: 22px;
      background: transparent;
    }








    .small-member-dialog::backdrop {
      background: rgba(7,19,47,.74);
      backdrop-filter: blur(7px);
    }








    .small-member-dialog-card {
      overflow: hidden;
      border-top: 5px solid #ef356c;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 32px 90px rgba(0,0,0,.35);
    }








    .small-member-dialog-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 18px 20px;
      border-bottom: 1px solid #e5e9f1;
    }








    .small-member-dialog-head small,
    .small-member-dialog-head h3 {
      display: block;
      margin: 0;
    }








    .small-member-dialog-head small {
      color: #8b94a7;
      font-size: .68rem;
    }








    .small-member-dialog-head h3 {
      margin-top: 3px;
      color: #102a72;
      font-size: 1.05rem;
    }








    .small-member-dialog-head > button {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border: 1px solid #dbe2ee;
      border-radius: 11px;
      color: #102a72;
      background: #f4f7fb;
      cursor: pointer;
    }








    .small-member-dialog-body {
      padding: 20px;
    }








    .small-member-dialog-body > p {
      margin: 10px 0 16px;
      color: #6f7990;
      font-size: .78rem;
      line-height: 1.65;
      text-align: center;
    }








    .reset-password-icon {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin: 0 auto;
      border-radius: 17px;
      color: #fff;
      background: #102a72;
      font-size: 1.3rem;
    }








    .reset-password-icon.success {
      color: #6d4c00;
      background: #ffd84c;
    }








    /* =======================================================
       MEMBER CENTER
       ======================================================= */
    .member-modal:has(.member-center[style*="grid"]) {
      width: min(1040px, calc(100% - 32px));
      max-width: 1040px;
    }








    .member-center {
      gap: 15px;
    }








    .member-center-head {
      display: grid;
      grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr);
      gap: 12px;
    }








    .member-center-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 9px;
    }








    .member-center-summary article {
      display: grid;
      align-content: center;
      justify-items: center;
      min-height: 94px;
      padding: 10px;
      border: 1px solid #dfe6f1;
      border-radius: 14px;
      background: #fff;
      text-align: center;
    }








    .member-center-summary i {
      color: #18a8a1;
    }








    .member-center-summary strong {
      margin-top: 5px;
      color: #102a72;
      font-size: 1rem;
    }








    .member-center-summary span {
      margin-top: 2px;
      color: #8791a5;
      font-size: .64rem;
    }








    .member-center-layout {
      min-height: 450px;
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr);
      overflow: hidden;
      border: 1px solid #dfe5f0;
      border-radius: 17px;
      background: #fff;
    }








    .member-center-menu {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: 12px;
      background: #f5f7fb;
      border-right: 1px solid #e1e6ef;
    }








    .member-center-menu button {
      min-height: 43px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 11px;
      border: 0;
      border-radius: 10px;
      color: #5f6b83;
      background: transparent;
      font-family: inherit;
      font-size: .75rem;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }








    .member-center-menu button:hover,
    .member-center-menu button.active {
      color: #102a72;
      background: #e7edfb;
      box-shadow: inset 3px 0 0 #2457c5;
    }








    .member-center-menu button.logout {
      margin-top: auto;
      color: #c32652;
      background: #fff0f4;
    }








    .member-center-content {
      position: relative;
      min-width: 0;
      padding: 18px;
    }








    .member-center-loading {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: none;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: #66738e;
      background: rgba(255,255,255,.9);
      font-size: .78rem;
    }








    .member-center-view {
      display: none;
    }








    .member-center-view.active {
      display: block;
    }








    .member-center-section-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 15px;
      padding-bottom: 12px;
      border-bottom: 1px solid #e7ebf2;
    }








    .member-center-section-head h4,
    .member-center-section-head p {
      margin: 0;
    }








    .member-center-section-head h4 {
      color: #102a72;
      font-size: 1rem;
    }








    .member-center-section-head p {
      margin-top: 3px;
      color: #8791a5;
      font-size: .68rem;
    }








    .member-email-badge {
      max-width: 260px;
      overflow: hidden;
      padding: 5px 9px;
      border-radius: 999px;
      color: #087c77;
      background: #e7faf7;
      font-size: .67rem;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }








    .member-profile-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 11px;
    }








    .member-password-form {
      max-width: 560px;
      display: grid;
      gap: 12px;
    }








    .member-center-primary {
      width: 100%;
      min-height: 43px;
      border: 0;
      border-radius: 10px;
      color: #fff;
      background: #102a72;
      font-family: inherit;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(16,42,114,.17);
    }








    .member-center-primary:disabled {
      opacity: .65;
      cursor: wait;
    }








    .password-note {
      padding: 9px 11px;
      border-radius: 9px;
      color: #657088;
      background: #f4f7fb;
      font-size: .68rem;
      line-height: 1.5;
    }








    .member-history-list {
      display: grid;
      gap: 9px;
    }








    .member-history-item {
      display: grid;
      grid-template-columns: 43px minmax(0, 1fr) auto;
      align-items: center;
      gap: 11px;
      padding: 11px;
      border: 1px solid #e0e6f0;
      border-radius: 13px;
      background: #fff;
    }








    .member-history-item:hover {
      border-color: #b9caeb;
      box-shadow: 0 10px 24px rgba(16,42,114,.08);
    }








    .member-history-icon {
      width: 43px;
      height: 43px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      color: #fff;
      background: #102a72;
    }








    .member-history-item.matcha .member-history-icon {
      color: #6d4c00;
      background: #ffd84c;
    }








    .member-history-content {
      min-width: 0;
    }








    .member-history-content strong,
    .member-history-content span,
    .member-history-content small {
      display: block;
    }








    .member-history-content strong {
      overflow: hidden;
      color: #102a72;
      font-size: .78rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }








    .member-history-content span,
    .member-history-content small {
      margin-top: 3px;
      color: #8791a5;
      font-size: .65rem;
    }








    .member-history-side {
      display: grid;
      justify-items: end;
      gap: 5px;
    }








    .member-history-side b {
      color: #087c77;
      font-size: .78rem;
    }








    .member-history-side a,
    .member-history-side button {
      min-height: 29px;
      padding: 5px 8px;
      border: 0;
      border-radius: 8px;
      color: #2457c5;
      background: #eef4ff;
      font-family: inherit;
      font-size: .64rem;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
    }








    .member-history-status {
      display: inline-flex;
      padding: 4px 7px;
      border-radius: 999px;
      color: #56627a;
      background: #eef1f6;
      font-size: .62rem;
      font-weight: 900;
    }








    .member-history-status.ready {
      color: #087c77;
      background: #e7faf7;
    }








    .member-history-status.pending {
      color: #856000;
      background: #fff5d9;
    }








    .member-history-status.rejected {
      color: #b4234d;
      background: #fff0f4;
    }








    .member-history-empty {
      display: grid;
      justify-items: center;
      gap: 7px;
      padding: 42px 15px;
      color: #8b95a9;
      text-align: center;
    }








    .member-history-empty i {
      font-size: 2rem;
      color: #c4cede;
    }








    .member-history-empty strong {
      color: #59657c;
      font-size: .78rem;
    }








    .member-history-empty span {
      font-size: .68rem;
    }








    .member-center-footer {
      display: flex;
      justify-content: flex-end;
    }








    .member-center-footer button {
      min-height: 37px;
      padding: 7px 12px;
      border: 0;
      border-radius: 9px;
      color: #102a72;
      background: #eef2f8;
      font-family: inherit;
      font-weight: 800;
      cursor: pointer;
    }








    @media (max-width: 820px) {
      .member-center-head,
      .member-center-layout {
        grid-template-columns: 1fr;
      }








      .member-center-menu {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
        display: grid;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #e1e6ef;
      }








      .member-center-menu button.logout {
        margin-top: 0;
      }
    }








    @media (max-width: 620px) {
      .member-center-summary,
      .member-profile-form {
        grid-template-columns: 1fr;
      }








      .member-history-item {
        grid-template-columns: 40px minmax(0, 1fr);
      }








      .member-history-side {
        grid-column: 2;
        justify-items: start;
      }
    }








  
    /* =======================================================
       V11 HERO MOTION / VIP STAT / BACK TO TOP
       ======================================================= */








    .hero-main-card {
      position: relative;
      overflow: hidden;
      transform: rotate(-.35deg);
      transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
      will-change: transform;
    }








    .hero-main-card::before {
      content: "";
      position: absolute;
      top: -45%;
      left: -70%;
      width: 34%;
      height: 190%;
      z-index: 0;
      transform: rotate(18deg);
      background:
        linear-gradient(
          90deg,
          transparent,
          rgba(255,255,255,.15),
          transparent
        );
      transition: left .75s ease;
      pointer-events: none;
    }








    .hero-main-card > * {
      position: relative;
      z-index: 1;
    }








    .hero-main-card:hover {
      transform:
        perspective(1000px)
        translateY(-7px)
        rotate(0deg)
        rotateX(1.2deg)
        rotateY(1deg);
      border-color: rgba(255,255,255,.32);
      box-shadow: 0 30px 75px rgba(0,0,0,.3);
    }








    .hero-main-card:hover::before {
      left: 145%;
    }








    .hero-kicker {
      transition:
        transform .28s ease,
        background .28s ease;
    }








    .hero-main-card:hover .hero-kicker {
      transform: translateX(5px);
      background: rgba(255,255,255,.13);
    }








    .hero-tags span {
      transition:
        transform .2s ease,
        background .2s ease;
    }








    .hero-tags span:hover {
      transform: translateY(-3px);
      background: rgba(255,255,255,.13);
    }








    .floating-stat.vip-stat .floating-stat-icon {
      color: #6d4c00;
      background: #ffd84c;
    }








    .floating-stat.vip-stat {
      border: 1px solid rgba(255,216,76,.5);
    }

    .floating-stat.vip-benefit-stat {
      min-width: 205px;
      border-color: rgba(255,216,76,.62);
      background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
    }

    .floating-stat.vip-benefit-stat strong {
      color: #102a72;
      font-size: 1rem;
      line-height: 1.15;
      font-weight: 900;
    }

    .floating-stat.vip-benefit-stat span {
      margin-top: 4px;
      color: #866400;
      font-size: .74rem;
      font-weight: 800;
    }








    .back-to-top-button {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 1200;
      min-width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 0 14px;
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 999px;
      color: #fff;
      background: #102a72;
      box-shadow: 0 15px 35px rgba(16,42,114,.3);
      font-family: 'Sarabun', sans-serif;
      font-size: .72rem;
      font-weight: 900;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(.92);
      transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        background .2s ease;
    }








    .back-to-top-button.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }








    .back-to-top-button:hover {
      transform: translateY(-4px) scale(1.03);
      background: #2457c5;
    }








    .back-to-top-button i {
      font-size: .85rem;
    }








    @media (max-width: 600px) {
      .back-to-top-button {
        right: 14px;
        bottom: 14px;
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
      }








      .back-to-top-button span {
        display: none;
      }








      .hero-main-card {
        transform: none;
      }








      .hero-main-card:hover {
        transform: translateY(-4px);
      }
    }








    @media (prefers-reduced-motion: reduce) {
      .hero-main-card,
      .hero-main-card::before,
      .back-to-top-button {
        transition: none !important;
      }
    }








  
    /* =======================================================
       V12 LIGHT ATOM BACKGROUND
       ======================================================= */
    .hero-atom-field {
      position: absolute;
      inset: 0;
      z-index: 0 !important;
      overflow: hidden;
      border-radius: inherit;
      pointer-events: none;
    }








    .hero-atom {
      position: absolute;
      width: 120px;
      height: 120px;
      opacity: .24;
      animation: atomFloat 7s ease-in-out infinite;
    }








    .hero-atom.atom-one {
      top: 22px;
      right: 30px;
    }








    .hero-atom.atom-two {
      right: 120px;
      bottom: 5px;
      width: 78px;
      height: 78px;
      opacity: .15;
      animation-delay: -3.2s;
    }








    .atom-core {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 12px;
      height: 12px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: #ffd84c;
      box-shadow:
        0 0 12px rgba(255,216,76,.75),
        0 0 28px rgba(255,216,76,.35);
    }








    .atom-orbit {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 38%;
      border: 1px solid rgba(104,234,230,.65);
      border-radius: 50%;
      transform-origin: center;
    }








    .orbit-a {
      transform: translate(-50%, -50%) rotate(25deg);
    }








    .orbit-b {
      transform: translate(-50%, -50%) rotate(-55deg);
    }








    .atom-electron {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 7px;
      height: 7px;
      margin: -3.5px;
      border-radius: 50%;
      background: #68eae6;
      box-shadow: 0 0 10px rgba(104,234,230,.8);
    }








    .electron-a {
      animation: electronOrbitA 4.8s linear infinite;
    }








    .electron-b {
      animation: electronOrbitB 6.2s linear infinite reverse;
    }








    .hero-particle {
      position: absolute;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,.55);
      box-shadow: 0 0 10px rgba(255,255,255,.4);
      animation: particleDrift 6s ease-in-out infinite;
    }








    .particle-a { top: 22%; left: 12%; }
    .particle-b { top: 65%; left: 42%; animation-delay: -1.4s; }
    .particle-c { top: 18%; left: 70%; animation-delay: -3s; }
    .particle-d { top: 76%; left: 82%; animation-delay: -4.2s; }








    @keyframes electronOrbitA {
      from {
        transform:
          translate(-50%, -50%)
          rotate(0deg)
          translateX(55px)
          rotate(0deg);
      }
      to {
        transform:
          translate(-50%, -50%)
          rotate(360deg)
          translateX(55px)
          rotate(-360deg);
      }
    }








    @keyframes electronOrbitB {
      from {
        transform:
          translate(-50%, -50%)
          rotate(0deg)
          translateX(42px)
          rotate(0deg);
      }
      to {
        transform:
          translate(-50%, -50%)
          rotate(360deg)
          translateX(42px)
          rotate(-360deg);
      }
    }








    @keyframes atomFloat {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      50% { transform: translate3d(-8px, -10px, 0) rotate(7deg); }
    }








    @keyframes particleDrift {
      0%, 100% { transform: translate3d(0, 0, 0); opacity: .35; }
      50% { transform: translate3d(8px, -14px, 0); opacity: .8; }
    }








    .hero-kicker-no-logo {
      padding-left: 8px;
    }








    .hero-kicker-symbol {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      color: #102a72;
      background: #ffd84c;
      box-shadow: 0 8px 18px rgba(255,216,76,.18);
    }








    .btn-hero-register {
      color: #102a72;
      border: 1px solid #ffd84c;
      background: #ffd84c;
      box-shadow: 0 10px 24px rgba(255,216,76,.16);
    }








    .btn-hero-register:hover {
      background: #ffe371;
      border-color: #ffe371;
      transform: translateY(-2px);
    }








    /* =======================================================
       V12 SPLIT MEMBER ENTRY
       ======================================================= */
    .top-login-button,
    .top-register-button {
      white-space: nowrap;
    }








    .top-register-button {
      background: #102a72;
    }








    .member-tabs {
      display: none !important;
    }








    .member-modal.login-mode {
      width: min(520px, calc(100% - 28px));
      max-width: 520px;
    }








    .member-modal.register-mode {
      width: min(1120px, calc(100% - 30px));
      max-width: 1120px;
    }








    .member-modal.register-mode .member-modal-body {
      padding: 18px;
    }








    .member-form-switch {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding-top: 3px;
      color: #7b8599;
      font-size: .72rem;
    }








    .member-form-switch button {
      padding: 4px 7px;
      border: 0;
      color: #2457c5;
      background: transparent;
      font-family: inherit;
      font-size: .72rem;
      font-weight: 900;
      cursor: pointer;
    }








    .member-form-switch button:hover {
      text-decoration: underline;
    }








    .register-experience-layout {
      display: grid;
      grid-template-columns: 290px minmax(0, 1fr);
      gap: 15px;
      align-items: start;
    }








    .register-benefit-panel {
      position: sticky;
      top: 0;
      display: grid;
      gap: 14px;
      padding: 18px;
      border-radius: 17px;
      color: #dce6ff;
      background:
        radial-gradient(
          circle at 100% 0%,
          rgba(239,53,108,.32),
          transparent 32%
        ),
        linear-gradient(145deg, #102a72, #342477);
      box-shadow: 0 18px 42px rgba(16,42,114,.18);
    }








    .register-benefit-head {
      display: flex;
      align-items: center;
      gap: 11px;
    }








    .register-benefit-icon {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 14px;
      color: #fff;
      background: #18a8a1;
      font-size: 1.05rem;
      transition: .2s ease;
    }








    .register-benefit-icon.vip {
      color: #6d4c00;
      background: #ffd84c;
    }








    .register-benefit-head small,
    .register-benefit-head h3,
    .register-benefit-head strong {
      display: block;
      margin: 0;
    }








    .register-benefit-head small {
      color: rgba(255,255,255,.62);
      font-size: .65rem;
    }








    .register-benefit-head h3 {
      margin-top: 2px;
      color: #fff;
      font-size: 1.02rem;
    }








    .register-benefit-head strong {
      margin-top: 2px;
      color: #ffd84c;
      font-size: 1.2rem;
    }








    .register-benefit-panel > p {
      margin: 0;
      color: rgba(255,255,255,.72);
      font-size: .73rem;
      line-height: 1.65;
    }








    .register-benefit-list {
      display: none;
      gap: 9px;
    }








    .register-benefit-list.active {
      display: grid;
    }








    .register-benefit-list > div {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: .72rem;
      line-height: 1.45;
    }








    .register-benefit-list i {
      width: 19px;
      height: 19px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 50%;
      color: #087c77;
      background: #dffaf5;
      font-size: .56rem;
    }








    .register-benefit-list .limited {
      color: rgba(255,255,255,.52);
    }








    .register-benefit-list .limited i {
      color: #7e879b;
      background: rgba(255,255,255,.13);
    }








    .register-benefit-note {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      padding: 10px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 11px;
      color: rgba(255,255,255,.65);
      background: rgba(255,255,255,.06);
      font-size: .65rem;
      line-height: 1.45;
    }








    .register-benefit-note i {
      margin-top: 2px;
      color: #68eae6;
    }








    .register-form-panel {
      padding: 2px;
    }








    /* =======================================================
       V12 FOOTER ADMIN
       ======================================================= */
    .footer-utility-actions {
      display: flex;
      align-items: center;
      gap: 13px;
    }








    .footer-admin-button {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 10px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 9px;
      color: #a9b9d8;
      background: rgba(255,255,255,.04);
      font-family: inherit;
      font-size: .66rem;
      font-weight: 800;
      cursor: pointer;
      transition: .18s ease;
    }








    .footer-admin-button:hover {
      color: #fff;
      border-color: rgba(255,255,255,.3);
      background: rgba(255,255,255,.09);
      transform: translateY(-1px);
    }








    @media (max-width: 900px) {
      .register-experience-layout {
        grid-template-columns: 1fr;
      }








      .register-benefit-panel {
        position: relative;
      }
    }








    @media (max-width: 760px) {
      .top-login-button span,
      .top-register-button span {
        display: none;
      }








      .top-login-button,
      .top-register-button {
        width: 38px;
        height: 38px;
        padding: 0 !important;
      }








      .footer-utility-actions {
        align-items: flex-start;
        flex-direction: column;
      }
    }








    @media (max-width: 560px) {
      .hero-atom.atom-one {
        right: -25px;
      }








      .hero-atom.atom-two {
        display: none;
      }








      .register-benefit-panel {
        padding: 15px;
      }
    }








    @media (prefers-reduced-motion: reduce) {
      .hero-atom,
      .atom-electron,
      .hero-particle {
        animation: none !important;
      }
    }








  
    /* =======================================================
       V13 REGISTER PANEL: ไม่ให้การ์ดสิทธิประโยชน์ติดขอบบน
       ======================================================= */
    .register-benefit-panel {
      position: relative !important;
      top: auto !important;
      align-self: start;
    }








    /* =======================================================
       V13 HERO STAR FIELD
       ใช้เฉพาะ CSS transform / opacity ไม่เรียก Server เพิ่ม
       ======================================================= */
    .hero-atom-field::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .52;
      background:
        radial-gradient(circle at 8% 18%, rgba(255,255,255,.95) 0 1px, transparent 1.8px),
        radial-gradient(circle at 18% 72%, rgba(104,234,230,.95) 0 1.2px, transparent 2px),
        radial-gradient(circle at 28% 31%, rgba(255,216,76,.92) 0 1px, transparent 1.8px),
        radial-gradient(circle at 39% 83%, rgba(255,255,255,.85) 0 1.2px, transparent 2px),
        radial-gradient(circle at 52% 14%, rgba(104,234,230,.9) 0 1px, transparent 1.9px),
        radial-gradient(circle at 63% 64%, rgba(255,216,76,.92) 0 1.3px, transparent 2.1px),
        radial-gradient(circle at 73% 29%, rgba(255,255,255,.92) 0 1px, transparent 1.8px),
        radial-gradient(circle at 86% 78%, rgba(104,234,230,.9) 0 1.2px, transparent 2px),
        radial-gradient(circle at 93% 12%, rgba(255,216,76,.92) 0 1px, transparent 1.9px);
      animation: heroStarFieldPulse 4.2s ease-in-out infinite alternate;
      pointer-events: none;
    }








    .hero-atom-field::after {
      content: "";
      position: absolute;
      inset: -12%;
      opacity: .22;
      background:
        radial-gradient(circle at 32% 40%, rgba(104,234,230,.34), transparent 8%),
        radial-gradient(circle at 68% 62%, rgba(239,53,108,.24), transparent 9%),
        radial-gradient(circle at 82% 18%, rgba(255,216,76,.24), transparent 7%);
      animation: heroGlowDrift 8s ease-in-out infinite alternate;
      pointer-events: none;
    }








    .hero-sparkle {
      position: absolute;
      z-index: 2;
      width: 10px;
      height: 10px;
      opacity: .35;
      animation: heroSparkleTwinkle 2.8s ease-in-out infinite;
      pointer-events: none;
    }








    .hero-sparkle::before,
    .hero-sparkle::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      border-radius: 999px;
      background: rgba(255,255,255,.95);
      box-shadow: 0 0 9px rgba(255,255,255,.75);
      transform: translate(-50%, -50%);
    }








    .hero-sparkle::before {
      width: 2px;
      height: 100%;
    }








    .hero-sparkle::after {
      width: 100%;
      height: 2px;
    }








    .sparkle-one   { top: 11%; left: 16%; animation-delay: -.4s; }
    .sparkle-two   { top: 24%; left: 47%; animation-delay: -1.5s; transform: scale(.65); }
    .sparkle-three { top: 18%; right: 13%; animation-delay: -2.2s; transform: scale(1.2); }
    .sparkle-four  { top: 56%; left: 10%; animation-delay: -.9s; transform: scale(.8); }
    .sparkle-five  { top: 71%; left: 57%; animation-delay: -1.9s; }
    .sparkle-six   { top: 80%; right: 12%; animation-delay: -2.6s; transform: scale(.72); }
    .sparkle-seven { top: 42%; right: 29%; animation-delay: -3.1s; transform: scale(.58); }
    .sparkle-eight { top: 88%; left: 31%; animation-delay: -1.2s; transform: scale(.65); }








    @keyframes heroSparkleTwinkle {
      0%, 100% {
        opacity: .18;
        filter: blur(.15px);
      }
      48% {
        opacity: 1;
        filter: blur(0);
      }
      58% {
        opacity: .45;
      }
    }








    @keyframes heroStarFieldPulse {
      from {
        opacity: .32;
        transform: translate3d(0, 0, 0) scale(1);
      }
      to {
        opacity: .72;
        transform: translate3d(5px, -3px, 0) scale(1.015);
      }
    }








    @keyframes heroGlowDrift {
      from {
        transform: translate3d(-1%, 1%, 0) rotate(-1deg);
      }
      to {
        transform: translate3d(2%, -2%, 0) rotate(2deg);
      }
    }








    /* =======================================================
       V13 GLOBAL MODAL SCROLL LOCK
       ======================================================= */
    body.page-modal-locked {
      position: fixed;
      left: 0;
      right: 0;
      width: 100%;
      overflow: hidden !important;
      touch-action: none;
    }








    dialog,
    .loader {
      overscroll-behavior: contain;
    }








    dialog[open] {
      overscroll-behavior-y: contain;
    }








    .member-modal,
    .small-member-dialog,
    .status-dialog,
    .member-action-dialog{
      overscroll-behavior: contain;
    }








    /* =======================================================
       V13 LOGIN — แนวตั้ง โลโก้กึ่งกลาง ไม่มีชื่อระบบบนหัว
       ======================================================= */
    .member-modal.login-mode {
      width: min(470px, calc(100% - 28px));
      max-width: 470px;
      max-height: calc(100vh - 28px);
      border-radius: 28px;
    }








    .member-modal.login-mode .member-modal-accent {
      height: 5px;
    }








    .member-modal.login-mode .member-modal-head {
      position: relative;
      top: auto;
      z-index: 3;
      justify-content: center;
      min-height: 112px;
      padding: 24px 20px 8px;
      border-bottom: 0;
    }








    .member-modal.login-mode .member-modal-brand {
      justify-content: center;
    }








    .member-modal.login-mode .member-modal-brand > div {
      display: none;
    }








    .member-modal.login-mode .member-modal-brand img {
      width: 76px;
      height: 76px;
      padding: 7px;
      border-radius: 21px;
      box-shadow:
        0 13px 30px rgba(16,42,114,.16),
        0 0 0 7px rgba(36,87,197,.055);
    }








    .member-modal.login-mode .member-close-btn {
      position: absolute;
      top: 17px;
      right: 17px;
    }








    .member-modal.login-mode .member-modal-body {
      padding: 6px 34px 30px;
    }








    .member-modal.login-mode .member-welcome {
      display: block;
      margin: 0 0 25px;
      padding: 0;
      border: 0;
      background: transparent;
      text-align: center;
    }








    .member-modal.login-mode .member-welcome-icon {
      display: none;
    }








    .member-modal.login-mode .member-welcome h3 {
      margin: 0;
      color: #102a72;
      font-size: 1.65rem;
      line-height: 1.22;
    }








    .member-modal.login-mode .member-welcome p {
      max-width: 340px;
      margin: 7px auto 0;
      color: #7d879b;
      font-size: .8rem;
      line-height: 1.55;
    }








    .member-modal.login-mode #loginTab {
      width: 100%;
    }








    .member-modal.login-mode #loginTab .member-form {
      gap: 15px;
    }








    .member-modal.login-mode #loginTab .member-field label {
      margin-bottom: 7px;
      color: #4f5b72;
      font-size: .76rem;
    }








    .member-modal.login-mode #loginTab input {
      min-height: 51px;
      border-radius: 13px;
      background: #fff;
      box-shadow: 0 7px 18px rgba(16,42,114,.045);
    }








    .member-modal.login-mode #loginTab input:focus {
      box-shadow:
        0 0 0 4px rgba(36,87,197,.11),
        0 9px 22px rgba(16,42,114,.075);
    }








    .member-modal.login-mode .password-eye-btn {
      width: 40px;
      height: 40px;
      right: 6px;
      border-radius: 10px;
    }








    .member-modal.login-mode .member-submit-btn {
      min-height: 49px;
      margin-top: 2px;
      border-radius: 12px;
      font-size: .82rem;
      box-shadow: 0 13px 28px rgba(16,42,114,.2);
    }








    .member-modal.login-mode .forgot-password-button {
      min-height: 34px;
      margin-top: -4px;
    }








    .member-modal.login-mode .member-form-switch {
      margin-top: 0;
      padding: 13px 0 0;
      border-top: 1px solid #edf0f5;
    }








    @media (max-width: 600px) {
      .member-modal.login-mode .member-modal-body {
        padding: 5px 20px 25px;
      }








      .member-modal.login-mode .member-modal-head {
        min-height: 100px;
        padding-top: 20px;
      }








      .member-modal.login-mode .member-modal-brand img {
        width: 67px;
        height: 67px;
      }
    }








    @media (prefers-reduced-motion: reduce) {
      .hero-atom-field::before,
      .hero-atom-field::after,
      .hero-sparkle {
        animation: none !important;
      }
    }








  
    /* =======================================================
       V14 REGISTER MODAL LAYOUT
       ฝั่งซ้ายอยู่กับที่ ฝั่งขวาเลื่อนได้แยกกัน
       ======================================================= */








    .member-modal.register-mode {
      width: min(1120px, calc(100% - 30px));
      max-width: 1120px;
      max-height: calc(100vh - 28px);
      overflow: hidden !important;
      border-radius: 28px;
    }








    .member-modal.register-mode .member-modal-accent {
      height: 5px;
    }








    /* หัวหน้าสมัครรูปแบบเดียวกับหน้าเข้าสู่ระบบ */
    .member-modal.register-mode .member-modal-head {
      position: relative;
      top: auto;
      z-index: 8;
      justify-content: center;
      min-height: 104px;
      padding: 20px 20px 8px;
      border-bottom: 0;
      background: #fff;
    }








    .member-modal.register-mode .member-modal-brand {
      justify-content: center;
    }








    .member-modal.register-mode .member-modal-brand > div {
      display: none;
    }








    .member-modal.register-mode .member-modal-brand img {
      width: 70px;
      height: 70px;
      padding: 7px;
      border-radius: 20px;
      background: #fff;
      box-shadow:
        0 13px 30px rgba(16,42,114,.16),
        0 0 0 7px rgba(36,87,197,.055);
    }








    .member-modal.register-mode .member-close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
    }








    /*
      ตัว dialog ไม่เลื่อน
      เนื้อหาฝั่งขวาเป็นพื้นที่เลื่อนเพียงส่วนเดียว
    */
    .member-modal.register-mode .member-modal-body {
      height: calc(100vh - 137px);
      max-height: calc(100vh - 137px);
      overflow: hidden !important;
      padding: 8px 18px 18px;
    }








    .member-modal.register-mode #memberGuestPanel {
      height: 100%;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }








    .member-modal.register-mode .member-welcome {
      flex: 0 0 auto;
      display: block;
      margin: 0 0 12px;
      padding: 0;
      border: 0;
      background: transparent;
      text-align: center;
    }








    .member-modal.register-mode .member-welcome-icon {
      display: none;
    }








    .member-modal.register-mode .member-welcome h3 {
      margin: 0;
      color: #102a72;
      font-size: 1.45rem;
      line-height: 1.22;
    }








    .member-modal.register-mode .member-welcome p {
      max-width: 500px;
      margin: 6px auto 0;
      color: #7d879b;
      font-size: .76rem;
      line-height: 1.55;
    }








    .member-modal.register-mode #registerTab {
      flex: 1 1 auto;
      min-height: 0;
      overflow: hidden;
    }








    .member-modal.register-mode .register-experience-layout {
      height: 100%;
      min-height: 0;
      display: grid;
      grid-template-columns: 290px minmax(0, 1fr);
      gap: 15px;
      align-items: stretch;
      overflow: hidden;
    }








    /*
      การ์ดสิทธิประโยชน์ไม่เลื่อนตามฟอร์ม
      เพราะไม่ได้อยู่ในพื้นที่ scroll ของฝั่งขวา
    */
    .member-modal.register-mode .register-benefit-panel {
      position: relative !important;
      top: auto !important;
      align-self: start;
      max-height: 100%;
      overflow: auto;
      overscroll-behavior: contain;
      scrollbar-width: thin;
    }








    /*
      เลื่อนเฉพาะฟอร์มด้านขวา
    */
    .member-modal.register-mode .register-form-panel {
      min-width: 0;
      min-height: 0;
      height: 100%;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      padding: 2px 10px 24px 2px;
      scrollbar-width: thin;
      scrollbar-color: #b8c3d8 transparent;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar,
    .member-modal.register-mode .register-benefit-panel::-webkit-scrollbar {
      width: 7px;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar-thumb,
    .member-modal.register-mode .register-benefit-panel::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: #b8c3d8;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar-track,
    .member-modal.register-mode .register-benefit-panel::-webkit-scrollbar-track {
      background: transparent;
    }








    /*
      กันล้อเมาส์จากฝั่งขวาไหลไปเลื่อนหน้าหลัง
    */
    .member-modal.register-mode,
    .member-modal.register-mode .register-experience-layout,
    .member-modal.register-mode .register-form-panel {
      overscroll-behavior: contain;
    }








    @media (max-width: 900px) {
      .member-modal.register-mode {
        overflow-y: auto !important;
      }








      .member-modal.register-mode .member-modal-body {
        height: auto;
        max-height: none;
        overflow: visible !important;
      }








      .member-modal.register-mode #memberGuestPanel,
      .member-modal.register-mode #registerTab,
      .member-modal.register-mode .register-experience-layout {
        height: auto;
        overflow: visible;
      }








      .member-modal.register-mode .register-experience-layout {
        grid-template-columns: 1fr;
      }








      .member-modal.register-mode .register-benefit-panel {
        max-height: none;
        overflow: visible;
      }








      .member-modal.register-mode .register-form-panel {
        height: auto;
        overflow: visible;
        padding-right: 2px;
      }
    }








    @media (max-width: 600px) {
      .member-modal.register-mode .member-modal-head {
        min-height: 96px;
        padding-top: 18px;
      }








      .member-modal.register-mode .member-modal-brand img {
        width: 64px;
        height: 64px;
      }








      .member-modal.register-mode .member-modal-body {
        padding-left: 12px;
        padding-right: 12px;
      }
    }








  
    /* =======================================================
       V15 REGISTER — ฝั่งขวาเลื่อนได้จริง
       ======================================================= */








    .member-modal.register-mode[open] {
      width: min(1120px, calc(100% - 30px));
      max-width: 1120px;
      height: min(900px, calc(100dvh - 24px));
      max-height: calc(100dvh - 24px);
      display: flex;
      flex-direction: column;
      overflow: hidden !important;
    }








    .member-modal.register-mode .member-modal-head {
      flex: 0 0 auto;
    }








    .member-modal.register-mode .member-modal-body {
      flex: 1 1 auto;
      width: 100%;
      height: auto !important;
      max-height: none !important;
      min-height: 0;
      overflow: hidden !important;
      display: flex;
      flex-direction: column;
    }








    .member-modal.register-mode #memberGuestPanel {
      flex: 1 1 auto;
      height: auto !important;
      min-height: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }








    .member-modal.register-mode .member-welcome {
      flex: 0 0 auto;
    }








    .member-modal.register-mode #registerTab.tab-panel.active {
      flex: 1 1 auto;
      height: auto !important;
      min-height: 0;
      overflow: hidden;
      display: block;
    }








    .member-modal.register-mode .register-experience-layout {
      width: 100%;
      height: 100% !important;
      min-height: 0;
      display: grid;
      grid-template-columns: 290px minmax(0, 1fr);
      align-items: stretch;
      overflow: hidden;
    }








    /* ฝั่งซ้ายอยู่ตำแหน่งเดิม ไม่เลื่อนตามช่องกรอก */
    .member-modal.register-mode .register-benefit-panel {
      position: relative !important;
      top: auto !important;
      align-self: start;
      height: fit-content;
      max-height: 100%;
      overflow-y: auto;
      overscroll-behavior: contain;
    }








    /* ฝั่งขวาเป็นพื้นที่ Scroll หลัก */
    .member-modal.register-mode .register-form-panel {
      display: grid;
      min-width: 0;
      min-height: 0;
      height: 100% !important;
      max-height: 100% !important;
      overflow-y: scroll !important;
      overflow-x: hidden !important;
      overscroll-behavior-y: contain;
      scrollbar-gutter: stable;
      padding: 2px 14px 50px 2px;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar {
      width: 9px;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar-track {
      border-radius: 999px;
      background: #eef2f7;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar-thumb {
      border: 2px solid #eef2f7;
      border-radius: 999px;
      background: #9cabc3;
    }








    .member-modal.register-mode .register-form-panel::-webkit-scrollbar-thumb:hover {
      background: #7486a5;
    }








    /*
      ป้องกัน CSS เดิมช่วงหน้าจอกว้างปานกลาง
      ที่เคยเปลี่ยนฟอร์มกลับเป็น overflow: visible
    */
    @media (min-width: 901px) {
      .member-modal.register-mode,
      .member-modal.register-mode .member-modal-body,
      .member-modal.register-mode #memberGuestPanel,
      .member-modal.register-mode #registerTab,
      .member-modal.register-mode .register-experience-layout {
        overflow: hidden !important;
      }








      .member-modal.register-mode .register-form-panel {
        overflow-y: scroll !important;
      }
    }








    /* Tablet/Mobile: เรียงลงมาและเลื่อนทั้งหน้าต่างตามปกติ */
    @media (max-width: 900px) {
      .member-modal.register-mode[open] {
        height: auto;
        max-height: calc(100dvh - 18px);
        display: block;
        overflow-y: auto !important;
      }








      .member-modal.register-mode .member-modal-body,
      .member-modal.register-mode #memberGuestPanel,
      .member-modal.register-mode #registerTab.tab-panel.active,
      .member-modal.register-mode .register-experience-layout {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        display: block;
      }








      .member-modal.register-mode .register-experience-layout {
        display: grid;
        grid-template-columns: 1fr;
      }








      .member-modal.register-mode .register-benefit-panel,
      .member-modal.register-mode .register-form-panel {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
      }








      .member-modal.register-mode .register-form-panel {
        padding: 2px 2px 30px;
      }
    }








    /* =======================================================
       V15 DETAIL PAGE — ภาพด้านบน รายละเอียดด้านล่าง
       ======================================================= */








    #detailView .container {
      max-width: 1180px;
    }








    #detailView .detail-card {
      overflow: hidden;
    }








    #detailView .detail-hero {
      display: flex !important;
      flex-direction: column;
      grid-template-columns: none !important;
      min-height: 0;
    }








    #detailView .detail-image {
      width: 100%;
      min-height: 0 !important;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #e8eef7;
      border-bottom: 1px solid #e1e7f0;
    }








    #detailView .detail-image img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      transition: transform .55s ease;
    }








    #detailView .detail-card:hover .detail-image img {
      transform: scale(1.018);
    }








    #detailView .detail-image .cover-placeholder {
      width: 100%;
      height: 100%;
      min-height: 360px;
    }








    #detailView .detail-content {
      width: 100%;
      padding: 30px 36px 34px;
      display: block;
    }








    #detailView .detail-content h1 {
      max-width: 900px;
      margin: 13px 0 10px;
      font-size: clamp(1.75rem, 4vw, 2.65rem);
    }








    #detailView .detail-content p {
      max-width: 980px;
      margin: 19px 0 0;
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.9;
      white-space: pre-line;
    }








    #detailView .detail-toolbar {
      margin-top: 25px;
    }








    @media (max-width: 700px) {
      #detailView .detail-image {
        aspect-ratio: 16 / 10;
      }








      #detailView .detail-content {
        padding: 22px 20px 26px;
      }








      #detailView .detail-image .cover-placeholder {
        min-height: 230px;
      }
    }








  
    /* =======================================================
       V16 REGISTER FORM SCROLL
       ======================================================= */
    .member-modal.register-mode[open] {
      height: calc(100dvh - 20px);
      max-height: calc(100dvh - 20px);
      display: flex;
      flex-direction: column;
      overflow: hidden !important;
    }
    .member-modal.register-mode .member-modal-head { flex: 0 0 auto; }
    .member-modal.register-mode .member-modal-body {
      flex: 1 1 auto;
      min-height: 0;
      height: auto !important;
      max-height: none !important;
      overflow: hidden !important;
    }
    .member-modal.register-mode #memberGuestPanel {
      height: 100%; min-height: 0; overflow: hidden;
      display: flex; flex-direction: column;
    }
    .member-modal.register-mode .member-welcome { flex: 0 0 auto; }
    .member-modal.register-mode #registerTab.tab-panel.active {
      flex: 1 1 auto; min-height: 0; height: 100%; overflow: hidden; display: block;
    }
    .member-modal.register-mode .register-experience-layout {
      height: 100%; min-height: 0; overflow: hidden;
      display: grid; grid-template-columns: 290px minmax(0, 1fr);
      gap: 16px; align-items: start;
    }
    .member-modal.register-mode .register-benefit-panel {
      position: relative !important; top: auto !important; align-self: start;
      height: auto; max-height: calc(100dvh - 185px); overflow: hidden;
    }
    .member-modal.register-mode .register-form-scroll {
      min-width: 0; min-height: 300px;
      height: calc(100dvh - 185px); max-height: calc(100dvh - 185px);
      overflow-y: auto !important; overflow-x: hidden !important;
      overscroll-behavior: contain; touch-action: pan-y;
      scrollbar-gutter: stable; padding: 0 13px 65px 0;
      scrollbar-width: auto; scrollbar-color: #7083a5 #e9eef6;
    }
    .member-modal.register-mode .register-form-panel {
      display: grid; min-width: 0; min-height: max-content;
      height: auto !important; max-height: none !important;
      overflow: visible !important; padding: 0;
    }
    .member-modal.register-mode .register-form-scroll::-webkit-scrollbar { width: 12px; }
    .member-modal.register-mode .register-form-scroll::-webkit-scrollbar-track { border-radius: 999px; background: #e9eef6; }
    .member-modal.register-mode .register-form-scroll::-webkit-scrollbar-thumb {
      min-height: 80px; border: 3px solid #e9eef6; border-radius: 999px; background: #7083a5;
    }
    .member-modal.register-mode .register-form-scroll::-webkit-scrollbar-thumb:hover { background: #52698f; }
    .member-modal.register-mode .member-register-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 13px;
    }
    .member-modal.register-mode .password-rules.full { margin-top: -3px; }
    @media (max-width: 900px) {
      .member-modal.register-mode[open] { height: auto; max-height: calc(100dvh - 16px); display: block; overflow-y: auto !important; }
      .member-modal.register-mode .member-modal-body,
      .member-modal.register-mode #memberGuestPanel,
      .member-modal.register-mode #registerTab.tab-panel.active,
      .member-modal.register-mode .register-experience-layout {
        height: auto !important; max-height: none !important; overflow: visible !important; display: block;
      }
      .member-modal.register-mode .register-experience-layout { display: grid; grid-template-columns: 1fr; }
      .member-modal.register-mode .register-benefit-panel { max-height: none; overflow: visible; }
      .member-modal.register-mode .register-form-scroll {
        min-height: 0; height: auto !important; max-height: none !important;
        overflow: visible !important; padding: 0 0 35px;
      }
    }
    @media (max-width: 620px) {
      .member-modal.register-mode .member-register-grid { grid-template-columns: 1fr; }
    }








  
    /* V17: ช่อง "อื่น ๆ" และช่องรหัสผ่านขนาดเท่ากัน */
    .register-honeypot {
      position: fixed !important;
      left: -10000px !important;
      top: auto !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }








    .register-other-field {
      margin-top: 9px;
      animation: registerOtherFieldIn .18s ease;
    }








    .register-other-field[hidden] {
      display: none !important;
    }








    .register-other-field input {
      width: 100%;
      min-height: 44px;
      border-color: #9fb7de;
      background: #f8fbff;
    }








    @keyframes registerOtherFieldIn {
      from {
        opacity: 0;
        transform: translateY(-5px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }








    .member-modal.register-mode .register-password-wrap {
      position: relative;
      width: 100%;
      height: 46px;
      min-height: 46px;
    }








    .member-modal.register-mode .register-password-wrap input {
      display: block;
      width: 100%;
      height: 46px !important;
      min-height: 46px !important;
      padding: 9px 50px 9px 11px !important;
      box-sizing: border-box;
    }








    .member-modal.register-mode
    .register-password-wrap .password-eye-btn {
      top: 5px;
      right: 5px;
      width: 38px;
      height: 36px;
      transform: none;
    }








    .member-modal.register-mode
    .register-password-field .password-match-message {
      width: 100%;
      min-height: 18px;
      margin-top: 5px;
      line-height: 18px;
    }








    .member-modal.register-mode .password-helper-spacer {
      visibility: hidden;
    }








  
    /* =======================================================
       V18 VIP PRICE EMPHASIS
       ======================================================= */
    .pricing-card.vip .pricing-vip-price {
      align-items: flex-end;
      gap: 10px;
    }








    .pricing-card.vip .pricing-vip-price strong {
      display: inline-flex;
      align-items: flex-end;
      gap: 9px;
      line-height: .9;
    }








    .pricing-card.vip .pricing-vip-number {
      display: inline-block;
      color: #ffd84c;
      font-size: clamp(3.75rem, 6vw, 5.4rem);
      font-weight: 950;
      letter-spacing: -4px;
      line-height: .8;
      text-shadow: 0 8px 25px rgba(255,216,76,.18);
    }








    .pricing-card.vip .pricing-vip-currency {
      padding-bottom: 7px;
      color: #fff;
      font-size: 1.25rem;
      font-weight: 900;
      letter-spacing: 0;
    }








    
    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    @media (max-width: 600px) {
      .pricing-card.vip .pricing-vip-number {
        font-size: 3.8rem;
      }








      .pricing-card.vip .pricing-vip-currency {
        padding-bottom: 5px;
        font-size: 1.05rem;
      }
    }








  
    /* =======================================================
       V21 WIDER PUBLIC LAYOUT
       ======================================================= */








    /*
      เดิม 1180px
      ขยายเป็น 1280px เพื่อให้หน้า Hero รายการระบบ
      รายละเอียด และค่าบริการใช้พื้นที่จอได้มากขึ้น
    */
    .container {
      width: min(1280px, calc(100% - 32px)) !important;
    }








    #detailView .container {
      max-width: 1280px !important;
    }








    /*
      ส่วนค่าบริการขยายตามระบบ
      แต่ยังไม่กว้างจนข้อความกระจายเกินไป
    */
    .pricing-grid {
      max-width: 1000px !important;
    }








    /* =======================================================
       V21 VIP PRICE — เท่าคำว่า "ฟรี"
       ======================================================= */








    .pricing-card.vip .pricing-vip-price {
      align-items: baseline;
      gap: 9px;
    }








    .pricing-card.vip .pricing-vip-price strong {
      display: inline-flex;
      align-items: baseline;
      gap: 7px;
      line-height: 1;
    }








    .pricing-card.vip .pricing-vip-number {
      color: #ffd84c;
      font-size: 2rem !important;
      font-weight: 900;
      letter-spacing: 0;
      line-height: 1;
      text-shadow: none;
    }








    .pricing-card.vip .pricing-vip-currency {
      padding-bottom: 0;
      color: #fff;
      font-size: .9rem;
      font-weight: 800;
      line-height: 1;
    }








    @media (max-width: 1300px) {
      .container {
        width: min(100% - 28px, 1240px) !important;
      }
    }








    @media (max-width: 760px) {
      .container {
        width: min(100% - 22px, 1280px) !important;
      }








      .pricing-card.vip .pricing-vip-number {
        font-size: 2rem !important;
      }








      .pricing-card.vip .pricing-vip-currency {
        font-size: .86rem;
      }
    }








  
    /* =======================================================
       VIP MEMBERSHIP PROMO
       ======================================================= */
    .vip-membership-promo {
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin: 0 0 10px;
      padding: 8px 10px;
      border: 1px solid rgba(255,216,76,.40);
      border-radius: 12px;
      background: rgba(255,255,255,.10);
      color: #fff;
    }
    .vip-membership-promo.show { display: flex; }
    .vip-membership-promo .promo-name {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #ffe36e;
      font-size: .88rem;
      font-weight: 950;
      letter-spacing: .01em;
      text-shadow: 0 1px 0 rgba(0,0,0,.08);
    }
    .vip-membership-promo .promo-price-line {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(0,0,0,.12);
      color: #fff;
      font-size: .80rem;
      font-weight: 900;
    }
    .vip-membership-promo del {
      color: rgba(255,255,255,.64);
      text-decoration-color: #ff6c89;
      text-decoration-thickness: 2px;
    }
    .vip-membership-promo .promo-percent {
      padding: 3px 7px;
      border-radius: 999px;
      color: #8b4f00;
      background: #ffd84c;
      font-size: .68rem;
      font-weight: 950;
    }
    .vip-plan-promo-meta,
    .vip-signup-promo-meta,
    .request-vip-promo-label {
      display: none !important;
      margin-top: 4px;
      color: #c32f5c !important;
      font-size: .68rem !important;
      font-weight: 800;
    }
    .vip-plan-promo-meta.show,
    .vip-signup-promo-meta.show,
    .request-vip-promo-label.show { display: block !important; }
    .register-benefit-promo-inline {
      display: block;
      margin-top: 5px;
      color: #9a6a00;
      font-size: .68rem;
      font-weight: 800;
      line-height: 1.45;
    }
    .register-benefit-promo-inline s {
      color: #8c94a4;
      text-decoration-color: #ef356c;
      text-decoration-thickness: 2px;
    }
    .vip-plan-promo-meta del,
    .vip-signup-promo-meta del,
    .request-vip-promo-label del {
      color: #939bab;
      text-decoration-color: #ef356c;
      text-decoration-thickness: 2px;
    }
    @media (max-width: 620px) {
      .vip-membership-promo { align-items: flex-start; flex-direction: column; }
    }

    /* =======================================================
       V22 CATEGORY + PLATFORM FILTER
       ======================================================= */








    .catalog-filter-stack {
      display: grid;
      gap: 10px;
      margin-bottom: 24px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255,255,255,.72);
    }








    .catalog-filter-row {
      display: grid;
      grid-template-columns: 120px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
    }








    .catalog-filter-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--navy);
      font-size: .78rem;
      font-weight: 800;
    }








    .catalog-filter-label i {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      color: var(--teal);
      background: rgba(15,139,141,.09);
    }








    .catalog-filter-row .chips {
      margin: 0;
    }








    .platform-chip.active {
      background: #0f8b8d;
      border-color: #0f8b8d;
    }








    .badge-platform {
      gap: 5px;
      border: 1px solid transparent;
      font-weight: 850;
    }








    .badge-platform.gas {
      color: #075c82;
      border-color: #c8eafa;
      background: #e9f8ff;
    }








    .badge-platform.canva {
      color: #7132a3;
      border-color: #e1caf6;
      background: #f5eaff;
    }








    








    








    








    @media (max-width: 700px) {
      .catalog-filter-row {
        grid-template-columns: 1fr;
        gap: 8px;
      }








      .catalog-filter-label {
        margin-bottom: 1px;
      }
    }








  
    
    








    








    








    








    








    








    








    








    








    








    








    








    








    








    




    




    




    




    








    








    








    








    








    








    /* =======================================================
       V23 PUBLIC SYSTEM GALLERY
       ======================================================= */
    .system-gallery-section {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }








    .system-gallery-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 14px;
    }








    .system-gallery-heading small {
      color: var(--teal);
      font-size: .68rem;
      font-weight: 800;
    }








    .system-gallery-heading h2 {
      margin: 3px 0 0;
      color: var(--navy);
      font-size: 1.15rem;
    }








    .system-gallery-heading > span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 10px;
      border-radius: 999px;
      color: #53647c;
      background: #f1f4f9;
      font-size: .7rem;
      font-weight: 800;
    }








    .system-gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 13px;
    }








    .system-gallery-item {
      position: relative;
      overflow: hidden;
      padding: 0;
      aspect-ratio: 16 / 10;
      border: 1px solid #dce4ef;
      border-radius: 14px;
      background: #e9eef6;
      cursor: zoom-in;
      box-shadow: 0 10px 25px rgba(16,42,114,.07);
    }








    .system-gallery-item img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      transition: transform .28s ease;
    }








    .system-gallery-item:hover img {
      transform: scale(1.045);
    }








    .system-gallery-zoom {
      position: absolute;
      right: 9px;
      bottom: 9px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: #fff;
      background: rgba(7,19,47,.72);
      backdrop-filter: blur(6px);
    }








    /* =======================================================
       V23 LIGHTBOX
       ======================================================= */
    .system-gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 2147483700;
      display: none;
      place-items: center;
      padding: 22px;
    }








    .system-gallery-lightbox.show {
      display: grid;
    }








    .system-gallery-lightbox-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(3,10,28,.88);
      backdrop-filter: blur(10px);
    }








    .system-gallery-lightbox-card {
      position: relative;
      z-index: 2;
      width: min(1180px, 100%);
      max-height: calc(100vh - 44px);
      display: grid;
      place-items: center;
    }








    .system-gallery-lightbox-image-wrap {
      position: relative;
      overflow: hidden;
      max-width: 100%;
      max-height: calc(100vh - 80px);
      border-radius: 16px;
      background: #091631;
      box-shadow: 0 35px 100px rgba(0,0,0,.5);
    }








    .system-gallery-lightbox-image-wrap img {
      max-width: 100%;
      max-height: calc(100vh - 80px);
      display: block;
      object-fit: contain;
    }








    .system-gallery-lightbox-close,
    .system-gallery-lightbox-nav {
      position: absolute;
      z-index: 4;
      display: grid;
      place-items: center;
      border: 0;
      color: #fff;
      background: rgba(255,255,255,.14);
      backdrop-filter: blur(8px);
      cursor: pointer;
    }








    .system-gallery-lightbox-close {
      top: 12px;
      right: 12px;
      width: 42px;
      height: 42px;
      border-radius: 12px;
    }








    .system-gallery-lightbox-nav {
      top: 50%;
      width: 46px;
      height: 58px;
      border-radius: 13px;
      transform: translateY(-50%);
    }








    .system-gallery-lightbox-nav.prev {
      left: 12px;
    }








    .system-gallery-lightbox-nav.next {
      right: 12px;
    }








    .system-gallery-lightbox-counter {
      position: absolute;
      left: 50%;
      bottom: 12px;
      z-index: 4;
      padding: 7px 11px;
      border-radius: 999px;
      color: #fff;
      background: rgba(7,19,47,.72);
      font-size: .72rem;
      font-weight: 800;
      transform: translateX(-50%);
    }








    body.gallery-lightbox-open {
      overflow: hidden !important;
    }








    /* =======================================================
       V23 CONTENT PROTECTION / WATERMARK
       ======================================================= */
    .protected-image {
      position: relative;
      user-select: none;
      -webkit-user-select: none;
    }








    .protected-image img {
      pointer-events: none;
      user-select: none;
      -webkit-user-select: none;
      -webkit-user-drag: none;
    }








    .protected-image::after {
      content: attr(data-watermark);
      position: absolute;
      right: 9px;
      bottom: 8px;
      z-index: 3;
      max-width: calc(100% - 18px);
      padding: 4px 7px;
      border-radius: 7px;
      color: rgba(255,255,255,.88);
      background: rgba(7,19,47,.45);
      font-size: .58rem;
      font-weight: 800;
      letter-spacing: .02em;
      pointer-events: none;
      backdrop-filter: blur(4px);
    }








    @media (max-width: 760px) {
      
      .system-gallery-grid {
        grid-template-columns: 1fr;
      }








      








      .system-gallery-lightbox {
        padding: 10px;
      }








      .system-gallery-lightbox-nav {
        width: 40px;
        height: 52px;
      }
    }








  
    
    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    








    /* =======================================================
       V24 PUBLIC SUPPLEMENTARY PACKAGE
       ======================================================= */
    .supplementary-package {
      margin-top: 26px;
      padding: 18px;
      border: 1px solid #dce5f1;
      border-radius: 16px;
      background: #f7f9fd;
    }








    .supplementary-package-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }








    .supplementary-package-heading small {
      color: var(--teal);
      font-size: .67rem;
      font-weight: 800;
    }








    .supplementary-package-heading h2 {
      margin: 3px 0 0;
      color: var(--navy);
      font-size: 1.05rem;
    }








    .supplementary-package-heading > span {
      padding: 6px 9px;
      border-radius: 999px;
      color: #53637c;
      background: #e9eef6;
      font-size: .68rem;
      font-weight: 800;
    }








    .supplementary-package-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
    }








    .supplementary-package-item {
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr) 24px;
      align-items: center;
      gap: 10px;
      padding: 11px;
      border: 1px solid #dce4ef;
      border-radius: 12px;
      background: #fff;
    }








    .supplementary-package-icon {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      color: #fff;
      background: #173f8a;
    }








    .supplementary-package-icon.slide {
      background: #f0a318;
    }








    .supplementary-package-icon.sheet {
      background: #13976a;
    }








    .supplementary-package-icon.doc {
      background: #2c67c7;
    }








    .supplementary-package-icon.pdf {
      background: #d74848;
    }








    .supplementary-package-icon.drive {
      background: #6b55c6;
    }








    .supplementary-package-item strong,
    .supplementary-package-item small {
      display: block;
    }








    .supplementary-package-item strong {
      color: #17366e;
      font-size: .75rem;
    }








    .supplementary-package-item small {
      margin-top: 3px;
      color: #7b879b;
      font-size: .64rem;
    }








    .supplementary-package-lock {
      color: #9ba6b8;
      font-size: .72rem;
    }








    .supplementary-package-note {
      margin: 12px 0 0 !important;
      color: #78859a !important;
      font-size: .68rem !important;
      line-height: 1.6 !important;
    }








    @media (max-width: 760px) {
      
      .supplementary-package-grid {
        grid-template-columns: 1fr;
      }
    }








  
    /* =======================================================
       V24 SCHOOL SIZE — SAFE ADDITION ONLY
       ======================================================= */








    








    








    








    








    








    .school-size-card-row {
      min-height: 27px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 5px;
      margin: -2px 0 10px;
    }








    .school-size-card-label {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-right: 1px;
      color: #7a879b;
      font-size: .62rem;
      font-weight: 750;
    }








    .badge-school-size {
      padding: 4px 7px;
      border: 1px solid transparent;
      font-size: .61rem;
    }








    .badge-school-size.small {
      color: #1567a0;
      border-color: #cce5f5;
      background: #eaf7ff;
    }








    .badge-school-size.medium {
      color: #087a75;
      border-color: #c6e9e6;
      background: #e8faf7;
    }








    .badge-school-size.large {
      color: #6441a2;
      border-color: #ddcff2;
      background: #f3ecff;
    }








    








  








    /* =======================================================
       FILTER LAYOUT — หมวดงานซ้าย / ประเภทระบบขวา
       ======================================================= */








    .catalog-filter-stack {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto !important;
      align-items: center !important;
      column-gap: 28px !important;
      row-gap: 10px !important;
    }








    .catalog-filter-row {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      min-width: 0 !important;
    }








    .catalog-filter-row:first-child {
      justify-content: flex-start !important;
    }








    .catalog-filter-row:last-child {
      justify-content: flex-end !important;
    }








    .catalog-filter-row .catalog-filter-label {
      flex: 0 0 auto !important;
      white-space: nowrap !important;
    }








    .catalog-filter-row .chips {
      display: flex !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
      min-width: 0 !important;
      margin: 0 !important;
    }








    .catalog-filter-row:last-child .chips {
      justify-content: flex-end !important;
    }








    @media (max-width: 850px) {
      .catalog-filter-stack {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }








      .catalog-filter-row,
      .catalog-filter-row:first-child,
      .catalog-filter-row:last-child {
        justify-content: flex-start !important;
      }








      .catalog-filter-row:last-child .chips {
        justify-content: flex-start !important;
      }
    }








    /* =======================================================
       COVER IMAGE EDITOR — URL / UPLOAD / CTRL+V
       ======================================================= */




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




    




      
    


    


    


    


    


    


    


    


    


    


    /* =======================================================
       V24S6 — สนใจทำระบบ / ติดตามงาน
       ======================================================= */


    .custom-work-shell {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #fff;
      box-shadow: var(--shadow);
    }


    .custom-work-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 24px;
      padding: 30px;
      color: #fff;
      background: #102a72;
    }


    .custom-work-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 10px;
      border-radius: 999px;
      color: #d9fffa;
      background: rgba(24,168,161,.24);
      font-size: .72rem;
      font-weight: 800;
    }


    .custom-work-hero h1 {
      margin: 10px 0 7px;
      font-size: clamp(1.65rem, 3vw, 2.4rem);
    }


    .custom-work-hero p {
      max-width: 700px;
      margin: 0;
      color: rgba(255,255,255,.76);
      line-height: 1.7;
    }


    .custom-queue-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(120px, 1fr));
      gap: 9px;
    }


    .custom-queue-stat {
      min-width: 130px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 14px;
      background: rgba(255,255,255,.09);
    }


    .custom-queue-stat > span {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 11px;
      background: rgba(255,255,255,.12);
    }


    .custom-queue-stat strong,
    .custom-queue-stat small {
      display: block;
    }


    .custom-queue-stat strong {
      font-size: 1.25rem;
      line-height: 1;
    }


    .custom-queue-stat small {
      margin-top: 4px;
      color: rgba(255,255,255,.68);
      font-size: .63rem;
      white-space: nowrap;
    }


    .custom-work-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      padding: 12px;
      border-bottom: 1px solid var(--line);
      background: #f6f8fc;
    }


    .custom-work-tabs button {
      min-height: 45px;
      border: 1px solid #d7e0ef;
      border-radius: 12px;
      color: #66748a;
      background: #fff;
      font-weight: 800;
      cursor: pointer;
    }


    .custom-work-tabs button.active {
      color: #fff;
      border-color: #18a8a1;
      background: #18a8a1;
      box-shadow: 0 7px 18px rgba(24,168,161,.18);
    }


    .custom-work-pane {
      display: none;
      padding: 22px;
      background: #f6f8fc;
    }


    .custom-work-pane.active {
      display: block;
    }


    .custom-form-section {
      margin-bottom: 16px;
      padding: 20px;
      border: 1px solid #e0e7f1;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 7px 20px rgba(16,42,114,.045);
    }


    .custom-form-section-head {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding-bottom: 13px;
      margin-bottom: 15px;
      border-bottom: 1px solid #edf1f6;
    }


    .custom-form-section-head > span {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 8px;
      color: #087c77;
      background: #dff8f3;
      font-size: .72rem;
      font-weight: 900;
    }


    .custom-form-section-head h3 {
      margin: 0;
      color: #102a72;
      font-size: 1rem;
    }


    .custom-form-section-head p {
      margin: 3px 0 0;
      color: #7b879a;
      font-size: .72rem;
    }


    .custom-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }


    #customDescription {
      min-height: 210px;
      line-height: 1.7;
      resize: vertical;
    }


    #customBudgetNote {
      min-height: 110px;
      line-height: 1.65;
      resize: vertical;
    }


    .custom-char-count {
      color: #8a95a7;
      font-size: .68rem;
    }


    .custom-file-drop {
      min-height: 130px;
      display: grid;
      place-items: center;
      align-content: center;
      gap: 6px;
      padding: 20px;
      border: 2px dashed #d2dbe8;
      border-radius: 15px;
      color: #68768b;
      background: #fbfcfe;
      cursor: pointer;
      text-align: center;
    }


    .custom-file-drop:hover {
      border-color: #18a8a1;
      background: #f0fffd;
    }


    .custom-file-drop input {
      display: none;
    }


    .custom-file-drop i {
      color: #18a8a1;
      font-size: 1.55rem;
    }


    .custom-file-drop strong,
    .custom-file-drop small {
      display: block;
    }


    .custom-file-drop small {
      color: #8b96a8;
      font-size: .68rem;
    }


    .custom-attachment-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 11px;
    }


    .custom-attachment-item {
      min-width: 0;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) 24px;
      align-items: center;
      gap: 9px;
      padding: 9px;
      border: 1px solid #e1e7f0;
      border-radius: 11px;
      background: #f9fbfd;
    }


    .custom-attachment-item > span {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      color: #102a72;
      background: #e9effb;
    }


    .custom-attachment-item strong,
    .custom-attachment-item small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }


    .custom-attachment-item strong {
      color: #25375e;
      font-size: .69rem;
    }


    .custom-attachment-item small {
      margin-top: 2px;
      color: #8994a6;
      font-size: .6rem;
    }


    .custom-attachment-item > b {
      width: 23px;
      height: 23px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: #087c77;
      background: #e1f8f4;
      font-size: .61rem;
    }


    .custom-work-submit-row {
      display: grid;
      justify-items: center;
      gap: 9px;
      padding: 4px 0 8px;
    }


    .custom-work-submit-row .btn {
      width: min(640px, 100%);
    }


    .custom-work-submit-row small {
      color: #8a95a7;
      font-size: .68rem;
      text-align: center;
    }


    .custom-track-layout {
      display: grid;
      grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
      gap: 18px;
      align-items: start;
    }


    .custom-track-form,
    .custom-track-result {
      padding: 22px;
      border: 1px solid #e0e7f1;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 7px 20px rgba(16,42,114,.045);
    }


    .custom-track-form h3 {
      margin: 8px 0 5px;
      color: #102a72;
    }


    .custom-track-form > p {
      margin: 0 0 16px;
      color: #78859a;
      font-size: .76rem;
      line-height: 1.6;
    }


    .custom-track-form .field {
      margin-bottom: 12px;
    }


    .custom-track-icon,
    .custom-track-success-icon {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      color: #fff;
      background: #102a72;
      font-size: 1.15rem;
    }


    .custom-track-result.empty-state {
      min-height: 310px;
      display: grid;
      place-items: center;
      align-content: center;
      gap: 7px;
      color: #8a95a8;
      text-align: center;
    }


    .custom-track-result.empty-state > i {
      margin-bottom: 5px;
      color: #c5cedb;
      font-size: 2.6rem;
    }


    .custom-track-result.submitted {
      display: grid;
      justify-items: center;
      align-content: center;
      min-height: 310px;
      text-align: center;
    }


    .custom-track-success-icon {
      color: #087c77;
      background: #e4faf6;
    }


    .custom-track-kicker {
      display: block;
      margin-top: 10px;
      color: #18a8a1;
      font-size: .68rem;
      font-weight: 850;
    }


    .custom-track-result h3 {
      margin: 5px 0;
      color: #102a72;
    }


    .custom-track-result p {
      margin: 0;
      color: #748197;
      line-height: 1.6;
    }


    .custom-track-request-code {
      margin: 15px 0 10px;
      padding: 9px 14px;
      border-radius: 999px;
      color: #102a72;
      background: #eaf0fb;
      font-size: 1.05rem;
      font-weight: 900;
      letter-spacing: .04em;
    }


    .custom-track-queue-note,
    .custom-track-position {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      margin-top: 8px;
      padding: 9px 11px;
      border-radius: 11px;
      color: #7a5b0a;
      background: #fff6d9;
      font-size: .72rem;
    }


    .custom-track-status-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 15px;
      border-bottom: 1px solid #edf1f6;
    }


    .custom-track-status-head h3 {
      margin: 3px 0 5px;
    }


    .custom-track-status-head p {
      font-size: .72rem;
    }


    .custom-track-status-badge {
      flex: 0 0 auto;
      padding: 7px 10px;
      border-radius: 999px;
      color: #087c77;
      background: #e5faf6;
      font-size: .66rem;
      font-weight: 850;
    }


    .custom-track-status-badge.cancelled,
    .custom-track-status-badge.rejected {
      color: #b3234d;
      background: #fff0f4;
    }


    .custom-track-progress {
      margin: 18px 0 14px;
    }


    .custom-track-progress-label {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 7px;
      color: #68768b;
      font-size: .68rem;
    }


    .custom-track-progress-bar {
      overflow: hidden;
      height: 10px;
      border-radius: 999px;
      background: #e9eef6;
    }


    .custom-track-progress-bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: #18a8a1;
      transition: width .3s ease;
    }


    .custom-track-timeline {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 6px;
      margin: 18px 0;
    }


    .custom-track-step {
      position: relative;
      min-width: 0;
      display: grid;
      justify-items: center;
      gap: 6px;
      color: #a0a9b7;
      text-align: center;
    }


    .custom-track-step > span {
      width: 31px;
      height: 31px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: #a4aebb;
      background: #eef1f5;
      font-size: .65rem;
    }


    .custom-track-step.complete,
    .custom-track-step.current {
      color: #087c77;
    }


    .custom-track-step.complete > span,
    .custom-track-step.current > span {
      color: #fff;
      background: #18a8a1;
    }


    .custom-track-step.current > span i {
      animation: spin 1.2s linear infinite;
    }


    .custom-track-step small {
      font-size: .56rem;
      line-height: 1.35;
    }


    .custom-track-info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }


    .custom-track-info-grid > div {
      padding: 10px;
      border-radius: 11px;
      background: #f6f8fc;
    }


    .custom-track-info-grid small,
    .custom-track-info-grid strong {
      display: block;
    }


    .custom-track-info-grid small {
      color: #8a95a7;
      font-size: .59rem;
    }


    .custom-track-info-grid strong {
      margin-top: 3px;
      color: #25375e;
      font-size: .69rem;
    }


    .custom-track-admin-note {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 12px;
      padding: 12px;
      border: 1px solid #dce5f2;
      border-radius: 12px;
      color: #4f6078;
      background: #f7f9fd;
    }


    .custom-track-admin-note > i {
      margin-top: 2px;
      color: #18a8a1;
    }


    .custom-track-admin-note strong {
      color: #102a72;
      font-size: .7rem;
    }


    .custom-track-admin-note p {
      margin-top: 3px;
      white-space: pre-line;
      font-size: .69rem;
    }


    @media (max-width: 980px) {
      .custom-work-hero,
      .custom-track-layout {
        grid-template-columns: 1fr;
      }


      .custom-queue-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }


    @media (max-width: 700px) {
      .custom-work-pane,
      .custom-work-hero {
        padding: 15px;
      }


      .custom-queue-stats,
      .custom-form-grid,
      .custom-attachment-list,
      .custom-track-info-grid {
        grid-template-columns: 1fr;
      }


      .custom-queue-stat {
        min-width: 0;
      }


      .custom-form-section {
        padding: 15px;
      }


      .custom-track-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 12px;
      }


      .custom-track-status-head {
        flex-direction: column;
      }
    }


  
    /* =======================================================
       V24S7 CUSTOM REQUEST QUEUE
       ======================================================= */
    .custom-queue-check-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px 20px;
      align-items: center;
      margin-bottom: 18px;
      padding: 18px;
      border: 1px solid #cfe7e5;
      border-radius: 18px;
      background: #f2fbfa;
    }
    .custom-queue-check-card h3 { margin: 3px 0 4px; color: var(--navy); }
    .custom-queue-check-card p { margin: 0; color: var(--muted); font-size: .86rem; }
    .custom-queue-check-result {
      grid-column: 1 / -1;
      padding: 12px 14px;
      border: 1px dashed #b9d9d5;
      border-radius: 13px;
      color: var(--muted);
      background: #fff;
    }
    .custom-queue-check-result.success {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      border-style: solid;
    }
    .custom-queue-check-result.success > div {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px;
      border-radius: 11px;
      background: #f6f9fc;
    }
    .custom-queue-check-result.success strong { color: var(--navy); font-size: 1.2rem; }
    .custom-queue-check-result.success span { color: var(--muted); font-size: .76rem; }
    .custom-queue-check-result.success small { grid-column: 1 / -1; color: #6c7c8c; }
    .custom-queue-check-result.error { color: var(--danger); border-color: #efc2c2; background: #fff6f6; }


    
    
    
    
    
    
    


    @media (max-width: 760px) {
      .custom-queue-check-card { grid-template-columns: 1fr; }
      .custom-queue-check-card .btn { width: 100%; }
      .custom-queue-check-result.success { grid-template-columns: 1fr; }
      .custom-queue-check-result.success small { grid-column: auto; }
      
    }










    /* ===== V24S10 : ทำระบบกับเรา ===== */
    .custom-service-section {
      padding: 58px 0;
      background: #f3f6fb;
      border-top: 1px solid #e0e7f1;
      border-bottom: 1px solid #e0e7f1;
    }
    .custom-service-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
      gap: 26px;
      padding: 34px;
      border-radius: 28px;
      background: #0d245f;
      color: #fff;
      box-shadow: 0 24px 62px rgba(13, 36, 95, .18);
      overflow: hidden;
      position: relative;
    }
    .custom-service-hero::after {
      content: '';
      position: absolute;
      width: 220px;
      height: 220px;
      right: -95px;
      bottom: -105px;
      border: 34px solid rgba(255,255,255,.05);
      border-radius: 50%;
      pointer-events: none;
    }
    .custom-service-copy,
    .custom-service-brief { position: relative; z-index: 1; }
    .custom-service-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 11px;
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      color: #72ded7;
      font-size: .8rem;
      font-weight: 800;
    }
    .custom-service-copy h2 {
      margin: 18px 0 14px;
      color: #fff;
      font-size: clamp(1.75rem, 3.4vw, 3rem);
      line-height: 1.18;
      letter-spacing: -.025em;
    }
    .custom-service-copy > p {
      margin: 0;
      max-width: 720px;
      color: #c7d2ec;
      font-size: .98rem;
      line-height: 1.8;
    }
    .custom-service-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }
    .custom-service-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 9px 16px;
      margin-top: 22px;
      color: #d5def2;
      font-size: .8rem;
    }
    .custom-service-trust i { color: #61d7cf; margin-right: 5px; }
    .custom-service-brief {
      align-self: stretch;
      padding: 22px;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,251,255,1) 100%);
      color: #183042;
      box-shadow: 0 18px 44px rgba(0,0,0,.18);
      overflow: hidden;
      isolation: isolate;
    }
    .custom-service-brief::before,
    .custom-service-brief::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
      opacity: .55;
      filter: blur(1px);
    }
    .custom-service-brief::before {
      width: 132px;
      height: 132px;
      right: -26px;
      top: -26px;
      background: radial-gradient(circle, rgba(109,214,205,.23) 0%, rgba(109,214,205,0) 72%);
      animation: customOrbFloat 7s ease-in-out infinite;
    }
    .custom-service-brief::after {
      width: 118px;
      height: 118px;
      left: -28px;
      bottom: -42px;
      background: radial-gradient(circle, rgba(87,123,255,.16) 0%, rgba(87,123,255,0) 72%);
      animation: customOrbFloat 8.5s ease-in-out infinite reverse;
    }
    .custom-service-brief-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e4eaf2;
      animation: customCardBob 5.2s ease-in-out infinite;
    }
    .custom-service-brief-head > span {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: linear-gradient(135deg, #e9f8f6 0%, #ddf2ff 100%);
      color: #0f8b8d;
      font-size: 1.15rem;
      box-shadow: 0 12px 18px rgba(47, 171, 183, .12);
      animation: customIconWiggle 3.6s ease-in-out infinite;
      transform-origin: center;
    }
    .custom-service-brief-head small,
    .custom-service-brief-head strong { display: block; }
    .custom-service-brief-head small { color: #758498; font-size: .74rem; }
    .custom-service-brief-head strong { color: #123b5d; margin-top: 2px; }
    .custom-service-types { display: grid; gap: 10px; margin-top: 16px; }
    .custom-service-types article {
      display: grid;
      grid-template-columns: 38px 1fr;
      gap: 11px;
      align-items: center;
      padding: 11px;
      border: 1px solid #e1e8f1;
      border-radius: 13px;
      background: rgba(248,250,252,.96);
      box-shadow: 0 10px 22px rgba(15, 38, 82, .06);
      position: relative;
      transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
      will-change: transform;
      overflow: hidden;
    }
    .custom-service-types article::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.72) 48%, rgba(255,255,255,0) 100%);
      transform: translateX(-150%);
      opacity: 0;
      pointer-events: none;
    }
    .custom-service-types article:hover::after {
      opacity: 1;
      animation: customShine 1.1s ease;
    }
    .custom-service-types article:hover {
      transform: translateY(-4px) scale(1.015);
      box-shadow: 0 16px 28px rgba(15, 38, 82, .12);
      border-color: #cddcf4;
      background: #ffffff;
    }
    .custom-service-types article:nth-child(1) { animation: customCardBob 4.9s ease-in-out infinite; }
    .custom-service-types article:nth-child(2) { animation: customCardBob 5.6s ease-in-out infinite .35s; }
    .custom-service-types article:nth-child(3) { animation: customCardBob 5.1s ease-in-out infinite .7s; }
    .custom-service-types article:nth-child(4) { animation: customCardBob 5.8s ease-in-out infinite 1.05s; }
    .custom-service-types article > i {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      background: linear-gradient(135deg, #edf2ff 0%, #f4f8ff 100%);
      color: #2457c5;
      box-shadow: 0 8px 14px rgba(36, 87, 197, .08);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
    }
    .custom-service-types article:hover > i {
      transform: rotate(-8deg) scale(1.08);
      box-shadow: 0 10px 18px rgba(36, 87, 197, .14);
      background: linear-gradient(135deg, #e4edff 0%, #ffffff 100%);
    }
    .custom-service-types strong,
    .custom-service-types span { display: block; }
    .custom-service-types strong { color: #183a58; font-size: .9rem; }
    .custom-service-types span { color: #6e7e8f; font-size: .76rem; margin-top: 2px; line-height: 1.45; }
    @keyframes customCardBob {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-5px); }
    }
    @keyframes customIconWiggle {
      0%, 100% { transform: rotate(0deg) scale(1); }
      15% { transform: rotate(-7deg) scale(1.04); }
      30% { transform: rotate(6deg) scale(1.08); }
      45% { transform: rotate(-4deg) scale(1.03); }
      60% { transform: rotate(3deg) scale(1.06); }
      75% { transform: rotate(0deg) scale(1); }
    }
    @keyframes customOrbFloat {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
      50% { transform: translate3d(10px, -8px, 0) scale(1.06); }
    }
    @keyframes customShine {
      from { transform: translateX(-140%); }
      to { transform: translateX(140%); }
    }
    @media (prefers-reduced-motion: reduce) {
      .custom-service-brief::before,
      .custom-service-brief::after,
      .custom-service-brief-head,
      .custom-service-brief-head > span,
      .custom-service-types article { animation: none !important; }
      .custom-service-types article::after { display: none; }
    }
    .custom-service-benefit-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin: 38px 0 19px;
    }
    .custom-service-benefit-head h3 {
      margin: 7px 0 0;
      color: #123b5d;
      font-size: clamp(1.35rem, 2.5vw, 2rem);
    }
    .custom-service-benefit-head > p {
      max-width: 470px;
      margin: 0;
      color: #697b8d;
      line-height: 1.7;
    }
    .custom-service-benefits {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 15px;
    }
    .custom-service-benefits article {
      position: relative;
      min-height: 205px;
      padding: 21px;
      border: 1px solid #dfe7f0;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(18,59,93,.06);
      overflow: hidden;
    }
    .custom-service-benefits article > span {
      position: absolute;
      right: 15px;
      top: 10px;
      color: #e7ebf3;
      font-size: 2.5rem;
      font-weight: 900;
    }
    .custom-service-benefits article > i {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: #eaf8f7;
      color: #0f8b8d;
      font-size: 1.1rem;
    }
    .custom-service-benefits h4 {
      position: relative;
      margin: 16px 0 7px;
      color: #123b5d;
      font-size: 1rem;
    }
    .custom-service-benefits p {
      position: relative;
      margin: 0;
      color: #6b7d8d;
      font-size: .84rem;
      line-height: 1.65;
    }
    .custom-service-process {
      margin-top: 24px;
      padding: 26px;
      border: 1px solid #dce5ef;
      border-radius: 22px;
      background: #fff;
    }
    .custom-service-process-title span {
      color: #0f8b8d;
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .12em;
    }
    .custom-service-process-title h3 {
      margin: 5px 0 19px;
      color: #123b5d;
      font-size: 1.35rem;
    }
    .custom-service-steps {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 10px;
    }
    .custom-service-steps article {
      position: relative;
      min-height: 172px;
      padding: 16px 13px;
      border-radius: 15px;
      background: #f5f8fc;
      border: 1px solid #e1e8f1;
    }
    .custom-service-steps article b {
      position: absolute;
      right: 10px;
      top: 8px;
      color: #d7dfeb;
      font-size: 1.55rem;
    }
    .custom-service-steps article i {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      background: #123b5d;
      color: #fff;
    }
    .custom-service-steps strong,
    .custom-service-steps span { display: block; }
    .custom-service-steps strong { margin-top: 13px; color: #183a58; font-size: .88rem; }
    .custom-service-steps span { margin-top: 5px; color: #718293; font-size: .75rem; line-height: 1.5; }

    @media (max-width: 1000px) {
      .custom-service-hero { grid-template-columns: 1fr; }
      .custom-service-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .custom-service-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 680px) {
      .custom-service-section { padding: 38px 0; }
      .custom-service-hero { padding: 22px; border-radius: 22px; }
      .custom-service-copy h2 br { display: none; }
      .custom-service-actions .btn { width: 100%; }
      .custom-service-benefit-head { align-items: flex-start; flex-direction: column; }
      .custom-service-benefits { grid-template-columns: 1fr; }
      .custom-service-process { padding: 19px; }
      .custom-service-steps { grid-template-columns: 1fr; }
      .custom-service-steps article { min-height: auto; }
    }


    /* =======================================================
       V24S11 : TOPBAR ALIGNMENT + CUSTOM SERVICE VISUAL POLISH
       ======================================================= */

    /* เดสก์ท็อป: โลโก้ซ้าย เมนูกลาง ปุ่มสมาชิกขวาเต็มความกว้างหน้าจอ */
    .topbar-inner {
      width: 100%;
      max-width: none;
      display: grid;
      grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
      align-items: center;
      gap: 18px;
      padding-left: clamp(18px, 2.7vw, 42px);
      padding-right: clamp(18px, 2.7vw, 42px);
    }

    .topbar-inner > .brand {
      grid-column: 1;
      justify-self: start;
      margin: 0;
    }

    .topbar-inner > .main-nav {
      grid-column: 2;
      justify-self: center;
      margin: 0;
    }

    .topbar-inner > .top-actions {
      grid-column: 3;
      justify-self: end;
      margin: 0;
    }

    /* ปุ่มเริ่มทำระบบ: ก่อนชี้ใช้สีฟ้าอมเขียวอ่อนและข้อความเข้ม */
    .custom-service-actions .btn-light {
      color: #073f58;
      border: 1px solid #8cded6;
      background: #dcf8f4;
      box-shadow: 0 12px 28px rgba(24, 168, 161, .20);
    }

    .custom-service-actions .btn-light i {
      color: #087c77;
    }

    .custom-service-actions .btn-light:hover {
      color: #102a72;
      border-color: #ffd33d;
      background: #ffd33d;
      box-shadow: 0 14px 30px rgba(255, 211, 61, .25);
      transform: translateY(-2px);
    }

    .custom-service-actions .btn-light:hover i {
      color: #102a72;
    }

    /* การ์ดข้อดี: เพิ่มสีเฉพาะใบ เอฟเฟกต์แสง และการตอบสนองเมื่อชี้ */
    .custom-service-benefits article {
      isolation: isolate;
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .custom-service-benefits article::before {
      content: '';
      position: absolute;
      inset: 0 auto 0 0;
      width: 5px;
      border-radius: 18px 0 0 18px;
      background: var(--card-accent, #18a8a1);
      z-index: 0;
    }

    .custom-service-benefits article::after {
      content: '';
      position: absolute;
      width: 115px;
      height: 115px;
      right: -48px;
      bottom: -54px;
      border-radius: 50%;
      background: var(--card-glow, rgba(24, 168, 161, .10));
      transition: transform .28s ease, opacity .28s ease;
      z-index: 0;
    }

    .custom-service-benefits article > i,
    .custom-service-benefits article > span,
    .custom-service-benefits article > h4,
    .custom-service-benefits article > p {
      z-index: 1;
    }

    .custom-service-benefits article:hover {
      transform: translateY(-7px);
      border-color: var(--card-accent, #18a8a1);
      box-shadow: 0 20px 42px rgba(18, 59, 93, .14);
    }

    .custom-service-benefits article:hover::after {
      transform: scale(1.28);
      opacity: .92;
    }

    .custom-service-benefits article > i {
      transition: transform .22s ease, box-shadow .22s ease;
    }

    .custom-service-benefits article:hover > i {
      transform: rotate(-5deg) scale(1.08);
      box-shadow: 0 10px 22px var(--card-shadow, rgba(24, 168, 161, .18));
    }

    .custom-service-benefits article:nth-child(1) {
      --card-accent: #18a8a1;
      --card-glow: rgba(24, 168, 161, .13);
      --card-shadow: rgba(24, 168, 161, .22);
      background: linear-gradient(145deg, #ffffff 0%, #f0fcfa 100%);
    }
    .custom-service-benefits article:nth-child(1) > i { color: #087c77; background: #dff8f4; }

    .custom-service-benefits article:nth-child(2) {
      --card-accent: #2457c5;
      --card-glow: rgba(36, 87, 197, .12);
      --card-shadow: rgba(36, 87, 197, .20);
      background: linear-gradient(145deg, #ffffff 0%, #f1f5ff 100%);
    }
    .custom-service-benefits article:nth-child(2) > i { color: #2457c5; background: #e8efff; }

    .custom-service-benefits article:nth-child(3) {
      --card-accent: #ef356c;
      --card-glow: rgba(239, 53, 108, .11);
      --card-shadow: rgba(239, 53, 108, .18);
      background: linear-gradient(145deg, #ffffff 0%, #fff2f6 100%);
    }
    .custom-service-benefits article:nth-child(3) > i { color: #d92f60; background: #ffe8ef; }

    .custom-service-benefits article:nth-child(4) {
      --card-accent: #f2a51a;
      --card-glow: rgba(242, 165, 26, .12);
      --card-shadow: rgba(242, 165, 26, .19);
      background: linear-gradient(145deg, #ffffff 0%, #fff8e9 100%);
    }
    .custom-service-benefits article:nth-child(4) > i { color: #9b6500; background: #fff0c9; }

    .custom-service-benefits article:nth-child(5) {
      --card-accent: #7b55d9;
      --card-glow: rgba(123, 85, 217, .11);
      --card-shadow: rgba(123, 85, 217, .19);
      background: linear-gradient(145deg, #ffffff 0%, #f6f1ff 100%);
    }
    .custom-service-benefits article:nth-child(5) > i { color: #6844c4; background: #eee7ff; }

    .custom-service-benefits article:nth-child(6) {
      --card-accent: #0f83bd;
      --card-glow: rgba(15, 131, 189, .11);
      --card-shadow: rgba(15, 131, 189, .19);
      background: linear-gradient(145deg, #ffffff 0%, #edf8fd 100%);
    }
    .custom-service-benefits article:nth-child(6) > i { color: #0a719f; background: #def3fc; }

    /* Workflow: ไล่สีตามขั้นตอนและมีเส้นเชื่อมบนจอใหญ่ */
    .custom-service-process {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 100% 0%, rgba(36, 87, 197, .08), transparent 32%),
        #ffffff;
      box-shadow: 0 14px 34px rgba(18, 59, 93, .07);
    }

    .custom-service-steps article {
      isolation: isolate;
      overflow: visible;
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
      background: linear-gradient(155deg, #ffffff 0%, var(--step-soft, #f5f8fc) 100%);
    }

    .custom-service-steps article::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 4px;
      border-radius: 15px 15px 0 0;
      background: var(--step-accent, #123b5d);
    }

    .custom-service-steps article:hover {
      transform: translateY(-6px);
      border-color: var(--step-accent, #123b5d);
      box-shadow: 0 18px 34px rgba(18, 59, 93, .13);
      z-index: 2;
    }

    .custom-service-steps article i {
      background: var(--step-accent, #123b5d);
      box-shadow: 0 9px 19px var(--step-shadow, rgba(18, 59, 93, .18));
      transition: transform .22s ease;
    }

    .custom-service-steps article:hover i {
      transform: rotate(5deg) scale(1.08);
    }

    .custom-service-steps article:nth-child(1) { --step-accent: #0f8b8d; --step-soft: #edfafa; --step-shadow: rgba(15,139,141,.22); }
    .custom-service-steps article:nth-child(2) { --step-accent: #2457c5; --step-soft: #eef3ff; --step-shadow: rgba(36,87,197,.22); }
    .custom-service-steps article:nth-child(3) { --step-accent: #f0a31a; --step-soft: #fff7e7; --step-shadow: rgba(240,163,26,.22); }
    .custom-service-steps article:nth-child(4) { --step-accent: #7b55d9; --step-soft: #f4f0ff; --step-shadow: rgba(123,85,217,.22); }
    .custom-service-steps article:nth-child(5) { --step-accent: #ef356c; --step-soft: #fff0f5; --step-shadow: rgba(239,53,108,.21); }
    .custom-service-steps article:nth-child(6) { --step-accent: #16856b; --step-soft: #ecf9f4; --step-shadow: rgba(22,133,107,.22); }

    @media (min-width: 1001px) {
      .custom-service-steps article:not(:last-child)::after {
        content: '\f054';
        position: absolute;
        top: 50%;
        right: -17px;
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
        transform: translateY(-50%);
        border: 1px solid #dce5ef;
        border-radius: 50%;
        color: #2457c5;
        background: #fff;
        box-shadow: 0 5px 13px rgba(18,59,93,.10);
        font-family: 'Font Awesome 6 Free';
        font-size: .62rem;
        font-weight: 900;
        z-index: 5;
      }
    }

    /* โลโก้ Footer คลิกไป Facebook พร้อมเอฟเฟกต์นุ่มนวล */
    .footer-logo-link {
      position: relative;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 15px;
      text-decoration: none;
      outline: none;
      animation: footerLogoFloat 3.8s ease-in-out infinite;
    }

    .footer-logo-link::after {
      content: '';
      position: absolute;
      inset: -5px;
      border: 1px solid rgba(97, 215, 207, .42);
      border-radius: 18px;
      opacity: .65;
      transform: scale(.94);
      transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
      pointer-events: none;
    }

    .footer-logo-link img {
      transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
    }

    .footer-logo-link:hover,
    .footer-logo-link:focus-visible {
      animation-play-state: paused;
    }

    .footer-logo-link:hover::after,
    .footer-logo-link:focus-visible::after {
      opacity: 1;
      transform: scale(1.08);
      box-shadow: 0 0 24px rgba(97, 215, 207, .28);
    }

    .footer-logo-link:hover img,
    .footer-logo-link:focus-visible img {
      transform: translateY(-3px) rotate(-4deg) scale(1.06);
      filter: saturate(1.12);
      box-shadow: 0 12px 26px rgba(24,168,161,.24);
    }

    @keyframes footerLogoFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    @media (max-width: 1020px) {
      .topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
      }

      .topbar-inner > .brand {
        grid-column: 1;
      }

      .topbar-inner > .top-actions {
        grid-column: 2;
      }
    }

    @media (max-width: 650px) {
      .topbar-inner {
        padding-left: 11px;
        padding-right: 11px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .footer-logo-link {
        animation: none;
      }

      .custom-service-benefits article,
      .custom-service-benefits article::after,
      .custom-service-benefits article > i,
      .custom-service-steps article,
      .custom-service-steps article i,
      .footer-logo-link::after,
      .footer-logo-link img {
        transition: none;
      }
    }


    /* =======================================================
       V24S12 : FEATURE CARDS + HEADER LOGO + NAV EFFECTS
       ======================================================= */

    /* ส่วนจุดเด่น: ใช้แถบสีด้านบนและแสงมุมการ์ด ให้คล้ายส่วนงานสั่งทำแต่ไม่ซ้ำรูปแบบ */
    .feature-section {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 8% 12%, rgba(24,168,161,.10), transparent 26%),
        radial-gradient(circle at 92% 88%, rgba(36,87,197,.09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    }

    .feature-section .landing-section-head.centered {
      position: relative;
      z-index: 1;
    }

    .feature-section .landing-section-head.centered::after {
      content: '';
      display: block;
      width: 78px;
      height: 4px;
      margin: 15px auto 0;
      border-radius: 999px;
      background: linear-gradient(90deg, #18a8a1, #2457c5, #ef356c);
      box-shadow: 0 5px 14px rgba(36,87,197,.18);
    }

    .feature-showcase-card {
      --feature-accent: #18a8a1;
      --feature-soft: #effbf9;
      --feature-glow: rgba(24,168,161,.16);
      isolation: isolate;
      border-color: color-mix(in srgb, var(--feature-accent) 20%, #dfe5f1);
      background: linear-gradient(150deg, #ffffff 0%, var(--feature-soft) 115%);
      box-shadow: 0 13px 32px rgba(16,42,114,.075);
      transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease;
    }

    .feature-showcase-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: linear-gradient(90deg, var(--feature-accent), color-mix(in srgb, var(--feature-accent) 58%, #ffffff));
      z-index: 2;
    }

    .feature-showcase-card::after {
      content: '';
      position: absolute;
      width: 150px;
      height: 150px;
      right: -72px;
      bottom: -82px;
      border-radius: 42px;
      background: var(--feature-glow);
      transform: rotate(24deg) scale(.9);
      transition: transform .32s ease, opacity .32s ease;
      opacity: .78;
      z-index: 0;
      pointer-events: none;
    }

    .feature-showcase-card > * {
      position: relative;
      z-index: 1;
    }

    .feature-showcase-card:hover {
      transform: translateY(-7px);
      border-color: var(--feature-accent);
      box-shadow: 0 22px 45px rgba(16,42,114,.14), 0 0 0 1px color-mix(in srgb, var(--feature-accent) 18%, transparent);
    }

    .feature-showcase-card:hover::after {
      transform: rotate(12deg) scale(1.28);
      opacity: 1;
    }

    .feature-showcase-icon {
      background: var(--feature-accent) !important;
      color: #fff !important;
      box-shadow: 0 10px 22px var(--feature-glow);
      transition: transform .24s ease, box-shadow .24s ease;
    }

    .feature-showcase-card:hover .feature-showcase-icon {
      transform: translateY(-2px) rotate(-5deg) scale(1.08);
      box-shadow: 0 14px 28px var(--feature-glow);
    }

    .feature-showcase-card .feature-number {
      color: color-mix(in srgb, var(--feature-accent) 13%, #ffffff);
      transition: color .24s ease, transform .24s ease;
    }

    .feature-showcase-card:hover .feature-number {
      color: color-mix(in srgb, var(--feature-accent) 24%, #ffffff);
      transform: translate(-2px, 2px) scale(1.04);
    }

    .feature-showcase-card:nth-child(1) { --feature-accent: #0f9b92; --feature-soft: #eefbf9; --feature-glow: rgba(15,155,146,.18); }
    .feature-showcase-card:nth-child(2) { --feature-accent: #2457c5; --feature-soft: #f0f4ff; --feature-glow: rgba(36,87,197,.17); }
    .feature-showcase-card:nth-child(3) { --feature-accent: #e73d73; --feature-soft: #fff1f6; --feature-glow: rgba(231,61,115,.16); }
    .feature-showcase-card:nth-child(4) { --feature-accent: #e29a12; --feature-soft: #fff8e9; --feature-glow: rgba(226,154,18,.17); }
    .feature-showcase-card:nth-child(5) { --feature-accent: #7553d6; --feature-soft: #f5f1ff; --feature-glow: rgba(117,83,214,.16); }
    .feature-showcase-card:nth-child(6) { --feature-accent: #137daf; --feature-soft: #edf8fd; --feature-glow: rgba(19,125,175,.17); }

    /* โลโก้หัวเว็บ: เอฟเฟกต์แบบเดียวกับ Footer และลิงก์กลับหน้าหลัก */
    .header-brand-link {
      color: inherit;
      text-decoration: none;
      outline: none;
    }

    .header-logo-link {
      position: relative;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 15px;
      animation: headerLogoFloat 3.8s ease-in-out infinite;
    }

    .header-logo-link::after {
      content: '';
      position: absolute;
      inset: -5px;
      border: 1px solid rgba(36,87,197,.34);
      border-radius: 18px;
      opacity: .68;
      transform: scale(.94);
      transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease, border-color .22s ease;
      pointer-events: none;
    }

    .header-logo-link .brand-logo {
      transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
    }

    .header-brand-link:hover .header-logo-link,
    .header-brand-link:focus-visible .header-logo-link {
      animation-play-state: paused;
    }

    .header-brand-link:hover .header-logo-link::after,
    .header-brand-link:focus-visible .header-logo-link::after {
      opacity: 1;
      border-color: rgba(24,168,161,.62);
      transform: scale(1.08);
      box-shadow: 0 0 24px rgba(36,87,197,.22);
    }

    .header-brand-link:hover .brand-logo,
    .header-brand-link:focus-visible .brand-logo {
      transform: translateY(-3px) rotate(-4deg) scale(1.06);
      filter: saturate(1.12);
      box-shadow: 0 12px 26px rgba(36,87,197,.22);
    }

    .header-brand-link:hover .brand-name,
    .header-brand-link:focus-visible .brand-name {
      color: #2457c5;
    }

    @keyframes headerLogoFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    /* เมนูบาร์: ตัวอักษรใหญ่ขึ้น พร้อมแถบสี เงา และการเคลื่อนไหว */
    .main-nav {
      gap: 5px;
      padding: 4px;
      border: 1px solid rgba(223,229,241,.74);
      border-radius: 15px;
      background: rgba(255,255,255,.76);
      box-shadow: 0 7px 20px rgba(16,42,114,.055);
    }

    .main-nav button {
      --nav-accent: #2457c5;
      --nav-soft: #eef3ff;
      position: relative;
      min-height: 43px;
      padding: 9px 15px;
      overflow: hidden;
      color: #536079;
      border-radius: 11px;
      font-size: .88rem;
      letter-spacing: .005em;
      transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
    }

    .main-nav button::after {
      content: '';
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 5px;
      height: 3px;
      border-radius: 999px;
      background: var(--nav-accent);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform .2s ease;
    }

    .main-nav button:hover {
      color: var(--nav-accent);
      background: var(--nav-soft);
      transform: translateY(-2px);
      box-shadow: 0 8px 17px color-mix(in srgb, var(--nav-accent) 15%, transparent);
    }

    .main-nav button:hover::after,
    .main-nav button.active::after {
      transform: scaleX(1);
    }

    .main-nav button.active {
      color: #ffffff;
      background: var(--nav-accent);
      box-shadow: 0 8px 18px color-mix(in srgb, var(--nav-accent) 24%, transparent);
      transform: translateY(-1px);
    }

    .main-nav button.active::after {
      background: rgba(255,255,255,.82);
    }

    .main-nav button:nth-child(1) { --nav-accent: #2457c5; --nav-soft: #edf3ff; }
    .main-nav button:nth-child(2) { --nav-accent: #0f8b8d; --nav-soft: #eafaf8; }
    .main-nav button:nth-child(3) { --nav-accent: #7553d6; --nav-soft: #f3efff; }
    .main-nav button:nth-child(4) { --nav-accent: #e73d73; --nav-soft: #fff0f5; }
    .main-nav button:nth-child(5) { --nav-accent: #c67d00; --nav-soft: #fff6df; }
    .main-nav button:nth-child(6) { --nav-accent: #2563eb; --nav-soft: #edf4ff; }

    @media (max-width: 1180px) {
      .main-nav button {
        padding-left: 12px;
        padding-right: 12px;
        font-size: .84rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .header-logo-link {
        animation: none;
      }

      .feature-showcase-card,
      .feature-showcase-card::after,
      .feature-showcase-icon,
      .feature-showcase-card .feature-number,
      .header-logo-link::after,
      .header-logo-link .brand-logo,
      .main-nav button,
      .main-nav button::after {
        transition: none;
      }
    }


    /* =======================================================
       V24S13 : LIGHT NAV EFFECT + RESPONSIVE HAMBURGER MENU
       ======================================================= */

    .topbar,
    .topbar-inner {
      overflow: visible;
    }

    .topbar-inner {
      position: relative;
    }

    /* ลดความแน่นของเมนูเดสก์ท็อป: ไม่มีกรอบกล่องใหญ่ ใช้พื้นหลังอ่อนและเส้นใต้บาง */
    .main-nav {
      gap: 2px;
      padding: 2px;
      border: 0;
      border-radius: 12px;
      background: transparent;
      box-shadow: none;
    }

    .main-nav button {
      min-height: 38px;
      padding: 7px 12px;
      overflow: visible;
      border-radius: 9px;
      font-size: .9rem;
      outline: none;
      transition: color .18s ease, background .18s ease, transform .18s ease;
    }

    .main-nav button::after {
      left: 12px;
      right: 12px;
      bottom: 2px;
      height: 2px;
    }

    .main-nav button:hover {
      color: var(--nav-accent);
      background: var(--nav-soft);
      transform: translateY(-1px);
      box-shadow: none;
    }

    .main-nav button.active {
      color: var(--nav-accent);
      background: var(--nav-soft);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-accent) 14%, transparent);
      transform: none;
    }

    .main-nav button.active::after {
      background: var(--nav-accent);
    }

    .main-nav button:focus-visible {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--nav-accent) 18%, transparent);
    }

    .mobile-menu-toggle {
      display: none;
      flex: 0 0 auto;
      color: #102a72;
      background: #eef3fb;
      border: 1px solid #dce5f2;
    }

    .mobile-menu-toggle:hover {
      color: #2457c5;
      background: #e7eefb;
    }

    .mobile-menu-toggle[aria-expanded="true"] {
      color: #ffffff;
      background: #102a72;
      border-color: #102a72;
    }

    @keyframes mobileNavOpenV24S13 {
      from { opacity: 0; transform: translateY(-7px) scale(.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @media (max-width: 1020px) {
      .mobile-menu-toggle {
        display: inline-flex;
      }

      .topbar-inner > .main-nav {
        position: absolute;
        top: calc(100% + 9px);
        left: clamp(12px, 3vw, 26px);
        right: clamp(12px, 3vw, 26px);
        z-index: 80;
        display: none;
        width: auto;
        max-width: none;
        grid-column: auto;
        justify-self: stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin: 0;
        padding: 10px;
        border: 1px solid #dce5f2;
        border-radius: 16px;
        background: rgba(255,255,255,.985);
        box-shadow: 0 18px 46px rgba(16,42,114,.16);
        backdrop-filter: blur(14px);
      }

      .topbar-inner > .main-nav.mobile-open {
        display: grid;
        animation: mobileNavOpenV24S13 .18s ease both;
      }

      .main-nav button {
        width: 100%;
        min-height: 44px;
        padding: 10px 13px;
        text-align: left;
      }

      .main-nav button::after {
        left: 13px;
        right: 13px;
      }
    }

    @media (max-width: 650px) {
      .topbar-inner > .main-nav {
        left: 10px;
        right: 10px;
        grid-template-columns: 1fr;
      }

      .top-actions {
        gap: 7px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .topbar-inner > .main-nav.mobile-open {
        animation: none;
      }
    }


    /* =======================================================
       V24S14 : MEMBER LOGIN / REGISTER LOGO EFFECT
       เอฟเฟกต์โลโก้หน้าล็อกอินและสมัครสมาชิกแบบเดียวกับหัวเว็บ
       ======================================================= */

    .member-modal.login-mode .member-auth-logo-effect,
    .member-modal.register-mode .member-auth-logo-effect {
      position: relative;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 22px;
      animation: headerLogoFloat 3.8s ease-in-out infinite;
      isolation: isolate;
    }

    .member-modal.login-mode .member-auth-logo-effect::after,
    .member-modal.register-mode .member-auth-logo-effect::after {
      content: '';
      position: absolute;
      inset: -6px;
      z-index: -1;
      border: 1px solid rgba(36,87,197,.34);
      border-radius: 25px;
      opacity: .68;
      transform: scale(.94);
      pointer-events: none;
      transition:
        transform .22s ease,
        opacity .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
    }

    .member-modal.login-mode .member-auth-logo-effect img,
    .member-modal.register-mode .member-auth-logo-effect img {
      position: relative;
      z-index: 1;
      transition:
        transform .24s ease,
        box-shadow .24s ease,
        filter .24s ease;
    }

    .member-modal.login-mode .member-auth-logo-effect:hover,
    .member-modal.register-mode .member-auth-logo-effect:hover {
      animation-play-state: paused;
    }

    .member-modal.login-mode .member-auth-logo-effect:hover::after,
    .member-modal.register-mode .member-auth-logo-effect:hover::after {
      opacity: 1;
      border-color: rgba(24,168,161,.62);
      transform: scale(1.08);
      box-shadow: 0 0 24px rgba(36,87,197,.22);
    }

    .member-modal.login-mode .member-auth-logo-effect:hover img,
    .member-modal.register-mode .member-auth-logo-effect:hover img {
      transform: translateY(-3px) rotate(-4deg) scale(1.06);
      filter: saturate(1.12);
      box-shadow: 0 12px 26px rgba(36,87,197,.22);
    }

    @media (prefers-reduced-motion: reduce) {
      .member-modal.login-mode .member-auth-logo-effect,
      .member-modal.register-mode .member-auth-logo-effect {
        animation: none;
      }

      .member-modal.login-mode .member-auth-logo-effect::after,
      .member-modal.register-mode .member-auth-logo-effect::after,
      .member-modal.login-mode .member-auth-logo-effect img,
      .member-modal.register-mode .member-auth-logo-effect img {
        transition: none;
      }
    }


  
    /* ===== SHARE SYSTEM LINKS ===== */
    .system-share-btn {
      position: static;
      flex: 0 0 auto;
      width: 31px;
      height: 31px;
      margin-left: auto;
      padding: 0;
      border: 1px solid #dce4f1;
      border-radius: 10px;
      display: inline-grid;
      place-items: center;
      background: #f7f9fd;
      color: #2457c5;
      box-shadow: 0 4px 11px rgba(16,42,114,.08);
      cursor: pointer;
      transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
    }
    .system-share-btn:hover {
      transform: translateY(-1px) scale(1.04);
      color: #102a72;
      background: #eef3ff;
      border-color: #c7d6f6;
      box-shadow: 0 7px 16px rgba(36,87,197,.14);
    }
    .system-share-btn + .system-favorite-btn { margin-left: 0; }
    .catalog-head-actions {
      display: flex;
      align-items: center;
      gap: 9px;
      width: min(500px, 100%);
      justify-content: flex-end;
    }
    .catalog-head-actions .search-box { flex: 1 1 360px; }
    .catalog-share-btn { flex: 0 0 auto; min-height: 42px; }
    @media (max-width: 760px) {
      .catalog-head-actions { width: 100%; justify-content: stretch; }
      .catalog-share-btn span { display:none; }
      .catalog-share-btn { width:42px; padding:0; }
    }

    /* ===== MEMBER FAVORITE BUTTON ===== */
    .system-card { position: relative; }
    .system-card .meta-row {
      align-items: center;
    }
    .system-favorite-btn {
      position: static;
      flex: 0 0 auto;
      width: 31px;
      height: 31px;
      margin-left: auto;
      padding: 0;
      border: 1px solid #dce4f1;
      border-radius: 10px;
      display: inline-grid;
      place-items: center;
      background: #f7f9fd;
      color: #77839a;
      box-shadow: 0 4px 11px rgba(16,42,114,.08);
      cursor: pointer;
      transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
    }
    .system-favorite-btn:hover {
      transform: translateY(-1px) scale(1.04);
      color: var(--coral);
      background: #fff0f5;
      border-color: #ffc6d7;
      box-shadow: 0 7px 16px rgba(239,53,108,.14);
    }
    .system-favorite-btn.active {
      color: #fff;
      background: var(--coral);
      border-color: var(--coral);
      box-shadow: 0 7px 16px rgba(239,53,108,.22);
    }
    .system-favorite-btn.saving {
      cursor: wait;
      opacity: .72;
    }
    .system-favorite-btn.saving i {
      animation: favoritePulse_ .72s ease-in-out infinite alternate;
    }
    @keyframes favoritePulse_ {
      from { transform: scale(.82); }
      to { transform: scale(1.12); }
    }



    /* ===== MEMBER QUICK MENU + BRAND LOADERS V3 ===== */
    .spinner {
      position: relative;
      width: 44px;
      height: 44px;
      margin: 0 auto 12px;
      border: 0 !important;
      border-radius: 15px;
      background: #fff var(--brand-logo-image) center / 29px 29px no-repeat;
      box-shadow: 0 7px 20px rgba(16,42,114,.15);
      animation: none !important;
    }
    .spinner::before {
      content: '';
      position: absolute;
      inset: -5px;
      border: 3px solid rgba(24,168,161,.20);
      border-top-color: var(--teal);
      border-right-color: var(--pink);
      border-radius: 19px;
      animation: spin .82s linear infinite;
    }
    .spinner::after {
      content: '';
      position: absolute;
      inset: -10px;
      border-radius: 23px;
      background: rgba(24,168,161,.08);
      filter: blur(8px);
      z-index: -1;
    }
    .loader-card .spinner {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      background-size: 39px 39px;
      margin-bottom: 16px;
    }
    .loader-card .spinner::before { border-radius: 23px; }
    
    .member-action-icon .spinner,
    .status-dialog-icon .spinner,
    .member-center-loading .spinner {
      width: 42px;
      height: 42px;
      margin: 0 auto 11px;
      background-size: 27px 27px;
    }

    .member-quick-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
    }
    .member-top-button { position: relative; }
    .member-menu-chevron {
      margin-left: 2px;
      font-size: .68rem;
      opacity: .72;
      transition: transform .18s ease;
    }
    .member-top-button[aria-expanded="true"] .member-menu-chevron {
      transform: rotate(180deg);
    }
    .member-quick-menu {
      position: absolute;
      top: calc(100% + 11px);
      right: 0;
      z-index: 95;
      width: 268px;
      max-width: calc(100vw - 24px);
      padding: 9px;
      border: 1px solid #dfe6f2;
      border-radius: 17px;
      background: rgba(255,255,255,.98);
      box-shadow: 0 22px 58px rgba(11,29,78,.20);
      backdrop-filter: blur(14px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-7px) scale(.98);
      transform-origin: top right;
      transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    }
    .member-quick-menu.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }
    .member-quick-menu::before {
      content: '';
      position: absolute;
      top: -7px;
      right: 22px;
      width: 13px;
      height: 13px;
      border-left: 1px solid #dfe6f2;
      border-top: 1px solid #dfe6f2;
      background: #fff;
      transform: rotate(45deg);
    }
    .member-quick-head {
      padding: 7px 9px 9px;
      color: #8a94a8;
      font-size: .67rem;
      font-weight: 900;
      letter-spacing: .08em;
    }
    .member-quick-item {
      width: 100%;
      min-height: 51px;
      display: grid;
      grid-template-columns: 39px minmax(0,1fr) 18px;
      align-items: center;
      gap: 10px;
      padding: 7px 9px;
      border: 0;
      border-radius: 12px;
      color: #33415d;
      background: transparent;
      text-align: left;
      cursor: pointer;
      transition: background .15s ease, transform .15s ease, color .15s ease;
    }
    .member-quick-item:hover {
      color: var(--navy);
      background: #f1f5fd;
      transform: translateX(2px);
    }
    .member-quick-icon {
      width: 39px;
      height: 39px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      color: var(--navy);
      background: #edf2ff;
    }
    .member-quick-item.history .member-quick-icon { color: var(--pink); background: #fff0f5; }
    .member-quick-item.request .member-quick-icon { color: #b77900; background: #fff7dc; }
    .member-quick-item.work .member-quick-icon { color: var(--teal); background: #e9f9f7; }
    .member-quick-copy { min-width: 0; }
    .member-quick-copy strong { display: block; color: inherit; font-size: .82rem; }
    .member-quick-copy small {
      display: block;
      margin-top: 2px;
      overflow: hidden;
      color: #8490a6;
      font-size: .67rem;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .member-quick-arrow { color: #a9b2c4; font-size: .68rem; }

    @media (max-width: 650px) {
      .member-quick-menu { position: fixed; top: 72px; right: 11px; }
      .member-quick-menu::before { right: 24px; }
    }



    /* ===== V8 CLEAR MEMBER CENTER BUTTON + DISCOVERY MENU ===== */
    .member-top-button {
      min-height: 48px;
      max-width: min(310px, 33vw);
      padding: 6px 10px 6px 8px;
      gap: 8px;
      border: 1px solid #dbe4f3;
      color: var(--navy);
      background: #f3f6fc;
      box-shadow: 0 6px 16px rgba(16,42,114,.07);
      overflow: visible;
    }
    .member-top-button:hover,
    .member-top-button[aria-expanded="true"] {
      color: var(--navy);
      background: #eaf0fb;
      border-color: #cbd8ed;
      box-shadow: 0 9px 21px rgba(16,42,114,.11);
    }
    .member-account-icon {
      width: 32px;
      height: 32px;
      flex: 0 0 32px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: #fff;
      background: var(--navy);
      box-shadow: 0 5px 12px rgba(16,42,114,.20);
    }
    .member-button-copy {
      min-width: 0;
      display: grid;
      gap: 2px;
      line-height: 1.05;
      text-align: left;
    }
    .member-button-copy small {
      display: block !important;
      margin: 0;
      color: #68758c;
      font-size: .61rem;
      font-weight: 800;
      letter-spacing: .015em;
    }
    .member-button-copy b {
      min-width: 0;
      max-width: 150px;
      overflow: hidden;
      color: var(--navy);
      font-size: .73rem;
      font-weight: 900;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .member-top-button .mini-vip {
      margin-left: 1px;
      padding: 3px 6px;
      flex: 0 0 auto;
      border: 1px solid #f2cf54;
      color: #765500;
      background: #ffe66a;
      font-size: .56rem;
      line-height: 1;
    }

    .member-quick-menu {
      width: 304px;
      padding: 10px;
    }
    .member-quick-profile {
      display: grid;
      grid-template-columns: 44px minmax(0,1fr) auto;
      align-items: center;
      gap: 10px;
      padding: 9px 9px 11px;
    }
    .member-quick-avatar {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: #fff;
      background: var(--navy);
      box-shadow: 0 7px 16px rgba(16,42,114,.18);
    }
    .member-quick-identity {
      min-width: 0;
    }
    .member-quick-identity strong,
    .member-quick-identity small {
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .member-quick-identity strong {
      color: var(--navy);
      font-size: .83rem;
      font-weight: 900;
    }
    .member-quick-identity small {
      margin-top: 3px;
      color: #7d899e;
      font-size: .66rem;
    }
    .member-quick-type {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 7px;
      border-radius: 999px;
      color: #2457c5;
      background: #edf2ff;
      font-size: .58rem;
      font-weight: 900;
      white-space: nowrap;
    }
    .member-quick-type.vip {
      color: #765500;
      background: #fff0b8;
      border: 1px solid #f2cf54;
    }
    .member-quick-divider {
      height: 1px;
      margin: 2px 7px 7px;
      background: #e8edf5;
    }
    .member-quick-item.account .member-quick-icon {
      color: #8b5cf6;
      background: #f3efff;
    }
    .member-quick-item.logout {
      color: #c63a55;
    }
    .member-quick-item.logout:hover {
      color: #b32645;
      background: #fff0f4;
    }
    .member-quick-item.logout .member-quick-icon {
      color: #d92f60;
      background: #fff0f4;
    }

    .member-discovery-tip {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      z-index: 94;
      width: 288px;
      max-width: calc(100vw - 24px);
      display: none;
      grid-template-columns: 34px minmax(0,1fr) 24px;
      align-items: start;
      gap: 9px;
      padding: 12px;
      border: 1px solid #cddaf0;
      border-radius: 15px;
      color: #33415d;
      background: #fff;
      box-shadow: 0 18px 44px rgba(11,29,78,.18);
      animation: memberTipIn_ .22s ease both;
    }
    .member-discovery-tip.show { display: grid; }
    .member-discovery-tip::before {
      content: '';
      position: absolute;
      top: -7px;
      right: 28px;
      width: 13px;
      height: 13px;
      border-left: 1px solid #cddaf0;
      border-top: 1px solid #cddaf0;
      background: #fff;
      transform: rotate(45deg);
    }
    .member-tip-icon {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: var(--navy);
      background: #edf2ff;
    }
    .member-tip-copy strong,
    .member-tip-copy small { display: block; }
    .member-tip-copy strong {
      color: var(--navy);
      font-size: .78rem;
      font-weight: 900;
    }
    .member-tip-copy small {
      margin-top: 3px;
      color: #6e7b91;
      font-size: .67rem;
      line-height: 1.45;
    }
    .member-tip-close {
      width: 24px;
      height: 24px;
      padding: 0;
      border: 0;
      border-radius: 8px;
      color: #7e899c;
      background: transparent;
      cursor: pointer;
    }
    .member-tip-close:hover { color: var(--navy); background: #edf2ff; }
    @keyframes memberTipIn_ {
      from { opacity: 0; transform: translateY(-6px) scale(.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @media (max-width: 1050px) {
      .member-top-button { max-width: 230px; }
      .member-button-copy b { max-width: 105px; }
    }
    @media (max-width: 720px) {
      .member-top-button {
        max-width: none;
        min-height: 42px;
        padding: 5px 8px;
      }
      .member-account-icon { width: 30px; height: 30px; flex-basis: 30px; }
      .member-button-copy b { display: none; }
      .member-button-copy small {
        color: var(--navy);
        font-size: .68rem;
      }
      .member-top-button .mini-vip { display: none; }
      .member-quick-menu { position: fixed; top: 72px; right: 11px; }
      .member-discovery-tip { position: fixed; top: 72px; right: 11px; }
    }


    /* ===== V7 COMPACT DETAIL TITLE ===== */
    #detailView .detail-content h1 {
      max-width: 920px;
      margin: 10px 0 8px;
      font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
      line-height: 1.22;
      letter-spacing: -.015em;
    }

    @media (max-width: 650px) {
      #detailView .detail-content h1 {
        font-size: 1.45rem !important;
      }
    }


  

    /* ===== V24.1 : ปุ่มการ์ด 3 ปุ่มแบบกระชับ ===== */
    .system-actions.system-actions-compact {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
      align-items: stretch;
    }
    .system-actions.system-actions-compact.has-demo {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .system-actions.system-actions-compact .system-action-short {
      min-width: 0;
      min-height: 42px;
      padding: 9px 7px;
      gap: 6px;
      white-space: nowrap;
      font-size: .82rem;
      border-radius: 11px;
    }
    .system-actions.system-actions-compact .system-action-short i {
      flex: 0 0 auto;
      font-size: .88rem;
    }
    .system-actions.system-actions-compact .system-action-short span {
      overflow: hidden;
      text-overflow: ellipsis;
    }
    @media (max-width: 370px) {
      .system-actions.system-actions-compact { gap: 5px; }
      .system-actions.system-actions-compact .system-action-short {
        min-height: 40px;
        padding: 8px 5px;
        gap: 4px;
        font-size: .76rem;
      }
    }

    /* ===== V26.1 : ตำแหน่งป้ายโปรโมชันบนการ์ดและหน้ารายละเอียด ===== */
    .system-price-promo.card-price-promo {
      margin: 10px 0 8px auto;
      box-shadow: 0 8px 20px rgba(239,53,108,.12);
    }

    .detail-title-price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      width: 100%;
      margin: 10px 0 8px;
    }

    #detailView .detail-title-price-row h1 {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0 !important;
    }

    .system-price-promo.detail-price-promo {
      flex: 0 0 auto;
      margin: 0 0 0 auto;
      transform: scale(1.03);
      transform-origin: right center;
      box-shadow: 0 10px 24px rgba(239,53,108,.14);
    }

    @media (max-width: 760px) {
      .detail-title-price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

      .system-price-promo.detail-price-promo {
        margin-left: 0;
        transform: none;
      }

      .system-price-promo.card-price-promo {
        margin-left: 0;
        margin-right: 0;
      }
    }


/* ===== Home Slider 1280x600 + Announcement Popup ===== */
.home-slider-section{display:none;padding:24px 0 10px}.home-slider-section.show{display:block}
.home-slider-head{width:min(960px,100%);margin:0 auto 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.home-slider-head span{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #d8e3f0;border-radius:999px;background:#fff;color:#102a72;font-size:.76rem;font-weight:800}
.home-slider-shell{position:relative;width:min(960px,100%);margin:0 auto}
.home-slider-viewport{position:relative;overflow:hidden;aspect-ratio:32/15;border:1px solid #dfe5f1;border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(16,42,114,.12)}
.home-slider-track{height:100%;display:flex;transition:transform .52s cubic-bezier(.22,.61,.36,1);will-change:transform}
.home-slider-slide{position:relative;min-width:100%;height:100%;display:block;background:#fff;cursor:pointer;outline:none}
.home-slider-slide.no-link{cursor:default}
.home-slider-slide img{width:100%;height:100%;display:block;object-fit:cover;background:#fff}
.home-slider-caption{position:absolute;left:16px;bottom:16px;max-width:calc(100% - 32px);display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,.7);border-radius:999px;color:#fff;background:rgba(16,42,114,.78);backdrop-filter:blur(8px);font-size:.78rem;font-weight:800;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.home-slider-nav{position:absolute;top:50%;z-index:3;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(16,42,114,.15);border-radius:50%;color:#102a72;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(16,42,114,.15);cursor:pointer;transform:translateY(-50%);transition:.18s ease}
.home-slider-nav:hover{transform:translateY(-50%) scale(1.06);background:#fff}.home-slider-prev{left:-18px}.home-slider-next{right:-18px}
.home-slider-dots{display:flex;justify-content:center;gap:7px;margin-top:11px}.home-slider-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#cbd5e5;cursor:pointer;transition:.2s}.home-slider-dot.active{width:24px;background:#102a72}
.home-slider-single .home-slider-nav,.home-slider-single .home-slider-dots{display:none}
body.announcement-open{overflow:hidden}
.announcement-overlay{position:fixed;inset:0;z-index:2147483000;display:none;place-items:center;padding:18px;background:rgba(8,22,52,.70);backdrop-filter:blur(7px)}.announcement-overlay.show{display:grid}
.announcement-card{width:min(720px,100%);max-height:min(90vh,820px);overflow:auto;border:1px solid rgba(255,255,255,.25);border-top:5px solid #ef356c;border-radius:24px;background:#fff;box-shadow:0 34px 100px rgba(0,0,0,.34);animation:announcementPop .22s ease}
@keyframes announcementPop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.announcement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 12px}.announcement-head small{display:block;color:#ef356c;font-weight:800;letter-spacing:.03em}.announcement-head h2{margin:4px 0 0;color:#102a72;font-size:1.35rem;line-height:1.3}.announcement-close{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #d9e1ee;border-radius:11px;color:#102a72;background:#f5f8fc;cursor:pointer}
.announcement-image{display:none;margin:0 20px 14px;overflow:hidden;border:1px solid #e1e7f0;border-radius:16px;background:#f7f9fc}.announcement-image.show{display:block}.announcement-image img{width:100%;max-height:390px;display:block;object-fit:contain;background:#fff}
.announcement-body{padding:0 20px 16px;color:#59657b;line-height:1.75;white-space:pre-line}.announcement-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px 18px;border-top:1px solid #e6ebf3;background:#fafbfd}.announcement-hide-today{display:flex;align-items:center;gap:8px;color:#66728a;font-size:.82rem;cursor:pointer}.announcement-hide-today input{accent-color:#102a72}.announcement-buttons{display:flex;gap:8px;margin-left:auto}
@media(max-width:1020px){.home-slider-prev{left:8px}.home-slider-next{right:8px}}
@media(max-width:650px){.home-slider-section{padding:18px 0 6px}.home-slider-head{margin-bottom:8px}.home-slider-viewport{border-radius:16px}.home-slider-nav{width:36px;height:36px}.home-slider-caption{left:10px;bottom:10px;max-width:calc(100% - 20px);padding:6px 9px;font-size:.68rem}.announcement-card{border-radius:18px}.announcement-head{padding:15px 15px 10px}.announcement-head h2{font-size:1.12rem}.announcement-image{margin:0 15px 12px}.announcement-body{padding:0 15px 14px}.announcement-actions{padding:12px 15px 15px}.announcement-buttons{width:100%;margin-left:0}.announcement-buttons .btn{flex:1}}




    .index-new-systems-dialog {
      width: min(780px, calc(100% - 24px));
      max-height: min(90vh, 790px);
      padding: 0;
      border: 0;
      border-radius: 22px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 30px 90px rgba(7, 20, 55, .34);
    }
    .index-new-systems-dialog::backdrop {
      background: rgba(7, 18, 48, .62);
      backdrop-filter: blur(5px);
    }
    .index-new-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 18px 13px;
      border-top: 4px solid #f2b323;
      border-bottom: 1px solid #e4e9f2;
      background: #fff;
    }
    .index-new-head strong {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #102a72;
      font-size: 1.02rem;
    }
    .index-new-head small {
      display: block;
      margin-top: 3px;
      color: #778197;
      font-size: .74rem;
    }
    .index-new-tabs {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      padding: 11px 14px 9px;
      border-bottom: 1px solid #edf0f5;
      scrollbar-width: thin;
      background: #fafbfe;
    }
    .index-new-tab {
      flex: 0 0 auto;
      max-width: 190px;
      min-height: 34px;
      padding: 7px 11px;
      border: 1px solid #dbe2ed;
      border-radius: 999px;
      color: #53617b;
      background: #fff;
      font-size: .73rem;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
    }
    .index-new-tab.active {
      border-color: #102a72;
      color: #fff;
      background: #102a72;
      box-shadow: 0 7px 16px rgba(16,42,114,.16);
    }
    .index-new-stage { padding: 15px 18px 12px; }
    .index-new-card {
      display: grid;
      grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
      gap: 16px;
      align-items: center;
    }
    .index-new-cover {
      width: 100%;
      aspect-ratio: 16 / 9;
      padding: 0;
      overflow: hidden;
      border: 1px solid #dce4ef;
      border-radius: 15px;
      background: #eef3f8;
      cursor: pointer;
      box-shadow: 0 9px 24px rgba(16,42,114,.08);
    }
    .index-new-cover img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
    .index-new-cover-placeholder {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      color: #2457c5;
      font-size: 2rem;
    }
    .index-new-copy { min-width: 0; }
    .index-new-copy h3 {
      margin: 0 0 8px;
      color: #102a72;
      font-size: 1.05rem;
      line-height: 1.4;
    }
    .index-new-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 12px;
    }
    .index-new-meta span {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 8px;
      border-radius: 999px;
      color: #8a6200;
      background: #fff5d9;
      font-size: .68rem;
      font-weight: 800;
    }
    .index-new-meta span.version {
      color: #2457c5;
      background: #eef4ff;
    }
    .index-new-open {
      min-height: 39px;
      width: 100%;
      border: 0;
      border-radius: 10px;
      color: #fff;
      background: #102a72;
      font-weight: 800;
      cursor: pointer;
    }
    .index-new-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 18px 16px;
      color: #7b8599;
      font-size: .7rem;
    }
    .index-new-counter { white-space: nowrap; font-weight: 800; color: #102a72; }
    @media (max-width: 620px) {
      .index-new-systems-dialog { width: min(95vw, 560px); }
      .index-new-card { grid-template-columns: 1fr; gap: 11px; }
      .index-new-cover { width: min(100%, 430px); margin: 0 auto; }
      .index-new-copy h3 { font-size: .98rem; }
      .index-new-stage { padding: 12px 14px 9px; }
      .index-new-foot { padding: 10px 14px 14px; }
    }
  


    /* =======================================================
       V24S8 — MEMBER CUSTOM REQUESTS
       ======================================================= */
    .custom-member-gate-v24s8 {
      margin: 0 0 18px;
      padding: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      border: 1px solid #cfe2ee;
      border-radius: 16px;
      background: #f7fbfd;
    }
    .custom-member-gate-v24s8.logged-in {
      border-color: #bfe6dc;
      background: #effbf7;
    }
    .custom-member-gate-v24s8 strong,
    .custom-member-gate-v24s8 span { display: block; }
    .custom-member-gate-v24s8 strong { color: var(--navy); }
    .custom-member-gate-v24s8 span {
      margin-top: 4px;
      color: var(--muted);
      font-size: .82rem;
    }
    .custom-member-gate-actions-v24s8 {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      flex: 0 0 auto;
    }
    .custom-work-tabs .custom-mine-tab-v24s8 {
      min-width: 0;
    }
    .custom-my-pane-v24s8 { display: none; }
    .custom-my-pane-v24s8.active { display: block; }
    .custom-my-head-v24s8 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 14px;
    }
    .custom-my-head-v24s8 h3 { margin: 0; color: var(--navy); }
    .custom-my-head-v24s8 p { margin: 5px 0 0; color: var(--muted); }
    .custom-my-list-v24s8 { display: grid; gap: 12px; }
    .custom-my-card-v24s8 {
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(18,59,93,.05);
    }
    .custom-my-top-v24s8 {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }
    .custom-my-top-v24s8 h4 { margin: 0; color: var(--navy); }
    .custom-my-code-v24s8 {
      display: inline-block;
      margin-top: 4px;
      color: var(--teal);
      font-size: .74rem;
      font-weight: 800;
    }
    .custom-my-status-v24s8 {
      padding: 6px 10px;
      border-radius: 999px;
      background: #eaf8f7;
      color: #087273;
      font-size: .72rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .custom-my-progress-v24s8 {
      height: 8px;
      overflow: hidden;
      margin: 14px 0 10px;
      border-radius: 999px;
      background: #e8eef3;
    }
    .custom-my-progress-v24s8 i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: var(--teal);
    }
    .custom-my-meta-v24s8 {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }
    .custom-my-meta-v24s8 div {
      padding: 9px 10px;
      border-radius: 11px;
      background: #f5f8fb;
    }
    .custom-my-meta-v24s8 small,
    .custom-my-meta-v24s8 strong { display: block; }
    .custom-my-meta-v24s8 small { color: var(--muted); font-size: .66rem; }
    .custom-my-meta-v24s8 strong { margin-top: 3px; color: var(--ink); font-size: .76rem; }
    .custom-my-note-v24s8 {
      margin-top: 10px;
      padding: 11px 12px;
      border-left: 3px solid var(--gold);
      border-radius: 9px;
      background: #fff8e8;
      color: #76551a;
      font-size: .78rem;
      line-height: 1.6;
    }
    .custom-my-actions-v24s8 {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }
    .custom-recover-v24s8 {
      margin-top: 18px;
      padding: 18px;
      border: 1px solid #d9e4ed;
      border-radius: 16px;
      background: #fff;
    }
    .custom-recover-v24s8 h3 { margin: 0; color: var(--navy); }
    .custom-recover-v24s8 p { margin: 6px 0 14px; color: var(--muted); }
    .custom-recover-row-v24s8 {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 9px;
    }
    .custom-recover-row-v24s8 input {
      min-height: 46px;
      padding: 10px 13px;
      border: 1px solid var(--line);
      border-radius: 12px;
      outline: none;
    }
    .custom-recover-message-v24s8 {
      display: none;
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #eaf8f2;
      color: #167056;
      font-size: .78rem;
    }
    .custom-empty-v24s8 {
      padding: 36px 18px;
      border: 1px dashed #c9d7e2;
      border-radius: 16px;
      background: #fff;
      color: var(--muted);
      text-align: center;
    }
    @media (max-width: 760px) {
      .custom-member-gate-v24s8,
      .custom-my-head-v24s8 { align-items: stretch; flex-direction: column; }
      .custom-my-meta-v24s8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .custom-recover-row-v24s8 { grid-template-columns: 1fr; }
    }
  
/* =========================================================
   KruOnCloud Hosting V1 overrides
   ========================================================= */
body.koc-hosting { background:#f4f7fc; }
.koc-migration-badge{
  display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;
  background:#edf4ff;color:#2457c5;border:1px solid #d8e5ff;font-size:.74rem;font-weight:800;
}
.koc-hosting .top-actions .koc-status{
  display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;
  color:#087c77;background:#e9f8f4;border:1px solid #cceeea;font-size:.75rem;font-weight:800;
}
.koc-hosting .top-actions .koc-status i{font-size:.58rem}
.koc-notice-overlay{
  position:fixed;inset:0;z-index:2147483000;display:none;place-items:center;padding:20px;
  background:rgba(7,18,48,.62);backdrop-filter:blur(7px);
}
.koc-notice-overlay.show{display:grid}
.koc-notice-card{
  width:min(470px,100%);background:#fff;border-radius:24px;border:1px solid #e1e7f2;
  box-shadow:0 32px 90px rgba(0,0,0,.28);padding:24px;
}
.koc-notice-icon{
  width:58px;height:58px;display:grid;place-items:center;border-radius:18px;
  background:#eef3ff;color:#2457c5;font-size:1.35rem;margin-bottom:15px;
}
.koc-notice-card h3{margin:0;color:#102a72;font-size:1.25rem}
.koc-notice-card p{margin:8px 0 0;color:#687187;line-height:1.7}
.koc-notice-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.koc-toast{
  position:fixed;left:50%;bottom:24px;z-index:2147483500;transform:translate(-50%,16px);
  min-width:min(420px,calc(100% - 30px));max-width:min(560px,calc(100% - 30px));
  padding:12px 15px;border-radius:14px;background:#102a72;color:#fff;
  box-shadow:0 18px 45px rgba(16,42,114,.25);opacity:0;pointer-events:none;
  transition:.2s ease;text-align:center;font-weight:700;
}
.koc-toast.show{opacity:1;transform:translate(-50%,0)}
.koc-toast.success{background:#168f87}.koc-toast.error{background:#d92f60}
.koc-announcement-overlay{
  position:fixed;inset:0;z-index:2147482500;display:none;place-items:center;padding:18px;
  background:rgba(9,20,48,.64);backdrop-filter:blur(6px)
}
.koc-announcement-overlay.show{display:grid !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important}
.koc-announcement-card{
  width:min(720px,100%);max-height:min(88vh,820px);overflow:auto;background:#fff;border-radius:24px;
  box-shadow:0 30px 90px rgba(0,0,0,.30);border:1px solid #e3e8f2
}
.koc-announcement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 12px}
.koc-announcement-head small{display:block;color:#ef356c;font-weight:800}
.koc-announcement-head h2{margin:4px 0 0;color:#102a72;font-size:1.35rem}
.koc-announcement-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid #d9e1ee;border-radius:11px;background:#f5f8fc;color:#102a72;cursor:pointer}
.koc-announcement-image{margin:0 20px 14px;overflow:hidden;border-radius:16px;border:1px solid #e1e7f0}
.koc-announcement-image img{width:100%;max-height:420px;object-fit:contain;display:block;background:#fff}
.koc-announcement-body{padding:0 20px 18px;color:#59657b;line-height:1.75;white-space:pre-line}
.koc-announcement-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px 18px;border-top:1px solid #e6ebf3;background:#fafbfd}
.koc-announcement-hide{display:flex;align-items:center;gap:8px;color:#66728a;font-size:.82rem}
.koc-system-package{
  margin-top:17px;padding:14px 15px;border-radius:15px;background:#f7f9fd;border:1px solid #e2e7f1
}
.koc-system-package strong{display:block;color:#102a72;margin-bottom:8px}
.koc-system-package-list{display:flex;gap:7px;flex-wrap:wrap}
.koc-system-package-list span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #dfe5f1;color:#59657d;font-size:.75rem;font-weight:700}
.koc-gallery{margin-top:20px}
.koc-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.koc-gallery-head strong{color:#102a72}
.koc-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.koc-gallery-grid button{border:0;padding:0;background:#eef2f7;border-radius:13px;overflow:hidden;cursor:pointer;aspect-ratio:16/10}
.koc-gallery-grid img{width:100%;height:100%;object-fit:cover;display:block}
.koc-lightbox{position:fixed;inset:0;z-index:2147483600;display:none;place-items:center;padding:22px;background:rgba(2,9,24,.90)}
.koc-lightbox.show{display:grid}
.koc-lightbox img{max-width:min(1200px,94vw);max-height:88vh;object-fit:contain;border-radius:12px;background:#fff}
.koc-lightbox-close{position:absolute;right:22px;top:20px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#102a72;cursor:pointer;font-size:1.1rem}
.koc-contact-saving{opacity:.7;pointer-events:none}
.koc-hosting .system-card{cursor:pointer}
.koc-hosting .system-card .system-actions button{position:relative;z-index:2}
.koc-hosting .member-idea-action[disabled]{opacity:.75;cursor:pointer}

/* Stage 2: PHP member authentication */
.koc-auth-dialog{
  width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;
  border:0;border-radius:24px;background:#fff;color:#26334c;box-shadow:0 28px 90px rgba(15,35,85,.28);overflow:hidden
}
.koc-auth-dialog::backdrop{background:rgba(17,30,62,.64);backdrop-filter:blur(7px)}
.koc-auth-dialog[open]{animation:kocAuthIn .2s ease both}
@keyframes kocAuthIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
.koc-auth-shell{max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden}
.koc-auth-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e6ebf4;background:#f8faff}
.koc-auth-brand{display:flex;align-items:center;gap:12px;min-width:0}.koc-auth-brand img{width:46px;height:46px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #e2e8f4;padding:4px}
.koc-auth-brand small,.koc-auth-brand strong{display:block}.koc-auth-brand small{color:#738099;font-size:.72rem;font-weight:700}.koc-auth-brand strong{color:#102a72;font-size:1.08rem;font-weight:900}
.koc-auth-close{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dde4f0;border-radius:12px;background:#fff;color:#526079;cursor:pointer;font-size:1rem}.koc-auth-close:hover{color:#fff;background:#102a72;border-color:#102a72}
#kocAuthGuest{min-height:0;overflow:auto;padding:20px 22px 24px}
.koc-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;border-radius:14px;background:#eef2f9}.koc-auth-tabs button{padding:11px 14px;border:0;border-radius:10px;background:transparent;color:#65718a;font:800 .88rem 'Sarabun',sans-serif;cursor:pointer}.koc-auth-tabs button.active{color:#fff;background:#102a72;box-shadow:0 7px 18px rgba(16,42,114,.2)}
.koc-auth-panel{display:none;padding-top:20px}.koc-auth-panel.active{display:block}.koc-auth-intro{margin-bottom:16px;text-align:center}.koc-auth-intro h3{margin:0 0 5px;color:#102a72;font-size:1.22rem}.koc-auth-intro p{margin:0;color:#6a768d;font-size:.84rem;line-height:1.65}
.koc-auth-form{display:grid;gap:14px}.koc-auth-form label{display:grid;gap:7px;color:#34415a;font-size:.8rem;font-weight:800}.koc-auth-form label>span{display:flex;align-items:center;gap:7px}.koc-auth-form label>span i{width:16px;color:#18a39b;text-align:center}.koc-auth-form input,.koc-auth-form select{width:100%;height:44px;padding:0 13px;border:1px solid #d8e0ed;border-radius:11px;outline:none;background:#fff;color:#26334c;font:500 .88rem 'Sarabun',sans-serif;transition:.18s}.koc-auth-form input:focus,.koc-auth-form select:focus{border-color:#4369c7;box-shadow:0 0 0 3px rgba(67,105,199,.12)}.koc-auth-form label small{color:#77839a;font-weight:500;font-size:.7rem;line-height:1.5}
.koc-password-wrap{position:relative}.koc-password-wrap input{padding-right:46px}.koc-password-wrap button{position:absolute;right:5px;top:5px;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#6c7890;cursor:pointer}.koc-password-wrap button:hover{color:#102a72;background:#edf2ff}
.koc-auth-submit{height:46px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;color:#fff;background:#102a72;font:800 .9rem 'Sarabun',sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(16,42,114,.18)}.koc-auth-submit:hover{background:#17398f}.koc-auth-submit:disabled{opacity:.65;cursor:wait}
.koc-auth-message{display:none;padding:10px 12px;border-radius:10px;font-size:.78rem;line-height:1.55}.koc-auth-message.show{display:block}.koc-auth-message.error{color:#a32c47;background:#fff0f3;border:1px solid #ffd0da}.koc-auth-message.success{color:#08746e;background:#eafaf8;border:1px solid #bdebe6}.koc-auth-message.info{color:#2853a4;background:#eef3ff;border:1px solid #cfdbfa}
.koc-auth-resend{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:15px;color:#718099;font-size:.75rem}.koc-auth-resend button{border:0;background:transparent;color:#2457c5;font:800 .75rem 'Sarabun',sans-serif;cursor:pointer;text-decoration:underline}
.koc-register-grid{grid-template-columns:1fr 1fr;column-gap:14px}.koc-register-full{grid-column:1/-1}.koc-auth-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.koc-auth-account{padding:34px 24px 30px;text-align:center;overflow:auto}.koc-account-avatar{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 16px;border-radius:22px;color:#fff;background:#18a39b;font-size:1.75rem}.koc-auth-account h3{margin:0 0 5px;color:#102a72;font-size:1.35rem}.koc-auth-account p{margin:0;color:#6d7890}.koc-account-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:17px 0 22px}.koc-account-badges span{padding:6px 10px;border-radius:999px;color:#244b9d;background:#edf2ff;font-size:.72rem;font-weight:900}.koc-account-badges span:last-child{color:#08746e;background:#e7faf7}.koc-account-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.koc-account-actions button{padding:10px 15px;border:1px solid #d7dfec;border-radius:11px;background:#fff;color:#33415b;font:800 .8rem 'Sarabun',sans-serif;cursor:pointer}.koc-account-actions button.danger{color:#b0324f;border-color:#f0cbd4;background:#fff7f9}
.koc-member-ready{color:#08746e!important;background:#e9faf8!important;border-color:#bfe9e4!important}
body.koc-auth-open{overflow:hidden}
@media(max-width:650px){.koc-auth-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:18px}.koc-auth-shell{max-height:calc(100dvh - 12px)}.koc-auth-head{padding:14px 15px}#kocAuthGuest{padding:14px 15px 20px}.koc-register-grid{grid-template-columns:1fr}.koc-register-full{grid-column:auto}.koc-auth-tabs button{padding:10px 8px;font-size:.79rem}.koc-auth-intro{text-align:left}.koc-auth-resend{align-items:flex-start;flex-direction:column}}

/* ===== Stage 2.1: restore original member experience ===== */
#kocAuthDialog{display:none!important}
.member-modal.login-mode .member-tabs,.member-modal.register-mode .member-tabs{display:none}
.member-center-view .empty-state{display:grid;place-items:center;gap:9px;min-height:190px;padding:28px;border:1px dashed #d7dfec;border-radius:16px;color:#7b879c;background:#fafbfd;text-align:center}
.member-center-view .empty-state i{font-size:1.7rem;color:#2457c5}.member-center-view .empty-state p{margin:0}
.vip-signup-qr img{width:100%;height:100%;display:block;object-fit:contain}
.koc-hosting .hero-showcase .showcase-head span{font-weight:800}
.koc-hosting .footer-bottom{padding-bottom:26px}
.koc-hosting .detail-toolbar .btn{white-space:nowrap}
.koc-public-only-note{
  display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;padding:11px 13px;border-radius:13px;
  background:#fff8e8;border:1px solid #f2d785;color:#795300;font-size:.82rem;line-height:1.55
}
@media(max-width:720px){
  .koc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .koc-hosting .top-actions .koc-status{display:none}
  .koc-notice-actions{flex-direction:column}
  .koc-notice-actions .btn{width:100%}
}


/* =======================================================
   KOC STABILITY PATCH 2026-08-31
   - จำกัดพื้นที่ตัวอย่างสลิป
   - หน้ากำลังเปลี่ยนสถานะตอน Logout / Reload
   ======================================================= */
.vip-preview-side {
  min-height: 0 !important;
}
.vip-slip-preview {
  flex: 0 0 260px !important;
  width: 100%;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  padding: 10px;
}
.vip-slip-preview > img,
.vip-slip-preview .vip-preview-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 9px;
  background: #fff;
}
.vip-slip-preview .vip-preview-pdf {
  width: 100%;
  height: 100%;
  min-height: 0;
}
@media (max-width: 720px) {
  .vip-slip-preview {
    flex-basis: 220px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }
}

body.koc-transition-lock { overflow: hidden !important; }
.koc-page-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 20, 50, .68);
  backdrop-filter: blur(8px);
}
.koc-page-transition.show { display: grid; }
.koc-page-transition-card {
  width: min(390px, 100%);
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 18, 46, .30);
  text-align: center;
}
.koc-page-transition-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 18px;
  color: #fff;
  background: #102a72;
  font-size: 1.2rem;
}
.koc-page-transition-icon i { animation: spin .85s linear infinite; }
.koc-page-transition-card strong {
  display: block;
  color: #102a72;
  font-size: 1.08rem;
  font-weight: 900;
}
.koc-page-transition-card span {
  display: block;
  margin-top: 7px;
  color: #687187;
  font-size: .82rem;
  line-height: 1.55;
}

/* =========================================================
   KruOnCloud 2.5 — Request System workflow (Hosting)
   ย้ายพฤติกรรมขอรับระบบจาก GAS เดิมมาใช้กับ PHP/MySQL
   ========================================================= */
body.koc-request-open{overflow:hidden}
.koc-request-dialog{width:min(900px,calc(100vw - 28px));max-width:900px;height:min(880px,calc(100dvh - 34px));max-height:calc(100dvh - 34px);padding:0;border:0;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(10,30,74,.30);overflow:hidden;color:#17234d}
.koc-request-dialog::backdrop{background:rgba(13,28,58,.62);backdrop-filter:blur(5px)}
.koc-request-shell{display:grid;grid-template-rows:auto 1fr auto;height:100%;min-height:0;margin:0;background:#fff}
.koc-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid #e3e9f3;background:linear-gradient(180deg,#fff,#fbfcff)}
.koc-request-head h2{margin:4px 0 3px;color:#102a72;font-size:1.28rem;line-height:1.25}.koc-request-head p{margin:0;color:#72809a;font-size:.86rem}
.koc-request-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#0f8b8d;font-size:.72rem;font-weight:800}.koc-request-close{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dbe4f1;border-radius:12px;background:#f7f9fd;color:#102a72;cursor:pointer;font-size:1rem}.koc-request-close:hover{background:#edf2ff}
.koc-request-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:260px;color:#60708e;font-weight:700}.koc-request-loading i{color:#0f8b8d;font-size:1.15rem}
.koc-request-body{min-height:0;overflow:auto;padding:20px 24px 24px;display:grid;gap:15px;background:#f7f9fd}.koc-request-body[hidden]{display:none!important}
.koc-request-member{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #d9e3f1;border-radius:16px;background:#fff}.koc-request-member-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#102a72;color:#fff;font-size:1.12rem}.koc-request-member-copy{min-width:0;display:grid;gap:4px}.koc-request-member-copy>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.koc-request-member-copy>span,.koc-request-member-copy small{color:#65718a;font-size:.78rem}.koc-request-member-copy small i{color:#18a8a1;margin-right:5px}.koc-request-member-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2ff;color:#2457c5;font-size:.66rem;font-weight:900}.koc-request-member-badge.vip{background:#fff0b8;color:#7a5700;border:1px solid #f2cf54}
.koc-request-vip-choice,.koc-request-support,.koc-request-payment{border:1px solid #e2e8f3;border-radius:18px;background:#fff;padding:17px}.koc-request-vip-choice[hidden],.koc-request-support[hidden],.koc-request-payment[hidden],.koc-request-vip-free[hidden],.koc-request-pending[hidden],.koc-request-bank-grid[hidden]{display:none!important}
.koc-request-section-title{display:grid;gap:3px;margin-bottom:13px}.koc-request-section-title>div{display:flex;align-items:center;gap:8px;color:#102a72}.koc-request-section-title>div>i{color:#0f8b8d}.koc-request-section-title small{color:#6f7c94;font-size:.78rem}
.koc-request-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.koc-request-choice{position:relative;display:block;border:1px solid #dce4f0;border-radius:14px;background:#fbfcff;cursor:pointer;transition:.18s}.koc-request-choice:hover{border-color:#9fb6db;transform:translateY(-1px)}.koc-request-choice.selected{border-color:#0f8b8d;background:#effcfb;box-shadow:0 0 0 2px rgba(15,139,141,.08)}.koc-request-choice.vip.selected{border-color:#e0aa18;background:#fff8db;box-shadow:0 0 0 2px rgba(224,170,24,.08)}.koc-request-choice input{position:absolute;opacity:0;pointer-events:none}.koc-request-choice span{display:grid;grid-template-columns:32px 1fr;column-gap:9px;row-gap:2px;padding:13px}.koc-request-choice span>i{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#edf2ff;color:#2457c5}.koc-request-choice.vip span>i{background:#fff0b8;color:#9a6800}.koc-request-choice b{color:#18356f;font-size:.88rem}.koc-request-choice small{color:#71809a;font-size:.72rem;line-height:1.45}
.koc-request-pending{display:flex;align-items:flex-start;gap:13px;padding:16px;border:1px solid #f1d278;border-radius:16px;background:#fff8dc}.koc-request-pending>i{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#ffd84c;color:#765500}.koc-request-pending strong{color:#6f5200}.koc-request-pending p{margin:5px 0 0;color:#816f39;font-size:.78rem;line-height:1.55}
.koc-request-vip-free{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #eed06e;border-radius:16px;background:#fff7d8}.koc-request-vip-free>i{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;color:#fff;background:#f2b323}.koc-request-vip-free strong,.koc-request-vip-free span{display:block}.koc-request-vip-free strong{color:#6e5000}.koc-request-vip-free span{margin-top:3px;color:#8b752f;font-size:.76rem}
.koc-request-support{border-color:#ead8ad;background:#fffaf0}.koc-request-support .koc-request-section-title>div{color:#805a12}.koc-request-support .koc-request-section-title>div>i{color:#d49a00}
.koc-request-support-choices{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:13px}.koc-request-support-choices[hidden]{display:none!important}.koc-request-support-choices label{flex:1;min-width:180px;position:relative;cursor:pointer}.koc-request-support-choices input{position:absolute;opacity:0}.koc-request-support-choices span{display:flex;align-items:center;gap:9px;padding:12px 13px;border:1px solid #e6d7b5;border-radius:12px;background:#fff;color:#73591e}.koc-request-support-choices input:checked+span{border-color:#d4a11c;background:#fff5cf;box-shadow:0 0 0 2px rgba(212,161,28,.08)}
.koc-request-bank-grid{display:grid;grid-template-columns:165px minmax(0,1fr);gap:17px;align-items:center;padding:14px;border:1px solid #e5eaf2;border-radius:15px;background:#fff}.koc-request-qr{width:165px;aspect-ratio:1;display:grid;place-items:center;border:1px dashed #cfd9e8;border-radius:14px;background:#fbfcff;color:#9aa9bf;font-size:3rem;overflow:hidden}.koc-request-qr img{width:100%;height:100%;object-fit:contain;display:block}.koc-request-bank-copy{display:grid;gap:8px;color:#53627d;font-size:.8rem}.koc-request-account-row{display:flex;align-items:center;gap:9px}.koc-request-account-row b{font-size:1rem;color:#102a72;letter-spacing:.02em}.koc-request-account-row button{border:1px solid #d8e1ee;border-radius:9px;background:#f5f8fd;color:#102a72;padding:7px 9px;cursor:pointer;font-family:inherit}.koc-request-account-row button:hover{background:#eaf0fa}
.koc-request-amount,.koc-request-file{display:grid;gap:6px;margin-top:2px}.koc-request-amount[hidden]{display:none!important}.koc-request-amount span,.koc-request-file span{font-weight:800;color:#33415e;font-size:.77rem}.koc-request-amount input,.koc-request-file input{width:100%;box-sizing:border-box;border:1px solid #ccd7e8;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;color:#17234d}.koc-request-amount input:focus,.koc-request-file input:focus{outline:0;border-color:#0f8b8d;box-shadow:0 0 0 3px rgba(15,139,141,.10)}.koc-request-file span b{color:#e13761}.koc-request-file small{color:#8894a8;font-size:.68rem}
.koc-request-payment.vip-panel{border-color:#efd26f;background:#fff9e5}.koc-request-payment-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.koc-request-payment-top>div{display:grid;gap:3px}.koc-request-payment-top span{color:#7d6a33;font-size:.76rem}.koc-request-payment-top strong{color:#102a72;font-size:1.2rem}.koc-request-pill{display:inline-flex!important;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:#ffd84c;color:#6b4d00!important;font-weight:800!important}
.koc-request-email-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:13px;background:#eef4ff;color:#536783;font-size:.76rem;line-height:1.5}.koc-request-email-note i{color:#2457c5;margin-top:2px}.koc-request-message{display:none;padding:11px 13px;border-radius:11px;font-size:.78rem;font-weight:700}.koc-request-message.show{display:block}.koc-request-message.error{background:#fff0f4;color:#b51f49;border:1px solid #f1b4c4}.koc-request-message.success{background:#eefbf5;color:#15734a;border:1px solid #bde9d2}.koc-request-message.info{background:#edf4ff;color:#2457c5;border:1px solid #cbdcf8}
.koc-request-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #e3e9f3;background:#fff}.koc-request-foot .btn{min-width:110px}
.koc-request-result{min-height:330px;display:grid;place-items:center;text-align:center;align-content:center;gap:10px;padding:28px 18px}.koc-request-result-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:22px;background:#eaf9f7;color:#0f8b8d;font-size:1.7rem}.koc-request-result.pending .koc-request-result-icon{background:#fff3c9;color:#9a6800}.koc-request-result h3{margin:3px 0 0;color:#102a72;font-size:1.25rem}.koc-request-result p{max-width:580px;margin:0;color:#66758e;line-height:1.6}.koc-request-code{margin-top:5px;padding:9px 14px;border-radius:10px;background:#f0f4fb;color:#102a72;font-weight:900;letter-spacing:.04em}.koc-request-result-actions{margin-top:8px}
@media(max-width:720px){.koc-request-dialog{width:calc(100vw - 14px);height:calc(100dvh - 14px);max-height:calc(100dvh - 14px);border-radius:18px}.koc-request-head{padding:17px 16px 14px}.koc-request-body{padding:14px}.koc-request-choice-grid{grid-template-columns:1fr}.koc-request-bank-grid{grid-template-columns:1fr}.koc-request-qr{width:min(220px,100%);margin:auto}.koc-request-member{align-items:flex-start}.koc-request-foot{padding:12px 14px}.koc-request-foot .btn{flex:1;min-width:0}.koc-request-payment-top{align-items:flex-start;flex-direction:column}}
.koc-request-vip-promo{display:inline-flex;align-items:center;gap:5px;margin-top:4px;color:#a16600!important;font-size:.7rem!important;font-weight:800;line-height:1.4}.koc-request-vip-promo[hidden]{display:none!important}.koc-request-vip-promo s{color:#a96a78}


/* =========================================================
   KOC 2.7 — Public header + Request page parity with GAS
   ========================================================= */
/* โลโก้ใช้ PNG โปร่งใสจริง ไม่สร้างแผ่นสีขาว/กรอบซ้อน */
.header-logo-link,
.header-logo-link .brand-logo,
.brand-logo {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.header-logo-link::after { display:none !important; content:none !important; }
.header-logo-link { border-radius:0 !important; overflow:visible; }
.header-logo-link .brand-logo { object-fit:contain; border-radius:0 !important; }

/* ปุ่มสมาชิกมุมขวา: คืนรูปแบบเดิมที่เห็นสถานะ + ชื่อ + VIP */
.member-top-button {
  min-height:48px !important;
  width:auto !important;
  max-width:min(330px,34vw) !important;
  padding:6px 10px 6px 8px !important;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #dbe4f3 !important;
  border-radius:12px !important;
  color:#102a72 !important;
  background:#f3f6fc !important;
}
.member-top-button .member-account-icon { display:grid !important; }
.member-top-button .member-button-copy { display:grid !important; }
.member-top-button .member-menu-chevron { display:inline-block !important; }
.member-top-button .mini-vip { display:inline-flex; }

/* หน้าขอรับระบบให้เหมือนหน้าเดิม: เต็มพื้นที่ใต้ header ไม่ใช่ popup กลางจอ */
body.koc-request-open { overflow:hidden; }
.koc-request-dialog[open] {
  position:fixed !important;
  inset:74px 0 0 0 !important;
  z-index:80 !important;
  width:100% !important;
  max-width:none !important;
  height:calc(100dvh - 74px) !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f4f7fc !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.koc-request-dialog::backdrop { background:transparent !important; backdrop-filter:none !important; }
.koc-request-shell {
  width:min(1180px,calc(100% - 34px));
  height:calc(100dvh - 94px);
  margin:10px auto;
  border:1px solid #dce4f0;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 13px 36px rgba(16,42,114,.08);
  background:#fff;
}
.koc-request-head { padding:18px 22px 15px; background:#fff; }
.koc-request-head h2 { font-size:1.16rem; }
.koc-request-head p { max-width:900px; }
.koc-request-body {
  display:flex !important;
  flex-direction:column;
  gap:14px;
  padding:16px 22px 22px;
  background:#f8faff;
}
.koc-request-body[hidden] { display:none !important; }
.koc-request-loading[hidden],
.koc-request-vip-choice[hidden],
.koc-request-support[hidden],
.koc-request-payment[hidden],
.koc-request-vip-free[hidden],
.koc-request-pending[hidden],
.koc-request-bank-grid[hidden],
.koc-request-support-choices[hidden],
.koc-request-vip-promo[hidden],
.koc-request-amount[hidden] { display:none !important; }
.koc-request-member {
  width:100%;
  box-sizing:border-box;
  padding:14px 16px;
  border-color:#bee6e2;
  background:#eefbf9;
}
.koc-request-member-icon { width:44px; height:44px; border-radius:12px; }
.koc-request-member-copy>div strong { color:#0b6461; }
.koc-request-member-copy>span { color:#637b85; }
.koc-request-vip-choice,
.koc-request-support,
.koc-request-payment,
.koc-request-vip-free,
.koc-request-pending { width:100%; box-sizing:border-box; }
.koc-request-vip-free { min-height:74px; }
.koc-request-support { padding:18px; }
.koc-request-support-choices { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.koc-request-support-choices label { min-width:0; }
.koc-request-bank-grid { grid-template-columns:160px minmax(0,1fr); }
.koc-request-email-note { width:fit-content; max-width:100%; }
.koc-request-foot { padding:12px 22px; }

@media (max-width: 760px) {
  .koc-request-dialog[open] { inset:64px 0 0 0 !important; height:calc(100dvh - 64px) !important; }
  .koc-request-shell { width:100%; height:100%; margin:0; border:0; border-radius:0; }
  .koc-request-body { padding:14px; }
  .koc-request-support-choices { grid-template-columns:1fr; }
  .koc-request-bank-grid { grid-template-columns:1fr; }
  .member-top-button { max-width:220px !important; }
  .member-button-copy b { max-width:110px !important; }
}

body.koc-request-open .topbar{z-index:100 !important;}
.koc-request-back{width:auto !important;min-width:70px;padding:0 12px;display:inline-flex !important;gap:7px;}
.koc-request-back span{font-family:inherit;font-size:.78rem;font-weight:800;}
.koc-request-member-logout{margin-left:auto;flex:0 0 auto;}
@media(max-width:640px){.koc-request-member{flex-wrap:wrap}.koc-request-member-logout{width:100%;margin-left:0}}


/* ===== REQUEST FLOW RELIABILITY V2.8 ===== */
body.koc-request-open .topbar{z-index:120 !important;pointer-events:auto !important;}
body.koc-request-open .topbar *{pointer-events:auto !important;}
.koc-request-dialog[open]{z-index:80 !important;}
.koc-request-vip-price-line{display:flex !important;align-items:baseline;gap:7px;margin-top:2px;line-height:1;}
.koc-request-vip-price-line #systemRequestVipPrice{font-size:2.15rem !important;line-height:.95;font-weight:950;color:#102a72;letter-spacing:-.035em;}
.koc-request-vip-price-line em{font-style:normal;font-size:.86rem;font-weight:850;color:#536783;}
.koc-request-code-wrap{display:grid;gap:6px;margin-top:8px;}
.koc-request-code-wrap>small{color:#7b879b;font-size:.72rem;font-weight:800;}
.koc-request-code{font-size:1.08rem !important;padding:11px 16px !important;}
.koc-request-result-note{max-width:620px;padding:10px 13px;border-radius:10px;background:#fff8dc;border:1px solid #efd27a;color:#79601f;font-size:.76rem;line-height:1.5;}
@media(max-width:760px){body.koc-request-open .topbar{z-index:130 !important;}.koc-request-vip-price-line #systemRequestVipPrice{font-size:1.9rem !important;}}

/* ===== KruOnCloud Custom Work Center ===== */
.koc-custom-work-overlay{position:fixed;inset:0;z-index:12000;display:none;background:rgba(8,22,58,.64);backdrop-filter:blur(7px);padding:24px;overflow:auto}
.koc-custom-work-overlay.show{display:block}.koc-custom-work-shell{width:min(1120px,100%);margin:0 auto;background:#f7f9fd;border:1px solid rgba(255,255,255,.5);border-radius:26px;box-shadow:0 30px 90px rgba(7,24,58,.28);overflow:hidden;min-height:min(820px,calc(100vh - 48px))}
.koc-custom-work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px;background:#fff;border-bottom:1px solid #dfe6f1}.koc-custom-work-head h2{margin:4px 0 6px;color:#102a72;font-size:1.55rem}.koc-custom-work-head p{margin:0;color:#68758e;line-height:1.55}.koc-custom-work-kicker{display:inline-flex;gap:7px;align-items:center;color:#0e918e;font-size:.74rem;font-weight:900;letter-spacing:.08em}.koc-custom-work-close{width:42px;height:42px;display:grid;place-items:center;border:1px solid #dce4ef;border-radius:13px;background:#fff;color:#66728a;font-size:1.05rem;cursor:pointer;flex:none}.koc-custom-work-close:hover{background:#f1f4f9;color:#102a72}
.koc-custom-queue-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 28px 0}.koc-custom-queue-summary article{display:flex;gap:12px;align-items:center;padding:14px 16px;background:#fff;border:1px solid #e1e7f0;border-radius:16px}.koc-custom-queue-summary article>i{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#edf3ff;color:#2457c5}.koc-custom-queue-summary article:nth-child(2)>i{background:#e8f8f6;color:#0b8e89}.koc-custom-queue-summary article:nth-child(3)>i{background:#ecf9ef;color:#2f8c4e}.koc-custom-queue-summary strong,.koc-custom-queue-summary span{display:block}.koc-custom-queue-summary strong{font-size:1.25rem;color:#14254b}.koc-custom-queue-summary span{font-size:.75rem;color:#758097;margin-top:2px}
.koc-custom-work-tabs{display:flex;gap:8px;padding:18px 28px 0}.koc-custom-work-tabs button{display:inline-flex;align-items:center;gap:7px;border:1px solid #dbe3ef;background:#fff;color:#64718a;border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.koc-custom-work-tabs button.active{background:#102a72;border-color:#102a72;color:#fff;box-shadow:0 7px 18px rgba(16,42,114,.16)}
.koc-custom-work-body{padding:18px 28px 30px}.koc-custom-pane{display:none}.koc-custom-pane.active{display:block}.koc-custom-member-gate{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin-bottom:16px;border:1px solid #d7e2f0;border-radius:16px;background:#fff}.koc-custom-member-gate.logged{border-color:#cce8e5;background:#f5fcfb}.koc-custom-member-gate strong,.koc-custom-member-gate span{display:block}.koc-custom-member-gate strong{color:#16315e}.koc-custom-member-gate span{margin-top:3px;color:#6c788e;font-size:.78rem}.koc-custom-member-actions{display:flex;gap:8px;flex-wrap:wrap}
.koc-custom-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#fff;border:1px solid #e0e6ef;border-radius:20px;padding:20px}.koc-custom-form label{display:grid;gap:7px;color:#46536b;font-weight:800;font-size:.82rem}.koc-custom-form label.full,.koc-custom-form .full{grid-column:1/-1}.koc-custom-form label span>b{color:#dd3567}.koc-custom-form input,.koc-custom-form textarea,.koc-custom-form select,.koc-custom-track-form input{width:100%;box-sizing:border-box;border:1px solid #ccd6e5;border-radius:12px;background:#fff;padding:11px 12px;font:inherit;color:#26364f;outline:none}.koc-custom-form input:focus,.koc-custom-form textarea:focus,.koc-custom-form select:focus,.koc-custom-track-form input:focus{border-color:#18a8a1;box-shadow:0 0 0 3px rgba(24,168,161,.1)}.koc-custom-form textarea{resize:vertical;min-height:90px}.koc-custom-form-section{display:flex;align-items:center;gap:10px;padding:10px 2px 3px;border-bottom:1px solid #edf0f5}.koc-custom-form-section strong{color:#102a72}.koc-custom-form-section strong i{color:#18a8a1;margin-right:5px}.koc-custom-form-section span{color:#7b8598;font-size:.74rem;font-weight:500;margin-left:auto}
.koc-custom-file-box{padding:15px;border:1px dashed #c8d4e5;border-radius:14px;background:#fafcff}.koc-custom-file-box>span{display:flex;gap:7px;align-items:center}.koc-custom-file-box small{font-weight:500;color:#818ca1}.koc-custom-file-list{display:flex;gap:7px;flex-wrap:wrap}.koc-custom-file-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:9px;background:#eef3fa;color:#52617a;font-size:.72rem;font-weight:700}.koc-custom-file-chip.bad{background:#fff0f4;color:#b22a56}.koc-custom-submit{display:flex;align-items:center;gap:12px;justify-content:flex-end;padding-top:5px}.koc-custom-submit small{color:#7b8698;font-size:.74rem}.koc-custom-message{display:none;padding:11px 13px;border-radius:12px;font-size:.82rem}.koc-custom-message.show{display:block}.koc-custom-message.error{background:#fff0f4;color:#a42950}.koc-custom-message.info{background:#eef6ff;color:#2457a8}
.koc-custom-result{padding:28px;text-align:center;background:#fff;border:1px solid #dfe6ef;border-radius:20px}.koc-custom-result-icon{width:64px;height:64px;margin:0 auto 12px;display:grid;place-items:center;border-radius:20px;background:#e7f8f4;color:#0a928b;font-size:1.6rem}.koc-custom-result h3{margin:0;color:#102a72}.koc-custom-result p{color:#6d7990}.koc-custom-result-code{display:inline-block;margin:8px auto;padding:10px 16px;border:1px dashed #a9b9cf;border-radius:12px;background:#f7f9fc;color:#102a72;font-weight:900;letter-spacing:.04em}.koc-custom-result-actions{display:flex;justify-content:center;gap:8px;margin-top:14px;flex-wrap:wrap}
.koc-custom-track-card{max-width:680px;margin:10px auto 18px;padding:26px;text-align:center;background:#fff;border:1px solid #dfe6ef;border-radius:20px}.koc-custom-track-icon{width:60px;height:60px;margin:0 auto 12px;display:grid;place-items:center;border-radius:18px;background:#edf3ff;color:#2457c5;font-size:1.4rem}.koc-custom-track-card h3{margin:0;color:#102a72}.koc-custom-track-card p{color:#748097}.koc-custom-track-form{display:flex;gap:8px;margin-top:16px}.koc-custom-track-form input{flex:1}.koc-custom-track-result{background:#fff;border:1px solid #dfe6ef;border-radius:20px;padding:20px;margin-top:14px}
.koc-custom-mine-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.koc-custom-mine-stat{padding:13px 14px;border:1px solid #e0e6ef;border-radius:14px;background:#fff}.koc-custom-mine-stat strong,.koc-custom-mine-stat span{display:block}.koc-custom-mine-stat strong{color:#102a72;font-size:1.15rem}.koc-custom-mine-stat span{color:#7b8698;font-size:.72rem;margin-top:2px}.koc-custom-mine-list{display:grid;gap:10px}.koc-custom-job{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px;background:#fff;border:1px solid #dfe6ef;border-radius:16px}.koc-custom-job h4{margin:0 0 5px;color:#17315c}.koc-custom-job-meta{display:flex;gap:8px;flex-wrap:wrap;color:#748096;font-size:.75rem}.koc-custom-progress{height:8px;margin-top:11px;border-radius:999px;background:#edf1f6;overflow:hidden}.koc-custom-progress i{display:block;height:100%;border-radius:inherit;background:#18a8a1}.koc-custom-job-actions{display:flex;align-items:center}.koc-custom-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#eef3fa;color:#50617b;font-size:.7rem;font-weight:900}.koc-custom-status.in_progress,.koc-custom-status.testing{background:#e9f8f6;color:#0d8984}.koc-custom-status.completed{background:#eaf8ee;color:#277a43}.koc-custom-status.waiting_info{background:#fff7df;color:#906b00}.koc-custom-status.rejected,.koc-custom-status.cancelled{background:#fff0f4;color:#aa2a51}
.koc-custom-detail-card{background:#fff;border:1px solid #dfe6ef;border-radius:20px;padding:20px;margin-bottom:14px}.koc-custom-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.koc-custom-detail-head h3{margin:0;color:#102a72}.koc-custom-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.koc-custom-detail-item{padding:11px 12px;border-radius:12px;background:#f7f9fc}.koc-custom-detail-item small,.koc-custom-detail-item strong{display:block}.koc-custom-detail-item small{color:#7b8698;font-size:.68rem}.koc-custom-detail-item strong{margin-top:3px;color:#253650;font-size:.82rem}.koc-custom-detail-text{margin-top:12px;padding:13px 14px;border-left:4px solid #18a8a1;border-radius:10px;background:#f4fbfb;color:#43526a;white-space:pre-line;line-height:1.6}.koc-custom-timeline{display:grid;gap:0;margin-top:16px}.koc-custom-timeline-item{position:relative;display:grid;grid-template-columns:38px 1fr;gap:10px;padding-bottom:13px}.koc-custom-timeline-item:not(:last-child)::after{content:'';position:absolute;left:18px;top:38px;bottom:0;width:2px;background:#dfe6ef}.koc-custom-timeline-dot{width:38px;height:38px;z-index:1;display:grid;place-items:center;border-radius:12px;background:#e8f8f6;color:#0c918b}.koc-custom-timeline-content{padding:10px 12px;border:1px solid #e1e7ef;border-radius:12px;background:#fff}.koc-custom-timeline-content strong{color:#17315c;font-size:.82rem}.koc-custom-timeline-content p{margin:5px 0;color:#58657b;white-space:pre-line;font-size:.8rem;line-height:1.55}.koc-custom-timeline-content small{color:#8791a3;font-size:.68rem}.koc-custom-empty{padding:28px;text-align:center;color:#7a8598;background:#fff;border:1px dashed #cad5e4;border-radius:16px}
body.koc-custom-open{overflow:hidden}
@media(max-width:760px){.koc-custom-work-overlay{padding:0}.koc-custom-work-shell{min-height:100vh;border-radius:0}.koc-custom-work-head{padding:18px}.koc-custom-queue-summary{padding:14px 16px 0;grid-template-columns:1fr}.koc-custom-work-tabs{padding:14px 16px 0;overflow-x:auto}.koc-custom-work-tabs button{white-space:nowrap}.koc-custom-work-body{padding:14px 16px 24px}.koc-custom-form{grid-template-columns:1fr;padding:15px}.koc-custom-form label.full,.koc-custom-form .full{grid-column:auto}.koc-custom-form-section{align-items:flex-start;flex-direction:column}.koc-custom-form-section span{margin-left:0}.koc-custom-submit{align-items:stretch;flex-direction:column}.koc-custom-submit .btn{width:100%}.koc-custom-track-form{flex-direction:column}.koc-custom-mine-summary{grid-template-columns:repeat(2,1fr)}.koc-custom-job{grid-template-columns:1fr}.koc-custom-job-actions .btn{width:100%}.koc-custom-detail-grid{grid-template-columns:1fr}.koc-custom-member-gate{align-items:flex-start;flex-direction:column}}

/* =======================================================
   V30.1 — NEW SYSTEMS POPUP REFRESH
   ======================================================= */
.index-new-systems-dialog {
  width: min(880px, calc(100% - 24px));
  max-height: min(92vh, 840px);
  border-radius: 28px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 24%, #ffffff 100%);
  box-shadow: 0 36px 90px rgba(7, 20, 55, .34);
}
.index-new-systems-dialog::backdrop {
  background: rgba(10, 21, 49, .68);
  backdrop-filter: blur(8px);
}
.index-new-head {
  padding: 18px 22px 16px;
  border-top: 5px solid #f2b323;
  border-bottom: 1px solid #e8eef8;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 72%, #eef4ff 100%);
}
.index-new-head-copy { min-width: 0; }
.index-new-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #6b7a96;
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 1px #dce6f5;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.index-new-head strong {
  gap: 9px;
  color: #102a72;
  font-size: 1.16rem;
}
.index-new-head strong i { color: #f2b323; }
.index-new-head small {
  margin-top: 5px;
  color: #6b7690;
  font-size: .79rem;
  line-height: 1.5;
}
.index-new-close {
  flex: 0 0 auto;
  min-width: 42px;
  min-height: 42px;
  border-radius: 14px;
}
.index-new-tabs {
  gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(180deg, rgba(242,246,255,.95) 0%, rgba(250,252,255,.95) 100%);
}
.index-new-tab {
  display: inline-grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  max-width: 250px;
  min-height: 48px;
  padding: 8px 12px 8px 9px;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  color: #44526f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 14px rgba(11, 31, 70, .05);
}
.index-new-tab:hover {
  transform: translateY(-1px);
  border-color: #c4d6f2;
  box-shadow: 0 10px 20px rgba(11, 31, 70, .08);
}
.index-new-tab.active {
  border-color: #17398a;
  color: #0f234f;
  background: linear-gradient(135deg, #eaf2ff 0%, #ffffff 100%);
  box-shadow: 0 12px 26px rgba(16, 42, 114, .16);
}
.index-new-tab-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #7d8aa7;
  background: #eef3fb;
  font-size: .75rem;
  font-weight: 900;
}
.index-new-tab.active .index-new-tab-index {
  color: #fff;
  background: linear-gradient(135deg, #17398a 0%, #2755c9 100%);
}
.index-new-tab-copy {
  min-width: 0;
  display: block;
  text-align: left;
}
.index-new-tab-copy b,
.index-new-tab-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.index-new-tab-copy b {
  font-size: .76rem;
  line-height: 1.28;
}
.index-new-tab-copy small {
  margin-top: 2px;
  color: #78849c;
  font-size: .66rem;
  font-weight: 700;
}
.index-new-stage { padding: 18px 20px 14px; }
.index-new-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid #e7edf7;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
}
.index-new-cover-shell { position: relative; }
.index-new-cover {
  border-radius: 20px;
  border: 1px solid #dde7f3;
  box-shadow: 0 18px 34px rgba(16,42,114,.10);
}
.index-new-cover:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(16,42,114,.14);
}
.index-new-cover-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}
.index-new-highlight,
.index-new-meta span.recommended {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #875d00;
  background: rgba(255,247,220,.95);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  font-size: .71rem;
  font-weight: 900;
}
.index-new-highlight.latest {
  color: #fff;
  background: linear-gradient(135deg, #ff8f1f 0%, #f2b323 100%);
}
.index-new-highlight.recent {
  color: #fff;
  background: linear-gradient(135deg, #17398a 0%, #2457c5 100%);
}
.index-new-copy {
  display: grid;
  align-content: space-between;
  gap: 14px;
}
.index-new-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #5b6b89;
  background: #f3f7fc;
  font-size: .68rem;
  font-weight: 800;
}
.index-new-copy h3 {
  margin: 0;
  color: #102a72;
  font-size: 1.28rem;
  line-height: 1.38;
}
.index-new-description {
  margin: 9px 0 0;
  color: #5f6d86;
  font-size: .86rem;
  line-height: 1.65;
}
.index-new-meta {
  margin-bottom: 0;
  gap: 8px;
}
.index-new-meta span {
  padding: 7px 11px;
  color: #5e6780;
  background: #f5f8fc;
  font-size: .72rem;
}
.index-new-meta span.version {
  color: #2457c5;
  background: #edf3ff;
}
.index-new-meta span.recommended {
  color: #9a6a00;
  background: #fff3cf;
}
.index-new-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.index-new-open {
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #112c74 0%, #214fb9 100%);
  box-shadow: 0 16px 28px rgba(16, 42, 114, .18);
  font-size: .82rem;
}
.index-new-open:hover { transform: translateY(-1px); }
.index-new-nav-actions {
  display: flex;
  gap: 8px;
}
.index-new-nav {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d9e4f3;
  border-radius: 14px;
  color: #17398a;
  background: #fff;
  cursor: pointer;
}
.index-new-nav:hover:not(:disabled) {
  background: #f5f8ff;
  border-color: #c7d7ee;
}
.index-new-nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.index-new-foot {
  padding: 12px 20px 18px;
  border-top: 1px solid #edf2fa;
  color: #6f7a92;
  font-size: .73rem;
}
.index-new-counter {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: #17398a;
}
.index-new-empty {
  padding: 28px 20px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  border: 1px dashed #d9e3f1;
  border-radius: 22px;
  background: #fbfdff;
  color: #6a7692;
}
.index-new-empty i {
  font-size: 1.8rem;
  color: #2457c5;
}
.index-new-empty strong {
  color: #17366f;
  font-size: 1rem;
}
@media (max-width: 760px) {
  .index-new-systems-dialog {
    width: min(96vw, 640px);
    border-radius: 22px;
  }
  .index-new-head,
  .index-new-stage,
  .index-new-foot { padding-left: 14px; padding-right: 14px; }
  .index-new-tabs { padding: 12px 14px 10px; }
  .index-new-tab { max-width: 220px; }
  .index-new-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 13px;
    border-radius: 20px;
  }
  .index-new-copy h3 { font-size: 1.08rem; }
  .index-new-description { font-size: .8rem; }
  .index-new-actions { flex-direction: column; align-items: stretch; }
  .index-new-nav-actions { justify-content: flex-end; }
}
@media (max-width: 520px) {
  .index-new-head strong { font-size: 1rem; }
  .index-new-tab {
    max-width: 190px;
    min-height: 44px;
    border-radius: 16px;
  }
  .index-new-tab-index { width: 24px; height: 24px; font-size: .7rem; }
  .index-new-open,
  .index-new-nav { min-height: 42px; }
  .index-new-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* V30.2 — Free system idea result */
.free-idea-success{padding:28px 20px;text-align:center;border:1px solid #e5dcf7;border-radius:20px;background:linear-gradient(180deg,#fbf8ff 0%,#fff 100%)}
.free-idea-success[hidden]{display:none!important}.free-idea-success-icon{width:66px;height:66px;margin:0 auto 12px;display:grid;place-items:center;border-radius:22px;background:#eaf8ee;color:#23804a;font-size:1.7rem;box-shadow:0 12px 26px rgba(35,128,74,.12)}
.free-idea-success h3{margin:0;color:#3d236d;font-size:1.2rem}.free-idea-success p{margin:8px 0;color:#6d6281;line-height:1.55}.free-idea-code{display:inline-flex;margin:6px auto 10px;padding:9px 14px;border:1px dashed #bda9df;border-radius:12px;background:#fff;color:#4d2d81;font-weight:900;letter-spacing:.04em}.free-idea-success small{display:block;margin-bottom:14px;color:#7c718e}.free-idea-success .free-idea-submit{margin:auto}

/* ===== KruOnCloud system identity badge v3.1 ===== */
.system-cover{position:relative;isolation:isolate}
.system-logo-anchor{position:absolute;left:14px;bottom:12px;z-index:4;pointer-events:none}
.system-mini-logo{width:62px;height:62px;display:grid;place-items:center;align-content:center;gap:1px;border:2px solid rgba(255,255,255,.94);border-radius:18px;background:#102a72;color:#fff;box-shadow:0 9px 20px rgba(15,42,114,.24);transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease;overflow:hidden;position:relative}
.system-mini-logo::before{content:"";position:absolute;width:20px;height:20px;right:-6px;top:-6px;border:5px solid rgba(255,255,255,.16);border-radius:50%;pointer-events:none}
.system-mini-logo-icon{font-size:1.35rem;line-height:1;position:relative;z-index:1}
.system-mini-logo small{font:800 .52rem/1 'Sarabun',sans-serif;letter-spacing:.09em;opacity:.86;position:relative;z-index:1}
.system-mini-logo.tone-0{background:#102a72}.system-mini-logo.tone-1{background:#0f8e88}.system-mini-logo.tone-2{background:#d43169}.system-mini-logo.tone-3{background:#7a4bb7}.system-mini-logo.tone-4{background:#c88600}.system-mini-logo.tone-5{background:#1767ad}
.system-card:hover .system-mini-logo{transform:translateY(-3px) rotate(-2deg) scale(1.045);box-shadow:0 13px 26px rgba(15,42,114,.3)}
.system-cover-tags{position:absolute;left:12px;top:12px;z-index:5;display:flex;align-items:center;gap:6px;flex-wrap:wrap;max-width:65%;pointer-events:none}
.system-cover-tag{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 8px;border:1px solid rgba(255,255,255,.88);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 4px 12px rgba(16,42,114,.11);font-size:.65rem;font-weight:800;line-height:1;color:#102a72}
.system-cover-tag.is-new{color:#a35200;background:#fff8e8}.system-cover-tag.is-update{color:#075f8f;background:#edf8ff}.system-cover-tag.is-popular{color:#b22b50;background:#fff0f5}
.system-card .system-body{position:relative}
.system-title-row{min-height:28px}
@media(max-width:640px){.system-mini-logo{width:54px;height:54px;border-radius:16px}.system-mini-logo-icon{font-size:1.18rem}.system-logo-anchor{left:11px;bottom:10px}.system-cover-tags{left:9px;top:9px;max-width:70%}.system-cover-tag{font-size:.61rem;min-height:23px;padding:4px 7px}}
@media(prefers-reduced-motion:reduce){.system-mini-logo{transition:none}.system-card:hover .system-mini-logo{transform:none}}


/* ===== Showcase brand chip / logo refresh ===== */


/* ===== Hero logo relayout ===== */
.hero-brand-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:22px;margin-bottom:8px;position:relative;z-index:1}
.hero-brand-logo-wrap{width:132px;height:132px;flex:0 0 132px;display:grid;place-items:center;border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.16);box-shadow:0 20px 42px rgba(1,10,35,.28), inset 0 1px 0 rgba(255,255,255,.15);backdrop-filter:blur(6px);position:relative;overflow:hidden}
.hero-brand-logo-wrap::before{content:"";position:absolute;inset:10px;border-radius:22px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 58%)}
.hero-brand-logo-wrap::after{content:"";position:absolute;right:-14px;bottom:-14px;width:62px;height:62px;border-radius:50%;background:radial-gradient(circle,rgba(86,214,206,.26),rgba(86,214,206,0) 72%)}
.hero-brand-logo-wrap img{position:relative;z-index:1;width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 10px 16px rgba(0,0,0,.18))}
.hero-brand-copy{min-width:0}
.hero-brand-copy h1{margin:0}
.hero-brand-copy p{margin:14px 0 0;color:rgba(232,239,255,.82);font-size:1rem;line-height:1.7;max-width:760px}
@media(max-width:980px){.hero-brand-logo-wrap{width:118px;height:118px;border-radius:28px}.hero-brand-logo-wrap img{width:82px;height:82px}.hero-brand-row{gap:18px}}
@media(max-width:760px){.hero-brand-row{grid-template-columns:1fr;justify-items:start;gap:14px}.hero-brand-logo-wrap{width:102px;height:102px;border-radius:24px}.hero-brand-logo-wrap img{width:72px;height:72px}.hero-brand-copy p{margin-top:10px;font-size:.94rem}}


/* ===== Hero motion polish ===== */
.hero-brand-logo-wrap{width:122px;height:122px;display:grid;place-items:center;position:relative;flex:0 0 122px;background:transparent !important;border:none !important;box-shadow:none !important;backdrop-filter:none !important;overflow:visible;border-radius:0 !important;animation:heroLogoFloat 4.8s ease-in-out infinite}
.hero-brand-logo-wrap::before,.hero-brand-logo-wrap::after{display:none !important}
.hero-brand-logo-wrap img{width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.22)) drop-shadow(0 0 12px rgba(98,212,241,.18));position:relative;z-index:2;transition:transform .35s ease,filter .35s ease}
.hero-main-card:hover .hero-brand-logo-wrap img{transform:scale(1.04) rotate(-2deg);filter:drop-shadow(0 14px 24px rgba(0,0,0,.24)) drop-shadow(0 0 18px rgba(255,211,61,.24))}
.hero-logo-spark,.hero-logo-ring{position:absolute;pointer-events:none}
.hero-logo-spark{width:14px;height:14px;z-index:1}
.hero-logo-spark::before,.hero-logo-spark::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(255,255,255,.95);border-radius:999px;box-shadow:0 0 12px rgba(255,255,255,.42)}
.hero-logo-spark::before{width:2px;height:14px}
.hero-logo-spark::after{width:14px;height:2px}
.hero-logo-spark.spark-a{top:8px;left:8px;animation:heroSparkle 2.6s ease-in-out infinite}
.hero-logo-spark.spark-b{top:18px;right:14px;transform:scale(.86);animation:heroSparkle 3.2s ease-in-out infinite .6s}
.hero-logo-spark.spark-c{bottom:12px;right:20px;transform:scale(.78);animation:heroSparkle 2.9s ease-in-out infinite 1.1s}
.hero-logo-ring{border:1px solid rgba(121,198,255,.26);border-radius:50%;z-index:0}
.hero-logo-ring.ring-a{width:118px;height:118px;left:1px;top:0;animation:heroRingSpin 14s linear infinite}
.hero-logo-ring.ring-b{width:88px;height:88px;left:16px;top:16px;border-color:rgba(255,211,61,.24);animation:heroRingSpinReverse 9s linear infinite}
@keyframes heroLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes heroSparkle{0%,100%{opacity:.45;transform:scale(.72) rotate(0deg)}50%{opacity:1;transform:scale(1.08) rotate(90deg)}}
@keyframes heroRingSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes heroRingSpinReverse{from{transform:rotate(360deg)}to{transform:rotate(0deg)}}
.hero-app-line{font-size:clamp(2.4rem,5vw,4.35rem);font-weight:900;letter-spacing:-.04em;text-shadow:none}
.hero-app-line-fancy{display:flex;flex-wrap:wrap;align-items:baseline;gap:.04em}
.hero-app-line-fancy .kru,.hero-app-line-fancy .on,.hero-app-line-fancy .cloud{display:inline-block;animation:heroWordWave 6s ease-in-out infinite}
.hero-app-line-fancy .kru{color:#ffd33d;text-shadow:0 10px 28px rgba(255,211,61,.16)}
.hero-app-line-fancy .on{color:#57d6ce;text-shadow:0 10px 28px rgba(87,214,206,.18);animation-delay:.5s}
.hero-app-line-fancy .cloud{background:linear-gradient(135deg,#ff7ea8,#7eb8ff 55%,#8af5d8);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;animation-delay:1s;background-size:200% 200%;animation-name:heroWordWave,heroGradientShift;animation-duration:6s,6s;animation-iteration-count:infinite,infinite}
@keyframes heroWordWave{0%,100%{transform:translateY(0)}20%{transform:translateY(-4px)}40%{transform:translateY(0)}60%{transform:translateY(-2px)}80%{transform:translateY(0)}}
@keyframes heroGradientShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.hero-title-line{margin-top:6px;color:#fff;font-size:clamp(1.48rem,3vw,2.5rem);font-weight:800;letter-spacing:-.03em}
.hero-actions .btn,.hero-tags span,.benefit-grid article,.feature-showcase-card,.custom-service-benefits article,.system-card{transition:transform .28s ease,box-shadow .28s ease,background-color .28s ease,border-color .28s ease}
.hero-actions .btn:hover{box-shadow:0 14px 24px rgba(0,0,0,.18)}
.hero-tags span:hover{transform:translateY(-2px);background:rgba(255,255,255,.12)}
.benefit-grid article,.feature-showcase-card{position:relative;overflow:hidden}
.benefit-grid article::after,.feature-showcase-card::after{content:"";position:absolute;inset:auto -40% -55% auto;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(24,168,161,.12),rgba(24,168,161,0) 70%);transition:transform .35s ease,opacity .35s ease;opacity:.78}
.benefit-grid article:hover,.feature-showcase-card:hover{transform:translateY(-6px);box-shadow:0 18px 34px rgba(16,42,114,.12)}
.benefit-grid article:hover::after,.feature-showcase-card:hover::after{transform:scale(1.15);opacity:1}
.home-slider-shell,.custom-service-hero,.contact-card,.pricing-card{transition:transform .28s ease,box-shadow .28s ease}
.home-slider-shell:hover,.custom-service-hero:hover,.contact-card:hover,.pricing-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(16,42,114,.10)}
@media(max-width:980px){.hero-brand-logo-wrap{width:108px;height:108px;flex-basis:108px}.hero-brand-logo-wrap img{width:82px;height:82px}.hero-logo-ring.ring-a{width:104px;height:104px;left:2px;top:2px}.hero-logo-ring.ring-b{width:78px;height:78px;left:15px;top:15px}}
@media(max-width:760px){.hero-brand-row{grid-template-columns:1fr;gap:12px}.hero-brand-logo-wrap{width:96px;height:96px;flex-basis:96px}.hero-brand-logo-wrap img{width:74px;height:74px}.hero-logo-ring.ring-a{width:92px;height:92px;left:2px;top:2px}.hero-logo-ring.ring-b{width:68px;height:68px;left:14px;top:14px}.hero-app-line-fancy{gap:0}.hero-title-line{margin-top:4px}}
@media(prefers-reduced-motion:reduce){.hero-brand-logo-wrap,.hero-brand-logo-wrap img,.hero-logo-spark,.hero-logo-ring,.hero-app-line-fancy .kru,.hero-app-line-fancy .on,.hero-app-line-fancy .cloud{animation:none !important}.benefit-grid article:hover,.feature-showcase-card:hover,.home-slider-shell:hover,.custom-service-hero:hover,.contact-card:hover,.pricing-card:hover,.hero-tags span:hover{transform:none}}


/* ===== Card stats breathing room + favorites ===== */
.system-card-stats{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 11px;
  margin-top:10px;
  margin-bottom:16px;
  padding-top:4px;
  color:#53617a;
  font-size:.78rem;
  line-height:1.25;
}
.system-card-stats span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.system-actions{margin-top:0}
.system-title-row,.meta-row{width:100%}
.meta-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.system-meta-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1 1 auto}
.system-favorite-btn{margin-left:auto !important;flex:0 0 34px;width:34px;height:34px;border-radius:11px;position:relative;z-index:5}
.system-favorite-btn i{font-size:.95rem}
.system-favorite-btn.active{animation:favoriteHeartPop .28s ease}
@keyframes favoriteHeartPop{0%{transform:scale(.82)}65%{transform:scale(1.13)}100%{transform:scale(1)}}
@media(max-width:640px){.system-card-stats{margin-bottom:14px;gap:7px 9px}.system-favorite-btn{width:32px;height:32px;flex-basis:32px}}
@media(prefers-reduced-motion:reduce){.system-favorite-btn.active{animation:none}}

.favorite-filter-btn{margin-left:auto;min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e2dce8;border-radius:999px;background:#fff;color:#68748a;font:800 .76rem/1 'Sarabun',sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(16,42,114,.05);transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.favorite-filter-btn:hover{transform:translateY(-1px);color:#d43169;border-color:#ffc5d6;background:#fff5f8;box-shadow:0 8px 18px rgba(212,49,105,.10)}
.favorite-filter-btn.active{color:#fff;background:#d43169;border-color:#d43169;box-shadow:0 8px 18px rgba(212,49,105,.18)}
.favorite-filter-btn b{min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#f1f4f9;color:#5d687d;font-size:.66rem}
.favorite-filter-btn.active b{background:rgba(255,255,255,.18);color:#fff}
@media(max-width:760px){.favorite-filter-btn{margin-left:0}.favorite-filter-btn span{display:none}}


/* ===== System cover category tint + focus ===== */
.system-cover{position:relative;isolation:isolate;background:#edf3fb}
.system-cover::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:.34;
  transition:opacity .34s ease,background .34s ease;
}
.system-cover.category-tone-academic::after{background:linear-gradient(135deg,rgba(52,170,255,.78),rgba(45,208,185,.58))}
.system-cover.category-tone-people::after{background:linear-gradient(135deg,rgba(239,75,132,.68),rgba(139,106,223,.54))}
.system-cover.category-tone-budget::after{background:linear-gradient(135deg,rgba(255,193,54,.76),rgba(238,133,27,.52))}
.system-cover.category-tone-admin::after{background:linear-gradient(135deg,rgba(76,104,220,.68),rgba(120,80,198,.52))}
.system-cover.category-tone-student::after{background:linear-gradient(135deg,rgba(19,181,170,.68),rgba(95,196,240,.48))}
.system-cover.category-tone-general::after{background:linear-gradient(135deg,rgba(71,126,210,.60),rgba(100,177,200,.44))}
.system-cover-tags,.system-logo-anchor{z-index:5 !important}
@media (hover:hover) and (pointer:fine){
  .system-card .system-cover img{
    filter:saturate(.56) brightness(.92) contrast(.92);
    transform:scale(1.005);
    transition:transform .40s ease,filter .34s ease;
    will-change:transform,filter;
  }
  .system-card:hover .system-cover::after,
  .system-card:focus-within .system-cover::after{opacity:.035}
  .system-card:hover .system-cover img,
  .system-card:focus-within .system-cover img{
    filter:saturate(1.04) brightness(1) contrast(1.01);
    transform:scale(1.045);
  }
}
@media (hover:none), (pointer:coarse){
  .system-cover::after{opacity:.12}
  .system-card .system-cover img{filter:saturate(.91) brightness(.99) contrast(.99)}
}
@media (prefers-reduced-motion:reduce){
  .system-cover::after,.system-card .system-cover img{transition:none !important;will-change:auto}
}


/* ===== Sale badge motion v2 ===== */
.system-price-promo.card-price-promo{
  isolation:isolate;
  animation:kocSaleFloat 4.4s ease-in-out infinite;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.system-price-promo.card-price-promo::after{
  content:"";
  position:absolute;
  z-index:0;
  top:-60%;
  left:-35%;
  width:28%;
  height:220%;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  transform:rotate(18deg) translateX(-180%);
  animation:kocSaleShine 4.8s ease-in-out infinite 1.1s;
}
.system-price-promo.card-price-promo > *{position:relative;z-index:1}
.system-price-promo.card-price-promo::before{
  z-index:2;
  animation:kocSaleRibbonPulse 2.8s ease-in-out infinite;
  box-shadow:0 0 0 0 rgba(239,53,108,.28);
}
.system-price-promo.card-price-promo .price-discount{
  position:relative;
  overflow:hidden;
  animation:kocDiscountPop 2.6s ease-in-out infinite;
  box-shadow:0 5px 12px rgba(242,184,48,.18);
}
.system-price-promo.card-price-promo .price-sale strong{
  display:inline-block;
  animation:kocPriceAttention 3.4s ease-in-out infinite;
}
.system-card:hover .system-price-promo.card-price-promo{
  transform:translateY(-3px) scale(1.025);
  border-color:#ff9fba;
  box-shadow:0 13px 28px rgba(239,53,108,.19);
}
@keyframes kocSaleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes kocSaleShine{0%,58%{transform:rotate(18deg) translateX(-220%);opacity:0}68%{opacity:1}85%,100%{transform:rotate(18deg) translateX(620%);opacity:0}}
@keyframes kocSaleRibbonPulse{0%,100%{filter:brightness(1);box-shadow:0 0 0 0 rgba(239,53,108,.22)}50%{filter:brightness(1.08);box-shadow:0 0 0 5px rgba(239,53,108,0)}}
@keyframes kocDiscountPop{0%,100%{transform:scale(1)}45%{transform:scale(1)}55%{transform:scale(1.10)}65%{transform:scale(1)}}
@keyframes kocPriceAttention{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){
  .system-price-promo.card-price-promo,
  .system-price-promo.card-price-promo::before,
  .system-price-promo.card-price-promo::after,
  .system-price-promo.card-price-promo .price-discount,
  .system-price-promo.card-price-promo .price-sale strong{animation:none!important}
  .system-card:hover .system-price-promo.card-price-promo{transform:none}
}


/* ===== Popup regression guard + sale badge polish 2026-09-01 ===== */
.koc-announcement-overlay.show{animation:kocPopupFadeIn .18s ease-out}
.koc-announcement-card{animation:kocPopupCardIn .28s cubic-bezier(.2,.75,.25,1)}
@keyframes kocPopupFadeIn{from{opacity:0}to{opacity:1}}
@keyframes kocPopupCardIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.system-price-promo.card-price-promo{position:relative;isolation:isolate;box-shadow:0 9px 24px rgba(239,53,108,.10);transition:transform .28s ease,box-shadow .28s ease}
.system-price-promo.card-price-promo .price-sale strong{display:inline-block;animation:kocSalePricePulse 3.4s ease-in-out infinite}
.system-price-promo.card-price-promo .price-discount{animation:kocDiscountBob 2.7s ease-in-out infinite}
.system-price-promo.card-price-promo::after{pointer-events:none}
.system-card:hover .system-price-promo.card-price-promo{transform:translateY(-3px) scale(1.015);box-shadow:0 14px 30px rgba(239,53,108,.18)}
@keyframes kocSalePricePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes kocDiscountBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.koc-announcement-overlay.show,.koc-announcement-card,.system-price-promo.card-price-promo .price-sale strong,.system-price-promo.card-price-promo .price-discount{animation:none!important}.system-card:hover .system-price-promo.card-price-promo{transform:none}}


/* ===== KOC Home Notices V1: isolated announcement + recommended systems ===== */
html.koc-notice-lock,body.koc-notice-lock{overflow:hidden!important}
.koc-notice-center{position:fixed;inset:0;z-index:220000;display:none;place-items:center;padding:24px;background:rgba(7,20,52,.62);backdrop-filter:blur(8px)}
.koc-notice-center.show{display:grid;animation:kocNoticeFade .18s ease-out}
.koc-notice-center-card{position:relative;width:min(980px,96vw);max-height:min(820px,92vh);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:26px;background:#fff;box-shadow:0 32px 90px rgba(6,21,55,.34);animation:kocNoticeRise .28s ease-out}
.koc-notice-center-close{position:absolute;right:16px;top:16px;z-index:5;width:42px;height:42px;display:grid;place-items:center;border:1px solid #d9e2ef;border-radius:13px;background:rgba(255,255,255,.94);color:#173a7e;cursor:pointer;box-shadow:0 8px 22px rgba(16,42,114,.11);transition:.2s ease}
.koc-notice-center-close:hover{transform:rotate(6deg) scale(1.05);background:#f2f6ff}
.koc-notice-pane[hidden]{display:none!important}
.koc-notice-pane{min-height:320px}
.koc-notice-image-wrap{width:100%;background:#eef3fb;overflow:hidden;border-radius:25px 25px 0 0}
.koc-notice-image-wrap img{display:block;width:100%;max-height:440px;object-fit:cover}
.koc-notice-copy{padding:25px 28px 24px}
.koc-notice-kicker{display:inline-flex;align-items:center;gap:7px;color:#ef356c;font-size:.79rem;font-weight:800;letter-spacing:.01em}
.koc-notice-copy h2,.koc-notice-systems-head h2{margin:7px 52px 7px 0;color:#102a72;font-size:clamp(1.45rem,3vw,2.05rem);line-height:1.2}
.koc-notice-copy>p,.koc-notice-systems-head p{margin:0;color:#65728a;line-height:1.75}
.koc-notice-copy-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:18px;border-top:1px solid #e7edf5;flex-wrap:wrap}
.koc-notice-today{display:inline-flex;align-items:center;gap:8px;color:#67748b;font-size:.82rem;cursor:pointer}.koc-notice-today input{width:17px;height:17px;accent-color:#102a72}
.koc-notice-systems{padding:24px 26px 25px}
.koc-notice-systems-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-right:54px}
.koc-notice-counter{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:7px 11px;border-radius:999px;background:#eef4ff;color:#123a82;font-weight:800;font-size:.78rem}
.koc-notice-tabs{display:flex;gap:8px;overflow:auto;padding:14px 2px 12px;scrollbar-width:thin}
.koc-notice-tabs button{flex:0 0 auto;max-width:210px;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #dde5f1;border-radius:12px;background:#f9fbff;color:#506078;cursor:pointer;transition:.2s ease}
.koc-notice-tabs button b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e8efff;color:#2259bd;font-size:.72rem}.koc-notice-tabs button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:700}.koc-notice-tabs button.active{border-color:#93cfd0;background:#eaf9f7;color:#0a7773;box-shadow:0 8px 20px rgba(24,168,161,.10)}
.koc-notice-system-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:22px;padding:18px;border:1px solid #e1e8f2;border-radius:20px;background:linear-gradient(135deg,#fbfdff,#f7faff);overflow:hidden}
.koc-notice-system-cover{position:relative;min-height:285px;padding:0;border:0;border-radius:17px;background:#e9eff8;overflow:hidden;cursor:pointer;box-shadow:0 14px 32px rgba(16,42,114,.10)}
.koc-notice-system-cover img{width:100%;height:100%;min-height:285px;object-fit:cover;transition:transform .35s ease,filter .35s ease}.koc-notice-system-cover:hover img{transform:scale(1.025);filter:saturate(1.07)}
.koc-notice-system-badge{position:absolute;left:13px;top:13px;padding:6px 10px;border-radius:999px;background:#ffd33d;color:#6e4d00;font-size:.72rem;font-weight:900;box-shadow:0 8px 18px rgba(242,179,35,.25)}
.koc-notice-system-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:5px 4px}
.koc-notice-system-meta{display:flex;gap:7px;flex-wrap:wrap}.koc-notice-system-meta span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#eef4ff;color:#3560aa;font-size:.7rem;font-weight:700}
.koc-notice-system-copy h3{margin:12px 0 8px;color:#102a72;font-size:1.28rem;line-height:1.35}.koc-notice-system-copy>p{margin:0;color:#68758c;line-height:1.7;font-size:.9rem}
.koc-notice-system-actions{display:grid;grid-template-columns:42px 1fr 42px;gap:8px;align-items:center;margin-top:20px}.koc-notice-nav{height:42px;border:1px solid #d8e1ee;border-radius:11px;background:#fff;color:#173b82;cursor:pointer}.koc-notice-nav:disabled{opacity:.35;cursor:not-allowed}.koc-notice-system-actions .btn{height:42px}
.koc-notice-today.system-seen{margin-top:14px}
@keyframes kocNoticeFade{from{opacity:0}to{opacity:1}}@keyframes kocNoticeRise{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:760px){.koc-notice-center{padding:12px}.koc-notice-center-card{width:100%;max-height:94vh;border-radius:20px}.koc-notice-image-wrap{border-radius:19px 19px 0 0}.koc-notice-copy{padding:20px}.koc-notice-system-card{grid-template-columns:1fr;gap:15px;padding:13px}.koc-notice-system-cover,.koc-notice-system-cover img{min-height:210px}.koc-notice-systems{padding:20px 14px}.koc-notice-systems-head{padding-right:46px}.koc-notice-tabs button{max-width:170px}.koc-notice-copy-actions{align-items:flex-start;flex-direction:column}.koc-notice-copy-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.koc-notice-center.show,.koc-notice-center-card{animation:none}.koc-notice-center-close:hover,.koc-notice-system-cover:hover img{transform:none}}


/* ===== Home Notice Center V2 ===== */
.koc-notice-tabs{justify-content:flex-start;gap:10px;padding-top:16px}
.koc-notice-tabs button{width:42px;height:42px;min-width:42px;max-width:42px;padding:0;display:grid;place-items:center;border-radius:12px}
.koc-notice-tabs button b{width:100%;height:100%;display:grid;place-items:center;border-radius:11px;background:transparent;font-size:.84rem}
.koc-notice-tabs button.active b{background:#dff8f4;color:#087c77;box-shadow:inset 0 0 0 1px rgba(24,168,161,.22)}
.koc-notice-snooze{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 13px;border:1px solid #d9e2ef;border-radius:11px;background:#fff;color:#5d6b83;font-family:inherit;font-size:.8rem;font-weight:700;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.koc-notice-snooze:hover{transform:translateY(-2px);border-color:#b9c8df;background:#f6f9ff;color:#173b82;box-shadow:0 9px 20px rgba(16,42,114,.08)}
.koc-notice-snooze.system-seen{margin-top:14px;align-self:flex-start}
.koc-notice-image-wrap{max-height:none;background:#f5f7fb}
.koc-notice-image-wrap img{width:100%;max-height:520px;object-fit:contain;background:#f5f7fb}
@media(max-width:760px){.koc-notice-tabs button{width:38px;height:38px;min-width:38px;max-width:38px}.koc-notice-snooze{width:100%}.koc-notice-snooze.system-seen{align-self:stretch}}
@media(prefers-reduced-motion:reduce){.koc-notice-snooze:hover{transform:none}}


/* ===== Announcement Center V4 — branded latest systems ===== */
.koc-notice-systems-head-v2{
  padding:22px 24px 18px;
  margin:-1px -1px 0;
  border-radius:24px 24px 0 0;
  background:
    radial-gradient(circle at 82% 18%,rgba(64,207,198,.18),transparent 30%),
    radial-gradient(circle at 12% 5%,rgba(255,211,61,.12),transparent 28%),
    linear-gradient(135deg,#0c245f 0%,#12377d 62%,#0b2c68 100%);
  color:#fff;
}
.koc-notice-systems-head-v2 .koc-notice-kicker{color:#9eece6}
.koc-notice-systems-head-v2 h2{color:#fff;margin:5px 0 3px;font-size:clamp(1.55rem,3vw,2.2rem)}
.koc-notice-systems-head-v2 p{color:rgba(232,240,255,.78);margin:0}
.koc-notice-brand-block{display:flex;align-items:center;gap:15px;min-width:0}
.koc-notice-brand-logo-wrap{width:72px;height:72px;flex:0 0 72px;display:grid;place-items:center;position:relative}
.koc-notice-brand-logo-wrap::before,.koc-notice-brand-logo-wrap::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.koc-notice-brand-logo-wrap::before{inset:2px;border:1px solid rgba(255,255,255,.22);animation:kocNoticeLogoOrbit 9s linear infinite}
.koc-notice-brand-logo-wrap::after{width:8px;height:8px;right:4px;top:8px;background:#ffd33d;box-shadow:-57px 38px 0 -2px #57d6ce,-8px 58px 0 -3px #ff7da7}
.koc-notice-brand-logo-wrap img{width:58px;height:58px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 9px 15px rgba(0,0,0,.25));animation:kocNoticeLogoFloat 3.8s ease-in-out infinite}
.koc-notice-head-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.koc-notice-head-caption{font-size:.69rem;color:rgba(255,255,255,.62);font-weight:700}
.koc-notice-systems-head-v2 .koc-notice-counter{background:#fff;color:#12377d;border:1px solid rgba(255,255,255,.4);box-shadow:0 8px 18px rgba(0,0,0,.16);font-size:.86rem}
.koc-notice-tabs-shell{display:flex;align-items:center;gap:12px;padding:13px 18px;background:#f7f9fe;border:1px solid #e1e9f5;border-top:0}
.koc-notice-tabs-label{display:inline-flex;align-items:center;gap:7px;color:#64738f;font-size:.76rem;font-weight:800;white-space:nowrap}
.koc-notice-tabs{margin:0!important;display:flex!important;gap:8px!important;overflow:visible!important}
.koc-notice-tabs button{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:12px!important;font-weight:900!important;font-size:.84rem!important;color:#234d9b!important;background:#fff!important;border:1px solid #d8e4f3!important;box-shadow:0 4px 11px rgba(16,42,114,.05)}
.koc-notice-tabs button.active{color:#075e59!important;border-color:#65d8cf!important;background:linear-gradient(180deg,#effffd,#dcf9f5)!important;box-shadow:0 6px 16px rgba(24,168,161,.17),inset 0 0 0 1px rgba(24,168,161,.08);transform:translateY(-2px)}
.koc-notice-system-card{margin:14px 18px 0!important;border-radius:22px!important;border:1px solid #dfe8f4!important;background:radial-gradient(circle at 93% 15%,rgba(87,214,206,.09),transparent 25%),linear-gradient(145deg,#fff,#f7faff)!important;box-shadow:0 16px 34px rgba(16,42,114,.08);overflow:hidden}
.koc-notice-system-cover{background:#eef4fc!important}
.koc-notice-system-cover img{transition:transform .35s ease}
.koc-notice-system-card:hover .koc-notice-system-cover img{transform:scale(1.018)}
.koc-notice-system-copy{padding:20px 22px!important;position:relative}
.koc-notice-active-label{display:inline-flex;align-items:center;gap:6px;margin:7px 0 3px;color:#0b7e77;font-size:.73rem;font-weight:800}
.koc-notice-active-label i{font-size:.66rem}
.koc-notice-system-copy h3{margin:8px 0!important;color:#102a72!important;font-size:clamp(1.15rem,2vw,1.45rem)!important}
.koc-notice-system-copy p{color:#64738f!important;line-height:1.7!important}
.koc-notice-system-actions .btn-primary{background:linear-gradient(135deg,#12377d,#102a72)!important;box-shadow:0 10px 20px rgba(16,42,114,.18)!important}
.koc-notice-brand-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin:13px 18px 18px;padding:10px 14px;border-radius:13px;color:#687995;background:#f6f9fd;border:1px dashed #d9e4f1;font-size:.75rem}
.koc-notice-brand-foot i{color:#18a8a1}
@keyframes kocNoticeLogoOrbit{to{transform:rotate(360deg)}}
@keyframes kocNoticeLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:760px){
  .koc-notice-systems-head-v2{padding:18px 16px 15px}
  .koc-notice-brand-logo-wrap{width:56px;height:56px;flex-basis:56px}
  .koc-notice-brand-logo-wrap img{width:46px;height:46px}
  .koc-notice-head-caption,.koc-notice-tabs-label{display:none}
  .koc-notice-tabs-shell{padding:11px 12px}
  .koc-notice-tabs{width:100%;justify-content:center}
  .koc-notice-system-card{margin:11px 10px 0!important}
  .koc-notice-brand-foot{margin:10px 10px 14px}
}
@media(prefers-reduced-motion:reduce){
  .koc-notice-brand-logo-wrap::before,.koc-notice-brand-logo-wrap img{animation:none!important}
}

/* =======================================================
   MEMBER CENTER 2026.09 · Dashboard / Favorites / Work / Ideas
   ======================================================= */
.member-modal:has(#memberAccountPanel[style*="grid"]) { width:min(1120px,calc(100% - 28px)); max-width:1120px; }
.member-center-head { grid-template-columns:minmax(270px,.9fr) minmax(520px,1.35fr); }
.member-center-summary { grid-template-columns:repeat(4,minmax(0,1fr)); }
.member-center-summary article { min-height:92px; position:relative; overflow:hidden; }
.member-center-summary article::after { content:""; position:absolute; width:44px; height:44px; right:-18px; bottom:-18px; border:10px solid rgba(36,87,197,.06); border-radius:50%; }
.member-center-summary article.favorites i { color:#ef356c; }
.member-center-summary article.work i { color:#18a8a1; }
.member-center-summary article.ideas i { color:#d69a00; }
.member-center-summary strong { font-size:1.14rem; }
.member-account-meta-row { display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px; }
.member-account-code { display:inline-flex;align-items:center;max-width:150px;padding:4px 8px;border-radius:999px;color:#64718a;background:#edf1f7;font-size:.62rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.member-center-layout { grid-template-columns:238px minmax(0,1fr); min-height:500px; }
.member-center-menu button { position:relative; }
.member-center-menu button > span { flex:1;min-width:0; }
.member-menu-count { min-width:23px;height:21px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;background:#fff;color:#2457c5;font-size:.61rem;font-weight:900;box-shadow:0 2px 8px rgba(16,42,114,.07); }
.member-center-menu button.active .member-menu-count { background:#2457c5;color:#fff; }
.member-center-menu-separator { height:1px;background:#dfe5ef;margin:5px 3px; }
.member-center-content { min-height:500px;max-height:min(64vh,650px);overflow-y:auto;scrollbar-gutter:stable; }
.member-center-content::-webkit-scrollbar { width:8px; }.member-center-content::-webkit-scrollbar-thumb { background:#cbd5e6;border-radius:999px; }
.member-section-action { flex:0 0 auto;min-height:34px;padding:7px 10px;border:1px solid #ccd7e9;border-radius:9px;color:#102a72;background:#fff;font:inherit;font-size:.67rem;font-weight:900;cursor:pointer; }
.member-section-action:hover { background:#eef4ff;border-color:#b9caeb; }
.member-dashboard-actions { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px; }
.member-dashboard-actions button { min-width:0;display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e0e6f0;border-radius:13px;color:#263657;background:#fff;text-align:left;font:inherit;cursor:pointer;transition:.18s ease; }
.member-dashboard-actions button:hover { transform:translateY(-2px);border-color:#b8caeb;box-shadow:0 10px 24px rgba(16,42,114,.08); }
.member-dashboard-actions button > i { width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;color:#2457c5;background:#edf3ff; }
.member-dashboard-actions button:nth-child(1) > i { color:#d92f60;background:#fff0f5; }.member-dashboard-actions button:nth-child(2) > i { color:#8d6500;background:#fff7dc; }.member-dashboard-actions button:nth-child(3) > i { color:#087c77;background:#e8faf7; }.member-dashboard-actions button:nth-child(4) > i { color:#9d6d00;background:#fff5d8; }
.member-dashboard-actions span { min-width:0; }.member-dashboard-actions strong,.member-dashboard-actions small { display:block; }.member-dashboard-actions strong { color:#102a72;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }.member-dashboard-actions small { margin-top:2px;color:#8791a5;font-size:.59rem;line-height:1.3; }
.member-dashboard-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.member-dashboard-panel { min-width:0;border:1px solid #e0e6f0;border-radius:14px;background:#fbfcff;overflow:hidden; }
.member-dashboard-panel-head { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid #e7ebf3;background:#fff; }
.member-dashboard-panel-head strong { color:#102a72;font-size:.73rem; }.member-dashboard-panel-head strong i { margin-right:5px;color:#2457c5; }
.member-dashboard-panel-head button { border:0;color:#2457c5;background:transparent;font:inherit;font-size:.61rem;font-weight:900;cursor:pointer; }
.member-dashboard-list { display:grid; }
.member-dashboard-list > button { width:100%;display:flex;align-items:center;gap:9px;padding:10px 12px;border:0;border-bottom:1px solid #edf0f5;color:#53617a;background:transparent;text-align:left;font:inherit;cursor:pointer; }.member-dashboard-list > button:last-child{border-bottom:0}.member-dashboard-list > button:hover{background:#f3f7ff}
.member-dashboard-list > button > i { width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border-radius:9px;color:#2457c5;background:#eaf1ff; }
.member-dashboard-list > button span { min-width:0; }.member-dashboard-list > button strong,.member-dashboard-list > button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-dashboard-list > button strong{color:#27375a;font-size:.69rem}.member-dashboard-list > button small{margin-top:2px;color:#8a94a7;font-size:.59rem}
.member-dashboard-list .member-history-empty { padding:27px 12px; }
.member-favorites-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px; }
.member-favorite-card { min-width:0;display:grid;grid-template-columns:120px minmax(0,1fr);overflow:hidden;border:1px solid #e0e6f0;border-radius:14px;background:#fff;transition:.18s ease; }
.member-favorite-card:hover { transform:translateY(-2px);border-color:#b8caeb;box-shadow:0 10px 24px rgba(16,42,114,.08); }
.member-favorite-cover { min-height:120px;padding:0;border:0;background:#edf2fa;cursor:pointer;overflow:hidden; }.member-favorite-cover img{width:100%;height:100%;display:block;object-fit:cover}.member-favorite-cover>span{height:100%;min-height:120px;display:grid;place-items:center;color:#2457c5;font-size:1.6rem}
.member-favorite-body { min-width:0;padding:11px; }.member-favorite-body small,.member-favorite-body strong{display:block}.member-favorite-body>small{color:#ef356c;font-size:.58rem;font-weight:900}.member-favorite-body>strong{margin-top:3px;color:#102a72;font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-favorite-body p{height:2.6em;overflow:hidden;margin:5px 0 8px;color:#7c879b;font-size:.61rem;line-height:1.35}.member-favorite-body button{min-height:29px;padding:5px 8px;border:0;border-radius:8px;color:#2457c5;background:#eef4ff;font:inherit;font-size:.61rem;font-weight:900;cursor:pointer}
.member-work-list,.member-ideas-list { display:grid;gap:10px; }
.member-work-card { padding:13px;border:1px solid #e0e6f0;border-radius:14px;background:#fff; }.member-work-card:hover{border-color:#bdcae1;box-shadow:0 9px 22px rgba(16,42,114,.06)}
.member-work-top { display:flex;align-items:flex-start;justify-content:space-between;gap:10px; }.member-work-top>div{min-width:0}.member-work-top small,.member-work-top strong{display:block}.member-work-top small{color:#8a94a7;font-size:.59rem}.member-work-top strong{margin-top:2px;color:#102a72;font-size:.77rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-work-progress { margin-top:10px; }.member-work-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#6c7890;font-size:.61rem}.member-work-progress b{color:#087c77}.member-progress-track{height:7px;margin-top:5px;overflow:hidden;border-radius:999px;background:#edf1f6}.member-progress-track i{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#18a8a1,#2457c5)}
.member-work-meta { display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;color:#7c879b;font-size:.59rem; }.member-work-meta i{margin-right:4px;color:#2457c5}.member-work-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px dashed #e2e7ef}.member-work-bottom>small{color:#919aad;font-size:.58rem}.member-work-action{min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:0;border-radius:8px;color:#2457c5;background:#eef4ff;font:inherit;font-size:.61rem;font-weight:900;text-decoration:none;cursor:pointer}
.member-history-status.working { color:#1557a3;background:#e9f2ff; }
.member-idea-card { display:grid;grid-template-columns:43px minmax(0,1fr);gap:11px;padding:12px;border:1px solid #e0e6f0;border-radius:14px;background:#fff; }.member-idea-card-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;color:#9c6b00;background:#fff5d8}.member-idea-card-copy{min-width:0}.member-idea-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.member-idea-card-title strong{min-width:0;color:#102a72;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-idea-card-copy>small{display:block;margin-top:3px;color:#8a94a7;font-size:.59rem}.member-idea-card-copy p{margin:8px 0 0;padding:8px 9px;border-radius:9px;color:#65718a;background:#f5f7fb;font-size:.62rem;line-height:1.45}.member-idea-card-copy button{margin-top:8px;min-height:29px;padding:5px 9px;border:0;border-radius:8px;color:#2457c5;background:#eef4ff;font:inherit;font-size:.61rem;font-weight:900;cursor:pointer}
.member-quick-count { min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;border-radius:999px;color:#2457c5;background:#edf3ff;font-size:.58rem;font-weight:900; }
.member-quick-item.favorite .member-quick-icon{color:#d92f60;background:#fff0f5}.member-quick-item.ideas .member-quick-icon{color:#9c6b00;background:#fff5d8}

/* Announcement: hide action button completely when no destination/button text exists. */
#kocNoticeAction[hidden] { display:none !important; }

@media (max-width:900px){
  .member-center-head{grid-template-columns:1fr}.member-center-summary{grid-template-columns:repeat(4,minmax(110px,1fr));overflow-x:auto}.member-center-layout{grid-template-columns:1fr}.member-center-menu{grid-template-columns:repeat(7,minmax(145px,1fr));display:grid;overflow-x:auto;border-right:0;border-bottom:1px solid #e1e6ef}.member-center-menu button.logout{margin-top:0}.member-center-menu-separator{display:none}.member-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .member-modal:has(#memberAccountPanel[style*="grid"]){width:100%;max-width:none;min-height:100dvh;margin:0;border-radius:0}.member-center-summary{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.member-center-content{max-height:none;padding:13px}.member-dashboard-grid,.member-favorites-grid{grid-template-columns:1fr}.member-favorite-card{grid-template-columns:105px minmax(0,1fr)}.member-center-section-head{align-items:flex-start;flex-wrap:wrap}.member-work-bottom{align-items:flex-start;flex-direction:column}.member-dashboard-actions{grid-template-columns:1fr 1fr}
}
@media (max-width:420px){.member-dashboard-actions{grid-template-columns:1fr}.member-center-summary article{min-height:78px}.member-favorite-card{grid-template-columns:90px minmax(0,1fr)}}


/* =======================================================
   MEMBER CENTER V2 · WORKSPACE MODE
   Desktop = เกือบเต็มจอ / Mobile = เต็มจอ
   ======================================================= */
#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) {
  width: min(96vw, 1580px) !important;
  max-width: 1580px !important;
  height: 94dvh;
  max-height: 94dvh !important;
  margin: auto;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-accent {
  flex: 0 0 5px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-head {
  position: relative;
  top: auto;
  flex: 0 0 auto;
  min-height: 68px;
  padding: 12px 18px;
  z-index: 8;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 16px 18px 18px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center {
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-head {
  grid-template-columns: minmax(330px, .9fr) minmax(650px, 1.55fr);
  gap: 12px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-account-hero {
  min-height: 96px;
  padding: 13px 15px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary article {
  min-height: 96px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-layout {
  height: 100%;
  min-height: 0;
  grid-template-columns: 250px minmax(0, 1fr);
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e6 transparent;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-content {
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 18px 20px 24px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-content::-webkit-scrollbar,
#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-content::-webkit-scrollbar-thumb,
#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu::-webkit-scrollbar-thumb {
  background: #cbd5e6;
  border-radius: 999px;
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-favorites-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-footer {
  display: none !important;
}

/* Tablet */
@media (max-width: 1050px) {
  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) {
    width: 97vw !important;
    height: 95dvh;
    max-height: 95dvh !important;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-head {
    grid-template-columns: 1fr;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu {
    display: grid;
    grid-template-columns: repeat(7, minmax(145px, 1fr));
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid #e1e6ef;
    padding: 9px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu button.logout {
    margin-top: 0;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu-separator {
    display: none;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile = Full screen workspace */
@media (max-width: 680px) {
  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-accent {
    height: 4px;
    flex-basis: 4px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-head {
    min-height: 58px;
    padding: 8px 10px 8px 12px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-brand img {
    width: 38px;
    height: 38px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-brand small {
    font-size: .62rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-brand strong {
    font-size: .86rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-close-btn {
    width: 38px;
    height: 38px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-modal-body {
    padding: 9px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center {
    gap: 9px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-head {
    gap: 8px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-account-hero {
    min-height: 76px;
    padding: 9px 10px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-account-main h3 {
    font-size: .92rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 7px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary article {
    min-height: 68px;
    padding: 7px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary strong {
    margin-top: 2px;
    font-size: .95rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-summary span {
    font-size: .58rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu {
    grid-template-columns: repeat(7, minmax(126px, 1fr));
    padding: 7px;
    gap: 4px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-menu button {
    min-height: 39px;
    padding: 7px 9px;
    font-size: .7rem;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-content {
    padding: 12px;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-grid,
  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-favorites-grid {
    grid-template-columns: 1fr;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-center-section-head {
    position: sticky;
    top: -12px;
    z-index: 2;
    margin: -12px -12px 12px;
    padding: 12px 12px 10px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 420px) {
  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-actions {
    grid-template-columns: 1fr 1fr;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-dashboard-actions small {
    display: none;
  }

  #memberDialog[open]:has(#memberAccountPanel[style*="grid"]) .member-favorite-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

/* === KruOnCloud Unified Public Dialog V1.1 === */
.koc-ui-layer{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:18px;background:rgba(12,28,61,.58);backdrop-filter:blur(7px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.koc-ui-layer.show{opacity:1;visibility:visible}
.koc-ui-card{position:relative;width:min(500px,calc(100vw - 28px));display:grid;grid-template-columns:56px minmax(0,1fr);gap:15px;background:#fff;border:1px solid #d9e3f2;border-radius:24px;padding:25px;box-shadow:0 30px 90px rgba(12,36,82,.28);transform:translateY(12px) scale(.985);transition:transform .18s ease}
.koc-ui-layer.show .koc-ui-card{transform:translateY(0) scale(1)}
.koc-ui-close{position:absolute;right:13px;top:13px;width:36px;height:36px;border:1px solid #dce5f2;border-radius:11px;background:#f8faff;color:#66738b;display:grid;place-items:center;cursor:pointer}
.koc-ui-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;background:#eaf2ff;color:#174a9c;font-size:1.35rem}.koc-ui-layer.type-success .koc-ui-icon{background:#e8f8f1;color:#087b64}.koc-ui-layer.type-warning .koc-ui-icon{background:#fff5df;color:#a26a00}.koc-ui-layer.type-error .koc-ui-icon{background:#fff0f3;color:#c12f51}.koc-ui-layer.type-copy .koc-ui-icon{background:#f0edff;color:#6045b5}
.koc-ui-copy{padding-right:30px}.koc-ui-copy>small{display:block;color:#8793a8;font-size:.67rem;font-weight:900;letter-spacing:.13em}.koc-ui-copy h3{margin:4px 0 7px;color:#142d5f;font-size:1.12rem}.koc-ui-message{color:#5d6c84;line-height:1.65;font-size:.9rem;white-space:pre-line}.koc-ui-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:15px;margin-top:2px;border-top:1px solid #edf1f7}.koc-ui-copybox{width:100%;min-height:105px;margin-top:12px;border:1px solid #cfdbea;border-radius:12px;background:#f8faff;padding:11px 12px;color:#31425f;resize:vertical;font:inherit;line-height:1.5}.koc-ui-select{margin-top:7px;border:0;background:transparent;color:#2457a8;font-weight:800;padding:6px 0;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
@media(max-width:600px){.koc-ui-card{grid-template-columns:44px minmax(0,1fr);padding:20px 17px;border-radius:20px}.koc-ui-icon{width:44px;height:44px;border-radius:13px;font-size:1.05rem}.koc-ui-copy{padding-right:22px}.koc-ui-actions{display:grid;grid-template-columns:1fr 1fr}.koc-ui-actions .btn{width:100%}}


/* IMAGE PERFORMANCE FEEDBACK V1.2 */
.home-slider-slide img[data-src]:not([src]){opacity:0}.home-slider-slide img{transition:opacity .18s ease}.home-slider-slide:has(img[data-src]:not([src])){background:linear-gradient(90deg,#edf2f8 25%,#f8fbff 45%,#edf2f8 65%);background-size:240% 100%;animation:kocImgShimmer 1.1s linear infinite}
.announcement-image.is-loading,.koc-announcement-image.is-loading,.koc-notice-image-wrap.is-loading,.koc-notice-system-cover.is-loading{position:relative;background:#eef3f8;min-height:120px}.announcement-image.is-loading:after,.koc-announcement-image.is-loading:after,.koc-notice-image-wrap.is-loading:after,.koc-notice-system-cover.is-loading:after{content:"กำลังโหลดภาพ…";position:absolute;inset:0;display:grid;place-items:center;color:#7d8ca2;font-size:.72rem;font-weight:800;background:linear-gradient(90deg,#eef3f8 25%,#f8fbff 45%,#eef3f8 65%);background-size:240% 100%;animation:kocImgShimmer 1.1s linear infinite;z-index:2}.announcement-image.is-loading img,.koc-announcement-image.is-loading img,.koc-notice-image-wrap.is-loading img,.koc-notice-system-cover.is-loading img{opacity:0}.announcement-image img,.koc-announcement-image img,.koc-notice-image-wrap img,.koc-notice-system-cover img{transition:opacity .18s ease}.announcement-image img.is-ready,.koc-announcement-image img.is-ready,.koc-notice-image-wrap img.is-ready,.koc-notice-system-cover img.is-ready{opacity:1}
@keyframes kocImgShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}


/* ===== Existing member VIP upgrade center 2026-10-11 ===== */
.member-center-menu button.vip-upgrade{color:#805d00;background:#fff8dd}
.member-center-menu button.vip-upgrade:hover,
.member-center-menu button.vip-upgrade.active{color:#6f4f00;background:#fff1b7;box-shadow:inset 3px 0 0 #f2b323}
.member-menu-count.vip{color:#765300;background:#ffe88d}
.member-menu-count.vip.pending{color:#8f5b00;background:#fff0c7}
.member-quick-item.vip-upgrade .member-quick-icon{color:#805d00;background:#fff2bd}
.member-upgrade-wrap[hidden]{display:none!important}
.vip-upgrade-badge{color:#805d00;background:#fff3c9}
.vip-upgrade-badge.pending{color:#8a5d00;background:#fff0c2}
.vip-upgrade-badge.rejected{color:#b42318;background:#fff0ee}
.vip-upgrade-badge.active{color:#087c77;background:#e7faf7}
.member-upgrade-status:empty{display:none}
.member-upgrade-status{margin-bottom:14px}
.member-upgrade-result{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #e0e6ef;border-radius:13px;background:#f8faff}
.member-upgrade-result>i{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px}
.member-upgrade-result strong,.member-upgrade-result span{display:block}
.member-upgrade-result strong{color:#102a72;font-size:.8rem}
.member-upgrade-result span{margin-top:3px;color:#6f7990;font-size:.68rem;line-height:1.55}
.member-upgrade-result.pending{border-color:#ecd58b;background:#fffaf0}
.member-upgrade-result.pending>i{color:#8a6200;background:#ffefba}
.member-upgrade-result.rejected{border-color:#efcbc5;background:#fff5f3}
.member-upgrade-result.rejected>i{color:#b42318;background:#ffe3de}
.member-upgrade-result.success{border-color:#bee7df;background:#effbf8}
.member-upgrade-result.success>i{color:#087c77;background:#d9f5ef}
.member-upgrade-wrap{display:grid;gap:13px}
.member-upgrade-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;border:1px solid #ead28a;border-radius:16px;background:#fffaf0}
.member-upgrade-kicker{display:inline-flex;align-items:center;gap:6px;color:#8a6200;font-size:.65rem;font-weight:900;letter-spacing:.05em}
.member-upgrade-hero h5{margin:6px 0 5px;color:#102a72;font-size:1.05rem}
.member-upgrade-hero p{margin:0;max-width:620px;color:#6f7990;font-size:.7rem;line-height:1.6}
.member-upgrade-price{min-width:150px;padding:11px 13px;border-radius:13px;color:#102a72;background:#fff;text-align:right;box-shadow:0 8px 22px rgba(16,42,114,.07)}
.member-upgrade-price small,.member-upgrade-price strong,.member-upgrade-price em{display:block}
.member-upgrade-price small{color:#8a6200;font-size:.64rem;font-weight:800}
.member-upgrade-price strong{margin-top:2px;font-size:1.55rem;line-height:1.05}
.member-upgrade-price strong span{font-size:.72rem}
.member-upgrade-price em{margin-top:4px;color:#8a7350;font-size:.6rem;font-style:normal}
.member-upgrade-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.member-upgrade-benefits>div{display:flex;align-items:center;gap:8px;min-height:39px;padding:9px 11px;border:1px solid #e3e8f1;border-radius:11px;color:#526079;background:#fff;font-size:.67rem;font-weight:700}
.member-upgrade-benefits i{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border-radius:50%;color:#087c77;background:#e7faf7;font-size:.58rem}
.member-upgrade-form{display:grid;gap:12px;padding:15px;border:1px solid #e0e6ef;border-radius:15px;background:#fbfcff}
.member-upgrade-payment{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px}
.member-upgrade-bank,.member-upgrade-qr{border:1px solid #e3e7ef;border-radius:12px;background:#fff}
.member-upgrade-bank{padding:13px}
.member-upgrade-bank>small{display:block;margin-bottom:7px;color:#8a6200;font-size:.67rem;font-weight:900}
.member-upgrade-bank p{margin:4px 0;color:#56627a;font-size:.69rem}
.member-upgrade-account{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px;padding-top:10px;border-top:1px dashed #dfe4ed}
.member-upgrade-account strong{color:#102a72;font-size:.92rem;letter-spacing:.04em}
.member-upgrade-account button{min-height:31px;padding:5px 9px;border:0;border-radius:8px;color:#fff;background:#102a72;font:inherit;font-size:.64rem;font-weight:800;cursor:pointer}
.member-upgrade-qr{min-height:135px;display:grid;place-items:center;padding:8px}
.member-upgrade-qr img{width:100%;max-width:132px;aspect-ratio:1;object-fit:contain}
.member-upgrade-qr-empty{display:grid;justify-items:center;gap:7px;color:#8b94a7;font-size:.62rem}
.member-upgrade-qr-empty i{font-size:1.6rem}
.member-upgrade-slip{display:grid;gap:7px}
.member-upgrade-slip>span{color:#34415e;font-size:.7rem;font-weight:900}
.member-upgrade-slip>span b{color:#d92f60}
.member-upgrade-slip input{width:100%;min-height:42px;padding:8px;border:1px solid #d7deea;border-radius:10px;color:#47546e;background:#fff;font:inherit;font-size:.68rem}
.member-upgrade-slip small{color:#8791a5;font-size:.62rem}
.member-upgrade-file-preview{display:flex;align-items:center;gap:8px;min-height:39px;padding:9px 11px;border:1px dashed #d8dfeb;border-radius:10px;color:#7d879c;background:#fff;font-size:.66rem}
.member-upgrade-file-preview.ready{color:#087c77;border-color:#9edbd2;background:#f0fbf9}
.member-upgrade-file-preview.error{color:#b42318;border-color:#efbbb4;background:#fff4f2}
.member-upgrade-submit{min-height:47px;color:#664800;background:#ffd84d;box-shadow:0 10px 22px rgba(242,179,35,.2)}
.member-upgrade-submit:hover{background:#ffcf24}
@media(max-width:760px){
  .member-upgrade-hero,.member-upgrade-payment{grid-template-columns:1fr}
  .member-upgrade-price{min-width:0;text-align:left}
  .member-upgrade-benefits{grid-template-columns:1fr}
  .member-upgrade-qr{min-height:0}
  .member-upgrade-qr img{max-width:180px}
}
