/* Aura MU: the accessibility menu, its modes, and the first-visit notice (brand: gunmetal + gold) */
.a11y-button {
  position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 9000; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #1a1408;
  background: linear-gradient(180deg, #f1c46a, #c8902f); border: 2px solid #2a241c; box-shadow: 0 6px 22px rgba(0, 0, 0, .55);
  transition: transform .15s ease;
}
.a11y-button:hover { transform: scale(1.06); }
.a11y-button svg { width: 28px; height: 28px; fill: currentColor; }
.a11y-button:focus-visible, .a11y-panel button:focus-visible, .a11y-panel a:focus-visible, .aura-notice :focus-visible { outline: 3px solid #ffd27a; outline-offset: 3px; }

.a11y-panel {
  position: fixed; inset-inline-start: 18px; bottom: 80px; z-index: 9001; width: min(340px, calc(100vw - 36px));
  max-height: calc(100vh - 110px); overflow: auto; padding: 16px; border-radius: 12px; color: #eee6d8;
  background: #16130f; border: 1px solid rgba(200, 144, 47, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .7);
  font: 15px/1.4 Manrope, Heebo, system-ui, sans-serif;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { margin: 0; font-size: 18px; color: #f1c46a; letter-spacing: .02em; }
.a11y-close { background: none; border: 0; color: #eee6d8; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 6px; }
.a11y-text-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.a11y-text-row span { flex: 1; }
.a11y-text-row button { min-width: 44px; min-height: 40px; border-radius: 8px; border: 1px solid #4a4032; background: #221d17; color: #eee6d8; font-weight: 700; cursor: pointer; }
.a11y-text-row b { min-width: 50px; text-align: center; color: #f1c46a; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; min-height: 76px; border-radius: 10px; cursor: pointer;
  border: 1px solid #4a4032; background: #221d17; color: #eee6d8; font: inherit; font-size: 13.5px;
}
.a11y-grid button svg { width: 24px; height: 24px; }
.a11y-grid button[aria-pressed="true"] { border-color: #f1c46a; background: #3a2d17; color: #ffe2a6; box-shadow: inset 0 0 0 1px #f1c46a; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.a11y-reset { border: 1px solid #c8902f; background: transparent; color: #f1c46a; border-radius: 8px; padding: 8px 14px; cursor: pointer; font: inherit; }
.a11y-foot a { color: #f1c46a; text-decoration: underline; }

/* the modes */
html.a11y-text #app { zoom: var(--a11y-scale, 1); }
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast #app { filter: contrast(1.35) brightness(1.08); }
html.a11y-contrast #app * { text-shadow: none !important; }
html.a11y-contrast #app p, html.a11y-contrast #app li, html.a11y-contrast #app span, html.a11y-contrast #app small { color: #fff !important; }
html.a11y-grayscale #app { filter: grayscale(1); }
html.a11y-contrast.a11y-grayscale #app { filter: grayscale(1) contrast(1.35); }
html.a11y-links #app a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid #ffd27a; outline-offset: 2px; }
html.a11y-readable #app, html.a11y-readable #app * { font-family: Arial, Heebo, system-ui, sans-serif !important; letter-spacing: .01em !important; }
html.a11y-spacing #app p, html.a11y-spacing #app li { line-height: 1.9 !important; word-spacing: .12em; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 9-6 1.5 3.5 7-3 1.5-3.5-7L5 18z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* the first-visit notice: one narrow bar */
.aura-notice {
  position: fixed; inset-inline: 84px 18px; bottom: 18px; z-index: 8999; display: flex; align-items: center; gap: 16px;
  padding: 10px 14px 10px 18px; border-radius: 10px; color: #e6dccb; background: rgba(20, 17, 13, .96);
  border: 1px solid rgba(200, 144, 47, .5); box-shadow: 0 10px 36px rgba(0, 0, 0, .6); font: 13.5px/1.5 Manrope, Heebo, system-ui, sans-serif;
  animation: aura-notice-in .35s ease both;
}
.aura-notice p { margin: 0; flex: 1; }
.aura-notice a { color: #f1c46a; text-decoration: underline; }
.aura-notice .button { flex: none; padding: 9px 20px; min-height: 0; font-size: 13.5px; }
.aura-notice.is-leaving { opacity: 0; transform: translateY(12px); transition: .3s ease; }
@keyframes aura-notice-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 700px) { .aura-notice { inset-inline: 10px; bottom: 78px; flex-direction: column; align-items: stretch; text-align: start; } }

/* legal pages */
.legal-doc { max-width: 920px; margin-inline: auto; }
.legal-block h2 { font-size: 20px; margin: 0 0 10px; color: #f1c46a; }
.legal-block p, .legal-block li { color: #d9cfbe; line-height: 1.75; }
.legal-block ul { margin: 6px 0 10px; padding-inline-start: 22px; }
.legal-updated { color: #9c9284; font-size: 13px; margin-bottom: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.legal-links a { color: #f1c46a; }

/* the 240 FPS promise: a bold badge in the hero */
.fps-badge {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 22px; padding: 10px 26px 10px 16px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(241, 196, 106, .18), rgba(241, 196, 106, .04)); border: 1px solid rgba(241, 196, 106, .55);
  box-shadow: 0 0 30px rgba(241, 160, 60, .18);
}
.fps-badge b { font: 900 54px/1 Montserrat, sans-serif; color: #ffd27a; letter-spacing: -.01em; text-shadow: 0 0 18px rgba(255, 170, 60, .55); }
.fps-badge b small { font-size: 22px; margin-inline-start: 3px; }
.fps-badge span { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff1d6; }
.fps-badge span em { font-style: normal; color: #b8ad9b; letter-spacing: .06em; text-transform: none; font-size: 13px; font-weight: 500; }
.legal.legal-doc { display: block !important; columns: auto !important; }
.legal.legal-doc > .legal-block { margin: 0 0 16px; max-width: none; }
/* the notice: a compact bar in the middle, not the whole width */
.aura-notice { inset-inline: auto; left: 50%; width: min(760px, calc(100vw - 150px)); transform: translateX(-50%); animation-name: aura-notice-in-c; }
.aura-notice.is-leaving { transform: translate(-50%, 12px); }
@keyframes aura-notice-in-c { from { opacity: 0; transform: translate(-50%, 14px); } }
@media (max-width: 700px) { .aura-notice { left: 10px; right: 10px; width: auto; transform: none; animation-name: aura-notice-in; } .aura-notice.is-leaving { transform: translateY(12px); } }
