/* =====================================================================
   WoNO Online - layout & theme (loaded after main.css)
   ===================================================================== */
:root {
  --sp-bg: #100809;
  --sp-bg2: #221112;
  --sp-panel: rgba(33, 17, 18, .92);
  --sp-panel2: rgba(51, 26, 28, .9);
  --sp-line: rgba(247, 81, 69, .45);
  --sp-line2: rgba(247, 81, 69, .18);
  --sp-blue: #f20f1b;
  --sp-cyan: #f75145;
  --sp-gold: #ffbf25;
  --sp-orange: #ff8a00;
  --sp-txt: #fcf8f7;
  --sp-dim: #c1b2af;
  --sp-glow: 0 0 14px rgba(243, 27, 38, .35), inset 0 0 22px rgba(237, 12, 24, .08);
  --sp-r: 12px;
  --sp-head: 'Teko', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --sp-font: 'Roboto Condensed', Verdana, Arial, sans-serif;
}

/* ---------- base ---------- */
body.sp {
  background: radial-gradient(1200px 600px at 50% -10%, rgba(243, 27, 38, .35), transparent 70%),
              linear-gradient(180deg, #1d0e0f 0%, var(--sp-bg) 60%) fixed !important;
  background-color: var(--sp-bg) !important;
  color: var(--sp-txt);
  font-family: var(--sp-font);
  font-size: 14px;
  min-height: 100vh;
  overflow-x: hidden;
}
body.sp a { color: var(--sp-cyan); text-decoration: none; }
body.sp a:hover { color: #fff; text-decoration: none; }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp-wrap { width: 100%; max-width: 1460px; margin: 0 auto; padding: 0 16px; }
.sp-i { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.sp-empty { color: var(--sp-dim); font-size: 13px; padding: 6px 2px; list-style: none; }

/* full-page background picture (fixed, scales to any screen, also works on phones) */
.sp-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(../images/wono-theme/page_bg.jpg) center top / cover no-repeat, var(--sp-bg);
}
.sp-bg::after { /* darkens the picture under the panels so text stays readable */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 8, 9, .05) 0%, rgba(16, 8, 9, .35) 28%, rgba(16, 8, 9, .62) 55%, rgba(16, 8, 9, .78) 100%);
}

/* drifting ki sparks */
.sp-sparks { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sp-sparks i {
  position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--sp-cyan); box-shadow: 0 0 8px 2px rgba(247, 81, 69, .8);
  opacity: 0; animation: sp-rise linear infinite;
}
@keyframes sp-rise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sp-sparks { display: none; } }

