/* Calmera RPG guild profile: presentation only, 2026-10-22. */
html body #ContentColumn #guilds .OldstyllerGuildHero {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    margin: 0;
    padding: 16px;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__logo,
html body #ContentColumn #guilds .OldstyllerGuildHero__logo img {
    box-sizing: border-box;
    width: 82px;
    height: 82px;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__crest {
    display: none;
}
html body #ContentColumn #guilds .OldstyllerGuildHero h1 {
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__eyebrow {
    margin-bottom: 5px;
    letter-spacing: 2px;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__meta {
    gap: 6px;
    line-height: 1.5;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__meta span {
    padding: 4px 7px;
}
html body #ContentColumn #guilds .OldstyllerGuildHero__description {
    margin: 0;
    padding-top: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
/* Legacy BR separators add space on top of the component margins. */
html body #ContentColumn #guilds .OldstyllerGuildHero ~ br {
    display: none;
}
html body #ContentColumn #guilds .OldstyllerGuildMembers {
    width: 100%;
    margin: 16px 0 0;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildSectionHead td {
    padding: 11px 13px !important;
    vertical-align: middle;
}
html body #ContentColumn #guilds .OldstyllerGuildSectionHead span {
    padding-top: 3px;
    line-height: 1.4;
}
html body #ContentColumn #guilds .OldstyllerGuildTableHead td {
    padding: 8px 13px !important;
    font-size: 10px;
    letter-spacing: 0.6px;
}
html body #ContentColumn #guilds .OldstyllerGuildTableHead td:first-child {
    width: 24%;
}
html body #ContentColumn #guilds .OldstyllerGuildMemberRow > td:first-child {
    width: 24%;
    padding: 11px 13px !important;
    vertical-align: top !important;
    background: #e8d9b7 !important;
    border-right: 1px solid #cdb98e !important;
    overflow-wrap: anywhere;
}
html body #ContentColumn #guilds .OldstyllerGuildMemberRow > td:nth-child(2) {
    padding: 0 !important;
    vertical-align: top;
}
html body #ContentColumn #guilds .OldstyllerGuildMemberRow > td > table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer td {
    padding: 10px 13px !important;
    border-bottom: 1px solid #d8c7a3 !important;
    line-height: 1.45;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer:last-child td {
    border-bottom: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
    padding: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer a {
    overflow-wrap: anywhere;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer input[type='text'] {
    box-sizing: border-box;
    max-width: 100%;
}
html body #ContentColumn #guilds .OldstyllerGuildInvites tr:not(.OldstyllerGuildSectionHead) > td {
    padding: 11px 13px !important;
    line-height: 1.5;
}
/* Keep the legacy action forms and their original permissions intact. */
html body #ContentColumn #guilds .OldstyllerGuildActions {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    margin: 16px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody {
    display: block;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td {
    display: block;
    padding: 0 5px !important;
    vertical-align: middle;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td:first-child,
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td:last-child {
    display: none;
}
html body #ContentColumn #guilds .OldstyllerGuildActions form {
    margin: 0 !important;
}
@media (max-width: 600px) {
    html body #ContentColumn #guilds .OldstyllerGuildHero {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 12px;
        gap: 10px;
    }
    html body #ContentColumn #guilds .OldstyllerGuildHero__logo,
    html body #ContentColumn #guilds .OldstyllerGuildHero__logo img {
        width: 60px;
        height: 60px;
    }
    html body #ContentColumn #guilds .OldstyllerGuildHero h1 {
        font-size: 22px;
    }
    html body #ContentColumn #guilds .OldstyllerGuildSectionHead span {
        display: block;
        float: none;
        padding-top: 4px;
    }
    html body #ContentColumn #guilds .OldstyllerGuildPlayer td,
    html body #ContentColumn #guilds .OldstyllerGuildMemberRow > td:first-child {
        padding: 9px !important;
    }
}

