/* Vyral V6.3 UI hardening */
html,body{max-width:100%;overflow-x:hidden}

/* Profile action bar: never collapse Admin Console into the tiny ellipsis slot. */
@media (min-width:900px){
  .v7-profile-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important}
  .v7-profile-actions>.v7-btn{flex:0 0 auto!important;width:auto!important;min-width:112px!important;min-height:46px;padding:0 16px!important;white-space:nowrap!important}
  .v7-profile-actions>.vyral-profile-more{min-width:48px!important;width:48px!important;padding:0!important}
  .v7-profile-actions>[data-page="admin"]{min-width:150px!important;color:#b9f6ff!important;border-color:rgba(35,219,255,.35)!important;background:rgba(35,219,255,.09)!important}
}
@media(max-width:899px){
  .v7-profile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
  .v7-profile-actions>.v7-btn{width:100%!important;min-width:0!important;min-height:44px!important;white-space:normal!important}
  .v7-profile-actions>.vyral-profile-more{grid-column:auto!important;min-width:0!important}
  .v7-profile-actions>[data-page="admin"]{grid-column:1/-1!important}
}

/* Account Center responsive repair. */
.vyral-account-page{box-sizing:border-box!important;max-width:100%!important}
.vyral-section-heading>span:last-child{flex:1;min-width:0;text-align:left!important}
.vyral-section-heading h2,.vyral-section-heading p{max-width:100%;overflow-wrap:anywhere}
.vyral-settings-section,.vyral-account-hero{min-width:0;overflow:hidden}
.vyral-control input,.vyral-control textarea{box-sizing:border-box;max-width:100%}
@media(max-width:560px){
  .vyral-account-page{padding-inline:7px!important}
  .vyral-account-hero{align-items:flex-start!important;padding:14px!important}
  .vyral-account-hero>div{align-items:flex-start!important;gap:10px!important}
  .vyral-account-hero h1{font-size:24px!important;line-height:1.02!important}
  .vyral-settings-section{padding:14px!important}
  .vyral-section-heading{align-items:flex-start!important;gap:10px!important}
  .vyral-section-icon{width:40px!important;height:40px!important;flex:0 0 40px!important}
  .vyral-section-heading h2{font-size:17px!important}
  .vyral-section-heading p{font-size:11px!important;line-height:1.4!important}
  .vyral-settings-row{align-items:center!important;padding:12px 11px!important}
  .vyral-settings-row>span:first-child{min-width:0!important}
  .vyral-settings-row b,.vyral-settings-row small{white-space:normal!important;overflow-wrap:anywhere}
}

