Difference between revisions of "MediaWiki:Timeless.css"

From Medivia Online Wiki
Line 1,485: Line 1,485:
     height: 100%;
     height: 100%;
}
}
table.mainpage1 table.wikitable td {
    vertical-align: top;
}






/* </syntaxhighlight> */
/* </syntaxhighlight> */

Revision as of 10:52, 12 January 2026

/* CSS placed here will affect users of the Timeless skin */
/* <syntaxhighlight lang=css> */
/* CSS placed here will affect users of the Timeless skin */
@import url(https://fonts.googleapis.com/css?family=Merriweather);
html {	
	height: 100%;
	font-size: 1.1em;
	filter: brightness(100%) contrast(100%) grayscale(0%) !important;
	-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
	overflow-x: hidden;
        scroll-behavior: smooth;
}
body {
	margin: 0;
	color: #ECECEC;
	font-family: 'Merriweather', serif;
        font-size: 0.9em;
        line-height: 1.35;
}

.toccolours {
background:#222222 !important;
}


@media screen {
body {
    background-image: url("https://medivia.online/images/bg.jpg") !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center top !important;
    background-size: cover !important;
}
}

#mw-content-block{
        max-width: 1675px;
}

#mw-content-wrapper{
	background-color: rgba(51, 51, 51, 0) !important;
}
#site-navigation{
	background-color: rgba(51, 51, 51, 0.9) !important;
}

.sidebar-inner{
	background-color: rgba(51, 51, 51, 0) !important;
}

#site-tools{
	background-color: rgba(51, 51, 51, 0.9) !important;
}
#page-tools{
	background-color: rgba(51, 51, 51, 0.9) !important;
}
#mw-content{
	background-color: rgba(51, 51, 51, 0.9) !important;
}
#catlinks-sidebar{
	background-color: rgba(51, 51, 51, 0.9) !important;
}

#spritepack-sidebar{
	background-color: rgba(51, 51, 51, 0.9) !important;
}

#navigation-sidebar{
	background-color: rgba(51, 51, 51, 0.9) !important;
}

#kofi-sidebar{
	background-color: rgba(51, 51, 51, 0.9) !important;
}

a {
	color: #9bd7e9;
}

a:hover, a:visited {
	color: #84b8ca;
}

h1 {
	color: white;
	text-shadow: 1px 1px 1px #000;
	font-size: 40px !important;
}
h1, h2, h3, h4 {
	color: #ECECEC;
	font-family: 'Merriweather', serif;
}
#personal .dropdown b {
	font-weight: normal;
}
b, strong {
	text-shadow: 1px 1px 1px #000;
}
#f-list {
	text-align: center;
	font-size: 14px;
}
div.editOptions {
	border: #222;
	background: #555;
}
#mw-header-nav-hack {
	border-top: solid 2px #333;
	background: #333;
}

.color-middle {
        background-color: #14866d;
}

.color-left {
        background-color: #14866d;
}

.color-right{
        background-color: #14866d;
}

.mw-body h1.firstHeading {
        border-bottom: solid 4px #14866d;
}

.tools-inline li.selected {
        border-bottom-color: #14866d;
}

#mw-site-navigation .sidebar-inner {
	background: #333;
	border: 0;
}
@media screen and (min-width: 851px) {
#p-logo-text a {
	position: fixed;
	right: 75vw;
        color: #ECECEC;
}

#p-logo-text a {
        color: #ECECEC;
}

}
@media screen and (max-width: 850px) {
#p-logo-text {
	margin-top: 0;
        color: #ECECEC
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#p-logo-text a.long {
	padding-left: 7px;
	float: left;
	font-size: 23px !important;
        color: #ECECEC
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-inner {
	background: #222 !important;
	border: solid #111;
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
	background: #222;
	border: solid #111;
}
}
#mw-site-navigation .sidebar-chunk {
	border: outset #222;
	background: #333;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
}
@media screen and (max-width: 851px) {
#mw-site-navigation .sidebar-chunk {
	padding: 0 15px 5px 20px;
}
}

#mw-site-navigation .sidebar-chunk h3 {
        border-bottom: solid 2px #14866d;
}

