/* A Hefesto window (inner pages), its text tabs and its tables. */
.win { background: linear-gradient(#24201b, #1a1814); border: 1px solid var(--rim); box-shadow: inset 0 0 0 1px #0d0b09, inset 0 0 0 2px var(--rim-dark), 0 8px 28px #000b; }
.win-head { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid var(--rim-dark); background: linear-gradient(#302a24, #201c18); }
.win-head h3 { margin: 0; font: 700 17px/1 var(--body); color: #e9d7a6; }
.win-body { padding: 14px 16px 16px; }

.tabs { display: flex; gap: 2px; flex-wrap: wrap; padding: 0 8px; border-bottom: 1px solid var(--rim-dark); }
.tab { position: relative; padding: 12px 12px 11px; border: 0; background: none; color: #cbbd9f; font: 700 16px/1 var(--body); cursor: pointer; }
.tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--gold-hi); opacity: 0; }
.tab:hover, .tab[aria-selected="true"] { color: var(--gold-hi); }
.tab[aria-selected="true"]::after { opacity: 1; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th { text-align: left; font: 700 13px/1 var(--body); color: var(--gold); padding: 8px 10px; border-bottom: 1px solid var(--rim-dark); }
td { padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:nth-child(odd) td { background: #ffffff05; }
.right { text-align: right; }
.name { color: #f3e7cb; font-weight: 600; }
.clan { color: var(--clan); }
/* A class mark (the ranking window's 17 px pictures) before a class or character name. */
.cls, .who { display: inline-flex; align-items: center; gap: 7px; }
.cls img, .who img { width: 17px; height: 17px; image-rendering: pixelated; border: 1px solid #5b4b30; }
.who small { color: var(--clan); font-size: 13px; }

.field { height: 36px; padding: 0 10px; border: 1px solid var(--rim-dark); background: #13110e; color: var(--text); font: 15px var(--body); min-width: 0; }
