/* TapWorld Wiki Core v1.0.3 — Elementor Dynamic Wiki */
.twwiki-dyn-field,
.twwiki-dyn-data,
.twwiki-dyn-related,
.twwiki-dyn-badges,
.twwiki-dyn-empty,
.twwiki-dyn-field * ,
.twwiki-dyn-data * ,
.twwiki-dyn-related * ,
.twwiki-dyn-badges *{
  box-sizing:border-box;
}
.twwiki-dyn-field{margin:0;color:#173746}
html[data-tw-theme="dark"] .twwiki-dyn-field{color:#EFF9FA}

.twwiki-dyn-badges{display:flex;flex-wrap:wrap;gap:8px}
.twwiki-dyn-badges span{min-height:29px;padding:7px 10px;border-radius:999px;display:inline-flex;align-items:center;background:rgba(1,187,162,.10);border:1px solid rgba(1,187,162,.16);color:#197665;font-size:9px;line-height:1;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.twwiki-dyn-badges .is-status{background:rgba(255,215,94,.16);border-color:rgba(255,215,94,.25);color:#806300}
.twwiki-dyn-badges .is-scope{background:rgba(23,55,70,.07);border-color:rgba(23,55,70,.10);color:#365864}
html[data-tw-theme="dark"] .twwiki-dyn-badges span{color:#83E2D3;background:rgba(1,187,162,.10);border-color:rgba(1,187,162,.15)}
html[data-tw-theme="dark"] .twwiki-dyn-badges .is-status{color:#FFE58A;background:rgba(255,215,94,.09);border-color:rgba(255,215,94,.14)}
html[data-tw-theme="dark"] .twwiki-dyn-badges .is-scope{color:#C9DDE1;background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.07)}

.twwiki-dyn-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.twwiki-dyn-data__item{min-height:95px;padding:17px 18px;border-radius:20px;background:rgba(255,255,255,.78);border:1px solid rgba(23,55,70,.08);box-shadow:0 12px 28px rgba(16,56,67,.055)}
.twwiki-dyn-data__item small{display:block;color:#789098;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.twwiki-dyn-data__item strong{display:block;margin-top:8px;color:#173746;font-size:15px;line-height:1.4;font-weight:700}
html[data-tw-theme="dark"] .twwiki-dyn-data__item{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.07);box-shadow:0 12px 28px rgba(0,0,0,.12)}
html[data-tw-theme="dark"] .twwiki-dyn-data__item small{color:#9CB5BC}
html[data-tw-theme="dark"] .twwiki-dyn-data__item strong{color:#EFF9FA}

.twwiki-dyn-related{width:100%}
.twwiki-dyn-related__head{margin-bottom:18px}
.twwiki-dyn-related__head small{color:#3F9F61;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.twwiki-dyn-related__head h3{margin:7px 0 0;color:#173746;font-size:clamp(30px,3.2vw,46px);line-height:1;letter-spacing:-.04em}
html[data-tw-theme="dark"] .twwiki-dyn-related__head h3{color:#EFF9FA}
.twwiki-dyn-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.twwiki-dyn-related__card{min-height:104px;padding:10px;border-radius:20px;display:grid;grid-template-columns:78px minmax(0,1fr) 32px;gap:12px;align-items:center;text-decoration:none!important;background:rgba(255,255,255,.76);border:1px solid rgba(23,55,70,.08);box-shadow:0 12px 30px rgba(16,56,67,.055);transition:transform .22s ease,box-shadow .22s ease}
.twwiki-dyn-related__card:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(16,56,67,.10)}
.twwiki-dyn-related__media{width:78px;height:78px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#DDF5F0,#FFF4D8);color:#01A991;font-size:17px;font-weight:900}
.twwiki-dyn-related__media img{width:100%;height:100%;object-fit:cover}
.twwiki-dyn-related__copy{min-width:0}
.twwiki-dyn-related__copy small,.twwiki-dyn-related__copy strong,.twwiki-dyn-related__copy span{display:block}
.twwiki-dyn-related__copy small{color:#3F9F61;font-size:8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twwiki-dyn-related__copy strong{margin-top:5px;color:#173746;font-size:15px;line-height:1.15}
.twwiki-dyn-related__copy span{margin-top:4px;color:#789098;font-size:10px;line-height:1.35}
.twwiki-dyn-related__card>b{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:rgba(1,187,162,.10);color:#0E8F7C}
html[data-tw-theme="dark"] .twwiki-dyn-related__card{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.07);box-shadow:0 12px 30px rgba(0,0,0,.10)}
html[data-tw-theme="dark"] .twwiki-dyn-related__copy strong{color:#EFF9FA}
html[data-tw-theme="dark"] .twwiki-dyn-related__copy span{color:#9CB5BC}

.twwiki-dyn-empty{padding:15px 17px;border-radius:16px;background:rgba(1,187,162,.06);border:1px dashed rgba(1,187,162,.20);color:#59747D;font-size:12px;line-height:1.5}
html[data-tw-theme="dark"] .twwiki-dyn-empty{color:#B1C8CE;background:rgba(1,187,162,.06)}

@media(max-width:900px){.twwiki-dyn-related__grid{grid-template-columns:1fr 1fr}}
@media(max-width:767px){
  .twwiki-dyn-data{grid-template-columns:1fr}
  .twwiki-dyn-related__grid{grid-template-columns:1fr}
  .twwiki-dyn-related__card{grid-template-columns:68px minmax(0,1fr) 32px}
  .twwiki-dyn-related__media{width:68px;height:68px}
}
@media(prefers-reduced-motion:reduce){.twwiki-dyn-related__card{transition:none}}
.twwiki-dyn-media{margin:0;width:100%;display:flex;align-items:center;justify-content:center}
.twwiki-dyn-media img{display:block;max-width:100%;height:auto;object-fit:contain}

/* v1.0.5 — Typography Sync with Homepage V2 / Elementor Global Fonts guard */
.twwiki-dyn-field,
.twwiki-dyn-data,
.twwiki-dyn-related,
.twwiki-dyn-badges,
.twwiki-dyn-empty{
  font-family:"Inter",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body .elementor :is(.twwiki-dyn-field,.twwiki-dyn-data,.twwiki-dyn-related,.twwiki-dyn-badges,.twwiki-dyn-empty),
body .elementor :is(.twwiki-dyn-field,.twwiki-dyn-data,.twwiki-dyn-related,.twwiki-dyn-badges,.twwiki-dyn-empty) :where(h1,h2,h3,h4,h5,h6,p,a,span,small,strong,b,button,input,select,textarea,label,div,li){
  font-family:"Inter",Arial,sans-serif;
}

.twwiki-dyn-related__media img{object-fit:contain;object-position:center}
/* 1.0.44 — Three highlights and a readable editorial body for every Wiki category. */
.twwiki-entry-editorial,.twwiki-entry-prose,.twwiki-entry-summary{--twe-ink:#173746;--twe-text:#526d77;--twe-surface:rgba(255,255,255,.8);--twe-border:rgba(23,55,70,.1)}
html[data-tw-theme="dark"] :is(.twwiki-entry-editorial,.twwiki-entry-prose,.twwiki-entry-summary){--twe-ink:#eff9fa;--twe-text:#b8cdd2;--twe-surface:rgba(255,255,255,.05);--twe-border:rgba(255,255,255,.1)}
body .twwiki-entry-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0 0;font-family:"Inter",Arial,sans-serif}
.twwiki-entry-summary>div{min-width:0;padding:15px;border:1px solid var(--twe-border);border-radius:16px;background:var(--twe-surface)}
.twwiki-entry-summary dt{color:var(--twe-text);font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.twwiki-entry-summary dd{margin:7px 0 0;color:var(--twe-ink);font-size:13px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
body .twwiki-entry-prose{display:block;max-width:82ch;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--twe-text);font:400 17px/1.8 "Inter",Arial,sans-serif}
body .twwiki-entry-prose>section{margin:0 0 26px;padding:0;border:0;background:transparent;box-shadow:none}
body .twwiki-entry-prose>section:last-child{margin-bottom:0}
body .twwiki-entry-prose h3{margin:0 0 8px;color:var(--twe-ink);font:700 19px/1.35 "Inter",Arial,sans-serif;letter-spacing:-.015em}
body .twwiki-entry-prose p{margin:0 0 12px;color:var(--twe-text);font:inherit}
body .twwiki-entry-editorial :is(.twwiki-story-lore__card,.twwiki-entry-reading__card){padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body .twwiki-entry-editorial :is(.twwiki-character__head,.twwiki-companion__head,.twwiki-currency__head,.twwiki-zone__head,.twwiki-object__head,.twwiki-system__head,.twwiki-mission__head,.twwiki-socialsheet__head){margin-bottom:26px}
body .twwiki-entry-editorial :is(.twwiki-character__head,.twwiki-companion__head,.twwiki-currency__head,.twwiki-zone__head,.twwiki-object__head,.twwiki-system__head,.twwiki-mission__head,.twwiki-socialsheet__head) h2{font-size:clamp(28px,3.4vw,42px);line-height:1.12;letter-spacing:-.035em}
body .twwiki-entry-editorial :is(.twwiki-character__section,.twwiki-companion__section,.twwiki-currency__section,.twwiki-zone__section,.twwiki-object__section,.twwiki-system__section,.twwiki-mission__section,.twwiki-socialsheet__section){padding-top:58px}
body .twwiki-entry-editorial :is(.twwiki-currency__notes,.twwiki-zone__notes,.twwiki-object__notes,.twwiki-system__notes,.twwiki-mission__notes,.twwiki-socialsheet__notes){display:block;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;margin-top:58px;max-width:82ch}
body .twwiki-entry-editorial :is(.twwiki-currency__notes,.twwiki-zone__notes,.twwiki-object__notes,.twwiki-system__notes,.twwiki-mission__notes,.twwiki-socialsheet__notes) h2{margin:8px 0 18px;font-size:27px}
body .twwiki-entry-editorial .twwiki-companion__chips{margin-top:24px;gap:16px}
body .twwiki-entry-editorial .twwiki-companion__chips>span{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:767px){body .twwiki-entry-summary{grid-template-columns:minmax(0,1fr)}body .twwiki-entry-prose{font-size:16px}}
