* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0a0908;
  font-family: 'EB Garamond', serif;
  color: #d8cfc0;
  user-select: none;
}

#game { position: fixed; inset: 0; display: block; }

.hidden { display: none !important; }

/* vignette */
#vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 5;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ---------------- HUD ---------------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }

#bars { position: absolute; top: 22px; left: 26px; width: 340px; }
.bar {
  position: relative;
  height: 12px;
  background: rgba(10, 8, 6, 0.8);
  border: 1px solid #4a4136;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8), inset 0 0 6px rgba(0,0,0,0.9);
  margin-bottom: 7px;
}
.bar .fill { height: 100%; width: 100%; transition: width 0.15s ease-out; }
.bar.hp .fill { background: linear-gradient(180deg, #b3322a, #7d1f1a 60%, #5e1512); }
.bar.stamina { width: 75%; }
.bar.stamina .fill { background: linear-gradient(180deg, #7b9b46, #55702c 60%, #3e5420); }

#runes {
  position: absolute; bottom: 24px; right: 28px;
  font-family: 'Cinzel', serif; font-size: 15px; color: #cdb878;
  background: rgba(8,7,5,0.55); border: 1px solid #4a4136; padding: 4px 14px;
}

#crosshair {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 18px; color: rgba(220, 210, 190, 0.65); text-shadow: 0 0 4px #000;
}

#hotbar {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  pointer-events: auto;
}
.slot {
  width: 46px; height: 46px;
  border: 1px solid #4a4136; background: rgba(10, 8, 6, 0.7);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-size: 10px; color: #9a8f7d;
}
.slot.filled, .inventoryslot.filled { cursor: grab; }
.slot.dragging, .inventoryslot.dragging { opacity: 0.45; cursor: grabbing; }
.slot.dragover, .inventoryslot.dragover {
  border-color: #74bfff;
  box-shadow: 0 0 12px rgba(85, 170, 255, 0.45), inset 0 0 12px rgba(85, 170, 255, 0.16);
}
.slot .icon { width: 22px; height: 22px; margin-bottom: 2px; }
.slot.active { border-color: #cdb878; box-shadow: 0 0 8px rgba(205, 184, 120, 0.45); }

#axeaction {
  position: absolute; right: 34px; top: 46%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 1px;
  color: #f1d2aa; background: rgba(20, 8, 5, 0.72);
  border: 1px solid #8a3d25; padding: 8px 12px;
  box-shadow: 0 0 18px rgba(180, 48, 22, 0.25);
}
#axeaction b {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border: 1px solid #c76b3a; color: #ffe1ba;
  background: rgba(150, 40, 20, 0.35);
}

/* boss bar */
#bossbar {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%);
  width: 62%; max-width: 900px; text-align: center;
}
#bossname {
  font-family: 'Cinzel', serif; font-size: 19px; letter-spacing: 3px;
  color: #e8ddc4; text-shadow: 0 0 8px #000, 0 2px 3px #000;
  margin-bottom: 4px;
}
.bar.boss { height: 9px; }
.bar.boss .fill { background: linear-gradient(180deg, #c9a23c, #8c6a1d 55%, #5e4612); transition: width 0.25s ease-out; }

#prompt {
  position: absolute; bottom: 180px; left: 50%; transform: translateX(-50%);
  font-family: 'Cinzel', serif; font-size: 16px; letter-spacing: 1px;
  background: rgba(8,7,5,0.7); border: 1px solid #6b5d3f; padding: 8px 22px;
  color: #e8ddc4;
}

#toast {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  font-family: 'Cinzel', serif; font-size: 17px; color: #cdb878;
  text-shadow: 0 0 10px #000;
}

/* season rollover warning + countdown (FAN-18) */
#seasonwarn {
  position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
  text-align: center; pointer-events: none;
  background: rgba(20, 6, 4, 0.6); border: 1px solid #7a3b2c;
  padding: 7px 26px 9px; border-radius: 2px;
  box-shadow: 0 0 22px rgba(150, 40, 25, 0.35);
  animation: seasonwarn-pulse 2.4s ease-in-out infinite;
}
#seasonwarn-text {
  font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 1px;
  color: #e6c79c; text-shadow: 0 0 8px #000;
}
#seasonwarn-time {
  font-family: 'Cinzel', serif; font-size: 30px; font-weight: 600; letter-spacing: 3px;
  color: #e2a24a; text-shadow: 0 0 16px rgba(226, 162, 74, 0.65), 0 2px 3px #000;
  margin-top: 2px;
}
@keyframes seasonwarn-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(150, 40, 25, 0.3); }
  50% { box-shadow: 0 0 30px rgba(196, 70, 40, 0.55); }
}