/* Directory buttons: real submit controls, not a painted table-cell overlay. */
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    background: linear-gradient(#785a3d, #4d3628) !important;
    border: 1px solid #b79b68 !important;
    border-radius: 3px !important;
    color: #fff0ce !important;
    font: bold 11px/1 Georgia, serif !important;
    text-align: center;
    text-shadow: none !important;
    vertical-align: middle;
    cursor: pointer;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton:hover {
    filter: brightness(1.12);
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton:focus-visible {
    outline: 2px solid #795529;
    outline-offset: 2px;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory td > table {
    width: auto !important;
    margin: 0 0 0 auto !important;
    border: 0 !important;
    border-spacing: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory td > table td {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory form {
    margin: 0 !important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:last-child {
    width: 98px;
    vertical-align: middle;
    text-align: right;
}

/* Calmera Guilds: unified medieval action frame. The original forms remain unchanged. */
html body #ContentColumn #guilds .OldstyllerGuildActions {
  display:table!important; width:calc(100% - 16px)!important;
  margin:16px auto 4px!important; padding:9px 10px!important;
  box-sizing:border-box!important;
  background:linear-gradient(180deg,#e3d4af,#f1e6ca)!important;
  border:1px solid #b79b69!important;
  box-shadow:inset 0 0 0 2px #f9efd6,0 1px 2px #a08a60!important;
  border-radius:2px!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody {display:table-row-group!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr {
  display:flex!important; flex-wrap:wrap!important; justify-content:center!important;
  align-items:center!important; gap:8px!important; padding:0!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td {
  display:block!important; width:auto!important; padding:0!important; margin:0!important;
  background:transparent!important; border:0!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td:first-child,
html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr > td:last-child {display:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions table,
html body #ContentColumn #guilds .OldstyllerGuildActions tbody,
html body #ContentColumn #guilds .OldstyllerGuildActions tr,
html body #ContentColumn #guilds .OldstyllerGuildActions td {
  border:0!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions form {margin:0!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action,
html body #ContentColumn #guilds a.CalmeraGuildManageButton,
html body #ContentColumn #guilds .OldstyllerGuildPlayer input[type=submit] {
  box-sizing:border-box!important; display:inline-flex!important;
  align-items:center!important; justify-content:center!important;
  min-width:118px!important; min-height:32px!important;
  padding:7px 12px!important; margin:0!important;
  background:linear-gradient(180deg,#28516c 0%,#193b55 48%,#102b42 100%)!important;
  border:1px solid #a98b56!important; border-radius:3px!important;
  box-shadow:inset 0 1px 0 #55718a,0 1px 0 #fff0d2!important;
  color:#fff0ce!important; font:bold 11px/1.3 Verdana,Arial,sans-serif!important;
  text-decoration:none!important; text-shadow:0 1px 1px #081c2c!important;
  white-space:normal!important; text-align:center!important; cursor:pointer!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action:hover,
html body #ContentColumn #guilds a.CalmeraGuildManageButton:hover,
html body #ContentColumn #guilds .OldstyllerGuildPlayer input[type=submit]:hover {
  background:linear-gradient(#386781,#1c415d)!important;
}
html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action:focus-visible,
html body #ContentColumn #guilds a.CalmeraGuildManageButton:focus-visible {
  outline:2px solid #b28740!important; outline-offset:2px!important;
}
html body #ContentColumn #guilds .CalmeraGuildManageWrap {
  display:flex!important; justify-content:center!important; align-items:center!important;
  margin:12px 8px 4px!important; padding:9px!important;
  background:linear-gradient(#e3d4af,#f1e6ca)!important;
  border:1px solid #b79b69!important; box-shadow:inset 0 0 0 2px #f9efd6!important;
}
html body #ContentColumn #guilds .OldstyllerGuildPlayer input[type=text] {
  max-width:160px!important; min-height:25px!important; box-sizing:border-box!important;
  margin:3px 5px!important;
}
@media(max-width:650px) {
  html body #ContentColumn #guilds .OldstyllerGuildActions {width:100%!important;padding:8px 5px!important;}
  html body #ContentColumn #guilds .OldstyllerGuildActions > tbody > tr {gap:6px!important;}
  html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action {min-width:105px!important;}
}

/* Calmera Guild directory: match the framed navy/gold guild actions.
   Scoped to guild directory and its own create/login controls only. */
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton,
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldStyller-submit,
html body #ContentColumn #guilds .OldstyllerGuildCreate button.OldStyller-submit,
html body #ContentColumn #guilds .OldstyllerGuildDirectory ~ table button.OldStyller-submit {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;min-width:112px!important;width:auto!important;
  max-width:none!important;height:33px!important;min-height:33px!important;
  padding:7px 16px!important;margin:0!important;
  background:linear-gradient(180deg,#28516c 0%,#193b55 48%,#102b42 100%)!important;
  border:1px solid #a98b56!important;border-radius:3px!important;
  box-shadow:inset 0 1px 0 #55718a,0 1px 0 #fff0d2!important;
  color:#fff0ce!important;font:bold 11px/1.3 Verdana,Arial,sans-serif!important;
  text-decoration:none!important;text-shadow:0 1px 1px #081c2c!important;
  white-space:nowrap!important;cursor:pointer!important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton:hover,
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldStyller-submit:hover,
html body #ContentColumn #guilds .OldstyllerGuildCreate button.OldStyller-submit:hover,
html body #ContentColumn #guilds .OldstyllerGuildDirectory ~ table button.OldStyller-submit:hover {
  background:linear-gradient(#386781,#1c415d)!important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button:focus-visible,
html body #ContentColumn #guilds .OldstyllerGuildCreate button:focus-visible,
html body #ContentColumn #guilds .OldstyllerGuildDirectory ~ table button:focus-visible {
  outline:2px solid #b28740!important;outline-offset:2px!important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:last-child {
  width:136px!important;text-align:center!important;vertical-align:middle!important;
}
html body #ContentColumn #guilds .OldstyllerGuildDirectory td > table {
  margin:0 auto!important;
}
html body #ContentColumn #guilds .OldstyllerGuildCreate {
  margin:12px 0 4px!important;padding:10px!important;text-align:center!important;
  background:linear-gradient(#e3d4af,#f1e6ca)!important;
  border:1px solid #b79b69!important;
  box-shadow:inset 0 0 0 2px #f9efd6!important;
}

/* Calmera: stable directory columns and readable guild profiles. */
html body #ContentColumn #guilds table.OldstyllerGuildDirectory {width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr > td {padding:10px 8px!important;vertical-align:middle!important;box-sizing:border-box!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:first-child {width:88px!important;min-width:88px!important;text-align:center!important;white-space:nowrap!important;overflow-wrap:normal!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:nth-child(2) {width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.55!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:nth-child(2) > td {background:#e1d2ad!important;color:#654719!important;border-bottom:1px solid #b79b69!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr > td:first-child > img {display:block!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:none!important;object-fit:contain!important;margin:auto!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory td > table {width:auto!important;table-layout:auto!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero {display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__main {min-width:0!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__logo img {display:block!important;object-fit:contain!important;max-width:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__description {grid-column:1/-1!important;white-space:normal!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__meta {display:flex!important;flex-wrap:wrap!important;}
@media(max-width:600px){html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:first-child {width:64px!important;min-width:64px!important;}html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr > td:first-child > img {width:48px!important;height:48px!important;min-width:48px!important;}html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td:last-child {width:90px!important;}html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldStyller-submit,html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton {min-width:0!important;padding:5px!important;white-space:normal!important;}html body #ContentColumn #guilds .OldstyllerGuildHero {grid-template-columns:60px minmax(0,1fr)!important;}}

/* Calmera profile finish */
html body #ContentColumn #guilds .OldstyllerGuildHero h1{font:bold 28px/1.2 Georgia,serif!important;color:#654719!important;text-shadow:none!important;filter:none!important;-webkit-text-fill-color:#654719!important;margin:0 0 8px!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__logo{border:1px solid #b99a50!important;background:#e3d4af!important;padding:3px!important;box-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero__logo img{width:100%!important;height:100%!important;border:0!important;box-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildHero{margin:0!important;align-items:center!important;gap:12px!important;padding:14px!important;}
html body #ContentColumn #guilds .OldstyllerGuildSectionHead > td{background:linear-gradient(#55575a,#292b2e)!important;color:#ffe4a5!important;border:1px solid #b99a50!important;text-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildSectionHead > td b, html body #ContentColumn #guilds .OldstyllerGuildSectionHead > td span{color:#ffe4a5!important;-webkit-text-fill-color:#ffe4a5!important;text-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildMembers{width:100%!important;margin:0!important;border-collapse:collapse!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions{width:100%!important;margin:14px 0 0!important;box-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action{width:118px!important;max-width:100%!important;height:32px!important;background:linear-gradient(#34546c,#192f43)!important;text-shadow:none!important;}
html body #ContentColumn #guilds .OldstyllerGuildActions button.calmera-guild-action:hover{background:linear-gradient(#456782,#23445e)!important;}
/* Calmera directory finish: independent of profile and management screens. */
html body #ContentColumn #guilds .CalmeraGuildDirectoryIntro{padding:10px 12px;margin:0 0 12px;border:1px solid #b99a50;background:#e9dec1;}
html body #ContentColumn #guilds .CalmeraGuildDirectoryIntro strong{display:block;font:bold 21px Georgia,serif;color:#654719;margin-bottom:5px;}
html body #ContentColumn #guilds .CalmeraGuildDirectoryIntro span{display:block;color:#514633;font-size:12px;}
html body #ContentColumn #guilds table.OldstyllerGuildDirectory{border:1px solid #b99a50!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:first-child > td{background:linear-gradient(#55575a,#292b2e)!important;color:#ffe4a5!important;border:1px solid #b99a50!important;padding:9px 12px!important;text-align:left!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:first-child > td b{color:#ffe4a5!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:not(:first-child) > td{width:auto!important;min-width:0!important;border-bottom:1px solid #c5ad7d!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:nth-child(n+3) > td{background:#f0e6ce!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:nth-child(2n+4) > td{background:#e8dbb9!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:nth-child(n+3):hover > td{background:#e0d0a9!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr > td:first-child > img{box-sizing:border-box!important;border:1px solid #b99a50!important;padding:2px!important;background:#d9c69d!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory > tbody > tr:nth-child(n+3) > td:nth-child(2) > b{font:bold 16px Georgia,serif!important;color:#654719!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton{min-width:0!important;width:100%!important;padding:6px 9px!important;background:linear-gradient(#34546c,#192f43)!important;}
html body #ContentColumn #guilds .OldstyllerGuildDirectory button.OldstyllerGuildViewButton:hover{background:linear-gradient(#456782,#23445e)!important;}
html body #ContentColumn #guilds .OldstyllerGuildCreate p{margin:6px 0 10px!important;}
html body #ContentColumn #guilds .OldstyllerGuildCreate strong{font:bold 16px Georgia,serif;color:#654719;}
