:root {
  color-scheme: dark;
  /* Tokens conferidos no retronia-modern.css que está em produção. */
  --r-canvas: #040c16;
  --r-navy-950: #030a13;
  --r-navy-900: #061321;
  --r-navy-850: #081a2c;
  --r-navy-800: #0b2037;
  --r-gold-600: #b98132;
  --r-gold-500: #d2a25b;
  --r-gold-400: #e3b968;
  --r-gold-300: #efcf88;
  --r-parchment-50: #fffaf0;
  --r-parchment-100: #f7ead6;
  --r-ink: #2f2115;
  --r-ink-soft: #69533d;
  --r-on-dark-muted: #d8d1c5;
  --r-on-action: #24170b;
  --deep: var(--r-navy-950);
  --panel: var(--r-parchment-50);
  --ink: var(--r-ink);
  --body: var(--r-ink-soft);
  --muted: var(--r-ink-soft);
  --gold: var(--r-gold-500);
  --gold-bright: var(--r-gold-300);
  --rule: rgba(110, 77, 39, .28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; background: var(--deep); }
body { position: relative; isolation: isolate; margin: 0; min-height: 100svh; color: var(--body); background: var(--r-canvas); }
body::before { content: ""; position: fixed; z-index: -2; inset: 0; background-color: #071525; background-image: linear-gradient(180deg, rgba(3, 10, 19, .08) 0%, rgba(3, 10, 19, .2) 55%, rgba(3, 10, 19, .56) 100%), linear-gradient(90deg, rgba(2, 8, 15, .34) 0%, rgba(2, 8, 15, .04) 24%, rgba(2, 8, 15, .04) 76%, rgba(2, 8, 15, .38) 100%), url("retronia-world.webp"); background-repeat: no-repeat; background-position: center; background-size: cover; pointer-events: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 6px; }
.skip-link { position: fixed; top: 14px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--gold); color: var(--deep); transform: translateY(-180%); border-radius: 5px; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }
.page-grain { position: fixed; inset: 0; pointer-events: none; opacity: .07; background-image: repeating-linear-gradient(115deg, transparent 0 3px, rgba(255, 250, 240, .035) 3px 4px); }
.ambient { display: none; }
.ambient-two { width: 1040px; height: 1040px; left: calc(50% - 520px); top: -450px; }
.shell { position: relative; width: min(1080px, calc(100% - 96px)); margin: 0 auto; padding-top: 28px; }
.preview-banner { margin: 0; padding: 9px 12px; text-align: center; background: var(--r-navy-900); border: 1px solid var(--r-gold-600); color: var(--gold-bright); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: 20px; padding: 0 22px; margin: 18px 0; border: 1px solid rgba(239, 207, 136, .2); border-radius: 10px; background: rgba(3, 11, 21, .94); box-shadow: 0 8px 30px rgba(0, 0, 0, .28); }
.wordmark { display: inline-flex; gap: 12px; align-items: center; color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .24em; }
.wordmark svg { width: 29px; height: 29px; flex: none; }
.header-note { display: inline-flex; align-items: center; gap: 10px; color: var(--r-on-dark-muted); font-size: 10px; letter-spacing: .15em; }
.small-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
main { outline: none; }
.farewell { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 0; border: 1px solid var(--rule); border-radius: 16px; background: linear-gradient(180deg, var(--r-parchment-50), var(--r-parchment-100)); box-shadow: 0 18px 46px rgba(0, 0, 0, .26); }
.brand-section { position: relative; padding: 23px 56px 22px; border-bottom: 1px solid rgba(235, 193, 105, .26); background: radial-gradient(ellipse at 50% 0, rgba(210, 162, 91, .1), transparent 70%), linear-gradient(140deg, var(--r-navy-800), var(--r-navy-950)); }
.message { padding: 31px 56px 35px; }
.farewell::before { content: ""; position: absolute; inset: 8px; z-index: -1; border: 1px solid rgba(208, 179, 116, .055); border-radius: 10px; pointer-events: none; }
.corner { position: absolute; z-index: 2; width: 23px; height: 23px; border-color: rgba(210, 162, 91, .65); border-style: solid; pointer-events: none; }
.corner-top { top: 18px; left: 18px; border-width: 1px 0 0 1px; }
.corner-bottom { right: 18px; bottom: 18px; border-width: 0 1px 1px 0; }
.crest-halo { display: none; }
.brand-logo { display: block; width: 254px; max-width: 72%; height: auto; margin: 0 auto 13px; filter: drop-shadow(0 7px 19px rgba(0, 0, 0, .24)); }
.eyebrow { display: flex; justify-content: center; gap: 15px; align-items: center; margin: 0; color: var(--r-gold-400); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .2em; }
.eyebrow > span { display: block; width: 31px; height: 1px; background: linear-gradient(90deg, transparent, rgba(210, 162, 91, .5)); }
.eyebrow > span:last-child { transform: rotate(180deg); }
h1 { max-width: 850px; margin: 0 auto 20px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(39px, 4.3vw, 61px); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.gold-period { color: var(--gold); }
.intro { max-width: 610px; margin: 0 auto; font-size: 15px; line-height: 1.85; font-weight: 400; text-wrap: pretty; }
.ornament { display: flex; justify-content: center; align-items: center; gap: 15px; color: var(--r-gold-600); margin: 25px auto 19px; }
.ornament > span { height: 1px; width: 93px; background: linear-gradient(90deg, transparent, rgba(185, 156, 97, .3)); }
.ornament > span:last-child { transform: rotate(180deg); }
.ornament svg { width: 36px; height: 20px; }
.memory { margin: 0 0 25px; color: var(--r-ink-soft); font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.45; font-style: italic; }
.mobile-break { display: none; }
.discord-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 55px; max-width: 100%; padding: 0 24px; color: var(--r-on-action); background: linear-gradient(180deg, var(--r-gold-300), var(--r-gold-500)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 5px 20px rgba(0, 0, 0, .15); border: 1px solid var(--r-gold-600); border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 650; transition: background .16s, transform .16s, box-shadow .16s; }
.discord-button:hover { background: linear-gradient(180deg, #f5d994, var(--r-gold-400)); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 7px 24px rgba(0, 0, 0, .23); }
.discord-button > svg { width: 23px; height: 23px; flex: none; }
.discord-button > .arrow { width: 19px; height: 19px; margin-left: 9px; }
.community-note { margin: 13px 0 20px; color: var(--r-ink-soft); font-size: 12px; line-height: 1.65; }
.return-note { max-width: 445px; margin: 0 auto; color: var(--muted); font-size: 11px; line-height: 1.75; }
.signature { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 26px; color: var(--r-ink-soft); font-size: 11px; line-height: 1.75; }
.signature strong { color: var(--r-ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; letter-spacing: .035em; }
.signature-line { width: 27px; height: 1px; background: var(--r-gold-500); }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 16px 0 24px; padding: 16px 20px; border: 1px solid rgba(239, 207, 136, .16); border-radius: 8px; color: var(--r-on-dark-muted); background: rgba(3, 11, 21, .94); }
.page-footer p { margin: 0; font-size: 10px; line-height: 1.7; }
.page-footer p:first-child { font-size: 9px; letter-spacing: .16em; }
.page-footer p:first-child span { padding: 0 8px; color: #b69c64; }
@media (min-width: 1450px) { .topbar { min-height: 88px; } .brand-section { padding-top: 30px; } .message { padding-bottom: 40px; } }
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); padding-top: 20px; }
  .topbar { min-height: 66px; gap: 14px; padding: 0 12px; margin: 12px 0; }
  .wordmark { font-size: 10px; gap: 9px; }
  .wordmark svg { width: 24px; height: 24px; }
  .header-note { font-size: 8px; letter-spacing: .08em; gap: 7px; }
  .farewell { padding: 0; border-radius: 12px; }
  .brand-section { padding: 24px 24px 21px; }
  .message { padding: 29px 24px 32px; }
  .brand-logo { width: 216px; max-width: 85%; margin-bottom: 18px; }
  .eyebrow { font-size: 8px; gap: 9px; letter-spacing: .16em; margin-bottom: 0; }
  .eyebrow > span { width: 17px; }
  h1 { font-size: clamp(35px, 8.6vw, 49px); line-height: 1.13; letter-spacing: -.04em; margin-bottom: 21px; }
  .desktop-break { display: none; }
  .intro { font-size: 14px; line-height: 1.85; }
  .ornament { margin-top: 24px; }
  .memory { font-size: 20px; margin-bottom: 24px; }
  .mobile-break { display: initial; }
  .discord-button { width: min(270px, 100%); padding: 0 17px; font-size: 13px; gap: 10px; }
  .discord-button > .arrow { margin-left: 4px; }
  .community-note { font-size: 11px; margin-bottom: 20px; }
  .return-note { font-size: 10px; }
  .signature { margin-top: 25px; }
  .page-footer { display: block; text-align: center; padding: 16px 12px; }
  .page-footer p + p { margin-top: 7px; }
  .preview-banner { font-size: 8px; letter-spacing: .05em; padding: 8px 5px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 24px); }
  .header-note { max-width: 110px; line-height: 1.6; text-align: right; }
  .brand-section, .message { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 33px; }
  .eyebrow { letter-spacing: .09em; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .discord-button:hover { transform: none; } }
