:root{--ev4x-green:#1f6b43;--ev4x-green2:#0f4f2f;--ev4x-red:#c62828;--ev4x-gold:#d7a93b;--ev4x-cream:#f6eed9;--ev4x-ink:#172317;--ev4x-bamboo:#6fa047;--ev4x-bg:#f8f1dd}
body.ev4x-body{background:linear-gradient(180deg,#f6edd6,#efe2bb);font-family:Arial,Helvetica,sans-serif;margin:0}
.ev4x-admin-wrap{max-width:1500px}.ev4x-grid-admin{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:18px}.ev4x-grid-admin-bottom{grid-template-columns:1fr 1fr}.ev4x-card{background:#fffdf8;border:1px solid #e7dcc4;border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.05)}.ev4x-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ev4x-form-grid label{display:flex;flex-direction:column;gap:6px;font-weight:600}.ev4x-form-grid input,.ev4x-form-grid textarea,.ev4x-form-grid select{width:100%}.ev4x-span-2{grid-column:1 / -1}.is-hidden{display:none!important}.ev4x-button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.ev4x-status-box{border-radius:14px;background:#f8f7f2;padding:14px;margin-top:14px}.ev4x-qr-box{display:flex;justify-content:center;align-items:center;min-height:220px;background:#fff;border:1px dashed #d7c49a;border-radius:16px;padding:14px}.ev4x-podium-mini{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;align-items:end}.ev4x-place{text-align:center}.ev4x-place-name{font-weight:900;font-size:72px;line-height:1;min-height:86px;display:flex;align-items:flex-end;justify-content:center;overflow-wrap:anywhere;margin-bottom:8px}.ev4x-place-time{font-size:16px;color:#555;margin-bottom:8px}.ev4x-place-block{border-radius:18px 18px 0 0;padding:18px 10px;font-size:28px;font-weight:900}.ev4x-place-1 .ev4x-place-block{background:linear-gradient(180deg,#f9e07d,#d4a31f);height:90px}.ev4x-place-2 .ev4x-place-block{background:linear-gradient(180deg,#f0f0f0,#bababa);height:70px}.ev4x-place-3 .ev4x-place-block{background:linear-gradient(180deg,#f0cfaa,#ae6d2c);height:56px}
.ev4x-questions-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.ev4x-question-card{border:1px solid #e4d1a1;background:#fffaf0;border-radius:18px;padding:16px;margin-top:14px}.ev4x-question-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ev4x-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ev4x-option-editor{border:1px solid #ead9b6;border-radius:16px;padding:12px;background:#fff}.ev4x-image-drop{border:2px dashed #cfbd8e;border-radius:16px;padding:12px;background:#fffef9;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.ev4x-image-drop-label{font-weight:700;color:#6a5420}.ev4x-image-preview{max-width:100%;max-height:180px;border-radius:12px;border:1px solid #e0d1aa}.ev4x-remove-image{margin-top:4px}
.ev4x-card-hero{max-width:980px;margin:26px auto;background:linear-gradient(180deg,#fffaf0,#f7efd8);border:1px solid #eadcbc;border-radius:28px;padding:24px;box-shadow:0 20px 50px rgba(0,0,0,.08);position:relative;overflow:hidden}.ev4x-card-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.45),transparent 30%,transparent 70%,rgba(111,160,71,.10));pointer-events:none}.ev4x-student-header{display:grid;grid-template-columns:80px 1fr;gap:18px;align-items:center}.ev4x-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.22em;color:#946a12;font-weight:900}.ev4x-card-hero h1{font-size:42px;line-height:1.05;margin:0;color:#101010}.ev4x-card-hero p{color:#4b4024}.ev4x-bamboo{width:68px;height:160px;border-radius:999px;background:linear-gradient(180deg,#7eb24d,#44772a);position:relative}.ev4x-bamboo:before,.ev4x-bamboo:after{content:"";position:absolute;left:0;right:0;height:6px;background:rgba(255,255,255,.32)}.ev4x-bamboo:before{top:46px}.ev4x-bamboo:after{top:98px}.ev4x-student-shell{margin-top:20px;min-height:430px;display:flex;align-items:center;justify-content:center}.ev4x-student-step{text-align:center;max-width:860px;width:100%}.ev4x-student-step h2{font-size:34px;margin:10px 0 8px}.ev4x-student-step input{width:min(100%,430px);padding:16px 18px;font-size:22px;border-radius:18px;border:2px solid #d5c191;background:#fff}.ev4x-student-step button{margin-top:14px;padding:16px 24px;font-size:22px;border:none;border-radius:18px;background:linear-gradient(180deg,#1f6b43,#164d31);color:#fff;font-weight:800;cursor:pointer}.ev4x-feedback{margin-top:16px;font-weight:700}.ev4x-panda-emoji{font-size:74px;line-height:1}.ev4x-panda-says{font-weight:800;color:var(--ev4x-green2);font-size:28px;margin-top:8px}.ev4x-question-text{font-size:34px;line-height:1.15;font-weight:900;margin:8px 0 14px;color:#111}.ev4x-panda-face{width:170px;height:150px;background:#fff;border-radius:50% 50% 45% 45%;margin:0 auto 18px;position:relative;box-shadow:inset 0 -12px 0 rgba(0,0,0,.03)}.ev4x-panda-face .ear{position:absolute;width:54px;height:54px;background:#111;border-radius:50%;top:-6px}.ev4x-panda-face .ear.left{left:18px}.ev4x-panda-face .ear.right{right:18px}.ev4x-panda-face .eye{position:absolute;width:32px;height:44px;background:#111;border-radius:50%;top:46px}.ev4x-panda-face .eye.left{left:42px;transform:rotate(18deg)}.ev4x-panda-face .eye.right{right:42px;transform:rotate(-18deg)}.ev4x-panda-face .nose{position:absolute;left:50%;top:82px;transform:translateX(-50%);width:22px;height:16px;background:#111;border-radius:50% 50% 65% 65%}.ev4x-panda-face .mouth{position:absolute;left:50%;top:102px;transform:translateX(-50%);width:38px;height:18px;border-bottom:4px solid #111;border-radius:0 0 20px 20px}
.ev4x-student-question-card{background:#fffdfa;border:1px solid #e8dab8;border-radius:22px;padding:18px;margin:14px 0;text-align:left}.ev4x-question-order{display:inline-flex;background:#e9f3ea;color:#145131;font-weight:800;border-radius:999px;padding:6px 12px;margin-bottom:8px}.ev4x-student-question-image,.ev4x-choice-image{max-width:100%;border-radius:14px;border:1px solid #e0d1aa;background:#fff;display:block;margin:10px 0}.ev4x-choice-box-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.ev4x-choice-card{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:flex-start;border:2px solid #d8cab0;border-radius:18px;padding:14px;background:#fff8eb;font-size:20px;font-weight:700;cursor:pointer;text-align:left}.ev4x-choice-card.is-selected{border-color:#1f6b43;background:#e6f4e7}.ev4x-choice-letter{width:42px;height:42px;border-radius:50%;background:#1f6b43;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.ev4x-choice-content{display:flex;flex-direction:column;gap:8px}.ev4x-choice-text{font-size:20px;line-height:1.25}.ev4x-student-open-answer{width:100%!important;font-size:22px!important;margin-top:10px}
.ev4x-projector{min-height:100vh;background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.22),transparent 15%),linear-gradient(180deg,#f8efdb,#f1dfb5);padding:24px;position:relative}.ev4x-projector-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.ev4x-projector-nav a{padding:10px 14px;border-radius:999px;background:#fff;color:#13422a;text-decoration:none;font-weight:800}.ev4x-projector-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}.ev4x-projector-card{background:rgba(255,251,243,.88);border:1px solid #e4d1a1;border-radius:28px;padding:24px;box-shadow:0 12px 34px rgba(0,0,0,.08)}.ev4x-projector-header h1{font-size:58px;line-height:1.02;margin:0 0 8px}.ev4x-projector-header p{font-size:22px;color:#43371e;margin:0}.ev4x-projector-panda{font-size:88px}.ev4x-projector-panda-says{font-size:28px;font-weight:900;color:var(--ev4x-green2);margin-top:6px}.ev4x-projector-question{font-size:56px;line-height:1.08;font-weight:900;margin-top:16px;color:#111}.ev4x-projector-status,.ev4x-projector-participants{margin-top:18px;font-size:28px;font-weight:800}.ev4x-projector-qr-full{min-height:85vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ev4x-projector-qr-full h1{font-size:72px;margin:0 0 16px}.ev4x-projector-qrbox{background:#fff;padding:26px;border-radius:24px;display:inline-flex;box-shadow:0 18px 50px rgba(0,0,0,.12)}.ev4x-projector-qr-url{font-size:26px;margin-top:18px;font-weight:700;overflow-wrap:anywhere;max-width:90vw}.ev4x-podium-xl{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:end;height:82vh;padding-top:18px}.ev4x-xl-place{text-align:center;display:flex;flex-direction:column;justify-content:flex-end;height:100%}.ev4x-xl-name{font-size:150px;font-weight:900;line-height:0.95;min-height:170px;display:flex;align-items:flex-end;justify-content:center;overflow-wrap:anywhere;text-shadow:0 2px 0 rgba(255,255,255,.25)}.ev4x-xl-time{font-size:28px;font-weight:800;margin:10px 0 14px;color:#4d4d4d}.ev4x-xl-block{border-radius:28px 28px 0 0;font-weight:900;color:#1e1300;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 28px rgba(0,0,0,.08)}.ev4x-xl-1 .ev4x-xl-block{height:330px;font-size:90px;background:linear-gradient(180deg,#f8e48b,#d49f1e)}.ev4x-xl-2 .ev4x-xl-block{height:255px;font-size:72px;background:linear-gradient(180deg,#eeeeee,#b9b9b9)}.ev4x-xl-3 .ev4x-xl-block{height:210px;font-size:66px;background:linear-gradient(180deg,#f0cfaa,#ae6d2c)}.ev4x-clap-panda{font-size:84px;text-align:center;margin:0 0 14px}.ev4x-projector-empty{font-size:34px;text-align:center;padding:80px 20px;font-weight:800;color:#5b4821}
@media (max-width:1100px){.ev4x-grid-admin,.ev4x-grid-admin-bottom,.ev4x-projector-layout{grid-template-columns:1fr}.ev4x-projector-header h1{font-size:42px}.ev4x-projector-question{font-size:36px}.ev4x-podium-xl{height:auto}.ev4x-xl-name{font-size:92px;min-height:110px}.ev4x-place-name{font-size:52px;min-height:64px}.ev4x-options-grid,.ev4x-choice-box-grid{grid-template-columns:1fr}}
@media (max-width:700px){.ev4x-student-header{grid-template-columns:1fr}.ev4x-bamboo{display:none}.ev4x-card-hero h1{font-size:30px}.ev4x-question-text{font-size:28px}.ev4x-projector{padding:14px}.ev4x-projector-qr-full h1{font-size:42px}.ev4x-question-card-header,.ev4x-questions-toolbar{flex-direction:column;align-items:flex-start}}


.ev4x-feedback{margin-top:22px}
.ev4x-feedback.is-visible{display:block}
.ev4x-result-card{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:24px;align-items:center;background:#fff;border-radius:28px;padding:22px 24px;box-shadow:0 16px 36px rgba(0,0,0,.10);border:3px solid #e9dec3}
.ev4x-result-card h3{font-size:36px;line-height:1.1;margin:0 0 10px;color:#172317}
.ev4x-result-card p{font-size:22px;line-height:1.45;margin:0;color:#433b2b}
.ev4x-result-panda svg{display:block;width:100%;height:auto;max-width:320px}
.ev4x-result-winner{border-color:#5db77d;background:linear-gradient(180deg,#fbfff9,#f1fff4)}
.ev4x-result-correct_not_top3{border-color:#d8b15f;background:linear-gradient(180deg,#fffdf7,#fff6e8)}
.ev4x-result-incorrect{border-color:#d88787;background:linear-gradient(180deg,#fffafa,#fff1f1)}
@media (max-width: 720px){
  .ev4x-result-card{grid-template-columns:1fr;text-align:center;padding:18px}
  .ev4x-result-card h3{font-size:28px}
  .ev4x-result-card p{font-size:19px}
  .ev4x-result-panda svg{max-width:260px;margin:0 auto}
}


.ev4x-question-card {
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}

.ev4x-question-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  background: #f8f5ee;
  list-style: none;
}

.ev4x-question-card-header::-webkit-details-marker {
  display: none;
}

.ev4x-question-card-header::before {
  content: '▸';
  font-size: 18px;
  color: #1d4f91;
  margin-right: 10px;
  transition: transform 0.2s ease;
}

.ev4x-question-card[open] .ev4x-question-card-header::before {
  transform: rotate(90deg);
}

.ev4x-question-summary-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ev4x-question-summary-type {
  font-size: 12px;
  font-weight: 600;
  color: #7a6b45;
  background: #fff;
  border: 1px solid #e0d7c4;
  border-radius: 999px;
  padding: 3px 9px;
}

.ev4x-question-card-body {
  padding: 16px;
  border-top: 1px solid #ece7da;
}


.ev4x-student-code-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;width:100%;max-width:560px;margin:0 auto 14px}.ev4x-student-code-grid input{width:100%}@media (max-width:640px){.ev4x-student-code-grid{grid-template-columns:1fr}}

.ev4x-open-answer-help{margin-top:6px;font-size:12px;line-height:1.45;color:#6b5a31}


.ev4x-panda-stage{position:relative;min-height:calc(100vh - 92px);border-radius:28px;overflow:hidden;background-color:#efe1bf;background-position:center center;background-repeat:no-repeat;background-size:contain;box-shadow:0 16px 42px rgba(0,0,0,.14)}
.ev4x-panda-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(244,232,201,.18) 0%,rgba(244,232,201,.02) 35%,rgba(234,220,183,.12) 100%);pointer-events:none}
.ev4x-panda-podium-wrap{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(38vw,620px);min-width:420px;max-width:46vw;padding-bottom:0;z-index:2}
.ev4x-podium-poster{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:end}
.ev4x-poster-place{text-align:center;display:flex;flex-direction:column;justify-content:flex-end}
.ev4x-poster-name{font-size:72px;font-weight:900;line-height:.95;min-height:84px;display:flex;align-items:flex-end;justify-content:center;overflow-wrap:anywhere;color:#3f3f3f;text-shadow:0 2px 0 rgba(255,255,255,.35)}
.ev4x-poster-time{font-size:18px;font-weight:800;margin:6px 0 10px;color:#454545;text-shadow:0 1px 0 rgba(255,255,255,.4)}
.ev4x-poster-block{border-radius:24px 24px 0 0;font-weight:900;color:#1e1300;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 22px rgba(0,0,0,.12)}
.ev4x-poster-1 .ev4x-poster-block{height:190px;font-size:64px;background:linear-gradient(180deg,#f8e48b,#d49f1e)}
.ev4x-poster-2 .ev4x-poster-block{height:148px;font-size:52px;background:linear-gradient(180deg,#eeeeee,#b9b9b9)}
.ev4x-poster-3 .ev4x-poster-block{height:122px;font-size:48px;background:linear-gradient(180deg,#f0cfaa,#ae6d2c)}
.ev4x-projector-empty-poster{background:rgba(255,248,233,.88);border:1px solid rgba(173,139,76,.35);border-radius:24px;padding:18px 24px;margin:0 auto 24px;max-width:520px;box-shadow:0 10px 24px rgba(0,0,0,.08)}
@media (max-width:1300px){.ev4x-panda-podium-wrap{width:min(42vw,580px);min-width:360px}.ev4x-poster-name{font-size:58px;min-height:70px}.ev4x-poster-1 .ev4x-poster-block{height:168px;font-size:56px}.ev4x-poster-2 .ev4x-poster-block{height:132px;font-size:46px}.ev4x-poster-3 .ev4x-poster-block{height:108px;font-size:42px}}
@media (max-width:900px){.ev4x-panda-stage{min-height:70vh;background-size:cover;background-position:center top}.ev4x-panda-podium-wrap{width:min(88vw,560px);min-width:0}.ev4x-poster-name{font-size:40px;min-height:52px}.ev4x-poster-time{font-size:14px}.ev4x-poster-1 .ev4x-poster-block{height:126px;font-size:42px}.ev4x-poster-2 .ev4x-poster-block{height:100px;font-size:34px}.ev4x-poster-3 .ev4x-poster-block{height:84px;font-size:30px}}


.ev4x-panda-podium-wrap{cursor:zoom-in}
.ev4x-panda-stage.is-zoomed{position:fixed;inset:0;min-height:100vh;border-radius:0;z-index:9999;background-size:cover;background-position:center center}
.ev4x-panda-stage.is-zoomed .ev4x-panda-overlay{background:linear-gradient(180deg,rgba(244,232,201,.12) 0%,rgba(244,232,201,.02) 30%,rgba(234,220,183,.10) 100%)}
.ev4x-panda-stage.is-zoomed .ev4x-panda-podium-wrap{width:min(60vw,980px);max-width:68vw;min-width:700px;bottom:2vh;cursor:zoom-out}
.ev4x-panda-stage.is-zoomed .ev4x-poster-name{font-size:116px;min-height:132px}
.ev4x-panda-stage.is-zoomed .ev4x-poster-time{font-size:30px;margin:12px 0 14px}
.ev4x-panda-stage.is-zoomed .ev4x-poster-1 .ev4x-poster-block{height:320px;font-size:94px}
.ev4x-panda-stage.is-zoomed .ev4x-poster-2 .ev4x-poster-block{height:248px;font-size:78px}
.ev4x-panda-stage.is-zoomed .ev4x-poster-3 .ev4x-poster-block{height:208px;font-size:70px}
.ev4x-panda-zoom-hint{margin-top:12px;text-align:center;font-size:16px;font-weight:800;color:#5c4720;text-shadow:0 1px 0 rgba(255,255,255,.55);letter-spacing:.02em}
.ev4x-panda-stage.is-zoomed .ev4x-panda-zoom-hint{display:none}
@media (max-width:1400px){.ev4x-panda-stage.is-zoomed .ev4x-panda-podium-wrap{width:min(66vw,920px);max-width:72vw;min-width:620px}.ev4x-panda-stage.is-zoomed .ev4x-poster-name{font-size:94px;min-height:112px}.ev4x-panda-stage.is-zoomed .ev4x-poster-1 .ev4x-poster-block{height:280px;font-size:82px}.ev4x-panda-stage.is-zoomed .ev4x-poster-2 .ev4x-poster-block{height:220px;font-size:68px}.ev4x-panda-stage.is-zoomed .ev4x-poster-3 .ev4x-poster-block{height:184px;font-size:62px}}
@media (max-width:980px){.ev4x-panda-stage.is-zoomed{background-size:cover;background-position:center top}.ev4x-panda-stage.is-zoomed .ev4x-panda-podium-wrap{width:min(94vw,760px);max-width:94vw;min-width:0;padding:0 14px 8px}.ev4x-panda-stage.is-zoomed .ev4x-poster-name{font-size:52px;min-height:68px}.ev4x-panda-stage.is-zoomed .ev4x-poster-time{font-size:16px}.ev4x-panda-stage.is-zoomed .ev4x-poster-1 .ev4x-poster-block{height:154px;font-size:48px}.ev4x-panda-stage.is-zoomed .ev4x-poster-2 .ev4x-poster-block{height:124px;font-size:40px}.ev4x-panda-stage.is-zoomed .ev4x-poster-3 .ev4x-poster-block{height:102px;font-size:36px}.ev4x-panda-stage.is-zoomed .ev4x-panda-zoom-hint{font-size:15px}}


.ev4x-panda-close{position:absolute;top:14px;right:14px;z-index:4;border:0;border-radius:999px;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,248,233,.08);color:rgba(75,58,24,.24);font-size:22px;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.04);cursor:pointer;backdrop-filter:blur(2px);opacity:.28;transition:transform .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease, color .16s ease}
.ev4x-panda-close:hover{transform:scale(1.05);background:rgba(255,250,240,.16);box-shadow:0 4px 12px rgba(0,0,0,.08);opacity:.55;color:rgba(75,58,24,.52)}
.ev4x-panda-close:focus-visible{outline:2px solid rgba(130,94,29,.18);outline-offset:2px;opacity:.65;color:rgba(75,58,24,.6)}
.ev4x-panda-stage.is-zoomed .ev4x-panda-close{top:18px;right:18px;width:46px;height:46px;font-size:24px}
@media (max-width:980px){.ev4x-panda-close,.ev4x-panda-stage.is-zoomed .ev4x-panda-close{top:10px;right:10px;width:40px;height:40px;font-size:20px}}