#help {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: rgba(160, 150, 130, 0.5); white-space: nowrap;
}

/* minimap (bottom-left circle) */
#minimap {
  position: absolute; bottom: 22px; left: 26px;
  width: 176px; height: 176px; border-radius: 50%;
  border: 2px solid #6b5d3f;
  box-shadow: 0 0 0 1px #000, 0 0 0 4px rgba(20, 14, 6, 0.6), 0 0 24px rgba(0, 0, 0, 0.8);
  background: rgba(10, 8, 6, 0.5);
}

/* chat (sits to the right of the minimap) */
#chatlog {
  position: absolute; bottom: 90px; left: 220px; width: 360px;
  font-size: 14px; color: #cfc6b4; text-shadow: 0 1px 2px #000;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-height: 180px; overflow: hidden;
}
#chatlog .msg { margin-top: 2px; opacity: 0.95; }
#chatlog .msg b { color: #cdb878; font-weight: 600; }
#chatbox { position: absolute; bottom: 64px; left: 220px; pointer-events: auto; }
#chatinput {
  width: 320px; background: rgba(10,8,6,0.85); border: 1px solid #6b5d3f;
  color: #e8ddc4; font-family: 'EB Garamond', serif; font-size: 15px; padding: 6px 10px;
  outline: none;
}

