5696 lines
236 KiB
HTML
5696 lines
236 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="th">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta http-equiv="Cache-Control" content="no-store, max-age=0">
|
||
<title>เล่น — Game</title>
|
||
<!-- คลาส embed ต้องมีก่อน first paint — ถ้ารอ play.js ท้าย body จะ layout รอบแรกผิด (แคนวาสชิดซ้ายบน / stack สูงไม่เต็ม) -->
|
||
<script>
|
||
(function () {
|
||
try {
|
||
var q = typeof location !== 'undefined' && location.search ? location.search : '';
|
||
if (q.indexOf('preview=1') !== -1 && q.indexOf('editorEmbed=1') !== -1) {
|
||
document.documentElement.classList.add('play-preview-editor-embed');
|
||
}
|
||
document.documentElement.classList.add('play-hide-top-chrome');
|
||
} catch (e) { /* ignore */ }
|
||
})();
|
||
</script>
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Share+Tech+Mono&display=swap" rel="stylesheet">
|
||
<link rel="stylesheet" href="css/style.css?v=20260628-stack-tower-contain">
|
||
<!-- Minigame-2 HOW TO PLAY mock (01-howto) — layer positions / popup / status / btn -->
|
||
<link rel="stylesheet" href="/onlydesign/Cut%20[Justice%20Game]_full1.1/Minigame-2/assets/css/game-hud.css?v=0.006130015">
|
||
<link rel="stylesheet" href="/onlydesign/Cut%20[Justice%20Game]_full1.1/Minigame-2/assets/css/howto.css?v=0.006130015">
|
||
<style>
|
||
html, body {
|
||
height: 100%;
|
||
width: 100%;
|
||
margin: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
body { min-height: 100dvh; }
|
||
/* ทุกเกม — ซ่อนเฉพาะแถบห้องบน (ออกจากห้อง + ชื่อห้อง); คง SCORE/TIME/หน้าผู้เล่นใน #play-cyber-hud */
|
||
html.play-hide-top-chrome .game-header {
|
||
display: none !important;
|
||
visibility: hidden !important;
|
||
pointer-events: none !important;
|
||
}
|
||
html.play-hide-top-chrome .play-canvas-stack {
|
||
margin-top: 0;
|
||
}
|
||
.game-wrap {
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
/* พรีวิว editor embed — ห้าม display:flex บน <html> (จะทำให้ <head> กับ <body> เป็น flex items คู่กัน → ความสูง body/เกมคำนวณผิด แคนวาสชิดซ้ายบน แต่ stack ยังเต็มจอ) */
|
||
html.play-preview-editor-embed {
|
||
width: 100%;
|
||
height: 100%;
|
||
min-height: 100vh;
|
||
min-height: 100dvh;
|
||
box-sizing: border-box;
|
||
display: block;
|
||
}
|
||
html.play-preview-editor-embed body {
|
||
width: 100%;
|
||
height: 100%;
|
||
margin: 0;
|
||
box-sizing: border-box;
|
||
min-height: 100vh;
|
||
min-height: 100dvh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
html.play-preview-editor-embed .game-wrap {
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
position: relative;
|
||
}
|
||
html.play-preview-editor-embed .play-canvas-stack {
|
||
flex: 1 1 0% !important;
|
||
min-height: 0 !important;
|
||
min-width: 0 !important;
|
||
width: 100%;
|
||
display: flex !important;
|
||
flex-direction: column !important;
|
||
position: relative;
|
||
}
|
||
html.play-preview-editor-embed #play-canvas-stage.play-canvas-stage {
|
||
flex: 1 1 0% !important;
|
||
min-height: 0 !important;
|
||
min-width: 0 !important;
|
||
width: 100%;
|
||
display: flex !important;
|
||
align-items: center !important;
|
||
justify-content: center !important;
|
||
}
|
||
html.play-preview-editor-embed #play-canvas-stage #game-canvas {
|
||
align-self: center !important;
|
||
}
|
||
html.play-preview-editor-embed .version-tag {
|
||
display: none !important;
|
||
}
|
||
.sr-only {
|
||
position: absolute !important;
|
||
width: 1px !important;
|
||
height: 1px !important;
|
||
padding: 0 !important;
|
||
margin: -1px !important;
|
||
overflow: hidden !important;
|
||
clip: rect(0, 0, 0, 0) !important;
|
||
white-space: nowrap !important;
|
||
border: 0 !important;
|
||
}
|
||
.play-canvas-stack {
|
||
position: relative;
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
/* พื้นที่เต็มแถวแล้วจัดแคนวาสกลาง (กันจอใหญ่/iframe แล้วแคนวาสเล็กหลุดมุม) — ชนะ #game-canvas ใน style.css */
|
||
#play-canvas-stage.play-canvas-stage {
|
||
position: relative;
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
min-width: 0;
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-sizing: border-box;
|
||
}
|
||
/* Minigame-2 DOM overlay — ชื่อ/คะแนนใต้ตัวละคร + เลข -10 (sync world→screen)
|
||
container map buffer→display ด้วย transform:scale(dispScale) (set จาก JS) → ข้างในใช้ buffer coords ตรง ๆ */
|
||
#gauntlet-name-overlay {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
transform-origin: 0 0;
|
||
pointer-events: none;
|
||
z-index: 6;
|
||
overflow: hidden;
|
||
}
|
||
#gauntlet-name-overlay.is-hidden { display: none !important; }
|
||
#gauntlet-name-overlay .gnt-label {
|
||
position: absolute;
|
||
transform: translate(-50%, 0);
|
||
white-space: nowrap;
|
||
font-family: "NotoSansThai", sans-serif;
|
||
font-weight: 700;
|
||
font-size: 11px;
|
||
line-height: 1;
|
||
color: #e8f4ff;
|
||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
|
||
text-align: center;
|
||
}
|
||
#gauntlet-name-overlay .gnt-label .gnt-sc {
|
||
color: #ffd96b;
|
||
font-weight: 900;
|
||
margin-left: 5px;
|
||
}
|
||
#gauntlet-name-overlay .gnt-label.is-out { opacity: 0.45; }
|
||
/* เลข -10 ลอยขึ้น+จาง (penalty) */
|
||
#gauntlet-name-overlay .gnt-pen {
|
||
position: absolute;
|
||
transform: translate(-50%, 0);
|
||
width: 72px;
|
||
height: auto;
|
||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
|
||
animation: gntPenFloat 0.85s ease-out forwards;
|
||
will-change: transform, opacity;
|
||
pointer-events: none;
|
||
}
|
||
@keyframes gntPenFloat {
|
||
0% { opacity: 0; transform: translate(-50%, 6px) scale(0.8); }
|
||
18% { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
|
||
100% { opacity: 0; transform: translate(-50%, -40px) scale(1); }
|
||
}
|
||
#play-canvas-stage #game-canvas {
|
||
flex: none;
|
||
display: block;
|
||
width: auto;
|
||
height: auto;
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
touch-action: none;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
/* Stack Tower (mnn93hpi): แคนวาสบัฟเฟอร์ 16:9 — ใช้ contain เพื่อให้เฟรมกล้อง "คงที่ทุก resolution"
|
||
(cover สเกลตามด้านใหญ่กว่า → เปลี่ยน resolution = เฟรม/ซูมเพี้ยน + บล็อกห้อย/จุดวางหลุดเฟรม)
|
||
แถบ letterbox กลืนสีฉาก (#0a0e22) จึงไม่ดูเป็นขอบดำจอเสีย */
|
||
html.play-stack-tower-pixel-canvas #play-canvas-stage.play-canvas-stage {
|
||
position: relative;
|
||
min-height: 0;
|
||
background: #0a0e22;
|
||
}
|
||
html.play-stack-tower-pixel-canvas #play-canvas-stage #game-canvas {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100% !important;
|
||
height: 100% !important;
|
||
max-width: none;
|
||
max-height: none;
|
||
object-fit: contain;
|
||
object-position: center center;
|
||
background: #0a0e22;
|
||
touch-action: none;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
html.play-preview-editor-embed.play-stack-tower-pixel-canvas #play-canvas-stage #game-canvas {
|
||
align-self: stretch !important;
|
||
}
|
||
/* Stack Tower: portrait มุมขวา (DOM) — โฟกัสประมาณคอขึ้น */
|
||
html.play-stack-tower-pixel-canvas .play-cyber-profile-frame {
|
||
overflow: hidden;
|
||
}
|
||
html.play-stack-tower-pixel-canvas .play-cyber-profile-frame img#play-cyber-portrait-img {
|
||
width: 72px;
|
||
height: 96px;
|
||
object-fit: cover;
|
||
object-position: center 2%;
|
||
margin: -22px 0 0 0;
|
||
}
|
||
html.play-stack-tower-pixel-canvas .play-cyber-self {
|
||
top: max(44px, calc(env(safe-area-inset-top) + 30px)) !important;
|
||
}
|
||
/* หลังกดรับหลักฐานในหน้าสรุป — BG ดำ alpha ทั้งจอ + timeup ติดโซนโต๊ะเหมือน #quiz-map-question-panel */
|
||
#quiz-carry-timeup-desk-layer {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 65;
|
||
pointer-events: none;
|
||
box-sizing: border-box;
|
||
}
|
||
/* หมดเวลาตอบรอบคำถาม — กด «ข้อถัดไป» ได้ (กัน pointer ทะลุไปเกม) */
|
||
#quiz-carry-timeup-desk-layer.qc-timeup-desk--interactive {
|
||
pointer-events: auto;
|
||
}
|
||
#quiz-carry-timeup-desk-layer.qc-timeup-desk--interactive .qc-timeup-dim {
|
||
pointer-events: auto;
|
||
}
|
||
#quiz-carry-timeup-desk-layer.qc-timeup-desk--interactive .qc-timeup-desk-anchor {
|
||
pointer-events: auto;
|
||
}
|
||
#quiz-carry-timeup-desk-layer.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.qc-timeup-dim {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 0;
|
||
background: rgba(0, 0, 0, 0.58);
|
||
pointer-events: none;
|
||
}
|
||
.qc-timeup-desk-anchor {
|
||
position: absolute;
|
||
z-index: 1;
|
||
box-sizing: border-box;
|
||
padding: clamp(6px, 1.5vw, 14px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
text-align: center;
|
||
overflow: visible;
|
||
pointer-events: none;
|
||
}
|
||
/* หมดเวลาตอบรอบคำถาม — ซ่อนข้อความคำถามใต้ TIME'S UP */
|
||
html.quiz-carry-answer-timeup-active #quiz-map-question-text,
|
||
html.quiz-carry-answer-timeup-active #quiz-map-question-kicker,
|
||
html.quiz-carry-answer-timeup-active .quiz-map-q-feedback-icon,
|
||
html.quiz-carry-answer-timeup-active #quiz-map-q-feedback-score-wrap,
|
||
html.quiz-carry-answer-timeup-active #quiz-game-question,
|
||
html.quiz-carry-answer-timeup-active #quiz-carry-embed-q-strip,
|
||
html.quiz-carry-answer-timeup-active #quiz-carry-embed-q-strip-text {
|
||
visibility: hidden !important;
|
||
opacity: 0 !important;
|
||
pointer-events: none !important;
|
||
}
|
||
.qc-timeup-txt-img {
|
||
width: min(94%, 520px);
|
||
max-width: 100%;
|
||
height: auto;
|
||
object-fit: contain;
|
||
display: block;
|
||
filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 20px rgba(255, 60, 80, 0.15));
|
||
}
|
||
/* หลัง timeup 5s — mock จบ: result-complete / result-gameover เต็มพื้นที่แคนวาส */
|
||
#quiz-carry-result-end-layer {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 66;
|
||
pointer-events: none;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
#quiz-carry-result-end-layer.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.qc-result-end-dim {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 0;
|
||
background: rgba(0, 0, 0, 0.62);
|
||
pointer-events: none;
|
||
}
|
||
.qc-result-end-img {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: min(96vw, 920px);
|
||
max-height: min(88vh, 640px);
|
||
height: auto;
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.7));
|
||
}
|
||
/* Quiz carry — ปุ่ม GRAB มุมขวาล่าง (เทียบ F) · mockup ≈ 10–12% ความสูงจอ */
|
||
#quiz-carry-grab-btn {
|
||
position: absolute;
|
||
right: max(10px, env(safe-area-inset-right, 0px));
|
||
bottom: max(10px, env(safe-area-inset-bottom, 0px));
|
||
z-index: 60;
|
||
width: min(12vh, 13vw, 168px);
|
||
height: min(12vh, 13vw, 168px);
|
||
padding: 0;
|
||
margin: 0;
|
||
border: none;
|
||
border-radius: 50%;
|
||
background: transparent;
|
||
cursor: default;
|
||
opacity: 0.38;
|
||
transition: opacity 0.2s ease, transform 0.15s ease;
|
||
touch-action: manipulation;
|
||
-webkit-tap-highlight-color: transparent;
|
||
box-shadow: none;
|
||
}
|
||
#quiz-carry-grab-btn.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#quiz-carry-grab-btn.quiz-carry-grab-btn--active {
|
||
opacity: 1;
|
||
cursor: pointer;
|
||
}
|
||
#quiz-carry-grab-btn.quiz-carry-grab-btn--active:active {
|
||
transform: scale(0.96);
|
||
}
|
||
#quiz-carry-grab-btn.quiz-carry-grab-btn--place.quiz-carry-grab-btn--active {
|
||
filter: drop-shadow(0 0 10px rgba(94, 234, 255, 0.45));
|
||
}
|
||
#quiz-carry-grab-btn img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
user-select: none;
|
||
}
|
||
/* Last Light (mno9kb07) — ปุ่มกระโดดมุมขวาล่าง · เทียบ Space / W / ↑ */
|
||
#gauntlet-crown-jump-btn {
|
||
position: absolute;
|
||
right: max(10px, env(safe-area-inset-right, 0px));
|
||
bottom: max(10px, env(safe-area-inset-bottom, 0px));
|
||
z-index: 59;
|
||
width: min(14vh, 16vw, 200px);
|
||
height: min(14vh, 16vw, 200px);
|
||
padding: 0;
|
||
margin: 0;
|
||
border: none;
|
||
border-radius: 50%;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
opacity: 1;
|
||
transition: transform 0.15s ease, filter 0.15s ease;
|
||
touch-action: manipulation;
|
||
-webkit-tap-highlight-color: transparent;
|
||
box-shadow: none;
|
||
filter: drop-shadow(0 0 12px rgba(94, 234, 255, 0.35));
|
||
}
|
||
#gauntlet-crown-jump-btn.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-jump-btn:active {
|
||
transform: scale(0.96);
|
||
}
|
||
#gauntlet-crown-jump-btn img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
user-select: none;
|
||
}
|
||
/* Stack Tower (mnn93hpi) — ปุ่มปล่อยบล็อก มุมขวาล่าง · เทียบ Space / Enter */
|
||
#stack-tower-drop-btn {
|
||
position: absolute;
|
||
right: max(10px, env(safe-area-inset-right, 0px));
|
||
bottom: max(10px, env(safe-area-inset-bottom, 0px));
|
||
z-index: 60;
|
||
width: min(14vh, 16vw, 200px);
|
||
height: min(14vh, 16vw, 200px);
|
||
padding: 0;
|
||
margin: 0;
|
||
border: none;
|
||
border-radius: 50%;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
opacity: 0.4;
|
||
transition: transform 0.15s ease, opacity 0.2s ease, filter 0.15s ease;
|
||
touch-action: manipulation;
|
||
-webkit-tap-highlight-color: transparent;
|
||
box-shadow: none;
|
||
filter: drop-shadow(0 0 14px rgba(187, 100, 255, 0.5));
|
||
}
|
||
#stack-tower-drop-btn.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#stack-tower-drop-btn.stack-tower-drop-btn--active {
|
||
opacity: 1;
|
||
cursor: pointer;
|
||
}
|
||
#stack-tower-drop-btn.stack-tower-drop-btn--active:active {
|
||
transform: scale(0.96);
|
||
}
|
||
#stack-tower-drop-btn img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
user-select: none;
|
||
}
|
||
#quiz-game-overlay {
|
||
position: fixed;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
bottom: max(12px, env(safe-area-inset-bottom));
|
||
z-index: 650;
|
||
max-width: min(96vw, 520px);
|
||
width: 100%;
|
||
pointer-events: none;
|
||
}
|
||
#quiz-game-overlay.is-hidden { display: none !important; }
|
||
.quiz-game-inner {
|
||
background: rgba(12, 14, 28, 0.92);
|
||
border: 1px solid rgba(122, 162, 247, 0.45);
|
||
border-radius: 14px;
|
||
padding: 0.65rem 1rem 0.75rem;
|
||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
.quiz-game-phase {
|
||
font-size: 0.72rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
color: #7aa2f7;
|
||
margin-bottom: 0.35rem;
|
||
}
|
||
.quiz-game-q {
|
||
margin: 0 0 0.45rem;
|
||
font-size: clamp(0.95rem, 3vw, 1.1rem);
|
||
line-height: 1.45;
|
||
color: #e2e8f0;
|
||
font-weight: 600;
|
||
white-space: pre-line;
|
||
}
|
||
.quiz-game-timer {
|
||
font-variant-numeric: tabular-nums;
|
||
font-size: 1.35rem;
|
||
font-weight: 800;
|
||
color: #9ece6a;
|
||
text-shadow: 0 0 12px rgba(158, 206, 106, 0.35);
|
||
}
|
||
.quiz-play-legend {
|
||
margin: 0;
|
||
font-size: 0.72rem;
|
||
line-height: 1.4;
|
||
color: #a9b1d6;
|
||
}
|
||
#quiz-map-question-panel {
|
||
position: absolute;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
box-sizing: border-box;
|
||
padding: clamp(6px, 1.5vw, 14px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
justify-content: flex-start;
|
||
text-align: center;
|
||
overflow: visible;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
--qmap-bg: rgba(12, 14, 28, 0.88);
|
||
--qmap-border: rgba(255, 214, 102, 0.7);
|
||
--qmap-border-w: 2px;
|
||
--qmap-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
|
||
background: var(--qmap-bg);
|
||
border: var(--qmap-border-w) solid var(--qmap-border);
|
||
border-radius: 12px;
|
||
box-shadow: var(--qmap-shadow);
|
||
}
|
||
/* เกมถูก/ผิด: จัดข้อความกึ่งกลางแนวตั้งในโซนทอง (quiz_carry ไม่ใส่คลาสนี้ — ยังใช้ไอคอน/คะแนนด้านล่าง) */
|
||
#quiz-map-question-panel.quiz-map-question-panel--true-false {
|
||
justify-content: center;
|
||
}
|
||
/* แมปภารกิจคำถาม (mng8a80o) ช่วงเล่น — กรอบแบบ mock โดยไม่ต้องมี hud-question-plaque.png */
|
||
#quiz-map-question-panel.quiz-map-question-panel--question-mission-live {
|
||
background:
|
||
linear-gradient(180deg, rgba(14, 24, 44, 0.5), rgba(8, 12, 26, 0.82)),
|
||
linear-gradient(90deg, rgba(0, 255, 230, 0.07), transparent 38%, transparent 62%, rgba(255, 100, 70, 0.06)),
|
||
var(--qmap-bg, rgba(12, 14, 28, 0.92));
|
||
border-color: rgba(255, 224, 130, 0.5);
|
||
box-shadow:
|
||
var(--qmap-shadow, 0 8px 28px rgba(0, 0, 0, 0.55)),
|
||
inset 0 0 0 1px rgba(0, 255, 240, 0.14),
|
||
0 0 32px rgba(0, 200, 255, 0.1);
|
||
}
|
||
/* บรรทัดเล็กเหนือข้อความคำถาม — หมายเลขข้อ (เทียบ mock - Quiz 3) */
|
||
#quiz-map-question-panel .quiz-map-question-kicker {
|
||
position: relative;
|
||
z-index: 1;
|
||
flex: 0 0 auto;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
margin: 0 0 0.28rem;
|
||
padding: 0 2px;
|
||
font-family: 'Orbitron', 'Share Tech Mono', ui-monospace, sans-serif;
|
||
font-size: clamp(0.52rem, 1.35vw, 0.66rem);
|
||
font-weight: 600;
|
||
letter-spacing: 0.16em;
|
||
text-transform: uppercase;
|
||
line-height: 1.25;
|
||
text-align: center;
|
||
color: rgba(236, 252, 255, 0.95);
|
||
text-shadow:
|
||
0 0 10px rgba(0, 240, 255, 0.42),
|
||
0 1px 8px rgba(0, 0, 0, 0.88);
|
||
}
|
||
#quiz-map-question-panel .quiz-map-question-kicker.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#quiz-map-question-panel .quiz-map-question-subphase {
|
||
position: relative;
|
||
z-index: 1;
|
||
flex: 0 0 auto;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
margin: 0.3rem 0 0;
|
||
padding: 0 2px;
|
||
text-align: center;
|
||
font-family: 'NotoSansThai', 'Kanit', sans-serif;
|
||
font-weight: 700;
|
||
font-size: clamp(0.62rem, 1.7vw, 0.95rem);
|
||
letter-spacing: 0.5px;
|
||
line-height: 1.2;
|
||
color: #ffd34d;
|
||
text-shadow:
|
||
0 0 10px rgba(255, 190, 60, 0.55),
|
||
0 1px 6px rgba(0, 0, 0, 0.88);
|
||
}
|
||
#quiz-map-question-panel .quiz-map-question-subphase.is-hidden {
|
||
display: none !important;
|
||
}
|
||
/* mng8a80o — ข้อความคำถามแบบ mock qz-sms (ไม่มีกรอบทอง) */
|
||
#quiz-map-question-panel.quiz-map-question-panel--tf-mock-qz {
|
||
background: transparent !important;
|
||
border: none !important;
|
||
box-shadow: none !important;
|
||
border-radius: 0;
|
||
padding: 0 24px;
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
text-align: center;
|
||
}
|
||
#quiz-map-question-panel.quiz-map-question-panel--tf-mock-qz .quiz-map-question-kicker {
|
||
font-family: 'NotoSansThai', 'Kanit', sans-serif;
|
||
font-size: 22px;
|
||
font-weight: 700;
|
||
letter-spacing: 1px;
|
||
text-transform: none;
|
||
color: #cfeeff;
|
||
margin: 0 0 8px;
|
||
text-shadow: 0 0 8px rgba(120, 220, 255, 0.5);
|
||
}
|
||
#quiz-map-question-panel.quiz-map-question-panel--tf-mock-qz #quiz-map-question-text {
|
||
font-family: 'NotoSansThai', 'Kanit', sans-serif;
|
||
font-size: clamp(1.35rem, 2.8vw, 34px);
|
||
font-weight: 700;
|
||
line-height: 1.35;
|
||
color: #fcf005;
|
||
text-shadow:
|
||
0 2px 4px rgba(0, 0, 0, 0.85),
|
||
0 0 12px rgba(252, 240, 5, 0.35);
|
||
}
|
||
#quiz-map-question-panel.is-hidden { display: none !important; }
|
||
#quiz-map-question-panel::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
/* ขนาดตั้งต้น — โหมด quiz_carry ถูกทับด้วย play.js ตามสัดส่วนกล่อง + ธีม */
|
||
#quiz-map-question-text {
|
||
margin: 0;
|
||
font-size: 22px;
|
||
font-weight: 600;
|
||
line-height: 1.45;
|
||
--qmap-text: #f1f5f9;
|
||
--qmap-text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
|
||
color: var(--qmap-text);
|
||
text-shadow: var(--qmap-text-shadow);
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
flex: 0 1 auto;
|
||
min-height: 0;
|
||
max-height: 100%;
|
||
align-self: center;
|
||
text-align: center;
|
||
overflow: hidden;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
white-space: pre-line;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
#quiz-map-question-text::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
/* quiz_carry: ไอคอนถูก/ผิดโผล่ครึ่งบนกรอบแผง — ข้อความยัง clip ใน p */
|
||
#quiz-map-q-feedback-icon {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 0;
|
||
transform: translate(-50%, -44%);
|
||
width: clamp(28px, min(24%, 5vmin), 76px);
|
||
height: auto;
|
||
z-index: 4;
|
||
pointer-events: none;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
|
||
}
|
||
#quiz-map-q-feedback-icon.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#quiz-map-q-feedback-score-wrap {
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
pointer-events: none;
|
||
padding: 0.12em 0 0.2em;
|
||
}
|
||
#quiz-map-q-feedback-score-wrap.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#quiz-map-q-feedback-score {
|
||
width: clamp(44px, min(58%, 12vmin), 160px);
|
||
height: auto;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
|
||
}
|
||
#quiz-map-q-feedback-score.quiz-map-q-feedback-score--pop {
|
||
animation: quizMapQScorePop 0.58s ease-out both;
|
||
}
|
||
@keyframes quizMapQScorePop {
|
||
0% { transform: scale(0.55); opacity: 0; }
|
||
58% { transform: scale(1.06); opacity: 1; }
|
||
100% { transform: scale(1); opacity: 1; }
|
||
}
|
||
#quiz-carry-embed-countdown {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10080;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
pointer-events: none;
|
||
background: var(--carry-ecd-overlay, rgba(8, 10, 20, 0.42));
|
||
}
|
||
#quiz-carry-embed-countdown.quiz-carry-embed-countdown--map-anchor {
|
||
align-items: flex-start;
|
||
justify-content: flex-start;
|
||
background: var(--carry-ecd-overlay, rgba(8, 10, 20, 0.32));
|
||
}
|
||
#quiz-carry-embed-countdown.is-hidden { display: none !important; }
|
||
#quiz-carry-embed-countdown-inner {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0.55rem;
|
||
max-width: min(94vw, 760px);
|
||
padding: 0;
|
||
text-align: center;
|
||
box-sizing: border-box;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
}
|
||
#quiz-carry-embed-countdown-inner.quiz-carry-embed-countdown-inner--map-rect {
|
||
max-width: none;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
}
|
||
#quiz-carry-embed-countdown-kicker {
|
||
display: none;
|
||
margin: 0;
|
||
font: 800 0.68rem / 1.2 system-ui, "Kanit", sans-serif;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
color: #7aa2f7;
|
||
text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
|
||
}
|
||
#quiz-carry-embed-countdown-kicker.quiz-carry-embed-countdown-kicker--mission {
|
||
font-weight: 600;
|
||
font-size: clamp(0.72rem, 2vmin, 0.9rem);
|
||
letter-spacing: 0.04em;
|
||
text-transform: none;
|
||
color: #f8fafc;
|
||
text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
|
||
}
|
||
#quiz-carry-embed-countdown-q {
|
||
display: none;
|
||
margin: 0;
|
||
font: 600 clamp(14px, 3.2vmin, 20px) / 1.45 system-ui, "Kanit", sans-serif;
|
||
color: #f8fafc;
|
||
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
|
||
max-height: min(32vh, 220px);
|
||
overflow: hidden;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
white-space: pre-line;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
#quiz-carry-embed-countdown-q::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
#quiz-carry-embed-countdown-num {
|
||
display: block;
|
||
width: min(var(--carry-ecd-screen-vw, 32vw), var(--carry-ecd-screen-max, 200px));
|
||
max-width: min(78vw, 420px);
|
||
height: auto;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.55));
|
||
}
|
||
/* ยึดกล่องบนแมป (ทอง / กลาง / กริด 321): ตัวเลขตามขนาดกล่องช่อง — ไม่ใช้ vw เต็มจอ */
|
||
#quiz-carry-embed-countdown.quiz-carry-embed-countdown--map-anchor #quiz-carry-embed-countdown-inner.quiz-carry-embed-countdown-inner--map-rect {
|
||
container-type: size;
|
||
}
|
||
#quiz-carry-embed-countdown.quiz-carry-embed-countdown--map-anchor #quiz-carry-embed-countdown-inner.quiz-carry-embed-countdown-inner--map-rect #quiz-carry-embed-countdown-num {
|
||
width: auto;
|
||
height: min(72cqh, 88cqmin);
|
||
max-height: 78%;
|
||
max-width: 92%;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55));
|
||
}
|
||
/* ด้านบน: ไม่ชน HUD ล่างบนแคนวาส + เห็นชัดกว่าแถบล่าง */
|
||
#quiz-carry-embed-q-strip {
|
||
position: fixed;
|
||
left: 50%;
|
||
top: max(52px, calc(env(safe-area-inset-top) + 46px));
|
||
bottom: auto;
|
||
transform: translateX(-50%);
|
||
z-index: 10100;
|
||
max-width: min(92vw, min(640px, calc(100vw - 200px)));
|
||
padding: 0.4rem 0.75rem 0.48rem;
|
||
border-radius: 12px;
|
||
background: rgba(12, 14, 28, 0.96);
|
||
border: 1px solid rgba(122, 162, 247, 0.55);
|
||
box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
|
||
pointer-events: none;
|
||
}
|
||
#quiz-carry-embed-q-strip.is-hidden { display: none !important; }
|
||
.quiz-carry-embed-q-strip-kicker {
|
||
display: block;
|
||
font: 800 0.58rem / 1.2 system-ui, "Kanit", sans-serif;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
color: #7aa2f7;
|
||
margin: 0 0 0.2rem;
|
||
text-align: center;
|
||
}
|
||
#quiz-carry-embed-q-strip-text {
|
||
margin: 0;
|
||
font: 600 clamp(0.82rem, 2.4vmin, 1.12rem) / 1.45 system-ui, "Kanit", sans-serif;
|
||
color: #f8fafc;
|
||
text-align: center;
|
||
text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
|
||
max-height: min(28vh, 200px);
|
||
overflow: auto;
|
||
}
|
||
/* ระหว่าง 3–2–1 อยู่เหนือ overlay นับถอยหลัง (10080) */
|
||
#quiz-carry-embed-q-strip.quiz-carry-embed-q-strip--countdown {
|
||
z-index: 10120;
|
||
top: max(52px, calc(env(safe-area-inset-top) + 46px));
|
||
}
|
||
/* พรีวิว embed quiz_carry: How to play — โครง/โกลว์ให้ใกล้ gauntlet-crown-howto (Stack mnn93hpi รูป2) */
|
||
#quiz-carry-pregame-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10078;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
}
|
||
html.play-preview-editor-embed #quiz-carry-pregame-overlay {
|
||
z-index: 10138;
|
||
}
|
||
#quiz-carry-pregame-overlay.is-hidden { display: none !important; }
|
||
.quiz-carry-pregame-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(6, 8, 18, 0.78);
|
||
backdrop-filter: blur(5px);
|
||
}
|
||
.quiz-carry-pregame-sr-only {
|
||
position: absolute;
|
||
width: 1px;
|
||
height: 1px;
|
||
padding: 0;
|
||
margin: -1px;
|
||
overflow: hidden;
|
||
clip: rect(0, 0, 0, 0);
|
||
white-space: nowrap;
|
||
border: 0;
|
||
}
|
||
.quiz-carry-pregame-card {
|
||
position: relative;
|
||
z-index: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
width: min(96vw, 920px);
|
||
max-width: min(96vw, 920px);
|
||
max-height: min(92vh, 640px);
|
||
overflow: visible;
|
||
padding: clamp(4px, 1.2vw, 10px);
|
||
background: transparent;
|
||
border: none;
|
||
border-radius: 14px;
|
||
box-shadow: none;
|
||
pointer-events: auto;
|
||
}
|
||
.quiz-carry-pregame-art {
|
||
flex: 0 1 auto;
|
||
width: 100%;
|
||
min-height: 0;
|
||
margin: 0;
|
||
padding: 0;
|
||
overflow: visible;
|
||
background: transparent;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.quiz-carry-pregame-howto-img {
|
||
display: block;
|
||
width: 100%;
|
||
height: auto;
|
||
max-height: min(88vh, 600px);
|
||
object-fit: contain;
|
||
object-position: center center;
|
||
border: none;
|
||
outline: none;
|
||
pointer-events: none;
|
||
filter: drop-shadow(0 0 18px rgba(0, 255, 240, 0.25)) drop-shadow(0 0 22px rgba(255, 0, 200, 0.2));
|
||
}
|
||
.quiz-carry-pregame-footer {
|
||
position: absolute;
|
||
left: 50%;
|
||
bottom: clamp(6px, 1.6vmin, 14px);
|
||
transform: translateX(-50%);
|
||
width: min(92%, 280px);
|
||
flex: 0 0 auto;
|
||
padding: 0;
|
||
background: transparent;
|
||
border: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 4px;
|
||
pointer-events: none;
|
||
}
|
||
.quiz-carry-pregame-status {
|
||
margin: 0;
|
||
max-width: 100%;
|
||
text-align: center;
|
||
font: 800 clamp(0.75rem, 2vw, 0.9rem) / 1.35 system-ui, "Kanit", sans-serif;
|
||
color: #f8fafc;
|
||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.55);
|
||
letter-spacing: 0.02em;
|
||
}
|
||
.quiz-carry-pregame-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.5rem 1rem;
|
||
justify-content: center;
|
||
align-items: center;
|
||
pointer-events: auto;
|
||
}
|
||
.quiz-carry-pregame-primary-btn {
|
||
background: transparent;
|
||
border: none;
|
||
padding: 0;
|
||
cursor: pointer;
|
||
line-height: 0;
|
||
border-radius: 6px;
|
||
transition: transform 0.12s ease, filter 0.12s ease, opacity 0.15s ease;
|
||
}
|
||
.quiz-carry-pregame-primary-btn:hover:not(:disabled):not(.is-read-only) {
|
||
transform: scale(1.03);
|
||
filter: brightness(1.08) drop-shadow(0 0 10px rgba(0, 255, 240, 0.35));
|
||
}
|
||
.quiz-carry-pregame-primary-btn.is-pressed:not(.is-start-phase) {
|
||
filter: brightness(1.12) drop-shadow(0 0 12px rgba(94, 234, 212, 0.55));
|
||
}
|
||
.quiz-carry-pregame-primary-btn.is-read-only,
|
||
.quiz-carry-pregame-primary-btn:disabled {
|
||
opacity: 0.38;
|
||
pointer-events: none;
|
||
cursor: default;
|
||
filter: grayscale(0.2);
|
||
}
|
||
.quiz-carry-pregame-primary-btn img {
|
||
display: block;
|
||
width: min(240px, 70vw);
|
||
height: auto;
|
||
}
|
||
#play-quiz-scoreboard {
|
||
position: fixed;
|
||
top: max(56px, env(safe-area-inset-top));
|
||
right: max(10px, env(safe-area-inset-right));
|
||
z-index: 10070;
|
||
min-width: 150px;
|
||
max-width: min(42vw, 220px);
|
||
background: rgba(12, 14, 28, 0.92);
|
||
border: 1px solid rgba(122, 162, 247, 0.4);
|
||
border-radius: 12px;
|
||
padding: 0.45rem 0.55rem 0.55rem;
|
||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
|
||
pointer-events: none;
|
||
}
|
||
#play-quiz-scoreboard.is-hidden { display: none !important; }
|
||
.play-quiz-scoreboard-title {
|
||
font-size: 0.65rem;
|
||
font-weight: 800;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
color: #7aa2f7;
|
||
margin-bottom: 0.3rem;
|
||
border-bottom: 1px solid rgba(122, 162, 247, 0.25);
|
||
padding-bottom: 0.2rem;
|
||
}
|
||
.play-quiz-scoreboard-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
max-height: 38vh;
|
||
overflow: auto;
|
||
}
|
||
.play-quiz-scoreboard-list li {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(2.25rem, auto);
|
||
align-items: baseline;
|
||
column-gap: 0.5rem;
|
||
font-size: 0.74rem;
|
||
color: #c0caf5;
|
||
padding: 0.15rem 0;
|
||
}
|
||
.play-quiz-scoreboard-me { color: #9ece6a !important; font-weight: 700; }
|
||
.play-quiz-scoreboard-val {
|
||
font-variant-numeric: tabular-nums;
|
||
font-weight: 800;
|
||
text-align: right;
|
||
justify-self: end;
|
||
}
|
||
.play-quiz-scoreboard-me .play-quiz-scoreboard-val { color: #9ece6a; }
|
||
/* แจ้งผลรอบคำถามแบบ toast — ปิดการแสดง (กรอบกลางบนรบกวน HUD) โค้ดยังอัปเดตข้อความได้สำหรับ a11y/ดีบัก */
|
||
#play-quiz-feedback {
|
||
display: none !important;
|
||
position: fixed;
|
||
top: max(10px, env(safe-area-inset-top));
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
z-index: 10072;
|
||
max-width: min(92vw, 440px);
|
||
padding: 0.55rem 1rem;
|
||
border-radius: 12px;
|
||
font-size: clamp(0.88rem, 3vw, 1.05rem);
|
||
font-weight: 800;
|
||
text-align: center;
|
||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
|
||
pointer-events: none;
|
||
line-height: 1.35;
|
||
}
|
||
#play-quiz-feedback.is-hidden { display: none !important; }
|
||
.play-quiz-feedback-ok {
|
||
background: rgba(22, 40, 28, 0.95);
|
||
border: 2px solid rgba(158, 206, 106, 0.85);
|
||
color: #c3e6a8;
|
||
}
|
||
.play-quiz-feedback-bad {
|
||
background: rgba(40, 22, 30, 0.95);
|
||
border: 2px solid rgba(247, 118, 140, 0.85);
|
||
color: #fecdd3;
|
||
}
|
||
/* quiz_carry — สรุปผลภารกิจ (mock) · พื้นหลังแยกจากเนื้อหา กันลาย PNG [4th]/[5th] ทับ + หัวซ้ำกับ artwork */
|
||
#quiz-carry-mission-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10090;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
font-family: 'Orbitron', 'Segoe UI', sans-serif;
|
||
}
|
||
#quiz-carry-mission-overlay.is-hidden { display: none !important; }
|
||
.qc-mission-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(4, 6, 14, 0.78);
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
.qc-mission-panel {
|
||
position: relative;
|
||
width: min(96vw, 720px);
|
||
max-width: 100%;
|
||
max-height: min(92vh, 860px);
|
||
border-radius: 12px;
|
||
overflow: hidden;
|
||
filter: drop-shadow(0 0 22px rgba(0, 255, 240, 0.18));
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.qc-mission-panel-bg {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
height: auto;
|
||
min-height: 100%;
|
||
background-image: url('/Game/img/quiz-carry/popup-result.png');
|
||
background-repeat: no-repeat;
|
||
background-position: center top;
|
||
background-size: 100% auto;
|
||
pointer-events: none;
|
||
z-index: 0;
|
||
}
|
||
.qc-mission-panel-inner {
|
||
position: relative;
|
||
z-index: 1;
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
/* เว้นตำแหน่งหัวข้อใน artwork — ไม่ซ้ำกับ <h2> sr-only */
|
||
padding: clamp(72px, 16vw, 112px) clamp(14px, 3.2vw, 26px) clamp(14px, 2.8vw, 22px);
|
||
gap: clamp(8px, 1.6vw, 14px);
|
||
}
|
||
.qc-mission-rank-row {
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
justify-content: center;
|
||
align-items: stretch;
|
||
gap: clamp(6px, 1.5vw, 14px);
|
||
flex: 0 0 auto;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: thin;
|
||
padding: 2px 0;
|
||
}
|
||
.qc-mission-rank-cell {
|
||
flex: 0 0 auto;
|
||
width: clamp(68px, 16vw, 104px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 4px;
|
||
text-align: center;
|
||
color: #e2e8f0;
|
||
min-width: 0;
|
||
}
|
||
/* แท็กอันดับ mock: [1st] … [5th] สีทอง — อยู่เหนือกรอบ ไม่ทับอวาตาร์ */
|
||
.qc-mission-rank-tag {
|
||
flex: 0 0 auto;
|
||
font-size: clamp(0.5rem, 1.35vw, 0.65rem);
|
||
font-weight: 800;
|
||
letter-spacing: 0.04em;
|
||
color: #f6e08a;
|
||
text-shadow: 0 0 10px rgba(246, 224, 138, 0.45);
|
||
line-height: 1.1;
|
||
white-space: nowrap;
|
||
}
|
||
.qc-mission-rank-frame {
|
||
position: relative;
|
||
width: 100%;
|
||
max-width: 88px;
|
||
aspect-ratio: 1;
|
||
margin: 0 auto;
|
||
overflow: hidden;
|
||
border-radius: 8px;
|
||
border: 1px solid rgba(0, 255, 240, 0.45);
|
||
box-shadow:
|
||
0 0 0 1px rgba(255, 79, 180, 0.2),
|
||
0 0 14px rgba(0, 255, 240, 0.18);
|
||
background: rgba(10, 12, 24, 0.95);
|
||
flex-shrink: 0;
|
||
}
|
||
.qc-mission-rank-avatar {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 40%;
|
||
transform: translate(-50%, -50%) scale(1.28);
|
||
transform-origin: 50% 30%;
|
||
width: 88%;
|
||
height: 88%;
|
||
object-fit: cover;
|
||
object-position: center 18%;
|
||
image-rendering: pixelated;
|
||
display: block;
|
||
pointer-events: none;
|
||
}
|
||
.qc-mission-rank-nick {
|
||
flex: 1 1 auto;
|
||
min-height: 2.5em;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
font-size: clamp(0.52rem, 1.45vw, 0.68rem);
|
||
font-weight: 700;
|
||
color: #e2e8f0;
|
||
line-height: 1.15;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
word-break: break-word;
|
||
hyphens: auto;
|
||
text-align: center;
|
||
}
|
||
.qc-mission-rank-score {
|
||
flex: 0 0 auto;
|
||
margin-top: auto;
|
||
font-variant-numeric: tabular-nums;
|
||
font-size: clamp(0.62rem, 1.85vw, 0.78rem);
|
||
font-weight: 800;
|
||
color: #f6e08a;
|
||
text-shadow: 0 0 10px rgba(246, 224, 138, 0.35);
|
||
}
|
||
.qc-mission-total {
|
||
margin: 0;
|
||
text-align: center;
|
||
font-size: clamp(0.65rem, 1.85vw, 0.8rem);
|
||
font-weight: 700;
|
||
line-height: 1.4;
|
||
flex: 0 0 auto;
|
||
color: #f1f5f9;
|
||
}
|
||
.qc-mission-total-nums {
|
||
color: #f6e08a;
|
||
font-weight: 800;
|
||
text-shadow: 0 0 8px rgba(246, 224, 138, 0.25);
|
||
}
|
||
.qc-mission-bottom {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
|
||
gap: clamp(10px, 2.2vw, 20px);
|
||
align-items: start;
|
||
flex: 0 0 auto;
|
||
isolation: isolate;
|
||
}
|
||
@media (max-width: 520px) {
|
||
.qc-mission-bottom { grid-template-columns: 1fr; }
|
||
}
|
||
.qc-mission-section-h {
|
||
margin: 0 0 8px;
|
||
font-size: clamp(0.68rem, 1.9vw, 0.82rem);
|
||
font-weight: 700;
|
||
letter-spacing: 0.06em;
|
||
color: #f1f5f9;
|
||
text-align: center;
|
||
}
|
||
.qc-mission-grade-block,
|
||
.qc-mission-bonus-block {
|
||
text-align: center;
|
||
min-width: 0;
|
||
}
|
||
.qc-mission-grade {
|
||
font-size: clamp(2.4rem, 11vw, 4rem);
|
||
font-weight: 900;
|
||
line-height: 1;
|
||
letter-spacing: 0.02em;
|
||
color: #f8fafc;
|
||
text-shadow: 0 0 28px rgba(255, 255, 255, 0.35);
|
||
}
|
||
.qc-mission-grade--a { color: #9ece6a; text-shadow: 0 0 24px rgba(158, 206, 106, 0.55); }
|
||
.qc-mission-grade--b { color: #7aa2f7; text-shadow: 0 0 24px rgba(122, 162, 247, 0.5); }
|
||
.qc-mission-grade--c { color: #e0af68; text-shadow: 0 0 22px rgba(224, 175, 104, 0.45); }
|
||
.qc-mission-grade--d { color: #bb9af7; text-shadow: 0 0 20px rgba(187, 154, 247, 0.4); }
|
||
.qc-mission-grade--e { color: #7dcfff; text-shadow: 0 0 20px rgba(125, 207, 255, 0.35); }
|
||
.qc-mission-grade--f { color: #f7768e; text-shadow: 0 0 22px rgba(247, 118, 140, 0.45); }
|
||
.qc-mission-bonus-row {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: clamp(10px, 2.5vw, 18px);
|
||
min-height: 0;
|
||
}
|
||
.qc-mission-bonus-inline {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
flex-wrap: nowrap;
|
||
flex: 0 0 auto;
|
||
}
|
||
.qc-mission-reward-plaque {
|
||
flex: 0 1 auto;
|
||
min-width: 100px;
|
||
max-width: 160px;
|
||
padding: 8px 10px 10px;
|
||
border-radius: 10px;
|
||
border: 1px solid rgba(0, 255, 240, 0.55);
|
||
box-shadow: 0 0 14px rgba(0, 255, 240, 0.15), inset 0 0 20px rgba(0, 40, 48, 0.35);
|
||
background: linear-gradient(165deg, rgba(14, 18, 36, 0.98), rgba(8, 10, 22, 0.99));
|
||
text-align: center;
|
||
}
|
||
.qc-mission-reward-plaque--muted {
|
||
border-color: rgba(148, 153, 168, 0.4);
|
||
box-shadow: none;
|
||
opacity: 0.92;
|
||
}
|
||
.qc-mission-reward-plaque-title {
|
||
font-size: clamp(0.68rem, 1.8vw, 0.8rem);
|
||
font-weight: 800;
|
||
color: #f1f5f9;
|
||
line-height: 1.25;
|
||
}
|
||
.qc-mission-reward-plaque-sub {
|
||
margin-top: 4px;
|
||
font-size: clamp(0.58rem, 1.45vw, 0.68rem);
|
||
font-weight: 600;
|
||
color: #7af8ff;
|
||
opacity: 0.9;
|
||
}
|
||
.qc-mission-check {
|
||
width: clamp(22px, 6vw, 32px);
|
||
height: auto;
|
||
flex-shrink: 0;
|
||
}
|
||
.qc-mission-success-txt {
|
||
font-size: clamp(0.72rem, 2.1vw, 0.88rem);
|
||
font-weight: 700;
|
||
color: #9ece6a;
|
||
}
|
||
.qc-mission-card-text {
|
||
flex: 0 1 auto;
|
||
text-align: center;
|
||
font-size: clamp(0.68rem, 1.9vw, 0.82rem);
|
||
color: #c0caf5;
|
||
line-height: 1.45;
|
||
min-width: 0;
|
||
max-width: min(200px, 42vw);
|
||
}
|
||
.qc-mission-reward-sub {
|
||
font-size: 0.78em;
|
||
opacity: 0.85;
|
||
font-weight: 600;
|
||
}
|
||
.qc-mission-panel-inner #btn-quiz-carry-mission-done {
|
||
flex: 0 0 auto;
|
||
align-self: center;
|
||
}
|
||
#btn-quiz-carry-mission-done {
|
||
margin: clamp(10px, 2.5vw, 16px) auto 0;
|
||
display: block;
|
||
width: min(92%, 320px);
|
||
height: clamp(44px, 11vw, 56px);
|
||
border: none;
|
||
padding: 0;
|
||
cursor: pointer;
|
||
background: url('/Game/img/quiz-carry/btn-done.png') center / contain no-repeat;
|
||
background-color: transparent;
|
||
}
|
||
#btn-quiz-carry-mission-done:focus-visible {
|
||
outline: 2px solid rgba(0, 255, 240, 0.7);
|
||
outline-offset: 3px;
|
||
}
|
||
.qc-mission-sr {
|
||
position: absolute !important;
|
||
width: 1px !important;
|
||
height: 1px !important;
|
||
padding: 0 !important;
|
||
margin: -1px !important;
|
||
overflow: hidden !important;
|
||
clip: rect(0, 0, 0, 0) !important;
|
||
clip-path: inset(50%) !important;
|
||
border: 0 !important;
|
||
white-space: nowrap !important;
|
||
}
|
||
|
||
/* —— Gauntlet crown heist (mno9kb07) — mock overlays — assets /Game/img/gauntlet-assets —— */
|
||
/* สูงกว่า #quiz-carry-pregame-overlay (10078) และ embed strip — กัน mock ถูกบังใน editor preview */
|
||
#gauntlet-crown-howto-overlay,
|
||
#gauntlet-crown-mission-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
z-index: 10140;
|
||
}
|
||
#gauntlet-crown-countdown {
|
||
position: fixed;
|
||
inset: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
z-index: 10142;
|
||
pointer-events: auto;
|
||
background: rgba(6, 8, 18, 0.55);
|
||
backdrop-filter: blur(3px);
|
||
}
|
||
/* Minigame-2 mno9kb07 — countdown 02: เลขใหญ่กลางจอ ไม่บัง HUD (mockup .rn-countdown) */
|
||
#gauntlet-crown-countdown.gcc-mg2-mock {
|
||
background: transparent;
|
||
backdrop-filter: none;
|
||
pointer-events: none;
|
||
z-index: 56;
|
||
}
|
||
/* MG2: ใช้แค่เลขข้อความใหญ่ — ซ่อนรูป 3.png (is-hidden ไม่มี global rule) */
|
||
#gauntlet-crown-countdown.gcc-mg2-mock .gcc-num--img,
|
||
#gauntlet-crown-countdown.gcc-mg2-mock #gauntlet-crown-countdown-num {
|
||
display: none !important;
|
||
visibility: hidden !important;
|
||
width: 0 !important;
|
||
height: 0 !important;
|
||
overflow: hidden !important;
|
||
position: absolute !important;
|
||
pointer-events: none !important;
|
||
}
|
||
html.play-mg2-mock-hud #gauntlet-crown-countdown.gcc-mg2-mock {
|
||
position: fixed;
|
||
left: 0;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
width: auto;
|
||
height: auto;
|
||
transform: none;
|
||
display: block;
|
||
padding: 0;
|
||
}
|
||
html.play-mg2-mock-hud #gauntlet-crown-countdown.gcc-mg2-mock .gcc-panel {
|
||
position: fixed;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
transform: translate(-50%, -50%) scale(var(--qtf-scale, 1));
|
||
transform-origin: center center;
|
||
pointer-events: none;
|
||
}
|
||
html.play-mg2-mock-hud #gauntlet-crown-countdown.gcc-mg2-mock .gcc-num--text {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 420px;
|
||
transform: translate(-50%, -50%);
|
||
font-size: 220px;
|
||
margin: 0;
|
||
}
|
||
#gauntlet-crown-countdown.gcc-mg2-mock .gcc-num--text {
|
||
display: block;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 900;
|
||
font-size: clamp(120px, 22vw, 220px);
|
||
line-height: 1;
|
||
color: #ffd93d;
|
||
-webkit-text-stroke: 6px #1a1208;
|
||
text-shadow:
|
||
0 0 24px rgba(255, 210, 60, 0.85),
|
||
0 6px 0 #c89400;
|
||
pointer-events: none;
|
||
}
|
||
#gauntlet-crown-mission-overlay { z-index: 10150; }
|
||
/* Stack Tower (mnn93hpi) — แฟลชผลจบ 5 วิ ก่อน GCM */
|
||
#stack-tower-result-flash {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10160;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
pointer-events: none;
|
||
}
|
||
#stack-tower-result-flash.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.stack-tower-result-flash-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(4, 8, 22, 0.58);
|
||
backdrop-filter: blur(4px);
|
||
}
|
||
#stack-tower-result-flash-img {
|
||
position: relative;
|
||
z-index: 1;
|
||
max-width: min(94vw, 980px);
|
||
max-height: min(82vh, 640px);
|
||
width: auto;
|
||
height: auto;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
|
||
}
|
||
#gauntlet-crown-howto-overlay.is-hidden,
|
||
#gauntlet-crown-mission-overlay.is-hidden,
|
||
#gauntlet-crown-countdown.is-hidden,
|
||
#stack-tower-result-flash.is-hidden { display: none !important; }
|
||
/* นับถอยหลังใช้ .gcc-num{display:block} ทับ — ต้องมี rule ให้ is-hidden ซ่อนเลขข้อความจริง (เดิมไม่มี → "3" รั่วในเกมที่ใช้รูปกราฟิก) */
|
||
#gauntlet-crown-countdown .gcc-num.is-hidden { display: none !important; }
|
||
/* สรุปผล: เส้นแบ่ง vrule แสดงเฉพาะ Last Light (mg2) — non-mg2 มี is-hidden แต่ไม่มี rule ซ่อน → ไปกินช่อง grid ขวา ดัน "โบนัสพิเศษ" ตกลงคอลัมน์ซ้าย */
|
||
#gcm-vrule.is-hidden { display: none !important; }
|
||
.gcc-panel {
|
||
text-align: center;
|
||
padding: 0;
|
||
border-radius: 0;
|
||
border: none;
|
||
box-shadow: none;
|
||
background: transparent;
|
||
}
|
||
.gcc-num {
|
||
display: block;
|
||
width: min(42vw, 280px);
|
||
max-width: min(88vw, 360px);
|
||
height: auto;
|
||
margin: 0 auto;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(0, 255, 240, 0.35));
|
||
}
|
||
.gch-backdrop,
|
||
.gcm-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(6, 8, 18, 0.78);
|
||
backdrop-filter: blur(5px);
|
||
}
|
||
.gch-shell,
|
||
.gcm-shell {
|
||
position: relative;
|
||
width: min(96vw, 920px);
|
||
max-height: min(92vh, 640px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: clamp(4px, 1.2vw, 10px);
|
||
border-radius: 14px;
|
||
/* border: 2px solid rgba(0, 255, 240, 0.75); */
|
||
/* box-shadow: 0 0 0 1px rgba(255, 0, 200, 0.55), 0 0 28px rgba(0, 255, 240, 0.22), 0 0 40px rgba(255, 0, 200, 0.12); */
|
||
/* background: rgba(6, 8, 18, 0.35); */
|
||
pointer-events: auto;
|
||
}
|
||
.gch-bg,
|
||
.gcm-bg {
|
||
width: 100%;
|
||
height: auto;
|
||
max-height: min(88vh, 600px);
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
filter: drop-shadow(0 0 18px rgba(0, 255, 240, 0.25)) drop-shadow(0 0 22px rgba(255, 0, 200, 0.2));
|
||
}
|
||
.gch-inner,
|
||
.gcm-inner {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: min(88%, 780px);
|
||
max-height: 82%;
|
||
overflow: auto;
|
||
padding: clamp(10px, 2.2vw, 18px);
|
||
box-sizing: border-box;
|
||
color: #e2e8f0;
|
||
font-family: ui-sans-serif, system-ui, 'Segoe UI', 'Kanit', sans-serif;
|
||
/* background: rgba(8, 10, 22, 0.72); */
|
||
border-radius: 12px;
|
||
/* border: 1px solid rgba(0, 255, 240, 0.35); */
|
||
/* box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35); */
|
||
}
|
||
.gch-inner.gch-inner--art {
|
||
left: 0;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
transform: none;
|
||
width: 100%;
|
||
max-height: none;
|
||
overflow: visible;
|
||
padding: 0;
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
display: block;
|
||
pointer-events: none;
|
||
}
|
||
/* Ready สถานะ + ปุ่ม — ยึดชายล่างการ์ด ไม่ทับภาพ/ข้อความกลาง */
|
||
.gch-inner.gch-inner--art .gch-art-footer {
|
||
position: absolute;
|
||
left: 50%;
|
||
bottom: clamp(6px, 1.6vmin, 14px);
|
||
transform: translateX(-50%);
|
||
width: min(92%, 280px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 4px;
|
||
pointer-events: none;
|
||
}
|
||
.gch-inner.gch-inner--art .gch-status {
|
||
pointer-events: none;
|
||
margin: 0;
|
||
max-width: 100%;
|
||
text-align: center;
|
||
font: 800 clamp(0.75rem, 2vw, 0.9rem) / 1.35 ui-sans-serif, system-ui, 'Segoe UI', 'Kanit', sans-serif;
|
||
color: #f8fafc;
|
||
letter-spacing: 0.02em;
|
||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.55), 0 0 10px rgba(122, 248, 255, 0.18);
|
||
}
|
||
.gch-inner.gch-inner--art .btn-gch-ready {
|
||
pointer-events: auto;
|
||
flex-shrink: 0;
|
||
margin: 0;
|
||
}
|
||
.gch-title {
|
||
margin: 0 0 4px;
|
||
font-size: clamp(1rem, 3.2vw, 1.35rem);
|
||
font-weight: 900;
|
||
letter-spacing: 0.06em;
|
||
color: #fff;
|
||
text-align: center;
|
||
text-shadow: 0 0 12px rgba(0, 255, 240, 0.45);
|
||
}
|
||
.gch-sub {
|
||
margin: 0 0 10px;
|
||
text-align: center;
|
||
font-size: clamp(0.78rem, 2.1vw, 0.95rem);
|
||
color: #7af8ff;
|
||
font-weight: 700;
|
||
}
|
||
.gch-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: clamp(6px, 1.5vw, 12px);
|
||
margin-bottom: 10px;
|
||
}
|
||
@media (max-width: 640px) {
|
||
.gch-grid { grid-template-columns: 1fr; }
|
||
}
|
||
.gch-col {
|
||
background: rgba(10, 14, 28, 0.72);
|
||
border: 1px solid rgba(0, 255, 240, 0.35);
|
||
border-radius: 10px;
|
||
padding: 8px 10px;
|
||
font-size: clamp(0.65rem, 1.65vw, 0.78rem);
|
||
line-height: 1.45;
|
||
}
|
||
.gch-col h3 {
|
||
margin: 0 0 6px;
|
||
font-size: clamp(0.72rem, 1.9vw, 0.85rem);
|
||
color: #f6e08a;
|
||
}
|
||
.gch-col p { margin: 0 0 6px; color: #c0caf5; }
|
||
.gch-col .warn { color: #f6e08a; font-weight: 600; }
|
||
.gch-foot {
|
||
text-align: center;
|
||
font-size: clamp(0.68rem, 1.8vw, 0.8rem);
|
||
color: #f7768e;
|
||
margin: 0 0 10px;
|
||
}
|
||
.btn-gch-ready {
|
||
display: block;
|
||
margin: 0 auto;
|
||
width: min(240px, 70%);
|
||
height: clamp(44px, 12vw, 56px);
|
||
border: none;
|
||
cursor: pointer;
|
||
background: url('/Game/img/gauntlet-assets/btn-ready.png') center / contain no-repeat;
|
||
background-color: transparent;
|
||
}
|
||
.btn-gch-ready.is-start-phase {
|
||
background-image: url('/Game/img/quiz-carry/btn-start.png');
|
||
}
|
||
.btn-gch-ready:disabled {
|
||
opacity: 0.55;
|
||
cursor: not-allowed;
|
||
}
|
||
.btn-gch-ready:focus-visible { outline: 2px solid #7af8ff; outline-offset: 3px; }
|
||
/* ปุ่ม READY: ยังไม่กด = cyan เต็มสี (เหมือน MG1 ทุกเกม — เดิมย้อมเทา user ไม่เอา), กดแล้ว = เขียว+✓ (image swap) — ID-scoped ครอบ img (mg2) */
|
||
#gauntlet-crown-howto-overlay .btn-gch-ready:not(.is-me-ready):not(.is-start-phase),
|
||
#gauntlet-crown-howto-overlay .btn-gch-ready:not(.is-me-ready):not(.is-start-phase) img { filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65)) !important; }
|
||
#gauntlet-crown-howto-overlay .btn-gch-ready.is-me-ready,
|
||
#gauntlet-crown-howto-overlay .btn-gch-ready.is-me-ready img { filter: none !important; }
|
||
/* MG4 (quiz_carry) ปุ่ม ready แยก element — เทาเหมือนกัน */
|
||
/* MG4 ปุ่ม READY ให้เหมือน MG1: ยังไม่กด=cyan เต็ม (ไม่ย้อมเทา), กดแล้ว=เขียว (img.src=btn-ready-active.png ใน JS) */
|
||
#quiz-carry-pregame-primary:not(.is-me-ready):not(.is-start-phase),
|
||
#quiz-carry-pregame-primary:not(.is-me-ready):not(.is-start-phase) img { filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65)) !important; }
|
||
#quiz-carry-pregame-primary.is-me-ready:not(.is-start-phase),
|
||
#quiz-carry-pregame-primary.is-me-ready:not(.is-start-phase) img { filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.7)) !important; }
|
||
/* กล่องลอยแถวหน้าตัวละครคนกด READY — วางใต้ปุ่มด้วย JS getBoundingClientRect (ตรงทุก layout) */
|
||
#gch-ready-avatars-float{position:fixed;z-index:10260;display:none;justify-content:center;align-items:flex-start;gap:6px;flex-wrap:wrap;pointer-events:none;transform:translateX(-50%)}
|
||
/* แถวหน้าตัวละครคนที่กด READY แล้ว (โชว์ใต้ปุ่ม) */
|
||
.gch-ready-avatars { display: flex; justify-content: center; align-items: center; gap: clamp(4px, 1vw, 10px); flex-wrap: wrap; margin: clamp(6px, 1.4vw, 12px) auto 0; min-height: 1px; pointer-events: none; }
|
||
.gch-ready-avatars:empty { display: none; }
|
||
.gch-ready-av { position: relative; width: clamp(34px, 5vw, 52px); height: clamp(34px, 5vw, 52px); flex: none; }
|
||
.gch-ready-av .gra-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; }
|
||
.gch-ready-av .gra-port { position: absolute; left: 23%; right: 20%; top: 22%; bottom: 22%; z-index: 3; overflow: hidden; border-radius: 6px; display: flex; align-items: flex-start; justify-content: center; }
|
||
.gch-ready-av .gra-port > canvas { width: 100%; height: 100%; display: block; }
|
||
.gch-ready-av--me .gra-frame { filter: drop-shadow(0 0 5px rgba(255,233,90,0.95)); }
|
||
.gch-status {
|
||
margin: 0;
|
||
text-align: center;
|
||
font-size: clamp(0.72rem, 1.9vw, 0.88rem);
|
||
font-weight: 700;
|
||
color: #c0caf5;
|
||
}
|
||
.gch-status.is-hidden { display: none !important; }
|
||
.gcm-header-tab {
|
||
text-align: center;
|
||
font-weight: 800;
|
||
font-size: clamp(0.85rem, 2.4vw, 1rem);
|
||
color: #7af8ff;
|
||
margin-bottom: 8px;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
.gcm-rank-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
align-items: stretch;
|
||
gap: clamp(6px, 1.5vw, 10px);
|
||
margin-bottom: 8px;
|
||
}
|
||
.gcm-cell {
|
||
flex: 0 0 auto;
|
||
width: clamp(72px, 18vw, 100px);
|
||
text-align: center;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
.gcm-rank-tag {
|
||
flex: 0 0 auto;
|
||
min-height: 1.15em;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: clamp(0.55rem, 1.4vw, 0.65rem);
|
||
font-weight: 800;
|
||
color: #f6e08a;
|
||
margin-bottom: 4px;
|
||
}
|
||
.gcm-frame {
|
||
position: relative;
|
||
flex: 0 0 auto;
|
||
width: 100%;
|
||
aspect-ratio: 1;
|
||
border-radius: 8px;
|
||
border: 2px solid rgba(0, 255, 240, 0.5);
|
||
box-shadow: 0 0 12px rgba(0, 255, 240, 0.2);
|
||
overflow: hidden;
|
||
background: rgba(8, 10, 20, 0.9);
|
||
}
|
||
.gcm-frame img.gcm-av {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
object-position: center 22%;
|
||
transform: scale(1.32);
|
||
transform-origin: 50% 26%;
|
||
image-rendering: pixelated;
|
||
}
|
||
.gcm-frame img.gcm-stamp {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
pointer-events: none;
|
||
}
|
||
.gcm-nick {
|
||
flex: 1 1 auto;
|
||
min-height: 2.55em;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
font-size: clamp(0.52rem, 1.35vw, 0.65rem);
|
||
font-weight: 700;
|
||
color: #e2e8f0;
|
||
margin-top: 4px;
|
||
word-break: break-word;
|
||
line-height: 1.15;
|
||
}
|
||
.gcm-sc {
|
||
flex: 0 0 auto;
|
||
width: 100%;
|
||
text-align: center;
|
||
font-variant-numeric: tabular-nums;
|
||
font-size: clamp(0.58rem, 1.5vw, 0.72rem);
|
||
font-weight: 800;
|
||
color: #f6e08a;
|
||
margin-top: auto;
|
||
padding-top: 3px;
|
||
}
|
||
.gcm-total {
|
||
text-align: center;
|
||
font-size: clamp(0.65rem, 1.8vw, 0.8rem);
|
||
font-weight: 700;
|
||
color: #f1f5f9;
|
||
margin: 0 0 8px;
|
||
}
|
||
.gcm-total-nums { color: #f6e08a; }
|
||
.gcm-bottom {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1.2fr;
|
||
gap: 10px;
|
||
align-items: start;
|
||
margin-bottom: 8px;
|
||
}
|
||
@media (max-width: 520px) { .gcm-bottom { grid-template-columns: 1fr; } }
|
||
.gcm-h {
|
||
font-size: clamp(0.62rem, 1.7vw, 0.75rem);
|
||
font-weight: 700;
|
||
color: #cbd5e1;
|
||
text-align: center;
|
||
margin-bottom: 4px;
|
||
}
|
||
.gcm-grade {
|
||
text-align: center;
|
||
font-size: clamp(2rem, 9vw, 3.2rem);
|
||
font-weight: 900;
|
||
line-height: 1;
|
||
color: #f8fafc;
|
||
text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
|
||
}
|
||
.gcm-grade--a { color: #9ece6a; text-shadow: 0 0 20px rgba(158, 206, 106, 0.5); }
|
||
.gcm-grade--b { color: #7aa2f7; }
|
||
.gcm-grade--c { color: #e0af68; }
|
||
.gcm-grade--d { color: #bb9af7; text-shadow: 0 0 16px rgba(187, 154, 247, 0.4); }
|
||
.gcm-grade--e { color: #7dcfff; text-shadow: 0 0 16px rgba(125, 207, 255, 0.35); }
|
||
.gcm-grade--f { color: #f7768e; text-shadow: 0 0 18px rgba(247, 118, 140, 0.45); }
|
||
.gcm-bonus {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: clamp(0.65rem, 1.7vw, 0.78rem);
|
||
color: #c0caf5;
|
||
}
|
||
.gcm-plaque {
|
||
border: 1px solid rgba(0, 255, 240, 0.55);
|
||
border-radius: 10px;
|
||
padding: 8px 10px;
|
||
background: linear-gradient(165deg, rgba(14, 18, 36, 0.96), rgba(8, 10, 22, 0.98));
|
||
text-align: center;
|
||
max-width: 200px;
|
||
}
|
||
.gcm-plaque strong { color: #f1f5f9; display: block; }
|
||
.gcm-plaque span { color: #7af8ff; font-size: 0.92em; }
|
||
.gcm-special-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 6px;
|
||
margin-top: 8px;
|
||
padding: 8px 10px;
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(255, 214, 102, 0.6);
|
||
background: linear-gradient(165deg, rgba(40, 30, 10, 0.96), rgba(20, 14, 6, 0.98));
|
||
max-width: 200px;
|
||
}
|
||
.gcm-special-card.rarity-rare { border-color: rgba(122, 162, 247, 0.75); }
|
||
.gcm-special-card.rarity-legendary { border-color: rgba(255, 184, 77, 0.9); box-shadow: 0 0 12px rgba(255, 184, 77, 0.45); }
|
||
.gcm-special-card-img { width: 100%; max-width: 120px; height: auto; border-radius: 8px; display: block; }
|
||
.gcm-special-card-cap { text-align: center; line-height: 1.25; }
|
||
.gcm-special-card-cap strong { display: block; color: #ffe066; font-size: 0.95em; }
|
||
.gcm-special-card-cap span { color: #cbd5e1; font-size: 0.82em; }
|
||
.btn-gcm-done {
|
||
display: block;
|
||
margin: 4px auto 0;
|
||
width: min(92%, 300px);
|
||
height: clamp(44px, 11vw, 54px);
|
||
border: none;
|
||
cursor: pointer;
|
||
background: url('/Game/img/gauntlet-assets/btn-done.png') center / contain no-repeat;
|
||
background-color: transparent;
|
||
}
|
||
|
||
#gauntlet-ended-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10080;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
}
|
||
#gauntlet-ended-overlay.is-hidden { display: none !important; }
|
||
.gauntlet-ended-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(8, 10, 18, 0.82);
|
||
backdrop-filter: blur(6px);
|
||
}
|
||
.gauntlet-ended-card {
|
||
position: relative;
|
||
max-width: min(92vw, 400px);
|
||
width: 100%;
|
||
background: rgba(18, 20, 32, 0.96);
|
||
border: 1px solid rgba(247, 118, 140, 0.45);
|
||
border-radius: 16px;
|
||
padding: 1.25rem 1.35rem 1.1rem;
|
||
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
|
||
}
|
||
.gauntlet-ended-card h2 {
|
||
margin: 0 0 0.5rem;
|
||
font-size: 1.15rem;
|
||
color: #f7768e;
|
||
font-weight: 800;
|
||
}
|
||
#gauntlet-ended-message {
|
||
margin: 0 0 0.75rem;
|
||
font-size: 0.95rem;
|
||
color: #c0caf5;
|
||
line-height: 1.45;
|
||
}
|
||
#gauntlet-ended-rankings {
|
||
margin: 0 0 1rem;
|
||
padding-left: 1.2rem;
|
||
color: #a9b1d6;
|
||
font-size: 0.88rem;
|
||
line-height: 1.5;
|
||
}
|
||
#gauntlet-ended-rankings .gauntlet-ended-me {
|
||
color: #9ece6a;
|
||
font-weight: 700;
|
||
}
|
||
#btn-gauntlet-ended-lobby {
|
||
width: 100%;
|
||
padding: 0.55rem 1rem;
|
||
border-radius: 10px;
|
||
border: none;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
background: linear-gradient(180deg, #7aa2f7, #5a7fd4);
|
||
color: #1a1b26;
|
||
}
|
||
|
||
/* —— Cyber / server-room play HUD (Jump survive · Gauntlet) —— */
|
||
.play-cyber-hud {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 55;
|
||
pointer-events: none;
|
||
font-family: 'Share Tech Mono', ui-monospace, monospace;
|
||
}
|
||
/* embed: HUD อยู่ใน .game-wrap — absolute ยึดกรอบเกม ไม่ใช่ viewport ทั้งจอ (แก้ TIME/SCORE หลุดคนละกรอบกับแคนวาสกลาง) */
|
||
html.play-preview-editor-embed #play-cyber-hud.play-cyber-hud {
|
||
position: absolute;
|
||
inset: 0;
|
||
}
|
||
.play-cyber-hud.is-hidden { display: none !important; }
|
||
/* Jumper ภารกิจ mnptfts2 — ซ่อนแผง SCORE เท่านั้น (TIME + โปรไฟล์ยังใช้งาน) */
|
||
#play-cyber-hud.play-cyber-hud--jump-mission-hide-score .play-cyber-scoreboard {
|
||
display: none !important;
|
||
}
|
||
/* mng8a80o — แผง SCORE: มุมคม, หัว SCORE ใหญ่, แถวแนวนอน = [อวาตาร์เล็ก + ชื่อไทย] ซ้าย | คะแนนใหญ่ขวา */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-scoreboard {
|
||
width: min(252px, 64vw);
|
||
max-width: min(252px, 64vw);
|
||
box-sizing: border-box;
|
||
padding: 0.48rem 0.62rem 0.52rem;
|
||
background: linear-gradient(
|
||
165deg,
|
||
rgba(10, 26, 48, 0.92) 0%,
|
||
rgba(5, 14, 32, 0.94) 42%,
|
||
rgba(8, 20, 40, 0.9) 100%
|
||
);
|
||
border: 1px solid rgba(0, 255, 240, 0.38);
|
||
border-radius: 2px;
|
||
box-shadow:
|
||
0 0 0 1px rgba(0, 0, 0, 0.45),
|
||
0 0 24px rgba(0, 200, 255, 0.16),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||
overflow: visible;
|
||
min-height: unset;
|
||
}
|
||
/* ไมค์ในเกม (ทุก MG1-7) — child ใน .play-cyber-self วางทับพิกัดไมค์ตามดีไซน์เป๊ะ
|
||
quiz-tf-mock: stage 1920×1080 scale ด้วย --qtf-scale, self = absolute(1729,21) display:block
|
||
→ ปุ่มที่ absolute (67,184) ขนาด 121 = stage (1796,205) = .mg-mic ใต้ host (1729,21) */
|
||
#btn-voice.play-voice-btn {
|
||
box-sizing: border-box;
|
||
pointer-events: auto;
|
||
padding: 0;
|
||
margin: 0;
|
||
border: none;
|
||
background: transparent;
|
||
border-radius: 50%;
|
||
cursor: pointer;
|
||
opacity: 0.95;
|
||
touch-action: manipulation;
|
||
-webkit-tap-highlight-color: transparent;
|
||
transition: transform 0.14s ease, filter 0.14s ease, opacity 0.15s ease;
|
||
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
|
||
/* fallback (ไม่ใช่ mission-mock) — flow ใต้ avatar */
|
||
position: relative;
|
||
width: clamp(46px, 7.6vmin, 60px);
|
||
height: clamp(46px, 7.6vmin, 60px);
|
||
}
|
||
/* ทุก mission-mock (MG1-7) = quiz-tf-mock → พิกัดดีไซน์เดียวกับไมค์ตกแต่งเดิม */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock #btn-voice.play-voice-btn {
|
||
position: absolute;
|
||
left: 67px;
|
||
top: 184px;
|
||
width: 121px;
|
||
height: 121px;
|
||
margin: 0;
|
||
}
|
||
#btn-voice.play-voice-btn:hover { opacity: 1; }
|
||
#btn-voice.play-voice-btn:active { transform: scale(0.94); }
|
||
#btn-voice.play-voice-btn.is-mic-on {
|
||
opacity: 1;
|
||
filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.7));
|
||
}
|
||
#btn-voice.play-voice-btn img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
display: block;
|
||
pointer-events: none;
|
||
user-select: none;
|
||
}
|
||
/* ไมค์ตกแต่งเดิม (.play-cyber-mic-img) — ซ่อน กันซ้ำกับปุ่มจริงที่ทับตำแหน่งเดียวกัน */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-mic-img {
|
||
display: none !important;
|
||
}
|
||
/* MG3 stack ซ่อน .play-cyber-self ทั้งก้อน (ใช้ #mg3-tower-hud แทน) — แต่ยังต้องมีไมค์
|
||
→ คง self (display:block ที่ left:1729/top:21) เฉพาะปุ่มไมค์ ซ่อน avatar/status เดิม */
|
||
html #play-cyber-hud.play-cyber-hud--stack-tower-canvas-hud .play-cyber-self {
|
||
display: block !important;
|
||
z-index: 9;
|
||
pointer-events: none;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud--stack-tower-canvas-hud .play-cyber-self > *:not(#btn-voice) {
|
||
display: none !important;
|
||
}
|
||
/* popup แจ้งเตือน/ผิดพลาด ดีไซน์เอง (แทน alert() เบราว์เซอร์) — ธีม cyber เข้ากับเกม */
|
||
.play-alert-modal {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 11000;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 16px;
|
||
box-sizing: border-box;
|
||
font-family: 'Kanit', 'NotoSansThai', system-ui, sans-serif;
|
||
}
|
||
.play-alert-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(4, 7, 16, 0.72);
|
||
backdrop-filter: blur(4px);
|
||
-webkit-backdrop-filter: blur(4px);
|
||
animation: playAlertFade 0.18s ease both;
|
||
}
|
||
.play-alert-card {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: min(92vw, 384px);
|
||
box-sizing: border-box;
|
||
padding: 26px 22px 20px;
|
||
text-align: center;
|
||
background: linear-gradient(165deg, rgba(16, 22, 42, 0.98), rgba(9, 12, 26, 0.98));
|
||
border: 1.5px solid rgba(94, 234, 255, 0.5);
|
||
border-radius: 16px;
|
||
box-shadow:
|
||
0 18px 60px rgba(0, 0, 0, 0.6),
|
||
0 0 28px rgba(0, 200, 255, 0.12),
|
||
inset 0 0 0 1px rgba(255, 255, 255, 0.04);
|
||
animation: playAlertPop 0.24s cubic-bezier(0.2, 0.85, 0.3, 1.25) both;
|
||
}
|
||
@keyframes playAlertFade { from { opacity: 0; } to { opacity: 1; } }
|
||
@keyframes playAlertPop {
|
||
0% { transform: scale(0.84) translateY(8px); opacity: 0; }
|
||
100% { transform: scale(1) translateY(0); opacity: 1; }
|
||
}
|
||
.play-alert-icon {
|
||
width: 54px;
|
||
height: 54px;
|
||
margin: 0 auto 14px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: 30px;
|
||
font-weight: 800;
|
||
line-height: 1;
|
||
border-radius: 50%;
|
||
color: #5eeaff;
|
||
background: rgba(94, 234, 255, 0.12);
|
||
border: 1.5px solid rgba(94, 234, 255, 0.5);
|
||
box-shadow: 0 0 18px rgba(94, 234, 255, 0.25);
|
||
}
|
||
.play-alert-msg {
|
||
color: #e8f3ff;
|
||
font-size: 1rem;
|
||
line-height: 1.5;
|
||
font-weight: 500;
|
||
margin-bottom: 20px;
|
||
white-space: pre-line;
|
||
word-break: break-word;
|
||
}
|
||
.play-alert-ok {
|
||
min-width: 128px;
|
||
padding: 10px 28px;
|
||
font-family: inherit;
|
||
font-size: 0.96rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.02em;
|
||
color: #04263a;
|
||
cursor: pointer;
|
||
background: linear-gradient(180deg, #7df0ff, #2bc4e6);
|
||
border: none;
|
||
border-radius: 10px;
|
||
box-shadow: 0 6px 18px rgba(43, 196, 230, 0.35);
|
||
transition: transform 0.12s ease, filter 0.12s ease;
|
||
}
|
||
.play-alert-ok:hover { filter: brightness(1.08); }
|
||
.play-alert-ok:active { transform: scale(0.96); }
|
||
/* ชนิด error — โทนแดง */
|
||
.play-alert-modal--error .play-alert-card {
|
||
border-color: rgba(255, 90, 110, 0.55);
|
||
box-shadow:
|
||
0 18px 60px rgba(0, 0, 0, 0.6),
|
||
0 0 28px rgba(255, 60, 80, 0.18),
|
||
inset 0 0 0 1px rgba(255, 255, 255, 0.04);
|
||
}
|
||
.play-alert-modal--error .play-alert-icon {
|
||
color: #ff7088;
|
||
background: rgba(255, 90, 110, 0.12);
|
||
border-color: rgba(255, 90, 110, 0.55);
|
||
box-shadow: 0 0 18px rgba(255, 80, 100, 0.3);
|
||
}
|
||
.play-alert-modal--error .play-alert-ok {
|
||
color: #2a0a10;
|
||
background: linear-gradient(180deg, #ff8a9c, #ef4d62);
|
||
box-shadow: 0 6px 18px rgba(239, 77, 98, 0.35);
|
||
}
|
||
/* mng8a80o — virtual joystick (Roblox-style) มุมซ้ายล่าง */
|
||
.quiz-q-mission-joystick {
|
||
position: fixed;
|
||
z-index: 56;
|
||
left: max(10px, env(safe-area-inset-left, 0px));
|
||
bottom: max(12px, env(safe-area-inset-bottom, 0px));
|
||
width: min(132px, 28vw);
|
||
height: min(132px, 28vw);
|
||
touch-action: none;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
pointer-events: auto;
|
||
box-sizing: border-box;
|
||
}
|
||
html.play-preview-editor-embed .quiz-q-mission-joystick {
|
||
position: absolute;
|
||
bottom: max(12px, env(safe-area-inset-bottom, 0px));
|
||
}
|
||
.quiz-q-mission-joystick.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.quiz-q-mission-joystick-base {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 100%;
|
||
cursor: grab;
|
||
}
|
||
.quiz-q-mission-joystick-base:active {
|
||
cursor: grabbing;
|
||
}
|
||
.quiz-q-mission-joystick-bg {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
pointer-events: none;
|
||
image-rendering: pixelated;
|
||
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
|
||
}
|
||
.quiz-q-mission-joystick-knob {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 42%;
|
||
height: 42%;
|
||
transform: translate(-50%, -50%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
pointer-events: none;
|
||
transition: transform 0.04s linear;
|
||
}
|
||
.quiz-q-mission-joystick-knob-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
image-rendering: pixelated;
|
||
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
|
||
}
|
||
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-list {
|
||
box-sizing: border-box;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
max-height: 48vh;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-panel-title {
|
||
display: block;
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 800;
|
||
font-size: clamp(0.82rem, 2.4vmin, 0.95rem);
|
||
letter-spacing: 0.22em;
|
||
text-transform: uppercase;
|
||
color: #8afeff;
|
||
text-shadow:
|
||
0 0 16px rgba(0, 240, 255, 0.62),
|
||
0 0 32px rgba(0, 160, 255, 0.32);
|
||
margin: 0 0 0.34rem;
|
||
padding: 0 0 0.38rem;
|
||
border-bottom: 1px solid rgba(0, 255, 240, 0.48);
|
||
text-align: left;
|
||
line-height: 1.15;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-row {
|
||
border-bottom: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-row--qm-mock {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 0.42rem;
|
||
width: 100%;
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
padding: 0.3rem 0;
|
||
border-bottom: 1px solid rgba(0, 255, 240, 0.32);
|
||
grid-template-columns: unset;
|
||
grid-template: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-row--qm-mock:last-child {
|
||
border-bottom: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-qm-left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
gap: 0.4rem;
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-qm-name {
|
||
font-family: 'Share Tech Mono', ui-monospace, monospace;
|
||
font-size: 0.58rem;
|
||
font-weight: 600;
|
||
letter-spacing: 0.04em;
|
||
text-transform: none;
|
||
color: rgba(248, 252, 255, 0.95);
|
||
text-shadow: 0 1px 5px rgba(0, 0, 0, 0.92);
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-row--qm-mock.is-me .play-cyber-qm-name {
|
||
color: #e8fcff;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-qm-score {
|
||
flex: 0 0 auto;
|
||
align-self: center;
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: clamp(1.02rem, 3.5vmin, 1.38rem);
|
||
font-weight: 800;
|
||
color: #7af8ff;
|
||
text-align: right;
|
||
line-height: 1;
|
||
text-shadow:
|
||
0 0 14px rgba(0, 255, 240, 0.48),
|
||
0 0 26px rgba(0, 160, 255, 0.22);
|
||
min-width: 2.1rem;
|
||
justify-self: unset;
|
||
white-space: nowrap;
|
||
}
|
||
/* อวาตาร์แถบ SCORE: คอขึ้นไป (crop) — wrap ตัดขอบหลัง scale */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-qm-av-wrap {
|
||
display: block;
|
||
width: 34px;
|
||
height: 34px;
|
||
flex-shrink: 0;
|
||
overflow: hidden;
|
||
border-radius: 2px;
|
||
border: 1px solid rgba(0, 255, 240, 0.4);
|
||
background: rgba(0, 16, 28, 0.95);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-score-row--qm-mock .play-cyber-score-av--qm {
|
||
display: block;
|
||
width: 34px;
|
||
height: 34px;
|
||
border: none;
|
||
object-fit: cover;
|
||
object-position: center 4%;
|
||
transform: scale(1.38);
|
||
transform-origin: center 8%;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-profile-frame {
|
||
overflow: hidden;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-profile-frame .play-cyber-portrait-img {
|
||
object-fit: cover;
|
||
object-position: center 6%;
|
||
transform: translateX(-50%) scale(1.1);
|
||
transform-origin: center 10%;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-sub {
|
||
margin-top: 0.32rem;
|
||
opacity: 0.52;
|
||
font-size: 0.52rem;
|
||
max-width: min(88vw, 420px);
|
||
}
|
||
/* โหมดคำถาม: ไม่แสดงกล่องคำแนะ (ให้พื้นที่ซ้ายกับแถบ SCORE) */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-hint {
|
||
display: none !important;
|
||
}
|
||
/* โหมดคำถาม: ซ่อนแถบ glitch แดง (RAM ERROR…) และบรรทัด SIM พรีวิวด้านล่าง */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-corruption {
|
||
display: none !important;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-preview-line {
|
||
display: none !important;
|
||
}
|
||
/* Space Shooter mnpz6rkp — แผงขวา: life-bar + life-full/hit เหมือน drawStackTowerLifeIntegrityBarPlay */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-self-status {
|
||
max-width: min(230px, 48vw);
|
||
text-align: left;
|
||
letter-spacing: 0.05em;
|
||
line-height: 1.38;
|
||
font-size: 0.52rem;
|
||
color: rgba(232, 248, 255, 0.94);
|
||
}
|
||
/* Space Shooter integrity — canvas วาดด้วย drawStackTowerLifeIntegrityBarPlay (เส้นทางเดียวกับ Stack) */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-ss-integrity-canvas {
|
||
display: block;
|
||
width: 220px;
|
||
max-width: 100%;
|
||
image-rendering: pixelated;
|
||
margin-bottom: 0.28rem;
|
||
}
|
||
/* MG6 life (DOM) — life-bar.png เต็มใบ + หัวใจ 3 ดวงในวงเล็บ [ ] เหมือน MG3 */
|
||
.play-cyber-ss-life {
|
||
position: relative;
|
||
width: 100%;
|
||
margin-bottom: 0.28rem;
|
||
}
|
||
.play-cyber-ss-lifebar { width: 100%; display: block; image-rendering: pixelated; }
|
||
.play-cyber-ss-hearts {
|
||
position: absolute;
|
||
left: 24.3%; top: 50%; height: 46%;
|
||
display: flex; align-items: center; gap: 4%;
|
||
}
|
||
.play-cyber-ss-hearts img { height: 100%; width: auto; image-rendering: pixelated; }
|
||
/* MG6 Space Shooter life overlay — ระนาบ design 1920×1080 scale ตาม stage (coords/หัวใจเท่า MG3) */
|
||
.mg6-life-hud {
|
||
position: fixed;
|
||
width: 1920px; height: 1080px;
|
||
transform-origin: 0 0;
|
||
pointer-events: none;
|
||
z-index: 54;
|
||
}
|
||
.mg6-life-hud.is-hidden { display: none !important; }
|
||
.mg6-life-hud img { image-rendering: pixelated; display: block; }
|
||
.mg6-life-hud .mg6-life { position: absolute; left: 1410px; top: 63px; width: 341px; height: 111px; }
|
||
.mg6-life-hud .mg6-life-bar { width: 341px; height: 111px; display: block; }
|
||
.mg6-life-hud .mg6-life-hearts {
|
||
position: absolute; left: 83px; top: 56px; height: 52px;
|
||
display: flex; align-items: center; gap: 10px;
|
||
}
|
||
.mg6-life-hud .mg6-life-hearts img { height: 52px; width: auto; }
|
||
/* ===== Quiz Battle in-game HUD — design plane 1920×1080 scale ตาม stage ===== */
|
||
.qb-game-hud {
|
||
position: fixed;
|
||
width: 1920px; height: 1080px;
|
||
transform-origin: 0 0;
|
||
pointer-events: none;
|
||
z-index: 55;
|
||
font-family: 'NotoSansThai', system-ui, sans-serif;
|
||
}
|
||
.qb-game-hud.is-hidden { display: none !important; }
|
||
.qb-game-hud img { display: block; image-rendering: pixelated; }
|
||
.qb-game-hud button { pointer-events: auto; background: none; border: 0; padding: 0; cursor: pointer; }
|
||
.qb-game-hud button:active { transform: translateY(1px); }
|
||
/* header หมวด (tag-NN.png 389×135) ซ้ายบน */
|
||
.qb-hud-tag { position: absolute; left: 26px; top: 18px; width: 389px; height: auto; }
|
||
/* PLAYERS กลางบน */
|
||
.qb-hud-players {
|
||
position: absolute; left: 50%; top: 44px; transform: translateX(-50%);
|
||
font-weight: 800; font-size: 40px; line-height: 1; color: #e8f6ff;
|
||
letter-spacing: 0.04em; text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 18px rgba(70,200,255,0.5);
|
||
white-space: nowrap;
|
||
}
|
||
.qb-hud-players span { color: #7df9ff; }
|
||
/* SCORE — ซ้ายของ host avatar */
|
||
.qb-hud-score {
|
||
position: absolute; right: 210px; top: 44px;
|
||
font-weight: 800; font-size: 40px; line-height: 1; color: #e8f6ff;
|
||
letter-spacing: 0.04em; text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 18px rgba(70,200,255,0.5);
|
||
white-space: nowrap;
|
||
}
|
||
.qb-hud-score span { color: #ffd93d; }
|
||
/* host avatar — กรอบ btn-profile-bg.png 159×157 + clip avatar ข้างใน (เหมือน Quiz-Battle/.qb-room-profile) */
|
||
.qb-hud-host {
|
||
position: absolute; right: 18px; top: 14px; width: 159px; height: 157px;
|
||
background: url(/Game/img/btn-profile-bg.png) center/100% 100% no-repeat;
|
||
overflow: hidden;
|
||
}
|
||
.qb-hud-host-clip {
|
||
position: absolute; left: 18px; top: 10px; width: 124px; height: 118px;
|
||
overflow: hidden; border-radius: 12px;
|
||
}
|
||
.qb-hud-host-av {
|
||
position: absolute; left: 50%; top: 5px; width: 120%; height: auto; max-width: none;
|
||
object-fit: contain; object-position: center top; transform: translateX(-50%);
|
||
image-rendering: pixelated;
|
||
}
|
||
/* ปุ่มข้าง (btn-*.png 122×142) */
|
||
.qb-hud-btn img { width: 108px; height: auto; }
|
||
.qb-hud-exit { position: absolute; left: 26px; top: 184px; }
|
||
.qb-hud-myresult { position: absolute; right: 30px; top: 240px; }
|
||
.qb-hud-ranking { position: absolute; right: 30px; top: 384px; }
|
||
/* mic ขวาล่าง (ตาม mockup) */
|
||
.qb-hud-mic { position: absolute; right: 34px; bottom: 40px; }
|
||
.qb-hud-mic img { width: 96px; height: 96px; object-fit: contain; }
|
||
/* ปุ่มซูมเข้า/ออก (ซ้ายล่าง) */
|
||
.qb-hud-zoom { position: absolute; left: 30px; bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
|
||
.qb-hud-zoom-btn { width: 66px; height: 66px; border-radius: 16px; border: 2px solid rgba(96,210,255,0.7); background: rgba(16,34,56,0.85); color: #aef0ff; font-size: 38px; font-weight: 800; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 14px rgba(64,200,255,0.3); padding: 0; }
|
||
.qb-hud-zoom-btn:hover { border-color: rgba(96,210,255,1); background: rgba(24,48,74,0.95); }
|
||
.qb-hud-zoom-btn:active { transform: scale(0.94); }
|
||
/* ===== Quiz Battle popups (MY RESULT / RANKING) ===== */
|
||
.qb-popup { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; font-family: 'Noto Sans Thai','Prompt',sans-serif; }
|
||
.qb-popup.is-hidden { display: none !important; }
|
||
.qb-popup-backdrop { position: absolute; inset: 0; background: rgba(2,8,20,0.74); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
|
||
.qb-popup-frame { position: relative; }
|
||
.qb-popup-close { position: absolute; background: transparent; border: 0; cursor: pointer; z-index: 6; }
|
||
/* ---- MY RESULT ---- */
|
||
.qb-mr-frame {
|
||
width: min(92vw, 1160px); aspect-ratio: 1290/951;
|
||
background: url(/Game/img/qb-ui/popup-myresult.png) center/100% 100% no-repeat;
|
||
}
|
||
.qb-mr-frame .qb-popup-close { width: 6.6%; aspect-ratio: 1; right: 3%; top: 5.2%; }
|
||
.qb-mr-body {
|
||
position: absolute; left: 7.5%; right: 6.8%; top: 17.5%; bottom: 6.5%;
|
||
display: flex; flex-direction: column; gap: 2.2%; color: #eaf6ff;
|
||
}
|
||
.qb-mr-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.4%; flex: 0 0 auto; }
|
||
.qb-mr-stat { background: rgba(20,42,66,0.66); border: 1px solid rgba(96,210,255,0.42); border-radius: 12px; padding: 1.4% 2%; text-align: center; }
|
||
.qb-mr-stat-h { font-size: clamp(11px,1.15vw,16px); color: rgba(168,222,255,0.85); letter-spacing: .03em; }
|
||
.qb-mr-stat-v { font-size: clamp(16px,1.9vw,27px); font-weight: 800; color: #7fe9ff; margin-top: 2px; line-height: 1.1; }
|
||
.qb-mr-stat-v small { font-size: 58%; font-weight: 600; color: rgba(200,235,255,.78); }
|
||
.qb-mr-grid { display: grid; grid-template-columns: repeat(10,1fr); gap: .55%; flex: 0 0 auto; }
|
||
.qb-mr-cell { position: relative; aspect-ratio: 1; border-radius: 8px; background: rgba(16,34,54,0.55); border: 1px solid rgba(96,210,255,0.28); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
|
||
.qb-mr-cell.is-correct { border-color: rgba(64,210,140,0.7); background: rgba(24,60,44,0.5); }
|
||
.qb-mr-cell.is-wrong { border-color: rgba(232,90,110,0.7); background: rgba(64,26,34,0.5); }
|
||
.qb-mr-cell.is-unanswered { opacity: .42; }
|
||
.qb-mr-cell .qb-mr-n { font-size: clamp(9px,.85vw,13px); color: rgba(180,225,255,.82); line-height: 1; }
|
||
.qb-mr-cell .qb-mr-mark { width: 58%; height: auto; }
|
||
.qb-mr-detail { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 12px; display: flex; flex-direction: column; gap: 8px; }
|
||
.qb-mr-q { background: rgba(18,38,60,0.62); border: 1px solid rgba(96,210,255,0.28); border-radius: 10px; padding: 9px 13px; }
|
||
.qb-mr-q-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: clamp(12px,1.05vw,16px); color: #cfeeff; }
|
||
.qb-mr-q-head img { width: 20px; height: 20px; flex: 0 0 auto; }
|
||
.qb-mr-q-text { font-size: clamp(11px,1vw,15px); margin: 5px 0 7px; color: #dff1ff; }
|
||
.qb-mr-q-opt { font-size: clamp(10px,.92vw,14px); padding: 4px 9px; border-radius: 6px; margin: 3px 0; background: rgba(255,255,255,0.05); color: rgba(220,238,255,.85); }
|
||
.qb-mr-q-opt.is-correct { background: rgba(40,160,90,0.34); color: #bfffd6; font-weight: 600; }
|
||
.qb-mr-q-opt.is-chosen-wrong { background: rgba(195,62,74,0.36); color: #ffd0d4; font-weight: 600; }
|
||
.qb-mr-detail::-webkit-scrollbar, .qb-rank-list::-webkit-scrollbar { width: 11px; }
|
||
.qb-mr-detail::-webkit-scrollbar-track, .qb-rank-list::-webkit-scrollbar-track { background: url(/Game/img/qb-ui/q-scroll-bg.png) center/100% 100% no-repeat; }
|
||
.qb-mr-detail::-webkit-scrollbar-thumb, .qb-rank-list::-webkit-scrollbar-thumb { background: url(/Game/img/qb-ui/q-scroll-bar.png) center/100% 100% no-repeat; border-radius: 6px; }
|
||
/* ---- RANKING ---- */
|
||
.qb-rank-frame {
|
||
position: relative; width: min(88vw, 820px); max-height: 88vh; padding: 30px 34px 30px; box-sizing: border-box;
|
||
background: linear-gradient(180deg, rgba(18,40,64,0.98), rgba(11,24,42,0.98));
|
||
border: 2px solid rgba(96,210,255,0.85); border-radius: 22px;
|
||
box-shadow: 0 0 34px rgba(64,200,255,0.45), inset 0 0 22px rgba(64,200,255,0.16);
|
||
display: flex; flex-direction: column; color: #eaf6ff;
|
||
}
|
||
.qb-rank-title { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); background: linear-gradient(180deg,#0c2238,#0a1c30); border: 2px solid rgba(96,210,255,0.9); border-radius: 14px; padding: 9px 48px; font-size: clamp(18px,2vw,28px); font-weight: 800; color: #aef0ff; letter-spacing: .05em; box-shadow: 0 0 18px rgba(64,200,255,0.5); white-space: nowrap; }
|
||
.qb-rank-frame .qb-popup-close { width: 46px; height: 46px; right: 6px; top: 6px; border-radius: 10px; }
|
||
.qb-rank-frame .qb-popup-close::before, .qb-rank-frame .qb-popup-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 4px; background: #8fe7ff; border-radius: 2px; box-shadow: 0 0 8px rgba(96,210,255,0.7); }
|
||
.qb-rank-frame .qb-popup-close::before { transform: translate(-50%,-50%) rotate(45deg); }
|
||
.qb-rank-frame .qb-popup-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
|
||
.qb-rank-body { display: flex; flex-direction: column; min-height: 0; margin-top: 14px; }
|
||
.qb-rank-podium { display: flex; align-items: flex-end; justify-content: center; gap: 16px; margin-bottom: 16px; flex: 0 0 auto; }
|
||
.qb-rank-pod { display: flex; flex-direction: column; align-items: center; }
|
||
.qb-rank-pod-av { border-radius: 50%; background: rgba(12,30,50,0.9); border: 3px solid rgba(96,210,255,0.7); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
|
||
.qb-rank-pod-av img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
|
||
.qb-rank-pod-1 .qb-rank-pod-av { width: 108px; height: 108px; border-color: #ffd34d; box-shadow: 0 0 18px rgba(255,200,60,0.6); }
|
||
.qb-rank-pod-2 .qb-rank-pod-av { width: 86px; height: 86px; border-color: #cfe2ff; }
|
||
.qb-rank-pod-3 .qb-rank-pod-av { width: 86px; height: 86px; border-color: #ff9d6b; }
|
||
.qb-rank-pod-badge { margin-top: -14px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #06121f; }
|
||
.qb-rank-pod-1 .qb-rank-pod-badge { background: #ffd34d; }
|
||
.qb-rank-pod-2 .qb-rank-pod-badge { background: #cfe2ff; }
|
||
.qb-rank-pod-3 .qb-rank-pod-badge { background: #ff9d6b; }
|
||
.qb-rank-pod-name { font-size: clamp(11px,1vw,14px); font-weight: 700; margin-top: 6px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
|
||
.qb-rank-pod-score { font-size: clamp(11px,1vw,15px); color: #7fe9ff; font-weight: 800; }
|
||
.qb-rank-listhead, .qb-rank-row { display: grid; grid-template-columns: 64px 1fr 90px; align-items: center; padding: 7px 14px; }
|
||
.qb-rank-listhead { color: rgba(168,222,255,0.8); font-size: clamp(10px,.9vw,13px); letter-spacing: .06em; border-bottom: 1px solid rgba(96,210,255,0.3); }
|
||
.qb-rank-c3 { text-align: right; }
|
||
.qb-rank-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
|
||
.qb-rank-row { background: rgba(18,38,60,0.5); border: 1px solid rgba(96,210,255,0.22); border-radius: 10px; margin: 5px 0; font-size: clamp(11px,1vw,15px); }
|
||
.qb-rank-row .qb-rank-c1 { font-weight: 800; color: #aef0ff; }
|
||
.qb-rank-row .qb-rank-c3 { font-weight: 800; color: #7fe9ff; }
|
||
.qb-rank-me { flex: 0 0 auto; margin-top: 8px; }
|
||
.qb-rank-me .qb-rank-row { background: rgba(96,210,255,0.18); border-color: rgba(96,210,255,0.7); box-shadow: 0 0 14px rgba(64,200,255,0.35); margin: 0; }
|
||
.qb-rank-empty { text-align: center; color: rgba(190,225,255,0.7); padding: 24px 0; font-size: 14px; }
|
||
/* ---- COMPLETED ---- */
|
||
.qb-completed-frame {
|
||
width: min(92vw, 1180px); aspect-ratio: 1344/781;
|
||
background: url(/Game/img/qb-ui/popup-result.png) center/100% 100% no-repeat;
|
||
}
|
||
.qb-completed-frame .qb-popup-close { width: 6%; aspect-ratio: 1; right: 5%; top: 9%; }
|
||
.qb-completed-body {
|
||
position: absolute; left: 11.2%; right: 11.1%; top: 50.5%; height: 16%;
|
||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.86%;
|
||
}
|
||
.qb-cp-val {
|
||
display: flex; align-items: center; justify-content: center; text-align: center;
|
||
font-family: 'Noto Sans Thai','Prompt',sans-serif; font-weight: 800;
|
||
font-size: clamp(20px, 2.6vw, 40px); color: #7fe9ff;
|
||
text-shadow: 0 0 14px rgba(64,200,255,0.4);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-ss-meta {
|
||
font-size: 0.5rem;
|
||
letter-spacing: 0.06em;
|
||
color: rgba(232, 248, 255, 0.88);
|
||
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
|
||
}
|
||
/* Space Shooter live: แถบ integrity + meta อยู่ซ้ายของกรอบอวตาร */
|
||
#play-cyber-hud.play-cyber-hud--ss-self-integrity-left .play-cyber-self {
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 0.42rem;
|
||
max-width: min(96vw, 380px);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--ss-self-integrity-left .play-cyber-self-status {
|
||
order: 3;
|
||
flex: 0 0 auto;
|
||
width: auto;
|
||
min-width: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--ss-self-integrity-left .play-cyber-profile-frame {
|
||
order: 2;
|
||
flex-shrink: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--ss-self-integrity-left .play-cyber-op-widgets {
|
||
order: 3;
|
||
flex-basis: 100%;
|
||
align-items: flex-end;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--ss-self-integrity-left .play-cyber-ss-integrity-canvas {
|
||
width: min(220px, 48vw);
|
||
}
|
||
/* Stack Tower: แผงโปรไฟล์วาดบน canvas — ซ่อนกล่อง portrait DOM ขวา ไม่ให้ซ้ำกับอวตารในแผง SYSTEM INTEGRITY */
|
||
#play-cyber-hud.play-cyber-hud--stack-tower-canvas-hud .play-cyber-self {
|
||
display: none !important;
|
||
}
|
||
/* ===== MG3 Stack Tower live HUD — DOM overlay: 1920×1080 design plane scale+center ตาม stage (coords ตรง design game.css/game-hud.css?v=0.006130015) ===== */
|
||
.mg3-tower-hud {
|
||
position: fixed;
|
||
width: 1920px; height: 1080px;
|
||
transform-origin: 0 0;
|
||
pointer-events: none;
|
||
z-index: 54;
|
||
}
|
||
.mg3-tower-hud.is-hidden { display: none !important; }
|
||
.mg3-tower-hud > div { position: absolute; }
|
||
.mg3-tower-hud img { image-rendering: pixelated; display: block; }
|
||
/* SYSTEM INTEGRITY life bar (design .mg3-life left:1410 top:63 w:341 h:111) */
|
||
.mg3-life { left: 1410px; top: 63px; width: 341px; height: 111px; }
|
||
.mg3-life-bar { width: 341px; height: 111px; display: block; }
|
||
.mg3-life-hearts {
|
||
position: absolute; left: 83px; top: 56px;
|
||
display: flex; align-items: center; gap: 10px; height: 52px;
|
||
}
|
||
.mg3-life-hearts img { height: 52px; width: auto; }
|
||
/* host portrait frame (design .mg-host left:1729 top:21 w/h:201; face left:49 top:49 104×104) */
|
||
.mg3-host { left: 1729px; top: 21px; width: 201px; height: 201px; }
|
||
.mg3-host-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||
.mg3-host-face {
|
||
position: absolute; left: 49px; top: 49px; width: 104px; height: 104px;
|
||
border-radius: 8px; object-fit: cover;
|
||
}
|
||
/* code terminal (design .mg3-terminal left:40 bottom:170 w:420) */
|
||
.mg3-terminal { left: 40px; bottom: 170px; width: 420px; }
|
||
.mg3-terminal-bg { width: 100%; height: auto; }
|
||
.mg3-terminal-log {
|
||
position: absolute; left: 9%; right: 9%; top: 10%; bottom: 10%;
|
||
overflow: hidden;
|
||
font: 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace;
|
||
color: #8fe9ff;
|
||
text-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
|
||
white-space: pre-wrap; word-break: break-word;
|
||
}
|
||
/* progress (design .mg3-progress left:43 bottom:40 w:418 h:151) — label+pct heading แล้ว track+fill */
|
||
.mg3-progress {
|
||
left: 43px; bottom: 40px; width: 418px; height: 151px;
|
||
display: flex; flex-direction: row; flex-wrap: wrap; gap: 0;
|
||
}
|
||
.mg3-progress-heading {
|
||
display: flex; align-items: center; justify-content: space-between;
|
||
width: 100%; flex: 0 0 75%; gap: 3px;
|
||
}
|
||
.mg3-progress-label { width: auto; height: 58px; display: block; flex: 0 0 auto; }
|
||
.mg3-progress-pct {
|
||
font-family: "NotoSansThai", monospace, sans-serif; font-weight: 700;
|
||
font-size: 28px; line-height: 44px; color: #8fe8ff; letter-spacing: 0.5px;
|
||
white-space: nowrap; text-shadow: 0 0 8px rgba(120, 220, 255, 0.6);
|
||
}
|
||
.mg3-progress-bar { position: relative; width: 100%; flex: 0 0 100%; }
|
||
.mg3-progress-track { width: 100%; height: auto; display: block; }
|
||
.mg3-progress-fill {
|
||
position: absolute; left: 30px; top: 30px; height: 30px; width: 0;
|
||
object-fit: cover; object-position: left center;
|
||
transition: width 0.25s ease;
|
||
}
|
||
/* Last Light (mno9kb07): แถบคะแนนแนวนอน — score.png แล้วตามด้วยสูงสุด 6 ช่อง (อวาตาร์ | ชื่อบน / คะแนนล่าง) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-hint {
|
||
display: none !important;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-corruption,
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-preview-line {
|
||
display: none !important;
|
||
}
|
||
/* Last Light: แถวบน = SCORE ยืดซ้าย | OPERATOR ขวา — แถวล่าง = TIME ใต้ SCORE */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
grid-template-rows: auto auto;
|
||
grid-template-areas:
|
||
'crownScore crownOp'
|
||
'crownTime crownOp';
|
||
align-items: start;
|
||
column-gap: clamp(10px, 2vw, 20px);
|
||
row-gap: 0.35rem;
|
||
box-sizing: border-box;
|
||
padding-top: max(50px, calc(env(safe-area-inset-top) + 38px));
|
||
padding-left: max(6px, env(safe-area-inset-left));
|
||
padding-right: max(8px, env(safe-area-inset-right));
|
||
padding-bottom: max(6px, env(safe-area-inset-bottom));
|
||
}
|
||
/* Last Light (ไม่ใช่ quiz_carry flush): จอให้ญ — ระยะ SCORE กับโปรไฟล์ + แถบคะแนนห่อได้ ไม่ชนมุมขวา */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip:not(.play-cyber-hud--score-flush-left) {
|
||
column-gap: clamp(12px, 2.8vw, 44px);
|
||
padding-right: max(12px, env(safe-area-inset-right));
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip:not(.play-cyber-hud--score-flush-left) .play-cyber-score-list.play-cyber-score-list--crown-strip {
|
||
flex-wrap: wrap;
|
||
overflow-x: visible;
|
||
overflow-y: visible;
|
||
align-content: flex-start;
|
||
row-gap: clamp(4px, 0.8vw, 10px);
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip:not(.play-cyber-hud--score-flush-left) .play-cyber-score-list.play-cyber-score-list--crown-strip::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-scoreboard.play-cyber-scoreboard--crown-strip {
|
||
padding-left: 0;
|
||
}
|
||
/* quiz_carry: แสดงผู้เล่นครบ — ไม่ scroll / ไม่ clip แนวนอน (ห่อหลายแถวได้) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-score-list.play-cyber-score-list--crown-strip {
|
||
padding-left: 0;
|
||
overflow-x: visible;
|
||
overflow-y: visible;
|
||
flex-wrap: wrap;
|
||
max-height: none;
|
||
align-content: flex-start;
|
||
row-gap: clamp(4px, 0.8vw, 10px);
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-score-list.play-cyber-score-list--crown-strip::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
/* quiz_carry: TIME ชิดซ้ายกลางแนวตั้ง — แถวบน: SCORE + โปรไฟล์ (แผง SCORE อย่ายืด 1fr แล้วชิดซ้าย = ช่องว่างยาวถึงโปรไฟล์) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left {
|
||
padding-left: env(safe-area-inset-left, 0px);
|
||
display: grid;
|
||
grid-template-columns: minmax(4.5rem, 17vw) minmax(0, 1fr) auto;
|
||
grid-template-rows: auto 1fr;
|
||
column-gap: clamp(2px, 0.55vw, 8px);
|
||
row-gap: 0.35rem;
|
||
align-items: start;
|
||
box-sizing: border-box;
|
||
min-height: 100%;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-center-stack {
|
||
grid-area: unset;
|
||
grid-column: 1;
|
||
grid-row: 1 / -1;
|
||
width: 100%;
|
||
max-width: none;
|
||
align-self: center;
|
||
justify-self: start;
|
||
display: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-scoreboard.play-cyber-scoreboard--crown-strip {
|
||
grid-area: unset;
|
||
grid-column: 2;
|
||
grid-row: 1;
|
||
justify-self: end;
|
||
align-self: start;
|
||
width: max-content;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
margin-left: 0;
|
||
margin-right: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-self {
|
||
grid-area: unset;
|
||
grid-column: 3;
|
||
grid-row: 1;
|
||
justify-self: start;
|
||
align-self: start;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-time-block {
|
||
text-align: left;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-time-head {
|
||
align-items: flex-start;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip.play-cyber-hud--score-flush-left .play-cyber-time-sub {
|
||
text-align: left;
|
||
max-width: 100%;
|
||
margin-left: 0;
|
||
margin-right: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-center-stack {
|
||
grid-area: crownTime;
|
||
position: static;
|
||
left: auto;
|
||
top: auto;
|
||
transform: none;
|
||
width: 100%;
|
||
min-width: 0;
|
||
max-width: none;
|
||
padding: 0;
|
||
align-items: flex-start;
|
||
justify-self: stretch;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-time-block {
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-time-head {
|
||
align-items: flex-start;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-time-sub {
|
||
max-width: min(100%, 320px);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
text-align: left;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-self {
|
||
grid-area: crownOp;
|
||
grid-row: 1 / -1;
|
||
justify-self: end;
|
||
align-self: start;
|
||
position: static;
|
||
top: auto;
|
||
right: auto;
|
||
margin-left: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 0.32rem;
|
||
}
|
||
/* Last Light / quiz_carry crown: บังคับแผง SCORE เข้า grid แนวนอน แม้คลาส --crown-strip ยังไม่ติด — กันแผงเก่า position:absolute ซ้อนแนวตั้งทับ TIME ซ้าย */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip > .play-cyber-scoreboard {
|
||
position: static;
|
||
top: auto;
|
||
left: auto;
|
||
right: auto;
|
||
grid-area: crownScore;
|
||
width: 100%;
|
||
min-width: 0;
|
||
max-width: none;
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
gap: 0.55rem;
|
||
box-sizing: border-box;
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
padding: 0.28rem 0.2rem 0.32rem 0;
|
||
}
|
||
/* รายการคะแนน crown: ห่อหลายแถวได้เสมอ — อย่าใช้ overflow-x:auto ตรงนี้ (คลาส --crown-strip อาจยังไม่ติดรอบแรก = เลื่อนแนวนอนกลับมา) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip > .play-cyber-scoreboard .play-cyber-score-list {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: stretch;
|
||
align-content: flex-start;
|
||
gap: clamp(6px, 1vw, 12px);
|
||
row-gap: clamp(4px, 0.8vw, 10px);
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
max-height: none;
|
||
overflow-x: visible;
|
||
overflow-y: visible;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip > .play-cyber-scoreboard .play-cyber-score-list::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-scoreboard.play-cyber-scoreboard--crown-strip {
|
||
grid-area: crownScore;
|
||
width: 100%;
|
||
min-width: 0;
|
||
max-width: none;
|
||
position: static;
|
||
left: auto;
|
||
right: auto;
|
||
top: auto;
|
||
padding: 0.28rem 0.2rem 0.32rem 0;
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
gap: 0.55rem;
|
||
box-sizing: border-box;
|
||
background: transparent;
|
||
border: none;
|
||
box-shadow: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-panel-title {
|
||
flex: 0 0 auto;
|
||
align-self: center;
|
||
margin: 0 0.15rem 0 0;
|
||
padding: 0;
|
||
border-bottom: none;
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 800;
|
||
font-size: clamp(0.68rem, 1.9vmin, 0.86rem);
|
||
letter-spacing: 0.14em;
|
||
text-transform: uppercase;
|
||
color: #8afeff;
|
||
text-shadow:
|
||
0 0 14px rgba(0, 240, 255, 0.55),
|
||
0 0 28px rgba(0, 160, 255, 0.28),
|
||
0 1px 10px rgba(0, 0, 0, 0.75);
|
||
white-space: nowrap;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-score-head {
|
||
flex: 0 0 auto;
|
||
align-self: center;
|
||
margin: 0;
|
||
line-height: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-score-head img {
|
||
display: block;
|
||
height: clamp(16px, 3.2vmin, 26px);
|
||
width: auto;
|
||
max-width: min(42vw, 200px);
|
||
object-fit: contain;
|
||
object-position: left center;
|
||
image-rendering: auto;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-score-head.is-hidden {
|
||
display: none !important;
|
||
margin: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-score-list.play-cyber-score-list--crown-strip {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: stretch;
|
||
align-content: flex-start;
|
||
gap: clamp(6px, 1vw, 12px);
|
||
row-gap: clamp(4px, 0.8vw, 10px);
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
max-height: none;
|
||
overflow-x: visible;
|
||
overflow-y: visible;
|
||
width: 100%;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
padding: 0 0.2rem 0.2rem 0;
|
||
box-sizing: border-box;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-score-list.play-cyber-score-list--crown-strip::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-score-row--crown-strip {
|
||
display: flex;
|
||
flex: 0 0 auto;
|
||
flex-shrink: 0;
|
||
min-width: 7.1rem;
|
||
padding: 0.12rem 0.12rem 0.12rem 0;
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
border-bottom: none;
|
||
grid-template-columns: unset;
|
||
grid-template: none;
|
||
border-right: none;
|
||
background: transparent;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-strip-cell {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 0.36rem;
|
||
width: auto;
|
||
min-width: 0;
|
||
max-width: none;
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
background: transparent;
|
||
}
|
||
/* คอขึ้นไป — โฟกัสใบหน้า+ไหล่ (ไม่ซูมจนเหลือแต่หน้าผาก) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-strip-av-wrap {
|
||
flex: 0 0 auto;
|
||
width: 36px;
|
||
height: 36px;
|
||
overflow: hidden;
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-sizing: border-box;
|
||
border-radius: 8px;
|
||
border: 1px solid rgba(0, 255, 240, 0.42);
|
||
background: rgba(0, 6, 12, 0.92);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-score-av--crown-strip {
|
||
display: block;
|
||
position: relative;
|
||
left: auto;
|
||
top: auto;
|
||
width: 40px;
|
||
height: 40px;
|
||
max-width: none;
|
||
margin: 0;
|
||
border: none;
|
||
flex-shrink: 0;
|
||
object-fit: cover;
|
||
object-position: 50% 28%;
|
||
transform: scale(1.12);
|
||
transform-origin: 50% 42%;
|
||
image-rendering: pixelated;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-strip-meta {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
gap: 0.12rem;
|
||
flex: 0 1 auto;
|
||
min-width: 3.75rem;
|
||
max-width: 9.5rem;
|
||
background: transparent;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-strip-name {
|
||
font-family: 'Share Tech Mono', ui-monospace, monospace;
|
||
font-size: 0.46rem;
|
||
font-weight: 600;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
color: rgba(255, 255, 255, 0.9);
|
||
text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-score-row--crown-strip.is-me .play-cyber-crown-strip-name {
|
||
color: #f2ffff;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-crown-strip-val {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: clamp(0.72rem, 2.2vmin, 0.9rem);
|
||
font-weight: 800;
|
||
color: #7af8ff;
|
||
text-shadow:
|
||
0 0 14px rgba(122, 248, 255, 0.55),
|
||
0 0 26px rgba(0, 200, 255, 0.28),
|
||
0 1px 8px rgba(0, 0, 0, 0.88);
|
||
line-height: 1;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-time-val {
|
||
color: #7fffab;
|
||
text-shadow:
|
||
0 0 20px rgba(100, 255, 180, 0.55),
|
||
0 0 40px rgba(0, 255, 140, 0.25),
|
||
0 2px 12px rgba(0, 0, 0, 0.88);
|
||
}
|
||
/* Last Light: OPERATOR + ไมค์ / สถานะ */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-profile-frame {
|
||
padding: 3px;
|
||
border-radius: 12px;
|
||
background: rgba(0, 12, 22, 0.55);
|
||
border: 1px solid rgba(0, 255, 240, 0.55);
|
||
box-shadow:
|
||
0 0 0 1px rgba(0, 0, 0, 0.45),
|
||
0 0 22px rgba(0, 230, 255, 0.42),
|
||
inset 0 0 18px rgba(0, 255, 240, 0.07);
|
||
overflow: hidden;
|
||
width: 58px;
|
||
height: 58px;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-profile-frame .play-cyber-portrait-img {
|
||
width: 64px;
|
||
height: 64px;
|
||
max-width: none;
|
||
margin: 0;
|
||
border-radius: 9px;
|
||
object-fit: cover;
|
||
object-position: 50% 0%;
|
||
transform: scale(1.38);
|
||
transform-origin: 50% 14%;
|
||
background: rgba(0, 6, 14, 0.75);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-self-status {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 0.1rem;
|
||
max-width: min(200px, 42vw);
|
||
width: max-content;
|
||
font-size: 0;
|
||
letter-spacing: 0.08em;
|
||
line-height: 1.22;
|
||
text-align: left;
|
||
}
|
||
/* โทนเดียวกับแผง user embed คำถาม (editor mng8a80o): QUIZ LINK · + ประลองความรู้ */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-self-tagline {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: clamp(0.44rem, 1.35vmin, 0.56rem);
|
||
font-weight: 700;
|
||
letter-spacing: 0.14em;
|
||
text-transform: uppercase;
|
||
color: #7af8ff;
|
||
text-shadow:
|
||
0 0 12px rgba(122, 248, 255, 0.55),
|
||
0 0 22px rgba(0, 200, 255, 0.28),
|
||
0 1px 8px rgba(0, 0, 0, 0.85);
|
||
white-space: nowrap;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-self-subtag {
|
||
font-family: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;
|
||
font-size: clamp(0.48rem, 1.5vmin, 0.62rem);
|
||
font-weight: 600;
|
||
letter-spacing: 0.04em;
|
||
color: rgba(122, 248, 255, 0.92);
|
||
text-shadow:
|
||
0 0 10px rgba(0, 240, 255, 0.35),
|
||
0 1px 6px rgba(0, 0, 0, 0.82);
|
||
white-space: nowrap;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-self-nick-line {
|
||
font-family: 'Sarabun', 'Noto Sans Thai', 'Share Tech Mono', ui-monospace, monospace;
|
||
font-size: clamp(0.42rem, 1.35vmin, 0.52rem);
|
||
font-weight: 600;
|
||
letter-spacing: 0.06em;
|
||
text-transform: none;
|
||
color: rgba(232, 250, 255, 0.9);
|
||
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.82);
|
||
margin-top: 0.06rem;
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.play-cyber-op-widgets {
|
||
display: none;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
gap: 0.25rem;
|
||
}
|
||
/* ไมค์ + กล่อง LINK (O) เป็นของตกแต่ง mock — ซ่อนไม่ให้ซ้ำ/สับสนกับคะแนนจริง (ผู้ใช้เห็นเป็นกล่อง 0 + สี่เหลี่ยม) */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-op-widgets {
|
||
display: none !important;
|
||
}
|
||
.play-cyber-link-status {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 30px;
|
||
height: 30px;
|
||
border-radius: 8px;
|
||
box-sizing: border-box;
|
||
border: 1px solid rgba(0, 255, 240, 0.48);
|
||
background: linear-gradient(180deg, rgba(0, 48, 58, 0.75), rgba(0, 12, 22, 0.92));
|
||
box-shadow:
|
||
0 0 14px rgba(0, 220, 255, 0.28),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: 0.58rem;
|
||
font-weight: 800;
|
||
letter-spacing: 0.04em;
|
||
color: rgba(255, 255, 255, 0.92);
|
||
line-height: 1;
|
||
}
|
||
.play-cyber-voice-chip {
|
||
display: none;
|
||
width: 30px;
|
||
height: 30px;
|
||
border-radius: 8px;
|
||
box-sizing: border-box;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border: 1px solid rgba(0, 255, 240, 0.48);
|
||
background: linear-gradient(180deg, rgba(0, 48, 58, 0.75), rgba(0, 12, 22, 0.92));
|
||
box-shadow:
|
||
0 0 14px rgba(0, 220, 255, 0.32),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||
}
|
||
/* ไมค์/LINK อยู่ใน op-widgets ที่ซ่อนแล้ว — กันค่า display:flex เก่าทำให้เห็นเป็นเส้น/ชิปหลุด */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-voice-chip {
|
||
display: none !important;
|
||
}
|
||
/* Last Light เท่านั้น (ไม่มี score-flush-left เหมือน quiz_carry): ไม่แสดงกล่องข้อความ mock ข้างโปรไฟล์ */
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip:not(.play-cyber-hud--score-flush-left) .play-cyber-self-status {
|
||
display: none !important;
|
||
}
|
||
.play-cyber-voice-chip::after {
|
||
content: '';
|
||
display: block;
|
||
width: 9px;
|
||
height: 12px;
|
||
border: 2px solid rgba(255, 255, 255, 0.88);
|
||
border-radius: 4px 4px 5px 5px;
|
||
box-shadow: 0 4px 0 -2px rgba(255, 255, 255, 0.35);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-head {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: baseline;
|
||
justify-content: center;
|
||
column-gap: 0.08rem;
|
||
row-gap: 0.12rem;
|
||
}
|
||
/* time.png = กราฟิกคำว่า TIME : ด้านซ้ายของตัวเลข */
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-head--qm-plaque .play-cyber-time-plaque-img {
|
||
display: block;
|
||
height: clamp(1rem, 3.4vmin, 1.55rem);
|
||
width: auto;
|
||
max-width: min(48vw, 200px);
|
||
object-fit: contain;
|
||
object-position: left center;
|
||
flex-shrink: 0;
|
||
margin-right: 0.12rem;
|
||
align-self: center;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-head--qm-plaque {
|
||
align-items: center;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-head--qm-plaque .play-cyber-time-label,
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-head--qm-plaque .play-cyber-time-colon {
|
||
display: none !important;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-colon {
|
||
display: inline;
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: clamp(0.88rem, 2.6vw, 1.15rem);
|
||
font-weight: 700;
|
||
color: rgba(232, 248, 255, 0.96);
|
||
text-shadow: 0 0 14px rgba(0, 255, 220, 0.42), 0 1px 10px rgba(0, 0, 0, 0.88);
|
||
margin: 0 0.1rem 0 0.06rem;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-label {
|
||
margin-bottom: 0;
|
||
font-size: clamp(0.88rem, 2.6vw, 1.12rem);
|
||
letter-spacing: 0.12em;
|
||
color: rgba(232, 248, 255, 0.96);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-val {
|
||
filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
|
||
color: #7af8ff;
|
||
text-shadow:
|
||
0 0 18px rgba(122, 248, 255, 0.55),
|
||
0 0 36px rgba(0, 200, 255, 0.28),
|
||
0 2px 12px rgba(0, 0, 0, 0.9);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-label,
|
||
#play-cyber-hud.play-cyber-hud--question-mission .play-cyber-time-sub {
|
||
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.65);
|
||
}
|
||
.game-wrap.play-cyber-active .game-header {
|
||
background: linear-gradient(180deg, rgba(6, 10, 22, 0.94), rgba(12, 18, 36, 0.88));
|
||
border-bottom: 1px solid rgba(0, 255, 240, 0.22);
|
||
box-shadow: 0 0 24px rgba(0, 240, 255, 0.08);
|
||
}
|
||
.game-wrap.play-cyber-active .game-header span {
|
||
color: #7af8ff;
|
||
text-shadow: 0 0 12px rgba(0, 255, 240, 0.35);
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 600;
|
||
font-size: 0.82rem;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
.game-wrap.play-cyber-active #btn-leave {
|
||
background: rgba(0, 40, 48, 0.85);
|
||
color: #7af8ff;
|
||
border: 1px solid rgba(0, 255, 240, 0.35);
|
||
font-family: 'Share Tech Mono', monospace;
|
||
font-size: 0.72rem;
|
||
letter-spacing: 0.06em;
|
||
}
|
||
.play-cyber-scoreboard {
|
||
position: absolute;
|
||
top: max(52px, calc(env(safe-area-inset-top) + 42px));
|
||
left: max(10px, env(safe-area-inset-left));
|
||
width: min(240px, 42vw);
|
||
padding: 0.5rem 0.55rem 0.6rem;
|
||
background: rgba(4, 8, 18, 0.08);
|
||
border: 1px solid rgba(0, 255, 240, 0.28);
|
||
border-radius: 4px;
|
||
box-shadow:
|
||
0 0 0 1px rgba(0, 0, 0, 0.5),
|
||
0 0 28px rgba(0, 200, 255, 0.12),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||
}
|
||
.play-cyber-panel-title {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 800;
|
||
font-size: 0.72rem;
|
||
letter-spacing: 0.2em;
|
||
color: #5cf0ff;
|
||
text-shadow: 0 0 14px rgba(92, 240, 255, 0.45);
|
||
margin-bottom: 0.35rem;
|
||
padding-bottom: 0.25rem;
|
||
border-bottom: 1px solid rgba(0, 255, 240, 0.2);
|
||
}
|
||
.play-cyber-panel-title.is-hidden {
|
||
display: none !important;
|
||
}
|
||
/* กล่องหัว score.png (Last Light) — บนแมปอื่นมี is-hidden แต่เดิมไม่มี display:none จึงเห็นกรอบว่างเหนือ SCORE */
|
||
#play-cyber-crown-score-head.is-hidden {
|
||
display: none !important;
|
||
margin: 0 !important;
|
||
padding: 0 !important;
|
||
height: 0 !important;
|
||
min-height: 0 !important;
|
||
overflow: hidden !important;
|
||
border: none !important;
|
||
}
|
||
.play-cyber-score-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
max-height: 42vh;
|
||
overflow: auto;
|
||
}
|
||
.play-cyber-score-row {
|
||
display: grid;
|
||
grid-template-columns: 36px minmax(0, 1fr) minmax(2.75rem, auto);
|
||
align-items: center;
|
||
gap: 0.35rem;
|
||
padding: 0.28rem 0;
|
||
border-bottom: 1px solid rgba(0, 255, 240, 0.08);
|
||
}
|
||
.play-cyber-score-row:last-child { border-bottom: none; }
|
||
.play-cyber-score-row.is-me .play-cyber-score-name { color: #9efcff; }
|
||
.play-cyber-score-row.is-out { opacity: 0.45; }
|
||
.play-cyber-score-av {
|
||
width: 34px;
|
||
height: 34px;
|
||
object-fit: contain;
|
||
image-rendering: pixelated;
|
||
border-radius: 2px;
|
||
}
|
||
.play-cyber-score-mid {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.1rem;
|
||
min-width: 0;
|
||
}
|
||
.play-cyber-score-name {
|
||
font-size: 0.68rem;
|
||
font-weight: 700;
|
||
color: #c8f4ff;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.play-cyber-score-state {
|
||
font-size: 0.58rem;
|
||
letter-spacing: 0.08em;
|
||
color: rgba(0, 255, 200, 0.55);
|
||
}
|
||
.play-cyber-score-row.is-out .play-cyber-score-state { color: #f7768e; }
|
||
.play-cyber-score-val {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 800;
|
||
font-size: 0.78rem;
|
||
color: #7af8ff;
|
||
text-shadow: 0 0 10px rgba(0, 255, 240, 0.35);
|
||
font-variant-numeric: tabular-nums;
|
||
text-align: right;
|
||
justify-self: end;
|
||
min-width: 2.5rem;
|
||
}
|
||
.play-cyber-lead-crown {
|
||
display: inline-block;
|
||
margin-right: 0.15rem;
|
||
filter: drop-shadow(0 0 6px rgba(255, 220, 120, 0.7));
|
||
}
|
||
/* กลางบน: TIME + (เฉพาะแมป quiz mng8a80o) แถบคำถาม */
|
||
.play-cyber-center-stack {
|
||
position: absolute;
|
||
top: max(52px, calc(env(safe-area-inset-top) + 38px));
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: clamp(4px, 1vmin, 12px);
|
||
z-index: 4;
|
||
max-width: min(94vw, 760px);
|
||
pointer-events: none;
|
||
}
|
||
.play-cyber-time-block {
|
||
position: relative;
|
||
left: auto;
|
||
top: auto;
|
||
transform: none;
|
||
text-align: center;
|
||
min-width: 120px;
|
||
}
|
||
.play-cyber-time-head {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
.play-cyber-time-plaque-img {
|
||
display: none;
|
||
}
|
||
.play-cyber-time-colon {
|
||
display: none;
|
||
line-height: 1;
|
||
}
|
||
.play-cyber-quiz-mission-q-band {
|
||
position: relative;
|
||
width: min(92vw, 680px);
|
||
max-width: 100%;
|
||
padding: clamp(10px, 2vmin, 18px) clamp(12px, 2.5vmin, 22px);
|
||
box-sizing: border-box;
|
||
text-align: center;
|
||
}
|
||
/* is-hidden ใช้ทั่วโปรเจกต์แต่หลายจุดไม่มีกฎ display:none — แถบนี้ซ่อนแล้วต้องไม่กินที่และไม่เห็นกรอบว่าง */
|
||
#play-cyber-quiz-mission-q-band.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.play-cyber-quiz-mission-q-plaque {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: fill;
|
||
object-position: center;
|
||
z-index: 0;
|
||
pointer-events: none;
|
||
opacity: 0.95;
|
||
}
|
||
.play-cyber-quiz-mission-q-text {
|
||
position: relative;
|
||
z-index: 1;
|
||
margin: 0;
|
||
font-family: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;
|
||
font-size: clamp(0.78rem, 2.1vw, 1.05rem);
|
||
font-weight: 700;
|
||
line-height: 1.45;
|
||
color: #ffe066;
|
||
text-shadow:
|
||
0 0 12px rgba(255, 200, 80, 0.55),
|
||
0 2px 14px rgba(0, 0, 0, 0.85);
|
||
white-space: pre-line;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
}
|
||
.play-cyber-time-label {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-size: 0.62rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.28em;
|
||
color: rgba(0, 255, 200, 0.55);
|
||
margin-bottom: 0.15rem;
|
||
}
|
||
.play-cyber-time-val {
|
||
font-family: 'Orbitron', sans-serif;
|
||
font-weight: 800;
|
||
font-size: clamp(1.5rem, 4.5vw, 2rem);
|
||
line-height: 1;
|
||
color: #7fffab;
|
||
text-shadow:
|
||
0 0 20px rgba(100, 255, 180, 0.55),
|
||
0 0 40px rgba(0, 255, 140, 0.25);
|
||
}
|
||
.play-cyber-time-sub {
|
||
margin-top: 0.25rem;
|
||
font-size: 0.58rem;
|
||
letter-spacing: 0.12em;
|
||
color: rgba(122, 248, 255, 0.5);
|
||
max-width: 70vw;
|
||
}
|
||
/* พรีวิวใน iframe เอดิเตอร์: แสดงค่าซูม (×) ใต้บรรทัดคำอธิบายใต้เวลา — เช่น Last Light mno9kb07 */
|
||
.play-cyber-embed-zoom-hint {
|
||
margin-top: 0.12rem;
|
||
font-size: 0.62rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.06em;
|
||
color: rgba(160, 255, 220, 0.72);
|
||
text-shadow: 0 0 10px rgba(0, 255, 180, 0.35);
|
||
line-height: 1.2;
|
||
}
|
||
#play-cyber-embed-zoom-hint.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--gauntlet-crown-strip .play-cyber-embed-zoom-hint {
|
||
text-align: left;
|
||
max-width: min(100%, 320px);
|
||
}
|
||
/* Last Light mno9kb07: ซ่อนกล่องเวลา + ตัวเลข TIME + ซูม embed (ไม่ใช้เวลาในโหมดนี้) */
|
||
#play-cyber-hud.play-cyber-hud--last-light-no-time .play-cyber-time-block {
|
||
display: none !important;
|
||
}
|
||
.play-cyber-self {
|
||
position: absolute;
|
||
top: max(52px, calc(env(safe-area-inset-top) + 38px));
|
||
right: max(10px, env(safe-area-inset-right));
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 0.35rem;
|
||
}
|
||
/* โหมดทั่วไป — clip โปร่ง; mission mock ใช้ viewport แบบ qb-room-profile */
|
||
.play-cyber-portrait-clip {
|
||
display: contents;
|
||
}
|
||
.play-cyber-profile-wrap {
|
||
display: block;
|
||
flex-shrink: 0;
|
||
pointer-events: none;
|
||
}
|
||
.play-cyber-profile-frame {
|
||
position: relative;
|
||
width: clamp(72px, 12vmin, 96px);
|
||
height: clamp(71px, 11.8vmin, 95px);
|
||
overflow: hidden;
|
||
background: url('/Game/img/btn-profile-bg.png') center/100% 100% no-repeat;
|
||
border: none;
|
||
box-shadow: none;
|
||
}
|
||
.play-cyber-profile-frame .play-cyber-portrait-clip {
|
||
display: block;
|
||
position: absolute;
|
||
left: 14%;
|
||
top: 6%;
|
||
width: 78%;
|
||
height: 75%;
|
||
overflow: hidden;
|
||
border-radius: 12px;
|
||
}
|
||
.play-cyber-profile-frame .play-cyber-portrait-img {
|
||
position: absolute;
|
||
inset: 0;
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
object-fit: contain;
|
||
object-position: center center;
|
||
transform: none;
|
||
transform-origin: center center;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
pointer-events: none;
|
||
background: transparent;
|
||
}
|
||
.play-cyber-portrait-img:not(.qb-room-profile-avatar) {
|
||
display: block;
|
||
width: 72px;
|
||
height: 72px;
|
||
object-fit: contain;
|
||
image-rendering: pixelated;
|
||
background: rgba(0, 8, 16, 0.9);
|
||
}
|
||
.play-cyber-mic-img {
|
||
display: none;
|
||
pointer-events: none;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
|
||
}
|
||
.play-cyber-self-status {
|
||
font-size: 0.58rem;
|
||
letter-spacing: 0.14em;
|
||
color: #5cf0ff;
|
||
text-shadow: 0 0 8px rgba(92, 240, 255, 0.4);
|
||
max-width: 100px;
|
||
text-align: center;
|
||
line-height: 1.3;
|
||
}
|
||
.play-cyber-hint {
|
||
position: absolute;
|
||
top: max(200px, calc(env(safe-area-inset-top) + 168px));
|
||
left: max(10px, env(safe-area-inset-left));
|
||
width: min(280px, 48vw);
|
||
font-size: 0.62rem;
|
||
line-height: 1.45;
|
||
color: rgba(180, 230, 255, 0.72);
|
||
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
|
||
}
|
||
.play-cyber-preview-line {
|
||
position: absolute;
|
||
bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px));
|
||
left: max(10px, env(safe-area-inset-left));
|
||
right: max(56px, env(safe-area-inset-right));
|
||
font-size: 0.6rem;
|
||
letter-spacing: 0.06em;
|
||
color: rgba(255, 200, 120, 0.85);
|
||
text-shadow: 0 0 10px rgba(255, 180, 80, 0.35);
|
||
}
|
||
.play-cyber-preview-line.is-hidden { display: none !important; }
|
||
.play-cyber-corruption {
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: clamp(56px, 14vh, 100px);
|
||
background: linear-gradient(0deg, rgba(120, 0, 20, 0.55), rgba(180, 20, 40, 0.22) 40%, transparent);
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
}
|
||
.play-cyber-corruption-scanlines {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: repeating-linear-gradient(
|
||
0deg,
|
||
transparent,
|
||
transparent 2px,
|
||
rgba(0, 0, 0, 0.12) 2px,
|
||
rgba(0, 0, 0, 0.12) 3px
|
||
);
|
||
opacity: 0.85;
|
||
animation: play-cyber-scan 6s linear infinite;
|
||
}
|
||
@keyframes play-cyber-scan {
|
||
from { transform: translateY(0); }
|
||
to { transform: translateY(6px); }
|
||
}
|
||
.play-cyber-corruption-text {
|
||
position: absolute;
|
||
bottom: 0.45rem;
|
||
left: 0.75rem;
|
||
right: 0.75rem;
|
||
font-size: 0.58rem;
|
||
letter-spacing: 0.1em;
|
||
color: rgba(255, 160, 170, 0.9);
|
||
text-shadow: 0 0 12px rgba(255, 80, 100, 0.5);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
animation: play-cyber-glitch 4.5s steps(2) infinite;
|
||
}
|
||
@keyframes play-cyber-glitch {
|
||
0%, 100% { opacity: 1; }
|
||
50% { opacity: 0.82; }
|
||
}
|
||
.play-canvas-stack.play-cyber-vignette::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
|
||
border-radius: inherit;
|
||
}
|
||
|
||
/* =========================================================
|
||
mng8a80o เท่านั้น — HUD สไตล์ mockup Minigame-1 "จริงหรือไม่"
|
||
scope: #play-cyber-hud.play-cyber-hud--quiz-tf-mock
|
||
+ #gauntlet-crown-howto-overlay.gch-quiz-tf-mock
|
||
responsive-faithful: สัดส่วนเหมือน mockup บนจอ 16:9 แต่ยังเล่นมือถือได้
|
||
(ไม่กระทบ Stack/Jumper/Space ที่ใช้ --question-mission ร่วมกัน)
|
||
========================================================= */
|
||
/* mock stage — โหมดปกติไม่กระทบ layout (display:contents) */
|
||
.play-cyber-hud-mock-stage {
|
||
display: contents;
|
||
}
|
||
/* ====== fix layout 1920×1080 แล้ว scale ทั้งก้อน (เทียบ scale.js ของ mockup) ======
|
||
HUD ยึดกรอบ #play-canvas-stack (JS) · stage 1920×1080 scale กลางแบบ letterbox */
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock {
|
||
position: fixed;
|
||
inset: auto;
|
||
z-index: 55;
|
||
overflow: visible;
|
||
pointer-events: none;
|
||
box-sizing: border-box;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-hud-mock-stage {
|
||
display: block;
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
transform: translate(-50%, -50%) scale(var(--qtf-scale, 1));
|
||
transform-origin: center center;
|
||
pointer-events: none;
|
||
}
|
||
html.play-mission-mock-hud .play-canvas-stack {
|
||
overflow: visible;
|
||
}
|
||
/* ---- SCORE panel: score-bar.png 156×433 @ (2,16) (เหมือน mockup) ---- */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-hud-mock-stage .play-cyber-scoreboard {
|
||
position: absolute;
|
||
left: 2px;
|
||
top: 16px;
|
||
width: 156px;
|
||
height: 433px;
|
||
aspect-ratio: auto;
|
||
padding: 0;
|
||
background: var(--mmh-score-bar, url('/Game/img/QUESTION/score-bar.png')) no-repeat left top / 156px 433px;
|
||
border: none;
|
||
border-radius: 0;
|
||
box-shadow: none;
|
||
overflow: hidden;
|
||
}
|
||
/* หัว SCORE อยู่ในภาพ score-bar.png แล้ว — ซ่อน title text กันซ้ำ */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-panel-title {
|
||
display: none !important;
|
||
}
|
||
/* list @ (16,60) width136 — rows แบ่งพื้นที่เท่ากัน (5 คน ≈ 70px ตาม mockup, 6 คนหดพอดี ไม่ล้น) */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-score-list {
|
||
position: absolute;
|
||
left: 16px;
|
||
top: 60px;
|
||
width: 136px;
|
||
height: 357px;
|
||
max-height: none;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-start;
|
||
gap: 5px;
|
||
overflow: hidden;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-score-row--qm-mock {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
padding: 0;
|
||
border-bottom: none;
|
||
flex: 1 1 0;
|
||
min-height: 0;
|
||
max-height: 70px;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
height: 100%;
|
||
}
|
||
/* avatar 70×70 — กลางกรอบ score-avartar ทึบ → หน้าต้องอยู่ z3 ทับกรอบ z2 (ขอบ cyan โผล่รอบนอก inset 4px) */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-av-wrap {
|
||
position: relative;
|
||
display: block;
|
||
width: 70px;
|
||
height: 70px;
|
||
min-width: 70px;
|
||
min-height: 70px;
|
||
flex: 0 0 70px;
|
||
border: none;
|
||
border-radius: 0;
|
||
overflow: visible;
|
||
background: transparent;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-av-wrap::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
background: var(--mmh-score-avatar, url('/Game/img/QUESTION/score-avartar.png')) no-repeat center / contain;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-av-clip {
|
||
position: absolute;
|
||
inset: 4px;
|
||
z-index: 3;
|
||
overflow: hidden;
|
||
border-radius: 6px;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-score-row--qm-mock .play-cyber-score-av--qm,
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock.play-cyber-hud--question-mission .play-cyber-score-row--qm-mock .play-cyber-score-av--qm {
|
||
position: absolute;
|
||
inset: 0;
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
border: none;
|
||
border-radius: 6px;
|
||
object-fit: cover;
|
||
object-position: center 30%;
|
||
transform: scale(0.86) translateY(-5px) !important;
|
||
transform-origin: center center;
|
||
background: transparent;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
/* meta: ชื่อบน / คะแนนล่าง (ตาม mockup .meta) */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-meta {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: 1px;
|
||
min-width: 0;
|
||
flex: 1 1 auto;
|
||
line-height: 1.05;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-name {
|
||
font-family: 'NotoSansThai', 'Kanit', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 11px;
|
||
letter-spacing: 0.2px;
|
||
text-transform: uppercase;
|
||
color: #e8f4ff;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
max-width: 100%;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-qm-score {
|
||
font-family: 'NotoSansThai', 'Orbitron', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 22px;
|
||
line-height: 1;
|
||
color: #ffffff;
|
||
text-align: left;
|
||
min-width: 0;
|
||
text-shadow: 0 0 8px rgba(120, 220, 255, 0.6);
|
||
}
|
||
|
||
/* ---- TIME @ center top:23 — time.png 131×71 + เลข 42px (mockup .mg-time) ---- */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-center-stack {
|
||
top: 23px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
gap: 0;
|
||
max-width: none;
|
||
}
|
||
/* MG5 jumper: design วาง TIME ชิดซ้ายบน (mockup 03 'TIME:25') ไม่ใช่กลาง */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock[data-mission-mock-skin="jumper"] .play-cyber-center-stack {
|
||
left: 40px;
|
||
top: 23px;
|
||
transform: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-time-head--qm-plaque {
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 10px;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-time-head--qm-plaque .play-cyber-time-plaque-img {
|
||
height: 71px;
|
||
width: auto;
|
||
max-width: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-time-val {
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 42px;
|
||
height: 71px;
|
||
line-height: 71px;
|
||
letter-spacing: 1px;
|
||
color: #e6f6ff;
|
||
text-shadow:
|
||
0 0 10px rgba(120, 220, 255, 0.85),
|
||
0 0 22px rgba(80, 180, 240, 0.55);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-time-sub {
|
||
display: none !important;
|
||
}
|
||
|
||
/* ---- Host: mg-host @ มุมขวาบน (Avartar.png ทับหน้า + ช่อง 104×104) ---- */
|
||
.play-cyber-profile-frame-overlay {
|
||
display: none;
|
||
pointer-events: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-self {
|
||
position: absolute;
|
||
left: 1729px;
|
||
top: 21px;
|
||
right: auto;
|
||
width: 201px;
|
||
height: auto;
|
||
display: block;
|
||
gap: 0;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-profile-wrap {
|
||
display: block;
|
||
position: relative;
|
||
width: 201px;
|
||
height: 201px;
|
||
flex-shrink: 0;
|
||
pointer-events: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-profile-frame {
|
||
width: 201px;
|
||
height: 201px;
|
||
min-width: 201px;
|
||
min-height: 201px;
|
||
background: transparent;
|
||
overflow: visible;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-portrait-clip {
|
||
display: block;
|
||
position: absolute;
|
||
left: 49px;
|
||
top: 49px;
|
||
width: 104px;
|
||
height: 104px;
|
||
overflow: hidden;
|
||
border-radius: 8px;
|
||
/* avatar ต้องอยู่บนกรอบ Avartar.png (กรอบมีพื้นกลางทึบ ทับหน้า avatar = "ถูกบัง") — เหมือน MG3 ที่หน้าอยู่บนสุด */
|
||
z-index: 3;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-profile-frame .play-cyber-portrait-img,
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock.play-cyber-hud--question-mission .play-cyber-profile-frame .play-cyber-portrait-img {
|
||
position: absolute;
|
||
inset: 0;
|
||
left: 0;
|
||
top: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
object-fit: cover;
|
||
object-position: center 40%;
|
||
transform: scale(0.92) translateY(-3px) !important;
|
||
transform-origin: center center;
|
||
border-radius: 8px;
|
||
background: transparent;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-profile-frame-overlay {
|
||
display: block;
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: 2;
|
||
object-fit: contain;
|
||
pointer-events: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-self-status,
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-op-widgets {
|
||
display: none !important;
|
||
}
|
||
/* Space Shooter (MG6): life ย้ายไป overlay #mg6-life-hud แล้ว — แผง self-status คงซ่อน (ตาม rule quiz-tf-mock) */
|
||
/* mic 121px @ (1796,205) — เทียบ mg-mic */
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock .play-cyber-mic-img {
|
||
display: block;
|
||
position: absolute;
|
||
left: 67px;
|
||
top: 184px;
|
||
width: 121px;
|
||
height: 121px;
|
||
}
|
||
|
||
/* ====== Popup HOW TO PLAY (mng8a80o) — fix stage 1920×1080 แล้ว scale ทั้งก้อนตาม mockup 01-howto ======
|
||
scope: #gauntlet-crown-howto-overlay.gch-quiz-tf-mock · --gch-tf-scale = min(W/1920,H/1080) */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-shell {
|
||
width: 1920px !important;
|
||
height: 1080px !important;
|
||
min-width: 1920px !important;
|
||
max-width: none !important;
|
||
min-height: 1080px !important;
|
||
max-height: none !important;
|
||
flex: none !important;
|
||
padding: 0 !important;
|
||
border-radius: 0;
|
||
display: block;
|
||
transform: scale(var(--gch-tf-scale, 0.62));
|
||
transform-origin: center center;
|
||
}
|
||
/* popup-Howto.png 1451×851 → mockup โชว์ 1500×880 @ (50%, 50px) */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock:not(.gch-mg2-mock) .gch-bg {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50px;
|
||
transform: translateX(-50%);
|
||
width: 1500px;
|
||
height: 880px;
|
||
max-height: none;
|
||
object-fit: fill;
|
||
filter: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
transform: none;
|
||
padding: 0;
|
||
}
|
||
/* footer คลุมเต็ม stage — วาง status/ปุ่ม ด้วยพิกัด mockup */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .gch-art-footer {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
right: auto;
|
||
bottom: auto;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
transform: none;
|
||
display: block;
|
||
gap: 0;
|
||
}
|
||
/* status "Ready Status : x/y" @ (50%, 808px) สีชมพู 22px (mockup .howto-status) */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .gch-status {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 808px;
|
||
transform: none;
|
||
width: -moz-fit-content;
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
margin: 0 auto;
|
||
text-align: center;
|
||
white-space: nowrap;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 22px;
|
||
letter-spacing: 0.5px;
|
||
color: #f067e8;
|
||
text-shadow:
|
||
0 0 10px rgba(240, 103, 232, 0.6),
|
||
0 0 22px rgba(237, 86, 224, 0.35);
|
||
}
|
||
/* ปุ่ม READY/START — btn 299×120 (height 120, aspect 2.49) center @ (957, 885) */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 825px;
|
||
transform: none;
|
||
width: 299px;
|
||
height: 120px;
|
||
margin: 0 auto;
|
||
background-image: url('/Game/img/QUESTION/btn-ready.png');
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
background-size: contain;
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65));
|
||
font-size: 0;
|
||
color: transparent;
|
||
text-indent: -9999px;
|
||
overflow: hidden;
|
||
border: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready.is-start-phase {
|
||
background-image: url('/Game/img/QUESTION/btn-start.png');
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready:hover {
|
||
transform: translateY(-3px);
|
||
filter: drop-shadow(0 0 28px rgba(120, 220, 255, 0.95));
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready:active {
|
||
transform: translateY(2px);
|
||
}
|
||
/* MG1 quiz — ปุ่ม READY 2 สถานะ:
|
||
ยังไม่กด = cyan เต็ม (รูป2 btn-ready.png · override greyscale global) · กดแล้ว = เขียว+✓ (รูป3 btn-ready-on.png) */
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready:not(.is-me-ready):not(.is-start-phase),
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready:not(.is-me-ready):not(.is-start-phase) img {
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65)) !important; /* cyan เต็ม ไม่ย้อมเทา */
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready.is-me-ready:not(.is-start-phase) {
|
||
background-image: url('/Game/img/QUESTION/btn-ready-active.png') !important; /* รูปเขียว READY ✓ (มี check ในรูปแล้ว) */
|
||
filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.7)) !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-quiz-tf-mock .gch-inner.gch-inner--art .btn-gch-ready.is-me-ready:not(.is-start-phase):hover {
|
||
transform: translateY(-3px);
|
||
filter: drop-shadow(0 0 26px rgba(74, 222, 128, 0.95)) !important;
|
||
}
|
||
/* Minigame-2 mno9kb07 — HOW TO PLAY บน canvas (แทน mg-bg ใน mock 01-howto) */
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock {
|
||
display: block;
|
||
align-items: stretch;
|
||
justify-content: stretch;
|
||
padding: 0;
|
||
pointer-events: none;
|
||
/* ตรง design 01-howto: HUD (score bar/host/mic = z8) อยู่ "หลัง" overlay(z9)+popup(z10)
|
||
base .play-cyber-hud คือ z55 → ต้องยก overlay เหนือ HUD ไม่งั้นแถบคะแนน/โปรไฟล์ลอยทับหัว HOW TO PLAY */
|
||
z-index: 56;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock:not(.is-hidden) ~ #play-cyber-hud,
|
||
html.play-mg2-howto-live #play-cyber-hud {
|
||
z-index: 55;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock > .gch-backdrop.gch-legacy-backdrop {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-legacy-only {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-mg2-mock) .gch-mg2-only {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-shell {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 1920px !important;
|
||
height: 1080px !important;
|
||
min-width: 1920px !important;
|
||
min-height: 1080px !important;
|
||
max-width: none !important;
|
||
max-height: none !important;
|
||
margin: 0;
|
||
padding: 0;
|
||
transform: translate(-50%, -50%) scale(var(--gch-tf-scale, 1));
|
||
transform-origin: center center;
|
||
pointer-events: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .layer {
|
||
position: absolute;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .mg-overlay {
|
||
left: 0;
|
||
top: 0;
|
||
width: 1920px;
|
||
height: 1080px;
|
||
background: rgba(4, 6, 18, 0.45);
|
||
z-index: 1;
|
||
pointer-events: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-popup {
|
||
left: 50%;
|
||
top: 50px;
|
||
transform: translateX(-50%);
|
||
width: 1500px;
|
||
height: 880px;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-popup img {
|
||
width: 100%;
|
||
height: 100%;
|
||
max-height: none; /* ยกเลิก cap min(88vh,600px) จาก .gch-bg — ไม่งั้นรูป popup ถูกบีบเหลือ 600/880 (สเกลแล้ว ~400px) ป๊อปอัพเตี้ย READY หลุดกรอบ */
|
||
object-fit: fill;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-status {
|
||
left: 50%;
|
||
top: 808px;
|
||
transform: translateX(-50%);
|
||
z-index: 3;
|
||
pointer-events: none;
|
||
font-family: "NotoSansThai", sans-serif;
|
||
font-weight: 700;
|
||
font-size: 22px;
|
||
color: #f067e8;
|
||
text-shadow:
|
||
0 0 10px rgba(240, 103, 232, 0.6),
|
||
0 0 22px rgba(237, 86, 224, 0.35);
|
||
letter-spacing: 0.5px;
|
||
text-align: center;
|
||
white-space: nowrap;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-status .gch-status {
|
||
position: static;
|
||
transform: none;
|
||
margin: 0;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-status .gch-status.is-hidden {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready {
|
||
left: 957px;
|
||
top: 885px;
|
||
transform: translate(-50%, -50%);
|
||
z-index: 4;
|
||
pointer-events: auto;
|
||
cursor: pointer;
|
||
border: none;
|
||
padding: 0;
|
||
background: transparent !important;
|
||
background-image: none !important;
|
||
font-size: 0;
|
||
color: transparent;
|
||
width: auto;
|
||
height: 120px;
|
||
filter: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready img {
|
||
height: 100%;
|
||
width: auto;
|
||
display: block;
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65));
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready:hover {
|
||
transform: translate(-50%, calc(-50% - 3px));
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready:hover img {
|
||
filter: drop-shadow(0 0 28px rgba(120, 220, 255, 0.95));
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready:active {
|
||
transform: translate(-50%, calc(-50% + 2px));
|
||
}
|
||
/* MG2 ปุ่ม img ให้เหมือน MG1: ยังไม่กด=cyan เต็ม (override greyscale global !important), กดแล้ว=เขียว
|
||
(img.src สลับเป็น btn-ready-active.png แล้วใน applyGauntletCrownReadyButtonPlay) */
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready:not(.is-me-ready):not(.is-start-phase) img {
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65)) !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay.gch-mg2-mock .gch-mg2-stage .howto-btn.btn-gch-ready.is-me-ready:not(.is-start-phase) img {
|
||
filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.7)) !important;
|
||
}
|
||
|
||
/* ====== Minigame-2 mno9kb07 — HUD แนวนอน (mg2-score-bar) fix 1920×1080 ====== */
|
||
/* selector ต้องชนะ .play-cyber-hud--quiz-tf-mock ทั่วไป (score-bar แนวตั้ง 156×433 + overflow:hidden) */
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) {
|
||
display: block;
|
||
padding: 0 !important;
|
||
grid-template: none !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]).play-cyber-hud--gauntlet-crown-strip {
|
||
display: block !important;
|
||
grid-template: none !important;
|
||
padding: 0 !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-self {
|
||
position: absolute !important;
|
||
left: 1729px !important;
|
||
top: 21px !important;
|
||
right: auto !important;
|
||
width: 201px !important;
|
||
display: block !important;
|
||
grid-area: unset !important;
|
||
justify-self: unset !important;
|
||
align-self: unset !important;
|
||
margin: 0 !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-profile-frame {
|
||
background: none !important;
|
||
background-image: none !important;
|
||
overflow: visible !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-portrait-clip {
|
||
display: block !important;
|
||
position: absolute !important;
|
||
left: 49px !important;
|
||
top: 49px !important;
|
||
width: 104px !important;
|
||
height: 104px !important;
|
||
overflow: hidden !important;
|
||
border-radius: 8px !important;
|
||
background: transparent !important;
|
||
border: none !important;
|
||
z-index: 1 !important;
|
||
pointer-events: none !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-profile-frame .play-cyber-portrait-img {
|
||
position: absolute !important;
|
||
inset: 0 !important;
|
||
width: 100% !important;
|
||
height: 100% !important;
|
||
max-width: 100% !important;
|
||
max-height: 100% !important;
|
||
object-fit: cover !important;
|
||
object-position: center 40% !important;
|
||
transform: scale(0.92) translateY(-3px) !important;
|
||
transform-origin: center center !important;
|
||
border-radius: 8px !important;
|
||
background: transparent !important;
|
||
z-index: 1 !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-profile-frame-overlay {
|
||
display: block !important;
|
||
z-index: 0 !important; /* Avartar.png กรอบ (พื้นกลางทึบ) อยู่ "หลัง" หน้า portrait (clip z1) ไม่งั้นกรอบทับหน้า */
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]).play-cyber-hud--gauntlet-crown-strip {
|
||
display: block;
|
||
grid-template: none;
|
||
padding: 0;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-corruption,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-center-stack,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-hint,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-preview-line {
|
||
display: none !important;
|
||
}
|
||
/* quiz_carry (MG4): แสดง TIME กลางบนตามดีไซน์ Minigame-5 .mg-time (left:50% top:23) — ไม่ใช้ TIME ซ้ายแบบ MG2; วาง override หลัง rule ซ่อน center-stack ด้านบน (specificity เท่ากัน → มาทีหลังชนะ) */
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock[data-mission-mock-skin="quiz_carry"] .play-cyber-center-stack {
|
||
display: flex !important;
|
||
position: absolute !important;
|
||
left: 50% !important;
|
||
top: 23px !important;
|
||
transform: translateX(-50%) !important;
|
||
width: auto !important;
|
||
max-width: none !important;
|
||
min-width: 0 !important;
|
||
padding: 0 !important;
|
||
align-items: center !important;
|
||
justify-content: center !important;
|
||
grid-area: unset !important;
|
||
grid-column: unset !important;
|
||
grid-row: unset !important;
|
||
justify-self: unset !important;
|
||
align-self: unset !important;
|
||
z-index: 8 !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock[data-mission-mock-skin="quiz_carry"] .play-cyber-time-block {
|
||
text-align: center !important;
|
||
min-width: 0 !important;
|
||
max-width: none !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock[data-mission-mock-skin="quiz_carry"] .play-cyber-time-head {
|
||
align-items: center !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-hud-mock-stage .play-cyber-scoreboard,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-scoreboard.play-cyber-scoreboard--mg2-mock {
|
||
position: absolute !important;
|
||
left: 50px !important;
|
||
top: 30px !important;
|
||
width: auto !important;
|
||
height: auto !important;
|
||
max-height: none !important;
|
||
aspect-ratio: auto !important;
|
||
display: flex !important;
|
||
flex-direction: row !important;
|
||
align-items: flex-start !important;
|
||
gap: 0 !important;
|
||
padding: 0 !important;
|
||
background: transparent !important;
|
||
border: none !important;
|
||
box-shadow: none !important;
|
||
overflow: visible !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) #play-cyber-crown-score-head,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-crown-score-head {
|
||
display: block !important;
|
||
flex: 0 0 144px !important;
|
||
width: 144px !important;
|
||
height: 71px !important;
|
||
min-height: 71px !important;
|
||
margin: 0 1px 0 0 !important;
|
||
padding: 0 !important;
|
||
line-height: 0;
|
||
overflow: visible !important;
|
||
border: none !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) #play-cyber-crown-score-head.is-hidden {
|
||
display: block !important;
|
||
height: 71px !important;
|
||
min-height: 71px !important;
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-crown-score-head img,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .mg2-score-label {
|
||
display: block !important;
|
||
width: 144px !important;
|
||
height: 71px !important;
|
||
max-width: none !important;
|
||
object-fit: contain;
|
||
transform: translateY(11px);
|
||
}
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-hud-mock-stage .play-cyber-score-list,
|
||
html #play-cyber-hud.play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-score-list.play-cyber-score-list--mg2-mock {
|
||
position: static !important;
|
||
left: auto !important;
|
||
top: auto !important;
|
||
width: auto !important;
|
||
height: auto !important;
|
||
max-height: none !important;
|
||
display: flex !important;
|
||
flex-direction: row !important;
|
||
align-items: flex-start !important;
|
||
gap: 85px !important;
|
||
padding: 0 !important;
|
||
overflow: visible !important;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-score-row--mg2-mock {
|
||
display: block;
|
||
width: 70px;
|
||
flex: 0 0 70px;
|
||
padding: 0;
|
||
min-height: 0;
|
||
max-height: none;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-player {
|
||
width: 70px;
|
||
text-align: center;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-name {
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 11px;
|
||
color: #e8f4ff;
|
||
letter-spacing: 0.2px;
|
||
text-transform: uppercase;
|
||
white-space: nowrap;
|
||
margin-bottom: 4px;
|
||
line-height: 1;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-av-wrap {
|
||
position: relative;
|
||
width: 70px;
|
||
height: 70px;
|
||
margin: 0 auto 4px;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-av-wrap::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 1; /* frame score-avartar.png = "พื้นหลัง" (กล่องดำ+ขอบ cyan ทึบ) → ต้องอยู่หลัง avatar ไม่งั้นบัง avatar มืด */
|
||
pointer-events: none;
|
||
background: var(--mmh-score-avatar, url('/Game/img/gauntlet-assets/score-avartar.png')) no-repeat center / contain;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-av-clip {
|
||
position: absolute;
|
||
inset: 6px; /* นั่งในขอบ cyan ของ frame (avatar บนสุด z2) */
|
||
z-index: 2;
|
||
overflow: hidden;
|
||
border-radius: 6px;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-score-av--mg2 {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: auto;
|
||
object-fit: contain;
|
||
object-position: center center;
|
||
border-radius: 3px;
|
||
border: none;
|
||
background: transparent;
|
||
transform: scale(0.73) translateY(-3px);
|
||
transform-origin: center center;
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-mg2-score {
|
||
display: block;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 22px;
|
||
color: #ffffff;
|
||
line-height: 1;
|
||
text-shadow: 0 0 8px rgba(120, 220, 255, 0.6);
|
||
}
|
||
#play-cyber-hud.play-cyber-hud--quiz-tf-mock:is([data-mission-mock-skin="gauntlet_crown"], [data-mission-mock-skin="quiz_carry"]) .play-cyber-score-row--mg2-mock.is-out .play-cyber-mg2-score {
|
||
color: #ff8a8a;
|
||
text-shadow: 0 0 8px rgba(255, 90, 90, 0.55);
|
||
}
|
||
/* ปุ่ม jump ทุกเกม (รวม MG2/MG5/MG7 mock-hud) ใช้ตำแหน่ง/ขนาดมาตรฐานแบบ MG3 (มุมขวาล่างวงกลม จาก base
|
||
#gauntlet-crown-jump-btn) — ไม่ override position/ขนาดอีก · คง glow ธีมชมพูไว้เฉยๆ */
|
||
html.play-mg2-mock-hud #gauntlet-crown-jump-btn.mg2-jump:not(.is-hidden) {
|
||
z-index: 59;
|
||
filter: drop-shadow(0 0 18px rgba(255, 110, 220, 0.45));
|
||
}
|
||
html.play-mg2-mock-hud #gauntlet-crown-jump-btn.mg2-jump:not(.is-hidden):active {
|
||
transform: translateY(1px);
|
||
}
|
||
html.play-mg2-mock-hud #gauntlet-crown-jump-btn.mg2-jump:not(.is-hidden) img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
}
|
||
|
||
/* ====== หน้าสรุปผลภารกิจ (mng8a80o) — fix popup 1451×851 แล้ว scale ทั้งก้อนตาม mockup 06-summary ======
|
||
scope: #gauntlet-crown-mission-overlay.gcm-quiz-tf-mock
|
||
พิกัด px = sm-content ของ mockup (อิง popup origin) · --gcm-tf-scale ตั้งจาก JS = min(W/1920,H/1080) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-shell {
|
||
width: 1451px;
|
||
height: 851px;
|
||
max-width: none;
|
||
max-height: none;
|
||
padding: 0;
|
||
border-radius: 0;
|
||
transform: scale(var(--gcm-tf-scale, 0.62));
|
||
transform-origin: center center;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bg {
|
||
width: 1451px;
|
||
height: 851px;
|
||
max-height: none;
|
||
object-fit: fill;
|
||
filter: none;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-inner {
|
||
left: 0;
|
||
top: 0;
|
||
transform: none;
|
||
width: 1451px;
|
||
height: 851px;
|
||
max-height: none;
|
||
overflow: hidden;
|
||
padding: 0;
|
||
border-radius: 0;
|
||
}
|
||
/* heading "สรุปผลภารกิจ" อยู่ในภาพ popup-result.png แล้ว (play.js ใส่ sr-only) — กันเผื่อ */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-header-tab {
|
||
display: none !important;
|
||
}
|
||
/* ranks: รองรับ 5–6 ช่อง ×137 gap30 — กว้าง 980 (6 ช่อง = 6×137+5×30 = 972) จัดกึ่งกลางพาเนล (center 725.5)
|
||
เดิม width805 พอดีแค่ 5 ช่อง → คนที่ 6 wrap ลงแถว 2 (ตำแหน่งเพี้ยน) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-rank-row {
|
||
position: absolute;
|
||
left: 235px;
|
||
top: 168px;
|
||
width: 980px;
|
||
margin: 0;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
gap: 30px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-cell {
|
||
flex: 0 0 137px;
|
||
width: 137px;
|
||
min-width: 137px;
|
||
text-align: center;
|
||
position: relative;
|
||
margin: 0;
|
||
padding: 0;
|
||
display: block;
|
||
}
|
||
/* badge อันดับ (result-1st/2nd/3rd / txt-1/2) — .pos 41×21 */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-rank-tag {
|
||
color: transparent;
|
||
margin: 0 auto 6px;
|
||
min-height: 0;
|
||
height: 21px;
|
||
display: block;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-rank-tag img {
|
||
display: block;
|
||
width: 41px;
|
||
height: 21px;
|
||
margin: 0 auto;
|
||
object-fit: contain;
|
||
}
|
||
/* กรอบ avatar 137×137 — กลาง player-frame ทึบ → หน้า z3 ทับกรอบ z2 */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-frame {
|
||
position: relative;
|
||
width: 137px;
|
||
height: 137px;
|
||
margin: 0 auto 4px;
|
||
border: none;
|
||
box-shadow: none;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
overflow: visible;
|
||
flex: none;
|
||
aspect-ratio: auto;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-av-clip {
|
||
position: absolute;
|
||
left: 10px;
|
||
top: 6px;
|
||
right: 10px;
|
||
bottom: 16px;
|
||
z-index: 3;
|
||
overflow: hidden;
|
||
border-radius: 14%;
|
||
background: transparent;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-frame img.gcm-av {
|
||
position: absolute;
|
||
inset: 0;
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
object-position: center 32%;
|
||
transform: scale(0.88) translateY(-4px);
|
||
transform-origin: center center;
|
||
border-radius: 0;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-frame img.gcm-frame-img {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: 2;
|
||
pointer-events: none;
|
||
object-fit: contain;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-cell--out .gcm-av-clip,
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-cell--out .gcm-frame img.gcm-av,
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-cell--out .gcm-frame img.gcm-frame-img {
|
||
filter: opacity(0.5);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-frame img.gcm-stamp {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translate(-50%, -50%) rotate(-8deg);
|
||
width: 114px;
|
||
height: auto;
|
||
z-index: 5;
|
||
pointer-events: none;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-nick {
|
||
display: block;
|
||
flex: none;
|
||
min-height: 0;
|
||
width: 100%;
|
||
font-family: 'NotoSansThai', 'Kanit', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 15px;
|
||
color: #fff;
|
||
letter-spacing: 0.3px;
|
||
line-height: 1.2;
|
||
height: 19px;
|
||
margin: 0 0 2px;
|
||
padding: 0 2px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-sc {
|
||
display: block;
|
||
flex: none;
|
||
width: 100%;
|
||
margin: 0;
|
||
padding: 0;
|
||
text-align: center;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 26px;
|
||
color: #fff;
|
||
line-height: 1;
|
||
font-variant-numeric: normal;
|
||
text-shadow: 0 0 10px rgba(120, 220, 255, 0.4);
|
||
}
|
||
/* คะแนนรวม @ top394 กว้าง 938 กลาง + เส้น Line1 บน/ล่าง (mockup .sm-total + .sm-line) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-total {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 394px;
|
||
width: 938px;
|
||
transform: translateX(-50%);
|
||
margin: 0;
|
||
padding: 6px 0;
|
||
text-align: center;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 24px;
|
||
color: #ffd047;
|
||
letter-spacing: 0.3px;
|
||
line-height: 1.2;
|
||
border-width: 3px 0;
|
||
border-style: solid;
|
||
border-image: url('/Game/img/QUESTION/popup-result-Line1.png') 3 stretch;
|
||
text-shadow: 0 0 10px rgba(255, 200, 80, 0.45), 0 2px 4px rgba(0, 0, 0, 0.6);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-total-nums {
|
||
font-weight: 900;
|
||
font-size: 40px;
|
||
color: #fff;
|
||
margin-left: 6px;
|
||
text-shadow: 0 0 14px rgba(120, 220, 255, 0.55);
|
||
}
|
||
/* โซนล่าง @ (72,460) สูง 270: เกรด | เส้น Line2 | โบนัส (mockup .sm-bottom) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bottom {
|
||
position: absolute;
|
||
left: 72px;
|
||
right: 72px;
|
||
top: 460px;
|
||
height: 270px;
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
column-gap: 0;
|
||
align-items: start;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bottom > div:first-child {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
margin-top: 41px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bottom > div:last-child {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: flex-start;
|
||
padding-left: 40px;
|
||
padding-top: 42px;
|
||
border-left: 4px solid;
|
||
border-image: url('/Game/img/QUESTION/popup-result-Line2.png') 4 stretch;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bottom > div:last-child .gcm-h {
|
||
width: 100%;
|
||
text-align: left;
|
||
padding-left: 23px;
|
||
margin-bottom: 8px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-h {
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 40px;
|
||
color: #fff;
|
||
margin: 0 0 12px;
|
||
line-height: 1.2;
|
||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-grade {
|
||
color: #fff !important;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 900;
|
||
font-size: 96px;
|
||
line-height: 0.95;
|
||
text-shadow:
|
||
0 0 16px rgba(120, 220, 255, 0.65),
|
||
0 0 32px rgba(80, 180, 240, 0.4) !important;
|
||
}
|
||
/* โบนัส: mission-complete-select.png (271×90) แทน check+ข้อความ + ซ่อน plaque (ตรง mockup) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus {
|
||
display: block;
|
||
width: 271px;
|
||
padding-left: 23px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus .gcm-bonus-okrow {
|
||
display: block !important;
|
||
gap: 0 !important;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus .gcm-bonus-okrow span {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus img {
|
||
width: 271px !important;
|
||
height: 90px !important;
|
||
max-width: none;
|
||
max-height: none;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 0 10px rgba(91, 255, 141, 0.45));
|
||
}
|
||
/* การ์ดพิเศษจาก trycss/10-Game-1-result (mockup .bail-card) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus img.bail-card,
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus img.gcm-special-card-img {
|
||
width: auto !important;
|
||
height: 258px !important;
|
||
max-width: 152px !important;
|
||
max-height: none !important;
|
||
filter: drop-shadow(0 0 14px rgba(120, 220, 255, 0.55));
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-bonus .gcm-special-card-preset {
|
||
display: block;
|
||
margin-top: 8px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .gcm-plaque {
|
||
display: none !important;
|
||
}
|
||
/* ปุ่มรับหลักฐาน @ (550,704) 351×141 (mockup .sm-btn-done) */
|
||
#gauntlet-crown-mission-overlay.gcm-quiz-tf-mock .btn-gcm-done {
|
||
position: absolute;
|
||
left: 550px;
|
||
top: 704px;
|
||
width: 351px;
|
||
height: 141px;
|
||
margin: 0;
|
||
background-image: url('/Game/img/QUESTION/btn-done.png');
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
background-size: contain;
|
||
}
|
||
|
||
/* Minigame-2 mno9kb07 — สรุปผล 07-summary (gauntlet-assets + layout sm-*) */
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock .gcm-backdrop {
|
||
background: rgba(4, 6, 18, 0.45);
|
||
backdrop-filter: none;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-total {
|
||
border-image: url('/Game/img/gauntlet-assets/popup-result-Line1.png') 3 stretch;
|
||
}
|
||
/* MG2 summary — sm-bottom 3 คอลัมน์: เกรด | เส้น Line2 | โบนัส */
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bottom {
|
||
grid-template-columns: 1fr 4px 1fr !important;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-col-grade {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
margin: 41px 14px 0 173px;
|
||
height: 174px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-vrule {
|
||
display: flex;
|
||
justify-content: center;
|
||
align-self: stretch;
|
||
height: 270px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-vrule .gcm-line-2 {
|
||
width: 4px;
|
||
height: 270px;
|
||
display: block;
|
||
object-fit: fill;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-col-bonus {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
width: 486px;
|
||
max-width: 100%;
|
||
padding: 0 !important;
|
||
border: none !important;
|
||
border-image: none !important;
|
||
}
|
||
/* MG2: หัวข้อโบนัสอยู่ใน .sm-bonus-left .head แล้ว — ซ่อน .gcm-h ซ้ำใน HTML */
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-col-bonus > .gcm-h {
|
||
display: none !important;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-frame img.gcm-av {
|
||
object-fit: cover;
|
||
object-position: center 32%;
|
||
transform: scale(0.9) translateY(-3px);
|
||
image-rendering: auto;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-sc-bonus {
|
||
font-size: 18px;
|
||
color: #ffd047;
|
||
margin-left: 2px;
|
||
text-shadow: 0 0 8px rgba(255, 200, 80, 0.45);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-col-bonus .gcm-bonus,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock #gcm-bonus {
|
||
display: block;
|
||
width: auto;
|
||
max-width: 486px;
|
||
padding: 0 !important;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: stretch;
|
||
justify-content: center;
|
||
gap: 14px;
|
||
width: auto;
|
||
max-width: 486px;
|
||
margin: 0;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-left,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus-left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
width: 271px;
|
||
height: 272px;
|
||
flex-shrink: 0;
|
||
padding: 42px 0;
|
||
box-sizing: border-box;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-head,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus-left .head {
|
||
width: 100%;
|
||
height: 53px;
|
||
margin: 0;
|
||
padding: 0 23px;
|
||
text-align: left;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: 40px;
|
||
line-height: 1.2;
|
||
color: #fff;
|
||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-complete,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus .complete {
|
||
display: block;
|
||
width: 271px !important;
|
||
height: 90px !important;
|
||
max-width: none !important;
|
||
max-height: none !important;
|
||
flex-shrink: 0;
|
||
object-fit: contain;
|
||
filter: drop-shadow(0 0 10px rgba(91, 255, 141, 0.45));
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-right,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus-right {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-shrink: 0;
|
||
height: 258px;
|
||
min-height: 258px;
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-right .bail-card,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .gcm-bonus-mg2-right .gcm-special-card-img,
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .sm-bonus-right .bail-card {
|
||
display: block;
|
||
width: auto !important;
|
||
height: 258px !important;
|
||
max-width: 152px !important;
|
||
max-height: none !important;
|
||
object-fit: contain;
|
||
object-position: center center;
|
||
filter: drop-shadow(0 0 14px rgba(120, 220, 255, 0.55));
|
||
}
|
||
#gauntlet-crown-mission-overlay.gcm-mg2-mock.gcm-quiz-tf-mock .btn-gcm-done {
|
||
/* .gcm-shell = ตัวพาเนล popup-result (1451×851) ไม่ใช่ stage 1920×1080
|
||
design sm-btn-done อยู่ stage(784,818) แต่ panel อยู่ stage@234,114 → พิกัดในพาเนล = (784-234, 818-114) = (550,704) = กลาง-ล่างพาเนล
|
||
เดิมใส่ 784/818 (พิกัด stage) ตรง ๆ ทำให้ปุ่มหลุดไปขวา-ล่างเลยกรอบ */
|
||
left: 550px !important;
|
||
top: 704px !important;
|
||
width: 351px;
|
||
height: 141px;
|
||
background-image: url('/Game/img/gauntlet-assets/btn-done.png');
|
||
filter: drop-shadow(0 0 14px rgba(120, 220, 255, 0.45));
|
||
}
|
||
|
||
/* Quiz Battle — MCQ โดม (กด E) */
|
||
#quiz-battle-mcq-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10076;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
|
||
box-sizing: border-box;
|
||
}
|
||
#quiz-battle-mcq-overlay.is-hidden { display: none !important; }
|
||
.quiz-battle-mcq-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(6, 8, 20, 0.82);
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
.quiz-battle-mcq-card {
|
||
position: relative;
|
||
width: min(94vw, 640px);
|
||
box-sizing: border-box;
|
||
padding: 40px 34px 30px;
|
||
background: linear-gradient(180deg, rgba(20, 42, 68, 0.98), rgba(12, 24, 44, 0.98));
|
||
border: 2px solid rgba(96, 210, 255, 0.85);
|
||
border-radius: 22px;
|
||
box-shadow: 0 0 34px rgba(64, 200, 255, 0.45), inset 0 0 22px rgba(64, 200, 255, 0.16);
|
||
font-family: 'Noto Sans Thai', 'Prompt', sans-serif;
|
||
}
|
||
.quiz-battle-mcq-title {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: -24px;
|
||
transform: translateX(-50%);
|
||
margin: 0;
|
||
white-space: nowrap;
|
||
background: linear-gradient(180deg, #ff5bd0, #c01e88);
|
||
border: 2px solid rgba(255, 150, 225, 0.9);
|
||
border-radius: 14px;
|
||
padding: 8px 40px;
|
||
font-size: clamp(15px, 1.7vw, 22px);
|
||
font-weight: 800;
|
||
letter-spacing: 0.08em;
|
||
color: #fff;
|
||
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
|
||
box-shadow: 0 0 18px rgba(255, 90, 200, 0.5);
|
||
}
|
||
#quiz-battle-mcq-close {
|
||
position: absolute;
|
||
right: 10px;
|
||
top: 10px;
|
||
width: 42px;
|
||
height: 42px;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 10px;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
#quiz-battle-mcq-close::before,
|
||
#quiz-battle-mcq-close::after {
|
||
content: '';
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 24px;
|
||
height: 4px;
|
||
background: #8fe7ff;
|
||
border-radius: 2px;
|
||
box-shadow: 0 0 8px rgba(96, 210, 255, 0.7);
|
||
}
|
||
#quiz-battle-mcq-close::before { transform: translate(-50%, -50%) rotate(45deg); }
|
||
#quiz-battle-mcq-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
|
||
.quiz-battle-mcq-text {
|
||
margin: 10px 0 18px;
|
||
padding: 14px 18px;
|
||
background: rgba(10, 24, 42, 0.7);
|
||
border: 1px solid rgba(96, 210, 255, 0.35);
|
||
border-radius: 12px;
|
||
font-size: clamp(15px, 1.6vw, 20px);
|
||
line-height: 1.5;
|
||
color: #eaf6ff;
|
||
font-weight: 700;
|
||
text-align: center;
|
||
}
|
||
.quiz-battle-mcq-actions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
.quiz-battle-choice {
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 12px 16px;
|
||
border-radius: 14px;
|
||
border: 2px solid rgba(96, 210, 255, 0.5);
|
||
background: rgba(16, 34, 56, 0.92);
|
||
color: #dff1ff;
|
||
font-size: clamp(13px, 1.4vw, 17px);
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
|
||
}
|
||
.quiz-battle-choice:hover {
|
||
border-color: rgba(96, 210, 255, 0.95);
|
||
box-shadow: 0 0 16px rgba(64, 200, 255, 0.3);
|
||
}
|
||
.quiz-battle-choice .qbc-letter {
|
||
flex: 0 0 auto;
|
||
width: 34px;
|
||
height: 34px;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: rgba(96, 210, 255, 0.2);
|
||
border: 1px solid rgba(96, 210, 255, 0.7);
|
||
font-weight: 800;
|
||
color: #aef0ff;
|
||
}
|
||
.quiz-battle-choice .qbc-text { flex: 1 1 auto; }
|
||
.quiz-battle-choice .qbc-mark { flex: 0 0 auto; width: 28px; height: 28px; display: none; }
|
||
.quiz-battle-choice.is-correct { border-color: #38d98a; background: rgba(28, 84, 58, 0.92); color: #d6ffe7; }
|
||
.quiz-battle-choice.is-correct .qbc-letter { background: rgba(56, 217, 138, 0.3); border-color: #38d98a; color: #d6ffe7; }
|
||
.quiz-battle-choice.is-wrong { border-color: #ff5a6e; background: rgba(86, 28, 38, 0.92); color: #ffd6db; }
|
||
.quiz-battle-choice.is-wrong .qbc-letter { background: rgba(255, 90, 110, 0.3); border-color: #ff5a6e; color: #ffd6db; }
|
||
.quiz-battle-choice.is-correct .qbc-mark,
|
||
.quiz-battle-choice.is-wrong .qbc-mark { display: block; }
|
||
.quiz-battle-choice.is-locked { pointer-events: none; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<!-- Loading overlay แบบ static (อยู่ใน HTML ตั้งแต่แรก) — กันเห็นฉากเก่าแว่บก่อน JS รัน -->
|
||
<style>
|
||
#play-loading-overlay{position:fixed;inset:0;z-index:99990;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:radial-gradient(circle at 50% 42%,#10203c,#060b16 75%);transition:opacity .32s;}
|
||
#play-loading-overlay.is-hidden{opacity:0;pointer-events:none;}
|
||
#play-loading-overlay .plo-spin{width:62px;height:62px;border-radius:50%;border:6px solid rgba(120,190,255,.18);border-top-color:#5fd0ff;animation:ploSpin .85s linear infinite;}
|
||
#play-loading-overlay .plo-text{color:#cfe8ff;font:600 19px system-ui,"Kanit",sans-serif;letter-spacing:.5px;text-shadow:0 2px 10px rgba(0,0,0,.5);}
|
||
@keyframes ploSpin{to{transform:rotate(360deg);}}
|
||
</style>
|
||
<div id="play-loading-overlay"><div class="plo-spin"></div><div class="plo-text">กำลังโหลดเกม…</div></div>
|
||
<div class="game-wrap">
|
||
<div class="game-header">
|
||
<span id="room-id"></span>
|
||
<button id="btn-leave">ออกจากห้อง</button>
|
||
</div>
|
||
<div class="play-canvas-stack" id="play-canvas-stack">
|
||
<div id="play-canvas-stage" class="play-canvas-stage">
|
||
<canvas id="game-canvas"></canvas>
|
||
<!-- Minigame-2: ชื่อ+คะแนนใต้ตัวละคร + เลข -10 → DOM overlay (sync world→screen) แทนวาดบน canvas เพื่อให้ตรง mock -->
|
||
<div id="gauntlet-name-overlay" aria-hidden="true"></div>
|
||
</div>
|
||
<button type="button" id="quiz-carry-grab-btn" class="is-hidden" aria-label="หยิบหรือส่งคำตอบ (Grab)" title="หยิบ / ส่งคำตอบ — เหมือนกด F">
|
||
<img src="/Game/img/quiz-carry/btn-grab.png" alt="" width="256" height="256" decoding="async" / loading="lazy">
|
||
</button>
|
||
<button type="button" id="gauntlet-crown-jump-btn" class="is-hidden" aria-label="กระโดด (Jump)" title="กระโดด — เหมือน Space / W / ↑" aria-hidden="true">
|
||
<img src="/Game/img/gauntlet-assets/btn-jump.png" alt="" width="256" height="256" decoding="async" / loading="lazy">
|
||
</button>
|
||
<button type="button" id="stack-tower-drop-btn" class="is-hidden" aria-label="ปล่อยบล็อก (Drop)" title="ปล่อยบล็อก — เหมือน Space / Enter" aria-hidden="true">
|
||
<img src="/Game/img/TowerBlock/btn-drop.png" alt="" width="256" height="256" decoding="async" / loading="lazy">
|
||
</button>
|
||
<div id="quiz-map-question-panel" class="is-hidden" aria-hidden="true">
|
||
<img id="quiz-map-q-feedback-icon" class="quiz-map-q-feedback-icon is-hidden" alt="" width="64" height="64" decoding="async" / loading="lazy">
|
||
<div id="quiz-map-question-kicker" class="quiz-map-question-kicker is-hidden" aria-hidden="true"></div>
|
||
<p id="quiz-map-question-text"></p>
|
||
<div id="quiz-map-question-subphase" class="quiz-map-question-subphase is-hidden" aria-hidden="true"></div>
|
||
<div id="quiz-map-q-feedback-score-wrap" class="is-hidden" aria-hidden="true">
|
||
<img id="quiz-map-q-feedback-score" alt="" width="120" height="48" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
<div id="quiz-carry-timeup-desk-layer" class="is-hidden" aria-hidden="true">
|
||
<div class="qc-timeup-dim" aria-hidden="true"></div>
|
||
<div class="qc-timeup-desk-anchor">
|
||
<img id="quiz-carry-timeup-txt-img" class="qc-timeup-txt-img" src="/Game/img/quiz-carry/timeup-txt.png" alt="" width="480" height="120" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
<div id="quiz-carry-result-end-layer" class="is-hidden" aria-hidden="true" role="img" aria-label="ผลจบภารกิจ">
|
||
<div class="qc-result-end-dim" aria-hidden="true"></div>
|
||
<img id="quiz-carry-result-end-img" class="qc-result-end-img" src="" alt="" width="900" height="520" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
<div id="play-cyber-hud" class="play-cyber-hud is-hidden" aria-hidden="true">
|
||
<div class="play-cyber-hud-mock-stage" aria-hidden="true">
|
||
<aside class="play-cyber-scoreboard" aria-label="SCORE">
|
||
<div id="play-cyber-crown-score-head" class="play-cyber-crown-score-head is-hidden" aria-hidden="true">
|
||
<img id="play-cyber-crown-score-img" class="mg2-score-label" src="/Game/img/gauntlet-assets/score.png" alt="SCORE :" width="144" height="71" decoding="async" / loading="lazy">
|
||
</div>
|
||
<div class="play-cyber-panel-title">SCORE</div>
|
||
<ul id="play-cyber-score-list" class="play-cyber-score-list"></ul>
|
||
</aside>
|
||
<div class="play-cyber-center-stack">
|
||
<div class="play-cyber-time-block">
|
||
<div class="play-cyber-time-head">
|
||
<img id="play-cyber-time-plaque-img" class="play-cyber-time-plaque-img is-hidden" alt="TIME" decoding="async" aria-hidden="true" / loading="lazy">
|
||
<div class="play-cyber-time-label">TIME</div>
|
||
<span class="play-cyber-time-colon" aria-hidden="true">:</span>
|
||
<div id="play-cyber-time-val" class="play-cyber-time-val">0</div>
|
||
</div>
|
||
<div id="play-cyber-time-sub" class="play-cyber-time-sub"></div>
|
||
<div id="play-cyber-embed-zoom-hint" class="play-cyber-embed-zoom-hint is-hidden" aria-hidden="true"></div>
|
||
</div>
|
||
<div id="play-cyber-quiz-mission-q-band" class="play-cyber-quiz-mission-q-band is-hidden" aria-hidden="true">
|
||
<img id="play-cyber-quiz-mission-q-plaque" class="play-cyber-quiz-mission-q-plaque is-hidden" alt="" decoding="async" / loading="lazy">
|
||
<p id="play-cyber-quiz-mission-q-text" class="play-cyber-quiz-mission-q-text"></p>
|
||
</div>
|
||
</div>
|
||
<div class="play-cyber-self">
|
||
<div class="qb-room-profile-wrap play-cyber-profile-wrap" aria-hidden="true">
|
||
<div class="qb-room-profile-frame play-cyber-profile-frame">
|
||
<div class="qb-room-profile-avatar-viewport play-cyber-portrait-clip">
|
||
<img id="play-cyber-portrait-img" class="qb-room-profile-avatar play-cyber-portrait-img" alt="" decoding="async" / loading="lazy">
|
||
</div>
|
||
<img id="play-cyber-profile-frame-overlay" class="play-cyber-profile-frame-overlay" alt="" decoding="async" aria-hidden="true" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
<img id="play-cyber-mic-img" class="play-cyber-mic-img is-hidden" alt="" decoding="async" aria-hidden="true" / loading="lazy">
|
||
<!-- ไมค์ในเกม (MG1-7) — WebRTC mesh เหมือนหน้า lobby; วางใต้ avatar ตามดีไซน์ (mg-mic). play.js เปิดแสดง (ซ่อน preview/Quiz Battle) -->
|
||
<button type="button" id="btn-voice" class="play-voice-btn" title="เปิดไมค์" aria-label="เปิด/ปิดไมค์" style="display:none;">
|
||
<img src="/Game/img/btn-mic-mute.png" alt="" id="btn-voice-icon-img" width="128" height="128" decoding="async" / loading="lazy">
|
||
</button>
|
||
<div id="play-cyber-self-status" class="play-cyber-self-status"></div>
|
||
<div id="play-cyber-op-widgets" class="play-cyber-op-widgets" aria-hidden="true">
|
||
<div id="play-cyber-voice-chip" class="play-cyber-voice-chip"></div>
|
||
<div class="play-cyber-link-status" title="LINK">O</div>
|
||
</div>
|
||
</div>
|
||
<p id="play-cyber-hint" class="play-cyber-hint"></p>
|
||
<p id="play-cyber-preview-line" class="play-cyber-preview-line is-hidden"></p>
|
||
<div class="play-cyber-corruption" aria-hidden="true">
|
||
<div class="play-cyber-corruption-scanlines"></div>
|
||
<div class="play-cyber-corruption-text">RAM ERROR · CORRUPTING · DELETE INITIATED · 01001101 01110011 01100101 01100011</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- ภารกิจคำถาม mng8a80o ช่วง live: virtual joystick (QUESTION/btn-joystick-*.png) -->
|
||
<div id="quiz-question-mission-joystick" class="quiz-q-mission-joystick is-hidden" aria-hidden="true">
|
||
<div class="quiz-q-mission-joystick-base" id="quiz-q-mission-joystick-base">
|
||
<img id="quiz-q-mission-joystick-bg" class="quiz-q-mission-joystick-bg" src="" alt="" decoding="async" / loading="lazy">
|
||
<div class="quiz-q-mission-joystick-knob" id="quiz-q-mission-joystick-knob">
|
||
<img id="quiz-q-mission-joystick-knob-img" class="quiz-q-mission-joystick-knob-img" src="" alt="" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- MG3 Stack Tower (mnn93hpi) live HUD — DOM overlay (canvas object-fit:cover ครอป HUD ขอบจอ จึงย้ายมา DOM สเกลตาม stage) -->
|
||
<div id="mg3-tower-hud" class="mg3-tower-hud is-hidden" aria-hidden="true">
|
||
<div class="mg3-life">
|
||
<img class="mg3-life-bar" src="" alt="" decoding="async" / loading="lazy">
|
||
<div class="mg3-life-hearts" id="mg3-life-hearts"></div>
|
||
</div>
|
||
<div class="mg3-host">
|
||
<img class="mg3-host-frame" src="" alt="" decoding="async" / loading="lazy">
|
||
<img class="mg3-host-face" id="mg3-host-av" src="" alt="" decoding="async" / loading="lazy">
|
||
</div>
|
||
<div class="mg3-terminal">
|
||
<img class="mg3-terminal-bg" src="" alt="" decoding="async" / loading="lazy">
|
||
<div class="mg3-terminal-log" id="mg3-terminal-log"></div>
|
||
</div>
|
||
<div class="mg3-progress">
|
||
<div class="mg3-progress-heading">
|
||
<img class="mg3-progress-label" src="" alt="" decoding="async" / loading="lazy">
|
||
<span class="mg3-progress-pct" id="mg3-progress-pct">[ 0% ]</span>
|
||
</div>
|
||
<div class="mg3-progress-bar">
|
||
<img class="mg3-progress-track" src="" alt="" decoding="async" / loading="lazy">
|
||
<img class="mg3-progress-fill" id="mg3-progress-fill" src="" alt="" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- MG6 Space Shooter (mnpz6rkp) live life — DOM overlay สเกล design 1920×1080 เหมือน MG3 (ไม่พึ่ง cyber HUD flex) -->
|
||
<div id="mg6-life-hud" class="mg6-life-hud is-hidden" aria-hidden="true">
|
||
<div class="mg6-life">
|
||
<img class="mg6-life-bar" src="" alt="" decoding="async" / loading="lazy">
|
||
<div class="mg6-life-hearts" id="mg6-life-hearts"></div>
|
||
</div>
|
||
</div>
|
||
<!-- Quiz Battle (qbroom*) in-game HUD — DOM overlay สเกล design 1920×1080 (header หมวด, PLAYERS, SCORE, host, EXIT, MY RESULT, RANKING) -->
|
||
<div id="qb-game-hud" class="qb-game-hud is-hidden" aria-hidden="true">
|
||
<img class="qb-hud-tag" id="qb-hud-tag" src="" alt="" decoding="async" / loading="lazy">
|
||
<div class="qb-hud-players">PLAYERS : <span id="qb-hud-players-val">1/50</span></div>
|
||
<div class="qb-hud-score">SCORE : <span id="qb-hud-score-val">0</span></div>
|
||
<div class="qb-hud-host">
|
||
<div class="qb-hud-host-clip"><img class="qb-hud-host-av" id="qb-hud-host-av" src="" alt="" decoding="async" / loading="lazy"></div>
|
||
</div>
|
||
<button type="button" class="qb-hud-btn qb-hud-exit" id="qb-hud-exit" aria-label="ออกจากห้อง">
|
||
<img src="/Game/img/qb-ui/btn-exit-room.png" alt="EXIT" decoding="async" / loading="lazy">
|
||
</button>
|
||
<button type="button" class="qb-hud-btn qb-hud-myresult" id="qb-hud-myresult" aria-label="ผลของฉัน">
|
||
<img src="/Game/img/qb-ui/btn-my-result.png" alt="MY RESULT" decoding="async" / loading="lazy">
|
||
</button>
|
||
<button type="button" class="qb-hud-btn qb-hud-ranking" id="qb-hud-ranking" aria-label="อันดับ">
|
||
<img src="/Game/img/qb-ui/btn-ranking.png" alt="RANKING" decoding="async" / loading="lazy">
|
||
</button>
|
||
<button type="button" class="qb-hud-btn qb-hud-mic" id="qb-hud-mic" aria-label="ไมโครโฟน">
|
||
<img id="qb-hud-mic-img" src="/Game/img/btn-mic-on.png" alt="mic" decoding="async" / loading="lazy">
|
||
</button>
|
||
<div class="qb-hud-zoom" id="qb-hud-zoom">
|
||
<button type="button" class="qb-hud-zoom-btn" id="qb-hud-zoom-in" aria-label="ซูมเข้า">+</button>
|
||
<button type="button" class="qb-hud-zoom-btn" id="qb-hud-zoom-out" aria-label="ซูมออก">−</button>
|
||
</div>
|
||
</div>
|
||
<!-- Quiz Battle: MY RESULT popup -->
|
||
<div id="qb-myresult-popup" class="qb-popup is-hidden" role="dialog" aria-modal="true" aria-hidden="true">
|
||
<div class="qb-popup-backdrop" data-qb-close="myresult" aria-hidden="true"></div>
|
||
<div class="qb-popup-frame qb-mr-frame">
|
||
<button type="button" class="qb-popup-close" id="qb-myresult-close" data-qb-close="myresult" aria-label="ปิด"></button>
|
||
<div class="qb-mr-body">
|
||
<div class="qb-mr-stats">
|
||
<div class="qb-mr-stat">
|
||
<div class="qb-mr-stat-h">Accuracy (avg.)</div>
|
||
<div class="qb-mr-stat-v"><span id="qb-mr-accuracy">0%</span> <small id="qb-mr-accuracy-sub">(0/0)</small></div>
|
||
</div>
|
||
<div class="qb-mr-stat">
|
||
<div class="qb-mr-stat-h">Progress</div>
|
||
<div class="qb-mr-stat-v"><span id="qb-mr-progress">0%</span> <small id="qb-mr-progress-sub">(0/0)</small></div>
|
||
</div>
|
||
<div class="qb-mr-stat">
|
||
<div class="qb-mr-stat-h">Total time</div>
|
||
<div class="qb-mr-stat-v" id="qb-mr-time">0 s</div>
|
||
</div>
|
||
</div>
|
||
<div class="qb-mr-grid" id="qb-mr-grid"></div>
|
||
<div class="qb-mr-detail" id="qb-mr-detail"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- Quiz Battle: RANKING popup -->
|
||
<div id="qb-ranking-popup" class="qb-popup is-hidden" role="dialog" aria-modal="true" aria-hidden="true">
|
||
<div class="qb-popup-backdrop" data-qb-close="ranking" aria-hidden="true"></div>
|
||
<div class="qb-popup-frame qb-rank-frame">
|
||
<div class="qb-rank-title">Ranking</div>
|
||
<button type="button" class="qb-popup-close" id="qb-ranking-close" data-qb-close="ranking" aria-label="ปิด"></button>
|
||
<div class="qb-rank-body">
|
||
<div class="qb-rank-podium" id="qb-rank-podium"></div>
|
||
<div class="qb-rank-listhead"><span class="qb-rank-c1">RANK</span><span class="qb-rank-c2">PLAYER</span><span class="qb-rank-c3">SCORE</span></div>
|
||
<div class="qb-rank-list" id="qb-rank-list"></div>
|
||
<div class="qb-rank-me" id="qb-rank-me"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- Quiz Battle: COMPLETED popup -->
|
||
<div id="qb-completed-popup" class="qb-popup is-hidden" role="dialog" aria-modal="true" aria-hidden="true">
|
||
<div class="qb-popup-backdrop" data-qb-close="completed" aria-hidden="true"></div>
|
||
<div class="qb-popup-frame qb-completed-frame">
|
||
<button type="button" class="qb-popup-close" id="qb-completed-close" data-qb-close="completed" aria-label="ปิด"></button>
|
||
<div class="qb-completed-body">
|
||
<div class="qb-cp-val" id="qb-cp-correct">0 / 0</div>
|
||
<div class="qb-cp-val" id="qb-cp-time">0 s</div>
|
||
<div class="qb-cp-val" id="qb-cp-rank">—</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="play-quiz-scoreboard" class="is-hidden" aria-live="polite">
|
||
<div class="play-quiz-scoreboard-title">คะแนน</div>
|
||
<ul id="play-quiz-scoreboard-list" class="play-quiz-scoreboard-list"></ul>
|
||
</div>
|
||
<div id="play-quiz-feedback" class="is-hidden play-quiz-feedback" role="status" aria-atomic="true"></div>
|
||
<div id="quiz-carry-pregame-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="quiz-carry-pregame-sr-title" aria-hidden="true">
|
||
<div class="quiz-carry-pregame-backdrop" aria-hidden="true"></div>
|
||
<div class="quiz-carry-pregame-card">
|
||
<h2 id="quiz-carry-pregame-sr-title" class="quiz-carry-pregame-sr-only">ประลองความรู้ คำศัพท์ในกระบวนการยุติธรรม — How to play</h2>
|
||
<div class="quiz-carry-pregame-art">
|
||
<img id="quiz-carry-pregame-howto-img" class="quiz-carry-pregame-howto-img" src="/Game/img/quiz-carry/popup-Howto.png" width="1454" height="854" alt="HOW TO PLAY — ประลองความรู้ คำศัพท์ในกระบวนการยุติธรรม" loading="lazy" decoding="async" />
|
||
</div>
|
||
<div class="quiz-carry-pregame-footer">
|
||
<p id="quiz-carry-pregame-status" class="quiz-carry-pregame-status" aria-live="polite"></p>
|
||
<div class="quiz-carry-pregame-actions">
|
||
<button type="button" id="quiz-carry-pregame-primary" class="quiz-carry-pregame-primary-btn" aria-pressed="false" title="READY">
|
||
<img id="quiz-carry-pregame-primary-img" src="/Game/img/quiz-carry/btn-ready.png" width="220" height="56" alt="READY" decoding="async" / loading="lazy">
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="quiz-carry-embed-countdown" class="is-hidden" role="alert" aria-live="assertive" aria-atomic="true" aria-hidden="true">
|
||
<div id="quiz-carry-embed-countdown-inner">
|
||
<p id="quiz-carry-embed-countdown-kicker" class="quiz-carry-embed-countdown-kicker">คำถาม · Question</p>
|
||
<p id="quiz-carry-embed-countdown-q" class="quiz-carry-embed-countdown-q"></p>
|
||
<img id="quiz-carry-embed-countdown-num" src="/Game/img/QUESTION/3.png" width="200" height="200" alt="3" decoding="async" / loading="lazy">
|
||
</div>
|
||
</div>
|
||
<div id="quiz-carry-embed-q-strip" class="is-hidden" role="status" aria-live="polite" aria-atomic="true" aria-hidden="true">
|
||
<span class="quiz-carry-embed-q-strip-kicker">คำถาม · Question</span>
|
||
<p id="quiz-carry-embed-q-strip-text"></p>
|
||
</div>
|
||
<div id="quiz-game-overlay" class="is-hidden" role="status" aria-live="polite" aria-atomic="true">
|
||
<div class="quiz-game-inner">
|
||
<div class="quiz-game-phase" id="quiz-game-phase-label"></div>
|
||
<p class="quiz-game-q" id="quiz-game-question"></p>
|
||
<div class="quiz-game-timer" id="quiz-game-timer" aria-hidden="true"></div>
|
||
<p class="quiz-play-legend" id="quiz-play-legend"></p>
|
||
</div>
|
||
</div>
|
||
<div id="quiz-battle-mcq-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="quiz-battle-mcq-title">
|
||
<div class="quiz-battle-mcq-backdrop" aria-hidden="true"></div>
|
||
<div class="quiz-battle-mcq-card">
|
||
<h2 id="quiz-battle-mcq-title" class="quiz-battle-mcq-title">QUESTION</h2>
|
||
<button type="button" id="quiz-battle-mcq-close" aria-label="ปิด"></button>
|
||
<p id="quiz-battle-mcq-text" class="quiz-battle-mcq-text"></p>
|
||
<div class="quiz-battle-mcq-actions">
|
||
<button type="button" class="quiz-battle-choice" data-idx="0"><span class="qbc-letter">A</span><span class="qbc-text"></span><img class="qbc-mark" alt="" decoding="async" / loading="lazy"></button>
|
||
<button type="button" class="quiz-battle-choice" data-idx="1"><span class="qbc-letter">B</span><span class="qbc-text"></span><img class="qbc-mark" alt="" decoding="async" / loading="lazy"></button>
|
||
<button type="button" class="quiz-battle-choice" data-idx="2"><span class="qbc-letter">C</span><span class="qbc-text"></span><img class="qbc-mark" alt="" decoding="async" / loading="lazy"></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="gauntlet-crown-howto-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-label="HOW TO PLAY — Last Light">
|
||
<div class="gch-backdrop gch-legacy-backdrop" aria-hidden="true"></div>
|
||
<div class="gch-shell">
|
||
<!-- legacy (Mega Virus / แมปอื่น) -->
|
||
<img class="gch-bg gch-legacy-only" src="/Game/img/gauntlet-assets/popup-Howto.png" alt="" width="920" height="520" decoding="async" / loading="lazy">
|
||
<div class="gch-inner gch-inner--art gch-legacy-only">
|
||
<div class="gch-art-footer">
|
||
<p id="gauntlet-crown-howto-status" class="gch-status is-hidden" aria-live="polite"></p>
|
||
<button type="button" class="btn-gch-ready gch-legacy-only" id="btn-gch-ready" title="READY"><span class="sr-only">READY</span></button>
|
||
<div id="gch-ready-avatars" class="gch-ready-avatars" aria-hidden="true"></div>
|
||
</div>
|
||
</div>
|
||
<!-- Minigame-2 mno9kb07 — mock 01-howto (canvas = mg-bg อยู่ใต้ stack) -->
|
||
<div class="gch-mg2-stage gch-mg2-only" aria-hidden="true">
|
||
<div class="layer mg-overlay" aria-hidden="true"></div>
|
||
<div class="layer howto-popup">
|
||
<img class="gch-bg" src="/Game/img/gauntlet-assets/popup-Howto.png" alt="HOW TO PLAY" width="1500" height="880" decoding="async" / loading="lazy">
|
||
</div>
|
||
<div class="layer howto-status">
|
||
<p id="gauntlet-crown-howto-status-mg2" class="gch-status is-hidden" aria-live="polite"></p>
|
||
</div>
|
||
<button type="button" class="layer howto-btn btn btn-gch-ready" id="btn-gch-ready-mg2" title="READY">
|
||
<img id="btn-gch-ready-mg2-img" src="/Game/img/gauntlet-assets/btn-ready.png" alt="READY" width="299" height="120" decoding="async" / loading="lazy">
|
||
</button>
|
||
<div id="gch-ready-avatars-mg2" class="gch-ready-avatars layer" aria-hidden="true"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="gauntlet-crown-countdown" class="is-hidden" role="alert" aria-live="assertive" aria-atomic="true">
|
||
<div class="gcc-panel">
|
||
<img id="gauntlet-crown-countdown-num" class="gcc-num gcc-num--img" src="/Game/img/gauntlet-assets/3.png" width="240" height="240" alt="" decoding="async" / loading="lazy">
|
||
<span id="gauntlet-crown-countdown-text" class="gcc-num gcc-num--text is-hidden" aria-hidden="true">3</span>
|
||
</div>
|
||
</div>
|
||
<div id="stack-tower-result-flash" class="is-hidden" role="dialog" aria-modal="true" aria-hidden="true" aria-label="ผลภารกิจ Tower">
|
||
<div class="stack-tower-result-flash-backdrop" aria-hidden="true"></div>
|
||
<img id="stack-tower-result-flash-img" src="" alt="" width="920" height="520" decoding="async" / loading="lazy">
|
||
</div>
|
||
<div id="gauntlet-crown-mission-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="gcm-heading">
|
||
<div class="gcm-backdrop" aria-hidden="true"></div>
|
||
<div class="gcm-shell">
|
||
<img class="gcm-bg" src="/Game/img/gauntlet-assets/popup-result.png" alt="" width="920" height="560" decoding="async" / loading="lazy">
|
||
<div class="gcm-inner">
|
||
<div id="gcm-heading" class="gcm-header-tab">สรุปผลภารกิจ · Mission summary</div>
|
||
<div id="gcm-rank-row" class="gcm-rank-row"></div>
|
||
<p id="gcm-total" class="gcm-total"></p>
|
||
<div class="gcm-bottom">
|
||
<div class="gcm-col-grade">
|
||
<div class="gcm-h head">ระดับความสำเร็จ</div>
|
||
<div id="gcm-grade" class="gcm-grade sm-grade" aria-live="polite">A</div>
|
||
</div>
|
||
<div id="gcm-vrule" class="gcm-vrule sm-vrule is-hidden" aria-hidden="true">
|
||
<img class="gcm-line-2 sm-line-2" src="/Game/img/gauntlet-assets/popup-result-Line2.png" alt="" decoding="async" / loading="lazy">
|
||
</div>
|
||
<div class="gcm-col-bonus">
|
||
<div class="gcm-h head">โบนัสพิเศษ</div>
|
||
<div id="gcm-bonus" class="gcm-bonus"></div>
|
||
</div>
|
||
</div>
|
||
<button type="button" class="btn-gcm-done" id="btn-gcm-done" title="รับหลักฐาน"><span class="sr-only">รับหลักฐาน · Receive evidence</span></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="gauntlet-ended-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="gauntlet-ended-title">
|
||
<div class="gauntlet-ended-backdrop" aria-hidden="true"></div>
|
||
<div class="gauntlet-ended-card">
|
||
<h2 id="gauntlet-ended-title">เกมจบ</h2>
|
||
<p id="gauntlet-ended-message"></p>
|
||
<ol id="gauntlet-ended-rankings"></ol>
|
||
<button type="button" id="btn-gauntlet-ended-lobby">กลับห้อง (ล็อบบี้) · Back to room lobby</button>
|
||
</div>
|
||
</div>
|
||
<div id="quiz-carry-mission-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="qc-mission-title">
|
||
<div class="qc-mission-backdrop" aria-hidden="true"></div>
|
||
<div class="qc-mission-panel">
|
||
<div class="qc-mission-panel-bg" aria-hidden="true"></div>
|
||
<div class="qc-mission-panel-inner">
|
||
<h2 id="qc-mission-title" class="qc-mission-sr">สรุปผลภารกิจ</h2>
|
||
<div id="qc-mission-rank-row" class="qc-mission-rank-row"></div>
|
||
<p id="qc-mission-total-line" class="qc-mission-total"></p>
|
||
<div class="qc-mission-bottom">
|
||
<div class="qc-mission-grade-block">
|
||
<div class="qc-mission-section-h">ระดับความสำเร็จ</div>
|
||
<div id="qc-mission-grade" class="qc-mission-grade" aria-live="polite">A</div>
|
||
</div>
|
||
<div class="qc-mission-bonus-block">
|
||
<div class="qc-mission-section-h">โบนัสพิเศษ</div>
|
||
<div id="qc-mission-bonus-row" class="qc-mission-bonus-row">
|
||
<div class="qc-mission-bonus-inline">
|
||
<img id="qc-mission-check" class="qc-mission-check" src="/Game/img/quiz-carry/result-check.png" alt="" width="28" height="28" loading="lazy" decoding="async" />
|
||
<span id="qc-mission-success-txt" class="qc-mission-success-txt">ภารกิจสำเร็จ</span>
|
||
</div>
|
||
<div id="qc-mission-card-text" class="qc-mission-card-text"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<button type="button" id="btn-quiz-carry-mission-done"><span class="qc-mission-sr">รับหลักฐาน · Done</span></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<style id="special-quiz-style">
|
||
#special-quiz-overlay { position: fixed; inset: 0; z-index: 10300; display: flex; align-items: center; justify-content: center; padding: 24px; }
|
||
#special-quiz-overlay.is-hidden { display: none; }
|
||
#special-quiz-overlay .sq-ov-backdrop { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(16,22,46,0.82), rgba(8,10,22,0.94)); backdrop-filter: blur(3px); }
|
||
/* ===== Special Quiz — ดีไซน์ตาม mock 09-Quiz (กรอบ neon + ตัวเลือกเต็มแถว) ===== */
|
||
#special-quiz-overlay .sq-ov-panel { position: relative; width: min(1080px, 94vw, calc(96vh * 1305 / 1240)); aspect-ratio: 1305 / 1240; max-height: 96vh; overflow: auto; scrollbar-width: none; box-sizing: border-box; background: url('/Game/img/special-quiz/mock/special-quiz-tall.png') center/100% 100% no-repeat; border: none; border-radius: 0; box-shadow: none; padding: clamp(86px, 14%, 150px) 9% clamp(54px, 8%, 96px); color: #e7ecff; }
|
||
#special-quiz-overlay .sq-ov-panel::-webkit-scrollbar { width: 0; height: 0; }
|
||
/* หัวเก่า (ไอคอน/kicker/ข้อ) ซ่อน — ชื่อ "Special Quiz" อยู่ในรูปกรอบแล้ว */
|
||
#special-quiz-overlay .sq-ov-head { display: block; }
|
||
#special-quiz-overlay .sq-ov-icon,
|
||
#special-quiz-overlay .sq-ov-head-text { display: none; }
|
||
/* นาฬิกานับถอยหลัง — วงกลมกลางล่างของกรอบ */
|
||
#special-quiz-overlay .sq-ov-timer { position: absolute; left: 50%; bottom: 2.4%; transform: translateX(-50%); width: clamp(44px, 8%, 68px); aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; color: #eafcff; border: 3px solid rgba(94,234,255,0.85); background: rgba(8,16,30,0.85); box-shadow: 0 0 14px rgba(94,234,255,0.4); z-index: 3; }
|
||
#special-quiz-overlay .sq-ov-timer.sq-ov-timer--low { color: #ffd6e0; border-color: rgba(247,118,142,0.9); box-shadow: 0 0 14px rgba(247,118,142,0.5); }
|
||
#special-quiz-overlay .sq-ov-question { margin: 0 2px 22px; font-size: clamp(17px, 2.2vw, 25px); line-height: 1.4; font-weight: 800; text-align: center; color: #ffffff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
|
||
#special-quiz-overlay .sq-ov-choices { display: flex; flex-direction: column; gap: clamp(16px, 2.8vh, 30px); }
|
||
#special-quiz-overlay .sq-ov-choice { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: clamp(13px, 2.1vh, 21px) 46px; border: none; border-radius: 0; background: url('/Game/img/special-quiz/mock/choice-default.png') center/100% 100% no-repeat; color: #ffffff; text-shadow: 0 1px 4px rgba(0,0,0,0.6); font-size: clamp(15px, 1.9vw, 21px); font-weight: 800; cursor: pointer; transition: transform .08s, filter .12s; }
|
||
#special-quiz-overlay .sq-ov-choice:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
|
||
#special-quiz-overlay .sq-ov-choice:disabled { cursor: default; }
|
||
#special-quiz-overlay .sq-ov-choice-key { flex: none; font-weight: 800; color: inherit; }
|
||
#special-quiz-overlay .sq-ov-choice-text { flex: 0 1 auto; }
|
||
#special-quiz-overlay .sq-ov-choice--picked { background-image: url('/Game/img/special-quiz/mock/choice-select.png'); }
|
||
#special-quiz-overlay .sq-ov-choice--correct { background-image: url('/Game/img/special-quiz/mock/choice-correct.png'); color: #ffffff; }
|
||
#special-quiz-overlay .sq-ov-choice--correct::after { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: clamp(26px, 4vw, 40px); height: clamp(26px, 4vw, 40px); background: url('/Game/img/special-quiz/mock/correct.png') center/contain no-repeat; }
|
||
#special-quiz-overlay .sq-ov-choice--correct .sq-ov-choice-key { color: #0e2a12; background: transparent; }
|
||
#special-quiz-overlay .sq-ov-choice--wrong { background-image: url('/Game/img/special-quiz/mock/choice-wrong.png'); color: #ffffff; }
|
||
#special-quiz-overlay .sq-ov-choice--wrong::after { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: clamp(26px, 4vw, 40px); height: clamp(26px, 4vw, 40px); background: url('/Game/img/special-quiz/mock/wrong.png') center/contain no-repeat; }
|
||
/* mock 09-Quiz: ไม่มีชิป "สมาชิกในรอบนี้" / สถานะ — โชว์ avatar ใต้คำตอบที่เลือกแทน */
|
||
#special-quiz-overlay .sq-ov-status,
|
||
#special-quiz-overlay .sq-ov-members-head,
|
||
#special-quiz-overlay .sq-ov-members { display: none !important; }
|
||
/* แถว avatar ผู้เล่นที่เลือกคำตอบนี้ — เกาะขอบล่างของแถบ */
|
||
#special-quiz-overlay .sq-ov-choice-avatars { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 29%); display: flex; align-items: center; justify-content: center; gap: 3px; pointer-events: none; z-index: 4; min-height: 1px; }
|
||
#special-quiz-overlay .sq-ov-choice-avatars:empty { display: none; }
|
||
#special-quiz-overlay .sq-ov-av { position: relative; width: clamp(30px, 3.8vw, 42px); height: clamp(30px, 3.8vw, 42px); flex: none; display: flex; align-items: center; justify-content: center; }
|
||
#special-quiz-overlay .sq-ov-av.sq-ov-av--badge { border-radius: 50%; font-size: clamp(12px, 1.5vw, 16px); font-weight: 800; color: #fff; border: 2px solid #eafcff; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
|
||
#special-quiz-overlay .sq-ov-av .sqav-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; pointer-events: none; }
|
||
#special-quiz-overlay .sq-ov-av .sqav-portrait { position: absolute; left: 23%; right: 20%; top: 22%; bottom: 22%; z-index: 3; overflow: hidden; border-radius: 6px; display: flex; align-items: flex-start; justify-content: center; }
|
||
#special-quiz-overlay .sq-ov-av .sqav-portrait > canvas { width: 100%; height: 100%; display: block; }
|
||
#special-quiz-overlay .sq-ov-av--me .sqav-frame { filter: drop-shadow(0 0 5px rgba(255,233,90,0.95)); }
|
||
#special-quiz-overlay .sq-ov-av--me.sq-ov-av--badge { border-color: #ffe95a; box-shadow: 0 0 8px rgba(255,233,90,0.7); }
|
||
/* ปุ่ม "ถัดไป" — โผล่ตอนเฉลย แทนวงเวลา */
|
||
#special-quiz-overlay .sq-ov-next-btn { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 40%); width: clamp(150px, 22%, 210px); aspect-ratio: 354 / 132; border: none; background: url('/Game/img/special-quiz/mock/btn-next_1.png') center/100% 100% no-repeat; cursor: pointer; z-index: 5; transition: transform .08s, filter .12s; }
|
||
#special-quiz-overlay .sq-ov-next-btn:hover { filter: brightness(1.1); transform: translate(-50%, 40%) scale(1.04); }
|
||
#special-quiz-overlay .sq-ov-next-btn.is-hidden { display: none; }
|
||
#special-quiz-overlay.sq-answered .sq-ov-timer { display: none; }
|
||
#special-quiz-overlay .sq-ov-status-orig { margin-top: 14px; font-size: 14px; color: #a9b1d6; min-height: 18px; }
|
||
#special-quiz-overlay .sq-ov-result { margin-top: 12px; font-size: 18px; font-weight: 800; text-align: center; padding: 10px; border-radius: 10px; }
|
||
#special-quiz-overlay .sq-ov-result.is-hidden { display: none; }
|
||
#special-quiz-overlay .sq-ov-result--ok { color: #0e1226; background: #9ece6a; }
|
||
#special-quiz-overlay .sq-ov-result--fail { color: #fff; background: rgba(247,118,142,0.9); }
|
||
#special-quiz-overlay #sq-ov-quiz-body.is-hidden { display: none; }
|
||
/* ===== หน้ารับการ์ด (mock 10-Game-1-result) — เต็มจอ ไม่มีกรอบควิซ ===== */
|
||
#special-quiz-overlay.is-award .sq-ov-panel { background: none !important; padding: 2vh 4vw !important; min-height: 0 !important; width: auto !important; max-width: 96vw !important; aspect-ratio: auto !important; max-height: 96vh !important; overflow: visible !important; box-shadow: none; }
|
||
#special-quiz-overlay .sq-ov-award { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
|
||
#special-quiz-overlay .sq-ov-award.is-hidden { display: none; }
|
||
#special-quiz-overlay .sq-ov-award-stage { position: relative; display: flex; align-items: center; justify-content: center; }
|
||
#special-quiz-overlay .sq-ov-award-effect { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: clamp(320px, 46vw, 560px); opacity: .92; pointer-events: none; z-index: 1; }
|
||
#special-quiz-overlay .sq-ov-award-img { position: relative; z-index: 3; height: clamp(200px, 36vh, 320px); width: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); animation: sqAwardPop .55s cubic-bezier(.2,.9,.3,1.45); }
|
||
#special-quiz-overlay .sq-ov-award-img[hidden] { display: none; }
|
||
@keyframes sqAwardPop { from { opacity: 0; transform: scale(.8) translateY(20px); } to { opacity: 1; transform: none; } }
|
||
#special-quiz-overlay .sq-ov-award-txt { display: block; max-width: min(720px, 86vw); height: auto; margin: 4px auto 14px; }
|
||
#special-quiz-overlay .sq-ov-award-txt[hidden] { display: none; }
|
||
#special-quiz-overlay .sq-ov-award-msg { font: 700 clamp(16px,2vw,22px)/1.4 Kanit, system-ui, sans-serif; color: #cfd6ea; text-shadow: 0 1px 6px rgba(0,0,0,0.6); margin: 6px 0 14px; }
|
||
#special-quiz-overlay .sq-ov-award-msg:empty { display: none; }
|
||
#special-quiz-overlay .sq-ov-award-btn { margin-top: 4px; cursor: pointer; border: none; background: url('/Game/img/special-quiz/reward/btn-continue-play.png') center/100% 100% no-repeat; width: clamp(220px, 26vw, 320px); aspect-ratio: 354 / 120; font-size: 0; color: transparent; transition: filter .12s, transform .08s; }
|
||
#special-quiz-overlay .sq-ov-award-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
|
||
/* #3 ตอนรอผู้เล่นอื่น (หลังกดเล่นต่อ) — แทนรูปปุ่มด้วยข้อความ "รอผู้เล่นอื่น… (X/Y)" ให้รู้ว่าไม่ค้าง */
|
||
#special-quiz-overlay .sq-ov-award-btn.is-waiting { background: rgba(18,26,46,0.92); background-image: none; border: 1px solid rgba(122,162,247,0.45); border-radius: 12px; font-size: clamp(15px,1.7vw,19px); color: #bcd2ff; font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: progress; opacity: .95; }
|
||
#special-quiz-overlay .sq-ov-award-btn.is-waiting::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(122,162,247,.35); border-top-color: #7aa2f7; animation: sqWaitSpin .8s linear infinite; }
|
||
#special-quiz-overlay .sq-ov-award-btn.is-waiting:hover { filter: none; transform: none; }
|
||
@keyframes sqWaitSpin { to { transform: rotate(360deg); } }
|
||
#special-quiz-overlay .sq-ov-members-head { margin-top: 16px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #7aa2f7; font-weight: 700; }
|
||
#special-quiz-overlay .sq-ov-members { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||
@media (max-width: 560px) { #special-quiz-overlay .sq-ov-members { grid-template-columns: 1fr; } }
|
||
#special-quiz-overlay .sq-ov-member { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(122,162,247,0.22); background: rgba(122,162,247,0.05); font-size: 14px; }
|
||
#special-quiz-overlay .sq-ov-member-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: rgba(169,177,214,0.25); color: #c0caf5; }
|
||
#special-quiz-overlay .sq-ov-member-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d5dbff; }
|
||
#special-quiz-overlay .sq-ov-member-tag { flex: none; font-size: 11px; color: #7f88b3; }
|
||
#special-quiz-overlay .sq-ov-member-ans { flex: none; min-width: 22px; text-align: center; font-weight: 800; font-size: 13px; color: #a9b1d6; }
|
||
#special-quiz-overlay .sq-ov-member--answered { border-color: rgba(122,162,247,0.5); background: rgba(122,162,247,0.13); }
|
||
#special-quiz-overlay .sq-ov-member--answered .sq-ov-member-dot { background: rgba(122,162,247,0.45); color: #0e1226; }
|
||
#special-quiz-overlay .sq-ov-member--correct { border-color: #9ece6a; background: rgba(158,206,106,0.16); }
|
||
#special-quiz-overlay .sq-ov-member--correct .sq-ov-member-dot { background: #9ece6a; color: #0e1226; }
|
||
#special-quiz-overlay .sq-ov-member--correct .sq-ov-member-ans { color: #9ece6a; }
|
||
#special-quiz-overlay .sq-ov-member--wrong { border-color: #f7768e; background: rgba(247,118,142,0.14); }
|
||
#special-quiz-overlay .sq-ov-member--wrong .sq-ov-member-dot { background: #f7768e; color: #0e1226; }
|
||
#special-quiz-overlay .sq-ov-member--wrong .sq-ov-member-ans { color: #f7768e; }
|
||
#special-quiz-overlay .sq-ov-member--me { box-shadow: inset 0 0 0 1px rgba(224,175,104,0.6); }
|
||
/* ใช้การ์ดพิเศษ — animation โชว์การ์ดบินเข้ากลางจอ */
|
||
#special-card-use-overlay { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; pointer-events: none; }
|
||
#special-card-use-overlay.is-hidden { display: none; }
|
||
#special-card-use-overlay .scu-card { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transform: scale(0.5) translateY(40px); }
|
||
#special-card-use-overlay.scu-play .scu-card { animation: scuPop 2.6s cubic-bezier(.18,.9,.28,1.2) forwards; }
|
||
#special-card-use-overlay .scu-img { width: 168px; height: auto; border-radius: 12px; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 22px rgba(224,175,104,0.55)); }
|
||
#special-card-use-overlay .scu-name { font-size: 22px; font-weight: 800; color: #ffe7b3; text-shadow: 0 2px 10px rgba(0,0,0,0.7); letter-spacing: .02em; }
|
||
#special-card-use-overlay .scu-effect { font-size: 26px; font-weight: 900; color: #9ece6a; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
|
||
@keyframes scuPop {
|
||
0% { opacity: 0; transform: scale(0.4) translateY(60px) rotate(-8deg); }
|
||
14% { opacity: 1; transform: scale(1.12) translateY(0) rotate(2deg); }
|
||
24% { transform: scale(1) translateY(0) rotate(0); }
|
||
80% { opacity: 1; transform: scale(1) translateY(0); }
|
||
100% { opacity: 0; transform: scale(0.94) translateY(-26px); }
|
||
}
|
||
</style>
|
||
<div id="special-quiz-overlay" class="is-hidden" role="dialog" aria-modal="true" aria-labelledby="sq-overlay-title">
|
||
<div class="sq-ov-backdrop" aria-hidden="true"></div>
|
||
<div class="sq-ov-panel">
|
||
<div id="sq-ov-quiz-body">
|
||
<div class="sq-ov-head">
|
||
<img id="sq-ov-icon" class="sq-ov-icon" src="/Game/img/special-quiz/icon-lawyer.png" alt="" / loading="lazy">
|
||
<div class="sq-ov-head-text">
|
||
<div id="sq-overlay-title" class="sq-ov-kicker">คำถามพิเศษ · Special Quiz</div>
|
||
<div id="sq-ov-progress" class="sq-ov-progress">ข้อ 1 / 1</div>
|
||
</div>
|
||
<div id="sq-ov-timer" class="sq-ov-timer">20</div>
|
||
</div>
|
||
<div id="sq-ov-question" class="sq-ov-question"></div>
|
||
<div id="sq-ov-choices" class="sq-ov-choices"></div>
|
||
<div id="sq-ov-status" class="sq-ov-status"></div>
|
||
<div class="sq-ov-members-head">สมาชิกในรอบนี้ — ต้องตอบถูกครบทุกคน</div>
|
||
<div id="sq-ov-members" class="sq-ov-members"></div>
|
||
<div id="sq-ov-result" class="sq-ov-result is-hidden"></div>
|
||
<button id="sq-ov-next" type="button" class="sq-ov-next-btn is-hidden" aria-label="ถัดไป"></button>
|
||
</div>
|
||
<div id="sq-ov-award" class="sq-ov-award is-hidden">
|
||
<div class="sq-ov-award-stage">
|
||
<img id="sq-ov-award-effect-img" class="sq-ov-award-effect" src="/Game/img/special-quiz/reward/card-effect.png" alt="" / loading="lazy">
|
||
<img id="sq-ov-award-img" class="sq-ov-award-img" alt="" / loading="lazy">
|
||
</div>
|
||
<img id="sq-ov-award-txt" class="sq-ov-award-txt" alt="" / loading="lazy">
|
||
<div id="sq-ov-award-msg" class="sq-ov-award-msg"></div>
|
||
<button type="button" id="sq-ov-award-continue" class="sq-ov-award-btn" aria-label="เล่นเกมต่อ">เล่นเกมต่อ</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="/app-base.js?v=2"></script>
|
||
<script src="/Game/socket.io/socket.io.js"></script>
|
||
<script src="js/version.js?v=0.0306"></script>
|
||
<script src="js/sound.js?v=2"></script>
|
||
<script src="js/play.js?v=0.006301196"></script>
|
||
<div class="version-tag">v —</div>
|
||
<style id="qc-howto-mg2-fix">
|
||
/* HOW TO PLAY ของ quiz_carry (Minigame-4) -> ให้เหมือน Minigame-2 (gch-mg2-mock)
|
||
popup ใหญ่ top-anchored, backdrop จาง (โชว์ฉากหลัง), Ready Status สีชมพูบนกรอบ,
|
||
ปุ่ม READY คร่อมกรอบล่าง. พิกัดอ้างอิง mg2 บนเวที 1920x1080 -> % ของกล่อง 16:9 */
|
||
#quiz-carry-pregame-overlay {
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-backdrop {
|
||
background: rgba(4, 6, 18, 0.45);
|
||
-webkit-backdrop-filter: none;
|
||
backdrop-filter: none;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-card {
|
||
position: relative;
|
||
width: min(100vw, 177.78vh);
|
||
height: auto;
|
||
aspect-ratio: 1920 / 1080;
|
||
max-width: 100vw;
|
||
max-height: 100vh;
|
||
min-height: 0;
|
||
padding: 0;
|
||
background: transparent;
|
||
border: none;
|
||
border-radius: 0;
|
||
box-shadow: none;
|
||
overflow: visible;
|
||
display: block;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-art {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 4.63%;
|
||
transform: translateX(-50%);
|
||
width: 78.125%;
|
||
height: 81.48%;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-howto-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
max-height: none;
|
||
object-fit: fill;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-footer {
|
||
display: contents;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-status {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 74.8%;
|
||
transform: translateX(-50%);
|
||
margin: 0;
|
||
z-index: 3;
|
||
pointer-events: none;
|
||
font-family: NotoSansThai, "Kanit", sans-serif;
|
||
font-weight: 700;
|
||
font-size: min(2.04vh, 1.146vw);
|
||
color: #f067e8;
|
||
text-shadow: 0 0 10px rgba(240, 103, 232, 0.6), 0 0 22px rgba(237, 86, 224, 0.35);
|
||
letter-spacing: 0.5px;
|
||
white-space: nowrap;
|
||
text-align: center;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-actions {
|
||
position: absolute;
|
||
left: 49.84%;
|
||
top: 81.94%;
|
||
transform: translate(-50%, -50%);
|
||
z-index: 4;
|
||
gap: 0;
|
||
flex-wrap: nowrap;
|
||
}
|
||
#quiz-carry-pregame-overlay .quiz-carry-pregame-primary-btn img {
|
||
height: min(11.1vh, 6.25vw);
|
||
width: auto;
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65));
|
||
}
|
||
</style>
|
||
<style id="gch-howto-size-fix">
|
||
/* HOW TO PLAY: เกมที่ใช้ #gauntlet-crown-howto-overlay แต่ไม่ได้ติด class popup ใหญ่
|
||
(mg3 stack, mg5 jump, mg6 space_shooter, mg7 mega_virus) -> ตกไปใช้ img.gch-bg.gch-legacy-only
|
||
ขนาดเล็ก. บังคับให้ size เท่า mg1/mg2 (popup 1500x880 @ 50px) ด้วยกล่อง 16:9 fit viewport.
|
||
scope :not(.gch-quiz-tf-mock):not(.gch-mg2-mock) จึงไม่กระทบ mg1/mg2 */
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock):not(.is-hidden) {
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-shell {
|
||
position: relative;
|
||
width: min(100vw, 177.78vh);
|
||
height: auto;
|
||
aspect-ratio: 1920 / 1080;
|
||
max-width: 100vw;
|
||
max-height: 100vh;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
margin: 0;
|
||
padding: 0;
|
||
transform: none;
|
||
border-radius: 0;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-bg.gch-legacy-only {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 4.63%;
|
||
transform: translateX(-50%);
|
||
width: 78.125%;
|
||
height: 81.48%;
|
||
max-width: none;
|
||
max-height: none;
|
||
object-fit: fill;
|
||
filter: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner.gch-inner--art {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
transform: none;
|
||
padding: 0;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .gch-art-footer {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
transform: none;
|
||
display: block;
|
||
gap: 0;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .gch-status {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 74.8%;
|
||
transform: none;
|
||
margin: 0 auto;
|
||
width: -moz-fit-content;
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
text-align: center;
|
||
white-space: nowrap;
|
||
font-family: 'NotoSansThai', sans-serif;
|
||
font-weight: 700;
|
||
font-size: min(2.04vh, 1.146vw);
|
||
letter-spacing: 0.5px;
|
||
color: #f067e8;
|
||
text-shadow: 0 0 10px rgba(240, 103, 232, 0.6), 0 0 22px rgba(237, 86, 224, 0.35);
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 76.4%;
|
||
transform: none;
|
||
width: 15.57%;
|
||
height: 11.11%;
|
||
margin: 0 auto;
|
||
background-image: url('/Game/img/QUESTION/btn-ready.png');
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
background-size: contain;
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65));
|
||
font-size: 0;
|
||
color: transparent;
|
||
border: none;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready.is-start-phase {
|
||
background-image: url('/Game/img/QUESTION/btn-start.png');
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready:hover {
|
||
transform: translateY(-3px);
|
||
filter: drop-shadow(0 0 28px rgba(120, 220, 255, 0.95));
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready:active {
|
||
transform: translateY(2px);
|
||
}
|
||
/* MG3,5,6,7 (default layout) ปุ่ม READY ให้เหมือน MG1: ยังไม่กด=cyan เต็ม (override greyscale global),
|
||
กดแล้ว=เขียว+✓ (btn-ready-active.png), พร้อมครบ=btn-start.png (ใช้ rule .is-start-phase เดิมด้านบน) */
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready:not(.is-me-ready):not(.is-start-phase) {
|
||
filter: drop-shadow(0 0 18px rgba(120, 220, 255, 0.65)) !important;
|
||
}
|
||
#gauntlet-crown-howto-overlay:not(.gch-quiz-tf-mock):not(.gch-mg2-mock) .gch-inner--art .btn-gch-ready.is-me-ready:not(.is-start-phase) {
|
||
background-image: url('/Game/img/QUESTION/btn-ready-active.png') !important;
|
||
filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.7)) !important;
|
||
}
|
||
</style>
|
||
|
||
<!-- [minigame transition] เล่นวิดีโอ transition ตอนเข้ามินิเกม (detectiveReturn=1) — ข้ามไม่ได้ · จบวิดีโอ → เผยหน้า loading/how-to ที่โหลดอยู่ข้างล่าง -->
|
||
<div id="jd-mg-transition" style="position:fixed;inset:0;z-index:2147483000;background:#000;display:none;align-items:center;justify-content:center">
|
||
<video id="jd-mg-vid" playsinline preload="auto" style="width:100%;height:100%;object-fit:cover;background:#000"></video>
|
||
</div>
|
||
<script>
|
||
(function () {
|
||
try {
|
||
var params = new URLSearchParams(window.location.search);
|
||
var isMg = params.get('detectiveReturn') === '1';
|
||
if (!isMg) { try { isMg = sessionStorage.getItem('detectiveMinigameReturn') === '1'; } catch (e) {} }
|
||
if (!isMg) return; /* เฉพาะตอนเข้ามินิเกม (detective) เท่านั้น — ฉาก detective ปกติไม่เล่น */
|
||
var ov = document.getElementById('jd-mg-transition'), vid = document.getElementById('jd-mg-vid');
|
||
if (!ov || !vid) return;
|
||
/* [2026-07-23] จบวิดีโอ → เอา overlay ออก **และปล่อยวิดีโอทิ้งด้วย**
|
||
เดิมแค่ pause+ซ่อน → บัฟเฟอร์ ~3.1 MB ค้างทุกครั้งที่เข้ามินิเกม (เข้าหลายรอบ = สะสมไปเรื่อยๆ)
|
||
บนมือถือแรมไม่พอแล้วโดนเบราว์เซอร์ฆ่าแท็บ */
|
||
var released = false;
|
||
function done() {
|
||
if (released) return;
|
||
released = true;
|
||
try { vid.pause(); } catch (e) { /* ignore */ }
|
||
try {
|
||
vid.onended = null; vid.onerror = null;
|
||
vid.removeAttribute('src');
|
||
while (vid.firstChild) vid.removeChild(vid.firstChild);
|
||
vid.load();
|
||
} catch (e) { /* ignore */ }
|
||
ov.style.display = 'none';
|
||
try { if (ov.parentNode) ov.parentNode.removeChild(ov); } catch (e) { /* ignore */ }
|
||
}
|
||
vid.src = '/Game/video/minigame-transition.mp4';
|
||
vid.onended = done; vid.onerror = done; /* วิดีโอหาย/พัง → ไม่บล็อกเกม */
|
||
ov.style.display = 'flex'; /* ปิดจอระหว่างโหลด — ข้ามไม่ได้ (ไม่มีปุ่ม skip) */
|
||
vid.muted = false;
|
||
var p = vid.play();
|
||
if (p && p.catch) p.catch(function () { vid.muted = true; vid.play().catch(done); });
|
||
} catch (e) { /* ห้ามบล็อกเกม */ }
|
||
})();
|
||
</script>
|
||
</body>
|
||
</html>
|