/* ESINEV - "Así se estudia en ESINEV" public tour (theme/esinev/pages/demo.php). Prefix: evd- */
.evd {
    --evd-navy: #0F1B3D; --evd-blue: #21397D; --evd-yellow: #F9C41A; --evd-light: #E7ECFA;
    --evd-bg: #F5F7FC; --evd-line: #E1E6F3; --evd-muted: #6B7AA3; --evd-soft: #51608A; --evd-green: #2E7D6B;
    --evd-serif: "Source Serif 4", Georgia, serif;
    font-family: Raleway, system-ui, sans-serif; color: var(--evd-navy); position: relative;
}
.evd *, .evd *::before, .evd *::after { box-sizing: border-box; }
.evd-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.evd-wrap { max-width: 1320px; margin: 0 auto; }

/* Layout integration with the theme's catalogue layout: replace its hero with ours (full bleed). */
body.ev-demo-page { background: var(--evd-bg, #F5F7FC); }
body.ev-demo-catlayout .ev-catalogue-shell { overflow-x: clip; }
body.ev-demo-catlayout .ev-catalogue-hero { display: none; }
body.ev-demo-catlayout .ev-catalogue-top { padding-bottom: 0; border-radius: 0; }
body.ev-demo-catlayout .ev-catalogue-body { margin-top: 0; }
body.ev-demo-page #region-main { background: transparent; border: 0; padding: 0; }
body.ev-demo-embedded #page { padding: 0; margin: 0; }
body.ev-demo-embedded #region-main-box, body.ev-demo-embedded #region-main { padding: 0; }

/* ---------- Hero ---------- */
.evd-hero { position: relative; overflow: hidden; background: var(--evd-navy); color: var(--evd-light);
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px 0 84px; border-radius: 0 0 36px 36px; }
.evd-hero-in { position: relative; z-index: 1; padding: 0 32px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; animation: evd-up .8s cubic-bezier(.2,.8,.2,1) both; }
.evd-logo { height: 44px; width: auto; margin-bottom: 10px; }
.evd .evd-h1 { max-width: 900px; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.evd-hero .ev-lead { max-width: 680px; }
.evd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.evd-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: evd-drift 18s ease-in-out infinite; }
.evd-orb-1 { width: 560px; height: 560px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(33,57,125,.95) 0%, rgba(33,57,125,0) 65%); }
.evd-orb-2 { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(249,196,26,.2) 0%, rgba(249,196,26,0) 65%); animation-delay: -7s; }

/* ---------- Tour ---------- */
.evd-tour { position: relative; z-index: 2; margin-top: -44px; background: #fff; border: 1px solid var(--evd-line); border-radius: 28px; padding: 26px 30px 24px; box-shadow: 0 40px 80px -50px rgba(15,27,61,.55); }
.evd-hint { margin: 0 0 14px; font-size: 14px; color: var(--evd-muted); font-weight: 600; }
.evd-tabs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding-bottom: 12px; }
.evd-tab { display: flex; align-items: center; gap: 10px; font: inherit; text-align: left; cursor: pointer; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--evd-line); background: var(--evd-bg); color: var(--evd-navy); font-weight: 700; font-size: 14px; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.evd-tab:hover { transform: translateY(-2px); border-color: rgba(33,57,125,.4); }
.evd-tab:focus-visible, .evd-btn:focus-visible, .evd-opt:focus-visible, .evd-sug:focus-visible, .evd-share:focus-visible, .evd-playbtn:focus-visible { outline: 3px solid rgba(249,196,26,.9); outline-offset: 2px; }
.evd-tab-n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--evd-blue); font-family: var(--evd-serif); font-size: 16px; border: 1px solid var(--evd-line); transition: background .3s, color .3s; }
.evd-tab-l { line-height: 1.2; }
.evd-tab.is-active { background: var(--evd-navy); color: #fff; border-color: var(--evd-navy); }
.evd-tab.is-active .evd-tab-n { background: var(--evd-yellow); color: var(--evd-navy); border-color: transparent; }
.evd-tab.is-seen:not(.is-active) .evd-tab-n { background: var(--evd-light); }
.evd-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--evd-light); overflow: hidden; }
.evd-tabbar span { display: block; height: 100%; width: 16.66%; background: var(--evd-yellow); border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }

