@import"https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap";:root{font-family:Noto Sans Thai,Tahoma,Arial,sans-serif;color:#f8fbff;background:#03070c;font-synthesis:none;--blue: #149fff;--blue-deep: #053b86;--green: #92d82d;--green-deep: #315f06;--surface: #071018;--surface-strong: #0a141e;--line: #24313d;--muted: #afbbc5}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#03070c;-webkit-font-smoothing:antialiased}button,textarea,input{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #ffffff;outline-offset:3px}.app-shell{min-height:100vh;background:#03070c;overflow-x:hidden}.topbar{min-height:98px;padding:20px 32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;border-bottom:1px solid #164052;background:#040a10}.brand,.campaign-date,.progress-block span,.match-label{margin:0}.brand{font-family:Barlow Condensed,Arial Narrow,sans-serif;font-size:clamp(2rem,3.2vw,3rem);font-weight:700;letter-spacing:.02em}.campaign-date{font-size:1.15rem;font-weight:500;color:#eef4f8}.progress-block{width:min(100%,300px);justify-self:end}.progress-block span{display:block;margin-bottom:8px;text-align:right;font-size:1rem;font-weight:600}.progress-track{height:7px;overflow:hidden;border-radius:999px;background:#45515d}.progress-value{height:100%;border-radius:inherit;background:#55d5f3;transition:width .26s ease}.system-message{padding:12px 20px;display:flex;justify-content:center;gap:10px;border-bottom:1px solid #a64b4b;background:#3a161b;color:#fff0f0;text-align:center}.system-message span{color:#ffd2d2}.question-area{padding:24px 24px 25px;text-align:center;background:#03080e}.match-label{color:#62d8f0;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.question-area h1{max-width:1280px;margin:8px auto 0;font-size:clamp(2.2rem,3.4vw,3.35rem);line-height:1.14;letter-spacing:-.035em}.participation-closed{width:min(100% - 32px,720px);margin:34px auto 58px;padding:38px;border:1px solid #2b4354;border-radius:20px;background:#0a141e;text-align:center;box-shadow:0 24px 70px #00000059}.participation-closed h2{margin:10px 0 8px;font-size:clamp(1.65rem,4vw,2.35rem)}.participation-closed p{max-width:590px;margin:0 auto;color:var(--muted);line-height:1.7}.participation-closed>svg{width:70px;height:70px;color:#92d82d}.battle-zone{position:relative;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #22303c;border-bottom:1px solid #22303c;background:#04090f}.candidate{min-width:0;min-height:650px;display:grid;align-items:stretch;background:var(--surface)}.candidate-blue{grid-template-columns:minmax(300px,.95fr) minmax(290px,1.05fr);border-top:4px solid var(--blue);border-right:1px solid #203342}.candidate-green{grid-template-columns:minmax(290px,1.05fr) minmax(300px,.95fr);border-top:4px solid var(--green)}.candidate-image-wrap{min-width:0;min-height:646px;overflow:hidden;background:#071018}.candidate-image{width:100%;height:100%;display:block;object-fit:cover}.candidate-blue .candidate-image{object-position:center top}.candidate-green .candidate-image-wrap{order:2}.candidate-green .candidate-image{object-position:center top}.candidate-content{min-width:0;padding:60px 42px 42px;display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--surface-strong)}.candidate-content h2{margin:0;font-size:clamp(2rem,3.1vw,3rem);line-height:1.16}.team-label{margin:14px 0 0;padding:8px 20px;border-radius:6px;font-weight:700}.candidate-blue .team-label{background:var(--blue-deep);color:#dff4ff}.candidate-green .team-label{background:var(--green-deep);color:#eeffd8}.side-rule{width:78%;height:3px;margin:26px 0}.candidate-blue .side-rule{background:var(--blue)}.candidate-green .side-rule{background:var(--green)}.candidate-detail{min-height:76px;margin:0;color:#f0f5f8;font-size:1.07rem;line-height:1.75}.rating{width:100%;margin-top:auto}.rating-title{margin:0 0 12px;color:#f7fafc;font-weight:600}.stars{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:7px}.star-button{min-width:44px;min-height:62px;padding:5px 3px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#87939e}.star-button svg{width:clamp(32px,3.5vw,48px);height:clamp(32px,3.5vw,48px)}.star-button:hover,.star-button[aria-checked=true]{transform:translateY(-2px)}.star-blue.is-active,.star-blue:hover{color:#29c7ff}.star-green.is-active,.star-green:hover{color:#9eea38}.choose-button{width:100%;min-height:68px;margin-top:18px;border:2px solid currentColor;border-radius:12px;color:#fff;font-size:1.45rem;font-weight:700;transition:transform .16s ease,opacity .16s ease}.candidate-blue .choose-button{background:#087bca;border-color:#3ec5ff}.candidate-green .choose-button{background:#5c9f13;border-color:#a4ea45}.choose-button:disabled{cursor:not-allowed;opacity:.35;filter:saturate(.3)}.choose-button:not(:disabled):hover{transform:translateY(-2px)}.versus{position:absolute;z-index:2;left:50%;top:48%;width:110px;height:110px;display:grid;place-items:center;transform:translate(-50%,-50%);border:2px solid #d9e0e5;border-radius:50%;background:#0b1219;color:#fff;font-family:Barlow Condensed,Arial Narrow,sans-serif;font-size:4rem;font-weight:700;box-shadow:0 0 0 10px #03070ce6}.instruction{min-height:90px;padding:20px 32px;display:flex;align-items:center;justify-content:center;gap:14px;background:#071018}.instruction>svg{width:42px;height:42px;color:#4fc7ff}.instruction p{margin:0;font-size:1.2rem;font-weight:600}.privacy-note{margin-left:28px;display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:.9rem}.privacy-note svg{width:20px;height:20px}.dialog-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;padding:24px;display:grid;place-items:center;overflow-y:auto;background:#000000c7}.feedback-dialog{width:min(100%,760px);max-height:calc(100vh - 48px);overflow-y:auto;padding:28px;border:1px solid #334454;border-radius:18px;background:#0a141e;color:#f7fafc;box-shadow:0 24px 80px #0000008c}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.eyebrow{margin:0 0 4px;color:#72d8f1;font-size:.83rem;font-weight:700;letter-spacing:.08em}.dialog-heading h2{margin:0;font-size:1.8rem}.icon-button{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #3b4b5a;border-radius:50%;background:#111e2a;color:#fff}.icon-button svg{width:22px;height:22px}.feedback-section{margin-top:24px;padding-top:22px;border-top:1px solid #263543}.feedback-section h3{margin:0 0 12px;font-size:1.05rem}.reason-options{display:flex;flex-wrap:wrap;gap:8px}.reason-button{min-height:42px;padding:8px 13px;border:1px solid #415465;border-radius:999px;background:#111d27;color:#eaf1f5}.reason-button.is-selected{border-color:#5fd6ef;background:#123c49}.feedback-section label{margin-top:16px;display:grid;gap:7px;color:#dce6ec;font-size:.9rem}.feedback-section textarea{width:100%;min-height:86px;resize:vertical;padding:12px 14px;border:1px solid #435564;border-radius:10px;background:#071018;color:#fff}.feedback-section small{justify-self:end;color:#8d9ba6}.dialog-actions{margin-top:24px;display:flex;justify-content:flex-end;gap:12px}.skip-button,.continue-button{min-height:48px;padding:10px 18px;border-radius:10px;font-weight:700}.skip-button{border:1px solid #405160;background:transparent;color:#dbe4e9}.continue-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #72dcf3;background:#0b7fa3;color:#fff}.continue-button svg{width:21px;height:21px}.skip-button:disabled,.continue-button:disabled{cursor:wait;opacity:.55}.toast{position:fixed;z-index:30;left:50%;bottom:28px;max-width:calc(100vw - 32px);padding:13px 18px;transform:translate(-50%);border:1px solid #73d5e9;border-radius:10px;background:#0b2530;color:#fff;box-shadow:0 14px 42px #00000073}@media(max-width:1180px){.candidate-blue,.candidate-green{grid-template-columns:1fr}.candidate-green .candidate-image-wrap{order:0}.candidate-image-wrap{min-height:390px;max-height:390px}.candidate-content{padding:32px 28px 34px}.candidate-detail{min-height:66px}}@media(max-width:820px){.topbar{min-height:auto;grid-template-columns:1fr 1fr;padding:15px 18px;gap:12px 18px}.brand{font-size:2rem}.campaign-date{text-align:right;font-size:.92rem}.progress-block{width:100%;grid-column:1 / -1}.progress-block span{text-align:left;font-size:.83rem}.question-area{padding:26px 18px 24px}.question-area h1{font-size:clamp(1.7rem,6vw,2.5rem)}.battle-zone{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.candidate{min-height:0;border:1px solid #2a3946;border-top-width:4px;border-radius:14px;overflow:hidden}.candidate-image-wrap{min-height:220px;max-height:220px}.candidate-content{padding:20px 12px 18px}.candidate-content h2{min-height:2.5em;display:grid;place-items:center;font-size:clamp(1.3rem,4vw,1.8rem)}.candidate-detail{min-height:4.5em;display:-webkit-box;overflow:hidden;font-size:.9rem;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.rating{margin-top:18px}.star-button svg{width:30px;height:30px}.versus{top:202px;width:54px;height:54px;transform:translate(-50%,-50%);font-size:2rem;box-shadow:0 0 0 6px #03070ce6;pointer-events:none}.candidate-green{grid-row:auto}.instruction{min-height:auto;padding:18px;align-items:flex-start;flex-wrap:wrap;text-align:center}.instruction>svg{width:30px;height:30px}.instruction p{font-size:1rem}.privacy-note{width:100%;margin:4px 0 0;justify-content:center}.dialog-backdrop{padding:0;place-items:end stretch}.feedback-dialog{width:100%;max-height:92vh;padding:22px 18px;border-radius:18px 18px 0 0}.dialog-actions{position:sticky;bottom:-22px;margin-inline:-18px;padding:14px 18px 22px;background:#0a141e}}@media(max-width:480px){.topbar{grid-template-columns:1fr;padding:11px 12px;gap:7px}.brand{font-size:1.75rem}.campaign-date{display:none}.progress-block{grid-column:auto}.question-area{padding:17px 12px 15px}.question-area h1{margin-top:5px;font-size:1.6rem;line-height:1.18}.match-label{font-size:.72rem}.participation-closed{width:calc(100% - 20px);margin:14px auto 28px;padding:25px 16px;border-radius:14px}.participation-closed p{font-size:.9rem;line-height:1.6}.battle-zone{gap:8px;padding:8px}.candidate{border-radius:10px}.candidate-image-wrap{min-height:150px;max-height:150px}.candidate-content{padding:13px 7px 12px}.candidate-content h2{min-height:2.7em;font-size:1.16rem;line-height:1.18}.team-label{margin-top:8px;padding:5px 7px;border-radius:4px;font-size:.72rem}.side-rule{width:84%;height:2px;margin:12px 0}.candidate-detail{min-height:4.2em;font-size:.76rem;line-height:1.4}.rating{margin-top:12px}.rating-title{margin-bottom:5px;font-size:.72rem}.stars{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}.star-button{min-width:0;min-height:50px;padding-inline:0;font-size:.72rem}.star-button svg{width:26px;height:26px}.choose-button{min-height:52px;margin-top:10px;border-width:1px;border-radius:8px;font-size:1rem}.versus{top:136px;width:46px;height:46px;font-size:1.72rem;box-shadow:0 0 0 4px #03070ce6}.dialog-actions{display:grid;grid-template-columns:.65fr 1.35fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