/* ---------- top bar ---------- */
.sp-top { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding-top: 12px; }
.sp-top-in { display: flex; align-items: flex-start; justify-content: flex-end; gap: 12px; padding-left: 390px; } /* left side is kept free for the logo */
.sp-nav {
  display: flex; align-items: stretch; margin-left: auto; min-width: 0;
  background: linear-gradient(180deg, rgba(51, 26, 28, .95), rgba(22, 11, 12, .95));
  border: 1px solid var(--sp-line); border-radius: 12px; box-shadow: var(--sp-glow);
}
.sp-nav-a {
  display: flex; align-items: center; gap: 6px; padding: 0 13px; height: 46px;
  color: var(--sp-txt) !important; font: 500 20px/1 var(--sp-head); letter-spacing: .3px;
  background: none; border: 0; border-right: 1px solid var(--sp-line2); cursor: pointer; white-space: nowrap;
}
.sp-nav > :last-child .sp-nav-a, .sp-nav > .sp-nav-a:last-child { border-right: 0; }
.sp-nav-a .sp-i:first-child { width: 19px; height: 19px; color: #f6e7e4; }
.sp-nav-a .sp-i:last-child:not(:first-child) { width: 14px; height: 14px; opacity: .8; }
.sp-nav-a:hover, .sp-dd:hover > .sp-nav-a, .sp-dd.is-open > .sp-nav-a { background: rgba(242, 15, 27, .18); color: #fff !important; }
.sp-nav-a.is-on {
  background: linear-gradient(180deg, #f63426, #bb1019); border-radius: 11px 0 0 11px;
  box-shadow: 0 0 16px rgba(242, 15, 27, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.sp-dd { position: relative; display: flex; }
.sp-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 6px;
  background: rgba(27, 14, 15, .98); border: 1px solid var(--sp-line); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), var(--sp-glow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s; z-index: 60;
}
.sp-dd:hover .sp-dd-menu, .sp-dd.is-open .sp-dd-menu { opacity: 1; visibility: visible; transform: none; }
.sp-dd-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--sp-txt) !important; font-size: 14px; }
.sp-dd-menu a:hover { background: rgba(242, 15, 27, .25); color: #fff !important; }
.sp-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sp-status {
  display: flex; align-items: center; gap: 8px; padding: 4px 12px; font-size: 13px; color: var(--sp-txt);
  background: rgba(22, 11, 12, .85); border: 1px solid var(--sp-line2); border-radius: 20px;
}
.sp-status b { color: #fff; }
.sp-dot { width: 10px; height: 10px; border-radius: 50%; background: #e04848; box-shadow: 0 0 8px #e04848; }
.sp-dot.on { background: #33e06a; box-shadow: 0 0 8px #33e06a; }
.sp-sep { width: 1px; height: 14px; background: var(--sp-line); }
.sp-search {
  display: flex; align-items: center; width: 180px; height: 38px;
  background: rgba(22, 11, 12, .92); border: 1px solid var(--sp-line); border-radius: 10px; box-shadow: var(--sp-glow);
}
.sp-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; color: #fff !important; padding: 0 12px; font-size: 14px; outline: 0; }
.sp-search input::placeholder { color: var(--sp-dim); }
.sp-search button { background: none; border: 0; color: #fff; padding: 0 12px; height: 100%; cursor: pointer; }
.sp-burger { display: none; background: rgba(22, 11, 12, .9); border: 1px solid var(--sp-line); border-radius: 10px; color: #fff; width: 46px; height: 46px; }
.sp-burger .sp-i { width: 24px; height: 24px; }

/* ---------- header ---------- */
.sp-hero { position: relative; height: 300px; z-index: 1; }
.sp-hero::before { /* blue glow behind the logo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 240px at 18% 45%, rgba(237, 12, 24, .45), transparent 70%);
}
.sp-hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-start; }
.sp-logo { position: relative; z-index: 4; display: block; width: 360px; margin-top: 8px; text-align: center; }
.sp-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(237, 12, 24, .55)); transition: transform .2s; }
.sp-logo:hover img { transform: scale(1.03); }
.sp-hero-txt { display: block; margin-top: 2px; color: #fff; font: 500 26px/1 var(--sp-head); letter-spacing: 1px; text-shadow: 0 2px 6px #000, 0 0 12px rgba(237, 12, 24, .9); font-style: italic; }
.sp-hero-char { position: absolute; left: 370px; bottom: -205px; z-index: 2; height: 470px; }
.sp-hero-char img { height: 100%; width: auto; filter: drop-shadow(0 0 22px rgba(237, 12, 24, .55)); }

/* ---------- 3 columns ---------- */
.sp-main { position: relative; z-index: 3; display: grid; grid-template-columns: 240px minmax(0, 1fr) 360px; gap: 14px; margin-top: -40px; align-items: start; }
.sp-left, .sp-right, .sp-center { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ---------- panel ---------- */
.sp-panel {
  position: relative; background: linear-gradient(180deg, var(--sp-panel2), var(--sp-panel));
  border: 1px solid var(--sp-line); border-radius: var(--sp-r); box-shadow: var(--sp-glow);
}
.sp-panel::before { /* glowing top edge */
  content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sp-cyan), transparent); opacity: .8;
}
.sp-ph {
  display: flex; align-items: center; gap: 9px; padding: 10px 14px 8px;
  border-bottom: 1px solid var(--sp-line2); color: #fff; font: 500 25px/1 var(--sp-head); letter-spacing: .4px;
}
.sp-ph .sp-i { width: 26px; height: 26px; color: var(--sp-gold); }
.sp-ph .sp-ball { filter: drop-shadow(0 0 6px rgba(240, 40, 40, .7)); }
.sp-more { margin-left: auto; display: flex; align-items: center; gap: 2px; color: var(--sp-gold) !important; font: 500 18px/1 var(--sp-head); }
.sp-more .sp-i { width: 14px; height: 14px; color: var(--sp-gold); }
.sp-more:hover { color: #fff !important; }
.sp-pb { padding: 12px 14px; }

/* ---------- buttons & fields ---------- */
.sp-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px;
  border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  font: 500 21px/1 var(--sp-head); letter-spacing: .4px; transition: filter .15s, transform .15s, box-shadow .15s;
}
.sp-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.sp-btn .sp-i { width: 16px; height: 16px; }
.sp-btn-gold { background: linear-gradient(180deg, #ff5a45, #e0202a 60%, #a80f17); color: #fff !important; border-color: #ff8f7f; box-shadow: 0 0 14px rgba(240, 40, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sp-btn-ghost { background: rgba(242, 15, 27, .15); color: #fff !important; border-color: var(--sp-line); margin-top: 8px; }
.sp-btn-red { background: rgba(224, 72, 72, .18); color: #ffb3b3 !important; border-color: rgba(224, 72, 72, .5); margin-top: 8px; height: 34px; font-size: 18px; }
.sp-btn-sm { display: inline-flex; width: auto; height: 36px; padding: 0 18px; }
.sp-field {
  display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 0 9px; padding: 0 10px;
  background: rgba(22, 11, 12, .85); border: 1px solid var(--sp-line2); border-radius: 8px; font-weight: normal;
}
.sp-field:focus-within { border-color: var(--sp-cyan); box-shadow: 0 0 10px rgba(247, 81, 69, .35); }
.sp-field .sp-i { color: #f6e7e4; }
.sp-field input { flex: 1; min-width: 0; background: none !important; border: 0; outline: 0; color: #fff !important; font-size: 14px; }
.sp-field input::placeholder { color: var(--sp-dim); }
.sp-links { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 10px; font-size: 13px; font-weight: bold; }
.sp-links a { color: var(--sp-gold) !important; }
.sp-welcome { font: 500 22px/1 var(--sp-head); color: var(--sp-gold); margin-bottom: 6px; }
.sp-acc-name { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: #fff; font-weight: bold; word-break: break-all; }

/* ---------- game menu ---------- */
.sp-menu { padding: 6px 8px 8px; }
.sp-menu a {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px;
  color: var(--sp-txt) !important; font: 400 19px/1.1 var(--sp-head); letter-spacing: .3px;
}
.sp-menu a span { flex: 1; }
.sp-menu a .sp-i:first-child { color: #f3dfdb; width: 19px; height: 19px; }
.sp-menu a .sp-i:last-child { width: 14px; height: 14px; opacity: .6; }
.sp-menu a:hover, .sp-menu a.is-on { background: linear-gradient(90deg, rgba(242, 15, 27, .35), transparent); color: #fff !important; }
.sp-menu a:hover .sp-i:first-child, .sp-menu a.is-on .sp-i:first-child { color: var(--sp-cyan); }
.sp-menu-sep { height: 1px; margin: 6px 8px; background: var(--sp-line2); }
.sp-discord {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px;
  background: linear-gradient(180deg, var(--sp-panel2), var(--sp-panel)); border: 1px solid var(--sp-line); border-radius: var(--sp-r);
  box-shadow: var(--sp-glow); color: #fff !important; font: 500 24px/1 var(--sp-head); transition: transform .15s;
}
.sp-discord:hover { transform: translateY(-2px); }
.sp-discord .sp-i { width: 40px; height: 40px; color: #8c96ff; }
.sp-discord small { display: block; font: 400 15px/1 var(--sp-font); color: var(--sp-dim); }

/* ---------- home: tiles ---------- */
.sp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-tile {
  display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 12px 14px; background: linear-gradient(180deg, var(--sp-panel2), var(--sp-panel));
  border: 1px solid var(--sp-line); border-radius: var(--sp-r); box-shadow: var(--sp-glow); transition: transform .15s, border-color .15s;
}
.sp-tile:hover { transform: translateY(-2px); border-color: var(--sp-cyan); }
.sp-ti { grid-row: 1 / 3; display: flex; }
.sp-ti .sp-i { width: 44px; height: 44px; }
.sp-ti.g { color: #3ee072; } .sp-ti.y { color: var(--sp-gold); } .sp-ti.o { color: var(--sp-orange); } .sp-ti.b { color: var(--sp-cyan); }
.sp-tile b { color: #fff; font: 500 clamp(22px, 1.9vw, 30px)/1 var(--sp-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-tile small { color: var(--sp-txt); font-size: 14px; }

/* ---------- home: news ---------- */
.sp-news { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 12px; }
.sp-news-main {
  position: relative; display: grid; grid-template-columns: 44% 1fr; min-height: 230px; overflow: hidden;
  border: 1px solid var(--sp-line); border-radius: 10px; background: rgba(22, 11, 12, .7);
}
.sp-news-img { position: relative; background: radial-gradient(circle at 40% 40%, rgba(242, 15, 27, .55), rgba(22, 11, 12, .9) 70%); }
.sp-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 6px; background: linear-gradient(180deg, #ff5a45, #b3121b); color: #fff; font: 500 18px/1 var(--sp-head); }
.sp-news-txt { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-news-txt h2 { margin: 0; color: #fff; font: italic 500 30px/1 var(--sp-head); text-shadow: 0 0 10px rgba(237, 12, 24, .8); }
.sp-date { display: flex; align-items: center; gap: 6px; color: var(--sp-txt); font-size: 14px; }
.sp-date .sp-i { width: 16px; height: 16px; color: var(--sp-orange); }
.sp-news-txt p { margin: 0; color: var(--sp-txt); line-height: 1.45; flex: 1; }
.sp-news-list { display: flex; flex-direction: column; gap: 8px; }
.sp-news-item {
  display: flex; align-items: center; gap: 10px; padding: 6px; flex: 1;
  border: 1px solid var(--sp-line2); border-radius: 9px; background: rgba(22, 11, 12, .55); color: #fff !important; transition: border-color .15s, background .15s;
}
.sp-news-item:hover { border-color: var(--sp-cyan); background: rgba(242, 15, 27, .15); }
.sp-news-thumb { position: relative; flex: none; width: 104px; height: 64px; border-radius: 7px; overflow: hidden; border: 1px solid var(--sp-line2); background: radial-gradient(circle, rgba(242, 15, 27, .5), rgba(22, 11, 12, .9)); }
.sp-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-news-it { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sp-news-it b { font: 500 19px/1.05 var(--sp-head); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sp-news-it small { display: flex; align-items: center; gap: 4px; color: var(--sp-dim); }
.sp-news-it small .sp-i { width: 13px; height: 13px; color: var(--sp-orange); }
.sp-news-item > .sp-i { color: var(--sp-orange); }

/* ---------- home: explore ---------- */
.sp-explore { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sp-ex {
  position: relative; display: block; height: 160px; overflow: hidden; border-radius: 10px; border: 1px solid var(--sp-line);
  background: radial-gradient(circle at 50% 35%, rgba(242, 15, 27, .6), rgba(22, 11, 12, .95) 75%); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sp-ex:hover { transform: translateY(-3px); border-color: var(--sp-cyan); box-shadow: 0 0 18px rgba(247, 81, 69, .5); }
.sp-ex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sp-ex:hover img { transform: scale(1.06); }
.sp-ex-ph { position: absolute; top: 10px; left: 8px; right: 8px; color: rgba(255, 255, 255, .35); font-size: 10px; text-align: center; word-break: break-all; }
.sp-ex-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 6px 8px; text-align: center; background: linear-gradient(0deg, rgba(16, 8, 9, .95), transparent); }
.sp-ex-t b { display: block; color: #fff; font: italic 500 clamp(18px, 1.7vw, 28px)/1 var(--sp-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; text-shadow: 0 0 6px #000, 0 0 10px rgba(237, 12, 24, .8); }
.sp-ex-t small { display: block; color: var(--sp-txt); font-size: 13px; margin-top: 2px; }

/* ---------- right column ---------- */
.sp-event {
  position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 120px; padding: 14px 16px; overflow: hidden;
  background: linear-gradient(110deg, #361b1c, #602d31 60%, #5a2bb8); border: 1px solid var(--sp-line); border-radius: var(--sp-r);
  box-shadow: var(--sp-glow); color: #fff !important;
}
/* Sasuke stands in the middle of the box and holds the "More Info" button on his open hand */
.sp-event { overflow: visible !important; }
.sp-event-char { position: absolute; right: 60px; top: -80px; width: 230px; height: 420px; z-index: 0; pointer-events: none;
  /* the head pops out above the box, the body is cut at the bottom edge of the box */
  clip-path: inset(-100px -60px calc(100% - 80px - var(--sp-ev-h, 132px)) -60px); }
.sp-event-char img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 10px rgba(0, 0, 0, .55)); transition: transform .3s; transform-origin: 88% 30%; }
.sp-event:hover .sp-event-char img { transform: translateY(-2px); }
.sp-event > span:not(.sp-event-char) { text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, .85); }
.sp-event .sp-btn { position: absolute !important; z-index: 2; right: 16px; top: 50%; margin: 0 !important; transform: translateY(-50%); }
.sp-event .sp-btn:hover { transform: translateY(calc(-50% - 1px)); }
.sp-event > span:not(.sp-event-char) { position: relative; z-index: 1; }
.sp-event-lbl { font-size: 16px; color: var(--sp-txt); }
.sp-event-name { font: italic 500 32px/1 var(--sp-head); color: var(--sp-gold); text-shadow: 0 0 10px rgba(220, 30, 30, .6); max-width: 75%; }
.sp-event-time { font-size: 16px; color: #fff; }
.sp-event-cd { font: 500 18px/1 var(--sp-head); color: var(--sp-cyan); letter-spacing: .5px; }
.sp-event .sp-btn { align-self: flex-end; height: 30px; font-size: 18px; margin-top: -26px; }
.sp-rank, .sp-kills { list-style: none; margin: 0; padding: 6px 12px 10px; counter-reset: sp; }
.sp-rank li { counter-increment: sp; border-bottom: 1px solid var(--sp-line2); }
.sp-rank li:last-child, .sp-kills li:last-child { border-bottom: 0; }
.sp-rank a { display: flex; align-items: center; gap: 10px; padding: 5px 2px; color: #fff !important; }
.sp-rank a::before { content: counter(sp) "."; width: 18px; color: var(--sp-gold); font-weight: bold; }
.sp-rank img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: rgba(22, 11, 12, .8); border: 1px solid var(--sp-line2); }
.sp-rn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.sp-lvl { color: var(--sp-gold); font-weight: bold; font-size: 14px; white-space: nowrap; }
.sp-lvl.sp-k { color: var(--sp-dim); font-weight: normal; font-size: 12px; }
.sp-rank a:hover .sp-rn { color: var(--sp-cyan); }
.sp-kills { counter-reset: spk; }
.sp-kills li { counter-increment: spk; display: flex; align-items: center; gap: 5px; padding: 5px 2px; border-bottom: 1px solid var(--sp-line2); font-size: 14px; }
.sp-kills li::before { content: counter(spk) "."; width: 18px; color: var(--sp-gold); font-weight: bold; }
.sp-kills li.sp-empty::before { content: none; }
.sp-kills a { color: #fff !important; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-kills a:hover { color: var(--sp-cyan) !important; }
.sp-kills .sp-i { width: 14px; height: 14px; color: var(--sp-orange); }
.sp-kills small { margin-left: auto; color: var(--sp-dim); white-space: nowrap; }

/* ---------- content pages ---------- */
.sp-content .sp-pb { padding: 16px 18px; }
.sp-content .main-content { color: var(--sp-txt); text-shadow: none; }
.main-content {
  --wp-bg: #221112;
  --wp-card: #3c1f21;
  --wp-card2: #30181a;
  --wp-hover: #572e31;
  --wp-line: #932328;
  --wp-head: #1e0f10;
  --wp-txt: #faf1ef;
  --wp-dim: #c1b2af;
  --wp-acc: #ffbf25;
  --wp-acc2: #f75145;
  --wp-gold: #ffd76a;
}
.main-content .wp-h { font-family: var(--sp-head); }
/* bootstrap tables / forms used by MyAAC pages */
.main-content .table, .main-content .TableContent { color: var(--sp-txt); }
.main-content .table > tbody > tr > td, .main-content .table > thead > tr > th { border-color: var(--sp-line2); }
.main-content .table-striped > tbody > tr:nth-of-type(odd) { background: rgba(242, 15, 27, .07); }
.main-content input[type=text], .main-content input[type=password], .main-content input[type=email], .main-content input[type=number],
.main-content select, .main-content textarea {
  background: rgba(22, 11, 12, .9); color: #fff; border: 1px solid var(--sp-line); border-radius: 6px; padding: 5px 8px;
}
.main-content input:focus, .main-content select:focus, .main-content textarea:focus { outline: 0; border-color: var(--sp-cyan); box-shadow: 0 0 8px rgba(247, 81, 69, .4); }
.main-content .btn-primary { background: linear-gradient(180deg, #f63426, #bb1019); border-color: #f74e42; }
.main-content .btn-success { background: linear-gradient(180deg, #ff5a45, #b3121b); border-color: #ff8f7f; color: #fff; }
.sp .nav-tabs { border-color: var(--sp-line); }
.sp .nav-tabs > li > a { color: var(--sp-txt); background: rgba(242, 15, 27, .1); border-color: var(--sp-line2); }
.sp .nav-tabs > li.active > a, .sp .nav-tabs > li.active > a:hover { color: #fff; background: rgba(242, 15, 27, .35); border-color: var(--sp-line); }

/* news (single news / archive) */
.sp-newsbox { margin-bottom: 16px; border: 1px solid var(--sp-line); border-radius: 10px; overflow: hidden; background: rgba(22, 11, 12, .55); }
.sp-newsbox-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: linear-gradient(90deg, rgba(242, 15, 27, .35), rgba(22, 11, 12, .4)); border-bottom: 1px solid var(--sp-line2); }
.sp-newsbox-h img { width: 28px; height: 28px; }
.sp-newsbox-h h3 { margin: 0; flex: 1; color: #fff; font: italic 500 28px/1 var(--sp-head); }
.sp-newsbox-h small { color: var(--sp-dim); }
.sp-newsbox-b { padding: 14px 16px; color: var(--sp-txt); line-height: 1.55; }
.sp-newsbox-b img { max-width: 100%; height: auto; }
.sp-newsbox-f { padding: 0 16px 12px; text-align: right; }

/* ---------- footer ---------- */
.sp-foot { position: relative; z-index: 3; margin-top: 18px; border-top: 1px solid var(--sp-line); background: rgba(16, 8, 9, .92); box-shadow: 0 -8px 24px rgba(237, 12, 24, .15); }
.sp-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 10px; }
.sp-foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-foot-links a { color: var(--sp-txt) !important; font-size: 15px; }
.sp-foot-links a + a::before { content: "\2022"; margin: 0 10px 0 4px; color: var(--sp-dim); }
.sp-foot-links a:hover { color: var(--sp-cyan) !important; }
.sp-foot-brand { display: flex; align-items: center; gap: 8px; color: var(--sp-txt); font: italic 500 20px/1 var(--sp-head); text-transform: uppercase; }
.sp-foot-brand img { height: 44px; width: auto; }
.sp-social { display: flex; align-items: center; gap: 10px; color: var(--sp-txt); }
.sp-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff !important; transition: transform .15s; }
.sp-social a:hover { transform: scale(1.1); }
.sp-social a.d { background: #5865f2; } .sp-social a.y { background: #e62117; } .sp-social a.f { background: #1877f2; }
.sp-foot-small { padding-bottom: 14px; text-align: center; color: var(--sp-dim); font-size: 12px; }
.sp-foot-small a { color: var(--sp-dim) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .sp-nav-a .sp-i:first-child { display: none; }
  .sp-nav-a { padding: 0 11px; }
  .sp-tile { grid-template-columns: 36px 1fr; padding: 10px; column-gap: 8px; }
  .sp-ti .sp-i { width: 32px; height: 32px; }
  .sp-tile small { font-size: 12px; }
}
@media (max-width: 1320px) {
  .sp-main { grid-template-columns: 220px minmax(0, 1fr) 310px; }
  .sp-nav-a { padding: 0 9px; font-size: 19px; }
  .sp-hero-char { left: 300px; }
  .sp-explore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .sp-main { grid-template-columns: 220px minmax(0, 1fr); }
  .sp-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-news { grid-template-columns: 1fr; }
}
@media (max-width: 1220px) {
  .sp-top-in { padding-left: 0; }
  .sp-nav-a .sp-i:first-child { display: block; }
  .sp-burger { display: flex; align-items: center; justify-content: center; }
  .sp-nav { display: none; position: absolute; top: 64px; right: 16px; left: 16px; flex-direction: column; }
  .sp-nav.is-open { display: flex; }
  .sp-nav-a { height: 46px; border-right: 0; border-bottom: 1px solid var(--sp-line2); }
  .sp-nav-a.is-on { border-radius: 11px 11px 0 0; }
  .sp-dd { flex-direction: column; }
  .sp-dd-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: rgba(22, 11, 12, .6); }
  .sp-dd.is-open .sp-dd-menu { display: block; }
  .sp-dd:hover .sp-dd-menu { display: none; }
  .sp-dd.is-open:hover .sp-dd-menu { display: block; }
  .sp-top-in { justify-content: flex-end; align-items: center; }
  .sp-burger { order: 2; }
  .sp-top-right { order: 1; flex-direction: row; align-items: center; }
  .sp-status { display: none; }
}
@media (max-width: 760px) {
  .sp-hero { height: 230px; }
  .sp-logo { width: 250px; margin-top: 56px; }
  .sp-hero-txt { font-size: 19px; margin-top: 0; }
  .sp-hero-char { left: auto; right: 0; height: 260px; bottom: -40px; }
  .sp-status { display: none; }
  .sp-search { width: 190px; height: 40px; }
  .sp-main { grid-template-columns: minmax(0, 1fr); margin-top: -10px; }
  .sp-right { grid-template-columns: 1fr; }
  .sp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-news-main { grid-template-columns: 1fr; }
  .sp-news-img { height: 160px; }
  .sp-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-foot-in { flex-direction: column; text-align: center; }
  .sp-left { order: 2; }
  .sp-center { order: 1; }
  .sp-right { order: 3; }
}

/* =====================================================================
   FX - cursor, lightning on hover, electric borders, ki click burst
   (everything here can be removed without breaking the layout)
   ===================================================================== */
@property --sp-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* custom cursor (desktop only) */
@media (hover: hover) and (pointer: fine) {
  body.sp { cursor: url(../images/wono-theme/cursor.png?v=2) 3 2, auto; }
  body.sp a, body.sp button, body.sp [role=button], body.sp label[for], body.sp select, body.sp summary,
  body.sp input[type=submit], body.sp input[type=button], body.sp input[type=checkbox], body.sp input[type=radio],
  body.sp tr[onclick] { cursor: url(../images/wono-theme/cursor_pointer.png?v=2) 3 2, pointer; }
  body.sp input[type=text], body.sp input[type=password], body.sp input[type=email], body.sp input[type=search],
  body.sp input[type=number], body.sp textarea { cursor: text; }
}

/* electric border running around a box on hover */
.sp-fx { position: relative; isolation: isolate; }
.sp-fx::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--sp-a), transparent 0 55%, rgba(247, 81, 69, .2) 62%, #f75145 70%, #fff 72%, #f75145 74%, transparent 82% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .2s;
}
.sp-fx:hover::after { opacity: 1; animation: sp-spin 1.6s linear infinite; }
@keyframes sp-spin { to { --sp-a: 360deg; } }

/* Sharingan spinning in over a box on hover (WoNO; was the WoDBO lightning bolt) */
.sp-zap::before {
  content: ""; position: absolute; z-index: 4; pointer-events: none; top: 50%; right: 10px; width: 54px; height: 54px; margin-top: -27px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cdefs%3E%3CradialGradient id='r' cx='50%25' cy='45%25' r='55%25'%3E%3Cstop offset='0' stop-color='%23ff3b3b'/%3E%3Cstop offset='.7' stop-color='%23c00010'/%3E%3Cstop offset='1' stop-color='%236a0008'/%3E%3C/radialGradient%3E%3Cfilter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3Cg id='t'%3E%3Ccircle cx='0' cy='-25' r='7.5'/%3E%3Cpath d='M7 -27 Q14 -14 2 -9 Q8 -16 1 -22 Z'/%3E%3C/g%3E%3C/defs%3E%3Ccircle r='47' fill='%23ff2020' opacity='.55' filter='url(%23g)'/%3E%3Ccircle r='44' fill='%23120000'/%3E%3Ccircle r='40' fill='url(%23r)'/%3E%3Ccircle r='25' fill='none' stroke='%233a0000' stroke-width='2.2' opacity='.85'/%3E%3Cg fill='%230a0000'%3E%3Cuse href='%23t'/%3E%3Cuse href='%23t' transform='rotate(120)'/%3E%3Cuse href='%23t' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle r='9.5' fill='%230a0000'/%3E%3Ccircle cx='-13' cy='-16' r='5' fill='%23fff' opacity='.35'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transform: scale(.3) rotate(-180deg); filter: drop-shadow(0 0 8px rgba(255, 30, 30, .8));
}
.sp-zap:hover::before { animation: sp-shar-in .5s cubic-bezier(.2, 1.4, .4, 1) forwards, sp-shar-spin 2.4s .5s linear infinite; }
@keyframes sp-shar-in { to { opacity: .95; transform: scale(1) rotate(0deg); } }
@keyframes sp-shar-spin { from { opacity: .95; transform: scale(1) rotate(0deg); } to { opacity: .95; transform: scale(1) rotate(360deg); } }
.sp-zap:hover { box-shadow: 0 0 22px rgba(247, 81, 69, .55), inset 0 0 18px rgba(247, 81, 69, .18); }
.sp-ex.sp-zap:hover .sp-ex-t b { animation: sp-txtflash .6s ease-out 1; }
@keyframes sp-txtflash { 50% { text-shadow: 0 0 4px #fff, 0 0 18px #f75145, 0 0 30px #f75145; } }

/* gold buttons: shine sweep */
.sp-btn-gold { position: relative; overflow: hidden; }
.sp-btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg);
}
.sp-btn-gold:hover::after { animation: sp-shine .7s ease-out; }
@keyframes sp-shine { to { left: 130%; } }

/* menu: electric underline */
.sp-nav-a { position: relative; }
.sp-nav-a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f75145, #fff, #f75145, transparent); box-shadow: 0 0 8px #f75145;
  transform: scaleX(0); transition: transform .2s;
}
.sp-nav-a:hover::after, .sp-dd:hover > .sp-nav-a::after { transform: scaleX(1); }
.sp-nav-a.is-on::after { display: none; }

/* header: aura behind Goku + floating logo */
.sp-hero-char::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 120%; height: 90%; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(247, 81, 69, .55), rgba(242, 15, 27, .25) 55%, transparent 75%);
  animation: sp-aura 2.4s ease-in-out infinite; pointer-events: none;
}
@keyframes sp-aura { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.sp-logo img { animation: sp-float 5s ease-in-out infinite; }
@keyframes sp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.sp-dot.on { animation: sp-pulse 1.8s ease-in-out infinite; }
@keyframes sp-pulse { 50% { box-shadow: 0 0 2px #33e06a, 0 0 14px 3px rgba(51, 224, 106, .55); } }

/* ki burst on click */
.sp-burst { position: fixed; z-index: 9999; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none;
  background: #fff; box-shadow: 0 0 8px 2px #f75145; animation: sp-burst .5s ease-out forwards; }
.sp-burst.gold { box-shadow: 0 0 8px 2px #ffbf25; }
@keyframes sp-burst { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.sp-ring { position: fixed; z-index: 9999; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none;
  border: 2px solid #f75145; box-shadow: 0 0 10px #f75145; animation: sp-ring .45s ease-out forwards; }
@keyframes sp-ring { to { transform: scale(5); opacity: 0; } }

/* back to top */
.sp-up { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f63426, #bb1019); border: 1px solid #f75145; color: #fff; box-shadow: 0 0 14px rgba(242, 15, 27, .7);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.sp-up.is-on { opacity: 1; visibility: visible; transform: none; }
.sp-up .sp-i { width: 22px; height: 22px; transform: rotate(-90deg); }

/* language flags + hide Google Translate bar */
.sp-lang { display: flex; gap: 6px; }
.sp-lang a { display: block; width: 30px; height: 20px; border-radius: 3px; overflow: hidden; border: 1px solid var(--sp-line2); opacity: .75; transition: .15s; }
.sp-lang a:hover, .sp-lang a.is-on { opacity: 1; border-color: var(--sp-cyan); box-shadow: 0 0 8px rgba(247, 81, 69, .6); }
.sp-lang svg { display: block; width: 100%; height: 100%; }
.sp-status-row { display: flex; align-items: center; }
.sp-status { white-space: nowrap; }
.sp-search-row { display: flex; align-items: center; gap: 8px; }
.sp-search-row .sp-lang { flex-direction: column; gap: 4px; }
.sp-search-row .sp-lang a { width: 26px; height: 17px; }
body.sp { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (hover: none) { .sp-fx::after, .sp-zap::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sp-fx:hover::after, .sp-zap:hover::before, .sp-logo img, .sp-hero-char::before, .sp-dot.on { animation: none !important; }
}

/* =====================================================================
   PAGES - one look for every subpage (MyAAC tables, captions, forms, buttons,
   pages from the database). Overrides the older purple page styles.
   ===================================================================== */
:root {
  --wt-bg: #221112; --wt-card: #3c1f21; --wt-card2: #30181a; --wt-hover: #572e31; --wt-line: #932328;
  --wt-head: #1e0f10; --wt-txt: #faf1ef; --wt-dim: #c1b2af; --wt-acc: #ffbf25; --wt-acc-d: #f08a00; --wt-acc2: #f75145;
}
.sp-content .main-content { font: 14px/1.5 var(--sp-font); }
.sp-content .main-content .wp { font: 14px/1.5 var(--sp-font); }

/* one heading font for everything */
.main-content h1, .main-content h2, .main-content h3, .main-content h4,
.main-content .wp-h, .main-content .wp-btn, .main-content .wp-card-title, .main-content .wp-table th,
.main-content .wp-fact b, .main-content .wp-rew-title, .main-content .wp-back a, .main-content .wp-sched b,
.main-content .wp-tile span, .main-content .CaptionInnerContainer .Text, .main-content [class^="ts_"] > label,
.main-content tr[background*="tablebg1"] > td, .main-content td.niebieska {
  font-family: var(--sp-head) !important; font-weight: 500 !important; letter-spacing: .4px;
}
.main-content h1, .main-content h2 { color: #fff !important; font-size: 34px !important; line-height: 1.05; margin: 6px 0 12px; text-shadow: 0 0 12px rgba(237, 12, 24, .7) !important; }
.main-content h3 { color: var(--sp-gold) !important; font-size: 26px !important; margin: 8px 0; text-shadow: none; }
.main-content h4 { color: var(--sp-cyan); font-size: 21px !important; }
.main-content .wp-h { font-size: 26px !important; background: linear-gradient(90deg, rgba(242, 15, 27, .35), rgba(22, 11, 12, .2)) !important; border-left-color: var(--sp-cyan) !important; color: #fff !important; }
.main-content .wp-h small { font-family: var(--sp-font); }

/* page title used by the rebuilt templates */
.sp-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 4px 0 10px; border-bottom: 1px solid var(--sp-line2); }
.sp-title .sp-i { width: 34px; height: 34px; color: var(--sp-gold); }
.sp-title h1 { margin: 0 !important; font-size: 40px !important; }
.sp-title small { margin-left: auto; color: var(--sp-dim); font-size: 14px; }

/* old picture banners at the top of pages: same frame as the panels */
.main-content img[src*="/baners/"]:not([src*="/baners/events/"]) { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--sp-line); box-shadow: 0 0 16px rgba(237, 12, 24, .35); }

/* MyAAC box captions -> panel header look */
.main-content .CaptionInnerContainer {
  background: linear-gradient(90deg, rgba(242, 15, 27, .4), rgba(22, 11, 12, .35)) !important;
  border: 1px solid var(--sp-line) !important; border-bottom: 0 !important; border-left: 1px solid var(--sp-line) !important;
  border-radius: 10px 10px 0 0 !important; padding: 9px 14px 7px 44px !important;
}
.main-content .CaptionInnerContainer::before {
  content: ""; position: absolute; left: 13px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='b' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.45' stop-color='%23ffb21e'/%3E%3Cstop offset='1' stop-color='%23e46a00'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='10' fill='url(%23b)'/%3E%3Cpath d='M12 7.2l1.3 2.9 3.1.3-2.4 2 .8 3.1-2.8-1.7-2.8 1.7.8-3.1-2.4-2 3.1-.3z' fill='%23d1261b'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 5px rgba(240, 40, 40, .6));
}
.main-content .CaptionInnerContainer .Text { color: #fff !important; font-size: 24px !important; text-transform: none !important; }
.main-content .Table1, .main-content .Table2, .main-content .Table3, .main-content .Table4, .main-content .Table5 {
  background: rgba(22, 11, 12, .55) !important; border-color: var(--sp-line) !important; border-radius: 0 0 10px 10px !important;
}

/* rows coloured with bgcolor (config.ini colours) */
.main-content tr[bgcolor="#1e0f10"] > td, .main-content tr[bgcolor="#1e0f10"] > td, .main-content tr.sp-th > td,
.main-content tr[bgcolor="#272121"] > td, .main-content tr[bgcolor="#272121"] > td, .main-content tr[style*="#272121"] > td {
  background: linear-gradient(180deg, #462224, #2d1617) !important; color: var(--sp-gold) !important;
  font-family: var(--sp-head) !important; font-size: 19px !important; font-weight: 500 !important; letter-spacing: .4px; text-transform: uppercase;
  border-color: var(--sp-line) !important;
}
.main-content tr[bgcolor="#1e0f10"] > td b, .main-content tr[bgcolor="#1e0f10"] > td a, .main-content tr[bgcolor="#1e0f10"] > td font { color: var(--sp-gold) !important; font-weight: 500 !important; }
.main-content tr[bgcolor="#3c1f21"] > td, .main-content tr[bgcolor="#3c1f21"] > td, .main-content tr[bgcolor="#3b3233"] > td { background: rgba(48, 24, 26, .92) !important; }
.main-content tr[bgcolor="#492628"] > td, .main-content tr[bgcolor="#492628"] > td, .main-content tr[bgcolor="#473c3d"] > td { background: rgba(60, 31, 33, .92) !important; }
.main-content tr[bgcolor]:not([bgcolor="#1e0f10"]):not([bgcolor="#272121"]):hover > td { background: var(--wt-hover) !important; border-color: var(--sp-cyan) !important; }
.main-content td[bgcolor="#1e0f10"], .main-content td[style*="#1e0f10"], .main-content td[bgcolor="#272121"], .main-content td[style*="#272121"] { background: linear-gradient(180deg, #462224, #2d1617) !important; color: var(--sp-gold) !important; font: 500 19px/1.2 var(--sp-head) !important; letter-spacing: .4px; text-transform: uppercase; padding: 7px 10px !important; border-radius: 7px; }
.main-content td[bgcolor="#1e0f10"] b, .main-content td[bgcolor="#1e0f10"] a, .main-content td[bgcolor="#272121"] b, .main-content td[bgcolor="#272121"] span, .main-content td[style*="#272121"] div { color: var(--sp-gold) !important; font-weight: 500 !important; }
.main-content td[bgcolor="#3c1f21"], .main-content td[style*="#3c1f21"], .main-content td[bgcolor="#3b3233"], .main-content td[style*="#3b3233"] { background: rgba(48, 24, 26, .92) !important; }
.main-content td[bgcolor="#492628"], .main-content td[style*="#492628"], .main-content td[bgcolor="#473c3d"], .main-content td[style*="#473c3d"] { background: rgba(60, 31, 33, .92) !important; }
.main-content td.white, .main-content .white { color: var(--sp-gold) !important; }
.main-content table .white b { font-weight: 500; }
.main-content tr[background] { background-image: none !important; }
/* character equipment: keep the silhouette picture behind the items, centred like the item slots */
.main-content table[background*="eq.png"] { background-image: url(../../../images/wono/eq.png) !important; background-repeat: no-repeat !important; background-position: left center !important; border-spacing: 0 !important; }
.main-content table[background*="eq.png"] > tbody > tr > td { padding: 0 !important; border: 0 !important; background: none !important; }
.main-content table[background*="eq.png"] img { filter: drop-shadow(0 0 4px rgba(247, 81, 69, .6)); }
.main-content .mystyle { border: 0 !important; }
.main-content table a { color: var(--sp-cyan); }
.main-content table a:hover { color: #fff; }

/* bootstrap tables */
.main-content .table { background: transparent; border-collapse: separate; border-spacing: 0 3px; }
.main-content .table > thead > tr > th, .main-content .table > tbody > tr > th {
  background: linear-gradient(180deg, #462224, #2d1617); color: var(--sp-gold); border: 0;
  font: 500 19px/1.1 var(--sp-head); letter-spacing: .4px; text-transform: uppercase;
}
.main-content .table > tbody > tr > td { background: rgba(48, 24, 26, .85); border-top: 1px solid var(--sp-line2); border-bottom: 1px solid var(--sp-line2); }
.main-content .table-striped > tbody > tr:nth-of-type(odd) > td { background: rgba(60, 31, 33, .85); }
.main-content .table-hover > tbody > tr:hover > td { background: var(--wt-hover); }

/* buttons inside pages: gold primary, blue secondary */
.main-content .btn, .main-content input[type="submit"], .main-content input[type="button"], .main-content button:not(.wp-btn):not(.cr-tab):not(.mo-chip) {
  font-family: var(--sp-head) !important; font-size: 19px !important; font-weight: 500 !important; letter-spacing: .4px;
  padding: 5px 18px !important; border-radius: 8px !important; line-height: 1.2;
}
.main-content .btn-primary, .main-content input[type="submit"], .main-content button[type="submit"] {
  background: linear-gradient(180deg, #ff5a45, #e0202a 60%, #a80f17) !important; border: 1px solid #ff8f7f !important; color: #fff !important;
  box-shadow: 0 0 12px rgba(240, 40, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .5) !important;
}
.main-content .btn-default, .main-content .btn-info, .main-content .btn-secondary, .main-content input[type="button"], .main-content a.btn:not(.btn-primary):not(.btn-danger):not(.btn-success) {
  background: linear-gradient(180deg, #f63426, #bb1019) !important; border: 1px solid #f74e42 !important; color: #fff !important;
  box-shadow: 0 0 10px rgba(242, 15, 27, .45) !important;
}
.main-content .btn-success { background: linear-gradient(180deg, #3ee072, #149a45) !important; border-color: #6ff29a !important; color: #03240f !important; }
.main-content .btn-danger { background: linear-gradient(180deg, #ff6b6b, #c62828) !important; border-color: #ff9a9a !important; color: #fff !important; }

/* form fields */
.main-content input:not([type]), .main-content input[type="text"], .main-content input[type="password"], .main-content input[type="email"],
.main-content input[type="number"], .main-content input[type="search"], .main-content select, .main-content textarea, .main-content .form-control {
  background: rgba(22, 11, 12, .9) !important; color: #fff !important; border: 1px solid var(--sp-line) !important; border-radius: 8px !important;
  padding: 6px 10px !important; min-height: 36px; font-size: 14px;
}
.main-content input:focus, .main-content select:focus, .main-content textarea:focus, .main-content .form-control:focus {
  border-color: var(--sp-cyan) !important; box-shadow: 0 0 10px rgba(247, 81, 69, .4) !important;
}
.main-content input[type="checkbox"], .main-content input[type="radio"] { accent-color: var(--sp-gold); width: 16px; height: 16px; vertical-align: -3px; }
.main-content label, .main-content .LabelV { color: var(--sp-txt) !important; }
.main-content .LabelV { color: var(--sp-cyan) !important; }

/* bootstrap bits */
.main-content .panel, .main-content .well { background: rgba(22, 11, 12, .6); border: 1px solid var(--sp-line); border-radius: 10px; box-shadow: none; color: var(--sp-txt); }
.main-content .panel-heading { background: linear-gradient(90deg, rgba(242, 15, 27, .4), rgba(22, 11, 12, .35)) !important; border-color: var(--sp-line) !important; color: #fff !important; font: 500 22px/1.1 var(--sp-head); }
.main-content .alert { border-radius: 10px; border: 1px solid; }
.main-content .alert-success { background: rgba(20, 154, 69, .18); border-color: #3ee072; color: #c9ffd9; }
.main-content .alert-danger, .main-content .alert-error { background: rgba(198, 40, 40, .2); border-color: #ff6b6b; color: #ffd0d0; }
.main-content .alert-info, .main-content .alert-warning { background: rgba(242, 15, 27, .18); border-color: var(--sp-cyan); color: #f7eae7; }
.main-content .label { border-radius: 6px; font-weight: 500; }
.main-content .label-primary { background: var(--sp-blue); } .main-content .label-danger { background: #c62828; } .main-content .label-success { background: #149a45; }
.main-content .pagination > li > a, .main-content .pagination > li > span { background: rgba(48, 24, 26, .9); border-color: var(--sp-line); color: var(--sp-txt); }
.main-content .pagination > .active > a, .main-content .pagination > li > a:hover { background: var(--sp-blue); border-color: var(--sp-cyan); color: #fff; }
.main-content hr { border-color: var(--sp-line2); }
.main-content .nav-tabs > li > a, .main-content .nav-pills > li > a { font: 500 19px/1 var(--sp-head); }
.main-content .nav-pills > li.active > a, .main-content .nav-pills > li > a:hover { background: var(--sp-blue); }

/* MyAAC message boxes (success / errors) */
.main-content .SmallBox, .main-content .ErrorBox, .main-content .InfoBox { background: rgba(242, 15, 27, .15) !important; border: 1px solid var(--sp-line) !important; border-radius: 10px; color: var(--sp-txt); }

/* rebuilt templates: server info, highscores, login */
.sp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.sp-box { background: rgba(22, 11, 12, .55); border: 1px solid var(--sp-line); border-radius: 10px; padding: 12px 14px; }
.sp-box h3 { margin-top: 0 !important; }
.sp-box .wp-table td { text-align: left; }
.sp-box .wp-table td:last-child { text-align: right; }
.sp-links-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.sp-hs-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 12px; }
.sp-hs-type { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--sp-line2); background: rgba(48, 24, 26, .85); color: var(--sp-txt) !important; font: 500 17px/1 var(--sp-head); transition: .15s; min-width: 0; overflow: hidden; white-space: nowrap; }
.sp-hs-type img { width: 30px; height: 30px; object-fit: contain; }
.sp-hs-type:hover { border-color: var(--sp-cyan); background: rgba(242, 15, 27, .25); }
.sp-hs-type.is-on { background: linear-gradient(180deg, #f63426, #bb1019); border-color: var(--sp-cyan); color: #fff !important; box-shadow: 0 0 12px rgba(242, 15, 27, .6); }
.sp-hs-name { color: #fff; font-weight: bold; }
.sp-hs-name.is-online { color: #5dff8f; }
.sp-hs-on { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #33e06a; box-shadow: 0 0 6px #33e06a; vertical-align: 1px; }
.sp-rank-no { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 50%; background: rgba(22, 11, 12, .8); border: 1px solid var(--sp-line); color: #fff; font: 500 18px/1 var(--sp-head); }
.sp-rank-no.r1 { background: linear-gradient(180deg, #ffe27a, #e7a400); color: #3a1d00; border-color: #ffe9a0; box-shadow: 0 0 10px rgba(255, 200, 40, .7); }
.sp-rank-no.r2 { background: linear-gradient(180deg, #fcf6f5, #b6aaa8); color: #2c2122; border-color: #fff; }
.sp-rank-no.r3 { background: linear-gradient(180deg, #ffb27a, #b8642a); color: #2a1200; border-color: #ffd0a8; }
.sp-login { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.sp-login .sp-box p { color: var(--sp-dim); margin: 0 0 10px; }
.main-content .sp-lbl, .sp-lbl { display: block; margin: 8px 0 4px; color: var(--sp-cyan) !important; font-weight: bold; }
.main-content .sp-lbl.redd { color: #ff8080 !important; }
.sp-login input[type=text], .sp-login input[type=password] { width: 100%; }
.sp-check { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-weight: normal; }
.sp-wide { display: block !important; width: 100%; text-align: center; margin-top: 6px; }
.sp-login-side h3 + p { margin-bottom: 8px; }
.sp-login-side .btn + h3 { margin-top: 18px !important; }
@media (max-width: 760px) { .sp-grid2, .sp-login { grid-template-columns: 1fr; } }

/* single news / archive */
.sp-newsbox { border-radius: 12px; background: linear-gradient(180deg, rgba(51, 26, 28, .75), rgba(22, 11, 12, .7)); box-shadow: var(--sp-glow); }
.sp-newsbox-h { padding: 14px 18px; gap: 12px; }
.sp-newsbox-h h3 { font-size: 34px !important; color: #fff !important; text-shadow: 0 0 12px rgba(237, 12, 24, .8); margin: 0 !important; }
.sp-newsbox-h small { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-newsbox-meta { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; background: rgba(22, 11, 12, .7); border: 1px solid var(--sp-line2); color: var(--sp-txt); font-size: 13px; }
.sp-newsbox-meta .sp-i { width: 14px; height: 14px; color: var(--sp-orange); }
.sp-newsbox-b { padding: 16px 20px 20px; font-size: 15px; line-height: 1.65; }
.sp-newsbox-b h2 { font-size: 32px !important; margin: 4px 0 14px !important; }
.sp-newsbox-b h3 { font-size: 25px !important; margin: 18px 0 6px !important; padding-left: 12px; border-left: 3px solid var(--sp-gold); }
.sp-newsbox-b p { margin: 0 0 10px; }
.sp-newsbox-b strong, .sp-newsbox-b b { color: #fff; }
.sp-newsbox-b a { color: var(--sp-cyan) !important; text-decoration: none !important; border-bottom: 1px dashed rgba(247, 81, 69, .6); }
.sp-newsbox-b a:hover { color: #fff !important; }
.sp-newsbox-b img { border-radius: 8px; }
.sp-newsbox-b ul { padding-left: 20px; }
.sp-newsbox-b li { margin: 3px 0; }

/* character page: avatar above the equipment */
.sp-char-right { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }
.sp-char-ava { position: relative; display: inline-block; }
.sp-char-ava > img { display: block; max-width: 200px; height: auto; border-radius: 10px; border: 2px solid var(--sp-gold); box-shadow: 0 0 16px rgba(240, 40, 40, .45); }
.sp-char-guild { position: absolute; right: -14px; bottom: -14px; }
.sp-char-guild img { border-radius: 8px; filter: drop-shadow(0 0 6px rgba(0, 0, 0, .7)); }
.sp-eq { position: relative; width: 312px; height: 575px; flex: none; background: url(../../../images/wono/eq.png) no-repeat center top; }
.sp-eq-slot { position: absolute; }
.sp-eq-slot img { filter: drop-shadow(0 0 4px rgba(247, 81, 69, .6)); }

/* download page */
.sp-dl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: center; padding: 22px; margin-bottom: 14px; border-radius: 14px; border: 1px solid var(--sp-line);
  background: radial-gradient(420px 240px at 25% 50%, rgba(242, 15, 27, .45), transparent 70%), linear-gradient(180deg, rgba(51, 26, 28, .85), rgba(22, 11, 12, .85)); box-shadow: var(--sp-glow); }
.sp-dl-logo { width: 100%; max-width: 380px; height: auto; justify-self: center; filter: drop-shadow(0 0 18px rgba(237, 12, 24, .6)); animation: sp-float 5s ease-in-out infinite; }
.sp-dl-info h2 { margin: 0 0 6px !important; }
.sp-dl-info p { color: var(--sp-dim); margin: 0 0 16px; }
.sp-dl-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 20px; border-radius: 12px;
  background: linear-gradient(180deg, #ff5a45, #e0202a 60%, #a80f17); border: 1px solid #ff8f7f; color: #fff !important;
  box-shadow: 0 0 22px rgba(240, 40, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .15s, filter .15s; }
.sp-dl-btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff !important; }
.sp-dl-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: sp-shine 3.2s ease-in-out infinite; }
.sp-dl-btn svg { width: 34px; height: 34px; flex: none; }
.sp-dl-btn b { display: block; font: 500 30px/1 var(--sp-head); letter-spacing: .5px; }
.sp-dl-btn small { display: block; font-size: 13px; opacity: .8; }
.sp-dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sp-dl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(22, 11, 12, .75); border: 1px solid var(--sp-line2); font-size: 13px; }
.sp-dl-chip svg { width: 15px; height: 15px; color: var(--sp-orange); }
.sp-dl-chip b { color: #fff; }
.sp-dl-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; background: rgba(22, 11, 12, .6); border: 1px solid var(--sp-line2); }
.sp-dl-sum span { color: var(--sp-cyan); font-weight: bold; }
.sp-dl-sum code { flex: 1; min-width: 0; overflow-wrap: anywhere; background: none; color: var(--sp-txt); font-size: 12px; padding: 0; }
.sp-dl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.sp-dl-step { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; background: rgba(48, 24, 26, .85); border: 1px solid var(--sp-line2); }
.sp-dl-step b { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #f63426, #bb1019); border: 1px solid var(--sp-cyan); color: #fff; font: 500 20px/1 var(--sp-head); }
@media (max-width: 1100px) { .sp-dl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sp-dl-hero { grid-template-columns: 1fr; text-align: center; } .sp-dl-meta { justify-content: center; } .sp-dl-steps { grid-template-columns: 1fr; } }
.main-content td.sp-char-left-ava { text-align: center; padding: 4px 0 14px !important; }
.sp-eq-slot { width: 32px; height: 32px; line-height: 0; }
.sp-eq-slot img { display: block; width: 32px; height: 32px; }

/* techniques */
.sp-tech-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-bottom: 16px; }
.sp-tech-voc { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 3px 4px !important; border-radius: 9px !important; cursor: pointer;
  background: rgba(48, 24, 26, .85); border: 1px solid var(--sp-line2); color: var(--sp-txt) !important; font: 500 15px/1 var(--sp-head); transition: .15s; text-decoration: none !important; }
.sp-tech-voc img { width: 56px; height: 56px; object-fit: cover; border-radius: 7px; }
.sp-tech-voc span { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.sp-tech-voc:hover { border-color: var(--sp-cyan); transform: translateY(-2px); color: #fff !important; }
.sp-tech-voc.is-on { background: linear-gradient(180deg, #ff5a45, #b3121b); border-color: #ff9d8f; color: #fff !important; box-shadow: 0 0 14px rgba(240, 40, 40, .6); }
.sp-tech-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; margin-bottom: 12px; border-radius: 12px; border: 1px solid var(--sp-line);
  background: radial-gradient(300px 180px at 10% 50%, rgba(242, 15, 27, .4), transparent 70%), linear-gradient(180deg, rgba(51, 26, 28, .85), rgba(22, 11, 12, .85)); }
.sp-tech-ava { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sp-tech-ava img { width: 160px; height: 160px; object-fit: cover; border-radius: 12px; border: 2px solid var(--sp-gold); box-shadow: 0 0 16px rgba(240, 40, 40, .45); }
.sp-tech-ava b { font: 500 30px/1 var(--sp-head); color: #fff; text-shadow: 0 0 10px rgba(237, 12, 24, .8); }
.sp-tech-forms { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sp-tech-row { display: flex; align-items: flex-end; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(22, 11, 12, .55); border: 1px solid var(--sp-line2); }
.sp-tech-tag { flex: none; width: 132px; align-self: center; padding: 4px 8px; border-radius: 7px; text-align: center; font: 500 17px/1 var(--sp-head); white-space: nowrap; color: #fff;
  background: linear-gradient(180deg, #f63426, #bb1019); border: 1px solid var(--sp-cyan); }
.sp-tech-tag.red { background: linear-gradient(180deg, #ff5a5a, #b31414); border-color: #ff9a9a; }
.sp-tech-tag.gold { background: linear-gradient(180deg, #ff5a45, #b3121b); border-color: #ff9d8f; color: #fff; }
.sp-tech-sprites { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 8px; min-width: 0; }
.sp-tech-sprites figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sp-tech-sprites img { max-height: 72px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.sp-tech-sprites figcaption { min-width: 34px; padding: 1px 6px; border-radius: 6px; background: rgba(48, 24, 26, .95); border: 1px solid var(--sp-line2); text-align: center; font: 500 16px/1.1 var(--sp-head); color: var(--sp-gold); }
.sp-tech-outfits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.sp-tech-outfits h3 { font-size: 21px !important; margin: 0 0 6px !important; }
.sp-tech-h { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px !important; }
.sp-tech-h small { padding: 1px 8px; border-radius: 10px; background: rgba(242, 15, 27, .3); color: var(--sp-txt); font: 500 15px/1.3 var(--sp-head); }
.sp-tech-list { display: flex; flex-direction: column; gap: 6px; }
.sp-tech-spell { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 10px;
  background: rgba(48, 24, 26, .88); border: 1px solid var(--sp-line2); transition: border-color .15s, background .15s; }
.sp-tech-spell:hover { border-color: var(--sp-cyan); background: rgba(87, 46, 49, .9); }
.sp-tech-ico { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--sp-line); background: rgba(22, 11, 12, .8); }
.sp-tech-name { display: flex; align-items: center; gap: 8px; }
.sp-tech-name b { color: #fff; font: 500 21px/1.1 var(--sp-head); letter-spacing: .3px; text-transform: capitalize; }
.sp-tech-pas { padding: 0 7px; border-radius: 8px; background: rgba(255, 191, 37, .2); border: 1px solid rgba(255, 191, 37, .5); color: var(--sp-gold); font-size: 11px; text-transform: uppercase; }
.sp-tech-desc { color: #7dffa6; font-size: 13px; line-height: 1.4; }
.sp-tech-stats { display: flex; gap: 4px; }
.sp-tech-stats span { display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 3px 4px; border-radius: 7px; background: rgba(22, 11, 12, .75); border: 1px solid var(--sp-line2); color: #fff; font: 500 18px/1 var(--sp-head); }
.sp-tech-stats i { font: normal 10px/1.3 var(--sp-font); color: var(--sp-dim); text-transform: uppercase; }
@media (max-width: 1100px) { .sp-tech-spell { grid-template-columns: 44px minmax(0, 1fr); } .sp-tech-stats { grid-column: 1 / -1; flex-wrap: wrap; } }
@media (max-width: 760px) { .sp-tech-head { grid-template-columns: 1fr; } .sp-tech-row { flex-direction: column; align-items: flex-start; } .sp-tech-tag { width: auto; } }

/* items */
.sp-it-tools { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 8px; border-radius: 10px; background: rgba(30, 15, 16, .95); border: 1px solid var(--sp-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.sp-it-search { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px; border-radius: 8px; background: rgba(22, 11, 12, .9); border: 1px solid var(--sp-line); }
.sp-it-search:focus-within { border-color: var(--sp-cyan); box-shadow: 0 0 10px rgba(247, 81, 69, .4); }
.sp-it-search svg { width: 18px; height: 18px; flex: none; color: var(--sp-cyan); }
.main-content .sp-it-search input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 8px 0 !important; font-size: 15px; }
.sp-it-count { color: var(--sp-dim); white-space: nowrap; font-size: 13px; }
.sp-it-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.main-content .sp-it-cat { font-size: 17px !important; padding: 5px 11px; }
.sp-it-table th { cursor: pointer; user-select: none; white-space: nowrap; }
.sp-it-table th[data-sp-sort="asc"]::after { content: " \25B2"; font-size: 11px; }
.sp-it-table th[data-sp-sort="desc"]::after { content: " \25BC"; font-size: 11px; }
.sp-it-table .sp-it-c-img { width: 52px; }
.sp-it-table td img { display: block; margin: 0 auto; max-width: 32px; max-height: 32px; }
.sp-it-table .sp-it-name { text-align: left; font-weight: bold; }
.sp-it-table .sp-it-name a { color: #fff; }
.sp-it-table .sp-it-name a:hover { color: var(--sp-cyan); }
.sp-it-table .sp-it-desc { text-align: left; color: #7dffa6; font-size: 13px; }
.sp-it-table .sp-it-c-name, .sp-it-table .sp-it-c-desc { text-align: left; }

/* crafting: same blue look as monsters, colour per profession */
#wodbo-crafting {
  --cr-bg: #221112 !important; --cr-card: rgba(48, 24, 26, .9) !important; --cr-card2: #572e31 !important; --cr-line: #932328 !important; --cr-head: rgba(30, 15, 16, .95) !important;
  --cr-txt: #faf1ef !important; --cr-dim: #c1b2af !important; --cr-acc: #ffbf25 !important; --cr-acc2: #f75145 !important;
  max-width: none !important; font: 14px/1.45 var(--sp-font) !important;
}
#wodbo-crafting .cr-banner { border-radius: 10px; border: 1px solid var(--sp-line); box-shadow: 0 0 16px rgba(237, 12, 24, .35); }
#wodbo-crafting .cr-tools { border-color: var(--sp-line) !important; }
#wodbo-crafting .cr-tab { font: 500 19px/1 var(--sp-head) !important; padding: 7px 10px !important; border-radius: 8px !important; box-shadow: none !important; }
#wodbo-crafting .cr-tab.is-on { background: linear-gradient(180deg, #ff5a45, #b3121b) !important; border-color: #ff9d8f !important; color: #fff !important; box-shadow: 0 0 12px rgba(240, 40, 40, .5) !important; }
#wodbo-crafting .cr-tab:not(.is-on) { background: rgba(48, 24, 26, .9) !important; color: var(--sp-txt) !important; border: 1px solid var(--sp-line2) !important; }
#wodbo-crafting .cr-tab:not(.is-on):hover { border-color: var(--sp-cyan) !important; }
#wodbo-crafting .cr-search, #wodbo-crafting .cr-level { font-size: 14px !important; }
#wodbo-crafting .cr-h { font: 500 24px/1 var(--sp-head) !important; text-transform: none !important; letter-spacing: .4px; color: #fff !important;
  background: linear-gradient(90deg, rgba(242, 15, 27, .4), rgba(22, 11, 12, .3)) !important; border: 1px solid var(--sp-line2); border-left: 4px solid var(--cr-prof, var(--sp-gold)) !important; border-radius: 8px !important; }
#wodbo-crafting .cr-n { font: 500 15px/1.3 var(--sp-head) !important; background: var(--cr-prof, var(--sp-blue)) !important; color: #160b0c !important; }
#wodbo-crafting .cr-card { background: rgba(48, 24, 26, .88) !important; border-color: var(--sp-line2) !important; border-left: 3px solid var(--cr-prof, var(--sp-line)) !important; border-radius: 10px !important; }
#wodbo-crafting .cr-card:hover { border-color: var(--sp-cyan) !important; box-shadow: 0 6px 14px rgba(0, 0, 0, .4), 0 0 12px rgba(247, 81, 69, .25); }
#wodbo-crafting .cr-ico { background: radial-gradient(circle at 50% 60%, rgba(242, 15, 27, .3), rgba(22, 11, 12, .95) 70%) !important; border-color: var(--sp-line) !important; }
#wodbo-crafting a.cr-res .cr-ico { border-color: var(--cr-prof, var(--sp-gold)) !important; box-shadow: 0 0 12px color-mix(in srgb, var(--cr-prof, #ffbf25) 55%, transparent) !important; }
#wodbo-crafting a.cr-res .cr-nm { font: 500 18px/1.05 var(--sp-head) !important; color: #fff !important; }
#wodbo-crafting a.cr-res .cr-cnt { color: var(--sp-gold) !important; }
#wodbo-crafting .cr-cnt { color: var(--sp-cyan) !important; }
#wodbo-crafting .cr-nm { color: var(--sp-dim) !important; font-size: 11px !important; }
#wodbo-crafting .cr-arrow { color: var(--cr-prof, var(--sp-gold)) !important; text-shadow: 0 0 8px currentColor; }
#wodbo-crafting .cr-cost { color: #ffd76a !important; background: rgba(22, 11, 12, .8) !important; border: 1px solid rgba(255, 191, 37, .45); font-weight: bold; }
#wodbo-crafting [data-prof="alchemist"] { --cr-prof: #3ee072; }
#wodbo-crafting [data-prof="armorsmith"] { --cr-prof: #f75145; }
#wodbo-crafting [data-prof="enchanter"] { --cr-prof: #c07bff; }
#wodbo-crafting [data-prof="jeweller"] { --cr-prof: #ffbf25; }
#wodbo-crafting [data-prof="weaponsmith"] { --cr-prof: #ff6b6b; }
#wodbo-crafting .cr-tab[data-prof="alchemist"]:not(.is-on) { box-shadow: inset 0 -3px 0 #3ee072 !important; }
#wodbo-crafting .cr-tab[data-prof="armorsmith"]:not(.is-on) { box-shadow: inset 0 -3px 0 #f75145 !important; }
#wodbo-crafting .cr-tab[data-prof="enchanter"]:not(.is-on) { box-shadow: inset 0 -3px 0 #c07bff !important; }
#wodbo-crafting .cr-tab[data-prof="jeweller"]:not(.is-on) { box-shadow: inset 0 -3px 0 #ffbf25 !important; }
#wodbo-crafting .cr-tab[data-prof="weaponsmith"]:not(.is-on) { box-shadow: inset 0 -3px 0 #ff6b6b !important; }
#wodbo-crafting .cr-card { grid-template-columns: 170px 26px 1fr !important; }
#wodbo-crafting a.cr-res { width: 160px !important; }
/* techniques: compact character picker */
.sp-tech-pick { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)) !important; gap: 4px !important; margin-bottom: 12px !important; }
.sp-tech-voc { padding: 3px 2px 2px !important; gap: 1px !important; font-size: 12px !important; border-radius: 7px !important; }
.sp-tech-voc img { width: 44px !important; height: 44px !important; border-radius: 6px !important; }
.sp-tech-voc:hover { transform: translateY(-1px) !important; }

/* big DOWNLOAD button in the left column */
.sp-dlbtn { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--sp-r); overflow: hidden;
  background: linear-gradient(180deg, #ff5a45, #e0202a 60%, #a80f17); border: 1px solid #ff9d8f; color: #fff !important;
  box-shadow: 0 0 20px rgba(240, 40, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .15s, filter .15s; }
.sp-dlbtn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff !important; }
.sp-dlbtn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: sp-shine 3.4s ease-in-out infinite; }
.sp-dlbtn-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(58, 29, 0, .15); border: 2px solid rgba(58, 29, 0, .35); animation: sp-dlpulse 2s ease-in-out infinite; }
.sp-dlbtn-ico .sp-i { width: 26px; height: 26px; }
.sp-dlbtn-txt b { display: block; font: 500 30px/.9 var(--sp-head); letter-spacing: .5px; white-space: nowrap; text-transform: uppercase; }
.sp-dlbtn-txt small { display: block; font-size: 13px; font-weight: bold; opacity: .75; }
@keyframes sp-dlpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .sp-dlbtn::after, .sp-dlbtn-ico { animation: none; } }
/* techniques: header layout v2 (avatar + fusion left, forms right, tags on the box border) */
.sp-tech-head { align-items: start !important; padding: 16px 14px 14px !important; }
.sp-tech-side { display: flex; flex-direction: column; gap: 20px; }
.sp-tech-forms { gap: 20px !important; padding-top: 10px; }
.sp-tech-box { position: relative; padding: 24px 10px 10px; border-radius: 10px; background: rgba(22, 11, 12, .55); border: 1px solid var(--sp-line2); }
.sp-tech-box > .sp-tech-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: auto !important; min-width: 130px; padding: 5px 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.sp-tech-box .sp-tech-sprites { justify-content: center; }
.sp-tech-side .sp-tech-box { margin-top: 4px; }
.sp-tech-side .sp-tech-box > .sp-tech-tag { min-width: 0; font-size: 15px !important; }
.sp-tech-special { margin: 22px 0 12px; padding-top: 26px; }
.sp-tech-special .sp-tech-sprites img { max-height: 80px; }
.sp-tech-ava img { width: 170px !important; height: 170px !important; }

/* quests: cards with icons */
.sp-q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.sp-q-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(48, 24, 26, .9); border: 1px solid var(--sp-line2); color: var(--sp-txt) !important; transition: transform .15s, border-color .15s, background .15s; }
.sp-q-card:hover { transform: translateY(-2px); border-color: var(--sp-cyan); background: rgba(87, 46, 49, .92); }
.sp-q-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 5px;
  background: radial-gradient(circle, rgba(242, 15, 27, .5), rgba(22, 11, 12, .95) 70%); box-shadow: 0 0 12px rgba(240, 40, 40, .4); }
.sp-q-ico img { image-rendering: pixelated; }
.sp-q-ico img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.sp-q-ico.big { width: 60px; height: 60px; border-radius: 6px; }
.sp-q-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sp-q-body b { color: #fff; font: 500 20px/1 var(--sp-head); letter-spacing: .3px; }
.sp-q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px; }
.sp-q-lv { padding: 1px 8px; border-radius: 10px; background: linear-gradient(180deg, #ff5a45, #b3121b); color: #fff; font-weight: bold; }
.sp-q-exp { color: var(--sp-dim); }
.sp-q-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--sp-line2); }
.sp-q-head small a { color: var(--sp-dim) !important; font-size: 13px; }
.sp-q-head h1 { margin: 2px 0 0 !important; font-size: 40px !important; }

/* clickable picture banners (Missions and other pages): aura + lightning + shine on hover */
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex) {
  position: relative; display: inline-block; vertical-align: middle; border-radius: 10px; overflow: hidden; isolation: isolate; margin: 3px 0;
  box-shadow: 0 0 0 1px var(--sp-line2), 0 4px 12px rgba(0, 0, 0, .4); transition: transform .18s ease, box-shadow .18s ease;
}
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex) > img { display: block; max-width: 100%; height: auto; border: 0 !important; box-shadow: none !important; border-radius: 10px; transition: filter .18s, transform .3s; }
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex)::before {
  content: ""; position: absolute; z-index: 3; top: 50%; right: 4%; width: min(26%, 120px); aspect-ratio: 1; transform: translateY(-50%) scale(.3) rotate(-180deg); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cdefs%3E%3CradialGradient id='r' cx='50%25' cy='45%25' r='55%25'%3E%3Cstop offset='0' stop-color='%23ff3b3b'/%3E%3Cstop offset='.7' stop-color='%23c00010'/%3E%3Cstop offset='1' stop-color='%236a0008'/%3E%3C/radialGradient%3E%3Cfilter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3Cg id='t'%3E%3Ccircle cx='0' cy='-25' r='7.5'/%3E%3Cpath d='M7 -27 Q14 -14 2 -9 Q8 -16 1 -22 Z'/%3E%3C/g%3E%3C/defs%3E%3Ccircle r='47' fill='%23ff2020' opacity='.55' filter='url(%23g)'/%3E%3Ccircle r='44' fill='%23120000'/%3E%3Ccircle r='40' fill='url(%23r)'/%3E%3Ccircle r='25' fill='none' stroke='%233a0000' stroke-width='2.2' opacity='.85'/%3E%3Cg fill='%230a0000'%3E%3Cuse href='%23t'/%3E%3Cuse href='%23t' transform='rotate(120)'/%3E%3Cuse href='%23t' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle r='9.5' fill='%230a0000'/%3E%3Ccircle cx='-13' cy='-16' r='5' fill='%23fff' opacity='.35'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 12px rgba(255, 30, 30, .85));
  opacity: 0;
}
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex)::after {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: -45%; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); opacity: 0;
}
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex):hover { transform: translateY(-3px) scale(1.02); animation: sp-banaura 1.4s ease-in-out infinite; }
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex):hover > img { filter: brightness(1.15) saturate(1.2); transform: scale(1.03); }
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex):hover::before { animation: sp-sharb-in .5s cubic-bezier(.2, 1.4, .4, 1) forwards, sp-sharb-spin 2.4s .5s linear infinite; }
@keyframes sp-sharb-in { to { opacity: .95; transform: translateY(-50%) scale(1) rotate(0deg); } }
@keyframes sp-sharb-spin { from { opacity: .95; transform: translateY(-50%) scale(1) rotate(0deg); } to { opacity: .95; transform: translateY(-50%) scale(1) rotate(360deg); } }
.main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex):hover::after { opacity: 1; animation: sp-banshine .8s ease-out 1; left: 130%; }
@keyframes sp-banshine { from { left: -45%; } to { left: 130%; } }
@keyframes sp-banaura {
  0%, 100% { box-shadow: 0 0 0 2px #f75145, 0 0 16px 3px rgba(247, 81, 69, .6), 0 0 34px 8px rgba(242, 15, 27, .35); }
  50% { box-shadow: 0 0 0 2px #ffbf25, 0 0 20px 4px rgba(255, 191, 37, .6), 0 0 40px 10px rgba(255, 138, 0, .3); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex):hover { animation: none; transform: none; }
  .main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex)::before, .main-content a:has(> img[src*="/baners/"]):not(.wp-tile):not(.sp-ex)::after { display: none; }
}

/* ===== Houses ===== */
.sp-ho-info p { margin: 0 0 8px; color: var(--sp-txt); }
.sp-ho-info p:last-child { margin-bottom: 0; }
.sp-ho-warn { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: rgba(255, 191, 37, .08); border: 1px solid rgba(255, 191, 37, .3); color: var(--sp-dim) !important; }
.sp-ho-warn svg { width: 20px; height: 20px; flex: none; color: var(--sp-gold); margin-top: 1px; }
.sp-ho-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: rgba(22, 11, 12, .55); border: 1px solid var(--sp-line2); }
.sp-ho-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sp-ho-lbl { margin-right: 2px; color: var(--sp-gold); font: 500 18px/1 var(--sp-head); text-transform: uppercase; letter-spacing: .5px; }
.sp-ho-pill { position: relative; margin: 0; cursor: pointer; }
.sp-ho-pill input { position: absolute; opacity: 0; pointer-events: none; }
.sp-ho-pill span { display: inline-block; padding: 5px 11px; border-radius: 7px; border: 1px solid var(--sp-line2); background: rgba(48, 24, 26, .85); color: var(--sp-txt); font: 500 16px/1 var(--sp-head); transition: .15s; }
.sp-ho-pill:hover span { border-color: var(--sp-cyan); background: rgba(242, 15, 27, .25); }
.sp-ho-pill input:checked + span { background: linear-gradient(180deg, #f63426, #bb1019); border-color: var(--sp-cyan); color: #fff; box-shadow: 0 0 10px rgba(242, 15, 27, .55); }
.sp-ho-pill.is-free input:checked + span { background: linear-gradient(180deg, #2fd06a, #12823b); border-color: #5dff8f; box-shadow: 0 0 10px rgba(51, 224, 106, .45); }
.sp-ho-pill.is-rent input:checked + span { background: linear-gradient(180deg, #ffcf4a, #e07800); border-color: var(--sp-gold); color: #fff; box-shadow: 0 0 10px rgba(255, 191, 37, .45); }
.sp-ho-pill input:focus-visible + span { outline: 2px solid var(--sp-cyan); outline-offset: 2px; }
.sp-ho-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.sp-ho-stats > div { padding: 10px 12px; border-radius: 10px; background: rgba(48, 24, 26, .85); border: 1px solid var(--sp-line2); text-align: center; }
.sp-ho-stats b { display: block; color: var(--sp-cyan); font: 500 34px/1 var(--sp-head); }
.sp-ho-stats span { color: var(--sp-dim); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.sp-ho-stats .is-free b { color: #5dff8f; }
.sp-ho-stats .is-rent b { color: var(--sp-gold); }
.sp-houses .sp-it-tools { margin-bottom: 10px; }
.sp-ho-table td { vertical-align: middle; }
.sp-ho-name a { color: #fff !important; font-weight: bold; }
.sp-ho-name a:hover { color: var(--sp-cyan) !important; }
.sp-ho-chip { display: inline-block; padding: 3px 8px; border-radius: 6px; background: rgba(247, 81, 69, .1); border: 1px solid var(--sp-line2); color: var(--sp-cyan); font-size: 13px; white-space: nowrap; }
.sp-ho-gold { color: var(--sp-gold); font-weight: bold; white-space: nowrap; }
.sp-ho-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font: 500 15px/1 var(--sp-head); text-transform: uppercase; letter-spacing: .4px; }
.sp-ho-badge.is-free { background: rgba(51, 224, 106, .16); border: 1px solid rgba(93, 255, 143, .5); color: #5dff8f; }
.sp-ho-badge.is-rent { background: rgba(255, 191, 37, .14); border: 1px solid rgba(255, 191, 37, .45); color: var(--sp-gold); }
.sp-ho-owner a { color: #fff !important; }
.sp-ho-none, .sp-ho-empty { color: var(--sp-dim); text-align: center; }
.sp-ho-view { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.sp-ho-view-img img { display: block; max-width: 220px; border-radius: 8px; border: 1px solid var(--sp-line); }
.sp-ho-view-body h2 { margin: 0 0 8px !important; }
.sp-ho-view-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sp-ho-view-body p { margin: 0 0 6px; }
@media (max-width: 700px) {
  .sp-ho-view { flex-direction: column; }
  .sp-ho-table th:nth-child(3), .sp-ho-table td:nth-child(3) { display: none; }
}

/* ===== Guild Wars ===== */
.sp-war-cmds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sp-war-cmd { padding: 10px 12px; border-radius: 10px; background: rgba(48, 24, 26, .85); border: 1px solid var(--sp-line2); }
.sp-war-cmd code { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 6px; background: rgba(22, 11, 12, .9); border: 1px solid rgba(255, 191, 37, .35); color: var(--sp-gold); font: 13px/1.3 Consolas, monospace; word-break: break-word; }
.sp-war-cmd p { margin: 0; color: var(--sp-txt); font-size: 13px; }
.sp-war-cmd i { color: var(--sp-dim); }
.sp-war { position: relative; display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 12px; margin-bottom: 10px; padding: 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 70, 70, .1), rgba(48, 24, 26, .9) 30%, rgba(48, 24, 26, .9) 70%, rgba(60, 255, 120, .08)); border: 1px solid var(--sp-line2); transition: border-color .15s, box-shadow .15s; }
.sp-war:hover { border-color: var(--sp-line); box-shadow: var(--sp-glow); }
.sp-war.is-active { border-color: rgba(255, 90, 90, .55); box-shadow: 0 0 16px rgba(255, 60, 60, .2); }
.sp-war-g { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: #fff !important; }
.sp-war-g img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: rgba(22, 11, 12, .7); border: 1px solid var(--sp-line2); padding: 3px; transition: transform .2s, box-shadow .2s; }
.sp-war-g:hover img { transform: scale(1.06); box-shadow: 0 0 12px rgba(247, 81, 69, .5); }
.sp-war-g b { font-size: 15px; word-break: break-word; }
.sp-war-g small { color: var(--sp-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.sp-war-mid { text-align: center; }
.sp-war-mid p { margin: 6px 0 0; color: var(--sp-dim); font-size: 13px; }
.sp-war-st { display: inline-block; padding: 3px 10px; border-radius: 6px; font: 500 16px/1 var(--sp-head); text-transform: uppercase; letter-spacing: .5px; background: rgba(247, 81, 69, .12); border: 1px solid var(--sp-line); color: var(--sp-cyan); }
.sp-war.is-active .sp-war-st { background: rgba(255, 60, 60, .16); border-color: rgba(255, 90, 90, .6); color: #ff7070; animation: sp-pulse 1.6s ease-in-out infinite; }
.sp-war.is-pending .sp-war-st { background: rgba(255, 191, 37, .14); border-color: rgba(255, 191, 37, .45); color: var(--sp-gold); }
.sp-war-score { margin-top: 4px; font: 500 48px/1 var(--sp-head); }
.sp-war-score .a { color: #ff6b6b; text-shadow: 0 0 12px rgba(255, 60, 60, .5); }
.sp-war-score .b { color: #5dff8f; text-shadow: 0 0 12px rgba(51, 224, 106, .5); }
.sp-war-score i { margin: 0 10px; color: var(--sp-dim); font-style: normal; }
.sp-war-vs { margin-top: 4px; color: var(--sp-gold); font: 500 40px/1 var(--sp-head); text-shadow: 0 0 12px rgba(255, 191, 37, .5); }
.main-content .sp-war-more { margin-top: 8px; font-size: 16px !important; padding: 4px 12px; }
.sp-war-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.sp-war-frags { grid-column: 1 / -1; max-height: 280px; overflow: auto; padding: 8px 10px; border-radius: 8px; background: rgba(22, 11, 12, .7); border: 1px solid var(--sp-line2); }
.sp-war-frag { padding: 4px 0 4px 10px; border-left: 3px solid var(--sp-line2); margin-bottom: 4px; font-size: 13px; color: var(--sp-dim); }
.sp-war-frag.a { border-left-color: #ff6b6b; }
.sp-war-frag.b { border-left-color: #5dff8f; }
.sp-war-frag time { margin-right: 8px; color: var(--sp-dim); opacity: .8; }
.sp-war-frag a { color: #fff !important; }
@media (max-width: 700px) {
  .sp-war { grid-template-columns: 1fr 1fr; }
  .sp-war-mid { grid-column: 1 / -1; grid-row: 2; }
}

/* ===== home: mobile quick buttons (download / account) + offline tile ===== */
.sp-mcta { display: none; }
@media (max-width: 760px) {
  .sp-mcta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .sp-mcta .sp-dlbtn { margin: 0; }
  .sp-mcta-b { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--sp-r); border: 1px solid var(--sp-line); background: linear-gradient(180deg, #f63426, #bb1019); color: #fff !important; font: 500 20px/1 var(--sp-head); text-transform: uppercase; box-shadow: 0 0 12px rgba(242, 15, 27, .45); }
  .sp-mcta-b .sp-i { width: 22px; height: 22px; }
}
.sp-tile b.sp-off { color: #ff6b6b; }

/* ===== Create account ===== */
.sp-reg-hint { margin-bottom: 14px; }
.sp-reg-hint p { margin: 0 0 6px; color: var(--sp-dim); }
.sp-reg-hint p:last-child { margin: 0; }
.sp-reg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.main-content .sp-reg-h { margin: 0 0 12px !important; color: var(--sp-gold) !important; }
.sp-reg-row { margin-bottom: 12px; }
.sp-reg-row .sp-lbl { display: block; margin-bottom: 5px; }
.sp-reg-row .sp-lbl small { color: var(--sp-dim); font-weight: normal; }
.sp-reg-in { position: relative; display: flex; align-items: center; gap: 8px; }
.main-content .sp-reg-in input, .main-content .sp-reg-in select { width: 100%; }
.sp-reg-in img { flex: none; width: 16px; height: 16px; }
.sp-reg-row.is-err input, .sp-reg-row.is-err select { border-color: #ff6b6b !important; box-shadow: 0 0 8px rgba(255, 80, 80, .35) !important; }
.sp-reg .FormFieldError { display: block; min-height: 0; margin-top: 4px; color: #ff7b7b; font-size: 13px; }
.sp-reg .FormFieldError:empty { display: none; }
.sp-reg-note { display: block; margin-top: 4px; color: var(--sp-gold); font-size: 12px; }
.sp-reg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#SuggestAccountNumber { font-size: 12px; margin-left: 6px; }
.sp-reg-checks { display: grid; gap: 8px; margin: 6px 0 14px; padding: 10px 12px; border-radius: 8px; background: rgba(22, 11, 12, .55); border: 1px solid var(--sp-line2); }
.sp-reg-checks.is-err { border-color: rgba(255, 90, 90, .6); }
.sp-reg-checks .sp-check { margin: 0; }
.main-content .sp-reg-go { font-size: 22px !important; padding: 10px 14px !important; }
.sp-reg-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.sp-reg-steps li { display: flex; align-items: center; gap: 10px; color: var(--sp-txt); }
.sp-reg-steps b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #ff5a45, #b3121b); color: #fff; font: 500 18px/1 var(--sp-head); }
@media (max-width: 860px) { .sp-reg, .sp-reg-2 { grid-template-columns: 1fr; } }
.sp-reg-side p { color: var(--sp-dim); margin: 0 0 10px; }
.sp-war-hint { color: var(--sp-dim); font-size: 12px; }
.sp-war-hint code { padding: 1px 5px; border-radius: 4px; background: rgba(22, 11, 12, .9); color: var(--sp-gold); font-size: 12px; }

/* ===== Shop (Premium Points / Premium Account) - visual only, payment logic untouched ===== */
.sp-shop-login { max-width: 460px; margin: 10px auto; text-align: center; }
.sp-shop-login p { color: var(--sp-dim); margin: 0 0 12px; }
.sp-shop-login .btn { min-width: 150px; margin: 4px; }
.sp-shop table { border-collapse: separate; }
.sp-shop td[bgcolor] { border-radius: 10px; border: 1px solid var(--sp-line2); }
.sp-shop .payment-system { border-radius: 10px; transition: transform .15s, box-shadow .15s; }
.sp-shop td:has(> .payment-system) { transition: border-color .15s, box-shadow .15s; }
.sp-shop td:has(> .payment-system):hover { border-color: var(--sp-cyan); box-shadow: 0 0 14px rgba(247, 81, 69, .4); }
.sp-shop .payment-system:hover { transform: translateY(-2px); }
.sp-shop .payment-system img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.sp-shop .payment-option h4 { margin: 0 !important; font: 500 20px/1.3 var(--sp-head) !important; color: var(--sp-txt) !important; }
.sp-shop .payment-option td[bgcolor] { transition: border-color .15s, background .15s; }
.sp-shop .payment-option td[bgcolor]:has(input[type=radio]):hover { border-color: var(--sp-cyan); }
.sp-shop .payment-option td[bgcolor]:has(input[type=radio]:checked) { border-color: var(--sp-gold); box-shadow: 0 0 12px rgba(255, 191, 37, .35); background: rgba(255, 191, 37, .08) !important; }
.sp-shop .payment-option input[type=radio] { accent-color: var(--sp-gold); width: 16px; height: 16px; vertical-align: -2px; }
.sp-shop input[type=image][src*="pay_button"] { border-radius: 10px; border: 1px solid var(--sp-gold) !important; box-shadow: 0 0 14px rgba(255, 191, 37, .4); transition: transform .15s, box-shadow .15s; }
.sp-shop input[type=image][src*="pay_button"]:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 22px rgba(255, 191, 37, .7); }

/* news: big picture anchored to the left, side thumbnails sharper */
.sp-news-img img { object-position: left center; }
.sp-news-thumb img { image-rendering: auto; image-rendering: high-quality; transform: translateZ(0); }

/* ===== Item details ===== */
.sp-item-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.sp-item-pic { flex: none; display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, rgba(247, 81, 69, .35), rgba(22, 11, 12, .95) 70%); border: 1px solid var(--sp-line); box-shadow: var(--sp-glow); }
.sp-item-pic img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); }
.sp-item-main { min-width: 0; }
.main-content .sp-item-cat { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 6px; background: rgba(247, 81, 69, .12); border: 1px solid var(--sp-line); color: var(--sp-cyan) !important; font: 500 15px/1.2 var(--sp-head); text-transform: uppercase; letter-spacing: .5px; }
.main-content .sp-item-name { margin: 0 0 8px !important; font-size: 38px !important; line-height: 1 !important; }
.sp-item-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-item-stats span { display: flex; flex-direction: column; min-width: 78px; padding: 6px 10px; border-radius: 8px; background: rgba(48, 24, 26, .9); border: 1px solid var(--sp-line2); }
.sp-item-stats i { font-style: normal; color: var(--sp-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.sp-item-stats b { color: #fff; font: 500 22px/1.1 var(--sp-head); }
.sp-item-stats .gold b { color: var(--sp-gold); }
.sp-item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin-bottom: 14px; align-items: start; }
.sp-item .sp-tech-h { margin-top: 0 !important; }
.sp-item-none { margin: 0; color: var(--sp-dim); }
.sp-item-attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-item-attrs span { padding: 5px 10px; border-radius: 7px; font-weight: bold; font-size: 14px; }
.sp-item-attrs .pos { background: rgba(51, 224, 106, .12); border: 1px solid rgba(93, 255, 143, .45); color: #5dff8f; }
.sp-item-attrs .neg { background: rgba(255, 80, 80, .12); border: 1px solid rgba(255, 110, 110, .45); color: #ff7b7b; }
.sp-item-drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.sp-item-mob { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(48, 24, 26, .9); border: 1px solid var(--sp-line2); color: var(--sp-txt) !important; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
a.sp-item-mob:hover { transform: translateY(-2px); border-color: var(--sp-cyan); background: rgba(87, 46, 49, .95); box-shadow: 0 0 12px rgba(247, 81, 69, .35); }
.sp-item-mob.is-off { opacity: .75; }
.sp-item-mob-img { flex: none; display: flex; align-items: flex-end; justify-content: center; width: 52px; height: 52px; border-radius: 8px; background: rgba(22, 11, 12, .8); overflow: hidden; }
.sp-item-mob-img img { max-width: 64px; max-height: 64px; image-rendering: pixelated; }
.sp-item-mob-txt { display: flex; flex-direction: column; min-width: 0; }
.sp-item-mob-txt b { color: #fff; font-size: 14px; line-height: 1.2; }
a.sp-item-mob:hover .sp-item-mob-txt b { color: var(--sp-cyan); }
.sp-item-mob-txt small { color: var(--sp-dim); font-size: 12px; }
.sp-item-info p { margin: 0; }
.sp-item-back { text-align: center; margin-top: 4px; }
@media (max-width: 860px) { .sp-item-grid { grid-template-columns: 1fr; } .sp-item-head { flex-direction: column; text-align: center; } .sp-item-stats { justify-content: center; } }
/* monsters page: monster opened from an item page */
#wodbo-monsters .mo-card.mo-hit { border-color: var(--sp-gold) !important; box-shadow: 0 0 0 2px var(--sp-gold), 0 0 18px rgba(255, 191, 37, .5) !important; }

/* ===== highscores: world switch ===== */
.sp-hs-worlds { display: flex; gap: 8px; margin-bottom: 10px; }
.sp-hs-world { flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--sp-line2); background: rgba(48, 24, 26, .85); color: var(--sp-txt) !important; font: 500 20px/1 var(--sp-head); text-transform: uppercase; letter-spacing: .5px; transition: .15s; }
.sp-hs-world:hover { border-color: var(--sp-cyan); }
.sp-hs-world.is-on { background: linear-gradient(180deg, #ff5a45, #b3121b); border-color: #ff8f7f; color: #fff !important; box-shadow: 0 0 12px rgba(240, 40, 40, .5); }

/* ===== Items (WoNO grid + tooltip) themed ===== */
.wono-items, .wono-item-detail, .sp-item { --wono-accent: #f75145; --wono-card-bg: rgba(40, 20, 22, .88); --wono-card-border: rgba(247, 81, 69, .2); }
.wono-items .wi-card { border-radius: 10px !important; }
.wono-items .wi-card:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .45), 0 0 12px rgba(247, 81, 69, .35) !important; }
.wono-items .wi-cat { font: 500 17px/1 var(--sp-head) !important; text-transform: capitalize; padding: 6px 11px !important; border-radius: 8px !important; }
.wono-items .wi-cat.active { background: linear-gradient(180deg, #ff5a45, #b3121b) !important; border-color: #ff8f7f !important; color: #fff !important; box-shadow: 0 0 10px rgba(240, 40, 40, .45); }
.wono-items .wi-lv { color: var(--sp-gold) !important; }
.wono-items #wi-search-input { width: 100%; }
.sp-item-tt { min-height: 40px; }
.sp-item-tt > * { max-width: 100% !important; position: static !important; box-shadow: none !important; }

/* ===== Jutsu: specials ===== */
.sp-tech-spell.is-special { border-left: 3px solid var(--sp-gold); }
.sp-tech-gif { margin-top: 6px; }
.sp-tech-gif summary { display: inline-block; cursor: pointer; color: var(--sp-gold); font-size: 13px; list-style: none; }
.sp-tech-gif summary::-webkit-details-marker { display: none; }
.sp-tech-gif summary::before { content: "\25B6"; display: inline-block; margin-right: 6px; font-size: 10px; transition: transform .15s; }
.sp-tech-gif[open] summary::before { transform: rotate(90deg); }
.sp-tech-gif img { display: block; max-width: 100%; margin-top: 6px; border-radius: 8px; border: 1px solid var(--sp-line); }

.sp-streams { padding: 8px !important; }
.sp-streams iframe { display: block; width: 100%; height: 228px; border: 0; background: transparent; color-scheme: normal; }
.sp-tech-trs figure { position: relative; }
.sp-tech-trs figure small { display: block; color: #5dff8f; font-size: 10px; line-height: 1.1; }
.sp-tech-trs figcaption.sp { color: #fff !important; background: linear-gradient(180deg, #ff5a45, #b3121b) !important; }
.sp-tech-hint { margin: 6px 0 0; color: var(--sp-dim); font-size: 11px; text-align: center; }

/* ===== Missions & sagas (generated from the game files) ===== */
.ms-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ms-line { margin-bottom: 8px; border-radius: 10px; background: rgba(40, 20, 22, .9); border: 1px solid var(--sp-line2); overflow: hidden; }
.ms-line[open] { border-color: var(--sp-line); box-shadow: var(--sp-glow); }
.ms-line > summary { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; list-style: none; }
.ms-line > summary::-webkit-details-marker { display: none; }
.ms-line > summary::before { content: "\25B6"; color: var(--sp-cyan); font-size: 11px; transition: transform .15s; }
.ms-line[open] > summary::before { transform: rotate(90deg); }
.ms-line > summary:hover { background: rgba(247, 81, 69, .08); }
.ms-line > summary span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ms-line > summary b { color: #fff; font: 500 22px/1.05 var(--sp-head); }
.ms-line > summary small { color: var(--sp-dim); font-size: 12px; }
.ms-line > summary i { font-style: normal; padding: 2px 9px; border-radius: 10px; background: rgba(255, 191, 37, .14); border: 1px solid rgba(255, 191, 37, .4); color: var(--sp-gold); font-size: 12px; white-space: nowrap; }
.ms-steps { margin: 0; padding: 4px 14px 12px 34px; display: grid; gap: 8px; }
.ms-step { padding: 8px 10px; border-radius: 8px; background: rgba(16, 8, 9, .6); border-left: 3px solid var(--sp-cyan); }
.ms-step::marker { color: var(--sp-gold); font-weight: bold; }
.ms-npc b { color: #fff; }
.ms-npc small { margin-left: 6px; color: var(--sp-gold); }
.ms-msg { margin: 4px 0 0; color: var(--sp-dim); font-size: 13px; font-style: italic; }
.ms-req, .ms-rew { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.ms-lbl { flex: none; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: .4px; background: rgba(247, 81, 69, .16); color: #ff9b91; }
.ms-rew .ms-lbl { background: rgba(51, 224, 106, .14); color: #5dff8f; }
.ms-kill { color: #fff; }
.ms-step .wp-list { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.ms-step .wp-items { display: flex; flex-wrap: wrap; gap: 6px; }
/* events overview */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ev-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 10px; background: rgba(40, 20, 22, .9); border: 1px solid var(--sp-line2); color: var(--sp-txt) !important; transition: transform .15s, border-color .15s, box-shadow .15s; }
.ev-card:hover { transform: translateY(-2px); border-color: var(--sp-cyan); box-shadow: var(--sp-glow); }
.ev-time { align-self: flex-start; padding: 2px 9px; border-radius: 6px; background: linear-gradient(180deg, #ff5a45, #b3121b); color: #fff; font: 500 18px/1.1 var(--sp-head); }
.ev-card b { color: #fff; font: 500 23px/1.05 var(--sp-head); }
.ev-card small { color: var(--sp-gold); font-size: 12px; }
.ev-card p { margin: 2px 0 0; color: var(--sp-dim); font-size: 13px; }

/* ===== Rarity system ===== */
.wono-rarity { --r0: #c9c9c9; --r1: #5dff8f; --r2: #4aa8ff; --r3: #c07bff; --r4: #ffbf25; --r5: #ff4a3d; }
.ra-rar { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ra-card { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 10px; background: rgba(40, 20, 22, .9); border: 1px solid var(--sp-line2); border-top: 3px solid var(--rc); }
.ra-card.r0 { --rc: var(--r0); } .ra-card.r1 { --rc: var(--r1); } .ra-card.r2 { --rc: var(--r2); } .ra-card.r3 { --rc: var(--r3); } .ra-card.r4 { --rc: var(--r4); } .ra-card.r5 { --rc: var(--r5); }
.ra-card b { color: var(--rc); font: 500 24px/1 var(--sp-head); text-shadow: 0 0 10px color-mix(in srgb, var(--rc) 45%, transparent); }
.ra-card span { display: flex; justify-content: space-between; gap: 6px; color: #fff; font-size: 13px; }
.ra-card i { font-style: normal; color: var(--sp-dim); }
.ra-note { margin: 8px 0 0; color: var(--sp-dim); font-size: 13px; }
.ra-tiers td, .ra-tiers th { text-align: center !important; }
.ra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
.ra-stat { padding: 10px 12px; border-radius: 10px; background: rgba(40, 20, 22, .9); border: 1px solid var(--sp-line2); border-left: 3px solid var(--sp-gold); }
.ra-stat.common { border-left-color: #9fb0c4; }
.ra-stat.mythic { border-left-color: var(--r5); background: linear-gradient(135deg, rgba(120, 20, 20, .5), rgba(40, 20, 22, .9)); }
.ra-stat.stone { display: flex; gap: 10px; align-items: flex-start; border-left-color: var(--r3); }
.ra-stat b { display: block; color: #fff; font: 500 20px/1.1 var(--sp-head); }
.ra-stat b em { font-style: normal; margin-right: 4px; padding: 0 6px; border-radius: 5px; background: rgba(255, 191, 37, .15); color: var(--sp-gold); }
.ra-stat p { margin: 4px 0 6px; color: var(--sp-dim); font-size: 13px; }
.ra-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: #fff; font-size: 13px; font-weight: bold; }
.ra-t span { padding: 0 6px; border-radius: 9px; font-size: 11px; }
.ra-t .t1 { background: #bdbdbd; color: #222; } .ra-t .t5 { background: var(--sp-gold); color: #3a1d00; } .ra-t .arr { color: var(--sp-dim); }
.ra-stat details { margin-top: 4px; } .ra-stat summary { cursor: pointer; color: var(--sp-gold); font-size: 12px; }
.ra-all { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; }
.ra-all span { display: flex; flex-direction: column; padding: 3px; border-radius: 6px; background: rgba(16, 8, 9, .7); text-align: center; color: #fff; font-size: 11px; }
.ra-all i { font-style: normal; color: var(--sp-gold); }
.ra-slots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ra-slot { padding: 1px 7px; border-radius: 5px; background: rgba(255, 191, 37, .1); border: 1px solid rgba(255, 191, 37, .3); color: #ffd37a; font-size: 11px; }
.ra-it { flex: none; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(16, 8, 9, .85); border: 1px solid var(--sp-line2); }
.ra-it img { width: 32px; height: 32px; image-rendering: pixelated; }

/* ===== WoNO system pages (upgrade, kuchiyose, bijuu, dungeons, mission board, skills, commands) ===== */
.ws-page { --r0: #c9c9c9; --r1: #5dff8f; --r2: #4aa8ff; --r3: #c07bff; --r4: #ffbf25; --r5: #ff4a3d; }
.ws-page .sp-box { margin-bottom: 12px; }
.ws-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ws-page .wp-table th { white-space: normal; font-size: 13px; }
.ws-page .wp-table td { padding-top: 6px; padding-bottom: 6px; }
.ws-page .wp-table td:first-child { white-space: nowrap; }
.ws-tbl-ico td { vertical-align: middle; }
.ws-tbl-ico .wp-item { flex-direction: row; align-items: center; gap: 8px; text-align: left; width: auto; }
.ws-tbl-ico .wp-ico { width: 38px; height: 38px; }
.ws-note { margin: 6px 0 10px; line-height: 1.55; color: var(--wp-txt, #eee); }
.ws-note b { color: var(--wp-gold, #ffd77a); }
.ws-h4 { margin: 0 0 8px; font: 18px Bebas, Verdana, sans-serif; letter-spacing: .5px; color: var(--wp-gold, #ffd77a); }
.ws-list { margin: 0; padding-left: 18px; line-height: 1.6; }
.ws-list b { color: var(--wp-gold, #ffd77a); }
.ws-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ws-card { display: flex; gap: 10px; align-items: flex-start; background: rgba(0, 0, 0, .25); border: 1px solid var(--wp-line, #704b4c); border-radius: 10px; padding: 10px; }
.ws-card > b { color: var(--wp-gold, #ffd77a); display: block; min-width: 100%; }
.ws-card:has(> b) { flex-direction: column; gap: 4px; }
.ws-card p { margin: 0; font-size: 12px; line-height: 1.45; }
.ws-card .wp-item { min-width: 64px; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-ranks { font-weight: bold; letter-spacing: 2px; color: var(--wp-gold, #ffd77a); }
.ws-rk.rC { color: #5fd068; } .ws-rk.rB { color: #4aa3ff; } .ws-rk.rA { color: #b56bff; } .ws-rk.rS { color: #ff4d4d; }
.ws-more { margin: 0 0 12px; }
.ws-more > summary { cursor: pointer; display: inline-block; padding: 6px 14px; margin-bottom: 8px; border-radius: 8px; background: #b3121b; color: #fff; font-weight: bold; list-style: none; }
.ws-more > summary::-webkit-details-marker { display: none; }
.ws-more[open] > summary { background: #7d0d13; }
.ws-cmd { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .35); border: 1px solid var(--wp-line, #704b4c); color: #ffb3b3; font: 12px Consolas, monospace; }
.ws-dung .wp-card-head { margin-bottom: 4px; }
.ws-dung .wp-card-title { text-transform: none; }
.ra-c.r0 { color: var(--r0); } .ra-c.r1 { color: var(--r1); } .ra-c.r2 { color: var(--r2); } .ra-c.r3 { color: var(--r3); } .ra-c.r4 { color: var(--r4); } .ra-c.r5 { color: var(--r5); }
.ra-c { font-weight: bold; }
.ws-page a:not(.btn):not(.wp-item) { color: #ff6b6b; }
/* server info - current dynamic stage column */
.sp-si-stages th.is-now, .sp-si-stages td.is-now { background: rgba(179, 18, 27, .35) !important; color: #fff; }
.sp-si-stages th.is-now { box-shadow: inset 0 -2px 0 #ff4d4d; }
.sp-si-txt { margin: 6px 0 10px; line-height: 1.5; }
/* event pages */
.ws-mobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ws-mob { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: rgba(0, 0, 0, .25); border: 1px solid var(--wp-line, #704b4c); border-radius: 10px; padding: 8px 6px; }
.ws-tbl-ico .ws-mob { flex-direction: row; background: none; border: 0; padding: 0; text-align: left; }
.ws-mob-img { width: 64px; height: 64px; display: flex; align-items: flex-end; justify-content: center; }
.ws-mob-img img { max-width: 64px; max-height: 64px; image-rendering: pixelated; }
.ws-mob b { font-size: 12px; } .ws-mob small { color: var(--wp-dim, #bdb3b1); font-size: 11px; }
.ws-rew { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ws-out { width: 64px; height: 64px; flex: 0 0 64px; display: flex; align-items: flex-end; justify-content: center; }
.ws-out img { max-width: 64px; max-height: 64px; }
.ws-price { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 6px; background: #b3121b; color: #fff; font-weight: bold; font-size: 11px; }
.ws-page .sp-links-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* ===== create character ===== */
.cc-full { margin-bottom: 12px; color: #ff8a8a; font-weight: bold; }
.cc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 14px; margin-bottom: 16px; align-items: stretch; }
.cc-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(179, 18, 27, .35), rgba(0, 0, 0, .25) 70%) !important; }
.cc-ava { width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; border-radius: 14px; border: 2px solid var(--sp-gold, #ffd77a); box-shadow: 0 0 22px rgba(255, 190, 60, .35); overflow: hidden; background: rgba(0, 0, 0, .35); }
.cc-ava img { max-width: 100%; max-height: 100%; }
.cc-sel small { display: block; color: var(--sp-dim, #bdb3b1); text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.cc-sel b { display: block; font: 30px Bebas, Verdana, sans-serif; letter-spacing: 1px; color: var(--sp-gold, #ffd77a); line-height: 1.1; }
.cc-sel a { font-size: 12px; color: #ff6b6b; }
.cc-main { display: flex; flex-direction: column; justify-content: center; }
.cc-note { display: block; margin-top: 6px; color: var(--sp-dim, #bdb3b1); font-size: 12px; }
.cc-note a { color: #ff6b6b; }
.cc-ic { width: 12px; height: 12px; vertical-align: -1px; }
.cc-towns { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-town input { position: absolute; opacity: 0; pointer-events: none; }
.cc-town span { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--sp-line2, #704b4c); background: rgba(0, 0, 0, .3); cursor: pointer; }
.cc-town input:checked + span { border-color: var(--sp-gold, #ffd77a); color: var(--sp-gold, #ffd77a); box-shadow: 0 0 10px rgba(255, 190, 60, .35); }
.cc-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.main-content .cc-go { font-size: 20px !important; padding: 8px 22px !important; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 10px; margin-bottom: 8px; }
.cc-voc { display: flex; flex-direction: column; align-items: center; cursor: pointer; user-select: none; position: relative; }
.cc-voc input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.cc-card { position: relative; display: block; width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--sp-line2, #704b4c); overflow: hidden; background: rgba(0, 0, 0, .35);
  filter: brightness(.82); transition: transform .15s, border-color .15s, box-shadow .15s, filter .15s; }
.cc-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-check { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sp-gold, #ffd77a); color: #2a1010; font-size: 12px; line-height: 20px; text-align: center; font-weight: bold; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .15s; }
.cc-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10, 4, 5, .55); color: #ffd77a; }
.cc-lock svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px #000); }
.cc-name { margin-top: 5px; font-size: 12px; font-weight: bold; color: var(--sp-txt, #eee); text-align: center; transition: color .15s; }
.cc-voc:hover .cc-card { transform: translateY(-3px); border-color: #ff4d4d; filter: brightness(1); box-shadow: 0 0 12px rgba(255, 60, 60, .4); }
.cc-voc input:checked + .cc-card { border-color: var(--sp-gold, #ffd77a); filter: brightness(1.08); transform: translateY(-3px); box-shadow: 0 0 0 2px rgba(255, 200, 60, .3), 0 0 18px rgba(255, 190, 60, .6); }
.cc-voc input:checked + .cc-card .cc-check { opacity: 1; transform: scale(1); }
.cc-voc input:checked ~ .cc-name { color: var(--sp-gold, #ffd77a); }
.cc-voc input:focus-visible + .cc-card { outline: 2px solid #ff6b6b; outline-offset: 2px; }
.cc-voc.is-locked { cursor: not-allowed; }
.cc-voc.is-locked .cc-card { filter: grayscale(.85) brightness(.55); }
.cc-voc.is-locked:hover .cc-card { transform: none; border-color: var(--sp-line2, #704b4c); box-shadow: none; }
.cc-voc.is-locked .cc-name { color: var(--sp-dim, #bdb3b1); }
@media (max-width: 760px) { .cc-top { grid-template-columns: 1fr; } .cc-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); } .cc-card { width: 64px; height: 64px; } }
/* ===== news: Character Update (cu-*) ===== */
.cu { --cu-gold: #ffd77a; --cu-red: #ff4d4d; color: #eee3e0; line-height: 1.5; }
.cu p { margin: 0; }
.cu-hero { position: relative; padding: 22px 22px 18px; margin-bottom: 18px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(200, 40, 50, .5);
  background: radial-gradient(circle at 85% 20%, rgba(255, 120, 40, .25), transparent 55%), linear-gradient(135deg, #2a0c10, #140a0b 70%); }
.cu-kick { display: block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #ff8a3d; font-weight: bold; }
.cu-big { display: block; font: 64px/0.95 Bebas, Impact, sans-serif; letter-spacing: 1px; color: #fff; margin: 6px 0 10px; text-transform: uppercase; }
.cu-big em, .cu-end em { font-style: normal; color: #ff7a2e; }
.cu-hero p { max-width: 640px; color: #d6c8c4; }
.cu-hero p b { color: var(--cu-gold); }
.cu-sum { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cu-sum span { display: flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 9px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 215, 122, .25); font-size: 12px; color: #cdbdb9; }
.cu-sum b { font: 24px Bebas, Impact, sans-serif; color: var(--cu-gold); }
.cu-h { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px !important; font: 34px Bebas, Impact, sans-serif !important; letter-spacing: .5px; color: #fff !important; text-transform: uppercase; }
.cu-h i { font: 14px Verdana, sans-serif; font-style: normal; color: #ff7a2e; letter-spacing: 2px; }
.cu-h::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, #ff5a2e, transparent); }
.cu-tag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 9px; font-weight: bold; letter-spacing: 1.2px; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; }
.t-new { color: #5dff8f; } .t-rework { color: #c08bff; } .t-change { color: #5cb6ff; } .t-fix { color: #c9c0bd; } .t-removed { color: #ff5a5a; } .t-returning { color: #ffc24a; } .t-pas { color: var(--cu-gold); }
.cu-new { --c: #ff4d4d; margin-bottom: 16px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid var(--c); background: linear-gradient(180deg, rgba(40, 14, 17, .9), rgba(18, 10, 11, .9)); }
.cu-sasori { --c: #ff4d5e; } .cu-konan { --c: #b98cff; } .cu-han { --c: #4fd6c2; } .cu-roshi { --c: #ff8a3d; }
.cu-new-h { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cu-new-h .cu-av { width: 64px; height: 64px; border-radius: 12px; border: 2px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); }
.cu-new-h .cu-tag { color: #1a0d0e; background: var(--c); border-color: var(--c); }
.cu-new-h b { display: block; font: 44px/1 Bebas, Impact, sans-serif; color: #fff; text-transform: uppercase; }
.cu-new-h small { color: #c9bbb7; font-size: 12px; }
.cu-pas { padding: 10px 12px; margin-bottom: 10px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.cu-pas > b { font: 20px Bebas, Impact, sans-serif; letter-spacing: .5px; color: #fff; margin-right: 8px; }
.cu-pas p { margin-top: 4px; font-size: 12.5px; color: #d6c8c4; }
.cu-spells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cu-spell { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .07); }
.cu-spell > b { font: 19px Bebas, Impact, sans-serif; letter-spacing: .5px; color: #fff; }
.cu-sts { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 6px; }
.cu-st { padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); font-size: 11px; font-weight: bold; color: #fff; }
.cu-st i { font-style: normal; font-weight: normal; color: #a99c99; margin-right: 3px; }
.cu-spell p { font-size: 12.5px; color: #d6c8c4; }
.cu-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cu-grid { columns: 2 300px; column-gap: 12px; }
.cu-ch { break-inside: avoid; margin-bottom: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(36, 14, 17, .9), rgba(18, 10, 11, .9)); border: 1px solid rgba(160, 40, 48, .45); }
.cu-ch-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cu-ch-h .cu-av { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255, 215, 122, .45); }
.cu-ch-h b { font: 28px/1 Bebas, Impact, sans-serif; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.cu-ch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cu-ch li { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: start; font-size: 12.5px; color: #d6c8c4; }
.cu-ch li .cu-tag { text-align: center; margin-top: 2px; }
.cu-ch li b { color: #fff; }
.cu-end { margin-top: 18px; padding: 18px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .1); }
.cu-end > b { display: block; font: 44px/1 Bebas, Impact, sans-serif; color: #fff; text-transform: uppercase; }
.cu-end p { margin-top: 6px; color: #c9bbb7; }
.cu a { color: #ff6b6b; }
@media (max-width: 640px) { .cu-big { font-size: 46px; } .cu-spells { grid-template-columns: 1fr; } .cu-ch li { grid-template-columns: 1fr; gap: 2px; } .cu-ch li .cu-tag { justify-self: start; } }
/* items list + item page (WoNO stats) */
.sp-it-desc .sp-it-stats { color: #5dff8f; font-weight: bold; }
.sp-it-desc .sp-it-text { color: var(--sp-dim, #bdb3b1); font-size: 12px; }
.sp-item-text { margin: 10px 0 0; color: var(--sp-dim, #bdb3b1); font-style: italic; }
.sp-it-table th[data-k] { cursor: pointer; }
/* ===== who is online ===== */
.on-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.on-stat { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(30, 15, 16, .9); border: 1px solid var(--sp-line2, #704b4c); }
.on-stat b { font: 500 28px/1 var(--sp-head, Bebas); color: #5dff8f; }
.on-stat small { color: var(--sp-dim, #bdb3b1); }
.on-rec small { color: var(--sp-gold, #ffd77a); }
.on-search { flex: 1; display: flex; gap: 8px; min-width: 260px; margin: 0; }
.on-search .sp-it-search { flex: 1; }
.on-empty { text-align: center; color: var(--sp-dim, #bdb3b1); padding: 24px !important; }
.on-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--sp-dim, #bdb3b1); }
.main-content .on-filter { margin-left: auto; width: 200px; }
.on-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.on-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none !important; background: linear-gradient(90deg, rgba(60, 14, 18, .9), rgba(28, 12, 14, .9)); border: 1px solid var(--sp-line2, #704b4c); transition: transform .15s, border-color .15s, box-shadow .15s; }
.on-card:hover { transform: translateY(-2px); border-color: #ff4d4d; box-shadow: 0 0 12px rgba(255, 50, 60, .35); }
.on-card img { width: 44px; height: 44px; border-radius: 9px; border: 1px solid rgba(255, 215, 122, .4); flex: none; }
.on-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.on-txt b { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.on-txt small { color: var(--sp-dim, #bdb3b1); font-size: 12px; }
.on-lvl { display: flex; flex-direction: column; align-items: center; color: var(--sp-gold, #ffd77a); font: 500 22px/1 var(--sp-head, Bebas); }
.on-lvl i { font: normal 10px Verdana, sans-serif; color: var(--sp-dim, #bdb3b1); text-transform: uppercase; }
/* ===== season start countdown (header, next to Naruto) ===== */
.sp-season {
  position: absolute; left: 640px; right: 16px; top: 70px; z-index: 3; padding: 10px 18px 11px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(115deg, rgba(40, 10, 13, .82), rgba(70, 14, 20, .72) 55%, rgba(30, 10, 12, .8));
  border: 1px solid rgba(255, 90, 70, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(237, 12, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sp-season::before { /* moving red sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 80, 60, .16) 45%, transparent 60%); background-size: 250% 100%; animation: sp-season-sheen 5s linear infinite;
}
.sp-season::after { /* faded sharingan in the corner */
  content: ""; position: absolute; right: -36px; top: -40px; width: 170px; height: 170px; opacity: .1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, #000 0 14%, transparent 15%), radial-gradient(circle, transparent 0 40%, #000 41% 44%, transparent 45%), radial-gradient(circle, #ff2b2b, #8a0010);
  animation: sp-season-spin 14s linear infinite;
}
@keyframes sp-season-sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes sp-season-spin { to { transform: rotate(360deg); } }
.sp-season-kick { position: relative; display: block; font: 600 12px/1 Verdana, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #ffbf25; text-shadow: 0 0 8px rgba(255, 140, 0, .6); }
.sp-season-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }
.sp-season-when { display: flex; flex-direction: column; min-width: 0; }
.sp-season-lbl { color: #f3dcd8; font-size: 13px; font-weight: bold; }
.sp-season-date { font: 500 46px/0.95 var(--sp-head); letter-spacing: 1px; white-space: nowrap;
  background: linear-gradient(180deg, #ffe08a, #ff9a1f 55%, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.sp-season-time { color: #fff; font: 500 20px/1.1 var(--sp-head); letter-spacing: .5px; }
.sp-season-time em { font-style: normal; color: #c9b3ae; font-size: 15px; }
.sp-season-cd { display: flex; gap: 8px; flex: none; }
.sp-season-cd span { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 68px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 8, 9, .85), rgba(50, 12, 16, .85)); border: 1px solid rgba(255, 90, 70, .4); box-shadow: inset 0 0 14px rgba(237, 12, 24, .25); }
.sp-season-cd b { font: 500 36px/1 var(--sp-head); color: #fff; text-shadow: 0 0 10px rgba(255, 60, 60, .55); }
.sp-season-cd i { font-style: normal; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #c9b3ae; margin-top: 3px; }
.sp-season-cd span.s { border-color: #ffbf25; box-shadow: 0 0 14px rgba(255, 191, 37, .45), inset 0 0 14px rgba(255, 191, 37, .2); }
.sp-season-cd span.s b { color: #ffbf25; text-shadow: 0 0 10px rgba(255, 191, 37, .7); animation: sp-season-tick 1s steps(1) infinite; }
@keyframes sp-season-tick { 0% { transform: scale(1.08); } 15% { transform: scale(1); } }
.sp-season-live { display: none; flex: none; flex-direction: column; align-items: center; padding: 12px 22px; border-radius: 12px; text-decoration: none !important;
  background: linear-gradient(180deg, #ff5a45, #b3121b); border: 1px solid #ff9d8f; box-shadow: 0 0 18px rgba(240, 40, 40, .6); animation: sp-banaura 1.6s ease-in-out infinite; }
.sp-season-live b { color: #fff; font: 500 30px/1 var(--sp-head); }
.sp-season-live small { color: #ffe0da; font-size: 12px; }
.sp-season.is-live .sp-season-cd { display: none; }
.sp-season.is-live .sp-season-live { display: flex; }
.sp-season.is-live .sp-season-lbl::after { content: " - started!"; color: #5dff8f; }
@media (max-width: 1240px) { .sp-season { left: 600px; } .sp-season-date { font-size: 42px; } .sp-season-cd span { width: 58px; height: 66px; } .sp-season-cd b { font-size: 32px; } }
@media (max-width: 1100px) { .sp-season { display: none; } }
@media (prefers-reduced-motion: reduce) { .sp-season::before, .sp-season::after, .sp-season-cd span.s b { animation: none; } }
.ra-tiers .ra-yes { color: #5dff8f; font-weight: bold; font-size: 16px; text-shadow: 0 0 6px rgba(93, 255, 143, .5); }
.ra-tiers .ra-no { color: #6b5c5a; }
/* Google Translate (PL flag): hide its loading spinner, banner and tooltips - only the translated text stays */
.goog-te-spinner-pos, .goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip,
[class*="VIpgJd-ZVi9od-aZ2wEe"], [class*="VIpgJd-ZVi9od-ORHb"], [class*="VIpgJd-yAWNEb-L7lbkb"] { display: none !important; visibility: hidden !important; }
body { top: 0 !important; }
font[style*="background-color"], .goog-text-highlight { background: none !important; box-shadow: none !important; }
/* quest icons = reward item (32px sprites): show them crisp, not stretched */
.sp-q-ico { background: radial-gradient(circle at 50% 55%, rgba(242, 15, 27, .3), rgba(22, 11, 12, .95) 70%) !important; border: 1px solid var(--sp-line2, #704b4c); }
.sp-q-ico img { width: 32px !important; height: 32px !important; object-fit: contain !important; image-rendering: pixelated !important; }
.sp-q-ico.big img { width: 48px !important; height: 48px !important; }
