/* YYC PORTAL REDESIGN — 20261002-08
   UI-only enhancement for member, leader and admin access surfaces.
   Keeps existing auth/session/data wiring unchanged. */

/* ===== PORTAL MODAL STAGE ===== */
.modal-shell:has(.access-login-screen),
.modal-shell:has(.premium-member-dashboard),
.modal-shell:has(.admin-shell){
  width:min(1180px,calc(100vw - 40px));
  max-width:1180px;
  padding:18px;
  border:1px solid rgba(229,193,111,.20);
  border-radius:28px;
  background:
    radial-gradient(circle at 14% 8%,rgba(229,193,111,.07),transparent 28%),
    radial-gradient(circle at 90% 80%,rgba(85,150,124,.045),transparent 24%),
    linear-gradient(145deg,rgba(7,12,16,.985),rgba(3,7,10,.985));
  box-shadow:0 40px 130px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.018) inset;
  overflow:auto;
}
.modal-shell:has(.access-login-screen) .modal-close,
.modal-shell:has(.premium-member-dashboard) .modal-close,
.modal-shell:has(.admin-shell) .modal-close{
  width:42px!important;
  height:42px!important;
  top:13px!important;
  right:13px!important;
  border:1px solid rgba(229,193,111,.16)!important;
  background:rgba(3,7,10,.92)!important;
  color:#e6d3a7!important;
  border-radius:14px!important;
  font-size:23px!important;
}