/* ---------------- big screens ---------------- */
.screen {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
#died { background: radial-gradient(ellipse at center, rgba(20, 0, 0, 0.55), rgba(0,0,0,0.75)); }
.bigtext {
  font-family: 'Cinzel', serif; font-weight: 600; font-size: 64px; letter-spacing: 14px;
  animation: fadein 2.2s ease-out;
}
.bigtext.small { font-size: 34px; letter-spacing: 8px; }
.bigtext.red { color: #9e1b15; text-shadow: 0 0 30px rgba(158, 27, 21, 0.7); }
.bigtext.gold { color: #d9b75c; text-shadow: 0 0 36px rgba(217, 183, 92, 0.6); }
.subtext {
  font-family: 'Cinzel', serif; font-size: 17px; letter-spacing: 7px;
  color: rgba(216, 207, 192, 0.55); margin-top: 14px;
  animation: fadein 3s ease-out;
}
@keyframes fadein { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; } }

/* ---------------- character screen (ESC) ---------------- */
#charscreen {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 3, 2, 0.72);
  backdrop-filter: blur(2px);
}
#charpanel {
  width: 720px; max-width: 92vw;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(120, 90, 30, 0.10), transparent 60%),
    linear-gradient(180deg, #15120e, #0c0a07);
  border: 1px solid #6b5d3f;
  box-shadow: 0 0 0 1px #000, 0 0 60px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
  padding: 26px 34px 22px;
}
#chartitle {
  font-family: 'Cinzel', serif; font-size: 24px; letter-spacing: 10px; text-align: center;
  color: #d9b75c; margin-bottom: 6px;
}
#chartitle::after {
  content: ''; display: block; margin: 10px auto 0; width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, #8c6a1d, transparent);
}
#chartabs {
  display: flex; justify-content: center; gap: 8px; margin-top: 14px;
}
.chartab {
  cursor: pointer; min-width: 132px;
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px;
  color: #8d8270; background: rgba(10, 8, 6, 0.45);
  border: 1px solid #4a4136; padding: 7px 14px;
  transition: all 0.2s;
}
.chartab:hover, .chartab.active {
  color: #d9b75c; border-color: #8c6a1d; background: rgba(217, 183, 92, 0.08);
}
.charpage { display: none; }
.charpage.active { display: flex; }
#charcols { gap: 34px; margin-top: 18px; }
#charcols.charpage.active { display: flex; }
#charstats { flex: 1; }
#cs-name { font-family: 'Cinzel', serif; font-size: 21px; color: #e8ddc4; }
#cs-sub { font-style: italic; color: #8d8270; font-size: 14px; margin: 2px 0 16px; }
.statline {
  display: flex; justify-content: space-between;
  font-size: 16px; padding: 5px 2px;
  border-bottom: 1px solid rgba(107, 93, 63, 0.25);
  color: #b3a890;
}
.statline b { color: #e8ddc4; font-weight: 600; }
#charequip { width: 300px; }
#equiptitle {
  font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 4px;
  color: #cdb878; text-align: center; margin-bottom: 12px;
}
#equipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.equipslot {
  border: 1px solid #4a4136; background: rgba(10, 8, 6, 0.7);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.7);
  padding: 8px 10px; min-height: 52px;
  display: flex; align-items: center; gap: 10px;
}
.equipslot .eicon {
  width: 30px; height: 30px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.equipslot.filled { border-color: #6b5d3f; }
.equipslot .ename { font-size: 13.5px; color: #e8ddc4; line-height: 1.25; }
.equipslot .eslot { font-size: 11px; color: #776c58; letter-spacing: 1px; text-transform: uppercase; }
.equipslot.empty .ename { color: #5c5343; font-style: italic; }
#inventorypage {
  flex-direction: column; align-items: center; justify-content: center;
  min-height: 314px; margin-top: 18px;
}
#inventorytitle {
  display: none;
}
#inventorygrid {
  display: grid; grid-template-columns: repeat(8, 52px); gap: 8px;
}
.inventoryslot {
  position: relative; width: 52px; height: 52px;
  border: 1px solid #4a4136; background: rgba(10, 8, 6, 0.72);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.72), 0 0 0 1px rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
}
.inventoryslot:nth-child(-n+8)::after {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(205, 184, 120, 0.28);
  pointer-events: none;
}
.inventoryslot.filled { border-color: #6b5d3f; }
.inventoryslot.selected {
  border-color: #d9b75c; background: rgba(217,183,92,0.12);
  box-shadow: inset 0 0 14px rgba(217,183,92,0.14), 0 0 10px rgba(217,183,92,0.28);
}
.inventoryslot.empty { opacity: 0.58; }
.inventoryslot .icon { width: 26px; height: 26px; }
.inventoryslot .iqty {
  position: absolute; right: 4px; bottom: 3px;
  font-family: 'Cinzel', serif; font-size: 11px; color: #e8ddc4;
  text-shadow: 0 1px 2px #000;
}
.inventoryslot .iindex {
  position: absolute; left: 4px; top: 2px;
  font-size: 10px; color: #5c5343;
}
#charbtns { display: flex; gap: 14px; justify-content: center; margin-top: 24px; }
#charbtns button {
  cursor: pointer; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 2px;
  color: #d9b75c; background: transparent; border: 1px solid #8c6a1d; padding: 10px 26px;
  transition: all 0.2s;
}
#charbtns button:hover { background: rgba(217, 183, 92, 0.12); box-shadow: 0 0 14px rgba(217, 183, 92, 0.25); }
#btn-mainmenu { color: #b3645a; border-color: #7d4039; }
#btn-mainmenu:hover { background: rgba(179, 100, 90, 0.12); box-shadow: 0 0 14px rgba(179, 100, 90, 0.25); }
#charfooter {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin-top: 12px; font-size: 12px; color: #6e6557;
}

/* language switch */
.langswitch { display: flex; gap: 4px; }

/* settings */
#btn-settings {
  position: absolute; top: 24px; right: 28px; cursor: pointer;
  font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 2px;
  color: #8d8270; background: transparent; border: 1px solid #4a4136; padding: 7px 18px;
  transition: all 0.2s;
}
#btn-settings:hover { color: #d9b75c; border-color: #8c6a1d; box-shadow: 0 0 12px rgba(217, 183, 92, 0.2); }
#settings {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 3, 2, 0.7); backdrop-filter: blur(2px);
}
#settingspanel {
  width: 380px; max-width: 90vw; text-align: center;
  background: linear-gradient(180deg, #15120e, #0c0a07);
  border: 1px solid #6b5d3f;
  box-shadow: 0 0 0 1px #000, 0 0 50px rgba(0,0,0,0.9);
  padding: 24px 30px;
}
#settingstitle {
  font-family: 'Cinzel', serif; font-size: 19px; letter-spacing: 6px; color: #d9b75c;
  margin-bottom: 20px;
}
.setrow {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; color: #b3a890; padding: 8px 2px;
  border-bottom: 1px solid rgba(107, 93, 63, 0.25);
  margin-bottom: 12px;
}
#inventoryactions { display: flex; gap: 10px; margin-top: 16px; }
#inventoryactions.hidden, #iteminspect.hidden { display: none; }
#inventoryactions button {
  min-width: 128px; padding: 8px 15px; cursor: pointer; color: #cdb878;
  background: rgba(10,8,6,0.72); border: 1px solid #6b5d3f;
  font-family: 'Cinzel', serif; letter-spacing: 1.5px;
}
#inventoryactions button:hover { color: #f0d98d; border-color: #d9b75c; }
#inventoryactions b {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  margin-right: 8px; border: 1px solid #8c6a1d; color: #e8ddc4; background: #17120c;
}
#iteminspect {
  width: 438px; box-sizing: border-box; margin-top: 12px; padding: 13px 16px;
  border: 1px solid #6b5d3f; background: rgba(8,6,4,0.88);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.7);
}
#iteminspect-name { color: #d9b75c; font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 1.5px; }
#iteminspect-description { color: #aaa08d; font-style: italic; font-size: 14px; line-height: 1.45; margin-top: 6px; }
.setting-slider {
  display: grid;
  grid-template-columns: 1fr 132px 44px;
  gap: 12px;
  text-align: left;
}
.setting-slider input {
  width: 132px;
  accent-color: #d9b75c;
}
.setting-slider output {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #d9b75c;
  text-align: right;
  min-width: 44px;
}
#settingspanel .setting-slider:last-of-type { margin-bottom: 22px; }
}
#btn-closesettings {
  cursor: pointer; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 2px;
  color: #d9b75c; background: transparent; border: 1px solid #8c6a1d; padding: 9px 28px;
  transition: all 0.2s;
}
#btn-closesettings:hover { background: rgba(217, 183, 92, 0.12); }
.langbtn {
  cursor: pointer; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 1px;
  color: #8d8270; background: transparent; border: 1px solid #4a4136; padding: 4px 10px;
  transition: all 0.2s;
}
.langbtn:hover { color: #cdb878; border-color: #6b5d3f; }
.langbtn.active { color: #d9b75c; border-color: #8c6a1d; background: rgba(217, 183, 92, 0.08); }

/* ---------------- login ---------------- */
#login {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(120, 90, 30, 0.25), transparent 55%),
    radial-gradient(ellipse at center, #161310, #060504 85%);
}
#logintitle {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 58px; letter-spacing: 18px;
  color: #d9b75c; text-shadow: 0 0 40px rgba(217, 183, 92, 0.35);
}
#loginsub {
  font-size: 17px; font-style: italic; color: #8d8270; margin: 10px 0 48px; letter-spacing: 3px;
}
#name {
  width: 300px; text-align: center;
  background: rgba(10,8,6,0.85); border: 1px solid #6b5d3f; color: #e8ddc4;
  font-family: 'EB Garamond', serif; font-size: 19px; padding: 10px; outline: none;
}
#join {
  margin-top: 18px; cursor: pointer;
  font-family: 'Cinzel', serif; font-size: 17px; letter-spacing: 4px;
  color: #d9b75c; background: transparent; border: 1px solid #8c6a1d; padding: 12px 36px;
  transition: all 0.25s;
}
#join:hover { background: rgba(217, 183, 92, 0.12); box-shadow: 0 0 18px rgba(217, 183, 92, 0.25); }
#loginhint { margin-top: 40px; font-size: 14px; color: #6e6557; font-style: italic; }
#boardlink {
  margin-top: 16px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 3px;
  color: #8d8270; text-decoration: none; border: 1px solid #4a4136; padding: 7px 18px;
  transition: all 0.2s;
}
#boardlink:hover { color: #d9b75c; border-color: #8c6a1d; box-shadow: 0 0 12px rgba(217, 183, 92, 0.2); }

