.game-emoji{display:inline-block;vertical-align:middle;background-image:url(/emojis/lw-v97.webp);background-repeat:no-repeat;background-size:512px 512px;margin:0 2px;}.emoji-1{width:32.0px;height:32.0px;background-position:-42.5px -5.5px;}.emoji-2{width:32.0px;height:32.0px;background-position:-80.5px -5.5px;}.emoji-3{width:32.0px;height:32.0px;background-position:-118.5px -5.5px;}.emoji-4{width:32.0px;height:32.0px;background-position:-156.5px -5.5px;}.emoji-5{width:32.0px;height:32.0px;background-position:-194.5px -5.5px;}.emoji-6{width:32.0px;height:32.0px;background-position:-232.5px -5.5px;}.emoji-7{width:32.0px;height:32.0px;background-position:-270.5px -5.5px;}.emoji-8{width:32.0px;height:32.0px;background-position:-308.5px -5.5px;}.emoji-9{width:32.0px;height:32.0px;background-position:-346.5px -5.5px;}.emoji-10{width:32.0px;height:32.0px;background-position:-384.5px -5.5px;}.emoji-11{width:32.0px;height:32.0px;background-position:-422.5px -5.5px;}.emoji-12{width:32.0px;height:32.0px;background-position:-460.5px -5.5px;}.emoji-13{width:32.0px;height:32.0px;background-position:-5.5px -43.5px;}.emoji-14{width:32.0px;height:32.0px;background-position:-43.5px -43.5px;}.emoji-15{width:32.0px;height:32.0px;background-position:-81.5px -43.5px;}.emoji-16{width:32.0px;height:32.0px;background-position:-119.5px -43.5px;}.emoji-17{width:32.0px;height:32.0px;background-position:-157.5px -43.5px;}.emoji-18{width:32.0px;height:32.0px;background-position:-195.5px -43.5px;}.emoji-19{width:32.0px;height:32.0px;background-position:-233.5px -43.5px;}.emoji-20{width:32.0px;height:32.0px;background-position:-271.5px -43.5px;}.emoji-21{width:32.0px;height:32.0px;background-position:-309.5px -43.5px;}.emoji-22{width:32.0px;height:32.0px;background-position:-347.5px -43.5px;}.emoji-23{width:32.0px;height:32.0px;background-position:-385.5px -43.5px;}.emoji-24{width:32.0px;height:32.0px;background-position:-423.5px -43.5px;}.emoji-25{width:32.0px;height:32.0px;background-position:-461.5px -43.5px;}.emoji-26{width:32.0px;height:32.0px;background-position:-5.5px -81.5px;}.emoji-27{width:32.0px;height:32.0px;background-position:-43.5px -81.5px;}.emoji-28{width:32.0px;height:32.0px;background-position:-81.5px -81.5px;}.emoji-29{width:32.0px;height:32.0px;background-position:-119.5px -81.5px;}.emoji-30{width:32.0px;height:32.0px;background-position:-157.5px -81.5px;}.emoji-31{width:32.0px;height:32.0px;background-position:-195.5px -81.5px;}.emoji-32{width:32.0px;height:32.0px;background-position:-233.5px -81.5px;}.emoji-33{width:32.0px;height:32.0px;background-position:-271.5px -81.5px;}.emoji-34{width:32.0px;height:32.0px;background-position:-309.5px -81.5px;}.emoji-35{width:32.0px;height:32.0px;background-position:-347.5px -81.5px;}.emoji-36{width:32.0px;height:32.0px;background-position:-385.5px -81.5px;}.emoji-37{width:32.0px;height:32.0px;background-position:-423.5px -81.5px;}.emoji-38{width:32.0px;height:32.0px;background-position:-461.5px -81.5px;}.emoji-39{width:32.0px;height:32.0px;background-position:-5.5px -119.5px;}.emoji-40{width:32.0px;height:32.0px;background-position:-43.5px -119.5px;}.emoji-41{width:32.0px;height:32.0px;background-position:-81.5px -119.5px;}.emoji-42{width:32.0px;height:32.0px;background-position:-119.5px -119.5px;}.emoji-43{width:32.0px;height:32.0px;background-position:-157.5px -119.5px;}.emoji-44{width:32.0px;height:32.0px;background-position:-195.5px -119.5px;}.emoji-45{width:32.0px;height:32.0px;background-position:-233.5px -119.5px;}.emoji-46{width:32.0px;height:32.0px;background-position:-271.5px -119.5px;}.emoji-47{width:32.0px;height:32.0px;background-position:-309.5px -119.5px;}.emoji-48{width:32.0px;height:32.0px;background-position:-347.5px -119.5px;}.emoji-49{width:32.0px;height:32.0px;background-position:-385.5px -119.5px;}.emoji-50{width:32.0px;height:32.0px;background-position:-423.5px -119.5px;}.emoji-51{width:32.0px;height:32.0px;background-position:-461.5px -119.5px;}.emoji-52{width:32.0px;height:32.0px;background-position:-5.5px -157.5px;}.emoji-53{width:32.0px;height:32.0px;background-position:-43.5px -157.5px;}.emoji-54{width:32.0px;height:32.0px;background-position:-81.5px -157.5px;}.emoji-55{width:32.0px;height:32.0px;background-position:-119.5px -157.5px;}.emoji-56{width:32.0px;height:32.0px;background-position:-157.5px -157.5px;}.emoji-57{width:32.0px;height:32.0px;background-position:-195.5px -157.5px;}.emoji-58{width:32.0px;height:32.0px;background-position:-233.5px -157.5px;}.emoji-59{width:31.0px;height:31.0px;background-position:-5.5px -5.5px;}.emoji-60{width:32.0px;height:32.0px;background-position:-271.5px -157.5px;}.emoji-61{width:32.0px;height:32.0px;background-position:-309.5px -157.5px;}.emoji-62{width:32.0px;height:32.0px;background-position:-347.5px -157.5px;}.emoji-63{width:32.0px;height:32.0px;background-position:-385.5px -157.5px;}.emoji-64{width:32.0px;height:32.0px;background-position:-423.5px -157.5px;}.emoji-65{width:32.0px;height:32.0px;background-position:-461.5px -157.5px;}.emoji-66{width:32.0px;height:32.0px;background-position:-5.5px -195.5px;}.emoji-67{width:32.0px;height:32.0px;background-position:-43.5px -195.5px;}.emoji-68{width:32.0px;height:32.0px;background-position:-81.5px -195.5px;}.emoji-69{width:32.0px;height:32.0px;background-position:-119.5px -195.5px;}.emoji-70{width:32.0px;height:32.0px;background-position:-157.5px -195.5px;}.emoji-71{width:32.0px;height:32.0px;background-position:-195.5px -195.5px;}.emoji-72{width:32.0px;height:32.0px;background-position:-233.5px -195.5px;}.emoji-73{width:32.0px;height:32.0px;background-position:-271.5px -195.5px;}.emoji-74{width:32.0px;height:32.0px;background-position:-309.5px -195.5px;}.emoji-75{width:32.0px;height:32.0px;background-position:-347.5px -195.5px;}.emoji-76{width:32.0px;height:32.0px;background-position:-385.5px -195.5px;}.emoji-77{width:32.0px;height:32.0px;background-position:-423.5px -195.5px;}.emoji-78{width:32.0px;height:32.0px;background-position:-461.5px -195.5px;}.emoji-79{width:32.0px;height:32.0px;background-position:-5.5px -233.5px;}.emoji-e00a{width:32.0px;height:32.0px;background-position:-43.5px -233.5px;}.emoji-e00b{width:32.0px;height:32.0px;background-position:-81.5px -233.5px;}.emoji-e00c{width:32.0px;height:32.0px;background-position:-119.5px -233.5px;}.emoji-e00d{width:32.0px;height:32.0px;background-position:-157.5px -233.5px;}.emoji-e00e{width:32.0px;height:32.0px;background-position:-195.5px -233.5px;}.emoji-e00f{width:32.0px;height:32.0px;background-position:-233.5px -233.5px;}.emoji-e001{width:32.0px;height:32.0px;background-position:-271.5px -233.5px;}.emoji-e01a{width:32.0px;height:32.0px;background-position:-309.5px -233.5px;}.emoji-e01b{width:32.0px;height:32.0px;background-position:-347.5px -233.5px;}.emoji-e01c{width:32.0px;height:32.0px;background-position:-385.5px -233.5px;}.emoji-e01d{width:32.0px;height:32.0px;background-position:-423.5px -233.5px;}.emoji-e01e{width:32.0px;height:32.0px;background-position:-461.5px -233.5px;}.emoji-e01f{width:32.0px;height:32.0px;background-position:-5.5px -271.5px;}.emoji-e002{width:32.0px;height:32.0px;background-position:-43.5px -271.5px;}.emoji-e02a{width:32.0px;height:32.0px;background-position:-81.5px -271.5px;}.emoji-e02b{width:32.0px;height:32.0px;background-position:-119.5px -271.5px;}.emoji-e02c{width:32.0px;height:32.0px;background-position:-157.5px -271.5px;}.emoji-e02d{width:32.0px;height:32.0px;background-position:-195.5px -271.5px;}.emoji-e02e{width:32.0px;height:32.0px;background-position:-233.5px -271.5px;}.emoji-e02f{width:32.0px;height:32.0px;background-position:-271.5px -271.5px;}.emoji-e003{width:32.0px;height:32.0px;background-position:-309.5px -271.5px;}.emoji-e03a{width:32.0px;height:32.0px;background-position:-347.5px -271.5px;}.emoji-e03b{width:32.0px;height:32.0px;background-position:-385.5px -271.5px;}.emoji-e03c{width:32.0px;height:32.0px;background-position:-423.5px -271.5px;}.emoji-e03d{width:32.0px;height:32.0px;background-position:-461.5px -271.5px;}.emoji-e03f{width:32.0px;height:32.0px;background-position:-5.5px -309.5px;}.emoji-e004{width:32.0px;height:32.0px;background-position:-43.5px -309.5px;}.emoji-e04a{width:33.0px;height:33.0px;background-position:-309.5px -423.5px;}.emoji-e04b{width:33.0px;height:33.0px;background-position:-348.5px -423.5px;}.emoji-e04c{width:33.0px;height:33.0px;background-position:-387.5px -423.5px;}.emoji-e04d{width:32.0px;height:32.0px;background-position:-81.5px -309.5px;}.emoji-e005{width:32.0px;height:32.0px;background-position:-119.5px -309.5px;}.emoji-e006{width:32.0px;height:32.0px;background-position:-157.5px -309.5px;}.emoji-e007{width:32.0px;height:32.0px;background-position:-195.5px -309.5px;}.emoji-e008{width:32.0px;height:32.0px;background-position:-233.5px -309.5px;}.emoji-e009{width:32.0px;height:32.0px;background-position:-271.5px -309.5px;}.emoji-e010{width:32.0px;height:32.0px;background-position:-309.5px -309.5px;}.emoji-e011{width:32.0px;height:32.0px;background-position:-347.5px -309.5px;}.emoji-e012{width:32.0px;height:32.0px;background-position:-385.5px -309.5px;}.emoji-e013{width:32.0px;height:32.0px;background-position:-423.5px -309.5px;}.emoji-e014{width:32.0px;height:32.0px;background-position:-461.5px -309.5px;}.emoji-e015{width:32.0px;height:32.0px;background-position:-5.5px -347.5px;}.emoji-e016{width:32.0px;height:32.0px;background-position:-43.5px -347.5px;}.emoji-e017{width:32.0px;height:32.0px;background-position:-81.5px -347.5px;}.emoji-e018{width:32.0px;height:32.0px;background-position:-119.5px -347.5px;}.emoji-e019{width:32.0px;height:32.0px;background-position:-157.5px -347.5px;}.emoji-e020{width:32.0px;height:32.0px;background-position:-195.5px -347.5px;}.emoji-e021{width:32.0px;height:32.0px;background-position:-233.5px -347.5px;}.emoji-e022{width:32.0px;height:32.0px;background-position:-271.5px -347.5px;}.emoji-e023{width:32.0px;height:32.0px;background-position:-309.5px -347.5px;}.emoji-e024{width:32.0px;height:32.0px;background-position:-347.5px -347.5px;}.emoji-e025{width:32.0px;height:32.0px;background-position:-385.5px -347.5px;}.emoji-e026{width:32.0px;height:32.0px;background-position:-423.5px -347.5px;}.emoji-e027{width:32.0px;height:32.0px;background-position:-461.5px -347.5px;}.emoji-e028{width:32.0px;height:32.0px;background-position:-5.5px -385.5px;}.emoji-e029{width:32.0px;height:32.0px;background-position:-43.5px -385.5px;}.emoji-e030{width:32.0px;height:32.0px;background-position:-81.5px -385.5px;}.emoji-e031{width:32.0px;height:32.0px;background-position:-119.5px -385.5px;}.emoji-e032{width:32.0px;height:32.0px;background-position:-157.5px -385.5px;}.emoji-e033{width:32.0px;height:32.0px;background-position:-195.5px -385.5px;}.emoji-e034{width:32.0px;height:32.0px;background-position:-233.5px -385.5px;}.emoji-e035{width:32.0px;height:32.0px;background-position:-271.5px -385.5px;}.emoji-e036{width:32.0px;height:32.0px;background-position:-309.5px -385.5px;}.emoji-e037{width:32.0px;height:32.0px;background-position:-347.5px -385.5px;}.emoji-e038{width:32.0px;height:32.0px;background-position:-385.5px -385.5px;}.emoji-e039{width:32.0px;height:32.0px;background-position:-423.5px -385.5px;}.emoji-e040{width:32.0px;height:32.0px;background-position:-461.5px -385.5px;}.emoji-e041{width:32.0px;height:32.0px;background-position:-5.5px -423.5px;}.emoji-e042{width:32.0px;height:32.0px;background-position:-43.5px -423.5px;}.emoji-e043{width:32.0px;height:32.0px;background-position:-81.5px -423.5px;}.emoji-e044{width:32.0px;height:32.0px;background-position:-119.5px -423.5px;}.emoji-e045{width:32.0px;height:32.0px;background-position:-157.5px -423.5px;}.emoji-e046{width:32.0px;height:32.0px;background-position:-195.5px -423.5px;}.emoji-e047{width:32.0px;height:32.0px;background-position:-233.5px -423.5px;}.emoji-e048{width:33.0px;height:33.0px;background-position:-426.5px -423.5px;}.emoji-e049{width:33.0px;height:33.0px;background-position:-465.5px -423.5px;}.emoji-e050{width:32.0px;height:32.0px;background-position:-271.5px -423.5px;}
.question-dialog{width:min(520px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid #cdd6e0;border-radius:12px;padding:24px;color:#192e43;background:#f8fafc;box-shadow:0 24px 80px #10243b40}.question-dialog::backdrop{background:#10243b99}.question-dialog h2{margin-top:0}.delete-question{font-weight:700;overflow-wrap:anywhere}.delete-error{color:#a22c36}.question-dialog button{min-height:44px}

.page-heading h1{overflow-wrap:anywhere}
.member-identity{display:flex;align-items:center;gap:12px}.member-avatar{width:48px;height:48px;object-fit:cover;flex:none;border-radius:9px;background:var(--paper);border:1px solid var(--line)}.member-label{min-width:0;overflow-wrap:anywhere}.member-label>strong{font-size:1rem}.gender-icon{display:inline-block;vertical-align:middle;margin-left:5px;object-fit:contain}.alliance-identity{display:flex;gap:24px;align-items:center}.alliance-emblem{width:88px;height:88px;object-fit:contain;flex:none}.alliance-identity h1{overflow-wrap:anywhere}.alliance-identity .eyebrow{margin-bottom:6px}@media(max-width:720px){.alliance-identity{gap:16px}.alliance-emblem{width:64px;height:64px}.alliance-identity h1{font-size:2rem}.member-identity{gap:10px;align-items:flex-start}.member-avatar{width:44px;height:44px}.member-label>strong{font-size:1rem}.member-name{padding-right:40px!important}}

@font-face{font-family:Barlow;src:url('/fonts/barlow-condensed.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:Public;src:url('/fonts/public-sans.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#263e4a;--paper:#f2ede7;--surface:#fffaf5;--line:#c6ceca;--accent:#096d83;--soft:#dcebee;--muted:#52656b;--gold:#715216;--gold-soft:#ffedb3;--nav:#294658;--nav-hover:#3c6071;--nav-text:#edf5f4;--turquoise:#5eaabf;--button:#b1d2db;--button-hover:#98c3d0;--selected:linear-gradient(#ffe69d,#f5c655);--selected-ink:#453714;--danger:#a12525;--danger-soft:#f9e6e3;--success:#21723d;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--space-2xl:48px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Public,'Avenir Next','Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}a{color:var(--accent);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;top:-80px;left:16px;z-index:20;background:var(--surface);padding:12px}.skip:focus{top:8px}
.site-header{background:var(--ink);color:var(--surface)}.header-inner{max-width:1440px;min-height:88px;padding:16px 40px;margin:auto;display:flex;align-items:center;gap:48px}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--surface);text-decoration:none;white-space:nowrap}.brand-word{font:700 32px/1 Barlow,sans-serif;letter-spacing:.015em}.brand-word span{font-size:22px;color:var(--button)}.crest{object-fit:contain;width:34px;height:40px;color:oklch(81% .105 84);flex:none}.primary-nav{display:flex;align-items:center;gap:8px}.primary-nav a{display:flex;gap:8px;align-items:center;min-height:48px;padding:10px 16px;color:var(--nav-text);font-size:.875rem;text-decoration:none;border-radius:8px}.primary-nav a[aria-current]{color:var(--surface);background:var(--nav-hover)}.nav-icon{width:20px;height:20px;flex:none}.account-menu{position:relative;margin:0 0 0 auto}.account-menu>summary{display:flex;gap:8px;align-items:center;padding:10px 12px;min-height:44px;color:var(--surface);font-size:.875rem;list-style:none;cursor:pointer;border:1px solid var(--turquoise);border-radius:8px}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary:after{content:'⌄';font-size:18px}.account-panel{position:absolute;right:0;top:56px;width:248px;padding:12px;background:var(--surface);color:var(--ink);z-index:10;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #17283b20}.account-panel>a{display:flex;align-items:center;min-height:48px;padding:8px 12px;text-decoration:none;border-radius:6px}.account-panel form{border-top:1px solid var(--line);padding-top:12px;margin-top:8px}.account-panel button{width:100%}.account-name{overflow-wrap:anywhere;padding:4px 12px 12px;display:block;color:var(--muted);font-size:.8125rem}.header-note{color:var(--nav-text);font-size:.875rem;margin-left:auto}
main{max-width:1440px;margin:auto;padding:40px;min-height:calc(100vh - 88px)}h1,h2,h3,p{margin-top:0}h1{font:700 3rem/1.08 Barlow,sans-serif;letter-spacing:.005em;margin-bottom:12px}h2{font-size:1.25rem;line-height:1.3;margin:32px 0 16px}h3{font-size:1rem}p{max-width:72ch;margin-bottom:16px}.page-heading{margin:8px 0 24px}.eyebrow{display:block;color:var(--muted);font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;font-weight:650;margin-bottom:12px}.muted,small{color:var(--muted)}small{font-size:.8125rem}.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:600;text-decoration:none}.section-heading{display:flex;align-items:baseline;gap:16px;justify-content:space-between;flex-wrap:wrap}.section-heading h2{margin:0}.section-heading .muted{font-size:.8125rem}
.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.field{display:flex;flex-direction:column;gap:6px;font-size:.8125rem;font-weight:600;min-width:0}input,select,textarea,button,.button{border:1px solid var(--line);border-radius:8px;padding:11px 14px;min-height:48px;max-width:100%;font-size:1rem;line-height:1.5}input,select,textarea{background:var(--surface);color:var(--ink);min-width:0;font-weight:400}input:focus,select:focus,textarea:focus{border-color:var(--accent)}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--accent);color:var(--surface);cursor:pointer;font-weight:600;text-decoration:none;transition:background .15s ease-out,border-color .15s ease-out}.secondary,button.secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.roster-tools{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;gap:20px;align-items:end;flex-wrap:wrap}.roster-tools .toolbar{margin:0;flex:1;justify-content:flex-end}.roster-search{flex:1;max-width:440px;min-width:180px}.roster-count{font-size:.8125rem;margin:12px 0;color:var(--muted)}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-top:16px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-variant-numeric:tabular-nums}th,td{text-align:right;padding:18px 14px;border-bottom:1px solid var(--line)}th:first-child,td:first-child{text-align:left;padding-left:24px}th{font-size:.75rem;font-weight:600;background:var(--soft);padding-top:14px;padding-bottom:14px}th a{display:inline-flex;align-items:center;min-height:24px;color:var(--muted);text-decoration:none}th[aria-sort] a{color:var(--accent)}td{font-size:.875rem}td strong{font-weight:650;color:var(--ink)}tbody tr:last-child td{border-bottom:0}.member-name{min-width:190px;white-space:normal;overflow-wrap:anywhere;max-width:260px}.member-name>strong{font-size:1rem}.member-name small a{display:inline-flex;align-items:center;min-height:32px;font-size:.75rem;text-decoration:none}.badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:5px;min-width:34px;font-size:.75rem;font-weight:700;background:var(--soft);color:var(--accent)}.rank-5{background:var(--gold-soft);color:var(--gold)}.rank-4{background:var(--soft);color:var(--accent)}.rank-1,.rank-2,.rank-3{background:var(--paper);color:var(--muted)}.table-note{font-size:.8125rem;margin-top:16px}.empty{padding:48px 0}.empty h2{margin-top:0}.notice{padding:16px 20px;background:var(--soft);border:1px solid var(--line);border-radius:10px;max-width:80ch}.error{background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}
.channel-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;max-width:880px;margin-bottom:24px;flex-wrap:wrap}.channel-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);background:var(--surface);border-radius:10px}.channel-tabs a{min-height:44px;display:flex;align-items:center;padding:8px 20px;border-radius:6px;text-decoration:none;color:var(--muted);font-weight:600;font-size:.875rem}.channel-tabs a[aria-current]{background:var(--ink);color:var(--surface)}.chat-stream{max-width:880px}.chat-stream>.section-heading{padding-bottom:12px}.chat-date{margin:28px 0 8px;font-size:.75rem;color:var(--muted);text-align:center;letter-spacing:.03em;display:flex;gap:16px;align-items:center}.chat-date:before,.chat-date:after{content:'';height:1px;flex:1;background:var(--line)}.chat-message{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.message-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-weight:650;color:var(--accent)}.message-avatar.chat-portrait{object-fit:cover;border-radius:9px}.message-content{flex:1;min-width:0}.message-heading{display:flex;align-items:baseline;gap:12px;justify-content:space-between}.message-heading strong{overflow-wrap:anywhere;font-size:.875rem}.message-heading time{flex:none;color:var(--muted);font-size:.75rem}.summary-text,.sources p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.chat-message .summary-text{margin:6px 0 0;font-size:.9375rem}.chat-stream>.button{margin-top:24px}.briefing-section{max-width:880px;padding:8px 0 32px}.briefing-panel{border:1px solid var(--line);background:var(--surface);padding:24px 28px;margin:0 0 20px;border-radius:12px}.briefing-panel h2{margin:0 0 12px}.briefing-panel>p.muted{font-size:.8125rem}.briefing-panel details{margin-bottom:0}.sources{padding-left:24px}.sources li{padding:12px 0;scroll-margin-top:24px}.sources p{margin:8px 0}.sources small{display:block}.sources li:target{background:var(--soft)}details{margin:24px 0}summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600;font-size:.875rem}textarea{width:100%;min-height:180px}.user{padding:24px 0;border-bottom:1px solid var(--line)}.user>strong{font-size:1.125rem;display:inline-block;margin:0 8px 12px 0}.user form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.user input{width:180px}.login{max-width:440px;margin:48px auto}.login h1{font-size:3.5rem;margin-top:20px}.login form,form.login{display:flex;flex-direction:column;gap:20px}.login form{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px;margin:24px 0}.login>p{font-size:.9375rem}footer{padding:48px 0 8px;font-size:.75rem;color:var(--muted)}
@media(hover:hover){.primary-nav a:hover{color:var(--surface);background:var(--nav-hover)}button:hover,.button:hover{background:var(--button-hover)}button.secondary:hover,.button.secondary:hover,.account-panel>a:hover{background:var(--soft)}tbody tr:hover{background:var(--paper)}a:hover{text-decoration:underline}.brand:hover{text-decoration:none}}
@media(max-width:1100px){.header-inner{padding:16px 24px;gap:24px}main{padding:32px 24px}.primary-nav a{padding:10px 12px}.roster-tools{gap:16px}.roster-tools .toolbar{justify-content:flex-start}}
@media(max-width:720px){.header-inner{min-height:72px;padding:14px 20px;gap:12px}.brand-word{font-size:28px}.brand-word span{font-size:19px}.crest{width:28px;height:34px}.account-menu>summary{font-size:.8125rem;padding:8px 10px}.account-panel{top:50px}.header-note{font-size:.75rem}.primary-nav{position:fixed;left:0;right:0;bottom:0;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}.primary-nav a{min-height:54px;padding:6px 4px;flex-direction:column;gap:3px;color:var(--muted);font-size:.6875rem;border-radius:8px;line-height:1.3}.primary-nav a[aria-current]{background:var(--soft);color:var(--accent)}.nav-icon{width:21px;height:21px}main{padding:24px 20px 96px;min-height:calc(100vh - 72px)}h1{font-size:2.5rem}.page-heading{margin:4px 0 20px}.eyebrow{font-size:.6875rem;margin-bottom:8px}.page-heading+p.muted{font-size:.8125rem}.roster-tools{display:block;padding:14px;border-radius:12px}.roster-search{max-width:none}.roster-tools .toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:12px;align-items:end}.roster-tools .toolbar .field{font-size:.6875rem;min-width:0}.roster-tools select{padding:11px 7px;font-size:1rem;width:100%}.roster-tools button{grid-column:1/-1;font-size:.875rem;padding:12px 9px}.table-wrap{overflow:visible;border:0;background:none;border-radius:0;margin-top:12px}table,tbody{display:block;width:100%;white-space:normal}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}tbody{display:grid;gap:12px}tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;gap:14px 20px}td,th:first-child,td:first-child{padding:0;border:0;text-align:left;min-width:0;font-size:.9375rem}td:before{content:attr(data-label);display:block;color:var(--muted);font-size:.6875rem;font-weight:500;margin-bottom:2px}.member-name{grid-column:1/-1;min-width:0;max-width:none;padding-right:50px!important}.member-name:before,.member-rank:before{display:none}.member-name>strong{font-size:1.125rem;line-height:1.4}.member-name small a{min-height:44px;font-size:.75rem}.member-rank{position:absolute;right:16px;top:16px}.member-last{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}.member-last small{display:inline-block;margin-top:2px}.table-note{font-size:.75rem}.channel-bar{align-items:stretch;gap:8px;margin-bottom:20px}.channel-tabs{width:100%}.channel-tabs a{flex:1;justify-content:center;padding:8px 12px}.channel-bar>.text-link{font-size:.8125rem}.section-heading{gap:4px}.section-heading .muted{font-size:.75rem}.chat-message{gap:10px;padding:16px 0}.message-avatar{width:30px;height:30px;font-size:.8125rem}.chat-date{margin-top:24px}.chat-message .summary-text{font-size:1rem;line-height:1.65}.message-heading{gap:8px}.briefing-panel{padding:20px 16px}.briefing-panel .summary-text{font-size:1rem;line-height:1.75}.toolbar .field{flex:1;min-width:120px}.user form{display:grid;grid-template-columns:1fr 1fr}.user input{width:100%}.user form .field:nth-of-type(n+3){grid-column:1/-1}.user button{grid-column:1/-1}.login{margin:24px auto}.login h1{font-size:3rem}.login form{padding:22px 18px}footer{padding-top:32px}.sources{padding-left:20px}}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.header-inner{padding-left:12px;padding-right:12px}.roster-tools{padding:12px}.roster-tools .toolbar{grid-template-columns:1fr 1fr}.roster-tools button{grid-column:1/-1}.brand-word span{font-size:16px}}
/* Alliance log ledger: game-inspired event symbols and semantic highlights. */
.log-stream{padding:20px}.log-entry{display:grid;grid-template-columns:76px minmax(0,1fr);border:1px solid var(--line);border-radius:7px;background:var(--paper);margin:10px 0;overflow:hidden;box-shadow:0 2px 0 #243c5010}.log-symbol{display:flex;align-items:center;justify-content:center;background:linear-gradient(110deg,var(--soft),var(--paper));color:var(--muted)}.log-symbol svg{width:42px;height:42px}.log-tone-positive .log-symbol{color:var(--success)}.log-tone-negative .log-symbol{color:var(--danger)}.log-body{padding:14px 16px 10px;min-width:0}.log-label{font-size:11px;letter-spacing:.065em;text-transform:uppercase;color:var(--muted)}.log-description{margin:5px 0 10px;line-height:1.6;font-size:16px;overflow-wrap:anywhere;color:var(--ink)}.log-ally{color:var(--accent);font-weight:700}.log-opponent{color:var(--danger);font-weight:700}.log-value{color:var(--success);font-weight:700}.log-body time{display:block;text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.log-body time span{font-size:11px}.log-unresolved{display:block;font-size:11px;color:var(--muted);margin-top:6px}.channel-tabs.log-tabs{width:100%}@media(max-width:720px){.log-stream{padding:12px}.log-entry{grid-template-columns:52px minmax(0,1fr)}.log-symbol svg{width:32px;height:32px}.log-body{padding:10px}.log-description{font-size:14px}.channel-tabs.log-tabs{width:100%}.log-body time{font-size:11px}}
.log-tabs{width:fit-content;max-width:100%;flex-wrap:wrap}.log-tabs a{padding:8px 12px}@media(max-width:720px){.log-tabs{display:grid;grid-template-columns:repeat(2,1fr);width:100%}.log-tabs a{justify-content:center}.chat-message .message-heading{flex-wrap:wrap}}
.ops-tabs{max-width:880px}.ops-tabs a{flex:1;justify-content:center;padding:8px}.ops-filter{margin:0}.ops-tabs+.notice{margin-top:20px}.ops-intro{margin-top:24px}.ops-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1100px}.ops-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0;overflow-wrap:anywhere}.ops-card h2{margin:16px 0 8px}.ops-card h2 a{color:var(--ink);text-decoration:none}.ops-card p:last-child{margin-bottom:0}.ops-overdue{border-left:4px solid var(--gold)}.ops-form{margin-top:24px;display:flex;flex-direction:column;gap:18px}.ops-form textarea{min-height:120px}.ops-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ops-form p{margin:0}.ops-check{display:flex;align-items:center;gap:12px}.ops-check input{width:20px;min-height:20px;flex:none}.ops-form>button{align-self:start}@media(min-width:721px) and (max-width:1100px){.primary-nav{gap:2px}.primary-nav a{padding:8px;font-size:.75rem}.header-inner{gap:12px}.brand{gap:4px}.brand-word{font-size:26px}}@media(max-width:720px){.ops-list,.ops-fields{grid-template-columns:1fr}.ops-card{padding:18px}.ops-form{padding:20px}.primary-nav{gap:0;padding-left:4px;padding-right:4px}.primary-nav a{font-size:.625rem}.ops-form>button{align-self:stretch}}
@media(min-width:721px) and (max-width:1000px){.primary-nav{position:fixed;left:0;right:0;bottom:0;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}.primary-nav a{min-height:54px;padding:6px 4px;flex-direction:column;gap:3px;color:var(--muted);font-size:.75rem;line-height:1.3}.primary-nav a[aria-current]{background:var(--soft);color:var(--accent)}main{padding-bottom:128px}}
@media(max-width:1000px){.primary-nav.has-team{grid-template-columns:repeat(6,minmax(0,1fr))}}
.question-card{position:relative}.question-card>.section-heading{padding-right:44px}.question-delete{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:44px;height:44px;font-size:1.65rem;line-height:1;color:var(--muted);border-radius:10px;text-decoration:none}.question-delete:hover,.question-delete:focus-visible{background:var(--soft);color:#a12525}.danger{background:#a12525;color:white}

/* Shared game palette: all navigation follows the same selected/hover/focus rules. */
body{background:var(--nav)}.site-header{background:var(--nav);border-bottom:5px solid var(--turquoise)}
main{background:var(--paper);border-inline:1px solid var(--line)}
.page-heading{background:var(--turquoise);padding:20px 24px;border:1px solid #438b9f;border-radius:8px;color:#183944}
.page-heading .eyebrow,.page-heading .muted{color:#183944}.page-heading p:last-child{margin-bottom:0}.page-heading h1{margin-bottom:8px}
.channel-tabs,.channel-tabs.log-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:5px;border:1px solid var(--nav);background:var(--nav);border-radius:8px;max-width:100%}
.channel-tabs a,.log-tabs a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;color:var(--nav-text);border-radius:5px;flex:1;text-align:center;text-decoration:none}
.primary-nav a{color:var(--nav-text);text-align:center}
.channel-tabs a[aria-current],.primary-nav a[aria-current]{background:var(--selected);color:var(--selected-ink);box-shadow:0 2px 0 #bc9239}
button,.button{background:var(--button);color:var(--ink);border-color:#799eaa;box-shadow:0 2px 0 #41687930}
.secondary,button.secondary{background:var(--surface);color:var(--accent);border-color:var(--line);box-shadow:none}
button.danger,.button.danger,.danger{background:var(--danger);color:#fff;border-color:var(--danger)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.primary-nav a:focus-visible,.channel-tabs a:focus-visible,.account-menu>summary:focus-visible{outline-color:var(--gold-soft);outline-offset:-3px}
a:not(.button):not(.brand):not(.question-delete):not(.primary-nav a):not(.channel-tabs a):hover{text-decoration:underline}
.ops-card h2 a{color:var(--accent);display:inline-flex;align-items:center;min-height:44px}.ops-card h2 a:hover{text-decoration:underline}.question-delete:hover{color:var(--danger);background:var(--danger-soft)}
.briefing-panel,.ops-card,.roster-tools,.table-wrap,.login form,.question-dialog{border-radius:8px;box-shadow:0 2px 0 #29465810}
.chat-stream{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:20px}.chat-message:last-child{border-bottom:0}.message-heading{flex-wrap:wrap}.message-heading strong{color:var(--accent)}
.log-stream{background:var(--surface)}.log-description{color:var(--ink)}.log-label,.log-unresolved{font-size:12px}.log-body time,.log-body time span{font-size:12px}
.notice{background:var(--soft)}.notice.error{background:var(--danger-soft)}.account-panel{z-index:30}.account-panel a{color:var(--accent)}
.text-link{text-decoration:underline;text-underline-offset:4px}button:disabled{box-shadow:none;opacity:.55}.ops-intro{margin-top:20px}
.chat-photo-link{display:block;width:fit-content;max-width:100%;margin-top:10px;border-radius:8px;overflow:hidden;background:var(--soft);border:1px solid var(--line)}.chat-photo{display:block;width:auto;height:auto;max-width:100%;max-height:520px;object-fit:contain}.chat-photo-link:focus-visible{outline-offset:4px}
.chat-photo-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#142c38eb;color:#fff}.chat-photo-dialog::backdrop{background:#142c38eb}.chat-photo-stage{width:100%;height:100%;display:grid;place-items:center;padding:64px 20px 20px}.chat-photo-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.chat-photo-close{position:fixed;z-index:2;right:max(16px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;font-size:32px;line-height:1;background:var(--selected);color:var(--selected-ink);border-color:#bc9239}.chat-photo-link:after{content:'Vergrößern';display:block;padding:7px 10px;background:var(--nav);color:var(--nav-text);font-size:12px;text-align:center}
.faq-copy-bar{position:sticky;top:8px;z-index:4;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 5px 18px #1635451c}.faq-copy-bar button{width:auto}.faq-select{display:flex;align-items:center;gap:7px;width:max-content;margin:0 0 10px;color:var(--nav);font-weight:700;cursor:pointer}.faq-select input{width:20px;height:20px;margin:0;accent-color:var(--selected-ink)}
.checkbox-row{display:flex;align-items:flex-start;gap:10px;font-weight:700}.checkbox-row input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:var(--selected-ink)}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dashboard-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}.dashboard-card h2{margin-top:0}.dashboard-attacks,.dashboard-settings{grid-column:1/-1}.ranking-list{list-style:none;padding:0;margin:0}.ranking-list li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.ranking-list li:first-child{border-top:0}.ranking-list img{width:34px;height:34px;border-radius:8px;object-fit:cover}.ranking-list a{font-weight:700;min-width:0;overflow-wrap:anywhere}.ranking-list strong{text-align:right;color:var(--accent)}.attack-list{display:grid;gap:10px}.attack-list article{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(240px,2fr) auto;gap:12px;padding:12px;border-left:4px solid var(--danger);background:var(--danger-soft);border-radius:6px}.attack-list time{color:var(--muted);font-size:13px;text-align:right}.alert-badge{background:var(--danger);color:#fff}.tag-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tag-list form{display:flex;align-items:center;gap:8px;padding:5px 6px 5px 10px;background:var(--soft);border-radius:8px}.tag-list button{min-height:34px;padding:5px 9px;font-size:12px}@media(max-width:720px){.dashboard-grid{grid-template-columns:1fr}.dashboard-attacks,.dashboard-settings{grid-column:auto}.attack-list article{grid-template-columns:1fr;gap:4px}.attack-list time{text-align:left}.ranking-list strong{font-size:13px}.faq-copy-bar{top:4px}}
.ranking-list .ranking-reminder{grid-column:2/-1;justify-self:start;min-height:36px;padding:5px 10px;font-size:.8125rem;font-weight:600}
.dashboard-attacks .attack-list{max-height:min(700px,60vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}.dashboard-attacks .attack-list:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.attack-count{display:inline-flex;align-items:center;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--selected);color:var(--selected-ink);font-size:.8125rem;font-weight:800;white-space:nowrap}
.attack-period{display:flex;align-items:end;gap:10px;margin:12px 0}.attack-period .field{min-width:150px}.attack-period select,.attack-period button{min-height:42px;padding-block:7px}
.absence-section{margin:26px 0}.absence-list{display:grid;gap:12px}.absence-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.absence-card>img{width:48px;height:48px;object-fit:cover;border-radius:9px}.absence-card h3{margin:0}.absence-card .section-heading{align-items:start}.absence-card .section-heading>strong{font-size:.875rem;color:var(--muted);text-align:right}.absence-card p{margin:10px 0 0}.absence-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.absence-actions form{margin:0}.absence-actions .button,.absence-actions button{min-height:40px;padding:7px 11px;font-size:.875rem}.absence-form{margin-top:30px}.absence-options{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:9px}.absence-options legend{font-weight:700}.absence-options label{display:flex;gap:8px;align-items:center}.absence-options input{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--selected-ink)}.absence-past{margin-top:28px}.absence-past>summary{font-weight:700;cursor:pointer;padding:12px 0}
@media(max-width:1000px){.primary-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.primary-nav.has-team{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:720px){.primary-nav a{font-size:10px}.primary-nav .nav-icon{width:19px;height:19px}}
@media(hover:hover){.primary-nav a:hover,.channel-tabs a:hover{background:var(--nav-hover);color:var(--nav-text);text-decoration:none}.primary-nav a[aria-current]:hover,.channel-tabs a[aria-current]:hover{background:var(--selected);color:var(--selected-ink)}button:hover,.button:hover{background:var(--button-hover);color:var(--ink)}button.secondary:hover,.button.secondary:hover{background:var(--soft);color:var(--accent)}button.danger:hover,.button.danger:hover{background:#841d1d;color:#fff}}
@media(max-width:1000px){.primary-nav{background:var(--nav);border-top:3px solid var(--turquoise)}.primary-nav a{color:var(--nav-text);font-size:12px}.primary-nav a[aria-current]{background:var(--selected);color:var(--selected-ink)}main{border-inline:0}}
@media(max-width:720px){.page-heading{padding:18px 16px}.page-heading h1{font-size:2.25rem}.alliance-identity h1{font-size:1.85rem}.channel-tabs a,.log-tabs a{padding:10px 8px;font-size:13px;white-space:nowrap;flex:1 1 auto;min-width:max-content}.chat-stream{padding:16px 12px}.primary-nav a{font-size:11px;min-width:0;padding-inline:2px}.primary-nav{padding-inline:4px}.field,small,.roster-count,.table-note,.member-last small{font-size:13px}.toolbar{gap:10px}.toolbar input,.toolbar select{width:100%}.log-body time,.log-body time span{font-size:12px}.log-description{font-size:14px}.question-dialog{padding:24px}.member-name small a{font-size:13px}td small a{display:inline-flex;align-items:center;min-height:44px}.briefing-panel p,.ops-card p{max-width:100%}.message-heading time{font-size:12px}}

@media(max-width:480px){.channel-tabs.log-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.channel-tabs.log-tabs a{min-width:0}.dashboard-attacks .attack-list{max-height:65vh;padding-right:3px}.absence-card{grid-template-columns:40px minmax(0,1fr);padding:13px;gap:10px}.absence-card>img{width:40px;height:40px}.absence-card .section-heading{display:block}.absence-card .section-heading>strong{display:block;text-align:left;margin-top:3px}}
details.notice{padding:12px 16px}details.notice summary{padding:4px 0}details.notice p{margin:12px 0 4px}@media(max-width:720px){.faq-filter>.field:first-of-type{flex-basis:100%}.roster-tools .toolbar .field,td:before{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.more-menu{position:relative;margin:0}.more-menu>summary{display:flex;gap:8px;align-items:center;min-height:48px;padding:10px 16px;color:var(--nav-text);font-size:.875rem;list-style:none;cursor:pointer;border-radius:8px}.more-menu>summary::-webkit-details-marker{display:none}.more-menu>summary:after{content:'⌄';font-size:18px}.more-menu[data-current=true]>summary{background:var(--selected);color:var(--selected-ink)}.more-panel{position:absolute;z-index:18;top:56px;right:0;width:230px;padding:8px;background:var(--nav);border:1px solid var(--turquoise);border-radius:10px;box-shadow:0 16px 36px #17283b45}.more-panel a{width:100%;min-height:46px}
.map-search{display:flex;gap:12px;align-items:end;max-width:720px;margin:24px 0}.map-search .field{flex:1}.map-results{margin-top:28px}.map-result-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:16px}.map-result{display:flex;flex-direction:column;gap:8px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink);text-decoration:none}.map-result>span:last-child{color:var(--accent);font-size:.875rem;font-weight:700}.map-result.selected{background:var(--gold-soft);border-color:var(--gold)}
.world-map-section{margin:32px 0}.map-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.map-title h2{margin:0;font:700 2rem/1.1 Barlow,sans-serif}.map-title>strong{font-variant-numeric:tabular-nums}.world-map-shell{position:relative;overflow:hidden;border:3px solid var(--nav);border-radius:12px;background:#e6edf1}.world-map{display:block;width:100%;height:min(64vh,690px);min-height:440px;touch-action:none;cursor:grab}.world-map.dragging{cursor:grabbing}.map-ground{fill:#e6edf1}.map-grid{fill:url(#map-grid);stroke:none}.map-grid-major{fill:url(#map-grid-major);stroke:none}.world-map defs+rect+rect{stroke:#b5badb;stroke-width:.18}.world-map defs+rect+rect+rect{stroke:#969dc9;stroke-width:.32}.world-pin{color:#f7f3ed;filter:drop-shadow(0 1px 1px #24334380)}.world-pin .castle-marker{fill:currentColor;stroke:#263e4a;stroke-width:.1;stroke-linejoin:round}.world-pin.allied{color:#17baf1}.world-pin.alliance{color:#c33cde}.world-pin.target{color:#f5c655}.world-pin.target .castle-marker{stroke:#422d0b;stroke-width:.16}.world-pin .target-ring{fill:none;stroke:#f5c655;stroke-width:.14}.map-controls{position:absolute;z-index:3;top:12px;right:12px;display:flex;gap:6px}.map-controls button{width:46px;height:46px;min-height:46px;padding:0;background:#fffaf5ef}.map-controls .map-home{width:auto;padding:0 13px}.map-legend{position:absolute;z-index:3;left:12px;bottom:12px;display:flex;gap:12px;flex-wrap:wrap;max-width:calc(100% - 24px);padding:9px 12px;background:#294658ef;color:var(--nav-text);border-radius:8px;font-size:.75rem}.map-legend span{display:flex;align-items:center;gap:6px}.legend-pin{width:11px;height:11px;border-radius:2px 2px 4px 4px;background:#f7f3ed;border:1px solid #263e4a}.legend-pin.target{background:#f5c655}.legend-pin.allied{background:#17baf1}.legend-pin.alliance{background:#c33cde}
/* Map labels and controls stay legible across zoom levels. */
.world-pin{filter:none}.world-pin.alliance{color:#7893a6}.world-pin.allied{color:#17aace}.world-pin.neutral{color:#fffaf5}.world-pin:focus{outline:none}.world-pin:focus .castle-marker,.world-pin.selected .castle-marker{stroke:#142f3f;stroke-width:.22}.world-pin text{fill:#263e4a;stroke:#e6edf1;stroke-width:.55;paint-order:stroke;stroke-linejoin:round;font-family:Public,sans-serif;font-weight:600;pointer-events:none}.world-pin.target text{font-weight:800}.legend-pin.alliance{background:#7893a6}.map-selection{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:0 0 10px 10px}.map-selection>strong{font-size:1.1rem}.map-selection>span{font-variant-numeric:tabular-nums}.map-selection>small{width:100%;color:var(--muted)}.map-scale{position:absolute;top:16px;left:16px;color:#294658;font-size:12px;font-weight:700;pointer-events:none;background:#fffaf5e8;padding:6px 9px;border-radius:5px}.world-map-shell{border-width:1px;border-radius:10px 10px 0 0}.map-axis-label{fill:#526b7b;font-family:Public,sans-serif;pointer-events:none}.map-coverage{fill:none;stroke:#8199aa;stroke-dasharray:2 2;stroke-width:.25;pointer-events:none}
@media(hover:hover){.more-menu>summary:hover{background:var(--nav-hover);color:var(--nav-text)}.map-result:hover{background:var(--soft);text-decoration:none}.world-pin:hover .castle-marker{stroke-width:.2}}
@media(max-width:1000px){.primary-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.more-menu{position:static}.more-menu>summary{min-height:54px;padding:6px 4px;flex-direction:column;justify-content:center;gap:3px;color:var(--nav-text);font-size:12px;line-height:1.3}.more-menu>summary:after{display:none}.more-panel{position:fixed;left:8px;right:8px;top:auto;bottom:calc(78px + env(safe-area-inset-bottom));width:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:10px}.more-panel a{flex-direction:row;justify-content:flex-start;padding-inline:14px;font-size:.875rem}.more-menu[data-current=true]>summary{background:var(--selected);color:var(--selected-ink)}}
@media(max-width:600px){.map-search{display:grid}.map-result-list{grid-template-columns:1fr}.map-title{display:block}.map-title>strong{display:block;margin-top:8px}.world-map{height:58vh;min-height:390px}.map-controls{top:8px;right:8px}.map-controls .map-home{font-size:.75rem}.map-legend{left:8px;bottom:8px;gap:7px 11px}.map-scale{top:65px;left:8px}}
