.guildwars-site {
  background: #100f0d;
  background-image: radial-gradient(ellipse at 75% 0, rgba(102, 69, 37, .16), transparent 38%);
}
.gw-shell { display: grid; min-height: 100vh; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 27px 19px 20px;
  border-right: 1px solid rgba(198, 165, 109, .23);
  background: linear-gradient(180deg, #171714, #0d1010);
}
.gw-brand { display: flex; align-items: center; gap: 9px; padding: 0 2px 22px; border-bottom: 1px solid var(--line); }
.gw-brand img { width: 58px; height: 58px; object-fit: contain; }
.gw-brand span { min-width: 0; }
.gw-brand small, .gw-brand em { display: block; color: #a3977e; font-size: .51rem; font-style: normal; font-weight: 700; letter-spacing: .14em; }
.gw-brand strong { display: block; margin: 3px 0; color: #ead7b0; font-family: var(--heading-font); font-size: 2rem; font-weight: 400; line-height: 1; }
.sidebar-label { display: flex; justify-content: space-between; color: #9a8b6f; font-size: .6rem; font-weight: 700; letter-spacing: .14em; }
.sidebar-label span { color: #76766a; }
.sidebar-nav { display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 9px 11px; border-left: 2px solid transparent; color: #b6b5aa; font-size: .82rem; font-weight: 600; }
.nav-link span { width: 20px; color: #b69a69; font-size: 1rem; text-align: center; }
.nav-link:hover, .nav-link.active { border-left-color: #d3b47a; background: linear-gradient(90deg, rgba(174, 143, 86, .18), rgba(174, 143, 86, .025)); color: #f0dfbd; }
.side-note { display: flex; gap: 12px; margin-top: auto; padding: 15px 12px; border: 1px solid rgba(191, 157, 99, .24); background: rgba(195, 160, 98, .04); }
.side-note-icon { color: #c8a86d; font-size: 1rem; }
.side-note strong { color: #d4bf96; font-size: .58rem; letter-spacing: .1em; }
.side-note p { margin: 5px 0 0; color: #b1b2a7; font-size: .8rem; line-height: 1.55; }
.back-to-nightwatch { display: block; padding: 10px 0; color: #c4b391; font-size: .72rem; font-weight: 700; }
.back-to-nightwatch span { margin-right: 6px; color: #e2c99a; }
.back-to-nightwatch:hover { color: #f4e3bf; }
.gw-mobile-overlay { display: none; }
.workspace { min-width: 0; padding: 0 clamp(20px, 3.2vw, 48px); }
.topbar { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 18px; }
.breadcrumbs { color: #9d9c8c; font-size: .61rem; font-weight: 700; letter-spacing: .12em; }
.breadcrumbs span { margin: 0 6px; color: #6d6551; }.breadcrumbs b { color: #d0b889; }
.topbar-actions { color: #d3bf99; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.topbar-actions a:hover { color: #f7e6bf; }
.demo-indicator { color: #b3b0a1; font-size: .59rem; letter-spacing: .12em; }
.demo-indicator i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border: 1px solid #d5bd8a; transform: rotate(45deg); }
.gw-mobile-menu { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: #191a17; }
.gw-mobile-menu span { display: block; width: 20px; height: 1px; margin: 4px 0; background: #e8d5ae; }
.main-content, .footer { max-width: 1400px; margin-inline: auto; }
.main-content { padding-top: 24px; }

.hero-warboard {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 74% 40%, rgba(128, 83, 44, .24), transparent 37%),
    radial-gradient(ellipse at 15% 0, rgba(77, 89, 73, .17), transparent 42%),
    linear-gradient(115deg, #1d211c, #191815 60%, #241b16);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .15), 0 20px 50px rgba(0, 0, 0, .25);
}
.hero-warboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/leather.png") repeat;
  opacity: .09;
  mix-blend-mode: screen;
}
.hero-warboard-grid { position: relative; display: grid; min-height: 480px; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 20px; padding: clamp(30px, 4vw, 58px); }
.hero-copy h1 { margin: 18px 0; color: #eee1c8; font-family: var(--heading-font); font-size: clamp(4.5rem, 7vw, 7.4rem); font-weight: 400; line-height: .88; text-shadow: 0 3px 0 #16110c, 0 10px 30px #0008; }
.hero-copy h1 em { color: #d0a76c; font-style: normal; }
.hero-copy > p { max-width: 440px; margin: 22px 0 0; color: #bcbcb1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 27px; color: #bda97f; font-size: .62rem; letter-spacing: .12em; }
.hero-formats span { margin-right: 5px; font-weight: 700; }
.hero-formats b { padding: 5px 8px; border: 1px solid rgba(201, 168, 109, .25); color: #ddcbaa; font-size: .67rem; letter-spacing: 0; }
.hero-shields { position: relative; display: flex; align-items: stretch; justify-content: center; gap: 15px; min-width: 0; }
.war-banner {
  position: relative;
  display: flex;
  width: min(46%, 210px);
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 35px;
  border: 1px solid rgba(203, 172, 119, .34);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .16), 0 15px 25px rgba(0, 0, 0, .35);
  text-align: center;
}
.war-banner::before { content: ""; position: absolute; top: 10px; right: 10px; bottom: 10px; left: 10px; border: 1px solid rgba(217, 191, 146, .12); pointer-events: none; }
.war-banner-horde { background: linear-gradient(180deg, #4a2521, #231719 68%, #171312); }
.war-banner-alliance { background: linear-gradient(180deg, #263d4f, #19232d 68%, #131617); }
.war-banner > span, .war-banner small { position: relative; color: #c7b99d; font-size: .58rem; font-weight: 700; letter-spacing: .16em; }
.war-banner strong { position: relative; color: #e8d7b6; font-family: var(--heading-font); font-size: 2.3rem; font-weight: 400; line-height: 1.1; }
.war-banner img { position: relative; width: min(100%, 175px); margin: auto 0; filter: drop-shadow(0 10px 10px #000a); }
.banner-versus { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 56px; height: 56px; place-content: center; border: 1px solid #b8965d; border-radius: 50%; background: #1a1713; color: #e1c593; line-height: 1; text-align: center; transform: translate(-50%, -50%); }
.banner-versus span { font-size: .8rem; }.banner-versus b { margin-top: 3px; font-family: var(--heading-font); font-size: 1.15rem; font-weight: 400; }
.warboard-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 15px clamp(30px, 4vw, 58px); border-top: 1px solid rgba(205, 176, 122, .2); color: #b5a786; font-size: .58rem; font-weight: 700; letter-spacing: .14em; }
.demo-notice { display: flex; align-items: start; gap: 13px; margin-top: 18px; padding: 14px 18px; border: 1px solid rgba(202, 172, 115, .22); background: #1c1d17; }
.demo-notice-mark { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid #aa8f5e; color: #dec693; font-size: .72rem; font-weight: 700; }
.demo-notice p { margin: 0; color: #b8b7aa; font-size: .85rem; }.demo-notice strong { color: #ddcfb3; }
.war-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); background: #171a17; }
.war-principles article { padding: 19px 23px; }.war-principles article + article { border-left: 1px solid var(--line); }
.war-principles span { display: block; color: #ac956b; font-size: .59rem; font-weight: 700; letter-spacing: .14em; }
.war-principles strong { display: block; margin-top: 5px; color: #e4d8c1; font-family: var(--heading-font); font-size: 1.65rem; font-weight: 400; line-height: 1.1; }
.war-principles p { margin: 6px 0 0; color: #b4b7ac; font-size: .85rem; }

.gw-section { margin-top: 88px; scroll-margin-top: 28px; }
.gw-demo-workspace { margin-top: 42px; padding: clamp(22px, 3vw, 38px); }
.demo-section-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.demo-section-heading h2, .records-section h2 { margin: 10px 0 8px; color: #eee5d3; font-family: var(--heading-font); font-size: clamp(2.4rem, 3.5vw, 3.5rem); font-weight: 400; line-height: 1.08; }
.demo-section-heading p, .records-section p { max-width: 600px; margin: 0; color: #acafa6; }
.gw-subtle-button, .gw-action-button, .gw-local-actions button, .gw-demo-modal-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #181c19;
  color: #e8d9bd;
  font-size: .75rem;
  font-weight: 700;
}
.gw-subtle-button:hover, .gw-local-actions button:hover, .gw-demo-modal-actions button:hover { border-color: #e0c58e; background: #2b2a21; }
.gw-action-button, .gw-demo-modal-actions .gw-action-button { border-color: #e4c992; background: linear-gradient(180deg, #dfc28a, #b79053); color: #21180d; }
.gw-action-button:hover, .gw-demo-modal-actions .gw-action-button:hover { background: #ead09b; color: #17120c; }
.demo-workflow { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 15px; border: 1px solid rgba(197, 165, 108, .18); background: #111512; color: #c2b9a5; font-size: .7rem; font-weight: 600; }
.demo-workflow span { display: flex; align-items: center; gap: 8px; }.demo-workflow b { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #846e49; color: #e0c994; font-size: .62rem; }
.demo-workflow i { width: 25px; height: 1px; background: #645943; }
.gw-demo-controls { display: flex; align-items: end; gap: 12px; margin: 22px 0 15px; }
.gw-demo-controls label, .gw-demo-form label { display: grid; gap: 7px; color: #c9c4b5; font-size: .8rem; font-weight: 700; }
.gw-demo-controls label { flex: 1; max-width: 330px; }
.gw-demo-controls select, .gw-demo-form input, .gw-demo-form select, .gw-demo-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #5b5847;
  border-radius: 0;
  background: #101512;
  color: #ede6d7;
}
.gw-demo-form textarea { min-height: 85px; resize: vertical; }
#gw-demo-matches { display: grid; gap: 12px; }
.gw-no-matches { padding: 26px; border: 1px dashed #5e5946; background: #111512; color: #b8bbb1; font-size: .875rem; text-align: center; }
.gw-local-card { padding: 18px; border: 1px solid rgba(198, 164, 108, .26); background: #111512; }
.gw-local-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gw-local-head strong { color: #eee1c6; font-family: var(--heading-font); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.gw-local-head small { color: #a9936a; font-size: 1rem; }
.gw-local-card p { margin: 8px 0 0; color: #bfc0b4; font-size: .85rem; overflow-wrap: anywhere; }
.gw-local-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gw-local-status { padding: 5px 8px; border: 1px solid #7e7052; color: #dfc99e; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gw-status-verified { border-color: #64866d; color: #b7d4b8; }.gw-status-disputed { border-color: #a75e51; color: #f0b5aa; }
.gw-demo-help, .gw-storage-message { margin: 15px 0 0; color: #b5b9ae; font-size: .82rem; }
.gw-demo-help b { color: #dbd3bf; }.gw-storage-message { color: #f0bf9d; }

.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.match-card { min-width: 0; padding: 22px; }
.match-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #a99470; font-size: .59rem; font-weight: 700; letter-spacing: .13em; }
.example-badge { padding: 5px 8px; border: 1px solid #695c43; color: #c8b896; }
.versus { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0; }
.combatant { display: flex; min-width: 0; align-items: center; gap: 9px; }.combatant img { width: 64px; flex: 0 0 auto; }
.combatant span { display: block; color: #b6a27d; font-size: .57rem; font-weight: 700; letter-spacing: .12em; }
.combatant strong { display: block; color: #e7dcc7; font-family: var(--heading-font); font-size: 1.7rem; font-weight: 400; line-height: 1.05; }
.combatant-right { text-align: right; }
.versus-mark { color: #b99c6b; font-family: var(--heading-font); font-size: 1.6rem; }
.match-meta { display: flex; flex-wrap: wrap; gap: 7px; }.match-meta span { padding: 5px 8px; border: 1px solid rgba(199, 168, 110, .2); color: #c8c0ab; font-size: .75rem; }
.match-open { display: inline-flex; gap: 8px; margin-top: 20px; padding: 0; border: 0; background: transparent; color: #ddc18d; font-size: .73rem; font-weight: 700; }
.match-open:hover { color: #fff0cf; }
.hall-panel { padding: clamp(20px, 3vw, 32px); }
.hall-header { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 20px; }
.hall-header div > span { display: block; color: #ad9871; font-size: .59rem; font-weight: 700; letter-spacing: .14em; }
.hall-header strong { display: block; margin-top: 5px; color: #eee3ce; font-family: var(--heading-font); font-size: 2rem; font-weight: 400; line-height: 1; }
.season-label { padding: 6px 9px; border: 1px solid #655c48; color: #cabb9c; font-size: .59rem; font-weight: 700; letter-spacing: .1em; }
.hall-table-wrap { overflow-x: auto; border: 1px solid rgba(195, 164, 107, .22); background: #101412; }
.hall-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.hall-table th { padding: 14px 12px; border-bottom: 1px solid rgba(195, 164, 107, .2); background: #20231d; color: #bbae92; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.hall-empty { padding: 36px 20px; text-align: center; }.hall-empty > span { display: block; color: #c3a16b; font-size: 2rem; line-height: 1; }
.hall-empty strong { display: block; margin-top: 12px; color: #e8ddc8; font-family: var(--heading-font); font-size: 1.7rem; font-weight: 400; }
.hall-empty p, .hall-note { margin: 5px 0 0; color: #b4b9ae; font-size: .85rem; }.hall-note { margin-top: 15px; }
.guild-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guild-card { display: flex; min-width: 0; align-items: center; gap: 18px; padding: 23px; }
.guild-card-horde { border-left: 3px solid #9a4e42; }.guild-card-alliance { border-left: 3px solid #557a9b; }
.guild-card img { width: 95px; flex: 0 0 auto; filter: drop-shadow(0 8px 8px #0008); }
.guild-card span { color: #bdab86; font-size: .6rem; font-weight: 700; letter-spacing: .12em; }
.guild-card h3 { margin: 4px 0; color: #eee2cb; font-family: var(--heading-font); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.guild-card p { margin: 0; color: #b6baaf; font-size: .85rem; }
.records-section { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(25px, 3.5vw, 42px); background: linear-gradient(120deg, #25261f, #151a17); }
.records-section .button { flex: 0 0 auto; }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #171a17; }
.rules-grid article { padding: 25px; }.rules-grid article + article { border-left: 1px solid var(--line); }
.rules-grid span { color: #ac946b; font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.rules-grid h3 { margin: 15px 0 8px; color: #e9dcc3; font-family: var(--heading-font); font-size: 1.75rem; font-weight: 400; line-height: 1.05; }
.rules-grid p { margin: 0; color: #b6bab0; font-size: .875rem; }
.footer { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 90px; padding: 26px 0 32px; border-top: 1px solid var(--line); }
.footer strong { display: block; color: #e2d0aa; font-family: var(--heading-font); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.footer span { color: #9d9989; font-size: .56rem; font-weight: 700; letter-spacing: .12em; }.footer p { margin: 0; color: #92978d; font-size: .68rem; }

.gw-demo-modal { width: min(520px, calc(100% - 32px)); max-height: min(90vh, 750px); overflow: auto; padding: 0; border: 1px solid #a68b5c; background: #191d19; color: #ece5d5; box-shadow: 0 24px 80px #000; }
.gw-demo-modal::backdrop { background: rgba(3, 5, 5, .82); }
.gw-demo-modal-panel { padding: 26px; background: linear-gradient(145deg, #222620, #151a17); }
.gw-demo-modal-panel h3 { margin: 0 32px 10px 0; color: #f0e2c8; font-family: var(--heading-font); font-size: 2.4rem; font-weight: 400; line-height: 1.1; }
.gw-demo-modal-panel > p { color: #b6b9ad; font-size: .8rem; }
.gw-demo-form { display: grid; gap: 14px; margin-top: 20px; }
.gw-demo-modal-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; margin-top: 5px; }
.gw-close-modal { float: right; width: 36px; height: 36px; border: 1px solid #655a45; background: #151915; color: #ead8b4; font-size: 1.3rem; line-height: 1; }

@media (max-width: 1100px) {
  .gw-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .has-js .sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); height: 100vh; transform: translateX(-105%); transition: transform .2s ease; z-index: 50; }
  .has-js .sidebar.sidebar-visible { transform: translateX(0); }
  .has-js .gw-mobile-menu { display: block; }
  .gw-mobile-overlay.is-open { position: fixed; z-index: 40; inset: 0; display: block; background: rgba(0, 0, 0, .72); }
  .hero-warboard-grid { min-height: 430px; }
}
@media (max-width: 900px) {
  .hero-warboard-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(4.5rem, 11vw, 7rem); }
  .hero-shields { max-width: 480px; margin: 10px auto 0; }
  .war-banner { width: min(46%, 210px); }
  .gw-section { margin-top: 70px; }
  .gw-demo-workspace { margin-top: 30px; }
  .match-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .workspace { padding-inline: 18px; }
  .topbar { min-height: 68px; }
  .topbar-left { gap: 10px; }.breadcrumbs { font-size: .55rem; letter-spacing: .06em; }.breadcrumbs span { margin: 0 3px; }
  .topbar-actions a { display: none; }
  .hero-warboard-grid { padding: 30px 22px; }
  .hero-copy h1 { font-size: clamp(3rem, 12.5vw, 5rem); white-space: nowrap; }
  .war-banner { min-height: 280px; padding: 20px 8px 25px; }
  .war-banner strong { font-size: 1.9rem; }.war-banner img { width: min(100%, 135px); }
  .war-banner small { font-size: .48rem; }.banner-versus { width: 46px; height: 46px; }
  .warboard-bottom { padding-inline: 22px; font-size: .53rem; }.warboard-bottom span:last-child { display: none; }
  .war-principles, .rules-grid { grid-template-columns: 1fr; }
  .war-principles article + article, .rules-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .demo-section-heading, .gw-demo-controls, .records-section { align-items: stretch; flex-direction: column; }
  .gw-demo-controls label { max-width: none; }
  .demo-workflow { flex-wrap: wrap; }.demo-workflow i { width: 12px; }
  .guild-grid { grid-template-columns: 1fr; }
  .footer { align-items: start; flex-direction: column; }
}
@media (max-width: 390px) {
  .hero-actions .button { width: 100%; }
  .hero-formats span { flex-basis: 100%; }
  .combatant { gap: 5px; }.combatant img { width: 46px; }.combatant strong { font-size: 1.35rem; }
  .versus-mark { font-size: 1.2rem; }
  .guild-card img { width: 72px; }
}
