:root {
  color-scheme: dark;
  --bg: #100a0c;
  --wine: #31131a;
  --ivory: #fff1d5;
  --muted: #ccb9ac;
  --gold: #e8bd77;
  --line: #765237;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ivory); background: radial-gradient(ellipse at 50% 46%, #281219 0%, var(--bg) 68%); font: 15px/1.55 var(--body); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #ffe0a2; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(29px, 4.3vw, 49px); letter-spacing: -.035em; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 64px, 1184px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 10px; background: #241014; translate: 0 -160%; }
.skip:focus { translate: 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: #f5d49e; font: 700 26px/1 var(--display); letter-spacing: .085em; }
.brand small { display: block; margin-top: 5px; font: 700 8px/1.15 var(--body); letter-spacing: .16em; color: var(--muted); }

.stream-footer a:hover, .task a:hover { color: #fff1cd; text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; gap: 12px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid; border-radius: 2px; color: var(--ivory); font-size: 13px; font-weight: 700; text-align: center; transition: background-color .15s, border-color .15s; }
.button span { color: #f9d49c; }
.primary { background: linear-gradient(145deg,#843139,#581c27); border-color: #b98a57; box-shadow: inset 0 0 0 2px #36151b82; }
.primary:hover:not(:disabled) { background: linear-gradient(145deg,#9e3d46,#6b2330); border-color: #ebbc82; }
.outline { background: #1e1115dc; border-color: #865d45; }
.outline:hover { background-color: #42232a; border-color: #cc9966; }

.wide { width: 100%; }

.eyebrow { font-size: 10px; color: var(--gold); font-weight: 800; letter-spacing: .19em; line-height: 1.45; }
.eyebrow span { margin-right: 6px; }

.content { padding-top: 37px; }
.section { margin-top: 58px; }
section, aside { scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.section-heading h2 { margin-top: 7px; }
.status { display: inline-flex; gap: 7px; align-items: center; padding: 5px 9px; border: 1px solid #6a4839; background: #211318; color: #dec3a9; border-radius: 2px; font-size: 11px; }
.status i { width: 6px; height: 6px; flex: none; background: #c69e73; border-radius: 50%; }
.status[data-open="true"] i { background: #9fc785; box-shadow: 0 0 8px #a1b87560; }
.stream-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(274px, 1fr); gap: 20px; }
.panel { background: linear-gradient(145deg,#2a171c,#180e12 75%); border: 1px solid var(--line); box-shadow: inset 0 0 0 3px #110a0ca0, 0 8px 20px #08040566; min-width: 0; }
.stream-panel, .reward-panel { position: relative; }
.stream-panel::before, .stream-panel::after, .reward-panel::before, .reward-panel::after { content: ""; position: absolute; pointer-events: none; z-index: 1; width: 12px; height: 12px; border: solid #d3a162; }
.stream-panel::before, .reward-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.stream-panel::after, .reward-panel::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.stream-panel { display: flex; flex-direction: column; }
.switches { display: flex; gap: 1px; padding: 7px 7px 0; border-bottom: 1px solid #624233; }
.switch { display: flex; justify-content: center; align-items: center; gap: 9px; flex: 1; min-height: 52px; border: 1px solid transparent; border-bottom: 2px solid transparent; background: transparent; color: #e3cfc2; text-align: left; font-size: 13px; font-weight: 750; }
.switch[aria-pressed="true"] { background: linear-gradient(#422028, #301820); border-color: #79513e; border-bottom-color: #e8b274; color: var(--ivory); }
.switch small { display: block; font-size: 10px; color: #d7bba8; font-weight: 500; }
.kick { font: 950 22px/1 var(--body); color: #a8ec84; }
.tiktok { width: 22px; height: 22px; color: #f6e4db; }
.player { display: grid; position: relative; isolation: isolate; place-items: center; min-height: 250px; aspect-ratio: 2.05; text-align: center; background: #291719 url("/assets/city.webp") center / cover; flex: 1; }
.player::before { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(#170c11ae,#12090ef2), radial-gradient(ellipse,#29151d30,#140b10a0); }
.player-copy { padding: 22px; max-width: 420px; }
.player h3 { font-size: clamp(29px, 4.5vw, 53px); margin-block: 6px 10px; }
.player-copy > p:not(.eyebrow) { color: #e4cdbd; }
.player-copy .button { margin-top: 15px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #090709; }
.stream-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border-top: 1px solid #624233; color: var(--muted); font-size: 12px; }
.stream-footer b, .stream-footer a, .task a { color: var(--gold); }
.stream-footer a { font-weight: 700; }
.reward-panel { padding: 19px; display: flex; flex-direction: column; text-align: center; background: radial-gradient(ellipse at 50% 31%,#50262a,#2a161c 56%,#1c1015); }
.reward-top { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.reward-top .eyebrow { text-align: left; }
.relic-halo { width: 106px; height: 100px; position: relative; display: grid; place-items: center; margin: 12px auto 4px; }
.relic-halo::before, .relic-halo::after { content: ""; position: absolute; width: 66px; height: 66px; border: 1px solid #ad76566e; rotate: 45deg; }
.relic-halo::after { width: 74px; height: 74px; border-color: #a46e5047; }
.item-frame { display: inline-grid; place-items: center; width: 50px; height: 50px; flex: none; background: #130c10; border: 1px solid #ad8054; box-shadow: inset 0 0 0 2px #180d12, 0 0 0 2px #170d11; }
.item-icon { width: 40px; height: 40px; object-fit: contain; }
.relic-halo .item-frame { position: relative; z-index: 1; width: 62px; height: 62px; box-shadow: 0 0 0 2px #241015, 0 0 22px #d6885280; }
.relic-halo .item-icon { width: 52px; height: 52px; }
.reward-panel h3 { color: #e6c4ac; font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .14em; }
.reward-title { color: #ffd998; font: 600 clamp(27px,3.6vw,41px)/1.05 var(--display); margin: 7px 0 13px; overflow-wrap: anywhere; }
.reward-stats { margin: auto 0 15px; }
.reward-stats div { display: grid; grid-template-columns: auto 1fr; text-align: left; gap: 10px; padding: 7px 0; border-top: 1px solid #71483c; font-size: 12px; }
.reward-stats dt { color: #dcc1b2; }
.reward-stats dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.fineprint { margin-top: 8px; font-size: 11px; color: #d7beb0; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.feature { display: flex; gap: 13px; align-items: center; text-align: left; padding: 15px; color: var(--ivory); }
.feature:hover { border-color: #c89265; background: linear-gradient(145deg,#42202a,#231219); }
.feature b { display: block; font: 600 17px/1.18 var(--display); }
.feature small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.arrow { margin-left: auto; color: var(--gold); }
.section-note { color: var(--muted); font-size: 12px; }

footer { margin-top: 50px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid #6f4b39; color: var(--muted); font-size: 12px; }
.footer-brand { font-size: 23px; }
dialog { width: min(calc(100% - 26px), 550px); max-height: calc(100dvh - 28px); overflow: auto; padding: 25px; color: var(--ivory); background: linear-gradient(145deg,#321a23,#180e13); border: 1px solid #a87b50; box-shadow: inset 0 0 0 3px #130a0e, 0 16px 70px #000; }
dialog::backdrop { background: #0c060bd9; }
dialog h2 { margin: 6px 38px 12px 0; font-size: clamp(26px, 6vw, 38px); }
.close-form { position: absolute; top: 12px; right: 12px; }
.close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #785343; background: #231419; color: var(--ivory); font-size: 24px; }
.muted { color: var(--muted); margin-bottom: 14px; }
.task { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; gap: 8px; border-bottom: 1px solid #6f493b; }
.task label { display: flex; align-items: center; gap: 8px; }
.task a { flex: none; font-size: 12px; }
.task input { accent-color: #c98963; width: 19px; height: 19px; flex: none; }
.field { display: grid; gap: 5px; margin: 11px 0; color: #edcfb8; font-size: 13px; font-weight: 650; }
.field input, .field select { min-width: 0; padding: 8px 10px; min-height: 44px; color: var(--ivory); border: 1px solid #8e644e; border-radius: 2px; background: #180e13; }
.field input::placeholder { color: #bba69d; }
form > .fineprint { margin-bottom: 10px; }
.feedback { margin-top: 10px; color: #f3ca8d; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.participants-heading { margin-top: 20px; }
.entry-list { max-height: 125px; overflow: auto; margin: 9px 0; padding: 9px 9px 9px 32px; background: #160d11; border: 1px solid #674739; overflow-wrap: anywhere; }
.entry-list .empty { list-style: none; }
.wheel-area { margin-block: 17px 10px; padding: 14px 8px; text-align: center; border-top: 1px solid #765237; }
.wheel-frame { position: relative; display: grid; place-items: center; margin: 15px auto; width: 139px; height: 139px; }

.wheel { width: 100%; height: 100%; border-radius: 50%; border: 5px double #e0a764; box-shadow: 0 0 0 3px #1a0c10, 0 0 14px #be795959; background: repeating-conic-gradient(#e2b67a 0deg 2deg,#833940 2deg 44deg,#e2b67a 44deg 46deg,#3e1e29 46deg 90deg); }
.wheel.spinning { animation: spin 1.8s cubic-bezier(.15,.62,.21,1) both; }
@keyframes spin { to { transform: rotate(1255deg); } }

@media (max-width: 870px) {
  .shell { width: calc(100% - 36px); }

}
@media (max-width: 680px) {

  .content { padding-top: 29px; }
  .section { margin-top: 39px; }
  .section-heading { align-items: start; flex-direction: column; }
  .stream-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .player { min-height: 235px; aspect-ratio: 16 / 9; }
  .community-grid { grid-template-columns: 1fr; gap: 9px; }
  .feature { min-height: 69px; padding: 10px 14px; }

  footer { flex-wrap: wrap; margin-top: 33px; }
  footer p { order: 1; width: 100%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 26px); }

  .stream-footer { padding-inline: 10px; }
  dialog { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.admin-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }

.catalog { padding: 16px; }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(130px, 200px)); gap: 12px; }
.catalog-tools .field { margin: 0; }
.catalog-status { margin: 10px 0; min-height: 18px; color: var(--gold); font-size: 12px; }
.catalog-scroll { max-height: 375px; overflow: auto; scrollbar-color: #9a6549 #241419; padding: 12px; background: #140c10; border: 1px solid #6a4737; }
.catalog-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.catalog-slot { display: grid; place-items: center; width: 100%; min-height: 48px; padding: 3px; border: 1px solid #634337; background: linear-gradient(145deg, #301c21, #1b1014); box-shadow: inset 0 0 0 2px #130b0f; }
.catalog-slot:hover { border-color: #edbc7c; background: #533039; }
.catalog-slot:focus-visible { position: relative; z-index: 1; outline-offset: 1px; }
.catalog-slot img { width: 36px; height: 36px; object-fit: contain; }
.catalog-more { margin: 11px 0 0; text-align: center; }
.item-heading { display: flex; gap: 13px; align-items: center; margin: 0 40px 10px 0; }
.item-heading h2 { margin: 4px 0 0; overflow-wrap: anywhere; }
.item-detail { margin-top: 16px; padding-top: 13px; border-top: 1px solid #6a4737; }
.item-detail p { margin: 6px 0; color: #ead3c2; }
.item-detail a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.item-path { overflow-wrap: anywhere; }

@media (max-width: 680px) {

  .catalog { padding: 10px; }
  .catalog-scroll { max-height: 345px; padding: 8px; }
  .catalog-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-tools .field:first-child { grid-column: 1 / -1; }
}

.teamspeak-mark { width: 50px; flex: none; display: grid; place-items: center; }
.teamspeak-mark img { width: auto; height: 46px; }
.wheel-mark { width: 43px; height: 43px; }
.wheel-hub { position: absolute; width: 29px; height: 29px; border: 3px double #f2cb8d; border-radius: 50%; background: radial-gradient(circle, #f2cb8d 0 15%, #65303a 22%, #211118 70%); }
.wheel-frame::after { content: ""; position: absolute; top: -3px; width: 17px; height: 19px; background: #f5ce8d; clip-path: polygon(0 0, 100% 0, 50% 100%); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-line { position: absolute; bottom: 1px; left: 0; right: 0; display: grid; place-items: center; height: 1px; background: linear-gradient(90deg, transparent,#bd8b50 50%, transparent); }
.hero-line span { width: 9px; height: 9px; rotate: 45deg; border: 1px solid #bd8b50; background: #2c1718; box-shadow: 0 0 0 3px #130a0e; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #211319 url("/assets/city.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #150d12ed, #21131bd1 28%, #21131b54 65%, #170e15ad),
    linear-gradient(0deg, #130c10 0%, transparent 42%, transparent 75%, #170e14a6);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  align-items: center;
  min-height: 390px;
  padding-block: 40px 44px;
  gap: 30px;
}
.hero-copy { min-width: 0; }
.hero-kicker { display: flex; gap: 7px; align-items: center; margin-bottom: 15px; }
.hero-kicker span { width: 6px; height: 6px; border: 1px solid var(--gold); rotate: 45deg; }
.hero h1 { font-size: clamp(43px, 6vw, 80px); line-height: .98; letter-spacing: -.052em; text-shadow: 0 4px 25px #120709; }
.hero h1 em { display: block; color: #f1c585; font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { margin-top: 18px; color: #f2ddca; text-shadow: 0 2px 10px #10080a; }
.hero-logo {
  justify-self: center;
  width: min(100%, 285px);
  margin: 0;
  border: 1px solid #aa774e;
  border-radius: 50%;
  background: #0d0710;
  box-shadow: 0 0 0 5px #25121b, 0 0 0 6px #76523f, 0 16px 56px #140710b8;
}
.hero-logo img { width: 100%; height: auto; border-radius: inherit; }
@media (max-width: 680px) {
  .hero-content { grid-template-columns: 1fr; min-height: 0; padding-block: 30px 34px; gap: 24px; text-align: center; }
  .hero::before { background: linear-gradient(0deg, #150d12 0%, #1e1219b8 72%, #190e15a6); }
  .hero-logo { grid-row: 1; width: clamp(120px, 29vw, 155px); }
  .hero-kicker, .hero .actions { justify-content: center; }
  .hero-kicker { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(36px, 8.5vw, 52px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 12px; }
  .hero .actions { margin-top: 16px; }
}



.guild { --guild-teal: #9cdbd4; --guild-line: #426665; }
.guild-banner, .guild-roster { position: relative; padding: clamp(16px, 3vw, 28px); border-color: #4d6661; }
.guild-banner { background: radial-gradient(ellipse at 0 0, #25413e, transparent 66%), linear-gradient(125deg, #211a1d, #170f15 74%); }
.guild-identity { display: flex; align-items: center; gap: 16px; }
.guild-identity h3 { font-size: clamp(23px, 3.7vw, 40px); overflow-wrap: anywhere; }
.guild-crest { display: grid; flex: none; place-items: center; width: 66px; height: 66px; color: var(--guild-teal); border: 1px solid #7da9a0; background: #122322; box-shadow: inset 0 0 0 3px #223e3a; }
.guild-crest svg { width: 44px; height: 44px; }
.guild-leader { margin-top: 8px; color: #dfccbc; font-size: 13px; }
.guild-leader strong { color: var(--guild-teal); overflow-wrap: anywhere; }
.guild-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 340px; margin: 17px 0 0; }
.guild-stats > div { padding: 9px 12px; border: 1px solid #455855; background: #101817ad; }
.guild-stats dt { color: #e0d4cb; font-size: 11px; }
.guild-stats dd { margin: 3px 0 0; color: var(--guild-teal); font: 600 23px/1 var(--display); }
.guild-roster { margin-top: 10px; background: linear-gradient(145deg,#1d2928,#1b1118 76%); }
.guild-roster-head, .guild-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.guild-roster-head h3 { margin-top: 4px; font-size: clamp(25px, 3vw, 34px); }
.guild-note:empty { display: none; }
.guild-note { color: #decabf; margin-top: 9px; font-size: 13px; }
.guild-members, .guild-admin-list { padding: 0; list-style: none; }
.guild-members { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 242px),1fr)); gap: 9px; margin: 13px 0 0; }
.guild-member { display: flex; align-items: center; gap: 9px; padding: 8px; min-width: 0; border: 1px solid #58625a; background: #17171bcc; }
.guild-member-leader { border-color: #81c0b6; }
.guild-member img { width: 40px; height: 54px; flex: none; object-fit: contain; }
.guild-member-text { min-width: 0; overflow-wrap: anywhere; }
.guild-member strong, .guild-build, .guild-member small { display: block; }
.guild-member small { color: #cbbab2; }
.guild-build { color: #efcb99; font-size: 12px; }
.guild-tag { display: inline-block; padding: 1px 5px; color: #11201e; background: #9cdbd4; font-size: 10px; vertical-align: middle; }
.guild-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.portrait-field { margin: 8px 0 13px; border: 1px solid #765240; padding: 9px; }
.portrait-field legend { color: #edcfb8; font-size: 13px; font-weight: 700; padding-inline: 4px; }
.portrait-field .field { margin: 0; }
.portrait-picker { display: grid; grid-template-columns: repeat(auto-fill,minmax(46px,1fr)); gap: 5px; max-height: 178px; overflow: auto; padding: 4px; margin-top: 7px; }
.portrait-choice { display: grid; place-items: center; padding: 3px; border: 1px solid #684639; background: #1b1015; }
.portrait-choice img { width: 44px; height: auto; }
.portrait-choice[aria-pressed="true"] { outline: 2px solid #f5d090; outline-offset: -1px; background: #62412c; }
.guild-admin, .guild-add { margin: 12px 0; border: 1px solid #87604a; padding: 9px; }
.guild-admin > summary, .guild-add > summary { cursor: pointer; color: #f4d1a2; font-weight: 700; padding: 5px 1px; }
.guild-admin-content { margin-top: 8px; }
.guild-admin-content h3 { margin-top: 16px; }
.guild-admin-list { display: grid; gap: 5px; max-height: 230px; overflow: auto; margin: 8px 0; }
.guild-admin-list .guild-member { flex-wrap: wrap; }
.guild-review-actions { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.guild-review-actions .button { min-height: 36px; padding-inline: 7px; }
@media (max-width: 500px) {
  .guild-crest { width: 49px; height: 49px; }
  .guild-crest svg { width: 34px; height: 34px; }
  .guild-identity { gap: 10px; }
  .guild-stats > div { padding-inline: 6px; }
  .guild-actions .button { padding-inline: 9px; }
  .guild-fields { gap: 7px; }
}






.admin-page { min-height: 100vh; }
.admin-shell { max-width: 1000px; padding-block: 28px 65px; }
.admin-shell h1 { margin-block: 7px 20px; font-size: clamp(37px, 7vw, 64px); }
.admin-back { margin-bottom: 20px; }
.admin-login, .admin-panel { padding: clamp(15px, 3vw, 27px); }
.admin-login { max-width: 430px; }
.admin-panel { background: #201219; border: 1px solid #745343; }
.admin-panel h2 { font-size: clamp(26px, 5vw, 41px); margin-bottom: 14px; }
.admin-panel h3 { font-size: 23px; }
.admin-toolbar, .admin-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.admin-toolbar { justify-content: space-between; margin-bottom: 12px; }
.admin-tabs button { min-height: 44px; padding: 6px 12px; background: #25161d; border: 1px solid #765343; color: #f1d3b5; font-weight: 700; }
.admin-tabs button[aria-pressed="true"] { background: #68333b; border-color: #e2ab72; color: #fff0d0; }
.admin-panel form { max-width: 640px; }
.admin-panel textarea { width: 100%; resize: vertical; padding: 8px 10px; color: var(--ivory); background: #180e13; border: 1px solid #8e644e; font: inherit; }
.admin-panel input[type="file"] { max-width: 100%; }
.admin-check { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #edcfb8; font-size: 13px; font-weight: 650; }
.admin-check input { accent-color: #e4ad78; width: 18px; height: 18px; }
.admin-item-results { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; max-height: 260px; overflow: auto; }
.admin-item-results .button { text-align: left; justify-content: start; }
.admin-item-results img { width: 30px; height: 30px; object-fit: contain; }
#adminItemPath { overflow-wrap: anywhere; }
.admin-art { border: 1px solid #765343; margin: 14px 0; padding: 9px; }
.admin-art legend { padding-inline: 4px; color: var(--gold); }
.reward-admin-preview { width: 72px; height: 72px; object-fit: contain; border: 1px solid #765343; background: #160b10; }
.relic-halo .item-icon { object-fit: contain; }
.sponsor-admin-preview { max-width: min(100%, 360px); max-height: 175px; object-fit: contain; }
.sponsor-panel { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: radial-gradient(ellipse at 8% 12%, #573224, #1d1117 64%); }
.sponsor-panel:has(.sponsor-cover:not([hidden])) { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
.sponsor-cover { width: 100%; height: 100%; min-height: 175px; max-height: 260px; object-fit: cover; }
.sponsor-copy { padding: clamp(18px, 3vw, 29px); overflow-wrap: anywhere; }
.sponsor-copy h3 { font-size: clamp(27px, 5vw, 48px); margin-block: 6px 10px; }
.sponsor-copy > p:not(.sponsor-label) { color: #ecceba; margin-bottom: 14px; }
.sponsor-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 13px; border-top: 1px solid #71503e; }
.sponsor-controls span { color: var(--gold); font-size: 12px; }
.sponsor-controls .button { min-width: 44px; }
.sponsor-controls .button:last-child { margin-left: auto; }
@media (max-width: 600px) {
  .sponsor-panel:has(.sponsor-cover:not([hidden])) { grid-template-columns: minmax(0,1fr); }
  .sponsor-cover { min-height: 0; max-height: 185px; aspect-ratio: 16 / 8; }
}



.guild-member .guild-authorities { color: #a8d9d1; margin-top: 3px; font-size: 11px; }
.guild-authority-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