@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
	background: #222 !important;
	border: solid #111 !important;
}
}
@media screen and (max-width: 850px) {
.sidebar-inner {
    background-color: black !important;
    opacity: 0.94 !important;
    overflow: hidden;
}
}
.mw-parser-output a.external {
	color: #9bd7e9;
}
#searchInput {
	padding: 0.2em 4.5em 0.2em 2em !important;
	margin: 0;
}
#searchInput-container {
	background: #333;
	height: 35px;
}
#simpleSearch {
	border: inset 1px #000;
	border-radius: 3px;
	background: #333;
	height: 35px;
	width: 48vw;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	top: 7px;
}
#user-tools {
	position: fixed;
	right: 86px;
}
@media screen and (min-width: 851px) {
#user-tools {
	left: 74vw;
	top: 5px;
}
}
.mw-notification {
	background: #222;
	border: #111;
	background: #111;
	border-radius: 5px;
	color: #999;
	width: 200px;
}
.postedit-container {
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	padding: 15px 0 15px 15px;
	text-align: right;
}
.postedit-icon {
	margin: auto;
	padding: 0;
}
.mw-wiki-logo {
	background-size: contain;
}
#mw-header-container {
	background: #555;
}
#mw-header {
	width: 100%;
	max-width: 100%;
	padding: 0;
	position: static;
}
@media screen and (max-width: 850px) {
#menus-cover {
    background: #000;
    opacity: 0 !important;
}
}
@media screen and (max-width: 850px) {
#personal h2 {
	display: none;
}
}
#mw-content-container {
    background-image: none !important;
    background: none !important;
}
@media screen and (max-width: 850px) {
#mw-content-block {
	background: #000;
}
}
@media screen and (max-width: 850px) {
#site-tools h2 {
	right: 3em;
	top: 0.9em;
	padding-bottom: 5px;
}
}
@media screen and (max-width: 850px) {
#p-logo-text a.long {
	width: 100%;
	top: 7px;
	text-align: center;
	font-size: 40px !important;
}
}
@media screen and (min-width: 851px) {
#p-logo-text {
	width: 29em;
}
}
@media screen and (min-width: 851px) {
#personal h2:after {
	width: 36px;
}
}
@media screen and (max-width: 850px) {
#p-logo-text {
	position: static;
	left: 0 !important;
	right: 0;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	top: 3.3em;
}
}
 @media only screen and (min-width: 992px) and (max-width:768px) {
 #p-logo-text {
 right:74vw;
}
}
@media only screen and (min-width: 900px) and (max-width:100px) {
#p-logo-text {
	right: 74vw;
	top: 3em;
}
}
@media screen and (max-width: 900px) and (min-width: 100px) {
#p-logo-text a.long {
	display: none;
}
}
@media screen and (max-width: 1700px) and (min-width: 800px) {
#p-logo-text {
	left: 12px !important;
}
}
@media screen and (max-width: 1700px) and (mix: 851px) {
#mw-site-navigation {
	background: #000;
}
}
#mw-content {
	background: #333;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
#mw-page-header-links li.selected a {
	color: #ECECEC;
}
#mw-related-navigation .sidebar-chunk {
	background: #333;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-chunk {
	background: #333;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
	padding: 0 15px 5px 20px;
}
}

@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-chunk {
	background: #333;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
	padding: 0 15px 5px 20px;
}
}

