/* exam.php (v3.9.0): “รายละเอียดรุ่น” link in the schedule + the round pop-up (#exR<id>) */
.ex-rmore{display:inline-block;margin-left:8px;font-size:12.5px;color:#B8862F;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.ex-rmore:hover{color:#8a6420}
.ex-rmodal .ex-modal-win{width:min(760px,100%)}
.ex-rmodal .ex-modal-win>p{color:#4b5563}
.ex-rfacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin:0 0 14px}
.ex-rfacts div{padding:10px 12px;border-radius:10px;background:#F6EFDF;border:1px solid #EAD9B0}
.ex-rfacts dt{font-size:12px;color:#8a6420;margin:0}.ex-rfacts dd{margin:2px 0 0;font-weight:600;color:#0B1E3B}
.ex-rsec{margin:14px 0 0;padding-top:12px;border-top:1px solid #EAD9B0}
.ex-rsec h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:17px;color:#0B1E3B}
.ex-rsec h3 .ico{width:20px;height:20px;color:#B8862F}
.ex-rfee{margin:0;font-size:15px}.ex-rfee b{font-size:20px;color:#0B1E3B}
.ex-rnote2{margin:6px 0 0;padding:8px 10px;border-radius:8px;background:#FFF4D6;color:#7c4a03;font-weight:600}
.ex-rinfo{margin:8px 0 0;color:#374151;font-size:14px}
.ex-rmodal .ex-docgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.ex-rmedia{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.ex-rmedia button{position:relative;flex:0 0 150px;height:100px;border:0;padding:0;border-radius:10px;overflow:hidden;cursor:pointer;scroll-snap-align:start;background:#000}
.ex-rmedia img,.ex-rmedia video{width:100%;height:100%;object-fit:cover;display:block}
.ex-rmedia i{position:absolute;inset:auto auto 6px 6px;font-style:normal;color:#fff;background:rgba(0,0,0,.55);border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:11px}
.ex-rline{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#E7F8EC;color:#14532d;font-size:14px}
.ex-ract{margin:16px 0 0;text-align:right}
.page-exam #galBox{z-index:1300}
.ex-pay-rnote{font-weight:600;color:#7c4a03}
.ex-rmodal .ex-doc{min-height:0;padding:12px 8px;gap:6px}
.ex-rmodal .ex-doc b{color:#0B1E3B;text-shadow:none;font-size:13.5px}
.ex-rmodal .ex-docico svg{width:40px;height:40px}

/* v3.20.19 owner: "ทำให้สวยเท่" — batch pop-up (รายละเอียดรุ่น): dark navy glass, gold glow, neon status; modern digits (1 no longer looks like I) */
.page-exam .ex-modal-win h2{font-variant-numeric:lining-nums}
.page-exam .ex-rmodal .ex-modal-win{background:radial-gradient(120% 50% at 50% 0%,#17346a 0%,#0c1c3c 45%,#070f22 100%);color:#e6ecf7;border:1px solid rgba(233,194,122,.7);
 box-shadow:0 0 0 1px rgba(233,194,122,.15),0 0 40px rgba(233,194,122,.18),0 24px 70px rgba(0,0,0,.6)}
.page-exam .ex-rmodal .ex-modal-win h2{background:transparent;padding-top:34px;letter-spacing:.02em;
 background-image:linear-gradient(180deg,#fff6dc,#f2cf86 55%,#c99a45);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 2px 10px rgba(242,207,134,.35))}
.page-exam .ex-rmodal .ex-modal-win h2 .ico{filter:none;box-shadow:0 0 0 4px rgba(233,194,122,.2),0 0 26px rgba(233,194,122,.55)}
.page-exam .ex-rmodal .ex-modal-win>p{background:transparent;color:#c9d4e8}
.page-exam .ex-rmodal .ex-modal-win>p::before{background:#0c1c3c;color:#f2cf86;box-shadow:0 0 0 2px #e2b865,0 0 14px rgba(233,194,122,.6)}
.page-exam .ex-rmodal .ex-st{background:rgba(46,230,150,.12);color:#7ef0bd;border:1px solid rgba(46,230,150,.65);box-shadow:0 0 14px rgba(46,230,150,.35);padding:5px 16px;border-radius:999px;font-weight:700}
.page-exam .ex-rmodal .ex-st.is-soon{background:rgba(245,215,149,.12);color:#f5d795;border-color:rgba(245,215,149,.65);box-shadow:0 0 14px rgba(245,215,149,.3)}
.page-exam .ex-rmodal .ex-st.is-full,.page-exam .ex-rmodal .ex-st.is-closed{background:rgba(255,84,104,.12);color:#ff9aa6;border-color:rgba(255,84,104,.6);box-shadow:0 0 14px rgba(255,84,104,.3)}
.page-exam .ex-rmodal .ex-rfacts{gap:10px}
.page-exam .ex-rmodal .ex-rfacts div{position:relative;overflow:hidden;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(233,194,122,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.page-exam .ex-rmodal .ex-rfacts div::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:linear-gradient(180deg,#f6da98,#b8862f);box-shadow:0 0 10px rgba(246,218,152,.6)}
.page-exam .ex-rmodal .ex-rfacts dt{color:#e9c27a;font-size:12px;letter-spacing:.04em}
.page-exam .ex-rmodal .ex-rfacts dd{color:#fff;font-size:17px;font-weight:700}
.page-exam .ex-rmodal .ex-rsec{border-top:1px solid rgba(233,194,122,.25)}
.page-exam .ex-rmodal .ex-rsec h3{color:#fbe7b5}.page-exam .ex-rmodal .ex-rsec h3 .ico{color:#f2cf86;filter:drop-shadow(0 0 6px rgba(242,207,134,.5))}
.page-exam .ex-rmodal .ex-rfee{color:#c9d4e8}
.page-exam .ex-rmodal .ex-rfee b{display:inline-block;margin-left:6px;padding:4px 14px;border-radius:10px;background:linear-gradient(180deg,#f6da98,#c99a45);color:#1b1406;font-size:19px;box-shadow:0 0 18px rgba(242,207,134,.4)}
.page-exam .ex-rmodal .ex-rnote2,.page-exam .ex-rmodal .ex-rinfo{color:#c9d4e8}
.page-exam .ex-rmodal .ex-doc{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02));border:1px solid rgba(233,194,122,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 6px 18px rgba(0,0,0,.3)}
.page-exam .ex-rmodal .ex-doc:hover{border-color:rgba(242,196,109,.85);box-shadow:0 0 20px rgba(242,196,109,.35),0 10px 26px rgba(0,0,0,.4)}
.page-exam .ex-rmodal .ex-doc b{color:#f5f7fa}
.page-exam .ex-rmodal .ex-rline{background:rgba(46,230,150,.1);color:#9ff5cd;border:1px solid rgba(46,230,150,.45)}
.page-exam .ex-rmodal .ex-ract .btn-gold{box-shadow:0 0 22px rgba(242,207,134,.5),0 6px 16px rgba(0,0,0,.4)}
.page-exam .ex-rmodal .ex-modal-x{background:rgba(255,255,255,.08);color:#fce9bc;border:1px solid rgba(252,233,188,.5)}