.evd-panels { position: relative; margin-top: 22px; }
.evd-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 36px; align-items: start; }
.evd-panel[hidden] { display: none; }
.evd-panel.is-active .evd-copy { animation: evd-up .55s cubic-bezier(.2,.8,.2,1) both; }
.evd-panel.is-active .evd-win { animation: evd-pop .6s cubic-bezier(.2,.8,.2,1) both; }
.evd-copy { padding-top: 10px; display: flex; flex-direction: column; gap: 14px; }
.evd-stepk { font-size: 12px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; color: var(--evd-blue); }
.evd .evd-h2 { font-family: var(--evd-serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; margin: 0; color: var(--evd-navy); }
.evd-copy > p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--evd-soft); }
.evd-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.evd-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.evd-points .evd-ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--evd-yellow); color: var(--evd-navy); stroke-width: 3; }

/* App window */
.evd-win { background: #fff; border: 1px solid var(--evd-line); border-radius: 22px; overflow: hidden; box-shadow: 0 36px 70px -40px rgba(15,27,61,.6); }
.evd-winbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--evd-navy); color: #fff; }
.evd-lights { display: inline-flex; gap: 6px; }
.evd-lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); display: block; }
.evd-lights i:first-child { background: var(--evd-yellow); }
.evd-wintitle { flex: 1 1 auto; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #C9D3EE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-me { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--evd-yellow); color: var(--evd-navy); font-size: 11px; font-weight: 800; }
.evd-winbody { padding: 20px; background: var(--evd-bg); min-height: 440px; }

/* Shared bits inside the window */
.evd-card { background: #fff; border: 1px solid var(--evd-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.evd-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--evd-blue); }
.evd-kick .evd-ic { width: 15px; height: 15px; }
.evd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s, background .25s, color .25s, box-shadow .25s; text-decoration: none; }
.evd-btn:hover { transform: translateY(-2px); }
.evd-btn:disabled { opacity: .5; cursor: default; transform: none; }
.evd-btn-sm { padding: 7px 14px; font-size: 13px; }
.evd-btn-brand { background: var(--evd-blue); color: #fff; }
.evd-btn-brand:hover { background: var(--evd-navy); color: #fff; }
.evd-btn-accent { background: var(--evd-yellow); color: var(--evd-navy); }
.evd-btn-outline { background: #fff; color: var(--evd-blue); border-color: rgba(33,57,125,.35); }
.evd-btn-outline:hover { border-color: var(--evd-blue); }
.evd-btn.is-pulsing { animation: evd-ping .7s ease-out; }
.evd-bar { height: 8px; border-radius: 8px; background: var(--evd-light); overflow: hidden; }
.evd-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--evd-blue), #3D5DB8); border-radius: 8px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

/* Step 1 */
.evd-s1 { display: flex; flex-direction: column; gap: 14px; }
.evd-hello { margin: 0; font-family: var(--evd-serif); font-size: 22px; font-weight: 600; }
.evd-hello span { font-family: Raleway, sans-serif; font-size: 13px; color: var(--evd-muted); font-weight: 600; }
.evd-continue { background: var(--evd-navy); border-color: var(--evd-navy); color: #fff; }
.evd-continue .evd-kick { color: var(--evd-yellow); }
.evd-ctitle { font-family: var(--evd-serif); font-size: 20px; font-weight: 600; line-height: 1.25; }
.evd-csub { font-size: 13px; color: #C9D3EE; }
.evd-continue .evd-bar { background: rgba(255,255,255,.15); }
.evd-continue .evd-bar span { background: var(--evd-yellow); }
.evd-crow { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #C9D3EE; }
.evd-crow b { font-family: var(--evd-serif); font-size: 20px; color: #fff; }
.evd-crow .evd-btn-brand { background: var(--evd-yellow); color: var(--evd-navy); }
.evd-grid2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
.evd-big { font-family: var(--evd-serif); font-size: 26px; font-weight: 700; }
.evd-days { display: flex; gap: 5px; }
.evd-day { flex: 1 1 0; display: grid; place-items: center; height: 30px; border-radius: 9px; background: var(--evd-light); color: var(--evd-muted); font-size: 11px; }
.evd-day.is-on { background: var(--evd-yellow); color: var(--evd-navy); }
.evd-panel.is-active .evd-day.is-on { animation: evd-pop .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms + .25s); }
.evd-week ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.evd-week li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; font-weight: 600; }
.evd-week li b { min-width: 38px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--evd-blue); }
.evd-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.evd-shortcuts span { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid var(--evd-line); border-radius: 14px; padding: 12px; font-size: 12px; font-weight: 700; }
.evd-shortcuts .evd-ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--evd-light); color: var(--evd-blue); }

/* Step 2 */
.evd-routehead { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--evd-soft); margin-bottom: 12px; }
.evd-routehead b { color: var(--evd-blue); }
.evd-mods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.evd-mods::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 3px; background: var(--evd-light); border-radius: 3px; }
.evd-mod { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.evd-panel.is-active .evd-mod { animation: evd-up .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.evd-mod-node { position: relative; z-index: 1; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--evd-line); color: var(--evd-muted); font-weight: 800; font-family: var(--evd-serif); }
.evd-mod-node .evd-ic { width: 16px; height: 16px; }
.evd-mod.is-done .evd-mod-node { background: var(--evd-green); border-color: var(--evd-green); color: #fff; }
.evd-mod.is-current .evd-mod-node { background: var(--evd-yellow); border-color: var(--evd-yellow); color: var(--evd-navy); box-shadow: 0 0 0 6px rgba(249,196,26,.25); }
.evd-mod-body { flex: 1 1 auto; min-width: 0; background: #fff; border: 1px solid var(--evd-line); border-radius: 14px; padding: 9px 12px; display: flex; flex-direction: column; gap: 6px; }
.evd-mod.is-current .evd-mod-body { border-color: var(--evd-yellow); box-shadow: 0 16px 30px -24px rgba(15,27,61,.6); }
.evd-mod.is-locked .evd-mod-body { opacity: .62; }
.evd-mod-body strong { font-size: 14px; line-height: 1.25; }
.evd-mod-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }
.evd-mod-k { color: var(--evd-blue); letter-spacing: .06em; text-transform: uppercase; }
.evd-state { padding: 2px 8px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; background: var(--evd-light); color: var(--evd-muted); }
.is-done .evd-state { background: #E6F4F0; color: var(--evd-green); }
.is-current .evd-state { background: var(--evd-yellow); color: var(--evd-navy); }
.evd-mod-n { margin-left: auto; color: var(--evd-soft); }
.evd-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.evd-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--evd-bg); color: var(--evd-soft); border: 1px solid var(--evd-line); }
.evd-chip .evd-ic { width: 12px; height: 12px; }
.evd-chip.is-done { background: #E6F4F0; color: var(--evd-green); border-color: transparent; }
.evd-mod:not(.is-current) .evd-chips { display: none; }
.evd-mod.is-current .evd-btn { align-self: flex-start; }

/* Step 3 */
.evd-s3 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; align-items: start; }
.evd-player { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; background: var(--evd-navy); }
.evd-screen { position: relative; height: 200px; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(61,93,184,.8), rgba(15,27,61,1) 70%); }
.evd-stage-art { position: absolute; inset: 0; }
.evd-booth { position: absolute; bottom: 36px; height: 54px; border: 2px solid rgba(231,236,250,.35); border-radius: 6px; transform: skewX(-12deg); }
.evd-booth-a { left: 8%; width: 16%; border-right-color: transparent; }
.evd-booth-b { left: 30%; width: 16%; border-top-color: transparent; }
.evd-booth-c { left: 54%; width: 16%; border-color: rgba(249,196,26,.7); }
.evd-booth-d { left: 76%; width: 16%; background: rgba(249,196,26,.18); border-color: var(--evd-yellow); }
.evd-player.is-playing .evd-booth { animation: evd-bob 1.6s ease-in-out infinite; }
.evd-player.is-playing .evd-booth-b { animation-delay: -.4s; } .evd-player.is-playing .evd-booth-c { animation-delay: -.8s; } .evd-player.is-playing .evd-booth-d { animation-delay: -1.2s; }
.evd-vtitle { position: absolute; left: 16px; top: 14px; right: 16px; color: #fff; font-weight: 700; font-size: 14px; }
.evd-playbtn { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--evd-yellow); color: var(--evd-navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 0 rgba(249,196,26,.6); animation: evd-ring 2.2s ease-out infinite; transition: transform .25s, opacity .3s; }
.evd-playbtn .evd-ic { width: 26px; height: 26px; fill: currentColor; }
.evd-playbtn:hover { transform: scale(1.06); }
.evd-player.is-playing .evd-playbtn { opacity: 0; pointer-events: none; transform: scale(.6); }
.evd-controls { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #C9D3EE; font-size: 12px; font-weight: 700; }
.evd-track { flex: 1 1 auto; height: 5px; border-radius: 5px; background: rgba(255,255,255,.15); overflow: hidden; }
.evd-track span { display: block; height: 100%; width: 0; background: var(--evd-yellow); }
.evd-ideas ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.45; }
.evd-quiz { grid-row: span 2; gap: 12px; }
.evd-quizhead { display: flex; justify-content: space-between; align-items: center; }
.evd-quizhead b { font-family: var(--evd-serif); color: var(--evd-blue); }
.evd-q p { margin: 0 0 6px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.evd-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.evd-opt { font: inherit; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--evd-line); background: var(--evd-bg); color: var(--evd-navy); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.evd-opt:hover:not(:disabled) { border-color: var(--evd-blue); transform: translateY(-1px); }
.evd-opt:disabled { cursor: default; }
.evd-opt.is-right { background: #E6F4F0; border-color: var(--evd-green); color: var(--evd-green); }
.evd-opt.is-wrong { background: #FDECEC; border-color: #D9534F; color: #B42318; animation: evd-shake .4s; }
.evd-fb { margin: 6px 0 0 !important; font-size: 12px !important; font-weight: 600 !important; min-height: 0; }
.evd-fb.is-ok { color: var(--evd-green); } .evd-fb.is-ko { color: #B42318; }
.evd-case { align-items: flex-start; align-self: start; }
.evd-s3 { grid-template-rows: auto auto 1fr; }
.evd-case p { margin: 0; font-size: 13px; line-height: 1.45; }
.evd-case-a { background: var(--evd-light); border-radius: 12px; padding: 10px 12px; animation: evd-up .4s both; }


/* Step 4 */
.evd-s4 { display: flex; flex-direction: column; gap: 12px; }
.evd-chat { display: flex; flex-direction: column; gap: 10px; min-height: 210px; max-height: 330px; overflow-y: auto; padding: 4px; }
.evd-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 92%; animation: evd-up .35s cubic-bezier(.2,.8,.2,1) both; }
.evd-msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; background: #fff; border: 1px solid var(--evd-line); border-bottom-left-radius: 4px; }
.evd-me-msg { align-self: flex-end; flex-direction: row-reverse; }
.evd-me-msg p { background: var(--evd-blue); color: #fff; border-color: var(--evd-blue); border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.evd-ava { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--evd-yellow); color: var(--evd-navy); }
.evd-ava-bot { background: var(--evd-navy); color: var(--evd-yellow); }
.evd-ava-bot .evd-ic { width: 16px; height: 16px; }
.evd-typing p { display: inline-flex; gap: 4px; padding: 14px 16px; }
.evd-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--evd-muted); animation: evd-dot 1s infinite ease-in-out; }
.evd-typing i:nth-child(2) { animation-delay: .15s; } .evd-typing i:nth-child(3) { animation-delay: .3s; }
.evd-sugs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.evd-sugs .evd-kick { width: 100%; }
.evd-sug { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(33,57,125,.3); background: #fff; color: var(--evd-blue); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.evd-sug:hover:not(:disabled) { background: var(--evd-blue); color: #fff; transform: translateY(-2px); }
.evd-sug:disabled { opacity: .45; cursor: default; }
.evd-input { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--evd-line); border-radius: 999px; padding: 8px 8px 8px 16px; color: var(--evd-muted); font-size: 14px; }
.evd-send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--evd-light); color: var(--evd-blue); }
.evd-note { margin: 0; font-size: 12px; color: var(--evd-muted); }

/* Step 5 */
.evd-s5 { display: flex; flex-direction: column; gap: 16px; }
.evd-diploma { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(135deg, #fff, #FFF8E1); border: 1px solid var(--evd-line); overflow: hidden; }
.evd-dip-inner { position: relative; border: 2px solid rgba(33,57,125,.18); border-radius: 12px; padding: 26px 22px; min-height: 250px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    filter: blur(6px) grayscale(1); opacity: calc(.35 + var(--p, 0) * .55); transition: filter .6s, opacity .6s; }
.evd-dip-k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--evd-blue); }
.evd-dip-certifies, .evd-dip-text { font-size: 13px; color: var(--evd-soft); }
.evd-dip-name { font-family: var(--evd-serif); font-size: 30px; font-style: italic; font-weight: 600; }
.evd-dip-course { font-family: var(--evd-serif); font-size: 19px; font-weight: 700; color: var(--evd-blue); max-width: 420px; }
.evd-dip-meta { font-size: 12px; font-weight: 700; color: var(--evd-muted); margin-top: 6px; }
.evd-seal { position: absolute; right: 16px; bottom: 14px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--evd-yellow); color: var(--evd-navy); transform: scale(0) rotate(-40deg); transition: transform .6s cubic-bezier(.3,1.6,.5,1) .3s; }
.evd-seal .evd-ic { width: 30px; height: 30px; }
.evd-s5.is-complete .evd-dip-inner { filter: none; opacity: 1; }
.evd-s5.is-complete .evd-seal { transform: none; }
.evd-segs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.evd-seg { display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: 11px; font-weight: 800; color: var(--evd-muted); }
.evd-seg i { display: block; width: 100%; height: 10px; border-radius: 6px; background: var(--evd-light); transition: background .4s, transform .4s; }
.evd-seg.is-on { color: var(--evd-blue); }
.evd-seg.is-on i { background: var(--evd-yellow); animation: evd-pop .45s cubic-bezier(.2,.8,.2,1); }
.evd-s5.is-complete .evd-seg i { background: var(--evd-green); }
.evd-dip-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.evd-dip-count { font-weight: 700; font-size: 14px; color: var(--evd-soft); }
.evd-dip-count b { font-family: var(--evd-serif); font-size: 24px; color: var(--evd-navy); }
.evd-confetti { position: absolute; inset: 0; pointer-events: none; }
.evd-confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: evd-fall 1.8s cubic-bezier(.3,.6,.5,1) forwards; }

