Duet Night Abyss

Special:Common.css

Common.css

/* Wiki Layout */
.wiki-layout {
  max-width: none;
}

.wiki-content-area {
  min-width: 0;
}

a.wiki-link.wiki-missing {
  border: none;
}

/* External links */
a[target="_blank"] {
  color: var(--wiki-redirected-from_a-color, rgb(77, 166, 255));
}

/* Relative links */
.wiki-content a.wiki-link, .wiki-content a.wiki-link:visited, .wiki-category-list ul li a {
  color: #4da6ff;
  text-decoration: none;
  padding: 0;
}

.wiki-content a.wiki-link:hover {
  text-decoration: underline;
  color: #4da6ff;
}

/* Inline Images */
.wiki-content img.wiki-media-inline {
  vertical-align: middle;
}
/* Custom wiki colors */
/*******************************
 * Theme Variables (Light + Dark)
 *******************************/
body {
  --lg-accent: #7c5cff;
  --lg-surface-info: rgba(124, 92, 255, 0.10);
  --lg-border-info: rgba(124, 92, 255, 0.33);
  --lg-text-strong: #3d2a80;
  --lg-text-normal: #222;
  --lg-gamedata-bg: #3a2d13;
  --lg-gamedata-border: #d7a447;
  --lg-gamedata-title: #f2c15a;
  --lg-gamedata-text: #f4e9d2;
  --lg-gamedata-strong: #ffffff;
}

body[data-theme="dark"] {
  --lg-text-strong: #d3c6ff;
  --lg-text-normal: #ddd;
  --lg-surface-info: rgba(124, 92, 255, 0.16);
  --lg-border-info: rgba(124, 92, 255, 0.28);
}

/* Custom wiki styles */
.lg-stub {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.lg-stub-icon {
  font-size: 1.2rem;
}

/*******************************
 * SpoilerModuleData Component
 *******************************/
.lg-spoiler-module-data {
  padding: 12px;
  border: 1px solid var(--lg-border-info);
  background: var(--lg-surface-info);
  border-radius: 8px;
  margin-bottom: 14px;
}

.lg-spoiler-module-data .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lg-accent);
}

.lg-spoiler-module-data .body {
  margin-top: 4px;
  line-height: 1.45;
  color: var(--lg-text-normal);
}

.lg-spoiler-module-data b {
  color: var(--lg-text-strong);
}

/********************************************
 * GameDataSpoiler Component
 ********************************************/
.lg-spoiler-game-data {
  padding: 14px;
  border: 1px solid var(--lg-gamedata-border);
  background: var(--lg-gamedata-bg);
  border-radius: 8px;
  margin-bottom: 16px;
}

.lg-spoiler-game-data .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lg-gamedata-title);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lg-spoiler-game-data .body {
  margin-top: 6px;
  line-height: 1.5;
  color: var(--lg-gamedata-text);
}

.lg-spoiler-game-data b {
  color: var(--lg-gamedata-strong);
}

/* DNA-styled character page */
body {
  --dna-bg: #1a1c20;
  --dna-panel: #23262b;
  --dna-accent: #4db3ff;
  --dna-accent-soft: rgba(77, 179, 255, 0.25);
  --dna-text: #e5e5e5;
  --dna-text-dim: #a7a7a7;
  --dna-border: #2f3238;
  --dna-locked: #777;
}

.dna-char-profile {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.dna-char-person {
  display: flex;
  flex-direction: column;
  background: var(--dna-panel);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--dna-border);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.dna-char-person img {
  border-radius: 12px;
  border: 1px solid var(--dna-border);
}

.dna-char-common {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HEADER */
.dna-char-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dna-border);
}

.dna-char-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dna-accent);
}

.dna-char-id {
  font-size: 0.9rem;
  color: var(--dna-text-dim);
}

/* INFO */
.dna-char-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dna-char-faction {
  font-size: 1rem;
  color: var(--dna-text);
}

/* TAGS & ROLES */
.dna-char-tags-block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.dna-char-tags ul,
.dna-char-roles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dna-char-tags li,
.dna-char-roles li {
  background: var(--dna-accent-soft);
  border: 1px solid var(--dna-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--dna-accent);
  width: max-content;
}