/* damage flash */
#vignette.hurt {
  background: radial-gradient(ellipse at center, rgba(120, 10, 5, 0.12) 40%, rgba(120, 5, 0, 0.55) 100%);
}

/* ---------------- world map (M) ---------------- */
#mapscreen {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 3, 2, 0.72);
}
#mapscreen.hidden { display: none; }
#mappanel {
  background: linear-gradient(160deg, #d9c69a, #c9b384 55%, #b89f6e);
  border: 2px solid #5e4a28;
  outline: 1px solid #2a1f10;
  box-shadow: 0 0 0 6px rgba(20, 14, 6, 0.85), 0 0 80px rgba(0,0,0,0.9), inset 0 0 50px rgba(90, 62, 28, 0.45);
  padding: 14px 18px 12px;
}
#maptitle {
  font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: 6px; text-align: center;
  color: #4a3414; margin-bottom: 10px; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.4);
}
#mapcanvas {
  display: block; height: min(66vh, 600px); width: auto; max-width: 80vw;
  border: 1px solid #6b5430; box-shadow: inset 0 0 24px rgba(70, 48, 20, 0.5);
  image-rendering: auto;
}
#mapfooter {
  display: flex; justify-content: space-between; gap: 18px; margin-top: 9px;
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 14px; color: #5c4522;
}