.color-middle-container, .ts-inner {
	padding: 0;
}
#p-logo-text {
	left: 120px;
}
#p-logo-text a.long {
	padding-top: 5px;
	padding-left: 6px;
	font-size: 30px;
	text-shadow: 4px 4px 4px #222;
}
#p-search {
	width: 70em;
	padding-right: 33px;
}
#personal .dropdown h3 {
	line-height: 25px;
}
#personal h2 {
	text-shadow: 2px 2px 0 #333;
	padding-top: 7px;
	font-size: 24px;
}
#personal .dropdown {
	background: #222!important;
	border: solid #000;
}
.codeEditor-status {
	color: #000;
}
.oo-ui-labelElement-label {
	text-shadow: 1px 2px #333;
}
#iframeframe {
	height: 700px;
}
#wpSave {
	text-shadow: 2px 2px 2px #000 !important
}
#mw-footer-container {
	background: #000;
	padding-top: 1em;
}
fieldset {
	background: #222!important;
	border: solid #111;
}
input {
	background: #333;
	border: solid 1px #111!important;
	border-radius: 2px;
	padding-left: 5px;
	color: #999;
}
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button {
	border: solid 1px #333!important;
	border-bottom: 0!important;
	text-shadow: 0 0 0 #000 !important;
	border-bottom: solid 1px #333!important;
}
.oo-ui-flaggedElement-destructive {
	background: #111;
	border: 1px solid #444;
	color: #ECECEC!important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}
.oo-ui-flaggedElement-destructive:hover {
	background: #222;
	color: #CC0000 !important;
}
#searchInput {
	border: 0!important;
}
@media screen and (max-width: 850px) {
#searchInput {
	padding: 0 0 0 6px !important;
}
}
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
	background-color: #333;
	color: #fff;
}
.oo-ui-textInputWidget > .oo-ui-labelElement-label {
	line-height: 0.5em;
}
#pagehistory li.selected {
	background-color: #555;
}
.warningbox {
	background: #1d1d16;
}
a.new:hover, .new a:hover, a.new:visited, .new a:visited {
	color: #FF3333;
}
.mw-plusminus-neg {
	color: #FF0000;
}
#searchButton, #mw-searchButton {
	border: 0 !important;
	left: 38vw;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}
#mw-footer-container a:hover {
	color: #ffff33;
}
#mw-footer-container a:visited {
	color: #ffff66;
}
#mw-footer .footer-places li {
	float: right;
	display: block;
}
#mw-footer ul, #mw-footer li {
	margin: 0 auto;
}
#mw-footer #lastmod {
	float: left;
	left: 25px;
}
.diff-addedline .diffchange {
	background: #1d1d16;
	padding-left: 7px;
}
.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
	text-shadow: 0 0 0 #000 !important;
}
.oo-ui-labelElement-label {
	text-shadow: 0 0 0 #000
}
.oo-ui-panelLayout-expanded {
	background: #222;
}
.oo-ui-messageDialog-message {
	color: #999;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: #999;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
	border-right: 1px solid #111
}
.oo-ui-dialog-content > .oo-ui-window-body {
	outline: 1px solid #111;
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
	outline: 1px solid #111;
}
.wikiEditor-ui .wikiEditor-ui-view {
	border: 1px solid #000;
}
.wikiEditor-ui .wikiEditor-ui-top {
	border-bottom: 1px solid #000;
}
textarea[style] {
	background: #272727 !important;
	color: #CECECE;
}
pre, .mw-code {
	background: #222;
	color: #B0B0B0;
	border: 1px solid #444;
}
.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
	background-color: #B0B0B0;
	border: 1px solid #333;
}

.mw-datatable > tr > td, .wikitable > tr > td, .mw-datatable > * > tr > td, .wikitable > * > tr > td {
        background: #303030;
}

.mw-datatable > tr > th, .wikitable > tr > th, .mw-datatable > tr > td, .wikitable > tr > td, .mw-datatable > * > tr > th, .wikitable > * > tr > th, .mw-datatable > * > tr > td, .wikitable > * > tr > td {
        border: 1px solid #111;
}

.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body .mw-search-profile-tabs, .mw-body fieldset#mw-searchoptions, .wikitable, .mw-datatable {
        color: #ECECEC;
}

.wikitable > tr > th, .wikitable > * > tr > th {
        background: #222;
}

#p-logo-text a {
	position: fixed;
	right: 75vw;
        color: #ECECEC;
}

ul#filetoc, .toc, .mw-warning {
        background: #222;
}

.tocnumber {
        color: #ECECEC;
}

.wikitable {
        width:100%;
        max-width: 100%;
        padding: 0px 0px 0px 0px;
}

.eqtable {
        width: 190px;
        height: 176px;
        max-width: 190px;
        max-height: 176px;
        position: relative;
        overflow: hidden;
        background-image: url("https://wiki.mediviastats.info/images/d/db/Inventory.png") !important;
}

.eqtable1 {
        width: 42px;
        max-width: 42px;
        padding-top: 9px;
}

eqtable1 td {
        height: 32px;
        width: 100%;
        max-height: 32px;
        padding-top: 5px;
}