.dna-tag-locked {
  color: var(--dna-locked) !important;
  background: rgba(120, 120, 120, 0.15) !important;
  border-color: rgba(120, 120, 120, 0.25) !important;
}

/* STATS PANEL */
.dna-char-stats {
  flex: 1;
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.dna-char-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dna-border);
  font-size: 0.95rem;
  color: var(--dna-text-dim);
}

.dna-char-stats-combat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.dna-char-stats-combat li {
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--dna-text);
  font-size: 0.9rem;
}

.dna-char-stats-combat li:nth-child(11) {
  border: none;
}

.dna-stat-recommended {
  border-color: var(--dna-accent);
  color: var(--dna-accent);
  background: linear-gradient(to bottom right, rgba(77, 179, 255, 0.35), rgba(77, 179, 255, 0.15));
  box-shadow: 0 0 10px rgba(77, 179, 255, 0.4);
  font-weight: 600;
  position: relative;
}

@media (max-width: 880px) {
  .dna-char-profile {
    flex-direction: column;
    gap: 16px;
  }

  .dna-char-stats-combat ul {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .dna-char-tags-block {
    flex-direction: column;
  }

  /* Reorder items visually for responsiveness using CSS only */
  .dna-char-stats-combat li:nth-child(1) {
    order: 1;
  }

  /* Element ATK */
  .dna-char-stats-combat li:nth-child(3) {
    order: 2;
  }

  /* HP */
  .dna-char-stats-combat li:nth-child(5) {
    order: 3;
  }

  /* Shield */
  .dna-char-stats-combat li:nth-child(7) {
    order: 4;
  }

  /* DEF */
  .dna-char-stats-combat li:nth-child(9) {
    order: 5;
  }

  /* Max Sanity */
  .dna-char-stats-combat li:nth-child(10) {
    order: 11;
  }

  /* Morale */
  .dna-char-stats-combat li:nth-child(2) {
    order: 7;
  }

  /* Skill DMG */
  .dna-char-stats-combat li:nth-child(4) {
    order: 8;
  }

  /* Skill Range */
  .dna-char-stats-combat li:nth-child(6) {
    order: 9;
  }

  /* Skill Duration */
  .dna-char-stats-combat li:nth-child(8) {
    order: 10;
  }

  /* Skill Efficiency */
  .dna-char-stats-combat li:nth-child(12) {
    order: 12;
  }

  /* Resolve */
  .dna-char-stats-combat li:nth-child(11) {
    display: none;
  }

  /* Empty */
}

/* === WEAPON PROFILE (Signature Weapon) === */
.dna-ultraweapon-profile {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.dna-weapon-profile {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--dna-bg);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  padding: 16px;
}

.dna-weapon-profile img {
  border-radius: 12px;
  border: 1px solid var(--dna-border);
}

.dna-weapon-name {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dna-accent);
  text-align: center;
}

.dna-weapon-stats {
  flex: 1 1 300px;
  background: var(--dna-bg);
  border-radius: 12px;
  border: 1px solid var(--dna-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Vertical list style --- */
.dna-weapon-stats-combat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dna-weapon-stats-combat li {
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--dna-text);
  font-size: 0.9rem;
}

/* Mobile layout */
@media (max-width: 880px) {
  .dna-ultraweapon-profile {
    flex-direction: column;
  }
}

/* =====================================================
   DNA CHARACTER SKILLS PANEL
   Matches existing DNA visual theme
   ===================================================== */

.dna-char-skills-profile {
  display: flex;
  flex-direction: column;
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

/* One skill block */
.dna-char-skill {
  display: flex;
  flex-direction: row;
  gap: 16px;
  background: var(--dna-bg);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  border-bottom-right-radius: 0;
  padding: 14px;
}

/* =====================================================
   LEFT SIDE: Icon + Name + Type
   ===================================================== */

.dna-char-skill-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  gap: 10px;
}

/* Skill icon */
.dna-char-skill-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--dna-border);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

/* Title */
.dna-char-skill-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dna-text);
}

/* Type (Active/Passive/Ultimate) */
.dna-char-skill-type {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dna-accent);
  opacity: 0.9;
}

/* =====================================================
   RIGHT SIDE: Description + Attributes
   ===================================================== */

