/* Homepage composition. All selectors are scoped to the landing page. */
.md-main__inner:has(.tsr-home) { max-width: 72rem; margin-top: 1.1rem; }
.md-content:has(.tsr-home) { min-width: 0; }
.md-content__inner:has(.tsr-home) > .md-content__button { display: none; }
.tsr-home { --home-muted: #a7b9cb; --home-ink: #f1f7fc; --home-line: rgba(140,181,216,.16); }
.tsr-home h1, .tsr-home h2, .tsr-home h3, .tsr-home p { margin: 0; }
.tsr-home h2 { border: 0; padding: 0; }
.tsr-home a { text-decoration: none; }
.tsr-home a:focus-visible, .tsr-home button:focus-visible { outline: 3px solid #8eeeff; outline-offset: 5px; }
.tsr-home .home-eyebrow { color: #82ddeb; font-size: .57rem; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.tsr-home-hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; position: relative; overflow: hidden; min-height: 29rem; padding: 2.5rem 2.5rem 2rem; isolation: isolate; border: 1px solid rgba(148,206,233,.14); border-radius: 1.25rem; background: radial-gradient(ellipse at 82% 45%, #10334d 0, transparent 53%), linear-gradient(120deg,#101e30,#081525 70%); box-shadow: 0 1.4rem 3rem rgba(0,0,0,.16); }
.tsr-home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg,transparent 65%,rgba(103,187,222,.045) 65.1%,transparent 65.5%); }
.home-hero-copy { position: relative; z-index: 2; padding: .4rem 0; }
.home-hero-copy .home-eyebrow { display: flex; gap: .5rem; align-items: center; }
.home-hero-copy .home-eyebrow > span { width: 1.25rem; height: 2px; background: #84e3ef; }
.tsr-home #home-title { display: flex; flex-direction: column; align-items: flex-start; margin: 1.15rem 0 .9rem; color: #f2f7fb; font-family: var(--md-text-font-family),sans-serif; font-size: clamp(2.7rem,6.2vw,4.65rem); line-height: .94; font-weight: 900; letter-spacing: -.065em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; }
.tsr-home #home-title .home-title-series { margin: 0 0 .45rem .06rem; color: #9fe7f2; font-size: .24em; line-height: 1.5; letter-spacing: .32em; font-weight: 750; }
.tsr-home #home-title .home-title-accent { color: #85d8f0; }
.tsr-home .home-hero-tagline { margin-top: 1.2rem; color: #edf3fa; font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
.tsr-home .home-hero-description { max-width: 23rem; margin-top: .5rem; color: #a9bed0; font-size: .77rem; line-height: 1.75; }
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.tsr-home .home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.3rem; min-height: 2.55rem; padding: .65rem 1rem; border: 1px solid rgba(155,206,227,.29); border-radius: .4rem; font-size: .69rem; font-weight: 750; transition: background .18s, border-color .18s, transform .18s; }
.tsr-home .home-button span { font-size: 1rem; font-weight: 400; line-height: 1; }
.tsr-home .home-button--primary { background: #b4eff6; border-color: #b4eff6; color: #082535; box-shadow: 0 .25rem 1.5rem #42bbd31c; }
.tsr-home .home-button--primary:hover { background: #d8f9fc; border-color: #d8f9fc; transform: translateY(-2px); }
.tsr-home .home-button--secondary { background: rgba(11,29,47,.4); color: #e9f5ff; }
.tsr-home .home-button--secondary:hover { background: #17364f; border-color: #6fa8c3; }
.tsr-home .home-hero-mantra { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.5rem; color: #7896ae; font-size: .48rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.home-hero-mantra i { color: #4ca8c0; font-style: normal; }
.home-hero-visual { align-self: stretch; position: relative; min-width: 0; min-height: 24rem; }
.home-hero-visual > img { position: absolute; width: 136%; height: auto; max-width: none; top: 44%; left: 51%; transform: translate(-50%,-50%); pointer-events: none; }
.home-edition-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem .2rem; border-bottom: 1px solid var(--home-line); }
.home-edition-bar > p { display: flex; align-items: center; gap: .65rem; font-size: .6rem; color: var(--md-default-fg-color--light); }
.home-edition-bar strong { color: var(--md-default-fg-color); font-size: .6rem; }
.home-live-dot { width: .3rem; height: .3rem; border-radius: 50%; background: #81d9e7; box-shadow: 0 0 .45rem #81d9e74d; }
.home-edition-bar > a { font-size: .6rem; font-weight: 600; color: var(--md-default-fg-color--light); }
.home-edition-bar > a span { margin-left: .6rem; color: #6fcddd; }
.home-explore, .home-start { padding-top: 2.8rem; scroll-margin-top: 5rem; }
.home-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 1.15rem; }
.tsr-home .home-section-heading h2, .tsr-home .home-community h2 { margin-top: .35rem; color: var(--md-default-fg-color); font-size: clamp(1.45rem,2.6vw,2rem); line-height: 1.16; font-weight: 800; letter-spacing: -.045em; }
.home-section-heading > a { flex-shrink: 0; padding-bottom: .1rem; font-size: .61rem; color: var(--md-default-fg-color--light); font-weight: 600; }
.home-section-heading > a span { margin-left: .35rem; color: #71cddd; }
.home-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.tsr-home .home-directory-card { --card-glow: #206a82; position: relative; display: flex; align-items: stretch; overflow: hidden; min-height: 12.2rem; padding: 1rem; border: 1px solid var(--home-line); border-radius: .7rem; color: var(--md-default-fg-color); background: linear-gradient(145deg,rgba(97,135,171,.10),rgba(17,34,53,.03)); transition: border-color .2s, transform .2s, background .2s; }
.home-directory-card::before { content: ""; position: absolute; right: -15%; top: -30%; width: 9rem; height: 10rem; border-radius: 50%; background: radial-gradient(ellipse,var(--card-glow),transparent 68%); opacity: .22; pointer-events: none; }
.tsr-home .home-directory-card--skill { --card-glow: #8854a1; }
.tsr-home .home-directory-card--equipment { --card-glow: #429685; }
.tsr-home .home-directory-card--mobs { --card-glow: #736ec7; }
.tsr-home .home-directory-card--world { --card-glow: #a48e55; }
.tsr-home .home-directory-card--progression { --card-glow: #b8698c; }
.home-directory-card > div { z-index: 1; display: flex; flex-direction: column; width: 100%; padding-top: 4.3rem; }
.home-card-kicker { font-size: .47rem; font-weight: 700; letter-spacing: .08em; color: var(--md-default-fg-color--light); text-transform: uppercase; }
.tsr-home .home-directory-card h3 { margin-top: .2rem; color: var(--md-default-fg-color); font-size: .97rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; }
.tsr-home .home-directory-card p { max-width: 20rem; margin-top: .45rem; color: var(--md-default-fg-color--light); font-size: .65rem; line-height: 1.65; }
.home-card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .9rem; color: #80d8e5; font-size: .61rem; font-weight: 700; }
.home-card-link b { font-size: 1rem; font-weight: 400; }
.home-directory-card > img { position: absolute; top: .55rem; left: .9rem; width: 4.3rem; height: 4.3rem; object-fit: contain; filter: drop-shadow(0 .35rem .3rem #0003); transition: transform .2s; }
.home-directory-card--world > img { width: 5.3rem; }
.home-directory-card--skill > img, .home-directory-card--progression > img { width: 3.55rem; height: 3.55rem; top: .85rem; left: 1.05rem; }
.home-pixel-icon { image-rendering: pixelated; }
.tsr-home .home-directory-card:hover { border-color: #72c6d76e; transform: translateY(-3px); background-color: #4e91b20b; }
.home-directory-card:hover > img { transform: translateY(-2px) scale(1.04); }
.home-quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1rem; padding: .9rem .2rem; border-bottom: 1px solid var(--home-line); font-size: .59rem; }
.home-quick-links > span { color: var(--md-default-fg-color--light); }
.home-quick-links a { color: var(--md-default-fg-color); font-weight: 650; }
.tsr-home .home-start-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin: 0; }
.tsr-home .home-start-grid > a { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: .7rem; color: var(--md-default-fg-color); background: transparent; box-shadow: none; transition: border-color .2s, transform .2s; }
.tsr-home .home-start-grid > a:hover { border-color: #72c6d76e; transform: translateY(-3px); box-shadow: none; }
.home-step-art { display: flex; position: relative; align-items: center; justify-content: flex-end; height: 6.6rem; padding: .5rem 1.2rem; background: linear-gradient(135deg,#13243c,#0c1b2d); overflow: hidden; }
.home-step-art > span { position: absolute; left: 1rem; top: .7rem; color: #7da9c929; font-size: 4.6rem; line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.home-step-art > img { z-index: 1; width: 6rem; height: 5.8rem; object-fit: contain; filter: drop-shadow(0 .3rem .4rem #0004); }
.home-start-grid > a:first-child .home-step-art > img { width: 4.2rem; }
.home-start-grid > a:last-child .home-step-art > img { width: 4.1rem; height: 4.1rem; }
.home-step-copy { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.home-step-copy > small { color: #81b9ca; font-size: .47rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.tsr-home .home-step-copy h3 { margin-top: .35rem; font-size: .93rem; font-weight: 750; letter-spacing: -.025em; }
.tsr-home .home-step-copy p { margin-top: .4rem; font-size: .65rem; line-height: 1.65; color: var(--md-default-fg-color--light); }
.home-step-copy > span { margin-top: auto; padding-top: 1rem; color: #80d8e5; font-size: .59rem; font-weight: 700; }
.home-community { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2.8rem; padding: 2.1rem; border: 1px solid var(--home-line); border-radius: 1rem; background: linear-gradient(120deg,#438bb80a,transparent); }
.tsr-home .home-community-copy h2 { max-width: 15rem; font-size: 2.25rem; }
.tsr-home .home-community-copy > p:not(.home-eyebrow) { margin: .7rem 0 1.2rem; max-width: 17rem; font-size: .72rem; line-height: 1.75; color: var(--md-default-fg-color--light); }
.home-realm { padding: 1.2rem; border: 1px solid #79b4d32b; border-radius: .65rem; background: #0c1a2b; color: #e5f1fa; min-width: 0; }
.home-realm-heading { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.home-realm-heading > span { color: #91adbf; font-size: .47rem; font-weight: 800; letter-spacing: .14em; }
.home-realm-heading > strong { color: #b4d0de; border-radius: 999px; padding: .15rem .4rem; background: #789bb51a; font-size: .48rem; }
.home-realm[data-server-state="online"] [data-status-label] { color: #97e6ba; background: #55ad8120; }
.tsr-home .home-realm-address { margin-top: .7rem; font-size: .73rem; color: #f1f7fc; font-weight: 650; overflow-wrap: anywhere; }
.home-realm-count { display: flex; align-items: baseline; gap: .45rem; margin-top: .85rem; }
.home-realm-count > strong { font-size: 1.8rem; font-weight: 750; line-height: 1.1; color: #a4e7f2; }
.home-realm-count > span { color: #8fa9bb; font-size: .57rem; }
.tsr-home .home-realm .server-player-list { margin: .65rem 0 0; font-size: .57rem; color: #96b0c2; list-style: none; padding: 0; }
.tsr-home .home-realm .server-player-list li { margin: 0; }
.tsr-home .home-realm-message { margin-top: .65rem; font-size: .54rem; line-height: 1.6; color: #8fa9bb; }
.home-realm-actions { display: flex; gap: .5rem; margin-top: .85rem; }
.home-realm-actions button { padding: .4rem .6rem; border: 1px solid #739cb142; border-radius: .3rem; color: #c6e9f2; font-size: .55rem; font-weight: 700; cursor: pointer; background: #28455b33; }
.home-realm-actions button:hover { background: #28455b80; }
.home-realm-actions button:disabled { opacity: .5; cursor: wait; }
.tsr-home .home-realm-note { margin-top: .65rem; color: #7995a9; font-size: .46rem; line-height: 1.65; }
.home-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-top: 2.2rem; padding: 1.2rem .1rem; border-top: 1px solid var(--home-line); }
.home-footer strong { font-size: .7rem; color: var(--md-default-fg-color); }
.tsr-home .home-footer p { margin-top: .3rem; font-size: .54rem; color: var(--md-default-fg-color--light); }
.home-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1rem; max-width: 21rem; font-size: .56rem; }
.home-footer nav a { color: var(--md-default-fg-color--light); }
.tsr-home .home-media-credits { border: 0; box-shadow: none; margin: 0 0 1rem; font-size: .54rem; background: transparent; }
.tsr-home .home-media-credits summary { color: var(--md-default-fg-color--light); background: transparent; padding-left: 1.5rem; }
.tsr-home .home-media-credits p { margin: .5rem 0; }
[data-md-color-scheme="default"] .tsr-home { --home-line: rgba(45,83,116,.16); }
[data-md-color-scheme="default"] .home-section-heading .home-eyebrow, [data-md-color-scheme="default"] .home-community-copy .home-eyebrow, [data-md-color-scheme="default"] .home-card-link, [data-md-color-scheme="default"] .home-step-copy > span { color: #137085; }
[data-md-color-scheme="default"] .home-step-copy > small { color: #3a697c; }
[data-md-color-scheme="default"] .home-community-copy .home-button--secondary { color: #15364c; background: #e9f0f5; border-color: #8caec0; }
@media (min-width: 100rem) { .tsr-home-hero { padding-left: 3rem; padding-right: 3rem; } }
@media (max-width: 66rem) {
  .tsr-home-hero { padding: 2rem; min-height: 26rem; }
  .tsr-home #home-title { font-size: clamp(2.5rem,6vw,4rem); }
  .home-hero-visual { min-height: 22rem; }
  .home-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-directory-card > div { padding-top: 3.8rem; }
  .home-community { gap: 1.5rem; }
}
@media (max-width: 45rem) {
  .md-main__inner:has(.tsr-home) { margin-top: .6rem; }
  .tsr-home-hero { grid-template-columns: 1fr; padding: 1.45rem 1.35rem .7rem; border-radius: .85rem; }
  .home-hero-copy { padding: 0; }
  .tsr-home #home-title { font-size: clamp(2.75rem,10vw,4.4rem); margin-top: 1rem; }
  .tsr-home .home-hero-tagline { font-size: .9rem; margin-top: 1rem; }
  .tsr-home .home-hero-description { max-width: 25rem; font-size: .72rem; }
  .home-hero-actions { margin-top: 1.1rem; gap: .5rem; }
  .tsr-home .home-button { font-size: .63rem; padding: .6rem .8rem; gap: .7rem; }
  .tsr-home .home-hero-mantra { display: none; }
  .home-hero-visual { min-height: 15rem; margin: -.2rem -1rem 0; }
  .home-hero-visual > img { width: min(110%,27rem); top: 39%; left: 52%; }
  .home-edition-bar { align-items: flex-start; padding: .75rem .2rem; gap: .6rem; }
  .home-edition-bar > p { flex-wrap: wrap; gap: .3rem .5rem; font-size: .5rem; }
  .home-edition-bar > p > span:last-child { flex-basis: 100%; padding-left: .8rem; }
  .home-edition-bar > a { font-size: .5rem; max-width: 6rem; text-align: right; }
  .home-explore, .home-start { padding-top: 2rem; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .home-section-heading > a { font-size: .58rem; }
  .tsr-home .home-section-heading h2 { font-size: 1.5rem; }
  .home-directory { gap: .6rem; }
  .tsr-home .home-directory-card { padding: .8rem; min-height: 12rem; }
  .tsr-home .home-directory-card h3 { font-size: .84rem; }
  .tsr-home .home-directory-card p { font-size: .59rem; }
  .home-card-kicker { font-size: .4rem; }
  .home-card-link { font-size: .53rem; gap: .4rem; }
  .home-directory-card > img { left: .7rem; width: 3.6rem; height: 3.6rem; }
  .home-directory-card--skill > img, .home-directory-card--progression > img { width: 3rem; height: 3rem; }
  .home-directory-card--world > img { width: 4.4rem; }
  .home-quick-links { font-size: .54rem; gap: .6rem .9rem; }
  .tsr-home .home-start-grid { grid-template-columns: 1fr; }
  .tsr-home .home-start-grid > a { display: grid; grid-template-columns: 6.7rem 1fr; }
  .home-step-art { height: 100%; min-height: 9rem; padding: .8rem; justify-content: center; }
  .home-step-art > span { font-size: 3.5rem; left: .4rem; top: .45rem; }
  .home-step-art > img { width: 5.5rem; height: 5.5rem; padding-top: 1.4rem; box-sizing: content-box; }
  .home-step-copy { padding: .9rem; }
  .tsr-home .home-step-copy h3 { font-size: .88rem; }
  .tsr-home .home-step-copy p { font-size: .6rem; }
  .home-community { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; padding: 1.2rem; }
  .tsr-home .home-community-copy h2 { font-size: 1.8rem; max-width: 18rem; }
  .tsr-home .home-community-copy > p:not(.home-eyebrow) { margin-bottom: .8rem; max-width: 23rem; }
  .home-realm { padding: 1rem; }
  .home-footer { flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
  .home-footer nav { justify-content: flex-start; }
}
@media (max-width: 23rem) {
  .tsr-home-hero { padding-left: 1rem; padding-right: 1rem; }
  .tsr-home #home-title { font-size: 2.5rem; }
  .home-directory { grid-template-columns: 1fr; }
  .tsr-home .home-directory-card { min-height: 10.5rem; }
  .home-directory-card > div { padding-top: 3.5rem; }
  .tsr-home .home-start-grid > a { grid-template-columns: 5.2rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tsr-home a, .tsr-home img { transition: none !important; transform: none; } .home-hero-visual > img { transform: translate(-50%,-50%); } }
