:root { color-scheme: dark; --cyan: #19d7df; --gold: #f3c541; --panel: #07151b; --line: #173b45; --muted: #9ab5bf; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 80% 10%, #073541 0, #02080b 38%, #010405 100%); color: #f7fbfc; font: 18px/1.55 Inter,Arial,sans-serif; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; border: 2px solid var(--cyan); border-radius: 9px; color: #001012; background: var(--cyan); font-weight: 900; text-decoration: none; transform: translateY(-160%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
:where(a,button,input):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.portal-shell { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 48px; }
.portal-header { display: grid; width: calc(100vw - 192px); justify-items: start; gap: 14px; margin-left: calc(50% - 50vw + 96px); }
.brand { display: inline-flex; align-items: center; gap: 22px; color: white; text-decoration: none; font-family: Georgia, serif; font-size: 44px; line-height: 1; font-weight: 700; }
.portal-header .brand { transform: none; }
.brand img { width: 192px; height: 192px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(25,215,230,.62)); }
.back-home { margin-left: 240px; display:inline-flex; align-items:center; justify-content:center; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; color: white; background: #14252c; font-size: 17px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.portal-card { width: min(1240px, 100%); margin: 42px auto 0; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--panel) 94%, transparent); box-shadow: 0 30px 80px #0009; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 16px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 0; font: 700 clamp(38px, 8vw, 64px)/.98 Georgia, serif; }
.portal-message { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 22px 0 30px; }
.primary-action, .secondary-action { display: inline-block; border: 0; border-radius: 10px; padding: 14px 20px; font: 800 17px Inter,Arial,sans-serif; text-decoration: none; cursor: pointer; }
.primary-action,.secondary-action,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.discovery-actions button,.participation-actions a,.participation-actions button,.reward-actions button { min-height:44px; }
:where(button,.primary-action,.secondary-action,.back-home,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.participation-actions a,.reward-actions button) { transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease,transform .18s ease; }
:where(button,.primary-action,.secondary-action,.back-home,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.participation-actions a,.reward-actions button):hover,
:where(button,.primary-action,.secondary-action,.back-home,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.participation-actions a,.reward-actions button):focus-visible { border-color:rgba(85,217,238,.9); box-shadow:0 0 0 1px rgba(85,217,238,.48),0 0 18px rgba(0,213,238,.42),0 0 36px rgba(0,162,255,.22); filter:brightness(1.12); transform:translateY(-2px); }
.primary-action { color: #001012; background: var(--cyan); }
.secondary-action { color: white; background: #14252c; }
.member-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.member-actions form { margin:0; }
.privacy-note { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.member-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.member-identity img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--cyan); }
.member-identity h2 { margin: 6px 0 0; font: 700 34px Georgia, serif; }
#member-role { color: var(--muted); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #55d478; }
.member-dashboard { display: grid; gap: 15px; margin: 0 0 18px; padding: 22px; border: 1px solid #25606d; border-radius: 14px; background: linear-gradient(135deg,#08232a,#071116 68%); }
.dashboard-heading { display:flex; align-items:end; justify-content:space-between; gap:12px; }
.dashboard-heading h3 { margin:0; font:700 34px Georgia,serif; }
.dashboard-heading > span { color:var(--gold); font-size:17px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.dashboard-grid article { display:grid; align-content:start; gap:6px; min-height:116px; padding:14px; border:1px solid var(--line); border-radius:10px; background:#07161b; }
.dashboard-grid article > span { color:var(--cyan); font-size:15px; font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.dashboard-grid strong { font:700 24px/1.2 Georgia,serif; }
.dashboard-grid small { color:var(--muted); font-size:18px; line-height:1.5; }
.dashboard-actions { display:flex; flex-wrap:wrap; gap:9px; }
.dashboard-attention { display:grid; gap:9px; padding:14px; border:1px solid #ba8d20; border-radius:10px; background:#211b08; }
.dashboard-attention > strong { color:var(--gold); font-size:17px; letter-spacing:.08em; text-transform:uppercase; }
.dashboard-attention > div { display:grid; gap:7px; }
.dashboard-attention a { display:grid; gap:2px; padding:10px; border-radius:8px; color:#f7fbfc; background:#0b1a20; text-decoration:none; }
.dashboard-attention a span { color:var(--muted); font-size:15px; }
.dashboard-self-service { display:grid; gap:10px; padding-top:2px; }
.dashboard-self-service > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.dashboard-self-service > div:first-child > strong { color:var(--cyan); font-size:17px; letter-spacing:.08em; text-transform:uppercase; }
.dashboard-self-service > div:first-child > span { color:var(--muted); font-size:14px; }
.dashboard-self-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.dashboard-self-service-grid a { display:grid; gap:5px; min-width:0; min-height:108px; padding:13px; border:1px solid var(--line); border-radius:10px; background:#07161b; color:white; text-decoration:none; }
.dashboard-self-service-grid a:hover,.dashboard-self-service-grid a:focus-visible { border-color:var(--cyan); outline:3px solid transparent; box-shadow:0 0 0 2px #1fd1dc55; }
.dashboard-self-service-grid span { color:var(--cyan); font-size:13px; font-weight:900; text-transform:uppercase; }
.dashboard-self-service-grid strong { font:700 25px Georgia,serif; }
.dashboard-self-service-grid small { color:var(--muted); font-size:14px; line-height:1.4; }
.portal-shortcuts { display:grid; gap:14px; margin:0 0 18px; padding:18px; overflow:hidden; border:1px solid #2d6f7c; border-radius:16px; background:radial-gradient(circle at 88% 0,rgba(20,210,231,.16),transparent 34%),linear-gradient(135deg,#09252d,#061116 70%); box-shadow:0 20px 45px #0006,inset 0 1px rgba(255,255,255,.04); }
.shortcut-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; }
.shortcut-heading p,.shortcut-heading h3 { margin:0; }
.shortcut-heading h3 { font:700 29px Georgia,serif; }
.shortcut-heading > span { max-width:290px; color:var(--muted); font-size:15px; line-height:1.4; text-align:right; }
.shortcut-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.shortcut-grid a { display:flex; min-width:0; align-items:center; gap:9px; padding:11px; border:1px solid rgba(91,180,197,.28); border-radius:11px; color:#eefbfc; background:rgba(12,40,48,.82); text-decoration:none; }
.shortcut-grid a:hover,.shortcut-grid a:focus-visible { color:#fff; background:#123e48; }
.shortcut-grid a.shortcut-featured { border-color:rgba(243,197,65,.46); background:linear-gradient(135deg,rgba(243,197,65,.15),rgba(12,40,48,.9)); }
.shortcut-grid a.shortcut-featured:hover,.shortcut-grid a.shortcut-featured:focus-visible { border-color:var(--gold); }
.shortcut-icon { display:grid; flex:0 0 34px; width:34px; height:34px; place-items:center; border:1px solid rgba(24,232,238,.38); border-radius:10px; color:var(--cyan); background:#06171c; font-size:17px; font-weight:900; }
.shortcut-featured .shortcut-icon { border-color:rgba(243,197,65,.55); color:var(--gold); }
.shortcut-grid a > span:last-child { display:grid; min-width:0; gap:2px; }
.shortcut-grid strong { overflow:hidden; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.shortcut-grid small { overflow:hidden; color:#91bdc7; font-size:11px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.discovery-intro { margin:0 0 15px; color:var(--muted); font-size:19px; line-height:1.6; }
.discovery-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.discovery-columns h4 { margin:0 0 9px; color:var(--muted); font-size:16px; letter-spacing:.1em; text-transform:uppercase; }
.discovery-list { display:grid; gap:9px; }
.discovery-card { display:grid; gap:5px; padding:13px 14px; border:1px solid var(--line); border-radius:10px; color:inherit; background:#0b1a20; text-decoration:none; }
.discovery-card > span { color:var(--cyan); font-size:15px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.discovery-card small { color:var(--muted); font-size:18px; line-height:1.5; }
.discovery-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:4px; }
.discovery-actions a,.discovery-actions button { padding:10px 13px; border:1px solid var(--line); border-radius:7px; color:#eefbfc; background:#10242b; font:800 15px Inter,Arial,sans-serif; text-decoration:none; cursor:pointer; }
.discovery-actions button { color:#001012; border-color:var(--cyan); background:var(--cyan); }
.discovery-actions a:hover,.discovery-actions a:focus-visible { border-color:var(--cyan); }
.discovery-actions button:disabled { opacity:.65; cursor:wait; }
.portal-nav { display: grid; width: min(1240px, 100%); grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 14px auto 0; padding: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #061116; box-shadow: 0 18px 45px #0007; }
.portal-nav a { min-width: 0; padding: 12px 8px; border: 1px solid var(--line); border-radius: 9px; color: #e9f7f9; background: #10242b; font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; white-space: nowrap; }
.portal-nav a:hover,.portal-nav a:focus-visible { border-color: var(--cyan); color: #001012; background: var(--cyan); }
.nav-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: 3px; place-items: center; border-radius: 99px; color: #001012; background: var(--gold); font-size: 11px; }
.rank-panel,.record-section { scroll-margin-top: 20px; }
.hunt-record { display: grid; grid-template-columns:minmax(0,1fr); gap: 18px; margin-bottom: 26px; }
.hunt-record > * { min-width:0; overflow-wrap:anywhere; }
@media (max-width:600px) {
  .member-dashboard { min-width:0; grid-template-columns:minmax(0,1fr); }
  .member-dashboard > * { min-width:0; overflow-wrap:anywhere; }
  .dashboard-heading { flex-wrap:wrap; }
}
.portal-category-heading { display:flex; align-items:center; gap:16px; margin-top:18px; padding:18px 20px; border:1px solid #2b6672; border-left:6px solid var(--cyan); border-radius:12px; background:linear-gradient(90deg,#0f2d35,#08171d 72%); box-shadow:0 12px 32px #0005; }
.portal-category-heading > span { display:grid; min-width:52px; min-height:52px; place-items:center; border:1px solid #377582; border-radius:50%; color:var(--gold); background:#061116; font-size:15px; font-weight:900; letter-spacing:.08em; }
.portal-category-heading div { display:grid; gap:2px; }
.portal-category-heading p,.portal-category-heading h3 { margin:0; }
.portal-category-heading p { color:var(--cyan); font-size:14px; font-weight:900; letter-spacing:.18em; }
.portal-category-heading h3 { font:700 31px Georgia,serif; }
.rank-panel,.record-section { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #061116; }
.record-label { margin: 0 0 7px; color: var(--cyan); font-size: 16px; font-weight: 900; letter-spacing: .18em; }
.rank-panel h3,.record-heading h3 { margin: 0; font: 700 34px Georgia, serif; }
.rank-panel > p:not(.record-label):not(.next-rank) { color: var(--muted); font-size:19px; }
.hunt-path-intro { margin:0 0 15px; color:var(--muted); font-size:18px; line-height:1.6; }
.hunt-path-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.hunt-path-grid article { display:grid; align-content:start; gap:6px; padding:14px; border-radius:10px; background:#0b1a20; }
.hunt-path-grid article > span { color:var(--cyan); font-size:15px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.hunt-path-grid strong { font:700 24px Georgia,serif; }
.hunt-path-grid small { color:var(--muted); font-size:18px; line-height:1.5; }
.progress-track { height: 9px; margin-top: 19px; overflow: hidden; border-radius: 99px; background: #12262e; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--cyan),#3388f5); }
.progress-copy { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 18px; }
.next-rank { margin: 18px 0 0; color: var(--gold); font-size: 19px; }
.record-stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.record-stats div { display: grid; gap: 5px; padding: 18px 12px; text-align: center; background: #061116; border-right: 1px solid var(--line); }
.record-stats div:last-child { border: 0; }
.record-stats strong { font: 700 26px Georgia,serif; }
.record-stats span { color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: .07em; }
.record-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.record-heading > strong { color: var(--gold); }
.member-update-list { display: grid; gap: 8px; }
.member-update { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; padding: 16px; border-radius: 9px; color: inherit; background: #0b1a20; text-decoration: none; }
.member-update[href]:hover,.member-update[href]:focus-visible { outline: 1px solid var(--cyan); }
.member-update > span { color: var(--cyan); font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.member-update div { display: grid; gap: 5px; padding-left: 0; }
.member-update strong { font-size:20px; }
.member-update small { color: var(--muted); font-size:18px; }
.activity-timeline { display: grid; gap: 9px; }
.timeline-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 9px; background: #0b1a20; color: inherit; text-decoration: none; }
.timeline-item[href]:hover,.timeline-item[href]:focus-visible { outline: 1px solid var(--cyan); }
.timeline-icon { min-width: 86px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--cyan); font-size: 14px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.timeline-item div { display: grid; gap: 4px; }
.timeline-item div > span,.timeline-item time { color: var(--muted); font-size: 16px; }
.timeline-item time { opacity: .8; }
.achievement-list,.recognition-list { display: grid; gap: 9px; }
.honor,.recognition { padding: 12px 14px; border-radius: 9px; background: #0b1a20; }
.honor { display: flex; justify-content: space-between; gap: 12px; }
.honor span,.recognition span,.empty-record { color: var(--muted); font-size: 18px; }
.empty-record { margin: 0; padding: 13px 14px; border: 1px dashed var(--line); border-radius: 9px; background: #08151a; line-height: 1.5; }
.recognition { display: grid; gap: 5px; }
.recognition strong { color: #eefbfc; }
.history-recognition .record-heading h3 { margin:0; }
.activity-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.ticket-center { grid-column:1 / -1; padding:18px; border:1px solid var(--line); border-radius:12px; background:rgba(4,23,30,.72); }
.ticket-center .preferences-form { margin:14px 0 18px; }
.ticket-center .preferences-form > label { align-items:flex-start; flex-direction:column; }
.ticket-center .preferences-form :is(input:not([type="checkbox"]),select,textarea) { width:100%; min-height:44px; height:auto; padding:10px 12px; border:1px solid #2b6672; border-radius:9px; background:#071e26; color:#eefbfc; font:inherit; }
.ticket-center .preferences-form textarea { min-height:110px; resize:vertical; }
.ticket-center .activity { display:grid; gap:10px; padding:14px; border-radius:9px; background:#0b1a20; }
.ticket-center .activity > div:first-child { display:grid; gap:5px; }
.ticket-center .activity.unread-ticket { border-color:#20d9e7; box-shadow:inset 4px 0 #20d9e7; }
.ticket-center .activity span,.ticket-center .activity p { margin:0; color:var(--muted); }
.participation-controls { display:flex; flex-wrap:wrap; gap:7px; }
.participation-controls button { min-height:40px; padding:8px 12px; border:1px solid var(--line); border-radius:8px; color:#eefbfc; background:#10242b; font:800 14px Inter,Arial,sans-serif; cursor:pointer; }
.activity-columns h4,.history-block h4 { margin: 0 0 9px; color: var(--muted); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.activity-list { display: grid; gap: 8px; }
.activity-item { display: grid; gap: 4px; padding: 11px 12px; border-radius: 9px; background: #0b1a20; color: inherit; text-decoration: none; }
.activity-item[href]:hover,.activity-item[href]:focus-visible { outline: 1px solid var(--cyan); }
.activity-item strong { font-size: 19px; }
.activity-item span { color: var(--muted); font-size: 16px; }
.participation-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.participation-actions a,.participation-actions button { padding:10px 13px; border:1px solid var(--line); border-radius:7px; color:#eefbfc; background:#10242b; font:800 15px Inter,Arial,sans-serif; text-decoration:none; cursor:pointer; }
.participation-actions button { color:var(--gold); }
.participation-actions a:hover,.participation-actions button:hover { border-color:var(--cyan); }
.participation-actions button:disabled { opacity:.65; cursor:wait; }
.history-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.reward-shop-intro { margin:0 0 15px; color:var(--muted); font-size:18px; line-height:1.6; }
.reward-wallet-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:16px; overflow:hidden; border:1px solid var(--line); border-radius:10px; }
.reward-wallet-summary div { display:grid; gap:4px; padding:14px; background:#0b1a20; border-right:1px solid var(--line); }
.reward-wallet-summary div:last-child { border-right:0; }
.reward-wallet-summary span { color:var(--muted); font-size:14px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.reward-wallet-summary strong { color:var(--gold); font:700 24px Georgia,serif; }
.reward-next-award { margin:-2px 0 16px; padding:12px 14px; color:var(--text); background:rgba(24,232,238,.07); border-left:3px solid var(--cyan); border-radius:0 8px 8px 0; font-size:16px; font-weight:700; line-height:1.5; }
.reward-collection-progress { margin:-7px 0 16px; padding:11px 14px; border:1px solid rgba(243,197,65,.22); border-radius:9px; color:#f7e49d; background:rgba(243,197,65,.06); font-size:15px; font-weight:800; line-height:1.5; }
.reward-collection-meter { display:grid; gap:8px; margin:-7px 0 16px; padding:11px 14px; border:1px solid rgba(24,232,238,.2); border-radius:9px; background:rgba(4,23,30,.7); }
.reward-collection-meter div { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--muted); font-size:.78rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.reward-collection-meter strong { color:var(--gold); font-size:.9rem; }
.reward-collection-meter progress { width:100%; height:12px; overflow:hidden; border:0; border-radius:999px; background:#07171d; accent-color:var(--cyan); }
.reward-collection-meter progress::-webkit-progress-bar { border-radius:999px; background:#07171d; }
.reward-collection-meter progress::-webkit-progress-value { border-radius:999px; background:linear-gradient(90deg,var(--cyan),var(--gold)); }
.reward-collection-meter progress::-moz-progress-bar { border-radius:999px; background:linear-gradient(90deg,var(--cyan),var(--gold)); }
.reward-collection-meter p { margin:2px 0 0; color:#b9dce5; font-size:.78rem; font-weight:700; line-height:1.4; }
.reward-filter-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:18px 0 4px; padding:14px; border:1px solid rgba(24,232,238,.24); border-radius:14px; background:rgba(4,23,30,.7); }
.reward-filter-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.reward-filter-buttons button { display:flex; align-items:center; gap:7px; padding:9px 12px 9px 14px; border:1px solid rgba(138,213,238,.28); border-radius:999px; background:rgba(7,30,38,.86); color:#b9edf4; font:800 .78rem/1.1 Inter,Arial,sans-serif; letter-spacing:.04em; }
.reward-filter-buttons button strong { display:grid; min-width:22px; min-height:22px; padding:0 5px; place-items:center; border-radius:999px; background:rgba(138,213,238,.14); color:#dffcff; font-size:.7rem; }
.reward-filter-buttons button[aria-pressed="true"] { border-color:var(--cyan); background:var(--cyan); color:#03151b; box-shadow:0 0 22px rgba(24,232,238,.22); }
.reward-filter-buttons button[aria-pressed="true"] strong { background:rgba(3,21,27,.14); color:#03151b; }
.reward-category-filter { display:grid; flex:1 1 220px; gap:5px; max-width:300px; }
.reward-category-filter span { color:var(--muted); font-size:.72rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.reward-category-filter select { min-height:38px; width:100%; padding:8px 30px 8px 11px; border:1px solid rgba(138,213,238,.28); border-radius:8px; background:#071e26; color:#d9f7fa; font:800 .8rem Inter,Arial,sans-serif; }
.reward-category-filter select:focus-visible { border-color:var(--cyan); outline:2px solid rgba(24,232,238,.25); outline-offset:2px; }
.reward-filter-summary { display:flex; align-items:center; justify-content:flex-end; gap:9px; }
.reward-filter-summary label { color:var(--muted); font-size:.76rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.reward-filter-summary select { min-height:36px; padding:7px 30px 7px 10px; border:1px solid rgba(138,213,238,.28); border-radius:8px; background:#071e26; color:#d9f7fa; font:800 .78rem Inter,Arial,sans-serif; }
.reward-filter-summary select:focus-visible { border-color:var(--cyan); outline:2px solid rgba(24,232,238,.25); outline-offset:2px; }
.reward-filter-summary strong { color:var(--gold); white-space:nowrap; }
.reward-filter-summary button { min-height:36px; padding:7px 12px; border:1px solid rgba(138,213,238,.28); border-radius:8px; background:transparent; color:#b9edf4; font:800 .76rem Inter,Arial,sans-serif; white-space:nowrap; }
.reward-filter-summary button:hover,.reward-filter-summary button:focus-visible { border-color:var(--cyan); color:#fff; outline:none; }
.reward-filter-empty { margin-top:18px; text-align:center; }
.reward-category-nav { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 18px; }
.reward-category-nav:empty { display:none; }
.reward-category-nav button { display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid rgba(244,198,79,.25); border-radius:9px; background:rgba(22,27,25,.9); color:#f6eab6; font:800 .78rem/1.1 Inter,Arial,sans-serif; }
.reward-category-nav button strong { display:grid; min-width:22px; min-height:22px; place-items:center; border-radius:999px; background:rgba(244,198,79,.14); color:var(--gold); font-size:.72rem; }
.reward-category-nav button:hover,.reward-category-nav button:focus-visible { border-color:var(--gold); background:rgba(244,198,79,.12); color:#fff; }
.reward-shop-status { min-height:24px; margin:0 0 10px; color:var(--gold); font-size:16px; font-weight:700; }
.reward-catalog { display:grid; gap:18px; }
.reward-category-group { display:grid; gap:10px; scroll-margin-top:24px; padding:14px; border:1px solid #2b6672; border-radius:12px; background:#08171d; }
.reward-category-title { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 14px; border-left:5px solid var(--cyan); border-radius:7px; background:linear-gradient(90deg,#14343c,#0b1a20); }
.reward-category-title span { color:#fff; font:700 23px Georgia,serif; }
.reward-category-title strong { color:var(--gold); font-size:14px; letter-spacing:.08em; text-transform:uppercase; }
.reward-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.reward-card { display:grid; align-content:start; gap:9px; padding:16px; border:1px solid var(--line); border-radius:10px; background:#0b1a20; }
.reward-card.is-equipped { border-color:var(--cyan); box-shadow:inset 0 0 22px rgba(0,213,238,.09); }
.reward-card.is-previewing { border-color:var(--gold); box-shadow:0 0 0 2px rgba(244,198,79,.2),inset 0 0 22px rgba(244,198,79,.08); }
.reward-card.is-targeted { scroll-margin-top:24px; border-color:var(--gold); box-shadow:0 0 0 3px rgba(244,198,79,.22),0 0 28px rgba(244,198,79,.18); }
.reward-card-heading { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.reward-card-heading span { color:var(--cyan); font-size:14px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.reward-card-heading strong { color:var(--gold); font-size:14px; }
.reward-card h4 { margin:0; font:700 23px Georgia,serif; }
.reward-description { margin:0; color:#acd7e2; font-size:15px; line-height:1.45; }
.reward-affordability { display:grid; gap:6px; margin-top:2px; }
.reward-affordability>div:first-child { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#8ad5ee; font-size:12px; font-weight:800; letter-spacing:.04em; }
.reward-affordability>div:first-child span { text-transform:uppercase; }
.reward-affordability>div:first-child strong { color:#dffcff; text-align:right; }
.reward-affordability-track { height:7px; overflow:hidden; border:1px solid rgba(138,213,238,.28); border-radius:999px; background:#061116; }
.reward-affordability-track span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--gold)); box-shadow:0 0 12px rgba(24,232,238,.35); }
.reward-preview { position:relative; display:grid; min-height:92px; overflow:hidden; place-items:center; border:1px solid #24505a; border-radius:9px; background:linear-gradient(145deg,#10242b,#061116); }
.reward-preview::before,.reward-preview::after { content:""; position:absolute; pointer-events:none; }
.reward-preview span { position:relative; z-index:1; max-width:90%; color:#eefbfc; font-size:16px; font-weight:900; letter-spacing:.06em; text-align:center; }
.preview-card_moonlit_cyan { background:radial-gradient(circle,#18e8ee55,#061116 68%); box-shadow:inset 0 0 24px #18e8ee55; }
.preview-card_bayou_gold { background:radial-gradient(circle,#f4c64f55,#061116 68%); box-shadow:inset 0 0 24px #f4c64f55; }
.preview-card_blood_moon { background:radial-gradient(circle,#e0525255,#061116 68%); box-shadow:inset 0 0 24px #e0525255; }
.preview-card_cypress_emerald { background:radial-gradient(circle,#3edc9155,#061116 68%); box-shadow:inset 0 0 24px #3edc9155; }
.preview-card_twilight_violet { background:radial-gradient(circle,#a879ff55,#061116 68%); box-shadow:inset 0 0 24px #a879ff55; }
.preview-badge_cypress_hunter::before,.preview-badge_moon_mark::before { width:56px; height:56px; border:3px solid var(--cyan); transform:rotate(45deg); box-shadow:0 0 18px #18e8ee66; }
.preview-badge_moon_mark::before { border-radius:50%; border-color:#d8e9ff; box-shadow:inset 13px 0 #061116,0 0 18px #a9cfff66; }
.preview-frame_bayou_vines::before,.preview-frame_lunar_ring::before { width:58px; height:58px; border:5px double #3eaa72; border-radius:12px 42px 12px 42px; box-shadow:0 0 14px #3eaa7266; }
.preview-frame_lunar_ring::before { border-style:solid; border-color:#b8ddff; border-radius:50%; box-shadow:0 0 18px #73caff88,inset 0 0 12px #73caff55; }
.preview-footer_swamp_remembers,.preview-footer_pack_hunts_together,.preview-footer_moon_guides_pack,.preview-footer_earned_not_given,.preview-footer_bayou_calls { padding:10px; background:linear-gradient(180deg,#0b1a20 65%,#172d32); }
.preview-achievements_rarest_first span,.preview-achievements_featured_three span { padding:9px 13px; border-left:4px solid var(--gold); background:#08151a; }
.preview-achievements_featured_three::before { width:70%; height:58px; border-top:6px solid #e5b848; border-bottom:6px solid #768d99; opacity:.5; }
.preview-spotlight_pack_24h { background:radial-gradient(circle,#f4c64f44,#061116 70%); }
.preview-spotlight_pack_24h::before { width:62px; height:62px; border:2px solid var(--gold); border-radius:50%; box-shadow:0 0 26px #f4c64f99; }
.preview-name_moonlight_blue span { color:#3498db; text-shadow:0 0 14px #3498db99; }
.preview-name_bayou_green span { color:#2ecc71; text-shadow:0 0 14px #2ecc7199; }
.preview-name_beta_gold span { color:#f1c40f; text-shadow:0 0 14px #f1c40f99; }
.preview-name_blood_moon_red span { color:#e74c3c; text-shadow:0 0 14px #e74c3c99; }
.preview-name_cypress_purple span { color:#9b59b6; text-shadow:0 0 14px #9b59b699; }
.preview-name_silver_fang span { color:#bdc3c7; text-shadow:0 0 14px #bdc3c799; }
.preview-name_alpha_crimson span { color:#c0392b; text-shadow:0 0 14px #c0392b99; }
.reward-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:auto; }
.reward-actions button { padding:10px 13px; border:1px solid var(--cyan); border-radius:7px; color:#001012; background:var(--cyan); font:800 15px Inter,Arial,sans-serif; cursor:pointer; }
.reward-actions button:disabled { color:var(--muted); border-color:var(--line); background:#10242b; cursor:not-allowed; box-shadow:none; filter:none; transform:none; }
.reward-alpha-card-preview { display:grid; gap:12px; }
.reward-alpha-card-preview > p { margin:0; color:var(--muted); font-size:17px; line-height:1.55; }
.reward-alpha-card-preview img { display:block; width:100%; min-height:220px; border:1px solid #2b6672; border-radius:10px; background:#061116; object-fit:contain; }
.reward-preview-controls { display:flex; justify-content:flex-end; }
.reward-preview-controls button { padding:10px 14px; border:1px solid var(--cyan); border-radius:7px; color:#dffcff; background:#10242b; font:800 15px Inter,Arial,sans-serif; cursor:pointer; }
.reward-purchase-dialog { width:min(560px,calc(100% - 32px)); padding:0; border:1px solid var(--cyan); border-radius:14px; color:#eefbfc; background:#07151a; box-shadow:0 24px 80px #000c,0 0 35px rgba(0,213,238,.2); }
.reward-purchase-dialog::backdrop { background:rgba(0,5,8,.82); backdrop-filter:blur(4px); }
.reward-purchase-dialog form { display:grid; gap:16px; padding:24px; }
.reward-purchase-dialog { max-height:calc(100dvh - 32px); overflow-y:auto; }
#mentorship-match-list input[data-mentorship-comment] { width:100%; min-width:0; min-height:44px; padding:10px; font:inherit; box-sizing:border-box; }
@media (max-width:600px) {
  .reward-purchase-dialog form { padding:16px; }
  .reward-purchase-summary { grid-template-columns:1fr; }
  #mentorship-match-list .participation-controls { flex-wrap:wrap; }
}
.reward-purchase-dialog h2 { margin:0; font:700 32px Georgia,serif; }
.reward-purchase-dialog p { margin:0; color:var(--muted); font-size:17px; line-height:1.55; }
.reward-purchase-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; border:1px solid var(--line); border-radius:9px; }
.reward-purchase-summary div { display:grid; gap:5px; padding:13px; border-right:1px solid var(--line); }
.reward-purchase-summary div:last-child { border-right:0; }
.reward-purchase-summary span { color:var(--muted); font-size:12px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.reward-purchase-summary strong { color:var(--gold); font:700 23px Georgia,serif; }
.reward-purchase-actions { display:flex; justify-content:flex-end; gap:9px; }
.reward-purchase-actions button { min-height:44px; padding:10px 15px; border:1px solid var(--line); border-radius:8px; color:#eefbfc; background:#10242b; font:800 15px Inter,Arial,sans-serif; cursor:pointer; }
.reward-purchase-actions #reward-purchase-confirm { color:#001012; border-color:var(--cyan); background:var(--cyan); }
.reward-history-block { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.reward-history-block h4 { margin:0 0 9px; color:var(--muted); font-size:16px; letter-spacing:.08em; text-transform:uppercase; }
.reward-history { display:grid; gap:8px; }
.reward-history-item { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 14px; border-radius:9px; background:#0b1a20; }
.reward-history-item > div { display:grid; gap:3px; }
.reward-history-item > div:last-child { justify-items:end; text-align:right; }
.reward-history-item span,.reward-history-item time { color:var(--muted); font-size:15px; }
.reward-history-item .is-earned { color:#55d478; }
.reward-history-item .is-spent { color:var(--gold); }
.reward-summary-action { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px; border:1px solid #2b6672; border-radius:10px; background:#0b1a20; }
.reward-summary-action > div { display:grid; gap:4px; }
.reward-summary-action strong { color:#eefbfc; font:700 21px Georgia,serif; }
.reward-summary-action span { color:var(--muted); font-size:16px; }
.reward-summary-action .primary-action { flex:0 0 auto; }
.reward-page-card { width:min(1240px,100%); }
.preference-intro { margin: 0 0 14px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.preferences-form { display: grid; gap: 8px; }
.preferences-form > label { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border-radius: 9px; background: #0b1a20; cursor: pointer; }
.preferences-form label span { display: grid; gap: 4px; }
.preferences-form small { color: var(--muted); font-size:16px; line-height: 1.5; }
.preferences-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--cyan); }
.preferences-form :is(input:not([type="checkbox"]), select, textarea) { width:100%; min-width:0; min-height:46px; padding:12px; border:1px solid #2b6672; border-radius:9px; background:#071e26; color:#eefbfc; font:inherit; font-size:16px; box-sizing:border-box; }
#mentorship-form > label:has(input[type="text"], select) { flex-direction:column; align-items:stretch; }
.journey-stage time, .journey-stage small { color:var(--muted); font-size:.85rem; line-height:1.5; }
.mentorship-form { display:grid; gap:12px; margin-bottom:18px; }
.mentorship-form label { display:grid; gap:7px; color:#eefbfc; font-weight:800; }
.mentorship-form select,.mentorship-form input[type="text"] { width:100%; min-height:44px; padding:10px 12px; border:1px solid #2b6672; border-radius:9px; background:#071e26; color:#eefbfc; font:inherit; }
.ticket-record { align-items:flex-start; flex-wrap:wrap; overflow-wrap:anywhere; }
.ticket-record > div { min-width:0; }
.ticket-record > details { flex:1 1 100%; min-width:0; }
.ticket-timeline { margin-top:12px; color:#bcecf1; }
.ticket-timeline summary { cursor:pointer; font-weight:800; }
.ticket-timeline ol { display:grid; gap:0; margin:12px 0 0; padding:0; list-style:none; }
.ticket-timeline-step { display:grid; grid-template-columns:18px 1fr; gap:9px; min-height:42px; }
.ticket-timeline-step > span { position:relative; width:10px; height:10px; margin-top:4px; border:2px solid #25d8e1; border-radius:50%; background:#071e26; }
.ticket-timeline-step:not(:last-child) > span::after { content:""; position:absolute; top:10px; left:3px; width:2px; height:30px; background:#2b6672; }
.ticket-timeline-step.is-current > span { background:#ffd34f; border-color:#ffd34f; box-shadow:0 0 12px #ffd34f66; }
.ticket-timeline-step div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
.ticket-timeline-step time { color:#8fc7ce; font-size:12px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid #ffd34f; outline-offset:3px; }
@media (max-width:700px) {
  .ticket-record { display:block; }
  .ticket-record .participation-controls { width:100%; margin-top:14px; }
  .ticket-record .participation-controls button { flex:1 1 130px; min-height:44px; }
  .ticket-timeline-step div { display:grid; }
}
.preference-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
#preference-status { color: var(--muted); font-size: 16px; }
.alpha-card-section img { display: block; width: 100%; margin-top: 14px; border-radius: 9px; }
@media (max-width:1000px) { .shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:800px) { .portal-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-nav a{padding-inline:8px;font-size:15px}.portal-shortcuts{padding:15px}.shortcut-heading{align-items:start;flex-direction:column;gap:5px}.shortcut-heading > span{max-width:none;text-align:left}.shortcut-grid{display:flex;margin:0 -15px;padding:2px 15px 10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}.shortcut-grid a{flex:0 0 168px;scroll-snap-align:start} }
@media (max-width:600px) { .reward-filter-bar{align-items:stretch;flex-direction:column}.reward-category-filter{max-width:none}.reward-filter-summary{align-items:stretch;justify-content:flex-start;flex-wrap:wrap}.reward-filter-summary strong{width:100%;white-space:normal} }
@media (max-width:600px) { .portal-header{width:auto;margin-left:0;gap:12px}.back-home{margin-left:0}.brand{gap:14px;font-size:27px}.brand img{width:108px;height:108px}.dashboard-grid,.discovery-columns,.hunt-path-grid,.reward-category-grid{grid-template-columns:1fr}.reward-wallet-summary,.reward-purchase-summary{grid-template-columns:1fr}.reward-wallet-summary div,.reward-purchase-summary div{border-right:0;border-bottom:1px solid var(--line)}.reward-wallet-summary div:last-child,.reward-purchase-summary div:last-child{border-bottom:0}.reward-purchase-actions{align-items:stretch;flex-direction:column-reverse}.dashboard-grid article{min-height:0}.record-stats{grid-template-columns:repeat(2,1fr)} .record-stats div:nth-child(2){border-right:0}.record-stats div:nth-child(-n+2){border-bottom:1px solid var(--line)} .activity-columns{grid-template-columns:1fr} .timeline-item,.member-update{grid-template-columns:1fr}.timeline-icon{width:max-content}.portal-category-heading{padding:14px}.portal-category-heading > span{min-width:44px;min-height:44px}.reward-summary-action{align-items:stretch;flex-direction:column}.reward-summary-action .primary-action{text-align:center} }
@media (max-width:800px) { .dashboard-self-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .dashboard-self-service > div:first-child { align-items:flex-start; flex-direction:column; } }
@media (max-width:430px) { .dashboard-self-service-grid { grid-template-columns:1fr; } .dashboard-self-service-grid a { min-height:0; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; } :where(button,.primary-action,.secondary-action,.back-home,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.participation-actions a,.reward-actions button):hover,:where(button,.primary-action,.secondary-action,.back-home,.portal-nav a,.portal-shortcuts a,.discovery-actions a,.participation-actions a,.reward-actions button):focus-visible { transform:none; } }
[hidden] { display: none !important; }
/* Member journey milestones */
.journey-stage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.journey-stage { display: grid; gap: 5px; padding: 14px; border: 1px solid rgba(79,216,231,.22); border-radius: 12px; background: rgba(4,25,31,.62); }
.journey-stage span { color: #91b9c6; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey-stage.is-complete { border-color: rgba(39,217,191,.48); background: rgba(12,73,70,.32); }
.journey-stage.is-complete span { color: #4de3c5; }
@media (max-width: 720px) { .journey-stage-grid { grid-template-columns: 1fr; } }
.rank-quest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 28px; }
.rank-quest { padding: 20px; border: 1px solid #2b6672; border-radius: 12px; background: #0b2028; }
.rank-quest h4 { margin: 0 0 12px; color: #eefbfc; font-size: 1.2rem; }
.rank-quest p { color: var(--muted); line-height: 1.6; }
.rank-quest-goal { display: grid; gap: 8px; margin-top: 18px; }
.rank-quest-goal span { color: var(--muted); font-size: .9rem; }
.rank-quest-goal progress { width: 100%; height: 12px; accent-color: #16cad5; }

.personnel-file-section { background:linear-gradient(145deg,rgba(5,31,38,.98),rgba(5,17,22,.98)); }
.personnel-file-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.personnel-file-summary div { display:grid; gap:5px; min-width:0; padding:15px; border:1px solid rgba(79,216,231,.22); border-radius:10px; background:#0b2028; }
.personnel-file-summary strong { color:#eefbfc; font:700 21px Georgia,serif; overflow-wrap:anywhere; }
.personnel-file-summary span { color:var(--muted); font-size:.78rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.timeline-filter { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.85rem; }
.timeline-filter select { min-height:42px; padding:8px 11px; border:1px solid #358896; border-radius:8px; background:#0b252d; color:#eaf8fa; font:inherit; }
.guardian-timeline { display:grid; gap:0; }
.guardian-timeline-item { display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; min-width:0; }
.guardian-timeline-marker { position:relative; width:11px; height:11px; margin-top:7px; border:2px solid var(--cyan); border-radius:50%; background:#071e26; box-shadow:0 0 10px rgba(24,232,238,.3); }
.guardian-timeline-item:not(:last-child) .guardian-timeline-marker::after { content:""; position:absolute; top:11px; left:3px; width:2px; height:calc(100% + 54px); background:#24505a; }
.guardian-timeline-item > div { display:grid; gap:5px; min-width:0; margin-bottom:11px; padding:12px 14px; border-radius:9px; background:#0b1a20; }
.guardian-timeline-item > div > span { color:var(--cyan); font-size:.72rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.guardian-timeline-item strong { overflow-wrap:anywhere; }
.guardian-timeline-item p { margin:0; color:#acd7e2; line-height:1.45; }
.guardian-timeline-item time { color:var(--muted); font-size:.82rem; }
@media (max-width:700px) { .personnel-file-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.personnel-file-section .record-heading { align-items:stretch; flex-direction:column; }.timeline-filter { align-items:stretch; flex-direction:column; }.timeline-filter select { width:100%; } }

/* Progress and history controls remain readable and keyboard-accessible. */
#active-rank-goals { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; scroll-margin-top: 24px; }
.journey-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.journey-controls select, .journey-controls button, #refresh-rank-quests { min-height: 44px; padding: 10px 14px; font: inherit; color: #eaf8fa; background: #0b252d; border: 1px solid #358896; border-radius: 8px; }
.journey-controls :focus-visible, #refresh-rank-quests:focus-visible { outline: 3px solid #ffd34d; outline-offset: 3px; }
#member-journey time { display: block; color: #acd0d9; font-size: .9rem; margin-top: 5px; }
#member-journey .honor, .rank-quest { overflow-wrap: anywhere; min-width: 0; }
.portal-shell :where(input:not([type="checkbox"]):not([type="radio"]),textarea,select) { max-width: 100%; }
.reward-preview-controls button, .reward-filter-summary button, .reward-category-nav button, .participation-controls button { min-height: 44px; }
@media (max-width: 600px) {
  .journey-controls { align-items: stretch; flex-direction: column; }
  .journey-controls select, .journey-controls button { width: 100%; }
  .progress-copy, #member-journey .honor { flex-wrap: wrap; gap: 8px; }
  #active-rank-goals .record-heading { align-items: stretch; flex-direction: column; }
  #active-rank-goals .rank-quest { padding: 16px; }
}