.dna-char-skill-data {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.dna-char-skill-attr,
.dna-char-skill-description {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--dna-text);
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  padding: 8px 10px;
  border-radius: 8px;
}

.dna-char-skill-description .dna-char-skill-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dna-accent);
  margin-top: 10px;
  margin-bottom: 6px;
}

/* =====================================================
   MOBILE BEHAVIOR
   ===================================================== */

@media (max-width: 880px) {
  .dna-char-skill-data {
    flex-direction: column;
  }

  .dna-char-skill {
    border-bottom-left-radius: 0;
    flex-direction: column;
  }
}

/* =====================================================
   DNA CHARACTER SKILL ADDONS
   Matches existing DNA visual theme
   ===================================================== */

.dna-char-addons-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.dna-char-addons {
  width: calc(100% - 64px);
  position: relative;
  right: -64px;
}

/* One addon block */
.dna-char-addon {
  display: flex;
  flex-direction: row;
  gap: 16px;
  background: var(--dna-bg);
  border: 1px solid var(--dna-border);
  border-top: none;
  border-bottom: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 14px;
}

.dna-char-addon:last-child {
  border-top: 1px solid var(--dna-border);
  border-bottom: 1px solid var(--dna-border);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.dna-char-addon-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  gap: 10px;
}

/* addon icon */
.dna-char-addon-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--dna-border);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

/* Title */
.dna-char-addon-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dna-text);
}

/* Type (Active/Passive/Ultimate) */
.dna-char-addon-type {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dna-accent);
  opacity: 0.9;
}

.dna-char-addon-no-info {
  color: var(--dna-text-dim);
  font-style: italic;
}

.dna-char-skill-no-info {
  color: var(--dna-text-dim);
  font-style: italic;
}

/* =====================================================
   RIGHT SIDE: Description + Attributes
   ===================================================== */

.dna-char-addon-data {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.dna-char-addon-attr,
.dna-char-addon-description {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--dna-text);
  background: var(--dna-panel);
  border: 1px solid var(--dna-border);
  padding: 8px 10px;
  border-radius: 8px;
}

/* =====================================================
   MOBILE BEHAVIOR
   ===================================================== */

@media (max-width: 880px) {
  .dna-char-addon-data {
    flex-direction: column;
  }

  .dna-char-addon {
    flex-direction: column;
  }

  .dna-char-addons {
    width: 100%;
    right: 0;
  }
}

/* ------------------------------
   Skill Attribute Groups Wrapper
   ------------------------------ */
.dna-char-skill-attrs-group {
    background: var(--dna-surface-2);
    border: 1px solid var(--dna-border);
    padding: 14px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: var(--dna-shadow-sm);
}

/* Group Title */
.dna-char-skill-attrs-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dna-accent);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* List container */
.dna-char-skill-attrs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ------------------------------
   Attribute Line
   ------------------------------ */
.dna-char-skill-attr-line {
    padding: 10px 12px;
    margin: 6px 0;
    background: var(--dna-surface-1);
    border: 1px solid var(--dna-border-light);
    border-radius: 10px;
    transition: background 0.15s ease;
}

.dna-char-skill-attr-line:hover {
    background: var(--dna-hover);
}

/* Top row (param + value) */
.dna-char-skill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Parameter label */
.dna-char-skill-param {
    color: var(--dna-text-strong);
    font-weight: 600;
}

/* Value */
.dna-char-skill-value {
    color: var(--dna-accent);
    font-weight: 700;
}

/* Bottom row (hints) */
.dna-char-skill-bottom {
    margin-top: 6px;
    font-size: 0.82rem;
    opacity: 0.8;
}

/* Hints text */
.dna-char-skill-hints {
    font-style: italic;
    color: var(--dna-text-muted);
}


/* Characters Navbox */
.dna-char-navbox {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dna-border);
  background: var(--dna-panel);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.dna-char-navbox-title {
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dna-accent);
  padding: 12px 0;
  border-bottom: 1px solid var(--dna-border);
}

.dna-char-navbox-links {
  display: flex;
  flex-wrap: wrap;
}

.dna-char-navbox-link-item {
  display: flex;
  flex: 1 1 128px;
  max-width: calc(100% / 3);
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--dna-border);
}
Last Edited by on 12/12/2025, 1:08:14 PM