/* Aether product detail drawer */
.ea-product-detail { position:fixed; inset:0; z-index:1100; visibility:hidden; pointer-events:none; }
.ea-product-detail.open { visibility:visible; pointer-events:auto; }
.ea-product-detail-scrim { position:absolute; inset:0; background:rgba(0,8,7,.64); opacity:0; backdrop-filter:blur(8px); transition:opacity .48s var(--ease); touch-action:none; }
.ea-product-detail.open .ea-product-detail-scrim { opacity:1; }
.ea-product-detail-sheet { position:absolute; top:0; right:0; width:min(820px,92vw); height:100%; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; touch-action:pan-y; color:#eefaf5; background:radial-gradient(circle at 82% 8%,rgba(121,251,195,.11),transparent 28%),linear-gradient(145deg,#061713 0%,#04110f 58%,#020b0a 100%); border-left:1px solid rgba(121,251,195,.18); box-shadow:-36px 0 100px rgba(0,0,0,.36); transform:translateX(102%); transition:transform .72s var(--ease); scrollbar-width:thin; scrollbar-color:rgba(121,251,195,.28) transparent; }
.ea-product-detail.open .ea-product-detail-sheet { transform:translateX(0); }
.ea-product-detail-inner { min-height:100%; padding:28px clamp(24px,4.2vw,62px) 46px; }
.ea-product-detail-close { position:sticky; z-index:8; top:0; margin-left:auto; display:grid; place-items:center; width:46px; aspect-ratio:1; border:1px solid rgba(235,255,248,.16); border-radius:50%; color:#f3fff9; background:rgba(4,19,16,.72); backdrop-filter:blur(15px); font-size:23px; cursor:pointer; transition:transform .3s,border-color .3s,background .3s; }
.ea-product-detail-close:hover { transform:rotate(8deg); border-color:rgba(121,251,195,.44); background:rgba(121,251,195,.08); }
.ea-product-hero { position:relative; min-height:214px; padding:32px 0 38px 186px; border-bottom:1px solid rgba(230,255,247,.12); }
.ea-product-hero-model { position:absolute; left:0; top:24px; width:154px; aspect-ratio:1; overflow:hidden; border:1px solid rgba(121,251,195,.16); border-radius:22px; background:radial-gradient(circle at 50% 48%,rgba(121,251,195,.16),transparent 46%),rgba(3,17,14,.5); box-shadow:0 18px 50px rgba(0,0,0,.2),inset 0 0 34px rgba(121,251,195,.035); }
.ea-product-hero-model::after { content:""; position:absolute; left:11px; bottom:11px; z-index:2; width:6px; height:6px; border-radius:50%; background:var(--mint); box-shadow:0 0 12px rgba(121,251,195,.85); pointer-events:none; }
.ea-product-hero-model canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.ea-product-preview-canvas { z-index:1; opacity:1; pointer-events:none; }
.ea-product-eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 17px; color:rgba(188,255,232,.68); font-size:13px; letter-spacing:.16em; text-transform:uppercase; }
.ea-product-eyebrow::before { content:""; width:32px; height:1px; background:var(--mint); }
.ea-product-title { margin:0; max-width:640px; font-size:clamp(54px,6.2vw,92px); line-height:.9; letter-spacing:-.06em; font-weight:400; }
.ea-product-lead { max-width:620px; margin:26px 0 0; color:rgba(233,250,243,.7); font-size:15px; line-height:1.72; }
.ea-product-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.ea-product-tag { display:inline-flex; align-items:center; padding:8px 11px; border:1px solid rgba(121,251,195,.14); border-radius:999px; color:rgba(223,255,244,.7); background:rgba(121,251,195,.035); font-size:13px; letter-spacing:.11em; text-transform:uppercase; }
.ea-product-tag--state { display:inline-flex; align-items:center; gap:8px; }
.ea-product-tag--state::before { content:""; display:block; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#ff5b56; box-shadow:0 0 12px rgba(255,91,86,.72); }
.ea-product-tag--state[data-state="owned"] { border-color:rgba(116,232,198,.4); color:var(--mint); background:rgba(116,232,198,.055); }
.ea-product-tag--state[data-state="owned"]::before { background:var(--mint); box-shadow:0 0 12px rgba(116,232,198,.88); }
.ea-product-tag--state[data-state="run"] { border-color:rgba(116,232,198,.58); color:var(--mint); background:rgba(116,232,198,.09); box-shadow:0 0 20px rgba(116,232,198,.08); }
.ea-product-tag--state[data-state="run"]::before { background:var(--mint); box-shadow:0 0 13px rgba(116,232,198,.95); animation:drawerRunPulse 1.35s ease-in-out infinite; }
@keyframes drawerRunPulse { 50% { opacity:.45; box-shadow:0 0 20px rgba(116,232,198,.55); } }
.ea-product-tag--state[data-state="locked"] { border-color:rgba(255,88,82,.42); color:#ff8a86; background:rgba(255,88,82,.055); }
.ea-product-tag--state[data-state="locked"]::before { background:#ff5b56; box-shadow:0 0 12px rgba(255,91,86,.8); }

.ea-product-section { padding:34px 0; border-bottom:1px solid rgba(230,255,247,.1); }
.ea-product-section-head { display:grid; grid-template-columns:120px 1fr; gap:26px; margin-bottom:24px; }
.ea-product-no { color:var(--mint); font-size:13px; letter-spacing:.13em; }
.ea-product-section h3 { margin:0; font-size:clamp(26px,3.2vw,42px); line-height:1; letter-spacing:-.04em; font-weight:400; }
.ea-product-copy { max-width:650px; margin-left:146px; color:rgba(231,247,240,.67); font-size:13px; line-height:1.72; }
.ea-product-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-left:146px; }
.ea-product-feature { min-height:140px; padding:18px; border:1px solid rgba(225,255,246,.1); border-radius:16px; background:rgba(255,255,255,.025); }
.ea-product-feature small { display:block; margin-bottom:20px; color:rgba(121,251,195,.62); font-size:13px; letter-spacing:.12em; text-transform:uppercase; }
.ea-product-feature strong { display:block; margin-bottom:8px; color:#effbf6; font-size:17px; font-weight:500; letter-spacing:-.02em; }
.ea-product-feature p { margin:0; color:rgba(231,247,240,.6); font-size:13px; line-height:1.58; }
.ea-product-warning { margin-left:146px; padding:18px 20px; border:1px solid rgba(255,220,145,.17); border-radius:16px; background:rgba(255,205,103,.035); color:rgba(241,248,244,.72); font-size:13px; line-height:1.7; }
.ea-product-warning b { color:#fff1c8; font-weight:500; }
.ea-product-steps { display:grid; gap:10px; margin-left:146px; }
.ea-product-step { display:grid; grid-template-columns:46px 1fr; gap:15px; align-items:start; padding:15px 0; border-bottom:1px solid rgba(230,255,247,.08); }
.ea-product-step:last-child { border-bottom:0; }
.ea-product-step span { display:grid; place-items:center; width:36px; aspect-ratio:1; border:1px solid rgba(121,251,195,.2); border-radius:50%; color:var(--mint); font-size:13px; }
.ea-product-step b { display:block; margin:1px 0 5px; color:#eefaf5; font-size:13px; font-weight:500; }
.ea-product-step p { margin:0; color:rgba(230,247,240,.58); font-size:13px; line-height:1.55; }
.ea-product-control-flow { margin-left:146px; padding:20px; border:1px solid rgba(121,251,195,.14); border-radius:18px; background:linear-gradient(135deg,rgba(121,251,195,.055),rgba(255,255,255,.015)); }
.ea-product-control-flow strong { display:block; margin-bottom:10px; color:#f0fcf7; font-size:14px; font-weight:500; }
.ea-product-control-flow p { margin:0; color:rgba(229,248,240,.62); font-size:13px; line-height:1.65; }
.ea-product-price-section { margin:34px 0 4px; padding:28px; border:1px solid rgba(121,251,195,.18); border-radius:24px; background:radial-gradient(circle at 84% 4%,rgba(121,251,195,.09),transparent 33%),rgba(255,255,255,.025); }
.ea-product-price-label { margin:0 0 20px; color:rgba(198,255,237,.55); font-size:13px; letter-spacing:.14em; text-transform:uppercase; }
.ea-product-price-row { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:end; padding:17px 0; border-top:1px solid rgba(231,255,247,.08); }
.ea-product-price-row:first-of-type { border-top:0; padding-top:0; }
.ea-product-price-row small { display:block; margin-bottom:5px; color:rgba(229,247,240,.48); font-size:13px; letter-spacing:.09em; text-transform:uppercase; }
.ea-product-price-row strong { display:block; color:#f4fff9; font-size:clamp(31px,4vw,48px); line-height:1; font-weight:500; letter-spacing:-.045em; }
.ea-product-price-row span { padding-bottom:5px; color:rgba(230,248,241,.58); font-size:13px; }
.ea-product-trial-row { display:flex; justify-content:space-between; gap:18px; margin-bottom:14px; padding:13px 15px; border:1px solid rgba(239,255,249,.12); border-radius:13px; color:rgba(241,255,250,.76); background:rgba(255,255,255,.025); font-size:13px; }
.ea-product-saving { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; color:rgba(229,246,240,.42); font-size:13px; }
.ea-product-saving del { text-decoration-thickness:1px; }
.ea-product-saving b { padding:7px 10px; border:1px solid rgba(121,251,195,.32); border-radius:999px; color:var(--mint); font-size:13px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
.ea-product-rent { width:100%; min-height:58px; margin-top:24px; display:flex; align-items:center; justify-content:space-between; padding:0 22px; border:0; border-radius:999px; color:#03120f; background:var(--mint); font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; transition:transform .3s,box-shadow .3s; }
.ea-product-rent:hover { transform:translateY(-2px); box-shadow:0 14px 40px rgba(121,251,195,.13); }
.ea-product-rent-secondary { margin-top:12px; color:#eafff7; background:rgba(121,251,195,.08); border:1px solid rgba(121,251,195,.3); }
html[lang="en"] .ea-product-th { display:none!important; }
html[lang="th"] .ea-product-en { display:none!important; }
body.ea-product-open { overflow:hidden; }
body.ea-product-open .language-switcher { z-index:1250; pointer-events:auto; }
@media (pointer:fine) {
  body.ea-product-open .cursor, body.ea-product-open .cursor-ring { opacity:0!important; visibility:hidden!important; }
  body.ea-product-open .ea-product-detail, body.ea-product-open .ea-product-detail * { cursor:default!important; }
  body.ea-product-open .ea-product-detail button, body.ea-product-open .ea-product-detail a, body.ea-product-open .language-option { cursor:pointer!important; }
}

@media (max-width:700px){
  .ea-product-detail-sheet { top:auto; bottom:0; width:100%; height:min(94dvh,920px); max-height:94dvh; border-left:0; border-top:1px solid rgba(121,251,195,.18); border-radius:24px 24px 0 0; transform:translateY(102%); }
  .ea-product-detail.open .ea-product-detail-sheet { transform:translateY(0); }
  .ea-product-detail-inner { padding:18px 18px 34px; }
  .ea-product-detail-close { width:42px; }
  .ea-product-hero { min-height:152px; padding:18px 0 30px 124px; }
  .ea-product-hero-model { top:16px; width:106px; border-radius:17px; }
  .ea-product-hero-model::after { left:8px; bottom:8px; }
  .ea-product-title { font-size:clamp(48px,14vw,68px); }
  .ea-product-lead { margin-top:20px; font-size:13px; line-height:1.65; }
  .ea-product-section { padding:28px 0; }
  .ea-product-section-head { grid-template-columns:54px 1fr; gap:10px; margin-bottom:18px; }
  .ea-product-section h3 { font-size:29px; }
  .ea-product-copy,.ea-product-feature-grid,.ea-product-warning,.ea-product-steps,.ea-product-control-flow { margin-left:64px; }
  .ea-product-feature-grid { grid-template-columns:1fr; }
  .ea-product-feature { min-height:0; }
  .ea-product-price-section { margin-top:26px; padding:20px; border-radius:20px; }
  .ea-product-price-row strong { font-size:34px; }
}
@media (max-width:430px){
  .ea-product-copy,.ea-product-feature-grid,.ea-product-warning,.ea-product-steps,.ea-product-control-flow { margin-left:0; }
  .ea-product-section-head { grid-template-columns:44px 1fr; }
}

/* Product share / copy / star engagement ---------------------------------- */
.ea-product-engagement{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px 0 18px;border-bottom:1px solid rgba(230,255,247,.1)}
.ea-product-social,.ea-product-star{display:inline-flex;align-items:center;gap:9px;min-height:38px;padding:0 13px;border:1px solid rgba(121,251,195,.18);border-radius:999px;background:rgba(121,251,195,.035);color:rgba(236,255,248,.76);font:700 11px/1 inherit;letter-spacing:.09em;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}
.ea-product-social:hover,.ea-product-star:not(:disabled):hover{border-color:rgba(121,251,195,.5);background:rgba(121,251,195,.08);color:#f2fff9;transform:translateY(-1px)}
.ea-product-social i,.ea-product-star i{font-style:normal;color:var(--mint);font-size:15px}
.ea-product-star b{min-width:22px;color:var(--mint);font-size:12px;font-weight:700;text-align:right}
.ea-product-star.is-starred{border-color:rgba(243,200,108,.4);background:rgba(243,200,108,.07);color:#ffe2a0}
.ea-product-star.is-starred i,.ea-product-star.is-starred b{color:#f3c86c}
.ea-product-star:disabled{cursor:default;opacity:1}
.ea-product-star.is-loading{opacity:.55}
.ea-product-engagement-status{flex:1 1 100%;min-height:14px;color:rgba(229,248,240,.44);font-size:11px;letter-spacing:.06em}
.ea-product-engagement-status[data-state="success"]{color:var(--mint)}
.ea-product-engagement-status[data-state="error"]{color:#ff8a86}
@media(max-width:700px){.ea-product-engagement{gap:6px;padding-top:13px}.ea-product-social,.ea-product-star{min-height:35px;padding:0 11px;font-size:10px}}


/* Shared EA Performance columns + zoom viewer ---------------------------- */
.ea-product-performance-section{position:relative}
.ea-performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-left:146px}
.ea-performance-period{min-width:0;padding:14px;border:1px solid rgba(121,251,195,.13);border-radius:18px;background:linear-gradient(145deg,rgba(121,251,195,.035),rgba(255,255,255,.018));overflow:hidden}
.ea-performance-period>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:4px 3px 13px;border-bottom:1px solid rgba(230,255,247,.08)}
.ea-performance-period>header span{color:rgba(121,251,195,.62);font-size:10px;letter-spacing:.13em}
.ea-performance-period>header h4{margin:0;color:#effbf6;font-size:17px;font-weight:500;letter-spacing:-.02em;text-align:right}
.ea-performance-gallery{display:grid;gap:8px;padding-top:12px}.ea-performance-gallery--2,.ea-performance-gallery--3{grid-template-columns:1fr 1fr}.ea-performance-gallery--3 .ea-performance-shot:first-child{grid-column:1/-1}
.ea-performance-shot{position:relative;display:block;width:100%;min-width:0;padding:0;border:1px solid rgba(222,255,246,.1);border-radius:12px;overflow:hidden;background:#07100f;cursor:zoom-in;text-align:left;transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease}
.ea-performance-shot:hover{border-color:rgba(121,251,195,.4);transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.2)}
.ea-performance-shot img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center;background:#111}
.ea-performance-shot>span{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:28px 9px 8px;background:linear-gradient(to bottom,transparent,rgba(1,10,8,.92));color:#fff}
.ea-performance-shot>span b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500}.ea-performance-shot>span small{flex:0 0 auto;color:var(--mint);font-size:8px;letter-spacing:.04em}
.ea-performance-placeholder{min-height:182px;margin-top:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed rgba(121,251,195,.16);border-radius:13px;background:radial-gradient(circle,rgba(121,251,195,.04),transparent 62%)}
.ea-performance-placeholder i{width:52px;height:38px;margin-bottom:13px;border:1px solid rgba(121,251,195,.28);border-radius:8px;position:relative}.ea-performance-placeholder i:before{content:"";position:absolute;left:9px;right:9px;bottom:8px;height:14px;clip-path:polygon(0 100%,34% 35%,52% 63%,73% 18%,100% 100%);background:rgba(121,251,195,.28)}
.ea-performance-placeholder strong{color:rgba(235,255,248,.65);font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}.ea-performance-placeholder small{max-width:210px;margin-top:6px;color:rgba(229,248,240,.38);font-size:10px;line-height:1.5}
.ea-performance-note{margin:12px 0 0 146px;color:rgba(229,248,240,.38);font-size:10px;line-height:1.55}
.ea-performance-lightbox{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}.ea-performance-lightbox.open{visibility:visible;opacity:1;pointer-events:auto}
.ea-performance-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,5,4,.92);backdrop-filter:blur(14px)}
.ea-performance-lightbox-dialog{position:relative;z-index:1;width:min(96vw,1500px);height:min(92vh,980px);display:grid;grid-template-columns:58px minmax(0,1fr) 58px;grid-template-rows:62px minmax(0,1fr) 44px;border:1px solid rgba(121,251,195,.2);border-radius:22px;overflow:hidden;background:#03100d;box-shadow:0 40px 120px rgba(0,0,0,.6)}
.ea-performance-lightbox-dialog>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;border-bottom:1px solid rgba(230,255,247,.1);background:rgba(4,20,17,.9)}
.ea-performance-lightbox-dialog>header>div:first-child{min-width:0}.ea-performance-lightbox-dialog>header span{display:block;color:var(--mint);font-size:9px;letter-spacing:.15em;text-transform:uppercase}.ea-performance-lightbox-dialog>header strong{display:block;max-width:60vw;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f1fff9;font-size:13px;font-weight:500}
.ea-performance-lightbox-tools{display:flex;gap:6px}.ea-performance-lightbox-tools button,.ea-performance-nav{display:grid;place-items:center;border:1px solid rgba(121,251,195,.18);color:#eafff7;background:rgba(121,251,195,.04);cursor:pointer}.ea-performance-lightbox-tools button{min-width:36px;height:36px;border-radius:999px;font:500 13px/1 inherit}.ea-performance-lightbox-tools [data-performance-reset]{min-width:58px;font-size:10px}.ea-performance-lightbox-tools .ea-performance-lightbox-close{font-size:19px}
.ea-performance-stage{grid-column:2;grid-row:2;position:relative;overflow:hidden;display:grid;place-items:center;touch-action:none;cursor:zoom-in;background:radial-gradient(circle at 50% 45%,rgba(121,251,195,.045),transparent 38%),#020907}.ea-performance-stage.is-dragging{cursor:grabbing}.ea-performance-stage img{display:block;max-width:94%;max-height:94%;object-fit:contain;user-select:none;-webkit-user-drag:none;transform-origin:center;transition:transform .08s linear}.ea-performance-stage.is-dragging img{transition:none}
.ea-performance-nav{grid-row:2;width:42px;height:58px;align-self:center;justify-self:center;border-radius:999px;font-size:30px}.ea-performance-prev{grid-column:1}.ea-performance-next{grid-column:3}.ea-performance-nav:hover,.ea-performance-lightbox-tools button:hover{border-color:rgba(121,251,195,.5);background:rgba(121,251,195,.09)}
.ea-performance-lightbox-dialog>footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-top:1px solid rgba(230,255,247,.08);color:rgba(229,248,240,.46);font-size:9px;letter-spacing:.09em}.ea-performance-lightbox-dialog>footer span{color:var(--mint)}
body.ea-performance-viewing{overflow:hidden!important}
@media(max-width:700px){.ea-performance-grid{grid-template-columns:1fr;margin-left:64px}.ea-performance-note{margin-left:64px}.ea-performance-lightbox-dialog{width:100vw;height:100dvh;border:0;border-radius:0;grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:60px minmax(0,1fr) 38px}.ea-performance-lightbox-dialog>header{padding:0 10px}.ea-performance-lightbox-tools button{min-width:32px;height:32px}.ea-performance-lightbox-tools [data-performance-reset]{min-width:48px}.ea-performance-nav{width:34px;height:48px}.ea-performance-lightbox-dialog>footer{padding:0 10px}.ea-performance-lightbox-dialog>footer small{display:none}}
@media(max-width:430px){.ea-performance-grid,.ea-performance-note{margin-left:0}.ea-performance-gallery--2,.ea-performance-gallery--3{grid-template-columns:1fr}.ea-performance-gallery--3 .ea-performance-shot:first-child{grid-column:auto}.ea-performance-shot img{aspect-ratio:16/9}}


/* v0.62 — restored compact Member login slide from the established Member design */
/* Member login lives inside the EA slide card -------------------------------- */
.member-auth-section{padding-bottom:42px}
.member-card-login{display:grid;gap:14px;margin-left:146px;max-width:560px}
.member-card-login>label{display:grid;gap:8px}
.member-card-login>label>span{color:rgba(210,250,236,.58);font-size:11px;font-weight:700;letter-spacing:.12em}
.member-card-login input{width:100%;height:52px;padding:0 15px;border:1px solid rgba(121,251,195,.2);border-radius:14px;outline:0;background:rgba(0,9,8,.38);color:#effbf6;font:inherit;font-size:14px;transition:border-color .2s,background .2s,box-shadow .2s}
.member-card-login input:focus{border-color:rgba(121,251,195,.62);background:rgba(121,251,195,.035);box-shadow:0 0 0 3px rgba(121,251,195,.045)}
.member-card-password{position:relative}
.member-card-password input{padding-right:76px}
.member-card-password button{position:absolute;top:50%;right:8px;min-width:58px;height:36px;border:0;border-radius:999px;transform:translateY(-50%);background:rgba(121,251,195,.08);color:var(--mint);font-size:10px;font-weight:700;letter-spacing:.08em}
.member-card-login-status{min-height:19px;margin:0;color:var(--mint);font-size:12px;line-height:1.45}
.member-card-login-status.is-error{color:#ff8a86}
.member-card-login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:0 18px;border:1px solid rgba(121,251,195,.42);border-radius:999px;background:var(--mint);color:#06100f;font-size:12px;font-weight:800;letter-spacing:.09em;transition:transform .2s,box-shadow .2s,opacity .2s}
.member-card-login-submit:hover{transform:translateY(-1px);box-shadow:0 14px 36px rgba(121,251,195,.13)}
.member-card-login-submit:disabled{opacity:.58;pointer-events:none}
.member-card-login-submit b{font-size:17px;font-weight:400}
.member-card-login-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 0 146px;max-width:560px;padding-top:16px;border-top:1px solid rgba(230,255,247,.08)}
.member-card-login-foot p{margin:0;color:rgba(229,248,240,.46);font-size:12px}
.member-card-login-foot a{display:inline-flex;align-items:center;gap:8px;color:var(--mint);font-size:11px;font-weight:700;letter-spacing:.08em;text-decoration:none;white-space:nowrap}
@media(max-width:700px){.member-card-login,.member-card-login-foot{margin-left:64px}.member-auth-section{padding-bottom:32px}}
@media(max-width:430px){.member-card-login,.member-card-login-foot{margin-left:0}.member-card-login-foot{align-items:flex-start;flex-direction:column}}

/* v0.23 — clean login/recovery-only Member card */
.member-auth-hero--clean .ea-product-title{max-width:700px}
.member-auth-view[hidden]{display:none!important}
.member-card-login-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:-2px}
.member-card-remember{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;color:rgba(225,246,238,.42);font-size:11px;letter-spacing:.02em}
.member-card-remember input{width:14px!important;height:14px!important;padding:0!important;accent-color:var(--mint);opacity:.65}
.member-card-remember span{color:rgba(225,246,238,.42)!important;font-size:11px!important;font-weight:500!important;letter-spacing:.02em!important}
.member-card-text-action,.member-card-back{border:0;background:transparent;color:var(--mint);font:inherit;font-size:11px;font-weight:700;letter-spacing:.07em;cursor:pointer;padding:4px 0}
.member-card-text-action:hover,.member-card-back:hover{color:#effff9}
.member-card-recovery-head{display:grid;gap:8px;padding:0 0 8px}
.member-card-recovery-head small{color:var(--mint);font-size:10px;font-weight:700;letter-spacing:.14em}
.member-card-recovery-head strong{color:#f1fff9;font-size:24px;font-weight:400;letter-spacing:-.035em}
.member-card-recovery-head p{margin:0;color:rgba(229,248,240,.5);font-size:12px;line-height:1.6}
.member-card-login-foot--clean{justify-content:space-between}
.member-card-login-foot--clean p{max-width:340px}
@media(max-width:430px){.member-card-login-tools{align-items:flex-start;flex-direction:column;gap:8px}.member-card-login-foot--clean{gap:9px}}


/* v0.24 — minimal login-only card; no EA/product visual before authentication */
.member-auth-hero--minimal{
  min-height:0;
  padding:38px 0 34px!important;
}
.member-auth-hero--minimal .ea-product-title{
  max-width:none;
  font-size:clamp(58px,7vw,94px);
}
.member-auth-hero--minimal .ea-product-lead{
  max-width:520px;
  margin-top:20px;
}
.member-auth-section--minimal{
  padding-top:32px;
}
.member-auth-section--minimal .member-card-login,
.member-auth-section--minimal .member-card-login-foot{
  margin-left:0;
  max-width:560px;
}
.member-auth-secure-note{
  color:rgba(225,246,238,.42);
  font-size:11px;
  letter-spacing:.02em;
}
@media(max-width:700px){
  .member-auth-hero--minimal{padding:24px 0 28px!important;}
  .member-auth-hero--minimal .ea-product-title{font-size:clamp(48px,14vw,68px);}
  .member-auth-section--minimal{padding-top:26px;}
}

/* v0.29 — compact login drawer only. EA/Stats drawers keep their existing width. */
@media (min-width:701px){
  .ea-product-detail-sheet:has(.member-auth-section--minimal){
    width:min(620px,88vw);
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .ea-product-detail-inner{
    padding-left:44px;
    padding-right:44px;
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-auth-hero--minimal{
    padding-top:20px!important;
    padding-bottom:26px!important;
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-auth-hero--minimal .ea-product-title{
    font-size:clamp(58px,5.4vw,78px);
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-auth-hero--minimal .ea-product-lead{
    max-width:none;
    margin-top:15px;
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-auth-section--minimal{
    padding-top:24px;
  }
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-card-login,
  .ea-product-detail-sheet:has(.member-auth-section--minimal) .member-card-login-foot{
    width:100%;
    max-width:none;
  }
}


/* v0.63 — login slide is authentication-only; never render an EA 3D model */
.ea-product-detail-sheet:has(.member-auth-section--minimal) .ea-product-hero-model,
.member-auth-hero--minimal .ea-product-hero-model,
.member-auth-section--minimal canvas.product-model3d{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* v1.10 — unified 01–05 EA card system */
.ea-product-standard-section .ea-product-section-head h3,.ea-product-performance-section .ea-product-section-head h3{font-size:clamp(25px,3vw,38px)}
.ea-slide-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-left:146px}
.ea-slide-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-left:146px}
.ea-slide-profile-grid .ea-slide-info-card:last-child:nth-child(odd){grid-column:1/-1}
.ea-slide-info-card{min-height:142px;padding:18px;border:1px solid rgba(225,255,246,.1);border-radius:16px;background:rgba(255,255,255,.022)}
.ea-slide-info-card>small{display:block;margin-bottom:6px;color:rgba(121,251,195,.62);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.ea-slide-info-card>strong{display:block;margin-bottom:16px;color:#effbf6;font-size:17px;font-weight:500;letter-spacing:-.02em}
.ea-slide-info-card>p,.ea-slide-info-card li{color:rgba(231,247,240,.6);font-size:13px;line-height:1.62}
.ea-slide-info-card>p{margin:0}.ea-slide-info-card>ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.ea-slide-info-card li{position:relative;padding-left:15px}.ea-slide-info-card li:before{content:'•';position:absolute;left:0;color:var(--mint)}.ea-slide-empty{opacity:.55}
.ea-slide-access-grid{align-items:stretch}.ea-slide-plan-list{display:grid;gap:7px;margin-top:2px}.ea-slide-plan{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid rgba(230,255,247,.08);border-radius:12px;background:rgba(0,9,8,.22)}.ea-slide-plan span{color:rgba(231,247,240,.56);font-size:12px}.ea-slide-plan b{color:#effbf6;font-size:14px;font-weight:600}.ea-slide-plan--empty{opacity:.7}.ea-slide-access-actions .ea-product-rent{margin-top:10px}.ea-slide-access-actions>p{margin-bottom:10px}
.ea-compare-video{margin:18px 0 0 146px;padding:14px;border:1px solid rgba(225,255,246,.1);border-radius:18px;background:rgba(255,255,255,.018)}.ea-compare-video-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.ea-compare-video-head span{color:var(--mint);font-size:9px;font-weight:700;letter-spacing:.13em}.ea-compare-video-head strong{color:rgba(239,251,246,.68);font-size:11px;font-weight:500}.ea-compare-video-frame{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:13px;background:#020907}.ea-compare-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:700px){.ea-slide-info-grid,.ea-slide-profile-grid,.ea-compare-video{margin-left:64px}.ea-slide-info-grid,.ea-slide-profile-grid{grid-template-columns:1fr}.ea-slide-profile-grid .ea-slide-info-card:last-child:nth-child(odd){grid-column:auto}}
@media(max-width:430px){.ea-slide-info-grid,.ea-slide-profile-grid,.ea-compare-video{margin-left:0}.ea-slide-info-card{min-height:0}.ea-compare-video-head{align-items:flex-start;flex-direction:column;gap:4px}}

/* v1.20 — dynamic Compare albums */
.ea-performance-grid[data-album-count="1"]{grid-template-columns:minmax(0,1fr)}
.ea-performance-grid[data-album-count="1"] .ea-performance-period{max-width:none}
.ea-performance-gallery--4{grid-template-columns:1fr 1fr}
.ea-product-performance-section--albums-hidden .ea-product-section-head{margin-bottom:4px}
.ea-product-performance-section--albums-hidden .ea-compare-video{margin-top:14px}
@media(max-width:700px){.ea-performance-grid[data-album-count]{grid-template-columns:1fr}}
@media(max-width:430px){.ea-performance-gallery--4{grid-template-columns:1fr}}

/* Thai slide headings: tighter tracking so Thai labels read naturally */
html[lang="th"] .ea-product-standard-section .ea-product-no,
html[lang="th"] .ea-product-standard-section .ea-slide-info-card>small{letter-spacing:.04em;text-transform:none}
html[lang="th"] .ea-product-standard-section .ea-product-section-head h3{letter-spacing:-.01em;line-height:1.15}

/* Image viewer: JS sizes the image to fit the frame (whole upload visible at 100%); zoom/pan via transform */
.ea-performance-stage{display:block;overscroll-behavior:contain;user-select:none}
.ea-performance-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform:translate(-50%,-50%);will-change:transform}
.ea-performance-stage.is-zoomed{cursor:grab}
.ea-performance-stage.is-zoomed.is-dragging{cursor:grabbing}

/* ===== Max drawdown (Admin > Slide Content) ===== */
.ea-card-dd,.ea-slide-dd-card{--dd:#f3c86c;--dd-soft:rgba(243,200,108,.1);--dd-line:rgba(243,200,108,.32)}
.ea-card-dd.is-low,.ea-slide-dd-card.is-low{--dd:#65f2ce;--dd-soft:rgba(101,242,206,.08);--dd-line:rgba(101,242,206,.3)}
.ea-card-dd.is-high,.ea-slide-dd-card.is-high{--dd:#ff8a6a;--dd-soft:rgba(255,138,106,.1);--dd-line:rgba(255,138,106,.34)}
.ea-card-dd{position:relative;margin:16px 0 6px;padding:13px 15px 12px;border:1px solid var(--dd-line);border-radius:16px;background:linear-gradient(135deg,var(--dd-soft),rgba(255,255,255,.015) 70%);overflow:hidden}
.ea-card-dd::after{content:'';position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,var(--dd-soft),transparent 70%);pointer-events:none}
.ea-card-dd-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ea-card-dd-label{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--dd);text-transform:uppercase}
.ea-card-dd-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ea-card-dd-value{font-size:28px;font-weight:600;line-height:1;letter-spacing:-.04em;color:#f4fbf8;font-variant-numeric:tabular-nums}
.ea-card-dd-meter,.ea-slide-dd-meter{height:5px;margin-top:11px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
.ea-card-dd-meter i,.ea-slide-dd-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,rgba(101,242,206,.9),var(--dd));box-shadow:0 0 12px var(--dd-line)}
.ea-card-dd-caption{margin:8px 0 0;font-size:11px;line-height:1.45;color:rgba(222,240,233,.6)}
html[lang="th"] .ea-card-dd-label{letter-spacing:.06em}

.ea-slide-dd-card{border-color:var(--dd-line)!important;background:linear-gradient(150deg,var(--dd-soft),rgba(255,255,255,.012) 65%)!important}
.ea-slide-dd-card>small{color:var(--dd)!important}
.ea-slide-dd-value{margin-top:14px;font-size:clamp(38px,4vw,52px);font-weight:600;line-height:.95;letter-spacing:-.055em;color:var(--dd);font-variant-numeric:tabular-nums}
.ea-slide-dd-caption{margin:10px 0 0!important;font-size:13px;color:rgba(222,240,233,.66)}

/* ===== EA manual PDF card (02 / Trading character, 4th cell) ===== */
.ea-slide-manual-card{position:relative;display:flex!important;flex-direction:column;gap:6px;text-decoration:none;color:inherit;overflow:hidden;cursor:pointer;
  border:1px solid rgba(114,237,197,.42)!important;background:radial-gradient(circle at 85% 12%,rgba(114,237,197,.22),transparent 45%),linear-gradient(155deg,rgba(18,70,56,.92),rgba(6,26,21,.95))!important;
  box-shadow:0 0 0 1px rgba(114,237,197,.08),0 18px 50px rgba(0,0,0,.28),inset 0 0 40px rgba(114,237,197,.06);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.ea-slide-manual-card:hover,.ea-slide-manual-card:focus-visible{transform:translateY(-3px);border-color:rgba(114,237,197,.75)!important;box-shadow:0 0 0 1px rgba(114,237,197,.2),0 24px 60px rgba(0,0,0,.32),0 0 40px rgba(114,237,197,.18);outline:none}
.ea-slide-manual-icon{position:relative;display:grid;place-items:center;width:58px;height:58px;margin-bottom:10px;border-radius:16px;background:rgba(114,237,197,.12);border:1px solid rgba(114,237,197,.35);color:#7ff3cf}
.ea-slide-manual-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.ea-slide-manual-icon b{position:absolute;right:-8px;bottom:-7px;padding:2px 6px;border-radius:6px;background:#ff6b5e;color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em}
.ea-slide-manual-card>small{color:#7ff3cf!important}
.ea-slide-manual-card>strong{font-size:22px!important}
.ea-slide-manual-card>p{margin:0!important;color:rgba(222,240,233,.7)!important}
.ea-slide-manual-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;align-self:stretch;margin-top:auto;padding:14px 18px;border-radius:999px;background:#72edc5;color:#03140f;font-size:12px;font-weight:800;letter-spacing:.12em}
.ea-slide-manual-cta i{font-style:normal;font-size:15px;transition:transform .3s ease}
.ea-slide-manual-card:hover .ea-slide-manual-cta i{transform:translate(3px,-3px)}
.ea-slide-manual-card{padding-bottom:22px!important}
html[lang="th"] .ea-slide-manual-cta{letter-spacing:.04em}

/* ===== EA Space card: Backtest block (Capital / Net Profit / Max Equity DD / Win Rate) ===== */
.ea-card-bt{position:relative;margin:16px 0 6px;padding:13px 14px 11px;border:1px solid rgba(114,237,197,.22);border-radius:18px;background:linear-gradient(150deg,rgba(114,237,197,.07),rgba(255,255,255,.012) 60%);overflow:hidden}
.ea-card-bt::after{content:'';position:absolute;right:-40px;top:-50px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(114,237,197,.12),transparent 70%);pointer-events:none}
.ea-card-bt-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ea-card-bt-head span{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.2em;color:#7ff3cf}
.ea-card-bt-head svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ea-card-bt-head em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:10px;letter-spacing:.04em;color:rgba(222,240,233,.55)}
.ea-card-bt-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ea-card-bt-tile{--tone:#f4fbf8;min-width:0;padding:10px 12px 11px;border-radius:13px;background:rgba(2,14,11,.45);border:1px solid rgba(255,255,255,.05)}
.ea-card-bt-tile small{display:block;font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(185,229,214,.62)}
.ea-card-bt-tile b{display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:600;line-height:1.05;letter-spacing:-.03em;color:var(--tone);font-variant-numeric:tabular-nums}
.ea-card-bt-tile.is-pos{--tone:#65f2ce}.ea-card-bt-tile.is-neg{--tone:#ff8a6a}
.ea-card-bt-tile.is-dd{--tone:#f3c86c}.ea-card-bt-tile.is-dd.is-low{--tone:#65f2ce}.ea-card-bt-tile.is-dd.is-high{--tone:#ff8a6a}
.ea-card-bt-meter{display:block;height:4px;margin-top:9px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
.ea-card-bt-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,rgba(101,242,206,.85),var(--tone))}
.ea-card-bt-meter.is-win i{background:linear-gradient(90deg,rgba(101,242,206,.5),#65f2ce)}
.ea-card-bt-foot{position:relative;margin:9px 0 0;font-size:10px;line-height:1.4;color:rgba(222,240,233,.42)}
@media(max-width:640px){.ea-card-bt-tile b{font-size:18px}}
.ea-card-bt-tile b{white-space:normal;overflow-wrap:anywhere}
.ea-card-bt-cur{margin-left:4px;font-size:.58em;font-weight:600;letter-spacing:.04em;opacity:.7}
@media(max-width:640px){.ea-card-bt{padding:12px 12px 10px}.ea-card-bt-tile{padding:9px 10px 10px}.ea-card-bt-tile b{font-size:17px}.ea-card-bt-head em{font-size:9px}}
