@import url("/assets/member-ranks.css");
/* Shared navigation for the calendar HTML route and community. */
.pl-header {
  height: auto;
  min-height: 88px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  gap: 16px;
  background: #101112;
  border-bottom: 1px solid #383a32;
  color: #f4f0e6;
  font-family: system-ui, -apple-system, "Malgun Gothic", sans-serif;
}
.pl-header a { text-decoration: none; }
.pl-header .pl-brand { display: inline-flex; width: 250px; max-width: 100%; align-items: center; }
.pl-header .pl-brand{gap:11px;color:#eccb87}
.pl-header .pl-brand img{display:block;flex:0 0 52px;width:52px;height:60px;object-fit:contain}
.pl-brand-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.pl-brand-copy strong{font:700 24px/1.1 Georgia,"Times New Roman",serif;letter-spacing:.035em;white-space:nowrap}
.pl-brand-copy small{font:9px/1.3 Arial,sans-serif;letter-spacing:.01em;color:#c9ae7c;white-space:nowrap}
.pl-mainnav { display: flex; align-self: stretch; align-items: stretch; gap: 6px; }
.pl-mainnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0 10px;
  border-bottom: 3px solid transparent;
  color: #aaa99f;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.03em;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.pl-mainnav a:hover { color: #f0d4a1; background: #ffffff04; }
.pl-mainnav a[aria-current="page"] { border-bottom-color: #d9b16d; color: #eed09b; }
.pl-header .pl-tools { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; font-size: 12px; white-space: nowrap; }
.pl-tools > a, .pl-tools button { color: #c7c3b9; font: inherit; }
.pl-tools > a:hover, .pl-tools button:hover { color: #eed09b; }
.pl-tools form { margin: 0; }
.pl-account-links { display: flex; align-items: center; gap: 12px; }
.pl-account-links > a { color: #c7c3b9; }
.pl-header .pl-signup { padding: 7px 11px; color: #eed09b; border: 1px solid #756040; border-radius: 6px; font-weight: 650; }
.pl-header .pl-tools .visitor-counter { display: flex; align-items: center; gap: 6px; color: #b7b8a8; font-size: 11px; }
.pl-header .visitor-counter strong { color: #e4c58b; font-size: 18px; }
.pl-header :is(a,button):focus-visible { outline: 2px solid #eed09b; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1400px) {
  .pl-header { min-height: 0; grid-template-columns: minmax(0,1fr) auto; gap: 0 14px; padding: 0 24px; }
  .pl-header .pl-brand { width: 230px; min-height: 70px; }
  .pl-header .pl-tools { grid-column: 2; grid-row: 1; gap: 12px; }
  .pl-mainnav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 0; border-top: 1px solid #282b27; }
  .pl-mainnav a { min-width: 0; min-height: 47px; padding: 0 10px; font-size: 15px; }
}
@media (max-width: 700px) {
  .pl-header { padding: 0 16px; gap: 0 10px; }
  .pl-header .pl-brand { width: 204px; min-height: 67px; }
  .pl-header .pl-tools { gap: 9px; font-size: 11px; }
  .pl-header .pl-signup { padding: 6px 8px; }
  .pl-header .pl-tools .visitor-counter { gap: 4px; font-size: 10px; }
  .pl-header .visitor-counter strong { font-size: 16px; }
  .pl-header .pl-tools:has(.visitor-counter) { flex-direction: column; gap: 3px; align-items: flex-end; }
  .pl-account-links { gap: 9px; }
  .pl-mainnav a { font-size: 14px; padding-inline: 4px; min-height: 45px; }
}
@media (max-width: 360px) {
  .pl-header { padding-inline: 12px; }
  .pl-header .pl-brand { width: 175px; }
  .pl-mainnav a { font-size: 13px; padding-inline: 2px; }
  .pl-header .pl-tools { gap: 7px; font-size: 10px; }
}
.pl-account-links { display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap; }
.pl-account-links form { display:inline-flex;margin:0; }
.pl-member-name { color:#e6c78e;font-size:.8rem;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.pl-header .pl-logout { border:1px solid #6b5b3e;border-radius:6px;background:transparent;color:#d3bd95;padding:7px 10px;font-size:.75rem;cursor:pointer; }
.pl-header .pl-logout:hover { border-color:#d5b576;color:#f6db9f; }
@media(max-width:760px) { .pl-account-links{gap:7px;}.pl-member-name{max-width:95px;font-size:.68rem;}.pl-header .pl-logout{padding:6px 8px;font-size:.68rem;} }

@media(max-width:700px){.pl-header .pl-brand{gap:8px}.pl-header .pl-brand img{flex-basis:39px;width:39px;height:48px}.pl-brand-copy strong{font-size:19px}.pl-brand-copy small{font-size:7px}}
@media(max-width:390px){.pl-header .pl-brand{gap:6px}.pl-header .pl-brand img{flex-basis:33px;width:33px;height:43px}.pl-brand-copy strong{font-size:17px}.pl-brand-copy small{font-size:6.5px}}

/* Keep the brand and signed-in controls in separate rows on narrow screens. */
@media(max-width:700px){
 .pl-header{grid-template-columns:minmax(0,1fr);row-gap:0}
 .pl-header .pl-brand{grid-column:1;grid-row:1;width:auto;justify-self:start;max-width:100%;min-height:68px}
 .pl-header .pl-tools,.pl-header .pl-tools:has(.visitor-counter){grid-column:1;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;width:100%;min-width:0;gap:8px 12px;padding:0 0 12px;white-space:normal}
 .pl-header .pl-account-links{flex:1 1 220px;min-width:0;justify-content:flex-end;gap:8px;flex-wrap:wrap}
 .pl-header .pl-mainnav{grid-column:1;grid-row:3}
 .pl-header .pl-member-badge{max-width:100%;min-width:0}
 .pl-header .pl-rank-name{max-width:112px}
 .pl-header .pl-account-links>a,.pl-header .pl-account-links>form{flex-shrink:0}
}
@media(min-width:701px) and (max-width:1400px){
 .pl-header{grid-template-columns:minmax(250px,1fr) minmax(0,1fr)}
 .pl-header .pl-tools{flex-wrap:wrap;white-space:normal}
}

@media(max-width:700px){.pl-header .pl-mainnav{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#6e623f #101112}.pl-mainnav a{flex:0 0 auto;min-width:62px;padding-inline:10px}.pl-mainnav a[aria-current]{background:#ffffff04}}

.pl-mainnav a[data-navigation-pending] {
  outline: 1px solid currentColor;
  outline-offset: -2px;
  cursor: progress;
}
.pl-mainnav a[data-navigation-pending]::after {
  content: '…';
  margin-inline-start: .25em;
}
