/* Signed-in Resources page. Authentication and shared portal dialogs retain their existing styles. */
body.resources-view-active {
  background: #15171b;
}
body.resources-view-active #mp-loading { display: none !important; }
#mp-content {
  --resource-gold: #e8ad4d;
  --resource-line: rgba(169, 190, 221, .28);
  color: #f5f5f3;
  background: #15171b;
  font-family: 'Josefin Sans', sans-serif;
}
#mp-content * { box-sizing: border-box; }
#mp-content a:focus-visible,
#mp-content button:focus-visible,
#mp-content summary:focus-visible { outline: 3px solid #ffda79; outline-offset: 3px; }
.resources-topbar {
  height: 67px;
  padding: 0 clamp(18px, 3vw, 44px);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(232, 173, 77, .45);
  background: #06162c;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  position: relative;
  z-index: 12;
}
.resources-brand {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  font: 600 clamp(1.2rem, 1.8vw, 1.75rem)/1 'Cormorant Garamond', Georgia, serif;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.resources-brand img { width: 55px; height: 55px; object-fit: contain; }
.resources-crumbs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 25px;
  border-left: 1px solid rgba(222, 231, 249, .45);
  font-size: .83rem;
  white-space: nowrap;
}
.resources-crumbs a { color: #e9edf8; text-decoration: none; font-size: 1.6rem; line-height: .8; }
.resources-crumbs span[aria-current] { color: var(--resource-gold); }
.resources-toplinks { display: flex; gap: clamp(12px, 2.2vw, 32px); align-items: center; margin-left: auto; }
.resources-toplinks a, .resources-toplinks summary {
  display: inline-flex; align-items: center; gap: 8px;
  color: #e9edf8; text-decoration: none; cursor: pointer;
  font: 400 .82rem/1.2 'Josefin Sans', sans-serif;
  white-space: nowrap;
}
.resources-toplinks a:hover, .resources-toplinks summary:hover { color: var(--resource-gold); }
.resources-profile { position: relative; }
.resources-profile summary { list-style: none; }
.resources-profile summary::-webkit-details-marker { display: none; }
.resources-profile summary::after { content: '⌄'; margin-left: 3px; font-size: 1rem; }
.resources-profile-menu {
  position: absolute; right: 0; top: calc(100% + 20px); z-index: 14;
  width: 200px; padding: 15px; border: 1px solid var(--resource-line);
  border-radius: 8px; background: #0b2341;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.resources-profile-menu span { display: block; font-size: .78rem; line-height: 1.3; margin-bottom: 12px; overflow-wrap: anywhere; }
.resources-profile-menu button { border: 1px solid var(--resource-gold); background: transparent; color: var(--resource-gold); padding: 8px 12px; cursor: pointer; border-radius: 5px; font: inherit; }
body.resources-view-active #mp-content .portal-main {
  min-height: 100vh;
  padding: 96px 40px 48px !important;
  background: #15171b;
  overflow: hidden;
}
body.resources-view-active.dome-open #mp-content .portal-main { padding-top: 240px !important; }
#mp-content .dashboard-wrap { max-width: 1560px; }
.resources-hero {
  min-height: 186px; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 20px clamp(24px, 4vw, 60px);
  border-bottom: 1px solid rgba(232, 173, 77, .35);
  background: linear-gradient(90deg,#06182e 0%,#06182e 52%,rgba(7,25,43,.84) 76%,rgba(5,19,35,.6) 100%);
}
.resources-hero::before {
  content: ''; position: absolute; inset: 0 0 0 57%; opacity: .28; pointer-events: none;
  background: repeating-linear-gradient(90deg,transparent 0 26px,rgba(198,124,51,.4) 27px,rgba(198,124,51,.1) 31px,transparent 34px,transparent 61px),
              linear-gradient(0deg,rgba(177,108,45,.2),transparent 70%);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 45%);
  mask-image: linear-gradient(90deg,transparent,#000 45%);
}
.resources-hero-copy { position: relative; z-index: 1; max-width: 75%; }
.resources-eyebrow {
  margin: 0 0 8px; font-size: .8rem; letter-spacing: .26em;
  text-transform: uppercase; font-weight: 700; color: #f0bf65;
}
.resources-hero h1 { font: 700 clamp(2.6rem, 4.3vw, 4.8rem)/.98 'Cormorant Garamond', Georgia, serif; margin: 0; color: #fff; }
.resources-hero h1 span { color: var(--resource-gold); }
.resources-hero-copy > p:last-child { color: #cbd6e8; font-size: clamp(.95rem, 1.2vw, 1.13rem); margin: 11px 0 0; line-height: 1.4; }
.resources-hero-art {
  position: absolute; right: clamp(12px, 4vw, 72px); bottom: -5px;
  width: clamp(280px, 32vw, 460px); height: auto;
  filter: drop-shadow(-20px 10px 20px #000a);
  pointer-events: none;
}
#mp-content .dashboard-content { max-width: 1510px; padding: 14px clamp(20px, 3vw, 46px) 70px; margin: 0 auto; }
.resources-columns { display: grid; grid-template-columns: minmax(0, 1.96fr) minmax(340px, 1fr); gap: 20px; align-items: stretch; }
.resources-debate { margin: 0; min-width: 0; }
.resources-section-heading { display: flex; align-items: center; gap: 14px; min-height: 32px; margin-bottom: 9px; }
.resources-section-heading h2 {
  font: 700 .91rem/1.2 'Josefin Sans', sans-serif; letter-spacing: .22em;
  text-transform: uppercase; color: #eeb764; white-space: nowrap; margin: 0;
}
.resources-section-heading h2::after { content: ''; display: inline-block; vertical-align: middle; width: clamp(30px, 8vw, 180px); height: 1px; background: rgba(238,183,100,.7); margin-left: 14px; }
.resources-section-heading > span { color: #bac4d7; font-size: .7rem; line-height: 1.3; margin-left: auto; text-align: right; }
.resources-debate .portal-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.resources-debate .portal-card,
.resources-more .portal-card {
  --ca: 232, 173, 77;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; min-width: 0; min-height: 172px;
  padding: 14px 17px 12px; border-radius: 8px;
  border: 1px solid rgba(var(--ca), .56);
  color: #fff; text-decoration: none; overflow: hidden;
  background-color: #0a1b30;
  background-position: center, right bottom; background-repeat: no-repeat;
  background-size: cover, auto 95%;
  box-shadow: inset 0 0 30px rgba(0,0,0,.35),0 3px 14px rgba(0,0,0,.2);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.resources-debate .portal-card:hover, .resources-more .portal-card:hover {
  transform: translateY(-3px); border-color: rgb(var(--ca));
  box-shadow: 0 8px 20px rgba(0,0,0,.38), 0 0 18px rgba(var(--ca),.2);
}
.resources-debate .portal-card::before, .resources-more .portal-card::before { display: none; }
.resources-debate .portal-card .portal-card-icon,
.resources-more .portal-card .portal-card-icon {
  display: grid; place-items: center; flex: none;
  align-self: flex-start;
  width: 42px; height: 42px; margin: 0 0 7px;
  border: 1px solid rgb(var(--ca)); border-radius: 50%;
  font: 2rem/1 'Cormorant Garamond', Georgia, serif; color: #f9d98d;
  box-shadow: 0 0 12px rgba(var(--ca),.65), inset 0 0 13px rgba(var(--ca),.17);
}
.resources-debate .portal-card .portal-card-title,
.resources-more .portal-card .portal-card-title {
  display: block; font: 700 clamp(1.15rem,1.55vw,1.5rem)/1 'Cormorant Garamond', Georgia, serif;
  align-self: flex-start;
  margin: 0 0 3px; color: #fff; letter-spacing: 0; text-shadow: 0 2px 6px #000;
}
.resources-debate .portal-card .portal-card-desc,
.resources-more .portal-card .portal-card-desc {
  font: 400 .78rem/1.35 'Josefin Sans',sans-serif; color: #f0f1f5; max-width: 70%;
  align-self: flex-start;
  margin: 0 0 8px; text-shadow: 0 1px 6px #000;
}
.resources-debate .portal-card .portal-card-status,
.resources-more .portal-card .portal-card-status {
  align-self: flex-start;
  margin: auto 0 0; padding: 7px 14px 6px; min-width: 122px;
  border-radius: 4px; border: 1px solid rgb(var(--ca));
  background: rgba(2,14,31,.65); color: #ffe5ad;
  text-align: center; font: 700 .67rem/1.15 'Josefin Sans',sans-serif; letter-spacing: .04em;
  box-shadow: 0 0 11px rgba(var(--ca),.18);
}
.resources-debate .portal-card .card-drive-meta,
.resources-debate .portal-card .card-pin,
.resources-debate .portal-card .card-files,
.resources-more .portal-card .card-drive-meta,
.resources-more .portal-card .card-pin,
.resources-more .portal-card .card-files { max-width: 100%; align-self: stretch; }
#mp-content #drive-evidence-link { --ca: 239,178,66; background-image: linear-gradient(90deg,#24170d 15%,rgba(22,16,16,.74) 58%,rgba(31,19,12,.28)),url('../images/season-art-ready.webp'); }
#mp-content #drive-flows-link { --ca: 57,151,255; background-image: linear-gradient(90deg,#07152b 15%,rgba(4,25,64,.78) 58%,rgba(12,40,99,.34)),url('../images/season-art-practice.webp'); }
#mp-content #drive-research-link { --ca: 37,208,192; background-image: linear-gradient(90deg,#032c30 15%,rgba(2,45,52,.78) 58%,rgba(4,62,66,.3)),url('../images/season-datacenter.webp'); }
#mp-content #drive-schedule-link { --ca: 161,106,236; background-image: linear-gradient(90deg,#19143c 15%,rgba(29,24,67,.8) 58%,rgba(56,39,106,.32)),url('../images/season-card-calendar.webp'); }
#mp-content #drive-tournament-link { --ca: 237,154,61; background-image: linear-gradient(90deg,#22150c 12%,rgba(39,22,13,.8) 57%,rgba(92,47,14,.38)),url('../images/ncfl-championship-trophy.png'); }
#mp-content .resources-debate .portal-card.portal-card-wide { grid-column: 1 / -1; min-height: 110px; padding: 15px 18px; background-size: cover, auto 190%; }
.resources-debate .portal-card-wide .portal-card-icon { position: absolute; left: 18px; top: 13px; }
.resources-debate .portal-card-wide .portal-card-title,
.resources-debate .portal-card-wide .portal-card-desc { margin-left: 60px !important; }
.resources-debate .portal-card-wide .portal-card-status { margin-left: 60px !important; margin-top: auto; }
.resources-official {
  padding: 0 12px 12px; border: 1px solid var(--resource-line);
  border-radius: 8px; background: linear-gradient(135deg,rgba(12,36,66,.85),rgba(3,20,40,.92));
  min-width: 0;
}
.resources-official .resources-section-heading { margin-bottom: 0; }
.resources-official .resources-section-heading h2 { font-size: .84rem; }
.resources-official .resources-section-heading h2::after { width: clamp(12px, 3vw, 90px); }
.resources-official > p { font-size: .72rem; margin: 0 0 10px; color: #bdc8dc; line-height: 1.35; }
.official-doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.official-doc-list li,
.official-doc-action {
  width: 100%; min-height: 67px; display: flex; align-items: center; gap: 12px;
  padding: 7px 9px; border: 1px solid rgba(180,196,223,.36); border-radius: 6px;
  background: rgba(10,31,57,.84); color: #fff; text-align: left;
}
.official-doc-list li:has(.official-doc-action) { padding: 0; }
.official-doc-action { border: 0; cursor: pointer; font: inherit; }
.official-doc-action:hover { background: #153455; }
.official-doc-icon { font: 2rem/.85 'Cormorant Garamond',serif; color: #efaa6a; text-shadow: 0 0 9px #b8663388; flex: none; }
.official-doc-copy { min-width: 0; flex: 1; }
.official-doc-copy strong { display: block; font: 600 .79rem/1.15 'Cormorant Garamond',Georgia,serif; color: #fff; }
.official-doc-copy small { display: block; margin-top: 3px; font: .66rem/1.25 'Josefin Sans',sans-serif; color: #aebbd0; }
.official-doc-wait, .official-doc-check {
  flex: none; border: 1px solid rgba(232,173,77,.65); border-radius: 4px;
  padding: 7px 7px 5px; font: 700 .6rem/1 'Josefin Sans',sans-serif;
  text-transform: uppercase; color: #f4cd82; white-space: nowrap;
}
.official-doc-wait { border-color: #6e7683; color: #b4bdc9; }
.official-doc-copy .october-document-error { color: #ffaba9; }
.resources-start {
  display: grid; grid-template-columns: 1fr auto; column-gap: 22px;
  align-items: center; margin-top: 14px; padding: 12px 18px;
  border: 1px solid #216166; border-radius: 8px;
  background: linear-gradient(110deg,rgba(3,28,45,.92),rgba(7,24,47,.92));
}
.resources-start .resources-section-heading { grid-column: 1/-1; margin-bottom: 5px; }
.resources-start .resources-section-heading h2 { color: #33d9c6; }
.resources-start .resources-section-heading h2::after { background: #33d9c6; width: 90px; }
.resources-start ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.resources-start li { display: flex; align-items: center; gap: 13px; min-width: 0; }
.step-number {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 2px solid #f7ce76; border-radius: 50%;
  color: #f7ce76; font: 700 1rem 'Josefin Sans',sans-serif;
  box-shadow: 0 0 13px #e8ad4d77,inset 0 0 10px #e8ad4d33;
}
.resources-start li strong { display: block; font: 700 1rem/1.1 'Cormorant Garamond',serif; }
.resources-start li small { display: block; margin-top: 3px; font: .7rem/1.3 'Josefin Sans',sans-serif; color: #bcc8d8; }
.resources-help { display: block; min-width: 160px; border: 1px solid #188e9a; border-radius: 7px; padding: 12px; background: #063343; color: #fff; text-decoration: none; font: 700 .86rem 'Cormorant Garamond',serif; }
.resources-help::before { content: '☏'; color: #37decf; font-size: 1.2rem; margin-right: 10px; }
.resources-help small { display: block; margin: 4px 0 0 25px; font: .65rem 'Josefin Sans',sans-serif; color: #cad7e5; }
.resources-help:hover { border-color: #37decf; }
#mp-content .resource-boundary { margin: 28px 0 18px; }
.resources-more { padding: 16px 0; }
.resources-more h2 { font: 700 .9rem 'Josefin Sans',sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--resource-gold); }
#mp-content #drive-assignments-link { --ca: 232, 173, 77; max-width: 420px; min-height: 155px; background-image: linear-gradient(90deg,#181a31,rgba(14,22,47,.7)),url('../images/season-card-ready-gold.webp'); }
@media (max-width: 1100px) {
  .resources-columns { grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); }
  .resources-hero h1 { font-size: clamp(2.5rem,4vw,3.5rem); }
  .resources-debate .portal-card { min-height: 190px; }
  .resources-start { grid-template-columns: 1fr; row-gap: 14px; }
  .resources-help { width: fit-content; }
}
@media (max-width: 820px) {
  .resources-topbar { gap: 12px; }
  .resources-brand span { font-size: 1.1rem; }
  .resources-toplinks a span { display: none; }
  .resources-hero-copy { max-width: 76%; }
  .resources-hero-art { width: 280px; right: -65px; opacity: .65; }
  .resources-columns { grid-template-columns: 1fr; }
  .resources-official { padding: 8px 12px 12px; }
  .official-doc-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resources-start ol { gap: 9px; }
}
@media (max-width: 620px) {
  body.resources-view-active #mp-content .portal-main { padding: 100px 14px 54px !important; }
  body.resources-view-active.dome-open #mp-content .portal-main { padding-top: 200px !important; }
}
@media (max-width: 600px) {
  .resources-topbar { height: 60px; padding: 0 12px; gap: 10px; }
  .resources-brand { gap: 4px; }
  .resources-brand img { width: 42px; height: 42px; }
  .resources-brand span { font-size: .9rem; }
  .resources-crumbs { padding-left: 10px; gap: 7px; font-size: .74rem; }
  .resources-toplinks { gap: 10px; }
  .resources-toplinks a:first-child, .resources-toplinks a:nth-child(2) { display: none; }
  .resources-hero { min-height: 215px; padding: 24px 16px; align-items: flex-start; }
  .resources-hero-copy { max-width: 100%; }
  .resources-hero h1 { max-width: 330px; font-size: clamp(2.2rem,8vw,3rem); }
  .resources-hero-copy > p:last-child { max-width: 250px; font-size: .83rem; }
  .resources-hero-art { width: 225px; bottom: -17px; right: -92px; opacity: .55; }
  #mp-content .dashboard-content { padding: 12px 14px 56px; }
  .resources-section-heading { flex-wrap: wrap; gap: 3px; }
  .resources-section-heading h2::after { width: 35px; }
  .resources-section-heading > span { width: 100%; text-align: left; margin: 0; }
  .resources-debate .portal-cards, .official-doc-list { grid-template-columns: 1fr; }
  .resources-debate .portal-card { min-height: 160px; }
  .resources-debate .portal-card.portal-card-wide { min-height: 132px; }
  .resources-start ol { grid-template-columns: 1fr; gap: 14px; }
  .resources-start li { gap: 15px; }
  .resources-start .resources-section-heading { margin-bottom: 6px; }
}