@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Kanit:wght@300;400;500;600;800;900&family=Mali:wght@300;400;500;600&family=Prompt:wght@300;400;500;600&family=Roboto:wght@300;400;500;700&family=Sarabun:wght@300;400;500;600&display=swap');

:root { --acs-red: #A91B0D; --acs-dark-red: #900000; --bg-color: #f0f2f5; --text-main: #2c3e50; --clock-bg: #ffffff; --msg-text-color: #00264d; }
*, *::before, *::after { box-sizing: border-box; }

/* 🔒 รวมสไตล์ body ให้สะอาด นิ่ง และล็อกสเกล 100% ในจุดเดียว */
body { margin: 0; padding: 0 0 30px 0; font-family: 'Prompt', sans-serif !important;
  color: var(--text-main); display: flex; flex-direction: column; width: 100%;
  justify-content: flex-start; align-items: center; min-height: 100vh;
  background: radial-gradient(circle at center, #ffffff 0%, #e0e4e8 100%);
  background-attachment: fixed; overflow-y: auto; overflow-x: hidden;
  zoom: 100%; transform: scale(1); transform-origin: top center; }

.containter-clock { min-height: 100vh; min-height: 100dvh; display: flex;
  flex-direction: column; justify-content: flex-start; align-items: center;
  padding: 10px; width: 100%; }

/* 🔒 ตั้งค่าสเกลพื้นฐานของหน้าเว็บให้เป็น 100% */
body { zoom: 100%; transform: scale(1); transform-origin: top center; }

a, button, .nav-btn, .clock-drag-handle, .announcement-icon { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'><path fill='%23A91B0D' stroke='white' stroke-width='2' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/></svg>") 16 16, pointer; }
input, textarea, .school-name-en, .page-header-input { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'><rect x='10' y='2' width='4' height='20' rx='2' fill='%23A91B0D' stroke='white' stroke-width='2'/></svg>") 12 12, text; }

.header-text { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; text-align: center; margin-bottom: 0.5rem; }
img.acsLogo { margin-top: 5px; margin-bottom: 0; padding-bottom: 0; width: 110px; max-width: 14vw; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); }
h1 { margin: 0 0 5px 0; width: 100%; text-align: center; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.6; font-weight: 800; color: var(--text-main); }
h1, h2, h3, h4, h5, h6 { font-family: 'Prompt', sans-serif !important; }

#exam-title { display: inline-block; width: auto; min-width: 300px; max-width: 90vw; margin: 10px auto; background-color: #fff5f5; border: none; border-bottom: 2px solid #f0d0d0; border-radius: 8px; padding: 5px 15px; font-family: 'Prompt', sans-serif !important; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: 0.5; line-height: 1.5; color: var(--acs-red); text-align: center; outline: none; transition: all 0.3s ease; }
.date-text { width: 100%; text-align: center; font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 800; margin: 0; color: #555; line-height: 1.6; padding-top: 0; display: block; }

#time { position: relative; display: inline-block; padding: 10px 4rem; color: var(--acs-red); font-size: clamp(5rem, 20vw, 8rem); font-family: "Inter", sans-serif; font-weight: 900; line-height: 1; background-color: var(--clock-bg); box-shadow: 0 10px 40px -10px rgba(169, 27, 13, 0.15); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.5); margin-top: 0.2rem; margin-bottom: 0.1rem; font-variant-numeric: tabular-nums; }
.main-drag-handle { position: absolute; top: 0; left: 0; width: 30px; height: 30px; background-color: var(--acs-red); color: white; font-size: 16px; display: flex; justify-content: center; align-items: center; border-radius: 50%; cursor: grab; opacity: 0; transition: opacity 0.2s, transform 0.2s; z-index: 10; transform: translate(-30%, -30%); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.main-drag-handle:active { cursor: grabbing; transform: translate(-30%, -30%) scale(1.1); }
.main-resize-handle {display: none !important; position: absolute; bottom: 5px; right: 5px; width: 20px; height: 20px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, var(--acs-red) 50%); opacity: 0; transition: opacity 0.2s; z-index: 10; }
#time:hover .main-drag-handle, #time:hover .main-resize-handle { opacity: 1; }

#teacher-msg { display: block; margin: 0.5rem auto 0 auto; width: 99%; padding: 10px 25px; font-size: clamp(1.8rem, 3.5vw, 4rem); line-height: 1.5; font-family: "Sarabun", sans-serif; font-weight: 600; color: var(--msg-text-color); text-align: center; height: 6em; background-color: #ffffff; border: 2px solid #ccc; border-radius: 20px; resize: auto; overflow-y: scroll; }
#teacher-msg::selection { background-color: var(--acs-red); color: #ffffff; }
#teacher-msg:focus { outline: none; border-color: var(--acs-red); box-shadow: 0 0 0 4px rgba(169, 27, 13, 0.1); transition: box-shadow 0.2s; }
#teacher-msg::-webkit-scrollbar { width: 16px; display: block; }
#teacher-msg::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.03); border-radius: 10px; }
#teacher-msg::-webkit-scrollbar-thumb { background: rgba(169, 27, 13, 0.3); border-radius: 10px; border: 3px solid #ffffff; }
#teacher-msg::-webkit-scrollbar-thumb:hover { background: rgba(169, 27, 13, 0.6); }
#teacher-msg::-webkit-scrollbar-button:single-button { background-color: #f8f8f8; display: block; background-size: 10px; background-repeat: no-repeat; height: 16px; width: 16px; }
#teacher-msg::-webkit-scrollbar-button:single-button:vertical:decrement { background-position: center 5px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23A91B0D' opacity='0.4'><polygon points='50,0 0,100 100,100'/></svg>"); }
#teacher-msg::-webkit-scrollbar-button:single-button:vertical:increment { background-position: center 3px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23A91B0D' opacity='0.4'><polygon points='0,0 100,0 50,100'/></svg>"); }

.schedule-section { width: 100%; padding-top: 0.5rem; padding-bottom: 2rem; border-top: 1px dashed #ddd; background-color: #fafafa; display: flex; flex-direction: column; align-items: center; position: relative; min-height: auto !important; justify-content: flex-start !important; }
.slider-header { position: sticky; top: 0; z-index: 1000; background-color: #fafafa; border-bottom: 1px solid #ddd; padding: 10px 2.5%; width: 100%; max-width: 1800px; margin: 0 auto !important; display: flex !important; flex-direction: row !important; justify-content: center !important; align-items: center !important; gap: 20px !important; }
.slider-header h3 { position: relative !important; z-index: 10 !important; margin: 0 !important; padding: 0 !important; font-size: 1.5rem; color: var(--acs-red); font-weight: 800; white-space: nowrap; }

/* 🔒 กล่องปุ่มกดเลือกชั้นเรียน (ของเดิม: ห้ามลบครับ) */
.tabs-container { display: flex; gap: 8px; padding: 0; z-index: 100 !important; margin: 0 !important; position: relative; }

/* 🔒 กล่องแสดงภาพตารางสอบ (ของใหม่ที่เพิ่มต่อท้าย เพื่อดันภาพลงมา) */
#tab-container { width: 100%; margin-top: 140px; display: block; position: relative; }

.tab-content, #tab-container { margin-top: 80px !important; }

.tab-btn { background-color: #ffffff; color: var(--acs-red); border: 2px solid var(--acs-red); padding: 6px 16px; font-family: "Prompt", sans-serif; font-size: 1.1rem; font-weight: 700; border-radius: 30px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; white-space: nowrap; }
.tab-btn:hover { background-color: #ffecec; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(169, 27, 13, 0.15); }
.tab-btn.active { background-color: var(--acs-red); color: #ffffff; box-shadow: 0 4px 10px rgba(169, 27, 13, 0.3); }
.tab-btn.active::after { content: " •"; color: #fff; font-size: 1.2rem; }
.tab-content { display: none; width: 100%; animation: fadeEffect 0.5s; }
.active-content { display: block; }
@keyframes fadeEffect { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.schedule-img { width: 100%; max-height: 95vh; height: auto; margin: 0 auto; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); border: 1px solid #ddd; display: block; }

/* 🔒 ขยายภาพตารางสอบให้กว้างทะลุเต็มจอซ้ายขวา 100% */
.schedule-section, .tab-content, #tab-container { width: 95% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.image-wrapper { width: 95% !important; max-width: 100% !important; display: block; }
.schedule-img { width: 95% !important; height: auto !important; display: block; object-fit: contain; }

#mini-time { position: absolute; left: 0; right: 0; margin: 0 auto; top: 75px; z-index: 9999; width: fit-content; padding: 2px 10px; color: var(--acs-red); display: flex; background-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); flex-direction: column; justify-content: center; align-items: center; }
#mini-time:hover { background-color: rgba(255, 255, 255, 0.8); box-shadow: 0 15px 40px rgba(169, 27, 13, 0.15); }
#mini-clock-text { font-family: "Inter", sans-serif; font-weight: 900; line-height: 1; font-size: 4.5rem; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.clock-drag-handle { position: absolute; top: 0; left: 0; width: 30px; height: 30px; background-color: var(--acs-red); color: white; font-size: 16px; display: flex; justify-content: center; align-items: center; border-radius: 50%; cursor: grab; opacity: 0; transition: opacity 0.2s, transform 0.2s; z-index: 10; transform: translate(-30%, -30%); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.clock-drag-handle:active { cursor: grabbing; transform: translate(-30%, -30%) scale(1.1); }
.clock-resize-handle { position: absolute; bottom: 5px; right: 5px; width: 20px; height: 20px; background: linear-gradient(135deg, transparent 50%, var(--acs-red) 50%); cursor: nwse-resize; opacity: 0; transition: opacity 0.2s; z-index: 10; }
#mini-time:hover .clock-drag-handle, #mini-time:hover .clock-resize-handle { opacity: 1; }
#mini-time.minimized { height: 35px !important; width: 160px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; opacity: 0.9; background-color: var(--acs-red); color: white; }
#mini-time.minimized #mini-clock-text, #mini-time.minimized .clock-resize-handle { display: none !important; }
#mini-time.minimized .clock-drag-handle::after { content: " (ดับเบิ้ลคลิกเพื่อขยาย)"; font-size: 12px; white-space: nowrap; }

/* 7. DIGITAL RULER (ไม้บรรทัดลากอิสระโปร่งใส) */
#ruler-line { position: absolute; top: 250px; left: 10px; width: 150px; height: 43px; background-color: transparent; border: none; z-index: 1111 !important; cursor: move; pointer-events: auto; touch-action: none; }
.ruler-handle { position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: #ffc107; color: #000; font-size: 1.1rem; font-weight: 900; letter-spacing: 2px; padding: 10px 45px 10px 20px; clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%); user-select: none; box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3); z-index: 1112; animation: arrow-attention 1.5s infinite ease-in-out; white-space: nowrap; cursor: grab; pointer-events: auto; }
@keyframes arrow-attention { 0%, 100% { transform: translateY(-50%) translateX(0); filter: brightness(100%); } 50% { transform: translateY(-50%) translateX(15px); filter: brightness(120%); box-shadow: 6px 0 20px rgba(255, 193, 7, 0.7); } }
.ruler-handle:hover { animation-play-state: paused; background: #ff9800; cursor: grab; }
.ruler-handle:active { cursor: grabbing; }

/* 8. ANNOUNCEMENT SECTION */
/* --- ส่วนประกาศข่าวสารแบบรองรับทุกอุปกรณ์ (Responsive) --- */
.announcement-section { width: 100%; display: flex; justify-content: center; padding: 20px 12px; box-sizing: border-box; }

.announcement-container { width: 100%; max-width: 1200px; display: flex; flex-direction: column; background: #ffffff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; }

.announcement-header { width: 100%; }

.header-banner { background: var(--acs-red, #A91B0D); padding: clamp(10px, 3vw, 18px) clamp(15px, 4vw, 30px); display: flex; align-items: center; justify-content: space-between; gap: 15px; }

/* ใช้ clamp เพื่อให้ไอคอนลำโพงย่อขยายตามขนาดจออัตโนมัติ */
.banner-icon { font-size: clamp(1.5rem, 4vw, 2.5rem); user-select: none; line-height: 1; }

/* 🔒 ช่องพิมพ์หัวข้อ: ตัวหนังสือจะย่อเองเมื่อเปิดในมือถือ */
#extra-header-title { background: transparent; border: none; color: #ffffff; text-align: center; font-size: clamp(1.4rem, 4vw, 2.5rem); font-weight: 900; flex-grow: 1; outline: none; width: 100%; font-family: 'Prompt', sans-serif; }

/* 🔒 ช่องพิมพ์รายละเอียด: ใช้ min-height และปรับช่องไฟข้างในให้ยืดหยุ่น */
#extra-msg { width: 100%; min-height: 250px; height: 50vh; padding: clamp(15px, 4vw, 40px); font-family: 'Sarabun', sans-serif; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 600; color: #1a2a3a; line-height: 1.6; border: 1px solid #ddd; border-top: none; border-radius: 0 0 16px 16px; resize: vertical; outline: none; box-sizing: border-box; }

#extra-msg::placeholder { color: #bbb; font-weight: 400; }
#extra-msg::selection { background-color: var(--acs-red); color: #ffffff; }
#extra-msg::-webkit-scrollbar { width: 10px; }
#extra-msg::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
#extra-msg::-webkit-scrollbar-thumb:hover { background: var(--acs-red); }

/* Persistent Text Box (โหมดคลิกที่อื่นแล้วเครื่องมือหาย) */
.image-wrapper { position: relative; display: block; width: fit-content; margin: 0 auto; overflow: visible; }
.text-box { position: absolute; border: 2px dashed transparent; border-radius: 4px; background: #ffffff; cursor: move; min-width: 50px; min-height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; z-index: 1000; transition: all 0.2s ease; }
.text-box [contenteditable="true"] { width: 100%; height: 100%; outline: none; font-family: 'Sarabun', sans-serif; font-weight: 700; font-size: 1.4rem; color: #1a2a3a; text-align: center; word-break: break-word; cursor: text; user-select: text; padding: 2px 8px; }

/* 🔒 ค่าเริ่มต้น: ซ่อนแถบเครื่องมือทั้งหมด */
.box-controls, .resizer, .btn-delete { opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.resizer { width: 10px; height: 10px; background: rgba(169, 27, 13, 0.5); position: absolute; right: 0; bottom: 0; cursor: se-resize; border-radius: 0 0 4px 0; }
.btn-delete { position: absolute; top: 0; right: 0; background: #A91B0D; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 14px; cursor: pointer; border: 1px solid white; display: flex; align-items: center; justify-content: center; }
.btn-delete:hover { transform: scale(1.2); background: red; }

/* 🌟 เมื่อกล่องถูกคลิกทำงาน (.is-active): ให้โชว์กรอบประและแถบเครื่องมือ */
.text-box.is-active { border-color: rgba(169, 27, 13, 0.6); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); z-index: 1001; }
.text-box.is-active .box-controls, .text-box.is-active .resizer, .text-box.is-active .btn-delete { opacity: 1; pointer-events: auto; }


/* --- ปุ่มปรับขนาดอักษร ฉบับมินิมอล สีจาง กลมกลืนไม่สะดุดตา --- */
.msg-controls { display: flex; gap: 6px; justify-content: flex-end; width: 100%; max-width: 1200px; margin: 0 auto 4px auto; opacity: 0.3; transition: opacity 0.2s ease; }
.msg-controls:hover { opacity: 1; } /* 🌟 จะชัดเจนขึ้นมาเฉพาะตอนที่คุณครูเอาเมาส์ไปชี้เท่านั้น */

.size-btn { background: transparent; border: 1px solid #d0d0d0; padding: 2px 8px; border-radius: 4px; font-weight: 500; cursor: pointer; font-family: 'Prompt', sans-serif; font-size: 0.8rem; color: #888; transition: all 0.2s; }
.size-btn:hover { background: #f0f2f5; color: #333; border-color: #999; }
.reset-btn { border-style: dashed; color: #aaa; }
.reset-btn:hover { color: #555; }


/* 🌟 แต่งชื่อโรงเรียนให้ดูสง่างาม ทรงพลัง พร้อมแอนิเมชันประกายแสง */
.header-text h1 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-align: center;
  margin: 0 0 6px 0;
  letter-spacing: 1.2px;
  color: var(--acs-red, #A91B0D);
  animation: headerAppear 1s ease-out, 
             headerGlow 4s ease-in-out infinite alternate;
}

/* 🎬 แอนิเมชัน 1: ค่อยๆ ลอยลงมาจากด้านบนอย่างสง่าตอนเปิดหน้าเว็บ */
@keyframes headerAppear {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 🎬 แอนิเมชัน 2: เปล่งออร่ารัศมีสีแดงแกล้มทองจางๆ วนไปมาอย่างนุ่มนวล */
@keyframes headerGlow {
  0% { text-shadow: 0 2px 10px rgba(169, 27, 13, 0.2); }
  100% { text-shadow: 0 4px 20px rgba(169, 27, 13, 0.5), 
                      0 0 15px rgba(255, 215, 0, 0.35); }
}

/* 🔒 เปลี่ยนสีตัวอักษรตอนพิมพ์ทับตารางสอบให้เป็นสีแดง ACS */
.text-box [contenteditable="true"] { color: var(--acs-red, #A91B0D) !important; }

/* 🔒 แถบแจ้งเตือนเมื่อหน้าจอถูกซูมค้างไว้ (ลอยมุมขวาล่าง) */
.zoom-notice { position: fixed; bottom: 20px; right: 20px; z-index: 99999; display: none;
  align-items: center; gap: 10px; background: rgba(0, 0, 0, 0.85); color: #fff;
  padding: 8px 14px; border-radius: 30px; font-size: 0.85rem; cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25); backdrop-filter: blur(6px); transition: all 0.2s; }
.zoom-notice:hover { background: #000; transform: scale(1.03); }
.zoom-notice button { background: var(--acs-red, #A91B0D); color: #fff; border: none;
  padding: 4px 10px; border-radius: 15px; font-size: 0.8rem; font-weight: bold;
  cursor: pointer; font-family: 'Prompt', sans-serif; }



  
/* Responsive Media Queries */
@media only screen and (min-width: 744px) and (max-width: 1366px) and (orientation: landscape) { .containter-clock { justify-content: space-evenly; padding-top: 1rem; padding-bottom: 2rem; } h1 { font-size: 6vh; } #exam-title { font-size: 4vh; min-width: 40vw; } .date-text { font-size: 4vh; } #time { font-size: 18vh; } #teacher-msg { font-size: 3vh; height: 4.5em; width: 80%; } img.acsLogo { height: 12vh; width: auto; } }
@media only screen and (max-width: 900px) { 
    .slider-header { flex-direction: column !important; 
        height: auto !important; gap: 10px !important; 
        margin-bottom: 15px !important; align-items: center !important; } 
    .slider-header h3 { position: static !important; transform: none !important; 
        width: auto !important; text-align: center !important; margin: 0 !important; 
        padding: 0 !important; font-size: 1.4rem !important; } 
    .tabs-container { display: flex !important; flex-wrap: wrap !important; 
        justify-content: center !important; gap: 5px !important; width: 100% !important; 
        margin-top: 5px !important; padding: 0 10px !important; } 
        
    #mini-time { position: relative !important; left: auto !important; right: auto !important; 
        top: auto !important; transform: none !important; width: 100% !important; 
        display: flex !important; justify-content: center !important; background: none !important; 
        box-shadow: none !important; border: none !important; margin: 5px 0 !important; 
        padding: 0 !important; } 


    #mini-clock-text { font-size: 14vw !important; font-weight: 700 !important; 
        color: var(--acs-red) !important; letter-spacing: -1px !important; line-height: 1 !important; } 
    .clock-drag-handle, .clock-resize-handle { display: none !important; } 
    .containter-clock { justify-content: flex-start; padding-top: 20px; min-height: auto; } 
    h1 { font-size: 1.8rem !important; line-height: 1.3; } 
    #exam-title { font-size: 1.4rem !important; min-width: 250px; width: 95%; padding: 5px 10px; } 
    .date-text { font-size: 1.2rem !important; margin-top: 5px; line-height: 1.8; padding-top: 5px; } 
    .tab-btn { padding: 4px 10px; font-size: 0.9rem; border-width: 1px; } 
    #time { font-size: 10vw; padding: 0.5rem 1rem; margin-top: 0.5rem; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
    #teacher-msg { font-size: 1.1rem; height: 4em; margin-bottom: 20px; } #ruler-line { display: none; } }


/* 🔒 ปรับขนาดชื่อโรงเรียนให้เป็น 90% ของหัวข้อตารางสอบ (ลดขนาดลง 40% ให้ดูสมส่วน ไม่เทอะทะ) */
.header-text h1 { font-size: clamp(1.5rem, 3vw, 3.5rem) !important; }
#exam-title { font-size: clamp(1.8rem, 3.5vw, 4rem) !important; }

/* 📽️ สำหรับจอโปรเจกเตอร์ (1400px ขึ้นไป) */
@media only screen and (min-width: 1400px) {
  .containter-clock .header-text h1 { font-size: clamp(1.8rem, 3.5vw, 4.3rem) !important; }
  .containter-clock #exam-title { font-size: clamp(2rem, 4vw, 4.8rem) !important; }
}

/* 📺 สำหรับจอทีวีใหญ่ 60-70 นิ้ว (1920px ขึ้นไป) */
@media only screen and (min-width: 1920px) {
  .containter-clock .header-text h1 { font-size: clamp(2.2rem, 4vw, 5rem) !important; }
  .containter-clock #exam-title { font-size: clamp(2.5rem, 4.5vw, 5.5rem) !important; }
}


/* ⏱️ เพิ่มลูกเล่นให้ตอนที่นาฬิกาสลับสี 3 สี มันจะค่อยๆ เฟดเปลี่ยนสีอย่างนุ่มนวล 1.5 วินาที */
#time { transition: color 1.5s ease-in-out, font-size 0.2s ease; }