/* ---------------- version badge ---------------- */
#version {
  position: fixed; right: 10px; bottom: 8px; z-index: 200;
  font-family: 'EB Garamond', serif; font-size: 13px; font-style: italic;
  color: #6e6557; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ---------------- auth: sign-in busy + access gate (FAN-56) ---------------- */
#join.busy { opacity: 0.6; cursor: progress; }
#join:disabled { pointer-events: none; }

#accessdenied {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(120, 90, 30, 0.18), transparent 55%),
    radial-gradient(ellipse at center, #161310, #060504 85%);
}
#accessdenied-panel {
  max-width: 520px; text-align: center; padding: 0 28px;
}
#accessdenied-title {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 30px; letter-spacing: 8px;
  color: #d9b75c; text-shadow: 0 0 30px rgba(217, 183, 92, 0.3); margin-bottom: 22px;
}
#accessdenied-msg { font-size: 18px; color: #ccc0a8; line-height: 1.5; }
#accessdenied-support {
  display: inline-block; margin-top: 16px;
  font-family: 'Cinzel', serif; font-size: 17px; letter-spacing: 1px;
  color: #d9b75c; text-decoration: none; border: 1px solid #8c6a1d; padding: 9px 22px;
  transition: all 0.2s;
}
#accessdenied-support:hover { background: rgba(217, 183, 92, 0.12); box-shadow: 0 0 16px rgba(217, 183, 92, 0.22); }

/* ---------------- ADMIN panel (FAN-56) ---------------- */
#adminbtn {
  position: absolute; top: 18px; right: 26px; z-index: 30; pointer-events: auto;
  cursor: pointer; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 3px;
  color: #7fd0ff; background: rgba(8, 14, 20, 0.7); border: 1px solid #2f6f99; padding: 7px 16px;
  transition: all 0.2s;
}
#adminbtn:hover { background: rgba(60, 130, 180, 0.2); box-shadow: 0 0 14px rgba(80, 160, 220, 0.3); }

#adminscreen {
  position: fixed; inset: 0; z-index: 130;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 3, 2, 0.78);
}
#adminpanel {
  width: min(720px, 92vw); max-height: 82vh; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #181410, #100c09 85%);
  border: 1px solid #6b5d3f; box-shadow: 0 0 0 4px rgba(20, 14, 6, 0.7), 0 0 70px rgba(0,0,0,0.85);
}
#adminhead {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #4a4136;
}
#admintitle { font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: 5px; color: #d9b75c; }
#admin-count-wrap { color: #8d8270; font-size: 15px; }
#adminhead-actions { margin-left: auto; display: flex; gap: 8px; }
#adminhead-actions button {
  cursor: pointer; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px;
  color: #cdb878; background: transparent; border: 1px solid #6b5d3f; padding: 7px 14px; transition: all 0.2s;
}
#adminhead-actions button:hover { background: rgba(217, 183, 92, 0.12); border-color: #8c6a1d; }
#adminlist { overflow-y: auto; padding: 8px 0; }
.admin-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(74, 65, 54, 0.5);
}
.admin-info { flex: 1; min-width: 0; }
.admin-name { font-size: 17px; color: #e8ddc4; }
.admin-email { font-size: 14px; color: #9a8f78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-seen { font-size: 12px; color: #6e6557; font-style: italic; margin-top: 2px; }
.admin-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.admin-badge {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 1px; padding: 3px 9px;
  border: 1px solid currentColor; border-radius: 3px; margin-right: 4px;
}
.admin-act {
  cursor: pointer; font-family: 'EB Garamond', serif; font-size: 13px;
  background: transparent; border: 1px solid currentColor; padding: 6px 11px; transition: all 0.15s;
}
.admin-act:hover:not(:disabled) { filter: brightness(1.3); }
.admin-act:disabled { cursor: default; opacity: 0.95; }
.admin-empty { padding: 30px; text-align: center; color: #8d8270; font-style: italic; }
