/* แกลเลอรีหน้าจอระบบ — ใช้ร่วมทุกแนว สีหลักตามตัวแปร --scr-accent ของแต่ละหน้า */
.mtf-screens { margin-top: 36px; display: grid; gap: 40px; }
/* minmax(0, 1fr) + min-width: 0 กันคอลัมน์ขยายตามความกว้างจริงของภาพ (ภาพกว้างหลายพันพิกเซล) */
.mtf-scr-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.mtf-scr-fig { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; }
.mtf-scr-fig img { width: 100%; height: auto; display: block; border-radius: 18px; }
.mtf-scr-phones img { max-width: 320px; justify-self: center; }
.mtf-scr-fig figcaption { display: grid; gap: 4px; }
.mtf-scr-fig b { font-size: 18px; line-height: 1.35; }
.mtf-scr-fig p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .78; max-width: 62ch; }
.mtf-scr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mtf-scr-tags span { font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--scr-accent, #0E7C66) 14%, transparent); color: var(--scr-accent, #0E7C66); }
.mtf-scr-tags span.bonus { background: #FFF1C2; color: #7A5600; }
.mtf-scr-admin { display: grid; gap: 14px; }
.mtf-scr-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mtf-scr-tabs button { font: inherit; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--scr-accent, #0E7C66) 35%, transparent); background: transparent; color: inherit; cursor: pointer; }
.mtf-scr-tabs button[aria-selected="true"] { background: var(--scr-accent, #0E7C66); border-color: var(--scr-accent, #0E7C66); color: #fff; }
.mtf-scr-tabs button:focus-visible { outline: 3px solid var(--scr-accent, #0E7C66); outline-offset: 2px; }
.mtf-scr-panel[hidden] { display: none; }
.mtf-scr-panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.mtf-scr-panel > * { min-width: 0; }
.mtf-scr-panel img { width: 100%; height: auto; display: block; }
.mtf-scr-panel img { border-radius: 14px; }
@media (max-width: 900px) {
  .mtf-scr-phones { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mtf-scr-panel { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