/* Step 6 */
.evd-s6 { display: flex; flex-direction: column; gap: 14px; }
.evd-mates { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.evd-mates li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "a n" "a c"; column-gap: 10px; align-items: center; background: var(--evd-bg); border-radius: 14px; padding: 8px 10px; }
.evd-panel.is-active .evd-mates li { animation: evd-pop .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms); }
.evd-mates .evd-ava { grid-area: a; width: 38px; height: 38px; font-size: 12px; }
.evd-mates b { grid-area: n; font-size: 13px; }
.evd-mates small { grid-area: c; display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--evd-muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-mates small .evd-ic { width: 12px; height: 12px; }
.evd-ava-1 { background: var(--evd-blue); color: #fff; } .evd-ava-2 { background: var(--evd-green); color: #fff; } .evd-ava-3 { background: var(--evd-navy); color: var(--evd-yellow); }
.evd-ava-4 { background: #C9D3EE; color: var(--evd-navy); } .evd-ava-5 { background: #F6A55C; color: var(--evd-navy); }
.evd-vs-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.evd-vs-side { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.evd-vs-side:last-child { text-align: right; }
.evd-vs-side em { font-style: normal; font-family: var(--evd-serif); font-weight: 700; font-size: 22px; color: var(--evd-blue); }
.evd-vs-bar { display: block; height: 10px; border-radius: 10px; background: var(--evd-light); overflow: hidden; }
.evd-vs-bar span { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--evd-yellow); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.evd-vs-b span { background: var(--evd-blue); margin-left: auto; }
.evd-panel.is-active .evd-vs-bar span { width: var(--w); }
.evd-vs-badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--evd-navy); color: var(--evd-yellow); font-weight: 800; font-family: var(--evd-serif); }
.evd-vs .evd-btn { align-self: flex-start; }
.evd-companies { display: flex; flex-wrap: wrap; gap: 8px; }
.evd-companies span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--evd-bg); border: 1px solid var(--evd-line); font-size: 13px; font-weight: 700; }
.evd-companies .evd-ic { width: 14px; height: 14px; color: var(--evd-blue); }

