/* Info pages (FAQ, server info) use the same stone, bronze and gold palette as the shop. */
.info-panel {
    box-sizing: border-box;
    color: #e3dcc8;
    font: 12px/1.6 Verdana, Arial, sans-serif;
    padding: 18px;
    background: repeating-linear-gradient(135deg, #ffffff02 0, #ffffff02 1px, transparent 1px, transparent 5px), #20292a;
    border: 3px ridge #7c7762;
    box-shadow: inset 0 0 22px #080d0d, 0 2px 7px #0008;
    text-shadow: 0 1px 1px #000;
}
.info-panel * { box-sizing: border-box; }
.info-panel a { color: #e8c77e; }
.info-panel a:hover { color: #ffe29a; }
.info-panel [hidden] { display: none !important; }
.info-panel :focus-visible { outline: 2px solid #ffe19b; outline-offset: 3px; }
.info-panel kbd { font: 11px/1.4 Consolas, Menlo, monospace; padding: 1px 6px; background: #0c1312; border: 1px solid #5c5540; color: #f2cc61; white-space: nowrap; }
.info-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.info-panel .info-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 4px 0 18px; border-bottom: 1px solid #746044; }
.info-panel .info-eyebrow { color: #c1aa74; font-size: 11px; letter-spacing: 4px; }
.info-panel h1 { font: bold 32px/1.15 Georgia, serif; margin: 5px 0 6px; color: #edce85; text-align: left; text-shadow: 0 2px 2px #000; }
.info-panel .info-caption { margin: 0; color: #b9b5a5; font-size: 11px; }
.info-panel .info-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: bold 18px/1.4 Georgia, serif; color: #e2c582; margin: 22px 0 10px; }
.info-panel .info-section-title span { font: 10px Verdana, sans-serif; color: #b9b5a5; }

.info-panel .info-button { display: inline-block; border: 2px ridge #c7ac63; border-radius: 2px; padding: 8px 12px; color: #ffe6a7; background: linear-gradient(#685636, #3c301c); font: bold 11px/1.3 Verdana, sans-serif; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px #ffffff18, 0 2px 3px #0006; }
.info-panel .info-button:hover { color: #ffe6a7; background: linear-gradient(#816940, #514023); }
.info-panel .info-button.is-secondary { border-color: #746d55; color: #cfc5ad; background: linear-gradient(#3e4641, #252d2c); }
.info-panel .info-button.is-secondary:hover { color: #ffe29a; border-color: #b19c6c; }

.info-panel .info-chip { font: bold 11px/1.4 Verdana, sans-serif; color: #cfc5ad; background: linear-gradient(#3e4641, #252d2c); border: 2px ridge #746d55; border-radius: 2px; padding: 6px 10px; cursor: pointer; }
.info-panel .info-chip:hover { color: #ffe29a; border-color: #b19c6c; }
.info-panel .info-chip[aria-pressed="true"] { color: #ffe29a; border-color: #c8a45c; background: linear-gradient(#655638, #403520); }

.info-panel .info-status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid; font-weight: bold; font-size: 11px; letter-spacing: 1px; }
.info-panel .info-status.is-online { border-color: #3f7a45; background: #16301b; color: #9fe0a4; }
.info-panel .info-status.is-offline { border-color: #7a3a36; background: #301715; color: #e8a29d; }
.info-panel .info-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }

.info-panel .info-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding: 14px; border: 1px solid #857248; background: #111b18; box-shadow: inset 0 0 9px #0008; }
.info-panel .info-cta strong { display: block; color: #edce85; font: bold 15px/1.4 Georgia, serif; }
.info-panel .info-cta small { color: #b9b5a5; font-size: 11px; }
.info-panel .info-footer { border-top: 1px solid #625940; margin: 20px 0 0; padding-top: 14px; color: #b9b5a5; text-align: center; font-size: 11px; }

/* FAQ */
.faq .faq-tools { margin: 16px 0 4px; }
.faq .faq-search input { width: 100%; height: auto; margin: 0 0 10px; padding: 10px 12px; background: #111b18; border: 1px solid #857248; border-radius: 0; color: #e3dcc8; font: 12px Verdana, sans-serif; }
.faq .faq-search input::placeholder { color: #8d8a7a; }
.faq .faq-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.faq .faq-item { border: 2px ridge #6a6550; background: linear-gradient(135deg, #313a36, #222a29 70%); box-shadow: inset 0 0 16px #0005; margin-bottom: 6px; scroll-margin-top: 20px; }
.faq .faq-item:hover { border-color: #a68d53; }
.faq .faq-item[open] { border-color: #c2a25c; }
.faq .faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; color: #e6d7ab; font-size: 13px; cursor: pointer; }
.faq .faq-item summary::-webkit-details-marker { display: none; }
.faq .faq-item summary::after { content: '+'; flex-shrink: 0; color: #c7ac63; font-weight: bold; font-size: 15px; }
.faq .faq-item[open] summary::after { content: '\2212'; }
.faq .faq-answer { margin: 0 10px 10px; padding: 12px 14px; background: #111b18; border: 1px solid #4f4e37; color: #d9d6c4; line-height: 1.8; overflow-wrap: anywhere; }
.faq .faq-answer ol { margin: 0; padding-left: 20px; }
.faq .faq-answer p { margin: 8px 0 0; }
.faq .faq-answer b { color: #ecdcae; }
.faq .faq-answer .npc { color: #9fd3c7; font-weight: bold; }
.faq .faq-answer .warn { color: #e8a29d; }
.faq .faq-empty { margin: 18px 0 0; padding: 14px; text-align: center; color: #b9b5a5; border: 1px dashed #5c5540; }

/* Server info */
.server-info .server-connect { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin: 18px 0; padding: 14px; background: #111b18; border: 1px solid #857248; box-shadow: inset 0 0 9px #0008; }
.server-info .server-connect small { display: block; color: #b9b5a5; font-size: 10px; letter-spacing: 2px; }
.server-info .server-ip { font: bold 20px/1.3 Consolas, Menlo, monospace; color: #f2cc61; overflow-wrap: anywhere; }
.server-info .server-port { color: #8d8a7a; font-size: 13px; }
.server-info .server-connect-actions { display: flex; gap: 6px; }
.server-info .server-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.server-info .server-tile { padding: 12px 10px; border: 2px ridge #6a6550; background: linear-gradient(135deg, #313a36, #222a29 70%); box-shadow: inset 0 0 16px #0005; text-align: center; overflow-wrap: anywhere; }
.server-info .server-tile small { display: block; color: #b9b5a5; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.server-info .server-tile strong { display: block; margin-top: 3px; color: #f2cc61; font-size: 18px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.server-info .server-tile strong a { color: inherit; text-decoration: none; }
.server-info .server-tile strong a:hover { text-decoration: underline; }
.server-info .server-tile span, .server-info .server-tile > a { display: block; color: #c7b17b; font-size: 11px; }
.server-info .server-facts { display: grid; grid-template-columns: 150px 1fr; margin: 0; border: 1px solid #4f4e37; }
.server-info .server-facts dt, .server-info .server-facts dd { margin: 0; padding: 9px 12px; border-bottom: 1px solid #34382f; }
.server-info .server-facts dt:last-of-type, .server-info .server-facts dd:last-of-type { border-bottom: 0; }
.server-info .server-facts dt { color: #c1aa74; background: #1a2322; }
.server-info .server-facts dd { color: #d9d6c4; }

/* Events */
.events-page .events-next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin: 18px 0 0; padding: 14px; background: #111b18; border: 1px solid #857248; box-shadow: inset 0 0 9px #0008; }
.events-page .events-next small { display: block; color: #b9b5a5; font-size: 10px; letter-spacing: 2px; }
.events-page .events-next strong { display: block; color: #edce85; font: bold 18px/1.4 Georgia, serif; }
.events-page .events-next strong span { color: #8d8a7a; font: 11px Verdana, sans-serif; }
.events-page .events-next-timer { padding: 7px 12px; border: 2px ridge #6a6550; background: #0c1312; color: #f2cc61; font: bold 14px/1.3 Consolas, Menlo, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.events-page .events-list { display: grid; gap: 8px; }
.events-page .events-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px; border: 2px ridge #6a6550; background: linear-gradient(135deg, #313a36, #222a29 70%); box-shadow: inset 0 0 16px #0005; }
.events-page .events-card:hover { border-color: #a68d53; }
.events-page .events-card-image { aspect-ratio: 1; border: 1px solid #5c5540; background: #0c1312; box-shadow: 0 2px 5px #0008; overflow: hidden; }
.events-page .events-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.events-page .events-card h3 { margin: 0 0 6px; color: #edce85; font: bold 16px/1.3 Georgia, serif; }
.events-page .events-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; }
.events-page .events-tags li { padding: 1px 7px; border: 1px solid #5c5540; background: #1a2322; color: #c7b17b; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.events-page .events-card p { margin: 0; color: #d9d6c4; }
.events-page .events-card .events-reward { margin-top: 8px; padding: 6px 10px; border-left: 3px solid #c7ac63; background: #111b18; }
.events-page .events-reward b { color: #f2cc61; }

@media (max-width: 600px) {
    .info-panel { max-width: calc(100vw - 60px); padding: 12px; }
    .events-page .events-next { grid-template-columns: minmax(0, 1fr); }
    .events-page .events-card { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
    .info-panel h1 { font-size: 25px; }
    .info-panel .info-header, .info-panel .info-cta { flex-wrap: wrap; }
    .server-info .server-connect { grid-template-columns: minmax(0, 1fr); }
    .server-info .server-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .server-info .server-facts { grid-template-columns: minmax(0, 1fr); }
    .server-info .server-facts dt { border-bottom: 0; padding-bottom: 2px; }
}

/* ===== Server info (resources/views/pages/server_info.php), same look as /online and /shop ===== */
.si { --ink: #d9e6e4; --mute: #8fa9a5; --line: rgba(143, 196, 190, 0.18); --gold: #f6c85a; --teal: #6fd3c4;
  margin: 0 0 10px; color: var(--ink); font-family: Roboto, Arial, sans-serif; }
.si *, .si *::before { box-sizing: border-box; }
.si [hidden] { display: none !important; }
#page .si-label { color: var(--mute); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.si-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  border: 1px solid rgba(143, 196, 190, 0.35); border-radius: 10px;
  background: radial-gradient(120% 140% at 0% 0%, #2c4744 0%, #182224 55%, #121819 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25); }
#page .si-live { --status-color: #5dea6f; display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--status-color) 14%, transparent); color: var(--status-color);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
#page .si-live.is-offline { --status-color: #ff6b5f; }
.si-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--status-color); }
.si-live.is-online i { animation: hdr-status-pulse 2s ease-out infinite; }
#page .si-hero__title { margin: 8px 0 3px; color: #fff; font: 700 28px/1.15 Roboto, Arial, sans-serif; }
#page .si-hero__sub { margin: 0; color: var(--mute); font-size: 13px; }
.si-hero__stats { display: flex; flex: none; gap: 18px; padding-left: 18px; border-left: 1px solid var(--line); text-align: right; }
#page .si-hero__stats > a, #page .si-hero__stats > div { display: flex; flex-direction: column; text-decoration: none; }
#page .si-hero__stats b { color: var(--gold); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
#page .si-hero__stats span { color: var(--mute); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
#page .si-hero__stats a:hover b { color: #fff; }
#page .si-hero__down { color: var(--mute); font-size: 12.5px; line-height: 1.5; white-space: nowrap; }

.si-connect { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 14px 18px;
  border: 1px solid rgba(246, 200, 90, 0.35); border-radius: 10px; background: linear-gradient(90deg, #3a3420 0%, #1f2a2b 55%, #192324 100%); }
.si-connect__ip { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#page .si-connect code { overflow-wrap: anywhere; background: none; color: var(--gold); font: 700 22px/1.2 Consolas, "Courier New", monospace; }
#page .si-connect code small { color: var(--mute); font-size: 14px; font-weight: 400; }
.si-connect__actions { display: flex; flex: none; gap: 8px; }

#page .si-title { display: flex; align-items: center; gap: 9px; margin: 22px 0 10px; color: #fff; font: 700 17px/1.3 Roboto, Arial, sans-serif; }
#page .si-title > .fas { color: var(--teal); font-size: 14px; }
#page .si-title__more { margin-left: auto; font-size: 12.5px; font-weight: 600; }
#page .si-title__more .fas { font-size: 10px; }

.si-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.si-rate { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px;
  padding: 10px 12px; border: 1px solid rgba(143, 196, 190, 0.12); border-radius: 9px; background: linear-gradient(180deg, #1f2c2e 0%, #192324 100%); }
#page .si-rate .fas { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; background: rgba(111, 211, 196, 0.1);
  color: var(--teal); font-size: 13px; line-height: 30px; text-align: center; }
#page .si-rate span { color: var(--mute); font-size: 11px; }
#page .si-rate b { color: #fff; font-size: 15px; }

.si-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.si-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 14px;
  border: 1px solid rgba(143, 196, 190, 0.12); border-radius: 9px; background: rgba(255, 255, 255, 0.03); }
#page .si-stat b { overflow: hidden; color: var(--gold); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
#page .si-stat b a { color: #fff; text-decoration: none; }
#page .si-stat b a:hover { color: var(--gold); }
#page .si-stat > span:not(.si-label), #page .si-stat > a { color: var(--mute); font-size: 12px; }
#page .si-stat > a { color: var(--teal); }

.si-schedule { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
#page .si-schedule li { display: grid; grid-template-columns: 30px 110px 1fr; align-items: center; gap: 10px; margin: 0; padding: 10px 14px;
  border: 1px solid rgba(143, 196, 190, 0.12); border-left: 3px solid var(--teal); border-radius: 8px;
  background: linear-gradient(90deg, rgba(111, 211, 196, 0.07), rgba(255, 255, 255, 0.02)); font-size: 13.5px; line-height: 1.5; }
#page .si-schedule li .fas { color: var(--teal); text-align: center; }
#page .si-schedule li b { color: #fff; }

.si-commands { display: flex; flex-wrap: wrap; gap: 8px; }
#page .si-cmd { padding: 6px 12px; border: 1px solid rgba(246, 200, 90, 0.35); border-radius: 7px; cursor: pointer;
  background: rgba(246, 200, 90, 0.08); color: var(--gold); font: 700 13px Consolas, "Courier New", monospace; transition: background 0.12s; }
#page .si-cmd:hover { background: rgba(246, 200, 90, 0.18); }
#page .si-cmd.is-copied, #page .ui-btn.is-copied { border-color: #5dea6f; color: #5dea6f; }

#page .si-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--mute); font-size: 12.5px; text-align: center; }
.si-foot .fas { margin-right: 4px; color: var(--teal); }

@media (max-width: 600px) {
  .si-hero, .si-connect { flex-direction: column; align-items: flex-start; }
  .si-hero__stats { padding: 0; border: 0; text-align: left; }
  .si-rates, .si-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #page .si-schedule li { grid-template-columns: 24px 1fr; }
  #page .si-schedule li span { grid-column: 2; }
}

/* ===== Support team (resources/views/pages/team.php), builds on the .si server info styles ===== */
.tm { --role: var(--teal); }
.tm .tm-role--admin { --role: #ff7a6e; }
.tm .tm-role--gm { --role: #c39bff; }
.tm .tm-role--senior-tutor { --role: #6ee07c; }
.tm .tm-role--tutor { --role: var(--gold); }
.tm .tm-role--staff { --role: var(--teal); }
#page .tm .si-label .fas { margin-right: 3px; color: var(--teal); }
#page .tm .si-hero__stats b.tm-on { color: #5dea6f; }
#page .tm .si-title > .fas { color: var(--role); }
#page .tm-count { padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: var(--mute); font-size: 11.5px; font-weight: 700; }

.tm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
#page .tm-grid li { margin: 0; padding: 0; }
#page .tm-card { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px;
  height: 100%; padding: 12px 14px 10px 12px; border: 1px solid rgba(143, 196, 190, 0.12); border-left: 3px solid var(--role); border-radius: 9px;
  background: linear-gradient(180deg, #1f2c2e 0%, #192324 100%); color: var(--ink); text-decoration: none;
  transition: border-color 0.12s, transform 0.12s, background 0.12s; }
#page .tm-card:hover { border-color: color-mix(in srgb, var(--role) 55%, transparent); border-left-color: var(--role); transform: translateY(-1px);
  background: linear-gradient(180deg, #243436 0%, #1c2829 100%); }
#page .tm-card.is-away { opacity: 0.62; }
#page .tm-card.is-away:hover { opacity: 1; }
.tm-outfit { grid-row: span 2; display: flex; align-items: flex-end; justify-content: center; width: 56px; height: 56px; overflow: hidden; border-radius: 8px;
  background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--role) 22%, transparent), rgba(255, 255, 255, 0.02) 70%); }
#page .tm-outfit > .fas { display: none; align-self: center; color: color-mix(in srgb, var(--role) 55%, transparent); font-size: 20px; }
#page .tm-outfit > .fas:last-child { display: block; } /* outfit image failed to load */
.tm-outfit img { width: 64px; height: 64px; margin: 0 -4px -2px 0; image-rendering: pixelated; }
.tm-who { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
#page .tm-who b { max-width: 100%; overflow: hidden; color: #fff; font-size: 15px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
#page .tm-card:hover .tm-who b { color: var(--role); }
#page .tm-badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--role) 14%, transparent); color: var(--role); font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
#page .tm-badge .fas { font-size: 9px; }
#page .tm-who small { color: var(--mute); font-size: 11.5px; }
#page .tm-status { grid-column: 2; padding-top: 6px; border-top: 1px solid var(--line); color: var(--mute); font-size: 11.5px; }
#page .tm-dot { display: inline-flex; align-items: center; gap: 6px; color: #5dea6f; font-weight: 700; }
.tm-dot i { width: 7px; height: 7px; border-radius: 50%; background: #5dea6f; animation: hdr-status-pulse 2s ease-out infinite; }

.tm-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#page .tm-help__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid rgba(143, 196, 190, 0.12); border-radius: 9px;
  background: rgba(255, 255, 255, 0.03); color: var(--ink); text-decoration: none; transition: border-color 0.12s, background 0.12s; }
#page a.tm-help__item:hover { border-color: rgba(111, 211, 196, 0.45); background: rgba(111, 211, 196, 0.06); }
#page .tm-help__item > i { margin-bottom: 2px; color: var(--teal); font-size: 18px; }
#page .tm-help__item > .fa-discord { color: #8c9eff; }
#page .tm-help__item b { color: #fff; font-size: 14px; }
#page .tm-help__item span { color: var(--mute); font-size: 12px; line-height: 1.45; }

#page .tm-warn { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 14px; border: 1px solid rgba(246, 200, 90, 0.3); border-radius: 9px;
  background: rgba(246, 200, 90, 0.06); color: var(--ink); font-size: 12.5px; line-height: 1.5; }
#page .tm-warn .fas { color: var(--gold); font-size: 15px; }
#page .tm-warn b { color: var(--gold); }
#page .tm-empty { margin: 12px 0 0; padding: 12px 14px; border: 1px solid rgba(255, 107, 95, 0.35); border-radius: 9px; background: rgba(255, 107, 95, 0.08); color: #ffb3ab; font-size: 13px; }

@media (max-width: 600px) {
  .tm-grid, .tm-help { grid-template-columns: minmax(0, 1fr); }
}
