/* TopG — light theme in the style of the original site */
:root {
  --page: #e9e9e7; --band: #e2e2e2; --card: #ffffff; --row: #f3f3f3; --row-hi: #f2ecdb;
  --line: #dddddd; --text: #484848; --muted: #767676; --head: #2b2b2b;
  --orange: #ff9900; --orange-dark: #de8500; --green: #84ad6b; --green-dark: #6f9a56;
  --blue: #3fb0d9; --discord: #5865f2; --err: #c9302c; --err-bg: #f8dddc; --ok-bg: #e3f0da; --warn-bg: #fcf1d9;
  --tag: #dcdcdc; --tag-ver: #b6b3a5;
  --gold: #e3bb4c; --silver: #b8bcc2; --bronze: #cf9a6a; --top: #ece1be; --rank: #dcdcdc;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 14px/1.45 "open sans", Arial, Helvetica, sans-serif; text-shadow: 1px 1px 0 rgba(255,255,255,.5); }
a { color: var(--orange-dark); }
h1, h2, h3 { font-weight: 600; }
img { max-width: 100%; }


/* =====================================================================
   Look of the original TopG (values from the old new_style.css)
   ===================================================================== */
@font-face { font-family: "open sans"; src: url(/style/fonts/OpenSans-Regular.woff) format("woff"), url(/style/fonts/OpenSans-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "open sans"; src: url(/style/fonts/OpenSans-SemiBold.woff) format("woff"), url(/style/fonts/OpenSans-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "open sans"; src: url(/style/fonts/OpenSans-Bold.woff) format("woff"), url(/style/fonts/OpenSans-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: doppio; src: url(/style/fonts/doppio.woff) format("woff"), url(/style/fonts/doppio.ttf) format("truetype"); font-display: swap; }
html { background: #e9e9e7; }
.container { width: 1170px; max-width: 100%; margin: 0 auto; padding: 0 15px; }

/* header */
.navbar { background: #292929; border-bottom: 1px solid #000; }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 110px; gap: 16px; }
.topg { display: block; padding: 0; } .topg:hover { opacity: .8; }
.topg img { display: block; width: 207px; height: auto; }
.mynav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.navbar-form { position: relative; margin-right: 6px; }
.search-query { min-width: 225px; padding: 6px 34px 6px 14px; background: #333; color: #ddd; font-size: 12px; font-weight: 700; line-height: 20px;
  border: 1px solid #000; border-radius: 20px; box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); font-family: inherit; }
.search-query::placeholder { color: #fff; }
.search-query:focus { outline: none; border-color: #555; }
.search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.btn-top { display: inline-block; color: #fff; background: #de8500; padding: 8px 12px; border: 0; border-radius: 5px; font: inherit; font-size: 14px;
  text-decoration: none; text-shadow: 1px 1px 0 rgba(0,0,0,.5); cursor: pointer; white-space: nowrap; }
.btn-top:hover { opacity: .8; color: #fff; }
.btn-top.green { background: #84ad6b; } .btn-top.dark { background: #444; }
.nav-toggle { display: none; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; color: #ddd; padding: 8px 6px; font-size: 13px; text-shadow: none; display: flex; align-items: center; gap: 4px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: 100%; z-index: 70; background: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); padding: 4px 0; min-width: 150px; }
.lang-list a { display: flex; align-items: center; gap: 6px; padding: 6px 14px; color: #333; text-decoration: none; }
.lang-list a:hover, .lang-list a.on { background: #f3f3f3; color: #de8500; }

/* grey title band */
.pheader { min-height: 150px; margin-bottom: 15px; background: url(/style/images/title_grad.png) repeat-x center bottom transparent; display: flex; align-items: center; }
.ptitle { padding-top: 18px; padding-bottom: 18px; }
.ptitle h1 { margin: 0 0 10px; font-size: 36px; font-weight: 700; color: #767676; line-height: 1.15; }
.ptitle p { margin: 0; max-width: 1100px; font-size: 16px; color: #767676; }
.main { padding-bottom: 2em; min-height: 500px; }
h2.title { font-size: 30px; font-weight: 600; color: #767676; margin: 18px 0 10px; }

/* breadcrumb with orange arrows */
.breadcrumb { display: inline-block; padding: 0; margin: 0 0 10px; overflow: hidden; list-style: none; }
.breadcrumb li { float: left; padding: 8px 15px 8px 40px; background: #ff9900; font-size: 14px; font-weight: bold; color: #fff; position: relative; }
.breadcrumb li:first-child { background: #fcb040; padding-left: 28px; }
.breadcrumb li:last-child { background: #FC8B40; margin-right: 18px; }
.breadcrumb li:after { content: ""; display: block; border-left: 19px solid #ff9900; border-top: 18px solid transparent; border-bottom: 18px solid transparent; position: absolute; top: 0; right: -18px; z-index: 1; }
.breadcrumb li:first-child:after { border-left-color: #fcb040; }
.breadcrumb li:last-child:after { border-left-color: #FC8B40; }
.breadcrumb li a { font-size: 14px; font-weight: normal; color: #fff; text-decoration: none; text-shadow: 1px 1px 0 rgba(0,0,0,.7); }
.breadcrumb li a b { font-weight: 700; }
.breadcrumb li:hover { filter: brightness(1.06); }

/* server list */
.topg-server-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 2px; width: 100%; }
.topg-server, .topg-featured { display: grid; align-items: center; background: #ebebea; padding: 0 10px; border-bottom: 1px solid rgba(0,0,0,.05); border-radius: 10px;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.3), inset -1px 0 0 rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); max-width: 100%; }
.topg-server { grid-template-columns: 90px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 20px 0 20px 7px; }
.topg-featured { grid-template-columns: 90px minmax(0, 2fr) minmax(0, 2fr); gap: 8px; }
.topg-server.premium { background: linear-gradient(to bottom right, #edebdf 0, #efeee2 50%, #edebdf 100%); }
.topg-server.premium .rank-holder { background-color: #ece1be; }
.topg-col-rank { text-align: center; }
.rank-holder { width: 85%; min-height: 90px; height: 100%; background: #dcdcd8; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.rank-holder-feat { width: 85%; height: 70px; background: #e7e7e7; margin: 10px auto; display: flex; align-items: center; justify-content: center; }
.rank_big, .rank_small { font-family: doppio, Arial, Helvetica, sans-serif; font-size: 36px; color: #fcfcfc; text-shadow: 0 0 15px rgba(0,0,0,.23), 0 1px 2px rgba(0,0,0,.3); }
.rank_small { font-size: 22px; }
.topg-col-server { display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 468px; }
.topg-col-server a { text-decoration: none; }
.topg-server-name { font-size: 1.1rem; font-weight: 600; color: #3b3b3b; margin: 0 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topg-feat-name { font-size: 1rem; font-weight: 600; color: #3b3b3b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; display: block; margin-bottom: 6px; }
.b-responsive { display: block; width: 100%; max-width: 468px; height: auto; max-height: 60px; }
.topg-col-server .short { margin: 0; color: #767676; font-size: 13px; }
.copy-ip { display: block; width: 100%; padding: 10px 8px; background: #f3f3f3; border: 1px solid #ccc; border-radius: 3px; cursor: pointer; user-select: none;
  text-align: center; font-weight: bold; color: #3b3b3b; margin: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .2s; }
.copy-ip:hover { background: #ececec; } .copy-ip.copied { color: #5f9443; border-color: #84ad6b; }
.topg-col-about { display: flex; flex-wrap: wrap; gap: 4px; align-content: center; min-width: 0; }
.topg-col-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; color: #444; text-align: center; }
.topg-players { font-weight: 500; min-width: 100px; font-size: 16px; }
.topg-status { min-width: 100px; }
.feat-noimg { display: flex; align-items: center; justify-content: center; height: 60px; background: #dedede; color: #555; font-weight: 600; border-radius: 3px; }
.feat-free { background: #f2f2f0; border: 1px dashed #d9c79a; }
.feat-free-box { display: block; color: #666; font-size: 13px; padding: 6px 0; }
.feat-free-box b { color: #3b3b3b; font-size: 14px; }
.btn-feat { display: inline-block; background: #84ad6b; color: #fff; padding: 8px 14px; border-radius: 4px; text-decoration: none; text-shadow: 1px 1px 0 rgba(0,0,0,.3); }
.btn-feat:hover { opacity: .85; }

/* labels (tags) */
.label { display: inline-block; padding: 8px; font-size: .85rem; line-height: 1; font-weight: 400; color: #fff; border-radius: 3.4px; text-decoration: none; text-align: center;
  white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; text-shadow: none; }
.label:empty { display: none; }
.label-default { background-color: #dcdcdc; color: #484848; } a.label-default:hover { background-color: #c8c8c8; }
.label-primary { background-color: #b6b3a5; } a.label-primary:hover { background-color: #a29f90; }
.label-success { background-color: #84ad6b; } .label-danger { background-color: #c9302c; }
.label .flag { margin-right: 4px; vertical-align: -1px; }
.tag { display: inline-block; padding: 4px 8px; margin: 0 4px 4px 0; font-size: 12px; border-radius: 3px; background: #dcdcdc; color: #484848; text-decoration: none; }
.tag.ver { background: #b6b3a5; color: #fff; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 3.4px; color: #fff; font-size: 13px; min-width: 80px; text-align: center; }
.pill.on { background: #84ad6b; } .pill.off { background: #b9b9b9; }

/* pages */
.pagination { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 20px 0; }
.pagination li a, .pagination li span { display: block; padding: 6px 12px; background: #fff; border: 1px solid #ddd; margin-left: -1px; color: #de8500; text-decoration: none; }
.pagination li:first-child a { border-radius: 4px 0 0 4px; } .pagination li:last-child a { border-radius: 0 4px 4px 0; }
.pagination li.active a { background: #ff9900; border-color: #ff9900; color: #fff; }
.pagination li a:hover { background: #f5f5f5; }

/* filter index pages (/version/ /type/ /country/) */
.filter-box { background: #ebebea; border-radius: 10px; padding: 16px; }
.filter-search { width: 100%; padding: 11px 15px 10px; font: inherit; font-size: 14px; color: #555; background: #fdfdfd; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 12px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-cat { display: inline-block; padding: 7px 12px; background: #fff; border: 1px solid #ccc; border-radius: 4px; color: #333; text-decoration: none; font-size: 13px; }
.btn-cat:hover { border-color: #ff9900; color: #de8500; } .btn-cat small { color: #999; } .btn-cat .flag { margin-right: 5px; }

/* footer */
.footer-dark { padding: 50px 0; color: #f0f9ff; background-color: #292929; text-shadow: 1px 1px 0 rgba(0,0,0,.2); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; }
.footer-dark h3 { margin: 0 0 12px; font-weight: bold; font-size: 20px; }
.footer-dark ul { padding: 0; list-style: none; line-height: 2; font-size: 16px; margin: 0; }
.footer-dark ul a { color: #c1c1c1; text-decoration: none; text-shadow: 1px 1px black; } .footer-dark ul a:hover { opacity: .8; }
.footer-dark .item.text p { color: #c1c1c1; margin: 0; text-shadow: 1px 1px black; }
.footer-dark .foot-social { text-align: center; margin-top: 24px; }
.footer-dark .foot-social > a { font-size: 20px; width: 36px; height: 36px; line-height: 36px; display: inline-block; text-align: center; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4); margin: 0 8px; color: #fff; opacity: .75; }
.footer-dark .foot-social > a:hover { opacity: .9; }
.footer-dark .copyright { text-align: center; padding-top: 24px; opacity: .3; font-size: 13px; margin: 0; }

/* home */
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin: 0 0 10px; }
.quick a { background: linear-gradient(#3a3a3a, #1c1c1c); border: 1px solid #000; color: #fff; text-align: center; padding: 10px 6px; border-radius: 3px; text-decoration: none; font-size: 13px; text-shadow: 1px 1px 0 #000; }
.quick a:hover { color: #ff9900; }
.finder { display: flex; margin-bottom: 10px; background: #fff; border-radius: 3px; }
.finder input { flex: 1; padding: 11px 15px; border: 1px solid #fff; border-radius: 3px 0 0 3px; font: inherit; color: #555; min-width: 0; }
.finder input::placeholder { color: #ccc; }
.games-menu { position: relative; }
.games-menu summary { list-style: none; cursor: pointer; padding: 11px 12px; background: #f2f2f2; border-left: 1px solid #ddd; border-radius: 0 3px 3px 0; color: #333; white-space: nowrap; }
.games-menu summary::-webkit-details-marker { display: none; }
.games-list { position: absolute; right: 0; top: 100%; z-index: 40; width: 260px; max-height: 420px; overflow: auto; background: #fff; border: 1px solid #ccc; box-shadow: 0 6px 18px rgba(0,0,0,.2); border-radius: 4px; }
.games-list a { display: block; padding: 7px 14px; color: #333; text-decoration: none; } .games-list a:hover { background: #f3f3f3; color: #de8500; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cat-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #ebebea; border-radius: 6px; color: #3b3b3b; text-decoration: none; }
.cat-tile:hover { background: #fff; } .cat-tile strong { font-size: 15px; } .cat-tile span.muted { font-size: 12px; }
.home-box { background: #e3e3e1; border-radius: 6px; padding: 24px 20px; }
.cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 20px; }
.cta-card, .feature { background: #ebebea; border-radius: 6px; padding: 18px 16px; text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 8px rgba(0,0,0,.05); }
.cta-card h2 { font-size: 26px; font-weight: 400; color: #3b3b3b; margin: 12px 0 6px; } .cta-card p { color: #484848; margin: 0 0 14px; flex: 1; }
.cta-card .btn { width: 100%; }
.ico { width: 58px; height: 58px; border-radius: 50%; background: #3a3a3a; color: #ff9900; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; text-shadow: none; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature h3 { font-size: 20px; font-weight: 400; color: #3b3b3b; margin: 10px 0 4px; } .feature p { color: #555; font-size: 13px; margin: 0; }
.btn.white { background: #fff; color: #484848; border: 1px solid #ccc; text-shadow: none; }

/* phones */
@media (max-width: 991px) {
  .topg-server { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); }
  .topg-col-stats { grid-column: 2 / -1; justify-content: flex-start; }
  .sp { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; } .features { grid-template-columns: repeat(2, 1fr); } .quick { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .nav-in { flex-wrap: wrap; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .topg img { width: 130px; }
  .mynav { width: 100%; justify-content: flex-start; }
  .navbar-form { width: 100%; margin: 0 0 4px; } .search-query { width: 100%; min-width: 0; }
  .pheader { min-height: 0; } .ptitle h1 { font-size: 26px; } .ptitle p { font-size: 14px; }
  .topg-server-list { gap: 5px; }
  .topg-server, .topg-featured { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 5px; }
  .topg-col-about, .topg-col-stats { grid-column: 1 / -1; justify-content: center; }
  .rank-holder { min-height: 50px; } .rank_big { font-size: 24px; }
  .breadcrumb li { padding: 8px 12px 8px 24px; margin-bottom: 4px; }
  .foot-cols { grid-template-columns: 1fr; text-align: center; }
  .features { grid-template-columns: 1fr; } .quick { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
}

/* ---------- generic ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; margin-bottom: 16px; }
.card h1 { font-size: 22px; margin: 0 0 14px; } .card h2 { font-size: 18px; margin: 0 0 10px; }
.narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; background: var(--orange-dark); color: #fff; border: 0; border-radius: 4px; padding: 9px 16px; font: 600 14px/1.2 inherit; font-family: inherit; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn.full { width: 100%; margin-top: 14px; } .btn.small { padding: 6px 12px; font-size: 13px; }
.btn.secondary { background: #8c8c8c; } .btn.green { background: var(--green); } .btn.blue { background: var(--blue); } .btn.discord { background: var(--discord); }
button.link { background: none; border: 0; color: var(--orange-dark); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
form.inline { display: inline; }
label { display: block; margin: 12px 0 4px; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=file], select, textarea {
  width: 100%; padding: 9px 11px; border-radius: 4px; border: 1px solid #ccc; background: #fff; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
label.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.alert { padding: 10px 12px; border-radius: 4px; margin-bottom: 12px; border: 1px solid transparent; }
.alert.ok { background: var(--ok-bg); border-color: #c5dfb5; } .alert.err { background: var(--err-bg); border-color: #f0b8b6; color: #8a1f1c; } .alert.warn { background: var(--warn-bg); border-color: #f2d9a3; }
.help, .muted { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.field-err { color: var(--err); font-size: 13px; margin: 4px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 12px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
pre.code { background: #f6f6f6; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; white-space: pre-wrap; word-break: break-all; font-size: 13px; }
.debug { background: #f6f6f6; border: 1px solid var(--line); padding: 10px; border-radius: 4px; overflow: auto; font-size: 13px; }
.debug-table { border-collapse: collapse; margin: 8px 0 12px; } .debug-table td, .debug-table th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }

/* ---------- server page ---------- */
.sp { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.vote-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.vote-card .head { background: var(--green); color: #fff; font-size: 20px; font-weight: 600; text-align: center; padding: 10px; }
.vote-card .body { padding: 12px 14px 16px; }
.vote-card .btn.full { background: var(--green); font-size: 16px; padding: 11px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.info .r { display: grid; grid-template-columns: 105px 1fr; gap: 10px; padding: 9px 12px; border-top: 1px solid #ececec; align-items: center; }
.info .r:first-child { border-top: 0; }
.info .k { color: var(--muted); font-size: 13px; }
.info .ipbox { max-width: none; }
.info .btn { width: 100%; }
.sp .srv-img { display: block; margin: 0 auto 12px; max-width: 468px; width: 100%; height: auto; }
.description { line-height: 1.65; overflow-wrap: anywhere; }
.faq h3 { font-size: 14px; margin: 14px 0 2px; } .faq p { margin: 0; }
.crumbs-tabs { margin-bottom: 14px; }

/* ---------- dashboard bits ---------- */
fieldset.tags-pick { border: 1px solid var(--line); border-radius: 4px; margin: 12px 0 0; max-height: 220px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
fieldset.tags-pick label.check { margin: 2px 0; font-size: 13px; }
.my-server { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
ul.providers { list-style: none; padding: 0; margin: 12px 0 0; }
ul.providers li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
ul.providers li span:first-child { min-width: 90px; font-weight: 600; }
.social { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.social-btn { color: #fff; } .social-google { background: #fff; color: #1f1f1f; border: 1px solid #ccc; }
.social-discord { background: var(--discord); } .social-facebook { background: #1877f2; } .social-vk { background: #0077ff; } .social-reddit { background: #ff4500; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.cat-tile[hidden] { display: none; }
img.srv-img.broken { display: none; }
.alert.info { background: #eef5fc; border-color: #bcd6f0; }
.row-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.row-form input { flex: 1 1 200px; max-width: 320px; }
.add-card { max-width: 560px; margin: 0 auto; }
.add-card select, .add-card input { width: 100%; }
.btn.big { width: 100%; padding: 13px; font-size: 1.1em; margin-top: 16px; }
.added { max-width: 640px; margin: 0 auto; }
.added h1 { color: #3c8d1e; }
.ipbox.wide { width: 100%; text-align: left; word-break: break-all; }
.added-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
/* advertising */
video.srv-img { display: block; max-width: 100%; height: auto; background: #000; }
.tg-pinbox { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 468px; max-width: 100%; z-index: 50; background: #292929; color: #f0f9ff; box-shadow: 0 -2px 10px rgba(0,0,0,.3); }
.tg-pinbox .pin-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; font-size: 14px; }
.tg-pinbox .pin-head a { color: #f0f9ff; text-decoration: none; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-pinbox .x { background: none; border: 0; color: #aaa; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.tg-pinbox .pin-ip { display: block; width: 100%; background: #292929; color: #f0f9ff; border: 0; border-top: 1px solid #3a3a3a; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.tg-pinbox .pin-img { display: block; } .tg-pinbox .srv-img { display: block; width: 100%; height: auto; max-height: 60px; }
body:has(.tg-pinbox) { padding-bottom: 110px; }
.ad-types { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-card { flex: 1 1 150px; border: 1px solid var(--line); border-radius: 4px; padding: 9px 12px; cursor: pointer; font-weight: 600; margin: 0; }
.radio-card:has(input:checked) { border-color: var(--orange-dark); background: #fff6e8; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.card.center { text-align: center; }
.my-ad { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.my-ad:first-of-type { border-top: 0; }
[hidden] { display: none !important; }

.panel-search { width: 100%; margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.panel-none { margin: 4px 0; }
.filter-page .tabs .panel { position: static; margin-top: 10px; }

/* ---------- advertising page ---------- */
.adv-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #2b2b2b, #3d3326); color: #eee; border-radius: 8px; padding: 30px 34px; margin-bottom: 18px; }
.adv-hero h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.15; color: #fff; }
.adv-hero p { margin: 0 0 14px; color: #d6d6d6; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding: 3px 0 3px 26px; position: relative; }
.checks li::before { content: '\2713'; position: absolute; left: 0; color: #9fd47c; font-weight: 700; }
.btn.big-inline { padding: 13px 26px; font-size: 16px; margin-right: 14px; }
.hero-bal { display: inline-block; margin-top: 10px; color: #ccc; font-size: 14px; } .hero-bal a { color: #ffb84d; }
.art-win { background: #f1f1f1; border-radius: 8px; padding: 14px 14px 46px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.art-win .m-tabs { display: block; height: 12px; width: 70%; background: var(--orange); border-radius: 3px; margin-bottom: 12px; }
.art-row { height: 38px; background: #fff; border: 1px solid #e2e2e2; border-radius: 5px; margin-bottom: 8px; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 700; color: #555; }
.art-row.ad { background: #fff5e2; border-color: #f3a62a; color: #c77700; box-shadow: 0 0 0 3px rgba(243,166,42,.25); }
.art-row.gold { background: #f4efd8; border-color: #e3cf7d; color: #8b7300; }
.art-sticky { position: absolute; left: 22%; right: 22%; bottom: 0; height: 36px; background: #fff5e2; border: 2px solid #f3a62a; border-bottom: 0; border-radius: 6px 6px 0 0; box-shadow: 0 0 0 3px rgba(243,166,42,.25); color: #c77700; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ad-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.ad-product { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 14px 16px 16px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
a.ad-product:hover { border-color: var(--orange); transform: translateY(-2px); }
.ad-product.on { border-color: var(--orange-dark); box-shadow: 0 0 0 3px rgba(255,153,0,.18); }
.ad-product h2 { margin: 12px 0 6px; font-size: 18px; color: var(--head); display: flex; align-items: center; gap: 8px; }
.ad-product h2 .ico { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #2b2b2b; color: var(--orange); align-items: center; justify-content: center; font-size: 15px; }
.ad-product p { margin: 0 0 10px; font-size: 14px; flex: 1; }
.ad-product .from { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ad-product .from strong { color: var(--orange-dark); }
.ad-product .choose { align-self: flex-start; }
.ad-product.boost { background: linear-gradient(#fff, #f6f0ff); border-color: #d9c8f5; }
.mock { background: #f3f3f3; border-radius: 6px; padding: 8px; position: relative; height: 92px; overflow: hidden; }
.mock i { display: block; }
.mock .m-tabs { height: 6px; width: 60%; background: var(--orange); border-radius: 2px; margin-bottom: 6px; }
.mock .m-row { height: 14px; background: #fff; border: 1px solid #e0e0e0; border-radius: 3px; margin-bottom: 4px; padding: 3px 5px; }
.mock .m-row b { display: block; height: 6px; width: 45%; background: #d8d8d8; border-radius: 2px; }
.mock .m-row.hl { background: #fff1d6; border-color: #f3a62a; box-shadow: 0 0 0 2px rgba(243,166,42,.35); }
.mock .m-row.hl b { background: #f3a62a; }
.mock .m-row.gold { background: #f4efd8; border-color: #e3cf7d; } .mock .m-row.gold b { background: #d8bb45; }
.mock .m-sticky { position: absolute; left: 25%; right: 25%; bottom: 0; height: 18px; background: #fff1d6; border: 2px solid #f3a62a; border-bottom: 0; border-radius: 4px 4px 0 0; box-shadow: 0 0 0 2px rgba(243,166,42,.3); }
.mock-boost .m-row:first-of-type { background: #efe6ff; border-color: #a77bf0; box-shadow: 0 0 8px rgba(167,123,240,.6); }
.ad-order { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; scroll-margin-top: 10px; }
.ad-order h2 { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-size: 17px; }
.ad-order h2:first-of-type { margin-top: 0; }
.step { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-dark); color: #fff; align-items: center; justify-content: center; font-size: 14px; }
.ad-order select { width: 100%; }
.radio-card { display: flex; align-items: center; gap: 8px; }
.radio-card svg { color: var(--orange-dark); }
.day-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; font-weight: 600; background: #fff; }
.pill-opt input:checked + span { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.pill-opt input:focus-visible + span { outline: 2px solid var(--orange); }
.summary { position: sticky; top: 12px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-row.total { font-size: 20px; border-bottom: 0; } .sum-row.total strong { color: var(--orange-dark); }
.summary .btn { margin-top: 8px; }
.prices summary { cursor: pointer; font-weight: 700; color: var(--head); }
.prices table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.prices th, .prices td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.order-cta { padding: 28px; }
/* promote + boost */
.promo-box { margin-top: 14px; background: #fff; border: 2px solid var(--green); border-radius: 6px; padding: 14px 16px; }
.promo-box h3 { margin: 0 0 6px; } .promo-box p { margin: 0 0 10px; font-size: 14px; }
.promo-box .actions { margin: 12px 0 0; }
.boost-box { margin-top: 14px; background: linear-gradient(#fff, #f6f0ff); border: 1px solid #d9c8f5; border-radius: 6px; padding: 14px 16px; text-align: center; }
.boost-head { font-weight: 800; font-size: 17px; color: #6b3fc0; margin: 6px 0; }
.boost-box p { font-size: 14px; margin: 0 0 8px; }
.boost-perks { list-style: none; padding: 0; margin: 0 0 12px; text-align: left; font-size: 14px; }
.boost-perks li { padding: 3px 0; }
.boost-tag { display: inline-block; margin-top: 4px; padding: 3px 12px; border-radius: 14px; background: #6b3fc0; color: #fff; font-weight: 700; box-shadow: 0 0 10px rgba(140,90,240,.8); animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 0 4px rgba(140,90,240,.5); } to { box-shadow: 0 0 14px rgba(140,90,240,1); } }
.btn.boost { background: linear-gradient(90deg, #7b45d6, #b24fd1); }
.promo-added { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .adv-hero { grid-template-columns: 1fr; padding: 22px; } .adv-hero-art { display: none; } .ad-products { grid-template-columns: repeat(2, 1fr); } .ad-order { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .ad-products { grid-template-columns: 1fr; } .adv-hero h1 { font-size: 26px; } }

.detected { border-radius: 6px; padding: 10px 14px; margin: 4px 0 14px; }
.detected.ok { background: var(--ok-bg); border: 1px solid #c5dfb5; } .detected.off { background: var(--warn-bg); border: 1px solid #f2d9a3; }
.detected ul { margin: 6px 0; padding-left: 18px; }

.bumped { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; }
.bumped h3 { margin: 0 0 8px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.bumped-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.bumped-list a { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 4px; background: #f7f7f7; text-decoration: none; color: var(--text); min-width: 0; }
.bumped-list a:hover { background: #fff3e0; }
.bumped-list img { border-radius: 4px; flex: none; image-rendering: pixelated; }
.bumped-list span { min-width: 0; } .bumped-list strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bumped-list small { color: var(--muted); font-size: 11px; }
.small-note { font-size: 12px; }

/* server page: header, stats, boost window */
.sp-head { display: flex; gap: 14px; align-items: center; }
.sp-head h1 { margin: 0 0 6px; font-size: 24px; color: var(--head); word-break: break-word; }
.sicon { border-radius: 8px; image-rendering: pixelated; flex: none; background: #f2f2f2; }
.sp-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sp-sub .tag { margin: 0; }
.motd { margin: 8px 0 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: #2b2b2b; color: #e8e8e8; padding: 6px 10px; border-radius: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.tile { background: #f7f7f7; border-radius: 6px; padding: 10px; text-align: center; }
.tile b { display: block; font-size: 20px; color: var(--head); } .tile b small { font-size: 13px; color: var(--muted); }
.tile span { font-size: 12px; color: var(--muted); }
.stats h3 { font-size: 14px; color: var(--muted); margin: 16px 0 4px; }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--green); } .chart .bar:hover { fill: var(--orange-dark); }
.chart .line { fill: none; stroke: var(--orange-dark); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart .area { fill: rgba(255,153,0,.15); }
.chart text { font-size: 11px; fill: #888; }
.vote-card .btn.boost { margin-top: 10px; }
.boost-now { text-align: center; margin: 8px 0 0; font-size: 13px; }
.dlg { border: 0; border-radius: 10px; padding: 0; max-width: 380px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.dlg::backdrop { background: rgba(0,0,0,.55); }
.dlg .boost-box { margin: 0; border: 0; border-radius: 10px; padding: 22px 22px 18px; }
.dlg input { width: 100%; margin-bottom: 10px; }
.dlg-x { position: absolute; right: 10px; top: 6px; background: none; border: 0; font-size: 26px; color: #888; cursor: pointer; }
.dlg form { position: relative; }

.page-text { line-height: 1.65; } .page-text h2, .page-text h3 { color: var(--head); }
.faq-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--head); }
.faq-item div { padding: 8px 0 2px; line-height: 1.6; }
.narrow-wide { max-width: 640px; margin-left: auto; margin-right: auto; }
.narrow-wide input, .narrow-wide textarea, .account-grid input { width: 100%; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.list-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table th, .list-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.list-table .neg { color: #b3261e; } .list-table .pos { color: #3c8d1e; }
.vote-card .btn.boost, .btn.boost { background: linear-gradient(90deg, #7b45d6, #b24fd1); color: #fff; }
/* version/type picker */
.tagpick-box { position: relative; border: 1px solid #ccc; border-radius: 4px; background: #fff; padding: 4px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tagpick-box:focus-within { border-color: #ff9900; }
.tp-chips { display: contents; }
.tp-chip { display: inline-flex; align-items: center; gap: 4px; background: #b6b3a5; color: #fff; border-radius: 3px; padding: 4px 4px 4px 8px; font-size: 13px; text-shadow: none; }
.tp-chip.new { background: #84ad6b; }
.tp-chip button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }
.tp-input { flex: 1; min-width: 140px; border: 0 !important; outline: none !important; padding: 6px !important; font: inherit; background: transparent; }
.tp-list { position: absolute; left: -1px; right: -1px; top: 100%; z-index: 30; max-height: 260px; overflow: auto; background: #fff; border: 1px solid #ccc; border-radius: 0 0 4px 4px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.tp-opt { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 7px 10px; font: inherit; cursor: pointer; color: #333; }
.tp-opt:hover { background: #fff3e0; } .tp-new { color: #5f9443; font-weight: 600; border-top: 1px solid #eee; }
.tp-empty { padding: 8px 10px; color: #999; }
.tp-suggest { margin-top: 6px; }

.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-nav a { background: #3a3a3a; color: #fff; padding: 8px 14px; border-radius: 4px; text-decoration: none; text-shadow: none; }
.admin-nav a:hover { background: #de8500; }
.badge { background: #c9302c; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 12px; }
.admin-tiles { margin-bottom: 14px; } .admin-tiles a.tile { text-decoration: none; }
.alert.info { background: #eef5fc; border-color: #bcd6f0; }
.ipbox { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 8px 10px; background: #f3f3f3; border: 1px solid #ccc; border-radius: 3px;
  cursor: pointer; font: inherit; font-weight: 700; color: #3b3b3b; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipbox:hover { background: #ececec; } .ipbox.copied { color: #5f9443; border-color: #84ad6b; }
.ipbox .hint { font-weight: 400; color: #888; font-size: 12px; }
.footer-dark .foot-social { display: flex; justify-content: center; gap: 4px; }
.sp-name { font-size: 20px; font-weight: 600; color: #3b3b3b; margin-bottom: 6px; }
/* dashboard: my servers */
.my-servers { margin-bottom: 18px; }
.ms-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ms-head h2 { margin: 0; font-size: 26px; color: #767676; }
.ms-empty { background: #ebebea; border-radius: 10px; padding: 30px; text-align: center; color: #767676; }
.ms-empty .fa { font-size: 40px; color: #b6b3a5; }
.ms-card { display: grid; grid-template-columns: 90px minmax(0, 1fr) 280px; grid-template-areas: "rank main stats" "rank actions actions"; gap: 10px 14px;
  background: #ebebea; border-radius: 10px; padding: 16px 14px 14px 7px; margin-bottom: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); }
.ms-card.premium { background: linear-gradient(to bottom right, #edebdf 0, #efeee2 50%, #edebdf 100%); }
.ms-card.banned { opacity: .7; }
.ms-rank { grid-area: rank; } .ms-rank .rank-holder { min-height: 80px; } .ms-rank img { image-rendering: pixelated; border-radius: 6px; }
.ms-main { grid-area: main; display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 468px; }
.ms-title { font-size: 1.15rem; font-weight: 600; color: #3b3b3b; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-title:hover { color: #de8500; }
.ms-meta { display: flex; flex-wrap: wrap; gap: 4px; } .ms-meta .label { padding: 5px 8px; }
.label-premium { background: #d8bb45; } .label-warn { background: #f0ad4e; }
.ms-stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-self: center; }
.ms-stats div { background: rgba(255,255,255,.55); border-radius: 6px; padding: 8px 4px; text-align: center; }
.ms-stats b { display: block; font-size: 18px; color: #3b3b3b; } .ms-stats span { font-size: 11px; color: #767676; }
.ms-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(0,0,0,.06); padding-top: 10px; }
.ms-actions .btn { margin: 0; } .btn.disabled { opacity: .7; cursor: default; }
@media (max-width: 767px) { .ms-card { grid-template-columns: 60px minmax(0, 1fr); grid-template-areas: "rank main" "stats stats" "actions actions"; } }
/* Recently bumped: same look as the rows */
.bumped { background: #ebebea; border: 0; border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); }
.bumped-list a { background: rgba(255,255,255,.45); }
.bumped-list a:hover { background: #f6f0e0; }

/* home: SEO text, game links, FAQ */
.home-seo { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; margin: 24px 0 10px; }
.home-seo h2, .home-faq h2 { font-size: 22px; font-weight: 600; color: #767676; margin: 0 0 8px; }
.home-seo p { line-height: 1.6; margin: 0 0 14px; }
.game-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; }
.game-links li { padding: 3px 0; break-inside: avoid; }
.game-links a { color: #555; text-decoration: none; } .game-links a:hover { color: #de8500; }
.home-faq { background: #ebebea; border-radius: 10px; padding: 16px 20px; margin-top: 10px; }
@media (max-width: 767px) { .home-seo { grid-template-columns: 1fr; } .game-links { columns: 1; } }

/* searchable dropdown + tag box in the style of the old select2 */
.ss-wrap { position: relative; }
.ss-btn { display: block; width: 100%; text-align: left; padding: 9px 30px 9px 12px; background: #fff linear-gradient(#fff, #f4f4f4); border: 1px solid #aaa; border-radius: 4px;
  font: inherit; color: #333; cursor: pointer; position: relative; min-height: 40px; }
.ss-btn::after { content: ""; position: absolute; right: 12px; top: 50%; margin-top: -3px; border: 5px solid transparent; border-top-color: #777; }
.ss-btn.empty { color: #999; }
.ss-wrap.open .ss-btn { border-color: #ff9900; border-radius: 4px 4px 0 0; background: #fff; }
.ss-drop { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff; border: 1px solid #ff9900; border-top: 0; border-radius: 0 0 4px 4px; box-shadow: 0 6px 16px rgba(0,0,0,.15); padding: 6px; }
.ss-input { width: 100%; padding: 7px 10px; border: 1px solid #ccc; border-radius: 3px; font: inherit; margin-bottom: 4px; }
.ss-list { max-height: 260px; overflow: auto; }
.ss-opt { padding: 7px 10px; cursor: pointer; border-radius: 3px; color: #333; }
.ss-opt:hover, .ss-opt.hl { background: #ff9900; color: #fff; text-shadow: none; } .ss-opt.on { font-weight: 700; }
.ss-empty { padding: 7px 10px; color: #999; }
.tagpick-box { border-color: #aaa; background: #fff linear-gradient(#fff, #fafafa); min-height: 40px; }
.tp-chip { background: linear-gradient(#f4f4f4, #e0e0e0); color: #333; border: 1px solid #aaa; box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05); padding: 3px 4px 3px 8px; text-shadow: none; }
.tp-chip button { color: #777; } .tp-chip button:hover { color: #c9302c; }
.tp-chip.new { background: linear-gradient(#eef7e6, #d9ecc9); border-color: #84ad6b; }
.tp-opt:hover { background: #ff9900; color: #fff; text-shadow: none; } .tp-new { color: #5f9443; }

/* ---------- dashboard, buy credits, ad edit: grey cards like the server rows ---------- */
.dash-box, .dash-hero { background: #ebebea; border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); padding: 16px 18px; margin-bottom: 16px; }
.dash-box h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; color: #5e5e5e; display: flex; align-items: center; gap: 8px; }
.dash-box h2 .fa { color: #de8500; }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; } .box-head h2 { margin: 0; }
.dash-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center;
  background: linear-gradient(to bottom right, #ececea 0, #f1efe6 60%, #ebe7d9 100%); border-top: 3px solid #de8500; }
.dh-avatar, .dh-ico { width: 64px; height: 64px; border-radius: 50%; background: #2b2b2b; color: #ff9900; display: flex; align-items: center; justify-content: center;
  font: 700 30px/1 doppio, "open sans", sans-serif; text-shadow: none; box-shadow: 0 0 0 4px rgba(255,255,255,.6); }
.dh-ico { font-size: 28px; }
.dh-text h1 { margin: 0; font-size: 26px; font-weight: 600; color: #3b3b3b; word-break: break-word; }
.dh-text h1 .muted { font-size: 18px; } .dh-text p { margin: 4px 0 0; color: #767676; } .dh-text .label { padding: 5px 8px; margin-top: 4px; }
.dh-stats { display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); gap: 6px; }
.buy-hero .dh-stats { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
.dh-stats > a, .dh-stats > div { background: rgba(255,255,255,.6); border-radius: 8px; padding: 9px 8px; text-align: center; text-decoration: none; color: #3b3b3b; }
.dh-stats > a:hover { background: #fff; }
.dh-stats b { display: block; font-size: 19px; color: #3b3b3b; white-space: nowrap; } .dh-stats span { font-size: 11px; color: #767676; }
.dh-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.dh-notice { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 8px; padding: 12px 14px; border-left: 4px solid #3fb0d9; }
.dh-notice.warn { border-left-color: #f0ad4e; } .dh-notice > .fa { font-size: 22px; color: #3fb0d9; margin-top: 2px; } .dh-notice.warn > .fa { color: #f0ad4e; }
.dh-notice .row-form { display: flex; gap: 6px; margin: 8px 0 4px; max-width: 420px; }
@media (max-width: 900px) { .dash-hero { grid-template-columns: auto minmax(0, 1fr); } .dh-stats, .dh-actions { grid-column: 1 / -1; } .dh-actions { justify-content: flex-start; } }
@media (max-width: 520px) { .dh-stats { grid-template-columns: repeat(2, 1fr); } .dh-avatar, .dh-ico { width: 48px; height: 48px; font-size: 22px; } .dh-text h1 { font-size: 21px; } }
.dash-crumbs { margin: 0 0 10px; } .dash-crumbs a { color: #767676; text-decoration: none; } .dash-crumbs a:hover { color: #de8500; }

/* my ads & premium */
.my-ads { margin-bottom: 18px; }
.head-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cp-pill { display: inline-flex; gap: 6px; align-items: center; background: #2b2b2b; color: #ff9900; border-radius: 20px; padding: 7px 14px; font-weight: 700; text-shadow: none; }
.ad-cards { display: grid; gap: 6px; }
.ad-card { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #ebebea; border-radius: 10px; padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); }
.ad-card.premium { background: linear-gradient(to bottom right, #edebdf 0, #efeee2 50%, #edebdf 100%); }
.ad-card.ended { opacity: .78; } .ad-card.ended:hover { opacity: 1; }
.ad-thumb { width: 200px; height: 50px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; }
.ad-thumb img, .ad-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-ico { color: #b6b3a5; font-size: 26px; } .ad-card.premium .ad-ico { color: #d8bb45; }
.ad-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ad-labels { display: flex; flex-wrap: wrap; gap: 4px; } .ad-labels .label { padding: 4px 7px; font-size: 12px; }
.ad-title { font-size: 16px; color: #3b3b3b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-body .muted { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 767px) { .ad-card { grid-template-columns: 1fr; } .ad-thumb { width: 100%; max-width: 468px; height: auto; aspect-ratio: 468 / 60; } .ad-actions { justify-content: flex-start; } }

/* bottom boxes */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.dash-grid .dash-box { margin: 0; height: 100%; box-sizing: border-box; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,.55); border-radius: 6px; margin-bottom: 6px; }
.kv span { color: #767676; } .kv b { color: #3b3b3b; } .ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.box-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.prov-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.prov-list li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.55); border-radius: 6px; padding: 7px 10px; }
.prov-ico { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; text-shadow: none; }
.prov-ico.social-google { color: #ea4335; }
.prov-name { flex: 1; font-weight: 600; color: #3b3b3b; display: flex; flex-direction: column; } .prov-name small { font-weight: 400; color: #5f9443; }

/* buy credits */
.pay-done { display: flex; align-items: center; gap: 14px; background: #e3f0da; border: 1px solid #c5dfb5; border-radius: 10px; padding: 14px 18px; margin-bottom: 16px; }
.pay-done > .fa { font-size: 34px; color: #5f9443; } .pay-done > div { flex: 1; } .pay-done p { margin: 4px 0 0; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-form h2 .step { flex: none; }
.pick-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pick-row .pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cp-input { display: flex; align-items: center; gap: 10px; max-width: 360px; margin: 0 0 14px; }
.cp-input span { color: #767676; white-space: nowrap; } .cp-input input { font-size: 18px; font-weight: 700; } .cp-input b { color: #767676; }
.buy-sum { background: rgba(255,255,255,.6); border-radius: 8px; padding: 4px 14px; margin-bottom: 18px; max-width: 460px; }
.buy-sum .label { padding: 3px 6px; font-size: 12px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pay-method p { margin: 6px 2px 0; }
.pay-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border-radius: 8px; border: 0; cursor: pointer; font: inherit; text-shadow: none; }
.pay-btn .pm-name { font-size: 19px; font-weight: 700; } .pay-btn .pm-price { font-size: 14px; } .pay-btn small { opacity: .8; }
.pay-btn.tebex { background: #2b2b2b; color: #fff; } .pay-btn.tebex .pm-name { color: #ff9900; }
.pay-btn.paypal { background: #ffc439; color: #253b80; } .pay-btn.paypal .pm-name .fa { color: #179bd7; }
.pay-btn:hover { filter: brightness(1.06); } .pay-btn[disabled], .pay-btn.disabled { opacity: .45; cursor: not-allowed; filter: none; }
.pay-method.off .pay-btn { cursor: default; }
.small-print { margin-top: 12px; }
.bill-card { display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.6); border-radius: 8px; padding: 10px 14px; }
.bill-card strong { color: #3b3b3b; } .bill-card .label { padding: 3px 6px; font-size: 11px; }
.bill-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; } .bill-form .full { grid-column: 1 / -1; }
.bill-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: #5e5e5e; }
@media (max-width: 600px) { .bill-form { grid-template-columns: 1fr; } }
.vip-box p { margin: 0 0 8px; } .new-cust { background: #fff6e8; border-radius: 6px; padding: 6px 10px; color: #a35f00; }
progress.vip-bar { width: 100%; height: 10px; border: 0; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.7); appearance: none; }
progress.vip-bar::-webkit-progress-bar { background: rgba(255,255,255,.7); } progress.vip-bar::-webkit-progress-value { background: #de8500; } progress.vip-bar::-moz-progress-bar { background: #de8500; }
.vip-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.vip-table td { padding: 4px 6px; border-bottom: 1px solid rgba(0,0,0,.05); } .vip-table td:last-child { text-align: right; font-weight: 700; color: #5f9443; }
.vip-table tr.on td { background: #fff6e8; font-weight: 700; }
.tick-list { margin: 0; padding-left: 18px; } .tick-list li { padding: 3px 0; }
.hist-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.05); font-size: 13px; }
.hist-row .label { padding: 3px 6px; font-size: 11px; }
.table-wrap { overflow-x: auto; } .dash-box .list-table { background: rgba(255,255,255,.55); border-radius: 6px; width: 100%; }

/* ad edit */
.ad-edit > label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: #5e5e5e; margin-bottom: 12px; max-width: 560px; }
.ad-edit > label small { font-weight: 400; }
.img-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-bottom: 14px; }
.img-modes .radio-card { display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.6); font-weight: 600; }
.img-modes .radio-card small { font-weight: 400; }
.img-thumb { display: block; border-radius: 4px; overflow: hidden; background: #fff; min-height: 30px; }
.img-thumb img, .img-thumb video { display: block; width: 100%; height: auto; }
.pin-preview { max-width: 340px; background: #2b2b2b; color: #fff; border-radius: 8px; padding: 10px; text-shadow: none; }
.pin-preview .pin-head { margin-bottom: 6px; } .pin-preview .pin-ip { display: inline-block; background: #444; border-radius: 4px; padding: 3px 8px; margin-bottom: 6px; }
.pin-preview .pin-img img, .pin-preview .pin-img video { width: 100%; height: auto; display: block; border-radius: 4px; }
.img-modes .radio-card { text-align: left; align-items: stretch; } .img-modes .radio-card > input[type=radio] { align-self: flex-start; }

/* messages after an action: impossible to miss */
.flash { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: 8px; color: #fff; font-size: 15px; font-weight: 600;
  text-shadow: none; box-shadow: 0 4px 14px rgba(0,0,0,.15); animation: flash-in .35s ease-out; }
.flash > .fa { font-size: 24px; flex: none; } .flash > span { flex: 1; line-height: 1.4; }
.flash.ok { background: linear-gradient(135deg, #6fa154, #5a8c40); }
.flash.err { background: linear-gradient(135deg, #d9534f, #b52b27); }
.flash.info { background: linear-gradient(135deg, #3fb0d9, #2a8fb5); }
.flash-x { background: rgba(255,255,255,.2); border: 0; color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; flex: none; }
.flash-x:hover { background: rgba(255,255,255,.35); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; } }
/* messages inside forms */
.alert { border-left-width: 4px; font-weight: 600; }
.alert.err { border-left-color: #c9302c; } .alert.ok { border-left-color: #6fa154; } .alert.warn { border-left-color: #f0ad4e; } .alert.info { border-left-color: #3fb0d9; }

/* server page: what players need first */
.join-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(160px, .6fr) minmax(0, 1fr); gap: 16px 22px; align-items: center;
  background: #ebebea; border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; border-top: 4px solid #b6b3a5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 8px rgba(0,0,0,.05); }
.join-hero.is-on { border-top-color: #84ad6b; } .join-hero.is-off { border-top-color: #c9302c; }
.jh-id { display: flex; gap: 14px; align-items: center; min-width: 0; }
.jh-id .sicon { border-radius: 8px; image-rendering: pixelated; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.jh-rank { width: 72px; height: 72px; border-radius: 8px; background: #2b2b2b; color: #ff9900; display: flex; align-items: center; justify-content: center; font: 700 22px/1 doppio, sans-serif; flex: none; text-shadow: none; }
.jh-title { min-width: 0; } .jh-title .sp-name { font-size: 24px; margin: 0 0 6px; word-break: break-word; }
.jh-title .sp-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jh-title .pill .fa { font-size: 9px; vertical-align: 2px; } .jh-cc { display: inline-flex; gap: 4px; align-items: center; color: #555; }
.jh-title .motd { margin: 8px 0 0; padding: 6px 10px; background: #2b2b2b; color: #e6e6e6; border-radius: 6px; font-family: monospace; font-size: 13px; text-shadow: none; white-space: pre-wrap; }
.jh-players { text-align: center; background: rgba(255,255,255,.6); border-radius: 10px; padding: 12px 10px; }
.jh-players b { display: block; font-size: 30px; line-height: 1.1; color: #3b3b3b; } .jh-players b small { font-size: 16px; color: #767676; }
.jh-players > span { display: block; font-size: 12px; color: #767676; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.jh-players progress { width: 100%; height: 8px; border: 0; border-radius: 5px; overflow: hidden; appearance: none; background: #ddd; }
.jh-players progress::-webkit-progress-bar { background: #ddd; } .jh-players progress::-webkit-progress-value { background: #84ad6b; } .jh-players progress::-moz-progress-bar { background: #84ad6b; }
.jh-players small.muted { display: block; margin-top: 4px; font-size: 11px; }
.jh-join { display: flex; flex-direction: column; gap: 8px; }
.ipbox.big { font-size: 18px; padding: 12px; background: #fff; border: 2px dashed #b6b3a5; }
.ipbox.big:hover { border-color: #84ad6b; }
.jh-btns { display: flex; gap: 6px; flex-wrap: wrap; } .jh-btns .btn { flex: 1 1 auto; }
.join-hero.is-off .jh-players b { color: #c9302c; }
@media (max-width: 900px) { .join-hero { grid-template-columns: 1fr 1fr; } .jh-id { grid-column: 1 / -1; } }
@media (max-width: 560px) { .join-hero { grid-template-columns: 1fr; padding: 14px; } .jh-title .sp-name { font-size: 20px; } }
.players-card h3, .card.stats > h3:first-child { margin-top: 0; color: #5e5e5e; } .players-card h3 .fa, .card.stats h3 .fa { color: #de8500; }
.report-link { text-align: center; margin: 10px 0; } .report-link .link { color: #999; font-size: 13px; text-decoration: none; } .report-link .link:hover { color: #c9302c; }
.report-form h3 { margin-top: 0; } .report-form label { margin-top: 10px; }

/* home */
.games-btn { border: 0; border-left: 1px solid #ddd; background: #f2f2f2; padding: 11px 14px; border-radius: 0 3px 3px 0; color: #333; font: inherit; cursor: pointer; white-space: nowrap; }
.games-btn:hover, .games-btn[aria-expanded=true] { background: #de8500; color: #fff; text-shadow: none; } .games-btn[aria-expanded=true] .muted { color: #fff; }
.home-popular { margin: 6px 0 18px; } .home-popular h2.title .fa { color: #de8500; }
.home-seo { grid-template-columns: 1fr 1fr; }

/* admin */
.admin-nav a.on { background: #de8500; }
.card.faded { opacity: .6; }
.cat-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 14px; margin-bottom: 6px; }
.cat-row .cat-name { min-width: 200px; flex: 1 1 200px; } .cat-row label { margin: 0; display: flex; gap: 6px; align-items: center; font-weight: 400; }
.cat-row input[type=text], .cat-row input[type=number] { width: 80px; padding: 5px 7px; }
label.check { display: flex; gap: 6px; align-items: center; font-weight: 400; } label.check input { width: auto; }
.adm-thumb { width: 160px; } .adm-thumb img, .adm-thumb video { width: 150px; height: auto; display: block; }
.adm-preview img, .adm-preview video { max-width: 468px; width: 100%; height: auto; display: block; margin-bottom: 10px; }
.paytest { margin: 10px 0; } .paytest .alert { white-space: normal; }
.list-table th { text-align: left; }

/* sticky ad: (−) makes it a small bar, (+) opens it again */
.tg-pinbox .x { width: 26px; height: 26px; border-radius: 50%; background: #3a3a3a; color: #fff; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.tg-pinbox .x:hover { background: #de8500; }
.tg-pinbox.min .pin-ip, .tg-pinbox.min .pin-img { display: none; }
.tg-pinbox.min { width: auto; min-width: 260px; border-radius: 8px 8px 0 0; }
body:has(.tg-pinbox.min) { padding-bottom: 50px; }
/* header: Buy credits */
.btn-top.buy { background: #2b2b2b; color: #ff9900; border: 1px solid #ff9900; } .btn-top.buy:hover { color: #ffb84d; opacity: 1; }
/* admin bar + duplicates */
.admin-bar { background: #2b2b2b; color: #ddd; font-size: 13px; padding: 7px 0; text-shadow: none; }
.admin-bar .container { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; } .admin-bar .fa-bell { color: #ff9900; }
.admin-bar a { color: #ffb84d; } .admin-bar a:hover { color: #fff; }
.dup-row { border-top: 1px solid var(--line); padding: 12px 0; } .dup-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .dup-pair { grid-template-columns: 1fr; } }
.dup-box { background: #fff6e8; border: 2px solid #f0ad4e; border-radius: 8px; padding: 12px 16px; margin: 16px 0 6px; }
.dup-box.mine { background: #e8f4fb; border-color: #3fb0d9; }
.dup-box h3 { margin: 0 0 8px; font-size: 16px; } .dup-box ul { margin: 0 0 10px; padding-left: 18px; } .dup-box label.check { margin: 4px 0; }
/* NEW + launch labels */
.label-new { background: #3fb0d9; font-size: 11px; padding: 3px 6px; vertical-align: 2px; } .label-launch { background: #8e44ad; font-size: 11px; padding: 3px 6px; vertical-align: 2px; }
.launch-box { margin: 8px 0 0; padding: 6px 10px; background: #f3e9f8; border-radius: 6px; color: #5b2c6f; } .launch-box .fa { color: #8e44ad; }
.topg-server-list.launching { margin-bottom: 18px; }

/* players chart: 24h / 7 days / 30 days */
.chart-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.chart-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.chart-tabs > label { margin: 0; padding: 6px 14px; border-radius: 16px; background: #eee; cursor: pointer; font-size: 13px; font-weight: 600; color: #555; }
.chart-tabs > input:checked + label { background: #de8500; color: #fff; text-shadow: none; }
.chart-tabs > input:focus-visible + label { outline: 2px solid #ff9900; }
.chart-pane { display: none; width: 100%; margin-top: 8px; }
#pr-24h:checked ~ .pane-24h, #pr-7d:checked ~ .pane-7d, #pr-30d:checked ~ .pane-30d { display: block; }
.card.checks.good { border-left: 4px solid #84ad6b; } .card.checks.bad { border-left: 4px solid #c9302c; } .red { color: #c9302c; }

/* game page: live numbers + sorting tabs */
.game-live { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0 0 10px; color: #555; font-size: 14px; }
.game-live b { color: #3b3b3b; } .game-live .fa.on { color: #84ad6b; font-size: 10px; vertical-align: 2px; } .game-live .fa-users { color: #de8500; }
.sort-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.sort-tabs a { padding: 8px 14px; border-radius: 6px; background: #ebebea; color: #555; text-decoration: none; font-weight: 600; box-shadow: 0 0 6px rgba(0,0,0,.04); }
.sort-tabs a:hover { background: #fff; color: #de8500; } .sort-tabs a.on { background: #2b2b2b; color: #ff9900; text-shadow: none; }
/* similar servers */
.similar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.similar a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: #f6f6f6; border-radius: 6px; text-decoration: none; color: #3b3b3b; min-width: 0; }
.similar a:hover { background: #f6f0e0; } .similar b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .similar small { color: #777; }
.similar .on { color: #5f9443; }

/* packs */
.packs { margin: 6px 0 18px; } .packs h2.title .fa { color: #de8500; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.pack { position: relative; background: #ebebea; border-radius: 10px; padding: 16px 18px; border: 2px solid transparent; box-shadow: 0 0 8px rgba(0,0,0,.05); }
.pack.hot { border-color: #84ad6b; background: linear-gradient(to bottom right, #eef5e8, #ebebea); }
.pack h3 { margin: 0 0 8px; font-size: 19px; color: #3b3b3b; } .pack h3 .label { font-size: 12px; padding: 3px 7px; vertical-align: 3px; }
.pack-flag { position: absolute; top: -11px; right: 14px; background: #84ad6b; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; text-shadow: none; }
.pack-price s { color: #999; } .pack-price strong { color: #de8500; font-size: 18px; }
.pack-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
/* promotion bar */
.promo-bar { background: linear-gradient(90deg, #8e44ad, #de8500); color: #fff; text-shadow: none; font-weight: 600; padding: 8px 0; text-align: center; }
.promo-bar .container { display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; } .promo-bar .fa { margin-right: 4px; }
.promo-bar small { opacity: .85; font-weight: 400; }

/* support tickets */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.support-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: #5e5e5e; margin: 0 0 12px; }
.support-form .field-label { font-weight: 600; color: #5e5e5e; margin: 0 0 6px; }
.topic-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin-bottom: 14px; }
.topic-pick .topic { margin: 0; } .topic-pick input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pick span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 8px; background: rgba(255,255,255,.65); border: 2px solid transparent; cursor: pointer; font-size: 13px; text-align: center; }
.topic-pick span .fa { font-size: 20px; color: #de8500; }
.topic-pick input:checked + span { border-color: #de8500; background: #fff6e8; } .topic-pick input:focus-visible + span { outline: 2px solid #ff9900; }
.btn.big { font-size: 16px; padding: 12px; }
.quick-help { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.quick-help a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: rgba(255,255,255,.6); border-radius: 6px; color: #3b3b3b; text-decoration: none; }
.quick-help a:hover { background: #fff; color: #de8500; } .quick-help .fa { color: #de8500; width: 18px; text-align: center; }
.tk-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 10px; margin-bottom: 4px; background: rgba(255,255,255,.6); border-radius: 6px; color: #3b3b3b; text-decoration: none; }
.tk-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.label.tk-open { background: #f0ad4e; } .label.tk-answered { background: #84ad6b; } .label.tk-closed { background: #999; }
.tk-keep { margin: -6px 0 12px; }
.tk-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.tk-msg { background: #fff; border-radius: 10px; padding: 12px 16px; border-left: 4px solid #b6b3a5; max-width: 85%; box-shadow: 0 0 6px rgba(0,0,0,.05); }
.tk-msg.staff { align-self: flex-end; border-left-color: #de8500; background: #fff9ef; }
.tk-msg header { margin-bottom: 6px; } .tk-msg.staff header b { color: #de8500; }
.tk-body { line-height: 1.55; word-wrap: break-word; }
.tk-reply textarea { width: 100%; }
@media (max-width: 600px) { .tk-msg { max-width: 100%; } }

/* legal pages + FAQ */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 12px; } .legal-toc h2 { font-size: 15px; margin: 0 0 8px; } .legal-toc h2:not(:first-child) { margin-top: 14px; }
.legal-toc ol, .legal-toc ul { margin: 0; padding-left: 20px; } .legal-toc li { padding: 3px 0; } .legal-toc a { color: #555; text-decoration: none; } .legal-toc a:hover { color: #de8500; }
@media (max-width: 900px) { .legal-toc { position: static; } }
.page-text.legal { padding: 22px 28px; } .page-text.legal h2 { scroll-margin-top: 12px; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 20px; }
.page-text.legal .lead { font-size: 16px; color: #555; } .page-text.legal li { margin: 6px 0; }
.callout { background: #fff6e8; border-left: 4px solid #de8500; border-radius: 6px; padding: 12px 16px; margin: 14px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .legal-table th { background: #f3f3f3; }
@media (max-width: 600px) { .legal-table { display: block; overflow-x: auto; } .page-text.legal { padding: 16px; } }
.faq-top .panel-search { margin-bottom: 10px; } .faq-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.faq-jump a { padding: 7px 12px; border-radius: 6px; background: rgba(255,255,255,.65); color: #3b3b3b; text-decoration: none; font-weight: 600; } .faq-jump a:hover { background: #fff; color: #de8500; } .faq-jump .fa { color: #de8500; }
.faq-sec { scroll-margin-top: 12px; } .faq-sec .faq-item { background: rgba(255,255,255,.6); border-radius: 6px; padding: 10px 14px; margin-bottom: 6px; border: 0; }
.faq-sec .faq-item div { margin-top: 8px; line-height: 1.6; }
.faq-cta { text-align: center; }
/* support: Tebex note only for the Payment topic */
.tebex-note { display: none; margin: 0 0 12px; } .topic-pick:has(input[value=payment]:checked) + .tebex-note { display: block; }
.nav-badge { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px; background: #d9534f; color: #fff; font-size: 11px; font-weight: 700; text-align: center; text-shadow: none; margin-left: 3px; }
.tk-notice { margin-bottom: 16px; border-left-color: #d9534f; } .tk-notice > .fa { color: #d9534f; }

/* ---------- server page v2 ---------- */
.srv-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; margin: 0 0 16px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #262626 0%, #343434 60%, #2b2b2b 100%); color: #e8e8e8; text-shadow: none; box-shadow: 0 6px 22px rgba(0,0,0,.18); border-top: 4px solid #777; }
.srv-hero.is-on { border-top-color: #84ad6b; } .srv-hero.is-off { border-top-color: #c9302c; }
.sh-banner { grid-column: 1 / -1; background: #1d1d1d; text-align: center; line-height: 0; }
.sh-banner img, .sh-banner video { max-width: 100%; max-height: 120px; width: auto; height: auto; display: inline-block; }
.sh-main { padding: 22px 24px; min-width: 0; }
.sh-id { display: flex; gap: 16px; align-items: center; }
.sh-id .sicon { border-radius: 10px; image-rendering: pixelated; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.sh-rank { width: 80px; height: 80px; border-radius: 10px; background: #1d1d1d; color: #ff9900; display: flex; align-items: center; justify-content: center; font: 700 24px/1 doppio, sans-serif; flex: none; }
.sh-title { min-width: 0; }
.srv-hero h1.sp-name { margin: 0 0 8px; font-size: 28px; line-height: 1.15; color: #fff; word-break: break-word; font-weight: 700; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 14px; background: rgba(255,255,255,.1); color: #ddd; font-size: 13px; line-height: 1.3; }
.chip .fa { font-size: 12px; color: #aaa; } .chip.on { background: rgba(132,173,107,.22); color: #b9e09f; } .chip.on .fa { color: #84ad6b; font-size: 9px; }
.chip.off { background: rgba(201,48,44,.22); color: #f2a3a1; } .chip.off .fa { color: #e05a56; font-size: 9px; }
.chip.gold { background: rgba(255,153,0,.18); color: #ffc266; } .chip.gold .fa { color: #ff9900; }
.sh-tagline { margin: 10px 0 0; color: #cfcfcf; font-size: 15px; }
.srv-hero .motd { margin: 14px 0 0; padding: 8px 12px; background: #1a1a1a; color: #e6e6e6; border-radius: 6px; font-family: monospace; font-size: 13px; white-space: pre-wrap; }
.srv-hero .launch-box { background: rgba(142,68,173,.25); color: #e3c4f0; margin-top: 12px; } .srv-hero .launch-box .fa { color: #c38ee0; }
.sh-side { background: rgba(0,0,0,.25); padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.sh-players { text-align: center; }
.sh-players b { display: block; font-size: 34px; line-height: 1.1; color: #fff; } .sh-players b small { font-size: 17px; color: #999; }
.srv-hero.is-off .sh-players b { color: #e05a56; }
.sh-players > span { display: block; font-size: 12px; color: #aaa; text-transform: uppercase; letter-spacing: .6px; margin: 2px 0 8px; }
.sh-players progress { width: 100%; height: 8px; border: 0; border-radius: 5px; overflow: hidden; appearance: none; background: #444; }
.sh-players progress::-webkit-progress-bar { background: #444; } .sh-players progress::-webkit-progress-value { background: #84ad6b; } .sh-players progress::-moz-progress-bar { background: #84ad6b; }
.sh-players small { display: block; color: #888; font-size: 11px; margin-top: 4px; }
.srv-hero .ipbox.big { background: #fff; color: #222; border: 2px dashed #84ad6b; font-size: 17px; font-weight: 700; padding: 11px; border-radius: 8px; cursor: pointer; }
.srv-hero .ipbox.big .hint { font-weight: 400; color: #777; font-size: 12px; }
.sh-btns { display: flex; gap: 6px; flex-wrap: wrap; } .sh-btns .btn { flex: 1 1 90px; text-align: center; border-radius: 6px; }
.btn.discord { background: #5865F2 !important; color: #fff; } .btn.discord:hover { background: #4752c4 !important; }
.vote-card .btn.boost, .btn.boost { background: linear-gradient(90deg, #f7a400, #f2692a); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.2); }
.btn.boost:hover { filter: brightness(1.06); }
@media (max-width: 900px) { .srv-hero { grid-template-columns: 1fr; } .srv-hero h1.sp-name { font-size: 23px; } .sh-main { padding: 18px; } }
@media (max-width: 520px) { .sh-id { align-items: flex-start; } .sh-id .sicon, .sh-rank { width: 56px; height: 56px; } }
.card.about h3 { margin-top: 0; color: #5e5e5e; } .card.about h3 .fa { color: #de8500; }
/* owner box */
.owner-box { background: #ebebea; border-radius: 10px; padding: 14px; margin: 12px 0; border: 2px solid #84ad6b; }
.owner-box h3 { margin: 0 0 10px; font-size: 16px; color: #3b3b3b; } .owner-box h3 .fa { color: #de8500; }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.owner-grid > a, .owner-grid button, .owner-grid .off { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 8px; background: #fff;
  color: #3b3b3b; text-decoration: none; font: 600 13px/1.2 inherit; border: 0; cursor: pointer; width: 100%; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.owner-grid form { margin: 0; display: flex; }
.owner-grid .fa { font-size: 18px; color: #de8500; } .owner-grid > a:hover, .owner-grid button:hover { background: #fff6e8; }
.owner-grid .off { color: #888; cursor: default; font-weight: 400; } .owner-grid .off .fa { color: #aaa; }
.owner-grid a.promo { background: var(--green); color: #fff; } .owner-grid a.promo .fa { color: #fff; } .owner-grid a.promo:hover { filter: brightness(1.05); background: var(--green); }
.owner-box .muted { margin: 10px 0 0; font-size: 12px; }
/* flags: a little space and centred with the text */
.flag { margin-right: 5px; vertical-align: -1px; }

/* buy page: what credits buy */
.use-cards { display: grid; gap: 6px; }
.use-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(255,255,255,.7); border-radius: 8px; color: #3b3b3b; text-decoration: none; transition: background .15s; }
.use-card:hover { background: #fff; } .use-card:hover .uc-go { color: #de8500; transform: translateX(2px); }
.uc-ico { width: 38px; height: 38px; border-radius: 50%; background: #2b2b2b; color: #ff9900; display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px; }
.uc-text { display: flex; flex-direction: column; flex: 1; min-width: 0; } .uc-text small { color: #777; font-size: 12px; line-height: 1.3; }
.uc-go { color: #bbb; font-size: 20px; transition: transform .15s; }
/* back to dashboard */
.back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 6px; background: #ebebea; color: #3b3b3b !important; font-weight: 600; box-shadow: 0 0 6px rgba(0,0,0,.05); }
.back-btn:hover { background: #fff; color: #de8500 !important; }
/* home: 3 popular servers */
.pop-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .pop-cards { grid-template-columns: 1fr; } }
.pop-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #ebebea; border-radius: 12px; padding: 16px; box-shadow: 0 0 8px rgba(0,0,0,.05); min-width: 0; }
.pop-medal { position: absolute; top: -8px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; text-shadow: none; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.pop-medal.m1 { background: linear-gradient(135deg, #f7d154, #d9a400); } .pop-medal.m2 { background: linear-gradient(135deg, #d6d6d6, #9e9e9e); } .pop-medal.m3 { background: linear-gradient(135deg, #e3a06a, #b8692e); }
.pop-top { display: flex; gap: 12px; align-items: center; color: #3b3b3b; text-decoration: none; min-width: 0; }
.pop-top img { border-radius: 8px; image-rendering: pixelated; flex: none; }
.pop-ico { width: 56px; height: 56px; border-radius: 8px; background: #2b2b2b; color: #ff9900; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.pop-top span { display: flex; flex-direction: column; min-width: 0; } .pop-top b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pop-top small { color: #777; }
.pop-banner { display: block; border-radius: 6px; overflow: hidden; line-height: 0; } .pop-banner img, .pop-banner video { width: 100%; height: auto; }
.pop-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #555; } .pop-meta .on { color: #5f9443; } .pop-meta .on .fa { font-size: 9px; vertical-align: 2px; }
.pop-card .copy-ip { margin-top: auto; }
/* ---------- step 16: light server hero, even buttons, ad extend ---------- */
.srv-hero { background: #fff; color: #333; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.sh-banner { background: #f3f3f3; border-bottom: 1px solid #eee; }
.sh-id .sicon { box-shadow: 0 0 0 1px #e2e2e2, 0 3px 8px rgba(0,0,0,.12); }
.sh-rank { background: #f3f3f3; }
.srv-hero h1.sp-name { color: #222; }
.chip { background: #f1f1f1; color: #555; } .chip .fa { color: #999; }
.chip.on { background: #eaf4e3; color: #4f7f35; } .chip.off { background: #fbe9e8; color: #b52b27; }
.chip.gold { background: #fff3df; color: #b86e00; }
.sh-tagline { color: #666; }
.srv-hero .motd { background: #f6f6f6; color: #444; border: 1px solid #eee; }
.srv-hero .launch-box { background: #f5ecfa; color: #6b2f86; }
.sh-side { background: #fafafa; border-left: 1px solid #eee; }
.sh-players b { color: #222; } .sh-players b small { color: #888; } .sh-players > span { color: #888; } .sh-players small { color: #999; }
.sh-players progress { background: #e6e6e6; } .sh-players progress::-webkit-progress-bar { background: #e6e6e6; }
.srv-hero .ipbox.big { background: #fff; }
.sh-btns .btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 6px; line-height: 1.2; }
.sh-btns .btn .fa { font-size: 17px; margin: 0; }
@media (max-width: 900px) { .sh-side { border-left: 0; border-top: 1px solid #eee; } }
.topg-col-about .tg-line { margin-bottom: 4px; }
.ext-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 10px 0; }
.ext-opt { cursor: pointer; margin: 0; }
.ext-opt input { position: absolute; opacity: 0; }
.ext-opt span { display: block; text-align: center; padding: 10px; border: 2px solid #e3e3e3; border-radius: 8px; background: #fff; }
.ext-opt span b { display: block; font-size: 15px; } .ext-opt span small { color: #888; }
.ext-opt input:checked + span { border-color: #84ad6b; background: #f2f8ee; }
.ext-opt input:focus-visible + span { outline: 2px solid #84ad6b; }
.ext-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 0; }
/* ---------- step 17: header ---------- */
.site-head { background: linear-gradient(180deg, #2c2c2f 0%, #202022 100%); border-bottom: 1px solid #000; box-shadow: inset 0 -1px 0 rgba(255,255,255,.04); position: relative; z-index: 60; }
.hd { display: flex; align-items: center; gap: 14px; min-height: 92px; }
.site-head .topg img { width: 160px; height: auto; }
.hd-search { position: relative; flex: 1 1 220px; max-width: 320px; margin-left: 8px; }
.hd-search .fa { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #8a8a8a; font-size: 14px; pointer-events: none; }
.site-head .search-query { width: 100%; min-width: 0; height: 40px; padding: 0 14px 0 36px; background: #151517; color: #eee; border: 1px solid #3a3a3d; border-radius: 10px; font-size: 14px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.site-head .search-query::placeholder { color: #8a8a8a; }
.site-head .search-query:focus { outline: none; border-color: #de8500; box-shadow: 0 0 0 3px rgba(222,133,0,.25); }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; order: 3; }
.hd-add { order: 4; }
.hd-burger { order: 5; }
.hd-link, .site-head .btn-top.buy { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #e6e6e6; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; text-shadow: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.hd-link:hover, .hd-link:focus-visible { background: rgba(255,255,255,.08); color: #fff; opacity: 1; }
.hd-link .fa { font-size: 15px; color: #a9a9a9; }
.hd-link.adv .fa { color: #9cc97f; }
.site-head .btn-top.buy { color: #ffb21f; border: 0; background: rgba(255,170,0,.1); }
.site-head .btn-top.buy .fa { color: #ffb21f; }
.site-head .btn-top.buy:hover { background: rgba(255,170,0,.2); color: #ffc44d; }
.hd-link.icon .hd-txt { display: none; }
.hd-out { margin: 0; }
.hd-add { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 10px; background: linear-gradient(180deg, #f39a10, #de8500); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; text-shadow: none; box-shadow: 0 2px 10px rgba(222,133,0,.35); white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.hd-add:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(222,133,0,.5); }
.site-head .lang-menu summary { height: 40px; padding: 0 10px; border-radius: 10px; color: #ddd; font-weight: 600; }
.site-head .lang-menu summary:hover { background: rgba(255,255,255,.08); }
.site-head .lang-menu summary .fa { color: #888; }
.site-head .lang-list { border: 0; border-radius: 10px; padding: 6px; }
.site-head .lang-list a { border-radius: 6px; }
.hd-burger { display: none; position: relative; width: 42px; height: 40px; border: 1px solid #3a3a3d; border-radius: 10px; background: #151517; color: #eee; font-size: 18px; cursor: pointer; }
.nav-dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: #d9534f; box-shadow: 0 0 0 2px #151517; }
@media (max-width: 1100px) { .hd-search { max-width: 230px; } .hd-link { padding: 0 9px; } }
@media (max-width: 900px) {
  .hd { flex-wrap: wrap; min-height: 0; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .site-head .topg { margin-right: auto; } .site-head .topg img { width: 104px; }
  .hd-add { order: 2; padding: 0 13px; } .hd-burger { display: block; order: 3; }
  .hd-search { order: 4; flex: 1 1 100%; max-width: none; margin: 0; }
  .hd-nav { order: 5; display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 6px; background: #151517; border: 1px solid #333; border-radius: 12px; }
  .site-head.open .hd-nav { display: flex; }
  .hd-link, .site-head .btn-top.buy { width: 100%; height: 46px; font-size: 15px; justify-content: flex-start; }
  .hd-link .fa { width: 20px; text-align: center; }
  .hd-link.icon .hd-txt { display: inline; }
  .site-head .lang-menu summary { height: 46px; padding: 0 12px; }
  .site-head .lang-list { position: static; box-shadow: none; background: #222; margin-top: 2px; }
  .site-head .lang-list a { color: #ddd; } .site-head .lang-list a:hover, .site-head .lang-list a.on { background: #333; color: #ffb21f; }
}
@media (max-width: 380px) { .hd-add span { display: none; } }
/* ad edit page */
.ae-card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid #ececec; padding: 20px 22px; }
.ae-card h2 { color: #333; font-size: 17px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; margin-bottom: 14px; }
.ae-preview .tg-feat { margin: 0 0 8px; }
.ae-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.ae-cols .dash-box { margin: 0; }
.ae-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 12px; }
.ae-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-bottom: 8px; }
.ae-fields label:first-child { grid-column: 1 / -1; }
.ad-edit .ae-fields > label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; color: #555; font-size: 14px; margin-bottom: 14px; }
.ad-edit .ae-fields input { height: 42px; border: 1px solid #ddd; border-radius: 8px; padding: 0 12px; background: #fafafa; }
.ad-edit .ae-fields input:focus { outline: none; border-color: #de8500; background: #fff; box-shadow: 0 0 0 3px rgba(222,133,0,.15); }
.ad-edit .ae-fields small { font-weight: 400; font-size: 12px; }
.ad-edit .img-modes { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ad-edit .img-modes .radio-card { background: #fafafa; border: 2px solid #ececec; border-radius: 10px; padding: 12px; transition: border-color .15s, background .15s; }
.ad-edit .img-modes .radio-card:hover { border-color: #ddd; }
.ad-edit .img-modes .radio-card:has(input[type=radio]:checked) { border-color: #de8500; background: #fff8ee; }
.ad-edit .img-modes input[type=url], .ad-edit .img-modes input[type=file] { font-weight: 400; font-size: 13px; max-width: 100%; }
.ae-save { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.ad-extend .ext-grid { grid-template-columns: repeat(3, 1fr); }
.ad-extend .ext-foot { flex-direction: column; align-items: stretch; text-align: center; }
.ad-extend .ext-foot .btn { width: 100%; }
.ae-facts { list-style: none; margin: 0; padding: 0; }
.ae-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.ae-facts li:last-child { border: 0; } .ae-facts span { color: #888; }
@media (max-width: 900px) { .ae-cols { grid-template-columns: 1fr; } .ae-side { position: static; order: -1; } .ae-fields { grid-template-columns: 1fr; } }
/* version range picker */
.vr-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 8px; }
.vr-mode { margin: 0; cursor: pointer; font-weight: 400; }
.vr-mode input { position: absolute; opacity: 0; }
.vr-mode span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 6px; border: 2px solid #e3e3e3; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #555; text-align: center; }
.vr-mode input:checked + span { border-color: #de8500; background: #fff6e8; color: #b86e00; }
.vr-mode input:focus-visible + span { outline: 2px solid #de8500; }
.vr-range { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 8px; }
.vr-range > label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; color: #777; min-width: 120px; }
.vr-range .vr-help { flex: 1 1 100%; margin: 0; }
form:has(input[name=vmode][value=pick]:checked) .vr-range { display: none; }
form:has(input[name=vmode][value=all]:checked) .vr-range > label { display: none; }
form:has(input[name=vmode][value=plus]:checked) .vr-to { display: none; }
form:has(input[name=vmode]:not([value=pick]):checked) .vr-pick { display: none; }
@media (max-width: 600px) { .vr-modes { grid-template-columns: 1fr 1fr; } }
.topg-col-stats.tg-types { gap: 4px; align-content: center; }
.tag.vrange, .label.vrange { font-weight: 700; }
/* breadcrumb row with the sort menu on the right */
.crumb-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.crumb-row .breadcrumb { margin: 0; }
.sort-menu { position: relative; margin-left: auto; }
.sort-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 8px; background: #fff; border: 1px solid #e0e0e0; font-weight: 600; font-size: 14px; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,.05); white-space: nowrap; }
.sort-menu summary::-webkit-details-marker { display: none; }
.sort-menu summary .fa { color: #de8500; } .sort-menu summary .fa-angle-down { color: #999; transition: transform .15s; }
.sort-menu[open] summary .fa-angle-down { transform: rotate(180deg); }
.sort-menu summary:hover { border-color: #de8500; }
.sort-menu .sort-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; display: flex; flex-direction: column; gap: 2px; min-width: 220px; margin: 0; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.sort-menu .sort-list a { background: none; box-shadow: none; border-radius: 6px; padding: 9px 12px; color: #444; }
.sort-menu .sort-list a .fa { width: 18px; color: #999; }
.sort-menu .sort-list a:hover { background: #f5f5f5; color: #de8500; }
.sort-menu .sort-list a.on { background: #fff3df; color: #b86e00; } .sort-menu .sort-list a.on .fa { color: #de8500; }
@media (max-width: 600px) { .sort-menu { margin-left: 0; } .sort-menu .sort-list { left: 0; right: auto; } }
.vr-mode, .ext-opt { position: relative; }
.vr-mode input, .ext-opt input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
/* sort menu v2 */
.sort-menu summary { height: auto; padding: 6px 12px 6px 6px; gap: 10px; border-radius: 12px; border: 1px solid #e4e4e4; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .15s, border-color .15s; }
.sort-menu summary:hover, .sort-menu[open] summary { border-color: #f0b35c; box-shadow: 0 3px 12px rgba(222,133,0,.18); }
.sm-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #f7a400, #de6f00); flex: none; }
.sort-menu summary .sm-ic .fa, .sort-menu .sm-ic .fa { color: #fff; font-size: 14px; }
.sm-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.sm-txt small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #999; font-weight: 700; }
.sm-txt b { font-size: 14px; color: #333; }
.sort-menu summary .sm-arrow { color: #aaa; font-size: 11px; margin-left: 4px; transition: transform .2s; }
.sort-menu[open] summary .sm-arrow { transform: rotate(180deg); }
.sort-menu .sort-list { min-width: 240px; padding: 8px; border-radius: 14px; border: 1px solid #eee; box-shadow: 0 12px 32px rgba(0,0,0,.16); animation: smIn .14s ease-out; }
@keyframes smIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sort-menu .sort-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-weight: 600; }
.sort-menu .sort-list .sm-ic { width: 28px; height: 28px; border-radius: 8px; background: #f2f2f2; }
.sort-menu .sort-list .sm-ic .fa { color: #888; width: auto; }
.sort-menu .sort-list a:hover .sm-ic { background: #ffe9c7; } .sort-menu .sort-list a:hover .sm-ic .fa { color: #de8500; }
.sort-menu .sort-list a.on .sm-ic { background: linear-gradient(135deg, #f7a400, #de6f00); } .sort-menu .sort-list a.on .sm-ic .fa { color: #fff; }
.sm-check { margin-left: auto; color: #de8500; }
/* ---------- auction ---------- */
.auc-hero { background: radial-gradient(circle at 80% 0%, #4a2a00 0%, #1f1f22 55%); color: #eee; padding: 26px 0 22px; margin-bottom: 20px; }
.auc-hero h1 { color: #fff; margin: 0 0 6px; font-size: 30px; } .auc-hero h1 .fa { color: #ffb21f; }
.auc-hero p { color: #bbb; margin: 0 0 12px; max-width: 760px; }
.auc-back a { color: #ffb21f; font-weight: 600; }
.auc-when { display: flex; gap: 8px; flex-wrap: wrap; }
.auc-hero .chip { background: rgba(255,255,255,.08); color: #ddd; } .auc-hero .chip.on { background: rgba(132,173,107,.2); color: #b6e09b; } .auc-hero .chip.gold { background: rgba(255,178,31,.15); color: #ffcf6b; }
[data-countdown].soon { color: #ff6b5e; font-weight: 700; }
.auc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.auc-step { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.auc-step b { color: #fff; display: block; } .auc-step small { color: #aaa; }
.auc-step.live { border-color: #ffb21f; box-shadow: 0 0 0 3px rgba(255,178,31,.15); } .auc-step.done { opacity: .85; }
.medal { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 800; }
.medal.m1 { background: linear-gradient(135deg, #f7d154, #d9a400); } .medal.m2 { background: linear-gradient(135deg, #d6d6d6, #9e9e9e); } .medal.m3 { background: linear-gradient(135deg, #e3a06a, #b8692e); }
.auc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; margin-bottom: 30px; }
.auc-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.05); padding: 18px 20px; margin-bottom: 16px; }
.auc-card h2 { font-size: 17px; margin: 0 0 12px; color: #333; } .auc-card h2 .fa { color: #de8500; }
.auc-form { display: grid; grid-template-columns: 1fr 160px auto; gap: 10px; align-items: end; }
.auc-form label, .auc-side label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; color: #777; font-weight: 600; }
.auc-form select, .auc-form input[type=number], .auc-side select, .auc-side input[type=number] { height: 42px; border: 1px solid #ddd; border-radius: 8px; padding: 0 10px; font-size: 15px; background: #fafafa; }
.auc-form .btn.big { height: 42px; }
.auc-form .auc-check, .auc-form .help { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.auc-bids { list-style: none; margin: 0; padding: 0; }
.auc-bids li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.auc-bids li:nth-child(odd) { background: #fafafa; }
.auc-bids li.top { background: #fff6e5; border: 1px solid #ffd99a; } .auc-bids li.me .ab-name { font-weight: 700; }
.ab-pos { width: 24px; color: #999; font-weight: 700; } .ab-name { flex: 1; } .auc-bids b { color: #b86e00; }
.auc-side .auc-max { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.auc-side form label { margin-bottom: 6px; } .auc-myauto { margin: 8px 0 0; font-size: 13px; }
.auc-rules ul { margin: 0; padding-left: 18px; font-size: 13px; color: #555; } .auc-rules li { margin-bottom: 5px; }
.auc-win { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.auc-pay { border-color: #84ad6b; background: #f4faef; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .auc-pay p { margin: 0; }
.auc-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 30px; }
.auc-game { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #ececec; border-radius: 12px; color: #333; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .15s, border-color .15s; }
.auc-game:hover { transform: translateY(-2px); border-color: #ffb21f; color: #333; } .auc-game .chip { align-self: flex-start; }
@media (max-width: 900px) { .auc-wrap { grid-template-columns: 1fr; } .auc-steps { grid-template-columns: 1fr; } .auc-form { grid-template-columns: 1fr; } }
/* ---------- owner stats ---------- */
.st-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.st-kpi { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.st-kpi .fa { color: #de8500; font-size: 16px; margin-bottom: 4px; } .st-kpi b { font-size: 24px; color: #222; line-height: 1.1; } .st-kpi span { font-size: 12px; color: #888; }
.st-kpi.gold { background: linear-gradient(135deg, #fff8e8, #fff); border-color: #ffd99a; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.st-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); min-width: 0; }
.st-card.wide { grid-column: 1 / -1; }
.st-card h2 { font-size: 16px; margin: 0 0 12px; color: #333; } .st-card h2 .fa { color: #de8500; }
.st-chart { width: 100%; height: 170px; display: block; overflow: visible; }
.st-chart rect { fill: #f2a43a; } .st-chart rect:hover { fill: #de6f00; }
.st-chart.views rect { fill: #7fb2e5; } .st-chart.views rect:hover { fill: #3d87d1; }
.st-chart .grid { stroke: #f0f0f0; stroke-width: 1; }
.st-chart polyline { fill: none; stroke: #84ad6b; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.st-chart.rank polyline { stroke: #de8500; } .st-chart circle { fill: #fff; stroke: #84ad6b; stroke-width: 2; vector-effect: non-scaling-stroke; } .st-chart.rank circle { stroke: #de8500; }
.st-chart text { font-size: 11px; fill: #999; }
.st-empty { padding: 24px 0; text-align: center; }
.st-map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: center; }
.vote-map { min-height: 200px; display: flex; align-items: center; justify-content: center; }
.vmap { width: 100%; height: auto; } .vmap path { stroke: #fff; stroke-width: .5; transition: opacity .15s; } .vmap path:hover { opacity: .75; }
.st-countries { list-style: none; margin: 0; padding: 0; }
.st-countries li { display: grid; grid-template-columns: 22px 1fr 70px 38px; align-items: center; gap: 6px; padding: 5px 0; font-size: 13px; border-bottom: 1px dashed #f0f0f0; }
.sc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .st-countries b { text-align: right; color: #b86e00; }
.st-countries progress, .st-deliv { width: 100%; height: 6px; border: 0; border-radius: 3px; background: #f0f0f0; appearance: none; }
.st-countries progress::-webkit-progress-bar, .st-deliv::-webkit-progress-bar { background: #f0f0f0; border-radius: 3px; }
.st-countries progress::-webkit-progress-value { background: #f2a43a; border-radius: 3px; } .st-countries progress::-moz-progress-bar { background: #f2a43a; }
.st-deliv { height: 10px; } .st-deliv::-webkit-progress-value { background: #84ad6b; border-radius: 3px; } .st-deliv::-moz-progress-bar { background: #84ad6b; }
.st-big { font-size: 16px; } .st-big .ok { color: #4f7f35; font-size: 22px; } .st-big .bad { color: #b52b27; font-size: 22px; }
@media (max-width: 800px) { .st-grid { grid-template-columns: 1fr; } .st-map-wrap { grid-template-columns: 1fr; } }
/* ---------- gallery & trailer ---------- */
.media-card .yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; margin-bottom: 12px; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .3s; }
.yt-lite:hover img { opacity: 1; transform: scale(1.02); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; background: #e62117; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; margin-bottom: 12px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.shots .shot, .shots video { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #eee; width: 100%; object-fit: cover; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; } .shots .shot:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-x { top: 16px; right: 16px; } .lb-p { left: 16px; top: 50%; transform: translateY(-50%); } .lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
.shot-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 8px; }
.shot-item { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 400; font-size: 13px; }
.shot-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; }
/* ---------- badges ---------- */
.sh-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; cursor: default; }
.badge-chip.gold { background: #fff4d6; color: #a86800; border-color: #ffe0a0; }
.badge-chip.purple { background: #f3e9fb; color: #6b2f86; border-color: #e3cdf3; }
.badge-chip.green { background: #e9f5e2; color: #3f7a26; border-color: #cfe7c2; }
.badge-chip.orange { background: #fff0e3; color: #c35a00; border-color: #ffd7b5; }
.badge-chip.blue { background: #e7f1fc; color: #23629f; border-color: #c7def5; }
.badge-chip.teal { background: #e3f6f4; color: #1e7a70; border-color: #bfe8e3; }
.badge-chip.red { background: #fde9e8; color: #b52b27; border-color: #f7cbc9; }
.badge-chip.off { background: #f3f3f3; color: #999; border-color: #e6e6e6; }
.st-badges { margin-bottom: 30px; }
.bd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bd-item { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px; background: #fafafa; border: 1px dashed #e3e3e3; }
.bd-item.on { background: #fff; border-style: solid; } .bd-item small { color: #888; } .bd-item.on small { color: #4f7f35; }
.bd-item .badge-chip { align-self: flex-start; }
.st-map-wrap.nomap { grid-template-columns: 1fr; }
.sort-menu summary .sm-arrow { font-size: 18px; }
/* ---------- step 20: server page header v3 (old big grey title in the band + clean info card) ---------- */
.crumb-row { margin-top: 16px; }
.srv-hero { grid-template-columns: minmax(0, 1fr) 360px; background: #fff; color: #444; border: 1px solid #e6e6e6; border-top: 4px solid #ccc; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.06); text-shadow: none; }
.srv-hero.is-on { border-top-color: #84ad6b; } .srv-hero.is-off { border-top-color: #d9534f; }
.sh-main { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sh-id { align-items: flex-start; }
.sh-id .sicon { box-shadow: 0 0 0 1px #e3e3e3, 0 4px 12px rgba(0,0,0,.12); }
.sh-rank { background: linear-gradient(135deg, #fff3df, #ffe2b0); color: #c46d00; box-shadow: inset 0 0 0 1px #ffd48a; }
.sh-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #a0a0a0; margin: 2px 0 8px; }
.chip { background: #f3f3f3; color: #555; border: 1px solid #ebebeb; } .chip .fa { color: #999; }
.chip.on { background: #eef7e8; color: #4f7f35; border-color: #d6eccb; } .chip.on .fa { color: #6aa64a; }
.chip.off { background: #fdeeee; color: #b52b27; border-color: #f6d3d2; } .chip.off .fa { color: #d9534f; }
.chip.gold { background: #fff5e2; color: #b86e00; border-color: #ffe0a8; } .chip.gold .fa { color: #f0a020; }
.srv-hero .motd { background: #f7f7f7; color: #444; border: 1px solid #eee; margin-top: 14px; }
.srv-hero .launch-box { background: #f5ecfa; color: #6b2f86; } .srv-hero .launch-box .fa { color: #8e44ad; }
.sh-side { background: linear-gradient(180deg, #fafafa, #f3f3f3); border-left: 1px solid #ececec; padding: 20px 22px; }
.sh-players b { color: #2b2b2b; } .sh-players b small { color: #999; } .sh-players > span { color: #999; } .sh-players small { color: #aaa; }
.srv-hero.is-off .sh-players b { color: #d9534f; }
.sh-players progress { background: #e4e4e4; } .sh-players progress::-webkit-progress-bar { background: #e4e4e4; }
.srv-hero .ipbox.big { background: #fff; color: #2b2b2b; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sh-btns .btn { border-radius: 8px; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.08); text-shadow: none; }
.btn.discord { background: #5865F2 !important; } .btn.discord .fa { font-size: 18px; }
.srv-banner { text-align: center; padding: 12px; line-height: 0; }
.srv-banner img, .srv-banner video { max-width: 100%; height: auto; border-radius: 6px; display: inline-block; }
@media (max-width: 900px) { .sh-side { border-left: 0; border-top: 1px solid #ececec; } }
/* Boost button: purple like the "Boosted by" pills */
.btn.boost, .vote-card .btn.boost { background: linear-gradient(135deg, #7b4ae2 0%, #a246d6 100%) !important; color: #fff; border: 0; box-shadow: 0 3px 10px rgba(123,74,226,.35); text-shadow: none; }
.btn.boost:hover { background: linear-gradient(135deg, #6a3ad2 0%, #8f37c2 100%) !important; color: #fff; }
/* light heroes: advertising + auction */
.adv-hero, .auc-hero { background: linear-gradient(135deg, #ffffff 0%, #fff8ec 55%, #ffe8c4 100%); color: #444; border: 1px solid #f1e3c9; text-shadow: none; box-shadow: 0 4px 18px rgba(222,133,0,.08); }
.adv-hero h1, .auc-hero h1 { color: #2b2b2b; text-shadow: none; }
.adv-hero p, .auc-hero p { color: #5d5d5d; }
.adv-hero .checks li::before { color: #6aa64a; }
.hero-bal { color: #666; } .hero-bal a { color: #de8500; }
.auc-hero { border-radius: 12px; padding: 26px 28px 22px; }
.auc-back a { color: #de8500; }
.auc-hero .chip { background: #fff; color: #555; border-color: #eee; } .auc-hero .chip.on { background: #eef7e8; color: #4f7f35; } .auc-hero .chip.gold { background: #fff5e2; color: #b86e00; }
.auc-step { background: #fff; border: 1px solid #f0e2c8; } .auc-step b { color: #2b2b2b; } .auc-step small { color: #888; }
.auc-step.live { border-color: #f0a020; box-shadow: 0 0 0 3px rgba(240,160,32,.18); }
/* dashboard quick actions */
.dash-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.dq { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #ececec; border-radius: 12px; color: #333; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .15s, box-shadow .15s, border-color .15s; text-shadow: none; }
.dq:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); color: #333; }
.dq .fa { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; }
.dq b { font-size: 15px; } .dq small { color: #888; font-size: 12px; }
.dq.green .fa { background: linear-gradient(135deg, #95c27a, #6f9a56); } .dq.gold .fa { background: linear-gradient(135deg, #f7d154, #d99a00); }
.dq.orange .fa { background: linear-gradient(135deg, #f7a400, #de6f00); } .dq.blue .fa { background: linear-gradient(135deg, #5fb8e6, #2f8fc4); }
.dq.gold.live { border-color: #f0c040; box-shadow: 0 0 0 3px rgba(240,192,64,.2); }
.dq-live { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 9px; background: #d9534f; color: #fff; font-size: 10px; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 900px) { .dash-quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .dash-quick { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .srv-hero { grid-template-columns: 1fr; } .sh-main { padding: 18px; } }
/* ---------- edit server: sections with a side menu ---------- */
.ef-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 16px 0 16px; }
.ef-head h1 { margin: 8px 0 2px; font-size: 28px; color: #2b2b2b; } .ef-head p { margin: 0; }
.ef-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ef-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 30px; }
.ef-nav { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.ef-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #444; font-weight: 600; text-decoration: none; font-size: 14px; }
.ef-nav a .fa { width: 18px; text-align: center; color: #aaa; }
.ef-nav a:hover { background: #fff5e6; color: #b86e00; } .ef-nav a:hover .fa { color: #de8500; }
.ef-nav a.danger:hover { background: #fdeeee; color: #b52b27; } .ef-nav a.danger:hover .fa { color: #d9534f; }
.ef-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 20px 22px 18px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.04); scroll-margin-top: 12px; }
.ef-card h2 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #f1f1f1; font-size: 18px; color: #2b2b2b; } .ef-card h2 .fa { color: #de8500; width: 22px; }
.ef-card label { display: block; font-weight: 600; color: #444; font-size: 14px; margin: 12px 0 5px; }
.ef-card label:first-of-type { margin-top: 0; }
.ef-card input[type=text], .ef-card input[type=url], .ef-card input[type=number], .ef-card input[type=date], .ef-card input[type=time], .ef-card textarea, .ef-card select:not([multiple]) { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; background: #fcfcfc; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.ef-card input:focus, .ef-card textarea:focus, .ef-card select:focus { outline: none; border-color: #de8500; background: #fff; box-shadow: 0 0 0 3px rgba(222,133,0,.14); }
.ef-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ef-card .two label { margin-top: 12px; }
.ef-card .help { font-size: 12.5px; color: #888; margin: 5px 0 0; }
.ef-card .check { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.ef-card input[type=file] { display: block; width: 100%; padding: 14px; border: 2px dashed #e0e0e0; border-radius: 10px; background: #fafafa; cursor: pointer; }
.ef-card input[type=file]:hover { border-color: #f0b35c; background: #fffaf2; }
.ef-sub { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #eee; }
.ef-savebar { position: sticky; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border: 1px solid #ececec; border-radius: 12px; box-shadow: 0 -4px 18px rgba(0,0,0,.06); }
.ef-savebar .btn { padding: 11px 26px; font-size: 15px; }
.ef-danger { border-color: #f3d0cf; } .ef-danger h2 .fa { color: #d9534f; }
.ef-del-row { display: flex; gap: 8px; } .ef-del-row input { flex: 1; }
@media (max-width: 900px) { .ef-layout { grid-template-columns: 1fr; } .ef-nav { position: static; flex-direction: row; overflow-x: auto; } .ef-nav a { white-space: nowrap; } .ef-card .two { grid-template-columns: 1fr; } }
/* dashboard tabs */
.dash-tabs { display: flex; gap: 6px; margin: 4px 0 16px; padding: 6px; background: #fff; border: 1px solid #ececec; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04); overflow-x: auto; }
.dash-tabs a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9px; color: #555; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.dash-tabs a .fa { color: #aaa; } .dash-tabs a:hover { background: #f6f6f6; color: #333; }
.dash-tabs a.on { background: linear-gradient(135deg, #f7a400, #de6f00); color: #fff; box-shadow: 0 3px 10px rgba(222,111,0,.25); } .dash-tabs a.on .fa { color: #fff; }
.dt-n { min-width: 22px; padding: 1px 7px; border-radius: 10px; background: #eee; color: #666; font-size: 12px; text-align: center; }
.dash-tabs a.on .dt-n { background: rgba(255,255,255,.25); color: #fff; }
.dash-panel[hidden] { display: none !important; }
.dash-panel > .ms-head h2 { font-size: 22px; color: #555; }
.support-form .lbl { display: block; } .muted.opt { font-weight: 400; font-size: 12.5px; }
/* auction overview v2 */
.auc-hero-index { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: center; margin-top: 16px; }
.ah-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #f3dcb5; color: #b86e00; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.auc-hero-index h1 { margin: 12px 0 8px; font-size: 32px; } .auc-hero-index h1 .fa { display: none; }
.ah-clock { background: #fff; border: 1px solid #f1e3c9; border-radius: 14px; padding: 18px; text-align: center; box-shadow: 0 6px 20px rgba(222,133,0,.1); }
.ah-clock small { display: block; color: #999; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ah-clock b { display: block; font-size: 26px; color: #2b2b2b; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.ah-clock span { color: #888; font-size: 13px; }
.ah-live { color: #d9534f !important; } .ah-live .fa { font-size: 14px; vertical-align: 3px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ag-title { font-size: 20px; color: #555; margin: 24px 0 12px; }
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ag-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid #ececec; border-radius: 14px; color: #333; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .15s, box-shadow .15s, border-color .15s; text-shadow: none; }
.ag-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.09); border-color: #f3c27a; color: #333; }
.ag-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .ag-top b { font-size: 16px; }
.ag-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ag-status .fa { font-size: 10px; } .ag-status.live { background: #fdeeee; color: #c9302c; } .ag-status.done { background: #f1f1f1; color: #888; } .ag-status.soon { background: #fff5e2; color: #b86e00; }
.ag-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ag-prices span { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 9px; background: #fafafa; font-weight: 700; font-size: 14px; color: #333; }
.ag-prices small { color: #999; font-weight: 600; font-size: 11px; }
.ag-prices .medal { width: 22px; height: 22px; font-size: 11px; font-style: normal; }
.ag-go { color: #de8500; font-weight: 700; font-size: 13px; } .ag-card:hover .ag-go .fa { transform: translateX(3px); } .ag-go .fa { transition: transform .15s; }
.ag-grid.small { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ag-grid.small .ag-prices span { font-size: 13px; }
.auc-hero .back-btn { margin-bottom: 6px; }
@media (max-width: 760px) { .auc-hero-index { grid-template-columns: 1fr; } }
.back-btn { padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #e6e6e6; box-shadow: 0 1px 4px rgba(0,0,0,.05); text-decoration: none; font-size: 13px; text-shadow: none; transition: border-color .15s, color .15s; }
.back-btn .fa { color: #de8500; } .back-btn:hover { background: #fff; border-color: #f0b35c; }
.ef-card .vr-mode, .ef-card .vr-range > label, .ef-card .shot-item, .ef-card .tp-suggest label { margin: 0; }
.ef-card .vr-modes { margin-top: 6px; }
.ag-prices { gap: 5px; } .ag-prices span { gap: 4px; padding: 6px 5px; font-size: 13px; justify-content: center; }
.ag-prices .medal { width: 18px; height: 18px; font-size: 10px; } .ag-prices small { font-size: 10px; }
/* ---------- pagination ---------- */
.pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 24px 0 30px; }
.pg-main { display: flex; align-items: center; gap: 8px; padding: 6px; background: #fff; border: 1px solid #ececec; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.05); max-width: 100%; }
.pg-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; background: linear-gradient(135deg, #f7a400, #de6f00); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; text-shadow: none; box-shadow: 0 2px 8px rgba(222,111,0,.25); transition: transform .15s, box-shadow .15s; }
.pg-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(222,111,0,.35); }
.pg-btn.off { background: #f1f1f1; color: #bbb; box-shadow: none; cursor: default; transform: none; }
.pg-nums { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pg-nums a, .pg-nums span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; color: #444; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.pg-nums a:hover { background: #fff3df; color: #b86e00; }
.pg-nums span.on { background: #2b2b2b; color: #fff; }
.pg-nums .gap { color: #bbb; padding: 0 2px; }
.pg-mobile { display: none; font-weight: 700; color: #444; padding: 0 6px; white-space: nowrap; }
.pg-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; color: #888; font-size: 13px; }
@media (max-width: 640px) {
  .pg-main { width: 100%; justify-content: space-between; }
  .pg-nums { display: none; } .pg-mobile { display: inline; }
  .pg-btn { flex: 1; justify-content: center; height: 46px; }
}
.owner-unlisted { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: #fff5e2; color: #8a5a00; font-size: 13px; }
.pager, .pager * { text-shadow: none; }
.pager { width: 100%; } .pg-btn { min-width: 0; }
@media (max-width: 640px) { .pg-main { box-sizing: border-box; } .pg-btn { padding: 0 10px; } }
.rank-chart { width: 100%; height: 150px; display: block; overflow: visible; }
.rank-chart polyline { fill: none; stroke: #de8500; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.rank-chart circle { fill: #fff; stroke: #de8500; stroke-width: 2; vector-effect: non-scaling-stroke; }
.rank-chart .ax { font-size: 11px; fill: #999; }
.voter-map .st-map-wrap { grid-template-columns: minmax(0, 1fr) 240px; }
@media (max-width: 800px) { .voter-map .st-map-wrap { grid-template-columns: 1fr; } }
body:has(.tg-pinbox) { padding-bottom: 0; } body:has(.tg-pinbox) .footer-dark { padding-bottom: 150px; } body:has(.tg-pinbox.min) .footer-dark { padding-bottom: 80px; }
.closed-box { max-width: 560px; margin: 40px auto; text-align: center; background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 34px 28px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.closed-box > .fa { font-size: 48px; color: #de8500; } .closed-box h1 { margin: 10px 0 8px; font-size: 24px; } .closed-box p { color: #666; }
/* ---------- nicer form inputs everywhere ---------- */
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=date], input[type=time], select, textarea {
  border-radius: 8px; border: 1px solid #d6d6d6; background-color: #fcfcfc; padding: 9px 12px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #de8500; background-color: #fff; box-shadow: 0 0 0 3px rgba(222,133,0,.15); }
select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
select[multiple] { background-image: none; padding-right: 12px; }
.btn.danger { background: #d9534f; } .btn.danger:hover { background: #c9302c; }
/* ---------- admin ---------- */
.is-admin .admin-nav { gap: 4px; padding: 6px; background: #fff; border: 1px solid #ececec; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04); margin: 14px 0 16px; }
.is-admin .admin-nav a { background: transparent; color: #555; border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.is-admin .admin-nav a:hover { background: #fff3df; color: #b86e00; }
.is-admin .admin-nav a.on { background: linear-gradient(135deg, #f7a400, #de6f00); color: #fff; }
.is-admin .admin-nav .badge { background: #d9534f; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; }
.is-admin .card { border-radius: 12px; border-color: #ececec; box-shadow: 0 2px 10px rgba(0,0,0,.04); padding: 20px 22px; }
.is-admin .card h1 { font-size: 22px; color: #2b2b2b; } .is-admin .card h2 { font-size: 18px; color: #333; } .is-admin .card h3 { font-size: 15px; margin: 18px 0 8px; color: #555; }
.is-admin label { font-size: 13px; color: #555; }
.is-admin .row-form { align-items: center; gap: 8px; }
.is-admin .row-form input, .is-admin .row-form select { width: auto; flex: 0 1 auto; max-width: 280px; height: 38px; padding-top: 0; padding-bottom: 0; }
.is-admin .row-form input[name=q] { flex: 1 1 240px; }
.is-admin .row-form .btn, .is-admin .row-form button { height: 38px; }
.is-admin .list-table { font-size: 13.5px; }
.is-admin .list-table thead th { background: #f7f7f7; color: #777; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e8e8e8; }
.is-admin .list-table th, .is-admin .list-table td { padding: 9px 10px; vertical-align: middle; }
.is-admin .list-table tbody tr:hover { background: #fffaf2; }
.is-admin .list-table tr.sel { background: #fff3df; }
.is-admin .btn.small { border-radius: 7px; padding: 6px 11px; }
.is-admin .tile { border-radius: 12px; }
.admin-help { background: #f3f8fd; border: 1px solid #d6e7f7; color: #335; border-radius: 10px; padding: 10px 14px; font-size: 14px; } .admin-help .fa { color: #2f8fc4; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #eee; color: #666; font-size: 12px; font-weight: 700; } .pill.on { background: #e5f4dc; color: #3f7a26; }
.switches { display: flex; flex-direction: column; gap: 10px; }
.switch-row { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px; border: 1px solid #eee; border-radius: 10px; cursor: pointer; font-weight: 400; }
.switch-row:hover { background: #fafafa; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-row .sw { flex: none; position: relative; width: 44px; height: 24px; border-radius: 12px; background: #ccc; transition: background .2s; margin-top: 2px; }
.switch-row .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch-row input:checked + .sw { background: #6aa64a; } .switch-row input:checked + .sw::after { transform: translateX(20px); }
.switch-row input:focus-visible + .sw { box-shadow: 0 0 0 3px rgba(222,133,0,.3); }
.switch-row b { display: block; color: #333; } .switch-row small { color: #888; font-size: 12.5px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 12px; margin-bottom: 12px; }
.price-grid label { margin: 0; display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: 12.5px; }
/* gallery uploader */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 10px; border: 2px dashed transparent; border-radius: 12px; transition: border-color .15s, background .15s; }
.gal.drag { border-color: #f0b35c; background: #fffaf2; }
.gal-item { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #f1f1f1; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-rm { position: absolute; left: 6px; bottom: 6px; margin: 0 !important; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 400; }
.gal-del { display: none; position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; transition: background .15s, transform .15s; }
.gal-del:hover { background: #d9534f; transform: scale(1.08); }
.gal.js .gal-rm { display: none; } .gal.js .gal-del { display: block; }
.gal-item.loading { display: flex; align-items: center; justify-content: center; } .gal-item.loading img, .gal-item.loading .gal-del { opacity: .3; }
.gal-spin, .busy-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #f0d3a6; border-top-color: #de8500; animation: spin .8s linear infinite; }
.gal-item.loading .gal-spin { position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }
.gal-add { aspect-ratio: 16 / 10; margin: 0 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 2px dashed #e0c58f; border-radius: 10px; background: #fffaf2; color: #b86e00; cursor: pointer; text-align: center; padding: 8px; transition: background .15s, border-color .15s; }
.gal-add:hover { background: #fff3df; border-color: #de8500; }
.gal-add[hidden] { display: none; }
.gal-add .fa { font-size: 26px; } .gal-add b { font-size: 14px; } .gal-add small { color: #a08050; font-weight: 400; font-size: 11.5px; }
.gal.js .gal-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gal:not(.js) .gal-add { aspect-ratio: auto; } 
.gal-count { font-weight: 400; }
/* add server: "checking your server" overlay */
.busy-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(20,20,22,.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.busy-box { background: #fff; border-radius: 16px; padding: 28px 30px; max-width: 360px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.busy-box .busy-spin { width: 44px; height: 44px; border-width: 4px; }
.busy-box b { font-size: 17px; color: #2b2b2b; } .busy-box small { color: #888; }
/* not listed yet (visitors) */
.unlisted-note { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fff8ea; border: 1px solid #f5ddb0; color: #6b4e14; }
.unlisted-note > .fa { font-size: 22px; color: #de8500; } .unlisted-note div { flex: 1; } .unlisted-note b { display: block; color: #4a3608; } .unlisted-note span { font-size: 13.5px; }
@media (max-width: 600px) { .unlisted-note { flex-wrap: wrap; } }
.ef-card .gal-add { display: flex; } .ef-card .gal-add[hidden] { display: none; } .gal-add small { display: block; line-height: 1.3; }
.bill-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #777; margin: 0; }
/* dashboard: not listed yet (most visible thing on the card) */
.ms-card.unlisted { grid-template-areas: "ul ul ul" "rank main stats" "rank actions actions"; border-color: #f0c675; box-shadow: 0 0 0 3px rgba(240,180,60,.15); }
.ms-unlisted { grid-area: ul; display: grid; grid-template-columns: minmax(0, 1fr) 170px; grid-template-areas: "head steps" "acts acts"; gap: 10px 16px; align-items: center; margin: -4px -4px 4px; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, #fff6e2, #ffefcf); border: 1px solid #f5d9a0; }
.mu-head { grid-area: head; display: flex; gap: 12px; align-items: flex-start; }
.mu-head > .fa { font-size: 24px; color: #de8500; margin-top: 2px; }
.mu-head b { display: block; font-size: 16px; color: #4a3608; } .mu-head span { font-size: 13.5px; color: #6b4e14; }
.mu-steps { grid-area: steps; display: flex; flex-direction: column; gap: 4px; }
.mu-steps progress { width: 100%; height: 10px; border: 0; border-radius: 5px; background: #f3dfb7; appearance: none; }
.mu-steps progress::-webkit-progress-bar { background: #f3dfb7; border-radius: 5px; } .mu-steps progress::-webkit-progress-value { background: #6aa64a; border-radius: 5px; } .mu-steps progress::-moz-progress-bar { background: #6aa64a; }
.mu-steps small { color: #6b4e14; font-weight: 700; text-align: right; }
.mu-actions { grid-area: acts; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .ms-unlisted { grid-template-columns: 1fr; grid-template-areas: "head" "steps" "acts"; } }
@media (max-width: 767px) { .ms-card.unlisted { grid-template-areas: "ul ul" "rank main" "stats stats" "actions actions"; } }
/* right after adding a server */
.welcome-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 16px 20px; border-radius: 12px; background: linear-gradient(135deg, #eef8e8, #e2f2d8); border: 1px solid #c9e4b7; box-shadow: 0 4px 16px rgba(106,166,74,.12); animation: fadeIn .4s; }
.wb-text b { display: block; font-size: 18px; color: #2f5a1c; } .wb-text span { color: #4a6b3a; font-size: 14px; }
.wb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-pop { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 330px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; padding: 22px 22px 16px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.25); border: 1px solid #f1e3c9; }
.gift-pop.in { animation: giftIn .45s cubic-bezier(.2,1.3,.4,1); }
@keyframes giftIn { from { opacity: 0; transform: translateY(30px) scale(.95); } }
.gift-pop[hidden] { display: none; }
.gp-ic { font-size: 40px; line-height: 1; } .gift-pop h3 { margin: 8px 0 6px; font-size: 19px; color: #2b2b2b; } .gift-pop p { color: #555; margin: 0 0 10px; font-size: 14px; }
.gp-time { color: #b86e00 !important; } .gift-pop .btn.big { display: block; width: 100%; }
.gp-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 24px; color: #aaa; cursor: pointer; }
.gp-later { margin-top: 8px; border: 0; background: none; color: #999; font-size: 13px; cursor: pointer; text-decoration: underline; }
/* ---------- Server Quest ---------- */
.quest { background: linear-gradient(135deg, #fffdf7, #fff4de); border: 1px solid #f2dcae; border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 4px 18px rgba(222,133,0,.08); scroll-margin-top: 12px; }
.q-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.q-title { display: flex; gap: 14px; align-items: flex-start; }
.q-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #f7d154, #de8500); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 12px rgba(222,133,0,.3); }
.quest h2 { margin: 0 0 4px; font-size: 20px; color: #2b2b2b; } .q-title p { margin: 0; color: #6b5a3a; font-size: 14px; max-width: 640px; }
.q-level { text-align: center; } .q-level b { display: block; font-size: 30px; line-height: 1; color: #c46d00; } .q-level small { color: #a08050; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.q-track { position: relative; margin: 26px 0 34px; }
.q-track progress { width: 100%; height: 14px; border: 0; border-radius: 7px; background: #f1dfbd; appearance: none; display: block; }
.q-track progress::-webkit-progress-bar { background: #f1dfbd; border-radius: 7px; }
.q-track progress::-webkit-progress-value { background: linear-gradient(90deg, #f7a400, #6aa64a); border-radius: 7px; } .q-track progress::-moz-progress-bar { background: linear-gradient(90deg, #f7a400, #6aa64a); border-radius: 7px; }
.q-ms { position: absolute; top: -9px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.q-ms[data-at="40"] { left: 40%; } .q-ms[data-at="70"] { left: 70%; } .q-ms[data-at="100"] { left: calc(100% - 16px); transform: none; align-items: flex-end; }
.q-ms .fa { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid #e6cf9f; color: #c9a45a; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.q-ms.ready .fa { border-color: #f7a400; color: #de8500; animation: pulse 1.6s infinite; } .q-ms.got .fa { background: #6aa64a; border-color: #6aa64a; color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(247,164,0,.2); } }
.q-ms small { margin-top: 4px; font-size: 11px; font-weight: 700; color: #8a6d35; white-space: nowrap; }
.q-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #fff; color: #8a5a00; font-size: 13px; border: 1px solid #f2dcae; }
.q-tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-tasks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #f0e3c8; }
.q-tasks li.done { background: #f3faef; border-color: #d4eac6; }
.qt-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: #fff3df; color: #de8500; display: flex; align-items: center; justify-content: center; }
.q-tasks li.done .qt-ic { background: #6aa64a; color: #fff; }
.qt-txt { flex: 1; min-width: 0; } .qt-txt b { display: block; font-size: 14px; color: #333; } .qt-txt small { color: #8a7a5a; font-size: 12px; }
.q-tasks li.done .qt-txt b { color: #4f7f35; }
.qt-pct { font-weight: 800; color: #c46d00; font-size: 13px; } .q-tasks li.done .qt-pct { color: #6aa64a; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: #6b5a3a; font-size: 13px; }
@media (max-width: 760px) { .q-tasks { grid-template-columns: 1fr; } .q-head { flex-direction: column; } }
/* dashboard: compact quest */
.ms-quest { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quest-mini { flex: 1; display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fffaf0; border: 1px solid #f2dcae; color: #6b5a3a; text-decoration: none; font-size: 13px; transition: border-color .15s; }
.quest-mini:hover { border-color: #de8500; color: #6b5a3a; }
.qm-lbl { font-weight: 800; color: #c46d00; white-space: nowrap; }
.qm-bar { position: relative; } .qm-bar progress { width: 100%; height: 8px; border: 0; border-radius: 4px; background: #f1dfbd; appearance: none; display: block; }
.qm-bar progress::-webkit-progress-bar { background: #f1dfbd; border-radius: 4px; } .qm-bar progress::-webkit-progress-value { background: linear-gradient(90deg, #f7a400, #6aa64a); border-radius: 4px; } .qm-bar progress::-moz-progress-bar { background: #f7a400; }
.qm-mark { position: absolute; top: -3px; width: 4px; height: 14px; border-radius: 2px; background: #e0c58f; } .qm-mark.got { background: #6aa64a; }
.qm-mark[data-at="40"] { left: 40%; } .qm-mark[data-at="70"] { left: 70%; } .qm-mark[data-at="100"] { left: calc(100% - 4px); }
.qm-next { white-space: nowrap; font-weight: 600; }
.btn.quest-btn { background: linear-gradient(135deg, #f7a400, #de6f00); color: #fff; }
@media (max-width: 767px) { .ms-quest { grid-column: 1 / -1; } .quest-mini { grid-template-columns: 1fr; } }
.ms-card { grid-template-areas: "rank main stats" "rank quest quest" "rank actions actions"; }
.ms-card.unlisted { grid-template-areas: "ul ul ul" "rank main stats" "rank quest quest" "rank actions actions"; }
.ms-quest { grid-area: quest; grid-column: auto; }
@media (max-width: 767px) { .ms-card { grid-template-areas: "rank main" "stats stats" "quest quest" "actions actions"; } .ms-card.unlisted { grid-template-areas: "ul ul" "rank main" "stats stats" "quest quest" "actions actions"; } .ms-quest { grid-column: auto; } }
.ef-adv { margin-top: 8px; } .ef-adv summary { cursor: pointer; color: #de8500; font-size: 13px; font-weight: 600; } .ef-adv[open] summary { margin-bottom: 4px; }
.ef-adv input { max-width: 200px; }
.q-ms[data-at="100"] { left: auto; right: 0; transform: none; align-items: flex-end; }
.mon-result { margin: 12px 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; } .mon-result.on { background: #eef7e8; color: #3f7a26; } .mon-result.off { background: #fdeeee; color: #a33; }
.mon-errs div { font-size: 12.5px; color: #666; } .mon-errs b { color: #a33; }
/* Admin: cleanup + broken links */
.cl-filter label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; }
.cl-filter label input[type=number] { width: 80px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 16px; }
.stat-row .stat { display: flex; flex-direction: column; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; min-width: 120px; }
.stat-row .stat b { font-size: 20px; } .stat-row .stat span { color: #888; font-size: 12.5px; }
.stat-row a.stat:hover, .stat-row .stat.on { border-color: var(--orange); }
.mon-errs a { color: inherit; } .mon-errs a:hover { color: var(--orange-dark); }
/* Discord category */
.dc-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; font-size: 13.5px; }
.dc-chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: #555; text-decoration: none; background: #fff; }
.dc-chip:hover { border-color: #5865F2; color: #5865F2; } .dc-chip.on { background: #5865F2; border-color: #5865F2; color: #fff; }
.dc-chip.dc-nsfw { margin-left: auto; }
.dc-icon { width: 28px; height: 28px; border-radius: 50%; vertical-align: -7px; margin-right: 8px; object-fit: cover; }
.dc-icon.big { width: 56px; height: 56px; display: block; margin: 0 auto 6px; }
.dc-verified { color: #5865F2; }
.dc-stats { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; }
.dc-num { font-size: 13px; color: #666; white-space: nowrap; } .dc-num b { color: #333; font-size: 15px; }
.dc-on .fa, .fa.dc-on { color: #23a55a; font-size: 9px; vertical-align: 2px; }
.dc-grow { font-size: 12px; color: #23a55a; font-weight: 600; }
.dc-join { display: inline-flex; gap: 6px; align-items: center; background: #5865F2; color: #fff !important; padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.dc-join:hover { background: #4752c4; }
.dc-box span { color: #666; font-size: 13px; text-transform: none; } .dc-box b { color: #333 !important; }
.dc-chart polyline { stroke: #5865F2; } .dc-chart circle { fill: #5865F2; }
.wh-field { margin: 8px 0 14px; } .wh-field small { display: block; margin-top: 4px; } .ok-txt { color: #23a55a; }
@media (max-width: 700px) { .dc-stats { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; } .dc-chip.dc-nsfw { margin-left: 0; } }
.req { color: #d9534f; font-weight: 700; }
.dc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dc-tags a { padding: 4px 10px; border-radius: 6px; background: #eef0fe; color: #4752c4; font-size: 13px; text-decoration: none; }
.dc-tags a span { color: #8a90d8; font-size: 11.5px; margin-left: 2px; } .dc-tags a:hover { background: #5865F2; color: #fff; } .dc-tags a:hover span { color: #dfe2ff; }
.dc-tags a.more { background: none; color: #5865F2; font-weight: 600; }
/* Admin: accounting */
.w-130 { width: 130px; }
.acc-files { list-style: none; padding: 0; margin: 8px 0 16px; columns: 2; }
.acc-files li { padding: 4px 0; } .acc-files .fa { width: 18px; color: #888; }
.acc-log pre { max-height: 260px; overflow: auto; background: #f7f7f7; padding: 10px; font-size: 12px; white-space: pre-wrap; }
@media (max-width: 700px) { .acc-files { columns: 1; } }
/* Pop-up windows: Vote + Report (header band, body, buttons) */
.dlg.dlg-wide { max-width: 480px; } .dlg.dlg-vote { max-width: 420px; }
.dlg-form { position: relative; }
.dlg-head { display: flex; align-items: center; gap: 12px; padding: 18px 48px 16px 20px; color: #fff; border-radius: 10px 10px 0 0; }
.dlg-head > .fa { font-size: 22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.dlg-head h3 { margin: 0; font-size: 17px; line-height: 1.25; color: #fff; }
.dlg-head span { font-size: 13px; opacity: .9; }
.dlg-head.vote { background: linear-gradient(135deg, #5cb85c, #3f9a3f); }
.dlg-head.report { background: linear-gradient(135deg, #e0574f, #b8322b); }
.dlg-head .dlg-x { color: rgba(255,255,255,.85); top: 10px; }
.dlg-head .dlg-x:hover { color: #fff; }
.dlg-body { padding: 18px 20px 20px; }
.dlg-body label { display: block; font-weight: 600; margin: 4px 0 6px; }
.dlg-body textarea { width: 100%; resize: vertical; }
.dlg-body .help { font-size: 12.5px; color: #888; margin: -4px 0 12px; }
.dlg .btn.big { font-size: 17px; padding: 12px; }
.dlg .vote-boost { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dlg .vote-boost .boost-now { text-align: center; margin: 8px 0 0; font-size: 13px; }
.rp-reasons { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp-reasons legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.rp-opt { margin: 0 !important; font-weight: 400 !important; cursor: pointer; }
.rp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rp-opt span { display: flex; gap: 8px; align-items: flex-start; height: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; line-height: 1.3; transition: border-color .15s, background .15s; }
.rp-opt span .fa { color: #b8322b; margin-top: 2px; width: 14px; text-align: center; }
.rp-opt:hover span { border-color: #e0a19c; }
.rp-opt input:checked + span { border-color: #c9302c; background: #fdf1f0; box-shadow: 0 0 0 1px #c9302c inset; }
.rp-opt input:focus-visible + span { outline: 2px solid #c9302c; outline-offset: 1px; }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.btn.red { background: #c9302c; color: #fff; } .btn.red:hover { background: #a92723; }
@media (max-width: 480px) { .rp-reasons { grid-template-columns: 1fr; } }
/* server page: one column on phones and tablets (this rule must come after the 2-column one) */
@media (max-width: 900px) { .sp { grid-template-columns: minmax(0, 1fr); } .sp > section { order: -1; } }
.dlg .btn.green.big { background: #3f9a3f; color: #fff; box-shadow: 0 3px 10px rgba(63,154,63,.3); } .dlg .btn.green.big:hover { background: #358535; }
/* Vote window: Boost part with text, both buttons the same height; no sideways scroll in pop-ups */
.dlg { overflow-x: hidden; }
.rp-opt { position: relative; display: block; }
.dlg .btn.big { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; padding: 10px 14px; line-height: 1.2; }
.vb-info { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #f5f0ff, #fbf4ff); border: 1px solid #e4d8fb; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.vb-rocket { font-size: 26px; line-height: 1; }
.vb-info b { display: block; color: #5b2fb5; margin-bottom: 2px; }
.vb-info small { display: block; color: #666; font-size: 12.5px; line-height: 1.4; }
.vb-info .vb-who { margin-top: 6px; color: #7b4ae2; font-weight: 600; }
.vb-info .boost-tag { font-weight: 700; }
.tebex-replay { margin: 12px 0; } .tebex-replay summary { cursor: pointer; font-weight: 600; } .tebex-replay textarea { width: 100%; font-family: monospace; font-size: 12px; }