/* Pager */
.evd-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--evd-line); }
.evd-pos { font-weight: 700; color: var(--evd-muted); }
.evd-pos b { font-family: var(--evd-serif); font-size: 22px; color: var(--evd-navy); }

/* Courses */
.evd-courses { margin-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.evd-courses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.evd-courses-head .evd-h2 { margin-top: 6px; }
.evd-empty { color: var(--evd-muted); font-weight: 600; }
.evd .ev-ccard-title a { color: var(--evd-navy); }

/* Share + toast */
.evd-share { position: fixed; z-index: 1030; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: 14px; padding: 12px 18px; border-radius: 999px; border: 0; background: var(--evd-navy); color: #fff; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(15,27,61,.7); transition: transform .25s, background .25s; }
.evd-share:hover { transform: translateY(-3px); background: var(--evd-blue); }
.evd-share .evd-ic { color: var(--evd-yellow); }
.evd-toast { position: fixed; z-index: 1031; left: 50%; bottom: 84px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--evd-yellow); color: var(--evd-navy); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; transition: opacity .3s, transform .3s; }
.evd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Keyframes */
@keyframes evd-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes evd-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes evd-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes evd-ring { 0% { box-shadow: 0 0 0 0 rgba(249,196,26,.6); } 100% { box-shadow: 0 0 0 22px rgba(249,196,26,0); } }
@keyframes evd-ping { 0% { box-shadow: 0 0 0 0 rgba(249,196,26,.8); } 100% { box-shadow: 0 0 0 14px rgba(249,196,26,0); } }
@keyframes evd-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes evd-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes evd-bob { 0%, 100% { transform: skewX(-12deg) translateY(0); } 50% { transform: skewX(-12deg) translateY(-8px); } }
@keyframes evd-fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(330px) rotate(540deg); opacity: 0; } }