.eqtable2 {
        width: 42px;
        max-width: 42px;
        padding-top: 23px;
}

eqtable2 td {
        height: 32px;
        width: 32px;
        max-width: 32px;
        max-height: 32px;
        padding-top: 5px;
}

.eqtable3 {
        width: 42px;
        max-width: 42px;
        padding-top: 25px;
}

eqtable3 td {
        height: 32px;
        width: 32px;
        max-width: 32px;
        max-height: 32px;
        padding-top: 5px;
}

img {
        max-width: 100%;
        height: auto;
}



table.transcripts {
        width: 100%;
        max-width: 1101px;
        text-align: left;
        border-collapse: collapse;
        border: 2px solid #4e4a44;
}

table.transcripts td {
        border: 1px solid #202327;
        padding: 2px 2px 2px 9px;
}

table.transcripts tr:nth-child(1) {
        height: 28px;
        border: 1px solid #202327;
        background-image: url("https://wiki.mediviastats.info/skins/Timeless/resources/images/default.png");
        padding: 2px 2px;
}

table.transcripts tr:nth-child(2) {
         font-family: Tahoma; 
        color: #ffff00; 
        text-shadow: #000 0px 0px 1pt, #000 0px 0px 1pt, #000 0px 0px 1pt, #000 0px 0px 1pt, #000 0px 0px 1pt, #000 0px 0px 1pt; 
        background-image: url("https://wiki.mediviastats.info/skins/Timeless/resources/images/srodek.png");
        white-space: pre-wrap;
}

table.transcripts tr:nth-child(3) {
        background-image: url("https://wiki.mediviastats.info/skins/Timeless/resources/images/foot.png");
        height: 27px;
}

#spritepack-sidebar {
        padding: 0em 0em;
}

#navigation-sidebar.sidebar-inner {
        padding: 0.25em 0em;
}

.mw-wiki-logo.fallback {
        width: 100%;
}

#mw-related-navigation .sidebar-chunk h3 {
        border-bottom: solid 2px #14866d;
}

#kofi-button {
       width:100%;
       height:auto;
}

@media screen and (max-width: 900px) {
#p-logo-text a.long {
        display: none;
}
}

@media screen and (max-width: 850px) {
    #mw-related-navigation {
        display: none;
    }
}

#ca-talk {
 display: none
}

.mw-collapsible-toggle-default:after {
    content: '] ';
    white-space: pre;
}

.mw-collapsible span.mw-collapsible-toggle {
    float: left;
}

.mw-pt-languages-label {
    background: #222;
}

.mw-pt-languages-list {
    background: #333;
}

.mw-pt-languages-selected {
    color: #84b8ca;
    text-decoration: underline;
}

.tux-editor-header {
    color: #ECECEC;
}

.group-warning {
    background: rgb(0 0 0 / 0%);
}

.ext-translate-language-selector .uls {
    color: #84b8ca;
}

.mainpage1 {
    border-spacing: collapse;
    width: 100%;
}

@media screen and (max-width: 900px) {
    .mainpage1 > tbody > tr > td {
        display: block;
        width: 100% !important;
        word-break: break-word;
        word-wrap: break-word !important;
    }

    .mainpage2 > tbody > tr > td {
        display: block;
        width: 100% !important;
        word-wrap: break-word !important;
    }
}

table.transcripts {
    white-space: pre;
}

p {
    display: block !important;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin: 0px !important;
    border: 0px !important;
    padding: 0px !important;
}



.mw-parser-output p > iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 770px;
}

/* Target any toggle span that starts with mw-customtoggle- */
span[class*="mw-customtoggle-"] {
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid #14866d;
  border-radius: 4px;
  background-color: #14866d;
  color: white;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

span[class*="mw-customtoggle-"]:hover {
  background-color: #14866d;
  color: white;
}

/* Whole card */
table.hunt-card {
  width: 100%;
  height: 160px;
  border-collapse: collapse;
  background: #1b1b1b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  color: #eee;
  table-layout: fixed;
  margin-bottom: 20px;   /* spacing between cards */
}

table.hunt-card td {
  padding: 0;
  border: none;
  vertical-align: middle;
}

.hunt-card .hunt-left {
  width: 60%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hunt-card .hunt-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(27,27,27,0.6));
}