/* ===== LOGIN — PREMIUM TWO-COLUMN ACCESS ===== */
.access-login-screen{
  position:relative;
  display:grid;
  grid-template-columns:minmax(340px,.92fr) minmax(360px,1.08fr);
  grid-template-rows:1fr auto;
  min-height:520px;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(238,200,118,.10);
  border-radius:22px;
  background:
    linear-gradient(105deg,rgba(8,14,18,.97) 0%,rgba(8,14,18,.985) 45%,rgba(5,9,12,.985) 45%,rgba(5,9,12,.985) 100%);
}
.access-login-screen::before{
  content:"";
  position:absolute;
  left:-110px;
  top:-120px;
  width:460px;
  height:460px;
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(225,184,96,.12) 0,rgba(225,184,96,.025) 35%,transparent 67%);
  pointer-events:none;
}
.access-login-screen::after{
  content:"";
  position:absolute;
  top:20px;
  bottom:20px;
  left:45%;
  width:1px;
  background:linear-gradient(transparent,rgba(229,193,111,.15),transparent);
  pointer-events:none;
}
.access-login-hero{
  position:relative;
  z-index:1;
  grid-column:1;
  grid-row:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-height:470px;
  padding:56px 46px 42px;
  border-right:1px solid rgba(255,255,255,.035);
  background:
    radial-gradient(circle at 22% 30%,rgba(220,177,90,.075),transparent 34%),
    radial-gradient(circle at 8% 88%,rgba(64,130,105,.05),transparent 27%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.004));
}
.access-login-hero::after{
  content:"YUVAKESARI  /  PRIVATE PORTAL";
  position:absolute;
  left:46px;
  bottom:28px;
  color:rgba(227,209,170,.34);
  font:700 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.22em;
}
.access-login-icon{
  width:100px;
  height:100px;
  margin:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(229,193,111,.38);
  background:
    radial-gradient(circle at 50% 28%,rgba(246,214,150,.11),transparent 50%),
    rgba(2,6,9,.74);
  color:transparent;
  font-size:0;
  box-shadow:0 20px 54px rgba(0,0,0,.28),0 0 0 8px rgba(229,193,111,.035);
}
.access-login-icon::before{
  content:"";
  width:76px;
  height:76px;
  border-radius:50%;
  background:url('./yyc-logo-clean.webp') center/contain no-repeat;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.3));
}
.access-login-kicker{
  display:block;
  margin-bottom:10px;
  color:#9f9688;
  font:800 8px/1 "Space Grotesk",sans-serif;
  letter-spacing:.24em;
}
.access-login-title{
  margin:0;
  max-width:430px;
  color:#f3e7d1;
  font:600 clamp(42px,4.4vw,64px)/.94 "Cormorant Garamond",serif;
  letter-spacing:.01em;
}
.access-login-sub{
  max-width:430px;
  margin:15px 0 0;
  color:#8f9693;
  font:500 12px/1.75 "Space Grotesk",sans-serif;
}
.access-login-badge{
  order:10;
  margin-top:25px;
  padding:9px 12px;
  border:1px solid rgba(229,193,111,.20);
  border-radius:999px;
  color:#dbc28f;
  background:rgba(229,193,111,.045);
  font:900 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.20em;
}
.member-access-screen .access-login-badge{color:#a9dbbf;border-color:rgba(113,207,160,.20);background:rgba(113,207,160,.035)}
.admin-access-screen .access-login-badge{color:#f1cb80}

.access-login-form{
  position:relative;
  z-index:2;
  grid-column:2;
  grid-row:1;
  align-self:center;
  width:min(100%,520px);
  margin:0 auto;
  padding:55px 52px 40px;
}
.access-login-form::before{
  content:"SIGN IN";
  display:block;
  margin-bottom:19px;
  color:#d6b978;
  font:900 8px/1 "Space Grotesk",sans-serif;
  letter-spacing:.24em;
}
.access-form-field{
  margin-top:17px;
}
.access-form-field label{
  display:block;
  margin:0 0 7px 2px;
  color:#c5bcac;
  font:800 8px/1 "Space Grotesk",sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.access-input-wrap,
.access-password-field{
  position:relative;
  display:flex;
  align-items:center;
  min-height:54px;
  border:1px solid rgba(231,200,137,.14);
  border-radius:15px;
  background:rgba(255,255,255,.028);
  transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.access-input-wrap:focus-within,
.access-password-field:focus-within{
  border-color:rgba(232,195,111,.50);
  background:rgba(232,195,111,.035);
  box-shadow:0 0 0 4px rgba(232,195,111,.05),0 14px 30px rgba(0,0,0,.15);
}
.access-input-icon{
  width:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  color:#b89b61;
  font-size:13px;
}
.access-input-wrap input,
.access-password-field input{
  width:100%;
  min-width:0;
  height:52px;
  padding:0 15px 0 0;
  border:0;
  outline:0;
  color:#eee7db;
  background:transparent;
  font:600 12px/1 "Inter",sans-serif;
}
.access-input-wrap input::placeholder,
.access-password-field input::placeholder{color:#69716f}
.access-password-toggle{
  flex:0 0 auto;
  margin-right:8px;
  min-width:52px;
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(231,200,137,.10);
  border-radius:10px;
  background:rgba(255,255,255,.028);
  color:#bfa875;
  font:900 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.10em;
}
.access-password-toggle:hover{border-color:rgba(231,200,137,.26);background:rgba(231,200,137,.055)}
.access-login-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:12px;
  background:rgba(255,255,255,.015);
  color:#6e7774;
  font:700 7px/1.35 "Space Grotesk",sans-serif;
  letter-spacing:.05em;
}
.access-login-meta span:first-child{color:#86c9a2}
.admin-access-screen .access-login-meta span:first-child{color:#d9ba75}
.access-login-actions{
  margin-top:17px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
}
.access-submit{
  width:100%;
  min-height:54px!important;
  border-radius:15px!important;
  font-size:9px!important;
  letter-spacing:.16em!important;
  box-shadow:0 16px 32px rgba(135,93,27,.17)!important;
}
.access-submit:hover{transform:translateY(-2px)!important;box-shadow:0 20px 40px rgba(135,93,27,.24)!important}
.access-login-status{
  min-height:20px;
  margin-top:12px;
  padding:0 2px;
  color:#7d8885;
  font:700 8px/1.45 "Space Grotesk",sans-serif;
  letter-spacing:.04em;
}
.access-login-status.is-error{
  padding:10px 12px;
  border:1px solid rgba(225,122,108,.18);
  border-radius:11px;
  background:rgba(225,122,108,.04);
  color:#dba69d;
}
.access-login-status.is-success{
  padding:10px 12px;
  border:1px solid rgba(107,208,159,.15);
  border-radius:11px;
  background:rgba(107,208,159,.03);
  color:#8ed2ad;
}
.access-login-footer{
  position:relative;
  z-index:2;
  grid-column:1 / -1;
  grid-row:2;
  margin:0 30px;
  padding:14px 18px 16px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#5e6765;
  font:600 7px/1.4 "Space Grotesk",sans-serif;
  letter-spacing:.08em;
  text-align:center;
}
.admin-access-screen{background:linear-gradient(105deg,rgba(10,11,12,.98) 0%,rgba(10,11,12,.98) 45%,rgba(7,8,9,.985) 45%,rgba(7,8,9,.985) 100%)}
.admin-access-screen::after{background:linear-gradient(transparent,rgba(231,190,99,.24),transparent)}
.admin-access-screen .access-login-form::before{content:"ADMINISTRATOR SIGN IN"}
.leader-access-screen .access-login-form::before{content:"LEADERSHIP SIGN IN"}
.member-access-screen .access-login-form::before{content:"MEMBER SIGN IN"}

/* ===== LOGGED-IN MEMBER / LEADER PORTAL ===== */
.modal-shell:has(.premium-member-dashboard){
  width:min(1240px,calc(100vw - 32px));
  max-width:1240px;
}
.premium-member-dashboard{
  position:relative;
  padding:2px 4px 8px;
  color:#eee7db;
}
.premium-member-dashboard::before{
  content:"";
  position:absolute;
  top:-16px;
  right:-16px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(218,174,83,.075),transparent 66%);
  pointer-events:none;
}
.premium-member-dashboard .portal-ribbon{
  margin:0 0 18px;
  padding:11px 13px;
  border-radius:15px;
  background:linear-gradient(120deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  backdrop-filter:blur(12px);
}
.premium-member-dashboard .portal-ribbon .portal-icon{
  width:38px;
  height:38px;
  border-radius:12px;
}
.premium-member-dashboard .portal-session-state{
  font-size:7px;
}
.premium-member-dashboard .member-dashboard-head{
  position:relative;
  margin:0 auto 16px;
  width:min(100%,1120px);
  padding:10px 10px 8px;
}
.premium-member-dashboard .member-dashboard-head::after{
  content:"";
  display:block;
  width:100%;
  height:1px;
  margin-top:18px;
  background:linear-gradient(90deg,rgba(229,193,111,.35),rgba(229,193,111,.07),transparent);
}
.premium-member-dashboard .yyc-portal-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.premium-member-dashboard .modal-kicker{
  margin-bottom:6px;
  color:#a99878;
  font:900 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.22em;
}
.premium-member-dashboard .modal-title{
  margin:0;
  color:#f1e7d6;
  font:600 clamp(34px,4vw,56px)/.98 "Cormorant Garamond",serif;
}
.premium-member-dashboard .modal-sub{
  margin:10px 0 0;
  max-width:680px;
  color:#818a87;
  font-size:10px;
  line-height:1.6;
}
.yyc-portal-account{position:relative;flex:0 0 auto}
.yyc-portal-avatar-btn{
  position:relative;
  width:64px;
  height:64px;
  padding:3px;
  border:1px solid rgba(229,193,111,.30);
  border-radius:20px;
  background:rgba(255,255,255,.025);
  box-shadow:0 12px 30px rgba(0,0,0,.20);
  overflow:visible;
}
.yyc-portal-avatar-btn img{
  width:100%;
  height:100%;
  border-radius:16px;
  object-fit:cover;
  display:block;
}
.yyc-portal-avatar-caret{
  position:absolute;
  right:-5px;
  bottom:-5px;
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  border:1px solid rgba(229,193,111,.26);
  border-radius:50%;
  background:#090e11;
  color:#d9be7d;
  font-size:11px;
}
.yyc-portal-menu{
  position:absolute;
  right:0;
  top:74px;
  width:min(290px,calc(100vw - 42px));
  z-index:30;
  padding:8px;
  border:1px solid rgba(229,193,111,.17);
  border-radius:18px;
  background:rgba(6,10,13,.98);
  box-shadow:0 24px 70px rgba(0,0,0,.56);
}
.yyc-portal-menu-head{
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.yyc-portal-menu-head img{
  width:39px;
  height:39px;
  flex:0 0 39px;
  border-radius:12px;
  object-fit:cover;
}
.yyc-portal-menu-head b{display:block;color:#e7dece;font-size:11px}
.yyc-portal-menu-head small{display:block;margin-top:4px;color:#7e8683;font-size:7px;letter-spacing:.08em}
.yyc-portal-menu-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:3px;
  padding:10px 11px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#b9b2a4;
  text-align:left;
  font:800 8px/1 "Space Grotesk",sans-serif;
  letter-spacing:.07em;
}
.yyc-portal-menu-item:hover{background:rgba(229,193,111,.055);color:#efd49b}
.yyc-portal-menu-item span{color:#c5a969}

.premium-member-dashboard .portal-summary-grid{
  width:min(100%,1120px)!important;
  margin:0 auto 16px!important;
  gap:10px!important;
}
.premium-member-dashboard .portal-summary-card{
  position:relative;
  min-height:86px;
  padding:15px 16px!important;
  border-radius:16px!important;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(255,255,255,.042),rgba(255,255,255,.012));
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.premium-member-dashboard .portal-summary-card::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(180deg,#dcb76e,transparent);
  opacity:.7;
}
.premium-member-dashboard .portal-summary-card small{
  font-size:7px!important;
  letter-spacing:.16em!important;
}
.premium-member-dashboard .portal-summary-card b{
  font-size:14px!important;
  margin-top:8px!important;
}

.premium-member-dashboard .yyc-digital-card-wrap{
  width:min(100%,980px);
  margin:18px auto 0;
}
.premium-member-dashboard .yyc-card-hint{
  margin-top:9px;
  color:#646e6b;
  font:800 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.14em;
}
.premium-member-dashboard .yyc-digital-card{
  border-radius:25px!important;
  box-shadow:0 26px 70px rgba(0,0,0,.34),0 0 0 1px rgba(229,193,111,.06);
}
.premium-member-dashboard .yyc-card-download-bar{
  width:min(100%,980px);
  margin:15px auto 0;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(110deg,rgba(229,193,111,.045),rgba(255,255,255,.018));
}
.premium-member-dashboard .yyc-card-download-bar b{font-size:9px}
.premium-member-dashboard .yyc-card-download-bar span{font-size:8px}

.premium-member-dashboard .portal-action-row{
  width:min(100%,980px);
  margin:14px auto 0!important;
  padding:14px 16px!important;
  border-radius:16px!important;
  background:linear-gradient(110deg,rgba(255,255,255,.024),rgba(255,255,255,.011));
}
.premium-member-dashboard .portal-action-row>div:first-child b{
  color:#dfcea6;
  font-size:8px;
}
.premium-member-dashboard .portal-action-row>div:first-child span{font-size:8px!important}
.premium-member-dashboard .portal-action-row .form-actions{gap:7px}
.premium-member-dashboard .portal-action-row .btn{min-height:40px!important}

.premium-member-dashboard .portal-note{
  width:min(100%,980px);
  border-radius:13px;
  background:rgba(103,192,148,.024);
}
.premium-member-dashboard .yyc-session-panel{
  width:min(100%,980px);
  margin:15px auto 0;
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.028),rgba(255,255,255,.01));
}

/* ===== YYC ADMIN MICRO-INTERACTIONS ===== */
.yyc-admin-head-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.yyc-admin-global-tools{display:flex;align-items:center;gap:8px;position:relative;}
.yyc-admin-add-wrap{position:relative;}
.yyc-admin-add-btn{min-width:86px;}
.yyc-admin-add-menu{
  position:absolute;
  right:0;
  top:calc(100% + 7px);
  z-index:80;
  width:170px;
  padding:6px;
  border:1px solid rgba(229,193,111,.2);
  border-radius:13px;
  background:rgba(7,11,14,.98);
  box-shadow:0 16px 42px rgba(0,0,0,.42);
  backdrop-filter:blur(18px);
  animation:yycAdminMenuIn .18s ease both;
}
.yyc-admin-add-menu[hidden],.yyc-admin-search-results[hidden]{display:none!important;}
.yyc-admin-add-menu button{
  display:flex!important;
  width:100%!important;
  min-height:34px;
  align-items:center;
  justify-content:flex-start;
  padding:0 10px;
  border:0!important;
  border-radius:9px;
  background:transparent!important;
  color:#bfc5c1!important;
  font:800 8px/1 "Space Grotesk",sans-serif!important;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.yyc-admin-add-menu button:hover{background:rgba(229,193,111,.07)!important;color:#efd59b!important;}
.yyc-admin-global-search{
  position:relative;
  display:flex;
  align-items:center;
  gap:7px;
  width:min(280px,32vw);
  min-width:180px;
  height:34px;
  padding:0 10px;
  border:1px solid rgba(229,193,111,.13);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}
.yyc-admin-global-search>span{color:#8f9794;font-size:14px;}
.yyc-admin-global-search input{
  width:100%;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#eee5d5!important;
  font:700 9px/1 "Space Grotesk",sans-serif;
}
.yyc-admin-search-results{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 7px);
  z-index:90;
  overflow:hidden;
  border:1px solid rgba(229,193,111,.16);
  border-radius:13px;
  background:rgba(7,11,14,.985);
  box-shadow:0 18px 50px rgba(0,0,0,.48);
}
.yyc-admin-search-result{
  display:flex!important;
  align-items:center;
  gap:8px;
  width:100%!important;
  padding:9px 10px!important;
  min-height:46px;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.04)!important;
  background:transparent!important;
  color:#e7decf!important;
  text-align:left;
}
.yyc-admin-search-result:hover{background:rgba(229,193,111,.06)!important;}
.yyc-admin-search-type{
  flex:0 0 auto;
  padding:5px 6px;
  border:1px solid rgba(229,193,111,.17);
  border-radius:7px;
  color:#c9b687;
  font:900 7px/1 "Space Grotesk",sans-serif;
}
.yyc-admin-search-main{min-width:0;display:grid;gap:3px;flex:1;}
.yyc-admin-search-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;}
.yyc-admin-search-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7f8985;font-size:7px;}
.yyc-admin-search-arrow{color:#d7b86e;font-size:12px;}
.yyc-admin-search-empty{padding:14px;color:#7f8985;font-size:8px;text-align:center;}
.yyc-admin-quick-add-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:14px 0 10px;
}
.yyc-admin-quick-add{
  display:grid!important;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  column-gap:9px;
  align-items:center;
  min-height:62px;
  padding:11px 12px!important;
  border:1px solid rgba(229,193,111,.12)!important;
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.012))!important;
  color:#ded4c3!important;
  text-align:left;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.yyc-admin-quick-add>span{
  grid-row:1/3;
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:9px;
  border:1px solid rgba(229,193,111,.22);
  color:#e3c273;
  font:700 16px/1 Arial,sans-serif;
}
.yyc-admin-quick-add b{font-size:8px;text-transform:uppercase;letter-spacing:.08em;}
.yyc-admin-quick-add small{font-size:7px;color:#7f8985;}
.yyc-admin-quick-add:hover{transform:translateY(-2px);border-color:rgba(229,193,111,.3)!important;background:rgba(229,193,111,.05)!important;box-shadow:0 10px 24px rgba(0,0,0,.18);}
.yyc-admin-recent-panel{
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(229,193,111,.11);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.026),rgba(255,255,255,.01));
}
.yyc-admin-recent-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;}
.yyc-admin-recent-head h3{margin:0;color:#eee2ce;font-size:12px;}
.yyc-admin-recent-head span{color:#7f8985;font:800 7px/1 "Space Grotesk",sans-serif;letter-spacing:.12em;}
.yyc-admin-recent-list{display:grid;gap:4px;}
.yyc-admin-recent-row{display:flex;align-items:center;gap:9px;padding:8px 4px;border-bottom:1px solid rgba(255,255,255,.04);}
.yyc-admin-recent-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#d7b86e;box-shadow:0 0 0 4px rgba(215,184,110,.07);}
.yyc-admin-recent-row div{display:grid;gap:3px;min-width:0;}
.yyc-admin-recent-row b{font-size:8px;color:#d9d0c2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.yyc-admin-recent-row small{font-size:7px;color:#74807c;}
.yyc-admin-recent-empty{padding:12px 2px;color:#747f7b;font-size:8px;}
@keyframes yycAdminMenuIn{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.admin-shell .approval-card,
.admin-shell .event-admin-card,
.admin-shell .swag-admin-card,
.admin-shell .gallery-card{
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.admin-shell .approval-card:hover,
.admin-shell .event-admin-card:hover,
.admin-shell .swag-admin-card:hover,
.admin-shell .gallery-card:hover{
  transform:translateY(-2px);
  border-color:rgba(229,193,111,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.admin-shell .admin-actions .mini-btn:active,
.admin-shell .admin-top-actions .mini-btn:active,
.admin-shell .admin-form-top .mini-btn:active{
  transform:translateY(0) scale(.97);
}
.admin-shell .yyc-icon-add,
.admin-shell .yyc-icon-edit,
.admin-shell .yyc-icon-remove{
  transition:transform .18s ease;
}
.admin-shell .admin-actions .mini-btn:hover .yyc-icon-edit{transform:rotate(-8deg);}
.admin-shell .admin-actions .mini-btn:hover .yyc-icon-remove{transform:scale(1.12);}
.admin-shell .admin-top-actions .yyc-icon-add,
.admin-shell .yyc-admin-quick-add:hover>span{transform:scale(1.08);}
.admin-shell .admin-actions .mini-btn:hover .yyc-icon-add{transform:rotate(90deg);}
.admin-shell .admin-stats>div{
  animation:yycAdminStatIn .35s cubic-bezier(.16,1,.3,1) both;
}
.admin-shell .admin-stats>div:nth-child(2){animation-delay:.04s}
.admin-shell .admin-stats>div:nth-child(3){animation-delay:.08s}
.admin-shell .admin-stats>div:nth-child(4){animation-delay:.12s}
.admin-shell .admin-stats>div:nth-child(5){animation-delay:.16s}
@keyframes yycAdminStatIn{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:none}
}
@media(max-width:980px){
  .yyc-admin-head-tools{width:100%;justify-content:flex-start;}
  .yyc-admin-global-tools{width:100%;}
  .yyc-admin-global-search{width:min(100%,360px);}
  .yyc-admin-quick-add-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .yyc-admin-global-tools{align-items:stretch;flex-wrap:wrap;}
  .yyc-admin-add-wrap{flex:0 0 auto;}
  .yyc-admin-global-search{min-width:0;flex:1 1 170px;width:auto;}
  .yyc-admin-quick-add-grid{grid-template-columns:1fr 1fr;}
  .yyc-admin-quick-add{min-height:58px;}
}
@media(prefers-reduced-motion:reduce){
  .yyc-admin-add-menu,
  .admin-shell .admin-stats>div,
  .admin-shell .approval-card,
  .admin-shell .event-admin-card,
  .admin-shell .swag-admin-card,
  .admin-shell .gallery-card{animation:none!important;transition:none!important;}
}

/* ===== ADMIN CONTROL CENTER ===== */

.modal-shell:has(.admin-shell){
  width:min(1360px,calc(100vw - 28px));
  max-width:1360px;
  padding:15px;
}
.admin-shell{
  position:relative;
  min-height:650px;
  padding:0 2px 4px;
}
.admin-portal-ribbon{
  position:sticky;
  top:-15px;
  z-index:25;
  margin:0 0 14px!important;
  padding:10px 13px!important;
  border-radius:15px!important;
  background:rgba(7,11,14,.92)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.admin-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  width:min(100%,1240px);
  margin:0 auto;
  padding:10px 5px 8px;
}
.admin-header .modal-kicker{
  color:#a99878;
  font:900 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.23em;
}
.admin-header .modal-title{
  margin:7px 0 0;
  color:#f2e5cd;
  font:600 clamp(38px,4.2vw,58px)/.95 "Cormorant Garamond",serif;
}
.admin-header .modal-sub{
  max-width:760px;
  margin:10px 0 0;
  color:#7f8985;
  font-size:9px;
  line-height:1.55;
}
.admin-tabs{
  position:sticky;
  top:59px;
  z-index:20;
  display:flex;
  gap:5px;
  width:min(100%,1240px);
  margin:12px auto 15px;
  padding:6px;
  overflow:auto;
  scrollbar-width:thin;
  border:1px solid rgba(229,193,111,.11);
  border-radius:14px;
  background:rgba(7,11,14,.90);
  backdrop-filter:blur(18px);
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.admin-tab{
  flex:0 0 auto;
  min-height:37px;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#7f8884;
  font:800 7px/1 "Space Grotesk",sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:.2s ease;
}
.admin-tab:hover{color:#d5c49f;background:rgba(229,193,111,.04)}
.admin-tab.active{
  color:#15110a;
  background:linear-gradient(180deg,#e3bd70,#c89946);
  border-color:rgba(240,208,139,.58);
  box-shadow:0 7px 18px rgba(159,110,34,.18);
}
.admin-workspace{
  width:min(100%,1240px);
  margin:0 auto;
  padding:2px 2px 9px;
}
.admin-workspace > *{
  animation:yycPortalRise .32s cubic-bezier(.16,1,.3,1) both;
}
.admin-workspace .card,
.admin-workspace .panel,
.admin-workspace .notice,
.admin-workspace .table-wrap,
.admin-workspace .form-shell,
.admin-workspace .admin-section,
.admin-workspace .admin-card,
.admin-workspace .yyc90-card{
  border-radius:16px;
}
.admin-session-footer{
  width:min(100%,1240px);
  margin:12px auto 0;
  padding:12px 4px 3px;
}

@keyframes yycPortalRise{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:none}
}

/* ===== ADMIN ACTION BUTTON VISIBILITY ===== */
.admin-shell .admin-actions{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  flex:0 0 auto;
  min-width:0;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
.admin-shell .admin-actions .mini-btn,
.admin-shell .admin-top-actions .mini-btn,
.admin-shell .admin-form-top .mini-btn{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  align-items:center;
  justify-content:center;
  width:auto !important;
  min-width:78px;
  min-height:34px;
  white-space:nowrap;
  flex:0 0 auto;
}
.admin-shell .approval-card .meta,
.admin-shell .event-admin-main,
.admin-shell .swag-admin-body{
  min-width:0;
  flex:1 1 auto;
}
@media(max-width:620px){
  .admin-shell .admin-actions{
    width:100%;
    justify-content:flex-start;
  }
  .admin-shell .admin-actions .mini-btn{
    min-width:74px;
  }
}

/* ===== ADMIN ACTION ICONS ===== */
.admin-shell .yyc-admin-action-icon{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  width:16px;
  height:16px;
  align-items:center;
  justify-content:center;
  margin-right:6px;
  font:700 14px/1 Arial,sans-serif;
  color:currentColor;
  flex:0 0 16px;
}
.admin-shell .yyc-icon-add{font-size:16px;}
.admin-shell .yyc-icon-edit{font-size:15px;}
.admin-shell .yyc-icon-remove{font-size:18px;line-height:.8;}
.admin-shell .admin-actions .mini-btn,
.admin-shell .admin-top-actions .mini-btn{
  gap:0;
}
/* ===== FORM / CONTROL POLISH ACROSS PORTALS ===== */
.access-login-screen button,
.premium-member-dashboard button,
.admin-shell button{
  -webkit-tap-highlight-color:transparent;
}
.access-login-screen input:focus-visible,
.access-login-screen button:focus-visible,
.premium-member-dashboard button:focus-visible,
.admin-shell button:focus-visible,
.admin-shell input:focus-visible,
.admin-shell select:focus-visible,
.admin-shell textarea:focus-visible{
  outline:2px solid rgba(224,190,106,.66);
  outline-offset:2px;
}
.premium-member-dashboard .btn,
.admin-shell .btn,
.admin-shell .mini-btn{
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.premium-member-dashboard .btn:hover,
.admin-shell .btn:hover,
.admin-shell .mini-btn:hover{transform:translateY(-1px)}
.admin-shell .mini-btn{
  border-radius:10px;
  background:linear-gradient(180deg,rgba(35,43,49,.96),rgba(20,27,32,.96)) !important;
  border:1px solid rgba(229,193,111,.24) !important;
  color:#eadfc9 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 2px 8px rgba(0,0,0,.18);
}
.admin-shell .mini-btn:hover{
  background:linear-gradient(180deg,rgba(49,57,63,.98),rgba(25,32,37,.98)) !important;
  border-color:rgba(229,193,111,.42) !important;
  color:#f3e5c6 !important;
}

/* ===== MOBILE ===== */
@media(max-width:900px){
  .access-login-screen{
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr auto;
    min-height:0;
    background:linear-gradient(180deg,rgba(8,14,18,.985),rgba(5,9,12,.985));
  }
  .access-login-screen::after{display:none}
  .access-login-hero{
    grid-column:1;
    grid-row:1;
    min-height:0;
    padding:34px 28px 25px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.05);
  }
  .access-login-hero::after{
    left:28px;
    bottom:14px;
  }
  .access-login-icon{
    width:76px;
    height:76px;
    margin-bottom:19px;
    border-radius:22px;
  }
  .access-login-icon::before{width:58px;height:58px}
  .access-login-title{font-size:45px}
  .access-login-sub{max-width:640px}
  .access-login-badge{margin-top:18px}
  .access-login-form{
    grid-column:1;
    grid-row:2;
    width:100%;
    padding:29px 28px 24px;
  }
  .access-login-footer{
    grid-column:1;
    grid-row:3;
    margin:0 18px;
  }
  .admin-tabs{top:54px}
}
@media(max-width:620px){
  .modal-shell:has(.access-login-screen),
  .modal-shell:has(.premium-member-dashboard),
  .modal-shell:has(.admin-shell){
    width:calc(100vw - 14px);
    max-width:calc(100vw - 14px);
    padding:9px;
    border-radius:20px;
  }
  .access-login-screen{border-radius:17px}
  .access-login-hero{padding:29px 20px 22px}
  .access-login-hero::after{left:20px}
  .access-login-form{padding:25px 20px 21px}
  .access-login-footer{margin:0 12px;padding:12px 8px 13px}
  .access-login-meta{flex-direction:column;align-items:flex-start}
  .premium-member-dashboard .yyc-portal-heading{
    align-items:flex-start;
  }
  .premium-member-dashboard .member-dashboard-head{
    padding-right:0!important;
  }
  .premium-member-dashboard .modal-title{font-size:38px}
  .premium-member-dashboard .portal-summary-grid{
    grid-template-columns:1fr!important;
  }
  .premium-member-dashboard .yyc-portal-account{
    position:absolute;
    top:5px;
    right:6px;
  }
  .premium-member-dashboard .yyc-portal-account .yyc-portal-avatar-btn{width:54px;height:54px}
  .premium-member-dashboard .modal-sub{padding-right:62px}
  .premium-member-dashboard .portal-action-row{
    display:block!important;
  }
  .premium-member-dashboard .portal-action-row .form-actions{
    margin-top:11px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr;
  }
  .premium-member-dashboard .portal-action-row .btn{
    width:100%;
  }
  .admin-header{
    align-items:flex-start;
    padding-right:52px;
  }
  .admin-header .modal-title{font-size:41px}
  .admin-tabs{top:51px}
}
@media(max-width:460px){
  .access-login-title{font-size:39px}
  .access-login-form{padding-left:15px;padding-right:15px}
  .access-login-hero{padding-left:15px;padding-right:15px}
  .access-login-hero::after{left:15px}
  .admin-shell{min-height:0}
  .admin-header .modal-title{font-size:35px}
  .admin-header .modal-sub{font-size:8px}
  .admin-tabs{padding:5px;gap:4px}
  .admin-tab{min-height:36px;padding:0 11px;font-size:6.5px}
  .premium-member-dashboard .portal-action-row .form-actions{grid-template-columns:1fr}
  .premium-member-dashboard .portal-action-row .btn{min-height:46px!important}
  .yyc-portal-menu{right:-5px}
}
@media(prefers-reduced-motion:reduce){
  .admin-workspace > *{animation:none}
  .access-input-wrap,.access-password-field,.access-submit,
  .premium-member-dashboard .btn,.admin-shell .btn,.admin-shell .mini-btn{transition:none!important}
}

/* ===== FULL LOGIN VIEWPORT FIX ===== */
.modal-shell:has(.access-login-screen){
  width:min(1240px,calc(100vw - 24px))!important;
  max-width:1240px!important;
  max-height:calc(100svh - 24px)!important;
  height:auto!important;
  margin:12px auto!important;
  padding:10px!important;
  overflow:auto!important;
}
.modal-shell:has(.access-login-screen) .access-login-screen{
  width:100%!important;
  min-height:min(680px,calc(100svh - 56px))!important;
}
@media(max-width:900px){
  .modal-shell:has(.access-login-screen){
    max-height:calc(100svh - 16px)!important;
    margin:8px auto!important;
  }
  .modal-shell:has(.access-login-screen) .access-login-screen{
    min-height:0!important;
  }
}
@media(max-width:620px){
  .modal-shell:has(.access-login-screen){
    width:calc(100vw - 8px)!important;
    max-width:calc(100vw - 8px)!important;
    max-height:calc(100svh - 8px)!important;
    margin:4px auto!important;
    padding:6px!important;
  }
}
/* ===== SEARCH CONTROL SINGLETON ===== */
#yycpSearchTop{flex:0 0 auto;}
.desktop-nav #yycpSearchTop + #yycpSearchTop{display:none!important;}

/* FINAL PORTAL LOGIN VIEWPORT FIX */
.modal-shell:has(.access-login-screen){
  width:min(1240px,calc(100vw - 20px))!important;
  max-width:1240px!important;
  height:calc(100svh - 20px)!important;
  min-height:calc(100svh - 20px)!important;
  max-height:calc(100svh - 20px)!important;
  margin:10px auto!important;
  padding:12px!important;
  overflow:auto!important;
}
.modal-shell:has(.access-login-screen) .access-login-screen{
  width:100%!important;
  min-height:100%!important;
}
@media(max-width:900px){
  .modal-shell:has(.access-login-screen){
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    height:calc(100svh - 12px)!important;
    min-height:calc(100svh - 12px)!important;
    max-height:calc(100svh - 12px)!important;
    margin:6px auto!important;
  }
}
@media(max-width:620px){
  .modal-shell:has(.access-login-screen){
    width:calc(100vw - 6px)!important;
    max-width:calc(100vw - 6px)!important;
    height:calc(100svh - 6px)!important;
    min-height:calc(100svh - 6px)!important;
    max-height:calc(100svh - 6px)!important;
    margin:3px auto!important;
    padding:5px!important;
  }
}

/* ===== LOGIN CLOSE + SEARCH FINAL FIX ===== */
.modal-shell:has(.access-login-screen)>.modal-close{display:none!important}
.access-login-screen{position:relative}
.access-panel-close{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  z-index:100!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(229,193,111,.24)!important;
  border-radius:14px!important;
  background:rgba(3,7,10,.82)!important;
  color:#ead29c!important;
  font:400 28px/1 Inter,sans-serif!important;
  cursor:pointer!important;
  box-shadow:0 10px 26px rgba(0,0,0,.34);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.access-panel-close:hover{
  transform:rotate(3deg) scale(1.04);
  border-color:rgba(229,193,111,.52)!important;
  background:rgba(229,193,111,.07)!important;
}
#yycpSearchTop{display:none!important}
@media(max-width:620px){
  .access-panel-close{top:12px!important;right:12px!important;width:42px!important;height:42px!important}
}
@media(prefers-reduced-motion:reduce){
  .access-panel-close{transition:none!important}
}

/* ===== FINAL LOGIN CLOSE + VIEWPORT ===== */
.modal-shell:has(.access-login-screen)>.modal-close{display:none!important}
.access-login-screen{position:relative}
.access-inline-close{
 position:absolute;top:16px;right:16px;z-index:50;width:42px;height:42px;
 display:grid;place-items:center;padding:0;border:1px solid rgba(229,193,111,.25);
 border-radius:13px;background:rgba(4,8,11,.88);color:#ead5a6;
 font:500 25px/1 Inter,sans-serif;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.3);
 transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.access-inline-close:hover{transform:scale(1.04);border-color:rgba(229,193,111,.52);background:rgba(229,193,111,.08)}
.access-inline-close:focus-visible{outline:2px solid rgba(224,190,106,.72);outline-offset:2px}
#yycpSearchTop{display:none!important}
@media(max-width:900px){
 .access-login-screen{height:auto!important;min-height:calc(100svh - 50px)!important;max-height:none!important;overflow:auto!important}
 .access-inline-close{top:13px;right:13px;width:42px;height:42px}
 .access-login-hero{padding-top:66px!important}
}
@media(max-width:620px){
 .modal-shell:has(.access-login-screen){width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important;max-height:calc(100svh - 8px)!important;margin:4px auto!important}
 .access-login-screen{min-height:calc(100svh - 30px)!important}
 .access-inline-close{top:10px;right:10px;width:40px;height:40px;border-radius:12px}
 .access-login-hero{padding-right:68px!important}
}
@media(max-width:460px){.modal-shell:has(.access-login-screen){max-height:calc(100svh - 6px)!important}}
@media(prefers-reduced-motion:reduce){.access-inline-close{transition:none!important}}


/* ===== YYC BUILD 6 — DESKTOP PORTAL REFERENCE FIT =====
   Match the supplied Build 6 login/admin screenshots only.
   No auth, data, content, navigation or mobile behavior changes. */
@media (min-width: 1200px){
  .modal-shell:has(.access-login-screen){
    width:min(82vw,1568px)!important;
    max-width:1568px!important;
  }

  .modal-shell:has(.admin-shell){
    width:min(92vw,1760px)!important;
    max-width:1760px!important;
  }

  .modal-shell:has(.admin-shell) .admin-shell{
    width:100%;
  }

  .modal-shell:has(.admin-shell) .admin-tabs,
  .modal-shell:has(.admin-shell) .admin-workspace,
  .modal-shell:has(.admin-shell) .admin-header,
  .modal-shell:has(.admin-shell) .admin-session-footer{
    width:min(100%,1560px);
  }
}

/* Keep the reference proportions on medium desktop screens without affecting mobile. */
@media (min-width: 901px) and (max-width: 1199px){
  .modal-shell:has(.access-login-screen){
    width:min(92vw,1240px)!important;
    max-width:1240px!important;
  }

  .modal-shell:has(.admin-shell){
    width:min(96vw,1360px)!important;
    max-width:1360px!important;
  }
}


/* ===== PORTAL LOGIN VIEWPORT — RESOLVED ON BUILD 6 ===== */
@media (min-width:901px){
  .modal-shell:has(.access-login-screen){
    max-height:calc(100svh - 20px)!important;
  }
  .modal-shell:has(.access-login-screen) .access-login-screen{
    min-height:calc(100svh - 44px)!important;
  }
}


/* ===== BUILD 6 — LOGIN CLOSE BUTTON: SHELL-LEVEL + ALWAYS VISIBLE ===== */
/* The shell has its own close handler and is the stable scroll container.
   Keep the login-specific close buttons hidden and use the shell close button,
   so the X never moves behind the form, scroll area, or mobile viewport. */
.modal:has(.access-login-screen){
  z-index:1000!important;
}
.modal-shell:has(.access-login-screen)>#modalContent .access-panel-close,
.modal-shell:has(.access-login-screen)>#modalContent .access-inline-close{
  display:none!important;
  pointer-events:none!important;
}
.modal-shell:has(.access-login-screen)> .modal-close{
  position:sticky!important;
  top:0!important;
  right:auto!important;
  display:grid!important;
  place-items:center!important;
  float:none!important;
  margin:0 4px -54px auto!important;
  width:48px!important;
  height:48px!important;
  z-index:100000!important;
  pointer-events:auto!important;
  border:1px solid rgba(229,193,111,.48)!important;
  border-radius:14px!important;
  background:rgba(5,9,12,.98)!important;
  color:#f4dc9f!important;
  font:500 30px/1 Inter,sans-serif!important;
  box-shadow:0 14px 34px rgba(0,0,0,.58),0 0 0 3px rgba(229,193,111,.045)!important;
  transform:none!important;
}
.modal-shell:has(.access-login-screen)> .modal-close:hover{
  transform:scale(1.05)!important;
  border-color:rgba(229,193,111,.74)!important;
  background:rgba(229,193,111,.11)!important;
}
.modal-shell:has(.access-login-screen)> .modal-close:focus-visible{
  outline:2px solid rgba(229,193,111,.88)!important;
  outline-offset:3px!important;
}
@media(max-width:620px){
  .modal-shell:has(.access-login-screen)> .modal-close{
    top:0!important;
    margin:0 2px -50px auto!important;
    width:44px!important;
    height:44px!important;
    font-size:28px!important;
    border-radius:12px!important;
  }
}


/* BUILD 6 ADMIN TAB VISIBILITY + CLICK FIX */
.modal-shell:has(.admin-shell) .admin-tabs{flex-wrap:wrap!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;white-space:normal!important;align-content:flex-start;}
.modal-shell:has(.admin-shell) .admin-tab{flex:0 0 auto!important;pointer-events:auto!important;}
@media(max-width:760px){.modal-shell:has(.admin-shell) .admin-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;align-content:normal;}}