/* Quick login */
.vyral-quick-auth-button{width:100%;min-height:58px;margin-top:9px;padding:10px 14px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.045);color:#fff;text-align:left}
.vyral-quick-auth-button>svg{width:20px;height:20px;color:#70e8ff;flex:0 0 20px}.vyral-quick-auth-button>span{flex:1;display:grid;gap:2px}.vyral-quick-auth-button b{font-size:12px}.vyral-quick-auth-button small{font-size:10px;color:rgba(255,255,255,.48)}
.vyral-quick-overlay{position:fixed;z-index:100000;inset:0;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(3,4,8,.78);backdrop-filter:blur(20px)}.vyral-quick-overlay.show{display:flex}
.vyral-quick-card{position:relative;width:min(520px,100%);padding:28px;border:1px solid rgba(255,255,255,.13);border-radius:28px;background:radial-gradient(circle at 92% 0,rgba(26,217,255,.11),transparent 34%),radial-gradient(circle at 0 100%,rgba(255,45,103,.13),transparent 35%),#101119;box-shadow:0 40px 130px rgba(0,0,0,.65)}
.vyral-quick-card h2{margin:8px 0 11px;font-size:clamp(30px,6vw,46px);letter-spacing:-.06em;line-height:1}.vyral-quick-card>p{color:rgba(255,255,255,.65);line-height:1.6}
.vyral-quick-close{position:absolute;right:14px;top:14px;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.05);color:#fff}.vyral-quick-close svg{width:18px;height:18px}
.vyral-quick-icon{width:60px;height:60px;margin-bottom:18px;display:grid;place-items:center;border-radius:19px;color:#fff;background:linear-gradient(135deg,#ff2d67,#8b58ff,#20dbff);box-shadow:0 18px 50px rgba(106,75,255,.25)}.vyral-quick-icon.danger{background:rgba(255,65,88,.13);color:#ff8496;box-shadow:none}.vyral-quick-icon svg{width:27px;height:27px}
.vyral-quick-warning,.vyral-account-security-note{display:flex;align-items:flex-start;gap:11px;margin:18px 0;padding:13px;border:1px solid rgba(255,196,80,.16);border-radius:15px;background:rgba(255,180,55,.055)}.vyral-quick-warning>svg,.vyral-account-security-note>svg{width:19px;height:19px;flex:0 0 19px;color:#ffd16f}.vyral-quick-warning span,.vyral-account-security-note span{display:grid;gap:3px}.vyral-quick-warning small,.vyral-account-security-note small{color:rgba(255,255,255,.52);line-height:1.4}
.vyral-quick-code-input{width:100%;box-sizing:border-box;min-height:66px;margin:8px 0 12px;padding:0 16px;border:1px solid rgba(32,216,255,.35);border-radius:17px;background:#0a0c13;color:#fff;text-align:center;font:1000 28px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.18em;text-transform:uppercase}.vyral-quick-code-input:focus{outline:none;box-shadow:0 0 0 4px rgba(32,216,255,.08)}
.vyral-generated-code{margin:18px 0;padding:20px;border:1px solid rgba(32,216,255,.3);border-radius:18px;background:#080a10;color:#fff;text-align:center;font:1000 clamp(30px,8vw,48px)/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}.vyral-generated-code.expired{opacity:.35;text-decoration:line-through}.vyral-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.vyral-quick-countdown,.vyral-quick-region{display:block;margin-top:13px;text-align:center;color:rgba(255,255,255,.45);font-size:11px}.vyral-quick-loading{min-height:160px;display:grid;place-items:center;align-content:center;gap:14px;text-align:center}.vyral-quick-loading>span{width:42px;height:42px;border:3px solid rgba(255,255,255,.12);border-top-color:#20dfff;border-radius:50%;animation:vyralSpin .8s linear infinite}@keyframes vyralSpin{to{transform:rotate(360deg)}}
.vyral-quick-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:15px;border:1px solid rgba(32,216,255,.16);border-radius:18px;background:rgba(32,216,255,.045)}.vyral-quick-account-card p{margin-top:4px;color:rgba(255,255,255,.52);font-size:11px;line-height:1.5}.vyral-quick-account-card .v7-btn{white-space:nowrap}.vyral-account-security-note{border-color:rgba(70,235,176,.16);background:rgba(50,225,164,.045)}.vyral-account-security-note>svg{color:#58e9b7}
@media(max-width:560px){.vyral-quick-card{padding:24px 16px 18px;border-radius:22px}.vyral-quick-actions{grid-template-columns:1fr}.vyral-quick-account-card{grid-template-columns:1fr}.vyral-quick-account-card .v7-btn{width:100%;justify-content:center}.vyral-generated-code{letter-spacing:.06em}}

/* Adaptive verification code boxes */
.vyral-security-orb{width:60px;height:60px;margin:0 auto 16px;display:grid;place-items:center;border-radius:19px;background:linear-gradient(135deg,#ff2d67,#8c5cff,#20dfff);color:#fff}.vyral-security-orb svg{width:26px;height:26px}
.vyral-security-mail-note{display:block;margin-top:11px;color:rgba(255,255,255,.45);font-size:10px;line-height:1.5;text-align:center}
.vyral-code-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px;text-align:left}.vyral-code-header span{display:grid;gap:2px}.vyral-code-header small{color:rgba(255,255,255,.45);font-size:10px}.vyral-code-paste{display:inline-flex;align-items:center;gap:6px;min-height:37px;padding:0 11px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.05);color:#fff}.vyral-code-paste svg{width:16px;height:16px}
.vyral-code-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:12px}.vyral-code-boxes input{width:100%;min-width:0;aspect-ratio:1/1.08;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#0b0d14;color:#fff;text-align:center;font-size:clamp(22px,6vw,32px);font-weight:1000}.vyral-code-boxes input:focus{outline:none;border-color:#20dfff;box-shadow:0 0 0 3px rgba(32,216,255,.09);transform:translateY(-2px)}

/* Admin V6.3 */
.vyral-admin-v63-dashboard{display:grid;gap:13px;padding:18px;border:1px solid rgba(35,219,255,.13);border-radius:22px;background:radial-gradient(circle at 100% 0,rgba(35,219,255,.09),transparent 35%),rgba(255,255,255,.025)}
.vyral-admin-v63-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.vyral-admin-v63-title h2{margin-top:4px;font-size:24px}.vyral-owner-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#fff;background:rgba(255,255,255,.045);font-size:10px;font-weight:1000;text-transform:uppercase}.vyral-owner-chip svg{width:15px;height:15px;color:#ffd56f}
.vyral-admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.vyral-admin-stat-grid article{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:17px;background:rgba(255,255,255,.035)}.vyral-admin-stat-grid article>span{display:grid;place-items:center;width:33px;height:33px;border-radius:11px;background:rgba(32,216,255,.08);color:#56e6ff}.vyral-admin-stat-grid svg{width:17px;height:17px}.vyral-admin-stat-grid b{display:block;margin-top:13px;font-size:26px;letter-spacing:-.05em}.vyral-admin-stat-grid small{color:rgba(255,255,255,.48);font-size:10px;font-weight:850}.vyral-admin-v63-error{display:flex;align-items:center;gap:9px;color:#ff9aa9}
.vyral-admin-v63-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;padding-top:9px;border-top:1px solid rgba(255,255,255,.07)}.vyral-admin-v63-actions .v7-btn{min-height:39px}.vyral-admin-v63-actions svg{width:16px;height:16px}
.vyral-admin-detail-modal{width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid rgba(255,255,255,.11);border-radius:26px;background:#10121b;color:#fff}.vyral-admin-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.vyral-admin-detail-summary span{padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.035)}.vyral-admin-detail-summary b,.vyral-admin-detail-summary small{display:block}.vyral-admin-detail-summary small{margin-top:3px;color:rgba(255,255,255,.45);font-size:9px;text-transform:uppercase}
@media(max-width:760px){.vyral-admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vyral-admin-v63-title{align-items:flex-start;flex-direction:column}.vyral-admin-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.vyral-admin-v63-actions{display:grid;grid-template-columns:1fr 1fr}.vyral-admin-v63-actions .v7-btn{width:100%}}