/* Text overlay */
.hunt-card .hunt-header-text {
  position: absolute;
  z-index: 2;
  color: #fff;
  padding: 16px;
  width: calc(100% - 32px);
  /* OPTION A: vertically centered */
  top: 50%;
  transform: translateY(-50%);
  /* OPTION B: comment out above and use top-aligned instead */
  /* top: 16px; transform: none; */
}




.hunt-card .hunt-voc {
  font-size: 0.9em;
  color: #ffffff;
}

/* Right side stats */
.hunt-card .hunt-right {
  width: 40%;
  padding: 16px;
}

.hunt-card .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 100%;
  align-content: center;
}

.hunt-card .stat-box {
  position: relative;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px 8px 10px 8px;
  text-align: center;
}

.hunt-card .stat-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1b1b1b;
  padding: 0 6px;
  font-size: 0.75em;
  font-weight: bold;
  color: #9bd7e9;
  white-space: nowrap;
  z-index: 2;
}

.hunt-card .stat-value {
  font-size: 0.8em;
  font-weight: 600;
  color: #fff;
}
.hunt-card .hunt-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95; /* optional fade */
}

.hunt-card .hunt-img { position: absolute; inset: 0; overflow: hidden; }


.hunt-card .hunt-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* fade overlay */
.hunt-card .hunt-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,27,27,0) 45%, #1b1b1b 100%);
  /* adjust 70% → where fade starts */
  pointer-events: none; /* let clicks pass through */
}






















table.hunt-form {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  color: #eee;
}

table.hunt-form th {
  background: #1b1b1b;
  color: #9bd7e9;
  font-weight: 600;
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid #333;
}

table.hunt-form td {
  background: #111;
  padding: 8px 10px;
  text-align: center;
}

table.hunt-form input,
table.hunt-form select {
  width: 90%;
  background: #222;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 6px 8px;
  color: #fff;
}

table.hunt-form input:focus,
table.hunt-form select:focus {
  border-color: #14866d;
  outline: none;
  box-shadow: 0 0 4px #14866d;
}

#pfForm .createboxInput {
 border: 1px solid #000 !important;
}

#pfForm select {
 width: 90% !important;
}

.hunt-card .hunt-name {
  font-size: 1.2em;            /* bigger title */
  font-weight: 600;          /* heavier */
  margin-bottom: 6px;
  color: #ffffff;            /* plain white */
}

.hunt-card .hunt-name a {
  color: inherit;            /* stay white */
  text-decoration: none;     /* remove underline */
}

.loot-legendary {
    color: #ff2cff;
    text-shadow:
        0 0 3px #b400ff,
        0 0 6px #7d00cc;
    font-weight: bold;
    animation: legendaryShimmer 1.8s linear infinite;
}

@keyframes legendaryShimmer {
    0% {
        text-shadow:
            0 0 3px #7d00cc,
            0 0 6px #5e0099;
    }
    50% {
        text-shadow:
            0 0 5px #b400ff,
            0 0 10px #7d00cc;
    }
    100% {
        text-shadow:
            0 0 3px #7d00cc,
            0 0 6px #5e0099;
    }
}


/* Keep the same spacing rhythm as hunt-card */
.hz-card { margin-bottom: 10px; }

/* “Details” panel that feels like an extension of the card */
.hz-details{
  margin-top: -10px;                 /* pulls it visually closer to the card */
  margin-bottom: 20px;
  padding: 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  color: #eee;
}

/* Small title chip */
.hz-details-title{
  display: inline-block;
  margin: -6px 0 12px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1b1b1b;
  border: 1px solid #333;
  color: #9bd7e9;
  font-weight: 700;
  font-size: 0.85em;
}

/* Rows that mimic your stat-box style but full width */
.hz-details-grid{
  display: grid;
  gap: 10px;
}

.hz-row{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  border-radius: 10px;
}

.hz-key{
  font-weight: 800;
  color: #9bd7e9;
  align-self: start;
  margin-top: auto;
  margin-bottom: auto;
}

.hz-val{
  color: #fff;
  opacity: 0.95;
  line-height: 1.45;
}

/* Notes can be slightly “softer” */
.hz-row.hz-notes{
  background: #1c1c1c;
}