/* Responsive */
@media (max-width: 1100px) {
    .evd-tab { flex-direction: column; text-align: center; gap: 6px; font-size: 12px; padding: 10px 6px; }
}
@media (max-width: 899.98px) {
    .evd-hero { padding: 40px 0 72px; border-radius: 0 0 24px 24px; }
    .evd-hero-in { padding: 0 18px; }
    .evd-tour { padding: 18px 14px; border-radius: 22px; margin-top: -40px; }
    .evd-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .evd-tabs::-webkit-scrollbar { display: none; }
    .evd-tab { flex: 0 0 auto; flex-direction: row; scroll-snap-align: start; font-size: 13px; padding: 8px 12px 8px 8px; }
    .evd-tabbar { display: none; }
    .evd-panel { grid-template-columns: 1fr; gap: 20px; }
    .evd-winbody { padding: 12px; min-height: 0; }
    .evd-s3 { grid-template-columns: 1fr; grid-template-rows: none; }
    .evd-quiz { grid-row: auto; }
    .evd-grid2 { grid-template-columns: 1fr; }
    .evd-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .evd-mates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .evd-share span { display: none; }
    .evd-share { padding: 14px; right: 16px; bottom: 16px; }
    .evd-pager .evd-btn { padding: 10px 14px; }
    .evd-courses { margin-top: 40px; }
}
@media (max-width: 420px) {
    .evd-vs-row { grid-template-columns: 1fr; text-align: left; }
    .evd-vs-side:last-child { text-align: left; }
    .evd-vs-badge { width: 36px; height: 36px; }
    .evd-dip-name { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .evd *, .evd *::before, .evd *::after { animation: none !important; transition: none !important; }
    .evd-tab:hover, .evd-btn:hover, .evd-share:hover { transform: none; }
}
