/* EPT CINEMA LUXE V5 — independent account and EPT Card visual layer.
   Only styles the new UI, never the original player or media. */
.ept-card-quick{display:inline-flex;align-items:center;gap:6px;padding:10px 13px;border-radius:14px;border:1px solid #6eeeff65;background:linear-gradient(112deg,#062f55cc,#133a77aa 48%,#371f87aa);color:#d8fbff;box-shadow:0 0 23px #12baff24,inset 0 0 14px #39d6ff1b;cursor:pointer;font:700 11px/1.1 system-ui,sans-serif;letter-spacing:.6px;white-space:nowrap}
.ept-card-quick:hover,.ept-card-quick:focus-visible{box-shadow:0 0 30px #27d9ff68;border-color:#80f5ff}
.ept-card-quick:first-letter{font-size:16px}
.ept-membership-section{margin:85px 0 0;padding:55px clamp(24px,5vw,72px);border-radius:30px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,430px);gap:36px;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 79% 46%,#09609f96,transparent 51%),radial-gradient(ellipse at 19% 25%,#7122ad77,transparent 60%),linear-gradient(115deg,#120b30,#091329 67%,#070b22);border:1px solid #89abff68;box-shadow:inset 0 1px #c9bdff33,0 15px 60px #0008}
.ept-membership-section:before{content:"";pointer-events:none;position:absolute;width:450px;height:450px;left:0;bottom:-390px;background:#c03aff77;filter:blur(90px)}
.ept-membership-copy{position:relative;z-index:1}
.ept-membership-copy h2{font-size:clamp(27px,3vw,42px);line-height:1.6;font-weight:800;margin:10px 0}
.ept-membership-copy h2 span{color:#5deaff;text-shadow:0 0 28px #2aafff}
.ept-membership-copy p{color:#d8d1ed;font-size:14px;line-height:2;max-width:510px}
.ept-membership-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:26px}
.ept-membership-actions>span{font-size:11px;color:#b6e7ec}
.ept-card-mini{width:100%;max-width:430px;min-height:245px;aspect-ratio:1.7;margin:auto;transform:rotate(-6deg);padding:28px 31px;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;color:#f3fcff;border-radius:23px;border:1.5px solid #a7dfff92;background:radial-gradient(ellipse at 10% 120%,#1ca8ed8e,transparent 45%),linear-gradient(125deg,#071426,#0b2b54 43%,#141a50 85%,#070b22);box-shadow:0 25px 65px #000b,inset 0 1px #ffffff7f,inset 0 -2px #0b62ac,0 0 40px #06b7ff59}
.ept-card-mini:before,.ept-card-physical:before{content:"";position:absolute;inset:-35%;pointer-events:none;background:repeating-linear-gradient(130deg,transparent 0 64px,#ffffff07 68px 69px,transparent 72px 135px);transform:rotate(8deg)}
.ept-card-mini:after,.ept-card-physical:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #ffffff57;box-shadow:inset 0 0 18px #7febff3d}
.ept-card-mini-top,.ept-card-mini-bottom{display:flex;align-items:center;justify-content:space-between;z-index:1}
.ept-card-mini-top b{font-size:30px;letter-spacing:5px;text-shadow:0 0 20px #7cd9ff}.ept-card-mini-top span{font-size:12px;letter-spacing:3px;color:#98ebff}.ept-card-mini-chip{width:40px;height:31px;border-radius:6px;border:1px solid #f8d78a;position:relative;background:linear-gradient(135deg,#7b5622,#edc87b 40%,#af802f 75%,#fff6b2);box-shadow:0 0 22px #ffcf7684;z-index:1}.ept-card-mini-chip:before{content:"";position:absolute;inset:7px 0;border-top:1px solid #966023;border-bottom:1px solid #966023}
.ept-card-mini>strong{font:600 clamp(17px,2.6vw,23px)/1.2 ui-monospace,Consolas,monospace;direction:ltr;letter-spacing:2px;text-align:left;z-index:1}
.ept-card-mini-bottom{font:700 11px ui-sans-serif,sans-serif;letter-spacing:2px}.ept-card-mini-bottom span:last-child{font-size:24px;color:#d6e5ff}
.ept-account-dialog{position:fixed;inset:0;width:min(1020px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 28px);height:auto;min-height:600px;padding:0;border:1px solid #a17dff8a;border-radius:27px;background:#0c0c25;color:#fff;overflow:hidden;box-shadow:0 40px 135px #000f,0 0 90px #7d35ed61}
.ept-account-dialog::backdrop{background:#010211db;backdrop-filter:blur(11px)}
.ept-auth-layout{display:grid;grid-template-columns:minmax(0,39%) minmax(0,61%);direction:ltr;min-height:600px}
.ept-auth-art{direction:rtl;position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:39px 33px;min-height:600px;background:radial-gradient(ellipse at 50% 32%,#8539edbd,transparent 44%),radial-gradient(ellipse at 0 90%,#155dff95,transparent 52%),linear-gradient(140deg,#1e0b53,#071538 68%,#0d0d30);border-right:1px solid #ffffff27}
.ept-auth-glow{position:absolute;inset:-16%;background:radial-gradient(ellipse at 50% 45%,transparent 14%,#e4acff1c 15% 17%,transparent 19% 30%,#7597ff39 31% 32%,transparent 35% 46%,#c77aff22 47% 48%,transparent 52%);filter:drop-shadow(0 0 24px #b44dff);pointer-events:none;z-index:-1}
.ept-auth-lock{font-size:31px;color:#b0f3ff;text-shadow:0 0 18px #49d7ff}
.ept-auth-hero{margin:auto 0 25px}.ept-auth-hero>span{font:700 11px ui-sans-serif,sans-serif;letter-spacing:4px;color:#95eaff}.ept-auth-hero h2{font-size:clamp(31px,3vw,45px);line-height:1.6;margin:15px 0;color:white}.ept-auth-hero h2 em{font-style:normal;color:#ec8eff;text-shadow:0 0 24px #a42cfb}.ept-auth-hero p{font-size:13px;line-height:2;color:#e7def9;max-width:270px}.ept-auth-art-foot{font-size:11px;letter-spacing:2px;color:#c6d7ff}
.ept-auth-main{direction:rtl;min-width:0;padding:31px clamp(21px,3.5vw,45px);max-height:calc(100dvh - 28px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8d54ba transparent}
.ept-account-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.ept-account-kicker{font:700 10px ui-sans-serif,sans-serif;letter-spacing:2.6px;color:#a5dfff}.ept-account-head h2{font-size:24px;margin:8px 0 0;color:#fff}
.ept-auth-close{border:1px solid #a5b5e74f;border-radius:12px;background:#ffffff0c;color:white;font-size:19px;width:39px;height:39px;cursor:pointer}
.ept-auth-close:hover{border-color:#aafaff;background:#ffffff19}
.ept-connection-notice{font-size:11px;color:#b4d1ed;line-height:1.8;padding:10px 13px;border-radius:10px;border:1px solid #58cbff44;background:#18406337;margin:16px 0 13px}
.ept-connection-notice.offline{border-color:#ddb6747d;background:#55402140;color:#f9dfad}
.ept-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:17px 0;padding:5px;background:#060a1b;border:1px solid #ffffff19;border-radius:14px}.ept-auth-tabs button{border:0;cursor:pointer;border-radius:11px;color:#bbbcde;background:transparent;padding:12px;font:700 13px inherit}.ept-auth-tabs button.selected{background:linear-gradient(105deg,#7435e5,#3653c5);color:white;box-shadow:0 4px 16px #7c34ec76}
.ept-auth-intro{margin:9px 0 17px;color:#bab9d0;font-size:12px;line-height:2}.ept-field{display:flex;flex-direction:column;gap:7px;margin-bottom:13px;min-width:0}.ept-field>span:first-child{font-size:11px;color:#dcdaf4;font-weight:600}.ept-field input{appearance:none;width:100%;height:46px;padding:0 13px;border-radius:11px;background:#070b23;color:#f4f5ff;border:1px solid #49517b;font:500 14px system-ui,sans-serif;outline:none}.ept-field input::placeholder{color:#817f9d}.ept-field input:focus{border-color:#8de8ff;box-shadow:0 0 0 3px #3484ff2c}.ept-field input[dir=ltr]{text-align:left}.ept-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ept-password-wrap{display:flex;position:relative}.ept-password-wrap input{padding-left:44px}.ept-password-wrap button{position:absolute;left:6px;top:5px;width:36px;height:36px;border:0;border-radius:9px;background:#ffffff09;color:#a9c5e4;cursor:pointer}
.ept-auth-tools,.ept-otp-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.ept-text-button{font:600 12px inherit;border:0;background:transparent;color:#8bddff;cursor:pointer;padding:6px 0}.ept-text-button:hover{text-decoration:underline}.ept-text-button.danger{color:#ff9cae}
.ept-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:49px;border:1px solid #c48cff75;border-radius:12px;color:#fff;font-weight:800;cursor:pointer;background:linear-gradient(105deg,#7734eb,#3f45c8 55%,#185eb5);box-shadow:0 10px 30px #5937dc51,0 0 18px #8f42e83d}.ept-auth-submit:hover{filter:brightness(1.14)}.ept-auth-submit:disabled{opacity:.55;cursor:wait}
.ept-check-line{display:flex;align-items:flex-start;gap:9px;color:#c5c8e1;font-size:11px;line-height:1.7;margin:5px 0 17px}.ept-check-line input{width:16px;height:16px;accent-color:#815bfa;flex-shrink:0}
.ept-account-alert{margin:12px 0;padding:11px 13px;border-radius:11px;background:#4c25414a;color:#ffd0de;border:1px solid #fa73925b;line-height:1.7;font-size:12px}.ept-account-alert.success{background:#0c4d5440;border-color:#5cffe782;color:#b2fff3}
.ept-step-icon{font-size:27px;color:#9cf8ff;margin:15px 0}.ept-auth-panel h3{font-size:20px;margin:0 0 7px}.ept-otp-input{letter-spacing:7px;font-size:21px!important;text-align:center!important}.ept-back-link{margin-top:15px}#otpCountdown{font-size:12px;color:#a1a1be}
.ept-auth-foot{font-size:10px;color:#9f9ebf;line-height:1.8;padding-top:18px;margin-top:18px;border-top:1px solid #ffffff1b}
.ept-user-greeting{display:flex;align-items:center;gap:13px;padding:16px 0 12px}.ept-avatar{height:52px;width:52px;display:grid;place-items:center;font-size:25px;border-radius:16px;background:linear-gradient(135deg,#7634e6,#1744ab);box-shadow:0 0 30px #7f5aff4d}.ept-user-greeting small{color:#a4bfdb;font-size:11px}.ept-user-greeting h3{font-size:19px;margin:3px 0}.ept-user-greeting span{direction:ltr;color:#a4d7fc;font:12px ui-monospace,monospace;display:inline-block}
.ept-dashboard-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 17px}.ept-dashboard-tabs button{padding:10px 5px;background:#0b1431;border:1px solid #364879;color:#b0bfdc;border-radius:10px;cursor:pointer;font-size:12px}.ept-dashboard-tabs button.selected{background:#3b2884;border-color:#8a8dff;color:#fff}
.ept-card-physical{min-height:244px;aspect-ratio:1.69;position:relative;padding:25px 27px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;isolation:isolate;border-radius:20px;background:radial-gradient(ellipse at 0% 80%,#2eacf66e,transparent 43%),linear-gradient(122deg,#061326 2%,#123262 55%,#11123d);border:1.5px solid #a2d5f5;box-shadow:inset 0 1px 2px #ffffff8c,inset 0 -3px #006ca2,0 13px 42px #000a,0 0 30px #2eb7ff46;color:#fff;direction:ltr}
.ept-card-top,.ept-card-info,.ept-card-bottom{display:flex;align-items:center;justify-content:space-between;z-index:1}.ept-card-top b{font:800 33px system-ui;letter-spacing:4px;text-shadow:0 0 20px #b0d9ff}.ept-card-top span{letter-spacing:3px;font:700 12px system-ui;color:#b7f5ff}.ept-card-chip{width:45px;height:33px;background:linear-gradient(135deg,#916320,#ffe5a4,#bf8c2a);border:1px solid #ffe9a2;border-radius:6px;box-shadow:0 0 16px #ffbd5e4c;z-index:1;position:relative}.ept-card-chip:before{content:"";position:absolute;inset:8px 0;border-top:1px solid #956628;border-bottom:1px solid #956628}
.ept-card-number{z-index:1;direction:ltr;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font:600 clamp(17px,2.4vw,23px)/1.3 ui-monospace,Consolas,monospace;letter-spacing:1.5px}.ept-card-info{font:700 11px system-ui;gap:10px}.ept-card-info strong{font:700 12px system-ui;text-transform:uppercase;letter-spacing:1px;overflow:hidden;text-overflow:ellipsis;max-width:69%;white-space:nowrap}.ept-card-info small{letter-spacing:1px}.ept-card-ribbon{position:absolute;top:77px;right:-47px;transform:rotate(35deg);font:800 9px ui-sans-serif;letter-spacing:2px;background:#ffe8a4;color:#302217;padding:5px 54px;z-index:1}
.ept-card-hint{font-size:11px;color:#b5bbdb;line-height:1.9;margin:13px 0}.ept-card-nonbank{border:1px solid #2cbbff56;background:#12588336;color:#a1edff;border-radius:8px;padding:7px 10px;display:inline-flex;font-size:10px;margin-top:8px}
.ept-card-balances{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.ept-balance-box{background:#0a1533;border:1px solid #3d4d76;padding:12px;border-radius:12px}.ept-balance-box span{display:block;font-size:10px;color:#adc5df}.ept-balance-box strong{display:block;margin:7px 0 3px;font-size:16px;color:#fff}.ept-balance-box small{font-size:10px;color:#95a6c5}
.ept-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.ept-card-actions button{flex:1;background:#20265f;color:#def3ff;border:1px solid #6576c1;border-radius:10px;padding:11px;cursor:pointer;font-size:12px}.ept-card-actions button:disabled{opacity:.4;cursor:not-allowed}.ept-card-actions button:hover:not(:disabled){background:#303786}
.ept-reward-total{padding:18px;border-radius:15px;background:radial-gradient(circle at 13% 0,#423da4,transparent 60%),#12163c;border:1px solid #6864ac}.ept-reward-total span{font-size:11px;color:#bdccea}.ept-reward-total strong{display:block;font-size:24px;margin:8px 0;color:#fff}.ept-reward-total small{font-size:11px;color:#b0e7ee}
.ept-referral-code{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;margin:12px 0;border-radius:12px;border:1px solid #5673b5;background:#101a41}.ept-referral-code strong{font:700 16px ui-monospace,monospace;color:#9fdaff;direction:ltr}.ept-referral-code button{border:1px solid #548be3;background:#183568;color:white;padding:8px 12px;border-radius:9px;cursor:pointer}.ept-referral-code button:disabled{opacity:.4;cursor:not-allowed}
.ept-referral-steps{display:grid;gap:7px}.ept-referral-step{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:12px;border:1px solid #343d76;background:#0b102a;border-radius:10px}.ept-referral-step strong{font-size:12px}.ept-referral-step span{font-size:11px;color:#9dc9e8}.ept-empty-transactions{padding:27px 16px;border:1px dashed #4c5690;border-radius:14px;text-align:center;color:#b9c8de;font-size:12px;line-height:2}.ept-transaction-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 3px;border-bottom:1px solid #273656}.ept-transaction-row strong{font-size:12px}.ept-transaction-row small{display:block;color:#98afc6;font-size:10px;margin-top:5px}.ept-transaction-row>span{font-size:13px;color:#c4f8e3}
.ept-withdraw-form{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:14px}.ept-withdraw-form input{min-width:0;border:1px solid #53739a;border-radius:9px;background:#0a1333;color:#fff;padding:12px}.ept-withdraw-form button{border:1px solid #7897dc;border-radius:9px;color:#fff;background:#29417e;padding:0 13px;cursor:pointer}.ept-withdraw-form button:disabled{opacity:.4;cursor:not-allowed}
.ept-dashboard-foot{display:flex;justify-content:space-between;gap:10px;margin-top:13px;border-top:1px solid #253358;padding-top:12px}
[hidden]{display:none!important}
@media(max-width:820px){.ept-auth-layout{grid-template-columns:minmax(0,33%) minmax(0,67%)}.ept-auth-art{padding:25px 19px}.ept-auth-main{padding:23px 21px}.ept-account-dialog{width:calc(100vw - 22px)}.ept-auth-hero h2{font-size:27px}.ept-card-quick span{display:none}}
@media(max-width:650px){.ept-account-dialog{width:100vw;max-height:100dvh;height:100dvh;min-height:0;border-radius:0;border:0}.ept-auth-layout{display:block;min-height:100dvh}.ept-auth-art{display:none}.ept-auth-main{max-height:100dvh;min-height:100dvh;padding:calc(18px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))}.ept-account-head h2{font-size:21px}.ept-membership-section{grid-template-columns:1fr;gap:30px;margin-top:55px;padding:26px 20px;border-radius:19px}.ept-membership-copy h2{font-size:27px}.ept-membership-copy p{font-size:12px}.ept-card-mini{max-width:340px;min-height:198px;padding:19px 23px;transform:rotate(-3deg)}.ept-card-quick{padding:8px 10px}.profile-pill{max-width:111px;min-width:0}.profile-pill #accountButtonLabel{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ept-auth-tabs{margin-top:16px}.ept-fields-two{gap:8px}.ept-card-physical{min-height:225px;padding:23px 19px}.ept-card-number{font-size:clamp(15px,4.5vw,20px)}}
@media(max-width:360px){.ept-fields-two{grid-template-columns:1fr}.ept-account-dialog{font-size:12px}.ept-card-physical{min-height:200px}.ept-card-number{letter-spacing:.5px}.ept-account-head h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.ept-card-mini,.ept-card-quick{transition:none!important}}
/* Keep the account modal centered against the VIEWPORT even when a decorative
   ambient background extends beyond the document edge in the legacy CSS. */
html,body{overflow-x:clip}
.ept-account-dialog{inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);margin:0!important;max-width:calc(100vw - 36px)}
.ept-auth-tabs button{font-size:13px;font-weight:700}
@media(max-width:650px){.ept-account-dialog{top:0!important;left:0!important;transform:none!important;max-width:100vw}}
/* EPT Card reverse: an internal membership identifier, never magnetic/credit data */
.ept-card-back{background:radial-gradient(ellipse at 85% 5%,#0e87b579,transparent 52%),linear-gradient(130deg,#0a1832,#0c2554 48%,#060d20);justify-content:flex-start;gap:20px}
.ept-card-back-brand{display:flex;align-items:center;justify-content:space-between;z-index:1}
.ept-card-back-brand b{font:900 31px Arial,sans-serif;letter-spacing:4px;color:#f4fcff;text-shadow:0 0 19px #7bddff}
.ept-card-back-brand small{font:700 10px Arial,sans-serif;letter-spacing:2px;color:#96e6ff}
.ept-card-back-line{height:5px;width:100%;border-radius:5px;box-shadow:0 0 23px #23d3ff,0 0 10px #2c93fa;background:linear-gradient(90deg,#2784ce,#aff8ff,#3366ce);z-index:1}
.ept-card-back-details{z-index:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.ept-card-back-details small{color:#c0c3e1;font:700 10px Arial;letter-spacing:2px}
.ept-card-back-details strong{font:600 14px ui-monospace,Consolas,monospace;color:#f1fbff;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.ept-card-back-details span{margin-top:10px;font:700 10px Arial,sans-serif;letter-spacing:1.5px;color:#8cd7ff}

/* V6: public card number only, no wallet/transactions outside Messenger. */
.ept-public-card-button{display:block;width:100%;background:transparent;border:0;padding:0;text-align:inherit;cursor:pointer;color:inherit}.ept-public-card-button .ept-card-physical{width:100%}.ept-card-official-art{position:relative;max-width:550px;margin:auto}.ept-card-official-art img{display:block;width:100%;height:auto;border-radius:18px}.ept-card-overlay-number{position:absolute;bottom:24%;left:8%;color:#fff;font:700 clamp(13px,3vw,20px) ui-monospace,monospace;text-shadow:0 2px 8px #000}.ept-messenger-only{margin:14px 0;padding:17px;border-radius:15px;border:1px solid #4a96ff80;background:linear-gradient(120deg,#0b2147,#21104a);color:#f7faff}.ept-messenger-only p{font-size:13px;line-height:2}.ept-messenger-only button{border:1px solid #8bf6ff;background:#173c86;color:white;border-radius:12px;padding:11px 17px;cursor:pointer}.ept-card-balances,.ept-withdraw-form{display:none!important}
/* V7: simplified Music-style two-method auth, no changes to media or card logic */
.ept-music-login-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 18px;direction:rtl}
.ept-music-login-choice button{min-height:48px;border-radius:13px;font:700 13px inherit;cursor:pointer;color:#fff;border:1px solid #526cc9;background:#111b40}
.ept-music-login-choice [aria-current=page]{border:1px solid #6ad1ff;background:linear-gradient(125deg,#315cf1,#8626e8);box-shadow:0 0 18px #5a57fa7d}
.ept-music-login-choice button:not([aria-current=page]):hover{border-color:#9f9dff;background:#26335e}
@media(max-width:380px){.ept-music-login-choice{gap:6px}.ept-music-login-choice button{font-size:12px}}