/* Premium pill (uses same “chip” feel) */
.hz-pill{
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #444;
  background: rgba(27,27,27,0.9);
  font-size: 0.78em;
  font-weight: 700;
}
.hz-premium{
  color: #ffd27a; /* optional accent; change to #9bd7e9 if you want */
}

/* Mobile */
@media (max-width: 650px){
  .hz-row{
    grid-template-columns: 1fr;
  }
  .hz-key{
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
  }
}

/* --- HuntingZone card fixes --- */

/* 2) If VocIcon produces UL/LI, kill bullets + force inline */
table.hunt-card.hz-card .hunt-voc ul{
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
}

table.hunt-card.hz-card .hunt-voc li{
  display: inline-block;
  margin-right: 10px;
}

/* 3) If VocIcon produces BRs, make them not explode the height */
table.hunt-card.hz-card .hunt-voc br{
  display: none;
}

/* 4) Optional: allow the left side to breathe if it still gets tall */
table.hunt-card.hz-card{
  height: 160px;        /* keep same height */
  /* if you prefer it to grow instead, use:
  height: auto;
  min-height: 160px;
  */
}

.comments-body {
    background: #333;
    border: outset #222;
    box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
    border-radius: 3px;
    padding: 10px;
    color: #ECECEC;
    margin-top: 12px;
}

/* Top controls (order + refresher) */
.comments-body .c-order {
    background: #222;
    border: 1px solid #111;
    border-radius: 3px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
.comments-body .c-order select {
    background: #333;
    border: 1px solid #111;
    border-radius: 2px;
    color: #999;
    padding: 3px 6px;
}
.comments-body .c-spy a {
    color: #9bd7e9;
}
.comments-body .c-spy a:hover {
    color: #84b8ca;
}

/* Remove avatars completely */
.comments-body .c-avatar {
    display: none !important;
}

/* Each comment item */
.comments-body .c-item {
    background: #303030;
    border: 1px solid #111;
    border-radius: 3px;
    padding: 10px 12px 10px 12px;
    margin: 10px 0;
    width: auto;
}

/* Container spacing (since avatar is hidden) */
.comments-body .c-container {
    margin-left: 0 !important;
    width: 100%;
}

/* User line */
.comments-body .c-user {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.comments-body .c-user a {
    color: #9bd7e9;
    text-decoration: none;
}
.comments-body .c-user a:hover {
    color: #84b8ca;
    text-decoration: underline;
}

/* Time */
.comments-body .c-time {
    color: #999;
    font-size: 0.9em;
}

/* Score + voting */
.comments-body .c-score {
    margin-left: auto;
    color: #B0B0B0;
    font-size: 0.9em;
}
.comments-body .c-score-title {
    color: #ECECEC;
}
.comments-body #CommentBtn2 a,
.comments-body a#comment-vote-link {
    text-decoration: none;
}
.comments-body .c-score img {
    vertical-align: middle;
    filter: brightness(0.9) contrast(1.05);
}

/* Comment text */
.comments-body .c-comment {
    background: #222;
    border: 1px solid #444;
    border-radius: 3px;
    padding: 8px 10px;
    color: #CECECE;
    margin: 6px 0 8px 0;
    width: auto;
}

/* Actions (permalink / reply) */
.comments-body .c-actions {
    color: #B0B0B0;
    font-size: 0.9em;
}
.comments-body .c-actions a {
    color: #9bd7e9;
}
.comments-body .c-actions a:hover {
    color: #84b8ca;
}

/* Ignored message box */
.comments-body .c-ignored {
    background: #1d1d16;
    border: 1px solid #444;
    border-radius: 3px;
    padding: 10px 12px;
    color: #ECECEC;
    margin: 10px 0;
}
.comments-body .c-ignored-links a {
    color: #9bd7e9;
}
.comments-body .c-ignored-links a:hover {
    color: #84b8ca;
}

/* Add comment form */
.comments-body form[name="commentForm"] {
    background: #222;
    border: 1px solid #111;
    border-radius: 3px;
    padding: 10px 12px;
    margin-top: 12px;
}
.comments-body .c-form-title {
    color: #ECECEC;
    text-shadow: 1px 1px 1px #000;
    margin-bottom: 8px;
}

/* Textarea */
.comments-body textarea#comment {
    width: 100%;
    max-width: 100%;
    background: #272727 !important;
    color: #CECECE;
    border: 1px solid #111 !important;
    border-radius: 3px;
    padding: 8px 10px;
    box-sizing: border-box;
}

