.passForm label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
    color: #FFF;
    font-size: 18px;
    text-align: left;
}
.passForm input[type="email"],
.passForm input[type="password"],
.passForm input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #fff;
    border: 2px solid #FE01DF;
    border-radius: 5px;
    color:#333;
    text-align: left;
    height: 50px;
    font-size: 16px;
    font-family:sans-serif;
}

.passForm input[type="text"]#username{
    margin-bottom: 0px;
}
.passForm button {
    margin-top: 1.25rem;
}
.formError {
    background: #47003a;
    color: #ffd6e0;
    padding: 10px 14px;
    margin-bottom: 1rem;
    border-left: 4px solid #e033cf;
}
.notice {
    background: #ae007d;
    color: #ffd6fa;
    padding: 10px 14px;
    margin-bottom: 1rem;
    border-left: 4px solid #ff00c8;
}

.dismissable {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.dismissBtn {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: .7;
    padding: 0;
    flex-shrink: 0;
    margin-top: -1px;
    height: auto;
}

.dismissBtn:hover { opacity: 1; }
.smallLink {
    margin-top: 1rem;
    font-size: 16px;
    opacity: .8;
    color:#FFF;
    background-color: #4301579b;
    border-radius: 5px;
    padding: 10px 0px;

}

.smallLink a {
    font-weight: bold;
    opacity: 1;
}

.passStatus .statusActive { color: #33c07a; font-weight: 600; opacity: 1; }

.fieldHint {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}
.fieldHintError    { color: #ff79c6; text-align: right; padding-right: 10px; background-color: #6405adc4; border-radius: 4px; }
.fieldHintOk       { color: #50fa7b; text-align: right; padding-right: 10px; background-color: #6405adc4; border-radius: 4px;}
.fieldHintChecking { color: #aaa; text-align: right; padding-right: 10px; background-color: #6405adc4; border-radius: 4px;}
.passStatus .statusWarn   { color: #f2a93a; font-weight: 600; }
.passStatus .statusMuted  { color: #9d97a8; font-weight: 600; }

.passProfile .listContent p span {
    display: inline-block; 
    padding: 2px 8px; font-size: 11px;
    background: #fb02e3; 
    color: #fff; 
    border-radius: 5px; 
    margin-left: .5rem;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #ff00bf;
}

.passStatus span {
    font-size: 18px;
    font-weight: bold;
}

.favGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}
.favCard {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; text-decoration: none; color: inherit;
}
.favCard img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.favCard span { margin-top: .5rem; font-weight: 500; }
.favCard em { font-size: 12px; opacity: .7; }

.deviceList { list-style: none; padding: 0; }
.deviceRow {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px; border-bottom: 1px solid rgba(255,255,255,.1);
    background-color: #8f00a1c6;
    border-radius: 10px;
}
.deviceRow .pill {
    display: inline-block; padding: 2px 8px; font-size: 11px;
    background: #a51897; color: #fff; border-radius: 99px; margin-left: .5rem;
}
.deviceRow .muted { font-size: 12px; opacity: .6; }

.accountActions { margin-top: 1rem; }
.accountActions .btn.danger { background: #7a1b32; color: #fff; }
.accountActions form { margin: 0; }

.castList { list-style: disc; padding-left: 1.25rem; }
.empty { opacity: .7; font-style: italic; }
.btn.small { padding: 6px 10px; font-size: 13px; }


.passContainer{
    background: #7300ff;
    background: linear-gradient(0deg,rgba(38, 0, 84, 1) 0%, rgba(144, 30, 240, 1) 100%);
}

.passContainer .hero {
    width: 100%;
    margin: auto;    
    background: none;  
    border-radius: 10px;   
    padding-top: 60px; 
    backdrop-filter:none;
}

.passContainer .textcontent{
    background: none;
    padding-top: 0px;
    margin-top: 0px;
}

.passContainer .row {
    text-align: center;
}

.passContainer .row .columns {
    display: inline-block;
    margin: auto;   
    float: none;     
}

.passContainer .row .columns h1{
    text-align: center;
}

.passProfile{
    text-align: left;
    background: #7300ff;
    background: linear-gradient(0deg,rgba(38, 0, 84, 1) 0%, rgba(144, 30, 240, 1) 100%);
}

.passProfile .hero{
    background: none;
}

.passProfile .textcontent{
    background: none;
    padding: 0px;
    margin: 0px;
}

.profileSection{
    background-color: #7300ff93;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    color:#FFF;
    border-bottom: 2px solid rgba(255, 0, 247, 0.399);
}

.profileSection h2{
    margin: 0px;
}

.profileSection a.btn, button.btn{
    box-shadow: none;
}

.passProfile .container img {
    width: inherit;
    width: 120px;
    height: 120px;
}

.passProfile .container img.queenImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Profile hero ── */
.profileHero {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.profileHeroText h1 { margin-bottom: .25rem; }
.profileHeroText p   { margin: 0; opacity: .85; }
.discordHandle       { opacity: .85; }

/* Profile picture */
.profilePicWrap {
    position: relative;
    flex-shrink: 0;
}

.profilePic,
.profilePicPlaceholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #FFF;
}

.profilePicPlaceholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a800d6;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.picUploadForm {
    position: absolute;
    bottom: 0;
    right: 0;
}

.picUploadBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fe01df;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    border: 2px solid #fff;
    line-height: 1;
}

.picUploadBtn:hover { background: #d600bc; }

/* ── Settings form ── */
.settingsForm .settingsToggleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.settingsForm .toggleLabel {
    margin: 0;
    font-weight: 400;
    flex: 1;
}

.settingsForm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #fe01df;
    cursor: pointer;
    margin-left: 1rem;
    flex-shrink: 0;
}

.settingsFormActions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ── Profile preview banner ── */
.profilePreviewBanner {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 2px solid rgba(255, 0, 247, 0.5);
}

.profilePreviewBanner a {
    color: #fe01df;
    text-decoration: underline;
}

.profilePreviewBack {
    margin-left: auto;
    white-space: nowrap;
}

/* ── Landing page ── */
.passLanding .hero {
    padding-bottom: 2rem;
}

.passLandingBadge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: #fff;
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 14px;
    letter-spacing: .06em;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.35);
    text-transform: uppercase;
}

.passLandingPrice {
    font-size: 1.15rem;
    opacity: .9;
    margin-top: .25rem;
}

.passLandingCTA {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.passSecondaryBtn {
    background: rgba(255,255,255,.15);
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.5);
}

.passSecondaryBtn:hover {
    background: rgba(255,255,255,.25);
}

.passLandingFeaturesTitle {
    text-align: center;
    margin-bottom: 1.75rem;
    background-color: rgba(87, 0, 200, 0.299);
    padding: 5px 10px;
    border-radius: 10px;
    color:#FFF;
    display: inline-block;
}

.passFeatureGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    margin-top: 20px;    
}

.passFeatureCard {
    background: rgba(85,0,200,.45);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(255,0,247,.3);
    color: #fff;
    text-align: center;
    transition: all 0.2s ease;
}

.passFeatureCard:hover {
    background: rgba(85,0,200,.65);
    border-color: rgba(255,0,247,.6);
    scale: 1.02;
     box-shadow: 0 0 20px 5px rgba(255, 53, 242, 0.7);
}

.passFeatureIcon {
    font-size: 2.2rem;
    margin-bottom: .75rem;
    display: block;
}

.passFeatureCard h3 {
    margin: 0 0 .6rem;
    font-size: 20px;
    font-weight: 700;
}

.passFeatureCard p {
    margin: 0;
    opacity: .85;
    font-size: 16px;    
}

.passLandingBottom {
    text-align: center;
    padding: 0.5rem 0 3rem;
}

.passLandingBigBtn {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.passLandingBottomNote {
    margin-top: 1rem;
    opacity: .85;
    font-size: 16px;
    color: #fff;
}

.passLandingBottomNote a {
    color: #fff;
    font-weight: bold;
}

/* ── Pass profile avatar in header ── */
.passHeaderProfile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.passHeaderProfile img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fe01df;
    display: block;
}

.passHeaderInitial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #a800d6;
    border: 2px solid #fe01df;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
}

.passHeaderIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .85;
    transition: opacity .15s;
}

.passHeaderIcon:hover { opacity: 1; }

.passHeaderIcon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.passLandingHeroImg img {
    width: 100%;
    max-width: 210px;
    margin: auto;
}

.passhr{
    margin: 10px auto;
    width: 70%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Fav performers section ── */
.favQueensSection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1rem 0 2rem;
}

/* Rank badge top-left on queen fav cards */
.queen .favRank {
    position: absolute;
    background-color: #ff01de;
    color: #f1efe8;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    display: block;
    text-align: center;
    left: 5px;
    top: 5px;
    font-size: 26px;
    z-index: 10;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Yanone Kaffeesatz', sans-serif;
    pointer-events: none;
}

/* Fix image sizes inside fav queen cards (override .passProfile .container img) */
.favQueensSection .queen .imageWrapper img {
    width: 100%;
    height: 100%;
}

/* Grab cursor for draggable queen cards */
.favQueensSection .queen {
    cursor: grab;
}
.favQueensSection .queen:active {
    cursor: grabbing;
}
/* Remove button retains pointer cursor */
.favQueensSection .queen .remove {
    cursor: pointer;
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 28px;
    top: 5px;
    right: 25px;
}

.favQueensSection .queen .remove:hover
{
    background-color: #d600bc;
}

/* ── Fav seasons section ── */
.favSeasonsSection {
    display: block;    
    margin: 1rem 0 2rem;    
}

.favSeasonItem {
    position: relative;
    width: 285px;    
    cursor: grab;
    display: inline-block;
    height: 445px;
    vertical-align: top;
    margin-left: 10px;
    margin-bottom: 10px;
}

/* Season card fills the fixed-width item */
.favSeasonItem .season {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin-left: 5px;
    margin-bottom: 5px;
}

/* Fix image sizes inside fav season cards */
.favSeasonsSection .favSeasonItem .season .imageWrapper img {
    width: 100%;
    height: 100%;
}

/* Remove button for season fav cards — absolute top-right */
.favSeasonRemoveBtn {
    position: absolute;
    top: 5px;
    right: 0px;
    background-color: #ff01de;
    color: #f1efe8;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    display: block;
    text-align: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
    z-index: 10;
    padding: 0;
}
.favSeasonRemoveBtn:hover { background-color: #d600bc; }

/* Grab cursor for draggable season items */


.favSeasonsSection .favSeasonItem a.season {
    text-decoration: none;
}

.favSeasonsSection .favSeasonItem .season .name {
    text-decoration: none;
    font-weight: 400;
    font-size: 26px;
}
.favSeasonsSection .favSeasonItem:active {
    cursor: grabbing;
}

/* Hint text under section headings */
.favHint {
    font-size: 16px;
    opacity: 0.65;
    margin: -0.5rem 0 0.75rem;
    margin-bottom: 20px;
}

/* ── Fav remove confirmation modal ── */
.favConfirmOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.favConfirmOverlay.active {
    display: flex;
}
.favConfirmDialog {
    background: linear-gradient(160deg, #4a00b8 0%, #7300ff 60%, #a800d6 100%);
    border: 1px solid rgba(255, 0, 247, 0.45);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.5rem;
    max-width: 340px;
    width: 90%;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 40px rgba(115, 0, 255, 0.6), 0 0 0 1px rgba(255, 0, 247, 0.2);
    animation: favDialogIn 0.18s ease;
}
@keyframes favDialogIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
.favConfirmIcon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.favConfirmDialog h3 {
    margin: 0 0 0.5rem;
    font-size: 26px;
    font-weight: 700;
}
.favConfirmDialog p {
    margin: 0 0 1.5rem;
    opacity: 0.82;
    font-size: 16px;
}
.favConfirmActions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
.favConfirmActions .btn {
    min-width: 100px;
    box-shadow: none;
}
.favConfirmActions .btn.danger {
    background: #fe01df;
    color: #fff;
    border: none;
}
.favConfirmActions .btn.danger:hover {
    background: #d600bc;
}
.favConfirmActions .btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.favConfirmActions .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ── Save cast modal (uses favConfirm overlay) ── */
.saveCastDialog {
    text-align: left;
    max-width: 420px;
}
.saveCastDialog h3 {
    text-align: center;
}
.saveCastDialog label {
    display: block;
    margin-top: .75rem;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    opacity: .9;
}
.saveCastDialog input[type="text"],
.saveCastDialog textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    font-size: 15px;
    background: #fff;
    border: 2px solid #fe01df;
    border-radius: 5px;
    color: #333;
    font-family: sans-serif;
    box-sizing: border-box;
    text-align: left;
}
.saveCastDialog textarea {
    min-height: 70px;
    resize: vertical;
}
.saveCastDialog .saveCastError {
    color: #ffd6e0;
    background: #47003a;
    padding: 8px 10px;
    border-left: 4px solid #e033cf;
    margin-top: .75rem;
    font-size: 13px;
    display: none;
}
.saveCastDialog .saveCastError.active { display: block; }

/* ── Save cast button placement on game pages ── */
.saveCastBtnWrap {
    text-align: center;
    margin: 1rem 0;
}
button.btn.saveCastBtn {
    background: #fe01df;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
}
button.btn.saveCastBtn:hover { background: #d600bc; }
button.btn.saveCastBtn[disabled] { opacity: .6; cursor: default; }

/* ── Cast list on profile ── */
.castGrid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-top: .5rem;
}
.castCard {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1rem;
}
.castHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .5rem;
}

.castHeaderInfo {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    width: 100%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.castName {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.castMeta {
    font-size: 14px;
    opacity: .7;
}
.castNote {
    margin: 0px;
    font-size: 14px;
    opacity: .85;   
    font-weight: normal;
    display: inline-block;
    border-left:2px solid #ffffffa6;  
    padding-left: 5px;
    margin-left: 5px;  
}
.castRemoveBtn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: .55;
    padding: 0 4px;
    line-height: 1;
}
.castRemoveBtn:hover { opacity: 1; }
.castQueens {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.castQueenThumb {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid rgba(255, 0, 247, 0.45);
    display: block;
}
.passProfile .container .castQueenThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.castBracket {
    margin-top: .75rem;
}
.castBracketName {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: .25rem;
    opacity: .85;
}
.castSimActions {
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.castShareActions{
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.castSimLabel {
    font-size: 13px;
    opacity: .8;
    margin-right: .25rem;
}
.castSimBtn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 0, 247, 0.45);
    box-shadow: none;
}
.castSimBtn:hover {
    background: #fe01df;
    border-color: #fe01df;
}
.castSimBtn[disabled] { opacity: .55; cursor: default; }

/* Cast page hero – profile pic left, info right */
.castPageHero {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.castPagePassHolderPicWrap {
    flex-shrink: 0;
}
.castPagePassHolderPic,
.castPagePassHolderInitial {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgb(255, 255, 255);
    display: block;
}


.castPagePassHolderInitial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a800d6;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.castPageHeroInfo {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding-top: .1rem;
    border-left: 2px solid #ffffff8c;
    padding-left: 12px;
    padding-bottom: 15px;
}
.castPageTitle {
    margin: 0px;
    margin-top: 20px;
    line-height: 0.8;
}
.listContent p.castPageNote {
    margin: 0px;
    opacity: .85;
    font-size: 16px;    
}
.listContent p.castPageMeta {
    margin: 0px;
    font-size: 16px;
    opacity: .75;
}
.listContent p a.castPagePassHolderLink {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin: 0px;
    background: none;
    padding: 0px;
}
.castPagePassHolderLink:hover {
    text-decoration: underline;
}

/* ── Public profile not-found page ── */
.pubNotFoundInitial {
    background: #3d0060;
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.4);
    font-size: 2rem;
}

.pubNotFoundSection {
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
}

.pubNotFoundEmoji {
    font-size: 5rem;
    margin: 0 0 1rem;
    filter: grayscale(60%) opacity(0.6);
}

.pubNotFoundMsg {
    font-size: 1.1rem;
    opacity: .9;
    margin: 0 auto .75rem;
    max-width: 480px;
}

.pubNotFoundHint {
    font-size: .9rem;
    opacity: .55;
    margin: 0 auto 2rem;
    max-width: 420px;
}

.pubNotFoundActions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}