/* Buttons */
.comments-body .c-form-button input[type="button"],
.comments-body .c-form-button input[type="submit"] {
    background: #333;
    border: solid 1px #333 !important;
    border-bottom: solid 1px #333 !important;
    border-radius: 2px;
    color: #999;
    padding: 6px 10px;
    margin-right: 6px;
    cursor: pointer;
    text-shadow: 0 0 0 #000 !important;
}
.comments-body .c-form-button input[type="button"]:hover,
.comments-body .c-form-button input[type="submit"]:hover {
    background: #222;
    color: #ECECEC;
}

/* Preview */
.comments-body .comment-preview {
    background: #303030;
    border: 1px solid #111;
    border-radius: 3px;
    padding: 8px 10px;
    color: #ECECEC;
    margin: 10px 0;
}

/* Minor cleanup */
.comments-body .visualClear {
    clear: both;
}


/* Hunt card background image should always fill its container */
.hunt-card .hunt-img { position: absolute; inset: 0; overflow: hidden; }
.hunt-card .hunt-img a { position: absolute; inset: 0; display: block; }

/* Override Timeless/MediaWiki img rules that force height:auto !important */
.mw-body-content table.hunt-card a > img.hunt-bg,
.mw-body-content table.hunt-card .hunt-img img.hunt-bg {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}

#mw-content-container {
padding-bottom: 0 !important;
}

.ts-inner {
padding-bottom: 1em;
}

@media (max-width: 900px) {
  /* Grid container */
  table.wikitable.maincats { display:block; width:100%; border:0; background:transparent; }
  table.wikitable.maincats > tbody {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap:10px;
  }
  table.wikitable.maincats > tbody > tr { display: contents; }

  /* Hide header row visually, but keep it in DOM for labels */
  table.wikitable.maincats th { display:none; }

  /* Tile */
  table.wikitable.maincats td{
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    gap:6px;
    height:auto;                /* allow label */
    min-height: 120px;          /* nice tile size */
    padding:10px 8px;
    background:#303030;
    border:1px solid #111;
    border-radius:6px;
    overflow:hidden;
    text-align:center;
  }

  /* Image wrapper: fixed box to prevent "ultra zoom" */
  table.wikitable.maincats td a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
  }

  /* Force images to fit INSIDE a box (no crop, no zoom) */
  table.wikitable.maincats td img{
    width:auto !important;
    height:auto !important;
    max-width: 100% !important;
    max-height: 72px !important;   /* <-- change this to taste */
    object-fit: contain !important; /* IMPORTANT: contain, not cover */
    display:block;
  }

  /* Add the label under each tile from the matching header cell */
  table.wikitable.maincats > tbody > tr:nth-child(2) > td{
    position: relative;
  }

  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(1)::after { content: "Creatures"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(2)::after { content: "Items"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(3)::after { content: "Quests"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(4)::after { content: "Tasks"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(5)::after { content: "Factions"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(6)::after { content: "Vocations"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(7)::after { content: "Cities"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(8)::after { content: "Spells"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(9)::after { content: "Hunting Places"; }
  table.wikitable.maincats > tbody > tr:nth-child(2) > td:nth-child(10)::after { content: "Guides"; }

  /* Label styling */
  table.wikitable.maincats td::after{
    display:block;
    font-weight:bold;
    font-size:0.9em;
    color:#ECECEC;
    text-shadow: 1px 1px 1px #000;
    white-space: nowrap;
  }
}

/* Make inner tables stretch to equal height on main page */
table.mainpage1 > tbody > tr > td {
    vertical-align: top;
}

table.mainpage1 table.wikitable {
    height: 100%;
}

table.mainpage1 table.wikitable > tbody {
    height: 100%;
}

table.mainpage1 table.wikitable td {
    height: 100%;
}

table.mainpage1 table.wikitable td {
    vertical-align: top;
}




/* </syntaxhighlight> */