:root{
  --tfld-bg: #0b0f17;
  --tfld-panel: rgba(255,255,255,.06);
  --tfld-panel-2: rgba(255,255,255,.085);
  --tfld-border: rgba(255,255,255,.10);
  --tfld-text: rgba(255,255,255,.92);
  --tfld-muted: rgba(255,255,255,.68);
  --tfld-accent: #18c7c3;
  --tfld-accent-2: #8b5cf6;
  --tfld-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.tfld-fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 18px;
}

/* Embedded pages (e.g. attendance overview): push content below theme / global header so it does not overlap */
.tfld-fullbleed--below-site-header{
  padding-top: clamp(52px, 9vmin, 120px);
}
body.admin-bar .tfld-fullbleed--below-site-header{
  padding-top: clamp(68px, 9vmin + 18px, 140px);
}

/* Attendance overview matrix: taller scroll area inside standard TF Legion wrapper */
[data-tfld-overview-table] .tfld-ov{
  max-height: min(82vh, 1400px);
}

/* BeTheme (and similar) page subheader hide for TF Legion pages */
body.tfld-hide-subheader #Subheader{
  display:none !important;
}

.tfld-wrap{
  color: var(--tfld-text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(24,199,195,.16), transparent 55%),
              radial-gradient(900px 600px at 100% 0%, rgba(139,92,246,.14), transparent 50%),
              linear-gradient(180deg, #070a10, var(--tfld-bg));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--tfld-shadow);
  width: 100%;
  max-width: 1720px;
  margin-left: auto;
  margin-right: auto;
}
.tfld-wrap *{box-sizing:border-box}

.tfld-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding: 6px 4px 14px;
  position: relative;
}
.tfld-header__right{
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex-wrap:wrap;
  padding-right: 110px; /* reserve space for fixed logout button */
}
.tfld-header__right > .tfld-btn--danger{
  position: absolute;
  top: 6px;
  right: 4px;
}

/* Dashboard: welcome (rank + name) centered; logout fixed top-right */
.tfld-header--dashboard{
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 8px 4px 16px;
}
.tfld-header--dashboard .tfld-header__logout{
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 2;
}
.tfld-header__welcome{
  width: 100%;
  text-align: center;
  padding: 0 clamp(12px, 5vw, 108px);
  box-sizing: border-box;
}
.tfld-header--dashboard .tfld-title.tfld-title--welcome{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px auto 0;
  max-width: 100%;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.2;
}
.tfld-header--dashboard .tfld-title__welcome{
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(13px, 1vw + 11px, 15px);
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--tfld-muted);
}
.tfld-header--dashboard .tfld-title__name{
  display: block;
  width: 100%;
  text-align: center;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: clamp(22px, 2.5vw + 12px, 34px);
  font-weight: 780;
  letter-spacing: .02em;
  color: var(--tfld-text);
}
.tfld-header--dashboard .tfld-header__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.tfld-kicker{
  color: var(--tfld-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tfld-title{
  margin: 6px 0 6px;
  font-size: 26px;
  line-height: 1.1;
}
@media (max-width: 700px){
  .tfld-header--dashboard .tfld-title__name{
    font-size: clamp(19px, 4.5vw + 10px, 28px);
  }
}
.tfld-sub{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  color: var(--tfld-muted);
  font-size: 13px;
}
.tfld-sub__sep{opacity:.55}
.tfld-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24,199,195,.10);
  border: 1px solid rgba(24,199,195,.25);
  color: rgba(255,255,255,.86);
}
.tfld-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--tfld-border);
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration:none;
  line-height: 1;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.tfld-btn:visited{color:#fff;}
.tfld-btn:hover{
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.tfld-btn--block{
  width: 100%;
  justify-content: center;
}
.tfld-input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
}
.tfld-input::placeholder{color: rgba(255,255,255,.55)}
select.tfld-input{
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  color-scheme: dark;
  background-color: #0b0f17;
  color: rgba(255,255,255,.92);
  /* Chromium/Edge on Windows often paints a white focus surface on native selects */
  -webkit-text-fill-color: rgba(255,255,255,.92);
}
select.tfld-input:focus,
select.tfld-input:focus-visible,
select.tfld-input:active{
  /* UA/system styles on Windows often force a light fill on focused <select> */
  background-color: #0b0f17 !important;
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,.92) !important;
  border-color: rgba(24,199,195,.35);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
  outline: none;
}
select.tfld-input option{
  color: rgba(255,255,255,.92);
  background: #0b0f17;
}
select.tfld-input option:checked{
  color: rgba(255,255,255,.92);
  background: #0b0f17;
}
select.tfld-input option:hover,
select.tfld-input option:focus{
  color: rgba(255,255,255,.92);
  background: #0b0f17;
}
select.tfld-input optgroup{
  color: rgba(255,255,255,.92);
  background: #0b0f17;
}
.tfld-input:focus{
  outline: none;
  border-color: rgba(24,199,195,.35);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
}
.tfld-input[type="date"]{
  color-scheme: dark;
  /* Lets the calendar icon sit in normal flow so hit-testing matches the visible glyph */
  position: relative;
}
/*
 * Do not use CSS filter on ::-webkit-calendar-picker-indicator: Chromium often mis-aligns
 * hit-testing vs. the painted icon, so clicks on the icon miss the picker (LOA date fields).
 */
.tfld-input[type="date"]::-webkit-calendar-picker-indicator{
  cursor: pointer;
  opacity: 0.92;
  padding: 6px 4px;
  margin-left: 4px;
  margin-right: -2px;
}

.tfld-input-date-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.tfld-input-date-wrap .tfld-input[type="date"]{
  flex: 1 1 auto;
  min-width: 0;
}
.tfld-date-picker-btn{
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--tfld-border);
  background: var(--tfld-panel-2);
  color: var(--tfld-text);
  cursor: pointer;
  white-space: nowrap;
}
.tfld-date-picker-btn:hover{
  border-color: rgba(24,199,195,.35);
  background: rgba(24,199,195,.12);
}
.tfld-date-picker-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(24,199,195,.15);
}

/* ================= Ribbonplate editor ================= */
.tfld-modal#tfld-ribbonplate-editor-modal{
  padding: 10px;
}
.tfld-modal#tfld-ribbonplate-editor-modal .tfld-modal__dialog{
  width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
}
.tfld-modal#tfld-ribbonplate-editor-modal .tfld-modal__body{
  padding: 12px;
}
.tfld-modal__dialog--xl{
  width: min(1800px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
}
.tfld-rpe{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items: start;
}
.tfld-rpe__left{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
  padding: 12px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  max-height: 72vh;
  overflow: hidden;
}
.tfld-rpe__meta{
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}
.tfld-rpe__label{
  font-size: 16px;
  font-weight: 750;
  margin-top: 6px;
}
.tfld-rpe__links{margin-top: 10px;}
.tfld-rpe__actions{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tfld-rpe__toggle{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  user-select: none;
}
.tfld-rpe__toggle input{
  width: 18px;
  height: 18px;
}
.tfld-rpe__toggle span{
  color: rgba(255,255,255,.88);
  font-weight: 650;
}

.tfld-rpe-gridbox{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 10px 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tfld-rpe-gridbox__row{
  display:flex;
  gap: 10px;
  align-items: center;
}
.tfld-rpe-gridbox__field{
  display:flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.tfld-rpe-gridbox__label{
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  font-weight: 700;
}
.tfld-rpe-gridbox__input{
  height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}

.tfld-rpe-textbox{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 10px 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tfld-rpe-textbox__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.tfld-rpe-textbox__title{
  font-weight: 750;
  color: rgba(255,255,255,.88);
}
.tfld-rpe-textbox__align{
  display:flex;
  gap: 6px;
}
.tfld-rpe-textbox__btn{
  height: 30px;
  width: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  color: rgba(255,255,255,.86);
  cursor: pointer;
  font-weight: 800;
}
.tfld-rpe-textbox__btn.is-active{
  border-color: rgba(24,199,195,.35);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
}
.tfld-rpe-textbox__input{
  min-height: 44px;
  resize: vertical;
  font-family: inherit;
}
.tfld-rpe-textbox__hint{
  font-size: 12px;
}
.tfld-rpe__tabs{
  display:flex;
  gap: 8px;
}
.tfld-rpe__tab{
  flex:1;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--tfld-text);
  cursor: pointer;
}
.tfld-rpe__tab.is-active{
  border-color: rgba(24,199,195,.35);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
}
.tfld-rpe__assets{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.10);
  padding: 10px;
  overflow: auto;
  overscroll-behavior: contain;
  flex: 1;
}
.tfld-rpe-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tfld-rpe-asset{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
}
.tfld-rpe-asset:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.tfld-rpe-asset img{
  width: 100%;
  height: 70px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.tfld-rpe__right{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.tfld-rpe__canvas-wrap{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  padding: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  max-height: calc(100vh - 170px);
}
.tfld-rpe__canvas{
  width: 1200px;
  height: 680px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.tfld-rpe__hint{
  font-size: 13px;
}
@media (max-width: 980px){
  .tfld-rpe{ grid-template-columns: 1fr; }
  .tfld-rpe__left{ max-height: none; }
  .tfld-rpe__canvas-wrap{ max-height: none; }
  .tfld-rpe__canvas{ width: 100%; height: auto; }
}
.tfld-form__row{margin: 0 0 10px}
.tfld-form__label{
  display:block;
  margin: 0 0 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tfld-att-list{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 10px 10px;
  background: rgba(0,0,0,.16);
  max-height: 260px;
  overflow:auto;
}
.tfld-att-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 4px;
}

/* Custom dropdown (dark) */
.tfld-dd{position:relative}
.tfld-dd__btn{
  text-align:left;
  cursor:pointer;
}
.tfld-dd__menu{
  position:absolute;
  left:0;
  right:0;
  top: calc(100% + 6px);
  z-index: 20;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #0b0f17;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  max-height: 260px;
  overflow:auto;
  padding: 6px;
}
.tfld-dd__menu[aria-hidden="true"]{display:none}
.tfld-dd__item{
  padding: 10px 10px;
  border-radius: 10px;
  cursor:pointer;
  color: rgba(255,255,255,.92);
}
.tfld-dd__item:hover{
  background: rgba(255,255,255,.06);
}
.tfld-dd__item.is-selected{
  background: rgba(24,199,195,.14);
  border: 1px solid rgba(24,199,195,.25);
}

/* Ops list modal */
.tfld-opitem{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 12px;
  margin: 0 0 10px;
}
.tfld-opitem__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.tfld-opitem__title{
  font-weight: 750;
  font-size: 14px;
}
.tfld-opitem__meta{color: rgba(255,255,255,.72); font-size: 13px; margin-top: 2px;}
.tfld-opitem__actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end;}
.tfld-opitem__btn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  border-radius: 10px;
  padding: 8px 10px;
  cursor:pointer;
}
.tfld-opitem__btn--danger{border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.10);}
.tfld-opitem__body{margin-top:10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px;}
.tfld-opitem__body[aria-hidden="true"]{display:none}
.tfld-opitem__grid{display:grid; grid-template-columns: 1fr 1fr 1fr; gap:10px;}
.tfld-opitem__attendees{margin-top:10px}
.tfld-opitem__attendees ul{margin: 0; padding-left: 18px}
.tfld-opitem__attendees li{margin: 0 0 4px}
.tfld-showops-section{margin: 0 0 22px;}
.tfld-showops-section:last-child{margin-bottom: 0;}
.tfld-showops-section__title{
  margin: 0 0 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(24,199,195,.95);
}
.tfld-showops-section__title--past{color: rgba(255,255,255,.72);}
.tfld-showops-section__count{
  margin-left: 8px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.tfld-showops-section__list .tfld-opitem:last-child{margin-bottom: 0;}

/* HQ role manager */
.tfld-role-list{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.14);
  padding: 10px;
  max-height: 300px;
  overflow:auto;
  display:grid;
  gap: 8px;
}
.tfld-role-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}
.tfld-role-item:hover{
  background: rgba(255,255,255,.06);
}
.tfld-role-item input{
  margin: 0;
}

.tfld-btnvis-list{
  display:grid;
  gap:10px;
}
.tfld-btnvis-item{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  padding: 10px;
}
.tfld-btnvis-item__title{
  font-weight: 700;
  margin-bottom: 8px;
}
.tfld-btnvis-item__roles{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tfld-btnvis-role{
  display:flex;
  align-items:center;
  gap: 8px;
}

/* LOA card */
.tfld-loa-list{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.14);
  overflow:hidden;
}
.tfld-loa-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 10px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.tfld-loa-row:first-child{border-top:none}
.tfld-loa-row__range{
  font-weight: 700;
  font-size: 13px;
}
.tfld-loa-row__main{min-width: 0}

/* Important Unit Documents */
.tfld-docs{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.tfld-docs__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.90);
  text-decoration:none;
}
.tfld-docs__item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.tfld-docs__title{font-weight: 700}
.tfld-docs__meta{color: rgba(255,255,255,.60); font-size: 12px}
.tfld-docs-row{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  margin: 0 0 10px;
}
.tfld-docs-row__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tfld-docs-row__actions{
  margin-top: 10px;
  display:flex;
  justify-content:flex-end;
}

/* Attendance overview matrix */
.tfld-ov{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
  overflow:auto;
  max-height: 520px;
}
.tfld-ov__table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 920px;
}
.tfld-ov__th,
.tfld-ov__td{
  padding: 10px 10px;
  border-top: 1px solid rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
  font-size: 13px;
  white-space: nowrap;
}
.tfld-ov__th{background: rgba(255,255,255,.04); font-weight: 800; font-size: 12px; letter-spacing:.06em; text-transform: uppercase}
.tfld-ov__th--role{min-width: 220px}
.tfld-ov__th--rank{min-width: 74px; text-align:center}
.tfld-ov__th--name{min-width: 220px}
.tfld-ov__sticky{
  position: sticky;
  left: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(16,22,34,.96), rgba(10,14,22,.96));
  border-right: 1px solid rgba(255,255,255,.10);
}
.tfld-ov__sticky--c1{left: 0; z-index: 4}
.tfld-ov__sticky--c2{left: 220px; z-index: 4}
.tfld-ov__sticky--c3{
  left: 294px;
  z-index: 4;
  /* Verticale accentlijn na de namen (zelfde tint als horizontale unit-scheiding). */
  border-right: 2px solid rgba(24,199,195,.5);
}
/* Unit-/Attendance-kop: één sticky-cel over 3 kolommen — lijn staat rechts van Unit+Rank+Naam. */
.tfld-ov__unitBar > .tfld-ov__sticky:first-child,
.tfld-ov__unitHead > .tfld-ov__sticky:first-child{
  border-right: 2px solid rgba(24,199,195,.5);
}
.tfld-ov__rank{text-align:center}
/* Full table width (one colspan cell) — avoids “short” line when sticky + scroll columns use separate borders. */
.tfld-ov__unitBreak .tfld-ov__unitBreakCell{
  padding: 0;
  height: 0;
  line-height: 0;
  font-size: 0;
  vertical-align: top;
  border-right: none;
  border-bottom: none;
  background: transparent;
  border-top: 2px solid rgba(24,199,195,.5);
}
.tfld-ov__unitBar .tfld-ov__sticky{
  background: linear-gradient(180deg, rgba(24,199,195,.22), rgba(24,199,195,.10));
  border-top: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.tfld-ov__unitFill{
  background: linear-gradient(180deg, rgba(24,199,195,.12), rgba(24,199,195,.06));
  border-top: none;
}
.tfld-ov__unitHead .tfld-ov__td{
  background: rgba(255,255,255,.03);
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.tfld-ov__date{font-size: 12px; color: rgba(255,255,255,.72)}
.tfld-ov__op{margin-top:2px; font-size: 12px; color: rgba(255,255,255,.88)}
.tfld-ov__td{min-width: 74px; text-align:center; font-weight: 800}
/* Member rows: same panel as sticky name/rank columns; status = text color only (no tinted cell blocks). */
.tfld-ov__member .tfld-ov__td{
  background: linear-gradient(180deg, rgba(16,22,34,.96), rgba(10,14,22,.96));
}
.tfld-ov__member .tfld-ov__td.is-present{color: rgba(134,239,172,.95)}
.tfld-ov__member .tfld-ov__td.is-loa{color: rgba(251,191,36,.95)}
.tfld-ov__member .tfld-ov__td.is-awol{color: rgba(251,113,133,.95)}
.tfld-ov__member.is-reserve{opacity:.78}

/* Stats: lijn op dezelfde hoogte als de tekst; onderbreking door transparante gap (geen vlak achter de letters). */
.tfld-stats-section-head{
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  width: 100%;
  margin: clamp(24px, 1.25cm, 44px) 0 clamp(38px, 1.5cm, 76px);
}
.tfld-stats-section-head::before,
.tfld-stats-section-head::after{
  content: "";
  flex: 1 1 auto;
  min-width: 12px;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.tfld-stats-section-title{
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  max-width: 100%;
  text-align: center;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  background: transparent;
}
.tfld-stats-section-title:focus{
  outline: none;
}
.tfld-stats-section-title:focus-visible{
  outline: 2px solid rgba(255,255,255,.28);
  outline-offset: 6px;
  border-radius: 4px;
}

.tfld-stats-section-head + .tfld-top{
  margin-top: 0;
}

/* Progress-kop na hoofdgrid: zelfde verticale ritme als Unit Info (niet de dubbele base-marge). */
.tfld-stats-section-head.tfld-stats-section-head--progress{
  margin-top: clamp(20px, 1cm, 36px);
  margin-bottom: clamp(28px, 1.2cm, 56px);
}

.tfld-stats-section-head--progress + .tfld-asi{
  margin-top: 0;
}

/* Campaign overview: reuse Stats-style section head */
.tfld-stats-section-head--in-cov{
  margin: 44px 0 10px;
}
.tfld-covsection--first .tfld-stats-section-head--in-cov{
  margin-top: 44px;
}

.tfld-covsubtitle{
  margin: -8px 0 44px;
  text-align: center;
  font-style: italic;
  line-height: 1.2;
}

/* Divider onder Latest awards (geen Stats-kop). */
.tfld-header-divider{
  border: 0;
  height: 0;
  margin: 0 0 clamp(38px, 1.5cm, 76px);
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Unit Info (zelfde lijn+titel als Stats) onder Latest awards, volle gridbreedte. */
.tfld-main__grid > .tfld-stats-section-head--in-main-grid{
  grid-column: 1 / -1;
  margin-top: clamp(20px, 1cm, 36px);
  margin-bottom: clamp(28px, 1.2cm, 56px);
}

.tfld-ocap-kills-row{
  margin-top: 14px;
}
.tfld-ocap-kills-card{
  width: 100%;
  max-width: none;
  border-color: rgba(24, 199, 195, 0.22);
  background:
    radial-gradient(720px 200px at 12% 0%, rgba(24, 199, 195, 0.16), transparent 58%),
    radial-gradient(520px 180px at 100% 80%, rgba(139, 92, 246, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.12));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  border-radius: 16px;
  overflow: hidden;
}
.tfld-ocap-kills-card__inner{
  padding: 16px 18px 18px;
}
.tfld-ocap-kills-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tfld-ocap-kills-card__head-main{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.tfld-ocap-kills-card__hint{
  margin: 0;
  max-width: 100%;
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}
.tfld-ocap-kills-card__longest{
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.tfld-ocap-kills-card__longest--inline{
  margin-top: 0;
  text-align: right;
  white-space: nowrap;
  opacity: .95;
}
.tfld-ocap-kills-card__title{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}
.tfld-ocap-kills-card__meta{
  text-align: right;
  min-width: 0;
}
.tfld-ocap-kills-card__meta-label{
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 4px;
}
.tfld-ocap-kills-card__meta-value{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 520px){
  .tfld-ocap-kills-card__head-main{
    flex: 1 1 100%;
  }
  .tfld-ocap-kills-card__meta{
    text-align: left;
    width: 100%;
  }
  .tfld-ocap-kills-card__meta-value{
    white-space: normal;
  }
}
.tfld-ocap-kills-card__value{
  font-size: clamp(34px, 4.2vw, 44px);
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  padding: 0;
  text-shadow: 0 1px 22px rgba(24, 199, 195, 0.18);
}
.tfld-ocap-kills-card__bottom{
  display:flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
@media (max-width: 520px){
  .tfld-ocap-kills-card__bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .tfld-ocap-kills-card__longest--inline{
    text-align: left;
    white-space: normal;
  }
}
.tfld-ocap-kills-card__hits{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  font-size: 14px;
  line-height: 1.35;
}
.tfld-ocap-kills-card__hits-label{
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tfld-ocap-kills-card__hits-value{
  font-weight: 750;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}
.tfld-ocap-kills-card__hits-team-wrap{
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 500;
}
.tfld-ocap-kills-card__hits-team-wrap[hidden]{
  display: none !important;
}

.tfld-ocap-kills-card--clickable{
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tfld-ocap-kills-card--clickable:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
  border-color: rgba(24, 199, 195, 0.38);
}
.tfld-ocap-kills-card--clickable:focus{
  outline: 2px solid rgba(24, 199, 195, 0.75);
  outline-offset: 3px;
}
body.tfld-ocap-timeline-open{
  overflow: hidden;
}

.tfld-ocap-timeline-modal{
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
@media (min-width: 720px){
  .tfld-ocap-timeline-modal{
    align-items: center;
  }
}
.tfld-ocap-timeline-modal[hidden]{
  display: none !important;
}
.tfld-ocap-timeline-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.72);
  backdrop-filter: blur(6px);
}
.tfld-ocap-timeline-modal__panel{
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(24, 199, 195, 0.28);
  background:
    radial-gradient(640px 220px at 20% 0%, rgba(24, 199, 195, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(28, 32, 40, 0.98), rgba(12, 14, 18, 0.99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.tfld-ocap-timeline-modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tfld-ocap-timeline-modal__title{
  margin: 0;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #fff;
}
.tfld-ocap-timeline-modal__close{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.tfld-ocap-timeline-modal__close:hover{
  background: rgba(255, 255, 255, 0.16);
}
.tfld-ocap-timeline-modal__body{
  padding: 0 0 8px;
  overflow: auto;
  flex: 1;
  min-height: 120px;
}
.tfld-ocap-timeline-ops{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 16px;
}
.tfld-ocap-timeline-opblock{
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.tfld-ocap-timeline-opblock__summary{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: #fff;
  letter-spacing: 0.02em;
  user-select: none;
  transition: background 0.15s ease;
}
.tfld-ocap-timeline-opblock__summary::-webkit-details-marker{
  display: none;
}
.tfld-ocap-timeline-opblock__summary-text{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tfld-ocap-timeline-opblock__chev{
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-top: 6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease;
}
.tfld-ocap-timeline-opblock[open] .tfld-ocap-timeline-opblock__chev{
  transform: rotate(180deg);
}
.tfld-ocap-timeline-opblock__summary:hover{
  background: rgba(24, 199, 195, 0.08);
}
.tfld-ocap-timeline-opblock__summary:focus{
  outline: 2px solid rgba(24, 199, 195, 0.65);
  outline-offset: -2px;
}
.tfld-ocap-timeline-opblock__title{
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
.tfld-ocap-timeline-opblock__meta{
  font-size: 12px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.04em;
}
.tfld-ocap-timeline-opblock__panel{
  padding: 0 4px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tfld-ocap-timeline-opblock__panel .tfld-ocap-timeline-table{
  margin: 0 4px;
}
.tfld-ocap-timeline-loading,
.tfld-ocap-timeline-empty{
  padding: 28px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}
.tfld-ocap-timeline-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tfld-ocap-timeline-table th{
  text-align: left;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: rgba(18, 20, 26, 0.98);
  z-index: 1;
}
.tfld-ocap-timeline-table th:nth-child(2),
.tfld-ocap-timeline-table th:nth-child(4){
  text-align: center;
}
.tfld-ocap-timeline-table th:nth-child(1),
.tfld-ocap-timeline-table th:nth-child(3){
  text-align: center;
}
.tfld-ocap-timeline-table th:nth-child(5){
  text-align: center;
}
.tfld-ocap-timeline-table td:nth-child(2),
.tfld-ocap-timeline-table td:nth-child(4){
  text-align: center;
}
.tfld-ocap-timeline-table td:nth-child(1),
.tfld-ocap-timeline-table td:nth-child(3){
  text-align: center;
}
.tfld-ocap-timeline-table td:nth-child(5){
  text-align: center;
}
.tfld-ocap-timeline-table td{
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.tfld-ocap-timeline-table tbody tr:hover td{
  background: rgba(24, 199, 195, 0.06);
}
.tfld-ocap-timeline-table .tfld-ocap-timeline-kind{
  white-space: nowrap;
}
.tfld-ocap-timeline-table .tfld-ocap-timeline-kind--kill{
  color: rgba(248, 113, 113, 0.95);
}
.tfld-ocap-timeline-table .tfld-ocap-timeline-kind--team_kill{
  color: rgba(251, 191, 36, 0.95);
}
.tfld-ocap-timeline-table .tfld-ocap-timeline-kind--hit{
  color: rgba(56, 189, 248, 0.95);
}
.tfld-ocap-timeline-table .tfld-ocap-timeline-kind--team_hit{
  color: rgba(192, 132, 252, 0.95);
}
.tfld-ocap-timeline-op{
  font-weight: 650;
  color: #fff;
}
.tfld-ocap-timeline-opdate{
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 2px;
}

.tfld-top{margin-top: 8px}
.tfld-top__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}


.tfld-main{margin-top: 14px}
.tfld-upcoming{
  margin: 0 0 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(24,199,195,.22);
  position: relative;
  padding-right: 160px; /* reserve space for right-aligned campaign button */
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(24,199,195,.18), transparent 55%),
    radial-gradient(900px 240px at 100% 50%, rgba(139,92,246,.14), transparent 55%),
    rgba(255,255,255,.05);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.tfld-upcoming__kicker{
  color: rgba(255,255,255,.70);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.tfld-upcoming__title{
  margin-top: 6px;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: .01em;
}
.tfld-upcoming__meta{
  margin-top: 6px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.tfld-upcoming__sep{opacity:.7; padding: 0 8px}
.tfld-upcoming__actions{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tfld-upcoming__campbtn{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.tfld-upcoming__campbtn:hover,
.tfld-upcoming__campbtn:focus,
.tfld-upcoming__campbtn:focus-visible{
  transform: translateY(-50%);
}
.tfld-upcoming__unmarked{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.tfld-upcoming__unmarked ul{
  margin: 6px 0 0;
  padding-left: 18px;
}
.tfld-upcoming__unmarked li{margin: 0 0 4px}

/* Unit calendar */
.tfld-cal__wrap{border:1px solid rgba(255,255,255,.08); border-radius:12px; overflow:hidden;}
.tfld-cal__head{display:grid; grid-template-columns:repeat(7,1fr); background:rgba(255,255,255,.04);}
.tfld-cal__dow{padding:10px 8px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; opacity:.75;}
.tfld-cal__grid{display:grid; grid-template-columns:repeat(7,1fr); background:rgba(0,0,0,.1);}
.tfld-cal__cell{background:transparent; border:0; border-top:1px solid rgba(255,255,255,.06); border-right:1px solid rgba(255,255,255,.06); padding:8px; text-align:left; min-height:86px; color:inherit;}
.tfld-cal__cell:nth-child(7n){border-right:0;}
.tfld-cal__cell--empty{min-height:86px;}
.tfld-cal__num{font-size:12px; opacity:.8; margin-bottom:6px;}
.tfld-cal__cell--today{
  background: rgba(24, 199, 195, .10);
  box-shadow: inset 0 0 0 2px rgba(24, 199, 195, .45);
}
.tfld-cal__cell--today .tfld-cal__num{
  font-weight: 800;
  opacity: 1;
  color: var(--tfld-accent, #18c7c3);
}
.tfld-cal__item{font-size:12px; padding:4px 6px; border-radius:8px; background:rgba(0, 170, 255, .10); border:1px solid rgba(0, 170, 255, .20); margin:0 0 6px 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.tfld-cal__item--op{background:rgba(0, 220, 120, .10); border-color:rgba(0, 220, 120, .20);}
.tfld-cal__more{font-size:12px; opacity:.7;}
.tfld-calday{border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:10px; margin-top:10px;}
.tfld-calday--today{
  border-color: rgba(24, 199, 195, .35);
  box-shadow: 0 0 0 1px rgba(24, 199, 195, .2);
}
.tfld-calday__head{font-weight:600; margin-bottom:10px;}
.tfld-calrow{display:flex; gap:10px; align-items:flex-start; padding:8px 0; border-top:1px solid rgba(255,255,255,.06);}
.tfld-calrow:first-of-type{border-top:0;}
.tfld-calrow__main{flex:1 1 auto; min-width:0;}
.tfld-calrow__actions{flex:0 0 auto;}
.tfld-calbadge{display:inline-block; font-size:11px; padding:2px 6px; border-radius:999px; background:rgba(0, 220, 120, .12); border:1px solid rgba(0, 220, 120, .22); margin-top:2px;}
.tfld-calbadge--unit{background:rgba(0, 170, 255, .12); border-color:rgba(0, 170, 255, .22);}
.tfld-main__grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 12px;
  align-items:start;
}
@media (min-width: 1200px){
  .tfld-main__grid{
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 16px;
  }
}

/* ================= Campaign overview (3-column) ================= */
.tfld-cov3{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 360px;
  gap: 12px;
  align-items: start;
}
.tfld-cov3__side,
.tfld-cov3__right{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.tfld-cov3__main{
  min-width: 0;
}

.tfld-covlist{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tfld-covrow{
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px 10px;
  color: var(--tfld-text);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.tfld-covrow:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.tfld-covrow.is-active{
  border-color: rgba(24,199,195,.35);
  background: rgba(24,199,195,.10);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
}
.tfld-covrow__icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.tfld-covrow__icon .dashicons{opacity:.9}
.tfld-covrow__icon img{width:100%; height:100%; object-fit:contain; display:block;}
.tfld-covrow__main{min-width:0; flex: 1 1 auto; display:flex; flex-direction:column; gap:4px;}
.tfld-covrow__title{
  font-weight: 820;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfld-covrow__meta{font-size:12px; color: rgba(255,255,255,.62);}
.tfld-covrow__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.60);
  border-bottom: 2px solid rgba(255,255,255,.60);
  transform: rotate(-45deg);
  opacity: .85;
  flex: 0 0 auto;
}

.tfld-covpanel{display:block;}

.tfld-covpanel{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  z-index: 0;
}
.tfld-covpanel > *{position: relative; z-index: 1;}

.tfld-covmidhero{
  position: relative;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  padding: 18px 18px 16px;
  /* Keep hero readable over silhouettes */
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.18));
  min-height: 210px;
  z-index: 1;
}
.tfld-covmidhero::before{
  content:"";
  position:absolute;
  inset:0;
  background-color:#081225;
  background-image: var(--tfld-covhero-bg);
  background-size: cover;
  background-position: 82% center;
  opacity: 1;
  filter: brightness(1.75) contrast(1.08) saturate(1.15);
  pointer-events:none;
  z-index: 0;
}
.tfld-covmidhero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(8,18,37,.55) 32%, rgba(8,18,37,.10) 62%, rgba(0,0,0,.06) 100%),
    linear-gradient(180deg, rgba(8,18,37,.18), rgba(0,0,0,.86));
  pointer-events:none;
  z-index: 0;
}
.tfld-covmidhero > *{position:relative; z-index: 1;}
.tfld-covmidhero__bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  opacity: .55;
  pointer-events:none;
}
.tfld-covmidhero__overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(900px 460px at 18% 12%, rgba(0,0,0,.18), rgba(0,0,0,.78)),
              linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.30) 55%, rgba(0,0,0,.58));
  pointer-events:none;
}
.tfld-covmidhero__main{
  position: relative;
  display:flex;
  gap: 18px;
  align-items:center;
  margin-top: 6px;
}
.tfld-covmidhero__emblem{
  width: 124px;
  height: 124px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.tfld-covmidhero__emblem .dashicons{
  font-size: 42px;
  width: 42px;
  height: 42px;
  opacity: .92;
}
.tfld-covmidhero__emblem img{width:100%; height:100%; object-fit:contain; display:block;}
.tfld-covmidhero__title{
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
  text-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.tfld-covmidhero__sub{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.tfld-covmidhero__substatus{color: rgba(255,255,255,.78);}
.tfld-covmidhero__subsep{color: rgba(255,255,255,.60);}
.tfld-covtab{color: rgba(255,255,255,.92);}
.tfld-covtab span{color: inherit;}
.tfld-covmidhero__subn{color: rgba(34,197,94,.92); font-weight: 800;}
.tfld-covmidhero__subsep{opacity:.8}

.tfld-covmidhero__actions{
  position: relative;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tfld-covtab{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.tfld-covtab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.20);
}
.tfld-covtab--primary{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.16);
}
.tfld-covtab--primary:hover{
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.22);
}
.tfld-covtab .dashicons{opacity:.9}

.tfld-covsection{margin-top: 14px;}
.tfld-covsection__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 2px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tfld-covsection--first{margin-top: 10px;}
.tfld-covsection--first > .tfld-covsection__head{
  border-top: 0;
  padding-top: 2px;
}
.tfld-covsection__left{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.tfld-covsection__title{
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
}
.tfld-covsection__sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.tfld-covghost{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.86);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.tfld-covghost:hover{background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.20);}

.tfld-covgrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tfld-covgrid--opords{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tfld-covgrid--stats{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 640px){
  .tfld-covgrid--stats{
    grid-template-columns: 1fr;
  }
}
.tfld-covstat{
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(520px 200px at 30% 0%, rgba(24, 199, 195, 0.1), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  padding: 18px 16px 16px;
  text-align: center;
}
.tfld-covstat--enemy{
  border-color: rgba(248, 113, 113, 0.28);
}
.tfld-covstat--vehicle{
  border-color: rgba(56, 189, 248, 0.28);
}
.tfld-covstat__label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 10px;
}
.tfld-covstat__value{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.95);
}
.tfld-covstat--enemy .tfld-covstat__value{
  color: rgba(248, 113, 113, 0.95);
}
.tfld-covstat--vehicle .tfld-covstat__value{
  color: rgba(56, 189, 248, 0.95);
}
.tfld-covcard{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  padding: 14px 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  min-height: 140px;
}
.tfld-covcard[data-tfld-when="past"]{
  border-color: rgba(34,197,94,.45);
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08)),
    rgba(34,197,94,.06);
}
.tfld-covcard[data-tfld-when="past"] .tfld-covcard__icon{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
}

/* Campaign overview – operation tiles (match screenshot style) */
.tfld-covcard--op{
  position: relative;
  padding: 26px 24px 24px;
  min-height: 188px;
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 25% 0%, rgba(255,255,255,.06), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.22)),
    rgba(0,0,0,.18);
}
.tfld-covcard--op::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(240px 160px at 22% 20%, rgba(255,255,255,.06), transparent 62%);
  pointer-events:none;
}
.tfld-covop__num{
  position:absolute;
  left: 18px;
  top: 18px;
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .02em;
  color: rgba(255,255,255,.84);
}
.tfld-covop__kicker{
  margin-left: 56px;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}
.tfld-covop__title{
  margin-left: 56px;
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.tfld-covop__date{
  margin-left: 56px;
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  letter-spacing: .08em;
}
.tfld-covop__open{
  position:absolute;
  right: 18px;
  bottom: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.14);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight: 850;
  letter-spacing: .02em;
}
.tfld-covop__open:hover{background: rgba(34,197,94,.20); border-color: rgba(34,197,94,.45);}
.tfld-covop__open--disabled{opacity:.45; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06);}

.tfld-covop__media{
  position:absolute;
  right: 18px;
  top: 18px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.12);
  color: rgba(255,255,255,.90);
}
.tfld-covop__media .dashicons{
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
}
.tfld-covop__mediaN{
  min-width: 18px;
  text-align:center;
  font-weight: 900;
}

/* Past ops: keep green, slightly stronger */
.tfld-covcard--op[data-tfld-when="past"]{
  border-color: rgba(34,197,94,.45);
}
.tfld-covcard--op[data-tfld-when="past"] .tfld-covop__open{
  border-color: rgba(34,197,94,.40);
  background: rgba(34,197,94,.16);
}
.tfld-covcard__icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
}
.tfld-covcard__main{min-width:0;}
.tfld-covcard__kicker{
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}
.tfld-covcard__title{
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.tfld-covcard__titleRow{
  margin-top: 8px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.tfld-covcard__titleRow .tfld-covcard__title{
  margin-top: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.tfld-covmediabadge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.30);
  background: rgba(56,189,248,.10);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.tfld-covmediabadge__dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(56,189,248,.95);
  box-shadow: 0 0 0 3px rgba(56,189,248,.14);
}
.tfld-covcard__meta{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.tfld-covcard__foot{
  margin-top: auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.tfld-covcard__small{font-size: 12px; color: rgba(255,255,255,.62);}
.tfld-covbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.14);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-weight: 800;
  letter-spacing: .02em;
}
.tfld-covbtn:hover{background: rgba(34,197,94,.20); border-color: rgba(34,197,94,.45);}
.tfld-covbtn--disabled{opacity:.45; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06);}

@media (max-width: 1100px){
  .tfld-covgrid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 640px){
  .tfld-covmidhero__main{flex-direction:column; align-items:flex-start;}
  .tfld-covgrid{grid-template-columns: 1fr;}
  .tfld-covtab{width:100%; justify-content:center;}
}

.tfld-covactlist{display:flex; flex-direction:column; gap:10px;}
.tfld-covact{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(0,0,0,.12);
}
.tfld-covact:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.tfld-covact__thumb{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.tfld-covact__thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.tfld-covact__main{min-width:0; flex: 1 1 auto; display:flex; flex-direction:column; gap:4px;}
.tfld-covact__title{font-weight:760; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.tfld-covact__meta{font-size:12px; color: rgba(255,255,255,.62); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.tfld-covup{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 10px;
  background: rgba(0,0,0,.12);
}

.tfld-covachlist{display:flex; flex-direction:column; gap:10px;}
.tfld-covach{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 10px;
  background: rgba(0,0,0,.12);
}

@media (max-width: 1200px){
  .tfld-cov3{grid-template-columns: 320px minmax(0, 1fr);}
  .tfld-cov3__right{grid-column: 1 / -1;}
}
@media (max-width: 820px){
  .tfld-cov3{grid-template-columns: 1fr;}
}

/* Latest awards banner (upcoming-like) */
.tfld-latest-awards{
  grid-column: 1 / -1;
  padding: 14px 14px;
}
.tfld-latest-awards__list{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tfld-latest-awards__row{
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(520px 220px at 80% 100%, rgba(251,191,36,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
  box-shadow: 0 16px 44px rgba(0,0,0,.38);
  min-height: 140px;
  position: relative;
  overflow: hidden;
}
.tfld-latest-awards__row--link{
  text-decoration: none;
  color: inherit;
}
.tfld-latest-awards__thumb{
  width: 86px;
  height: 86px;
  margin: 2px auto 2px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(140px 110px at 30% 25%, rgba(255,255,255,.10), transparent 55%),
    rgba(0,0,0,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.tfld-latest-awards__thumb--ribbon{
  width: 150px;
  height: 64px;
}
.tfld-latest-awards__thumb--ribbon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tfld-latest-awards__thumb--medal{
  width: 86px;
  height: 86px;
}
.tfld-latest-awards__thumb.has-img{
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.tfld-latest-awards__thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tfld-latest-awards__thumb .dashicons{
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: rgba(251,191,36,.92);
  filter: drop-shadow(0 6px 16px rgba(251,191,36,.18));
}
.tfld-latest-awards__row::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.08) 35%, transparent 70%);
  opacity: .25;
  pointer-events:none;
}
.tfld-latest-awards__row:hover{
  transform: translateY(-2px);
  border-color: rgba(251,191,36,.22);
  box-shadow: 0 22px 60px rgba(0,0,0,.48);
}
.tfld-latest-awards__who{
  font-weight: 780;
  font-size: 18px;
  letter-spacing: .01em;
  text-align: center;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.tfld-latest-awards__what{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
  justify-content: center;
}
.tfld-latest-awards__pillimg{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.30);
}
.tfld-latest-awards__pillimg img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tfld-latest-awards__pillimg.is-fallback{
  width: auto;
  height: auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-color: rgba(251,191,36,.30);
  background: rgba(251,191,36,.10);
  color: rgba(255,255,255,.90);
  box-shadow: none;
}
.tfld-latest-awards__title{
  font-size: 14px;
  color: rgba(255,255,255,.88);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tfld-asi{
  margin-top: 12px;
  border: 1px solid var(--tfld-border);
  background: var(--tfld-panel);
  border-radius: 12px;
  overflow: hidden;
}
.tfld-asi__track-wrap{
  padding: 10px 12px 12px;
  overflow-x: auto;
}
.tfld-asi__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 160px);
  gap: 10px;
}
.tfld-asi__item{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  padding: 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap: 8px;
  min-height: 160px;
  transition: transform .12s ease, border-color .12s ease, opacity .12s ease, filter .12s ease;
}
.tfld-asi__item:hover{
  transform: translateY(-1px);
  border-color: rgba(24,199,195,.28);
}
.tfld-asi__thumb{
  width: 76px;
  height: 76px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.tfld-asi__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tfld-asi__thumb .dashicons{
  font-size: 26px;
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,.76);
}
.tfld-asi__name{
  width: 100%;
  text-align:center;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255,255,255,.92);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfld-asi__item:not(.is-earned){
  opacity: .5;
  filter: grayscale(1) brightness(.75);
}

.tfld-medal-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tfld-medal-actions .tfld-muted{
  grid-column: 1 / -1;
}

.tfld-medal-progress{
  margin-top: 12px;
  border: 1px solid var(--tfld-border);
  background: var(--tfld-panel);
  border-radius: 12px;
  overflow: hidden;
}
.tfld-medal-progress__track{
  grid-auto-columns: minmax(180px, 210px);
}
.tfld-medal-progress__item{
  min-height: 190px;
}
.tfld-medal-progress__item{
  --tfld-progress: 0;
  /* Override generic ASI "unearned" dimming */
  opacity: 1 !important;
  filter: none !important;
}
.tfld-medal-progress__item .tfld-asi__thumb{
  position: relative;
}
.tfld-medal-progress__item .tfld-asi__thumb img{
  transition: filter .18s ease, opacity .18s ease;
  opacity: calc(.35 + (var(--tfld-progress) * .65));
  filter:
    grayscale(calc(1 - var(--tfld-progress)))
    brightness(calc(.72 + (var(--tfld-progress) * .28)))
    contrast(calc(.92 + (var(--tfld-progress) * .18)));
}
.tfld-medal-progress__item .tfld-asi__thumb .dashicons{
  transition: color .18s ease, opacity .18s ease, filter .18s ease;
  opacity: calc(.35 + (var(--tfld-progress) * .65));
  color: rgba(255,255,255, calc(.45 + (var(--tfld-progress) * .55)));
  filter:
    grayscale(calc(1 - var(--tfld-progress)))
    brightness(calc(.75 + (var(--tfld-progress) * .35)));
}
.tfld-medal-progress__item.is-done .tfld-asi__thumb{
  border-color: rgba(251, 191, 36, .42);
  background: radial-gradient(120px 90px at 30% 20%, rgba(251,191,36,.22), transparent 55%),
              rgba(0,0,0,.18);
  box-shadow: 0 0 0 1px rgba(251,191,36,.10) inset, 0 10px 26px rgba(0,0,0,.35);
}
.tfld-medal-progress__item.is-done .tfld-asi__thumb img{
  opacity: 1;
  filter: sepia(.35) saturate(1.25) hue-rotate(350deg) contrast(1.05) brightness(1.02);
}
.tfld-medal-progress__item.is-done .tfld-asi__thumb .dashicons{
  opacity: 1;
  color: rgba(251,191,36,.96);
  filter: drop-shadow(0 4px 10px rgba(251,191,36,.18));
}
.tfld-medal-progress__meta{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.tfld-medal-progress__kind{
  font-size: 11px;
  color: rgba(24,199,195,.92);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: auto;
  min-height: 14px;
  line-height: 14px;
}
.tfld-medal-progress__bar{
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
  margin-top: 6px;
}
.tfld-medal-progress__bar > span{
  display:block;
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,199,195,.95), rgba(139,92,246,.95));
}
.tfld-medal-progress__item.is-done .tfld-medal-progress__bar > span{
  background: linear-gradient(90deg, rgba(34,197,94,.95), rgba(16,185,129,.95));
}

/* Award & rank overview page */
.tfld-award-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.tfld-award-grid--ranks{
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (min-width: 900px){
  .tfld-award-grid--ranks{
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}
.tfld-award-card{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  padding: 12px;
}
.tfld-award-card__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.tfld-award-card__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tfld-award-card__img .dashicons{
  font-size: 30px;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,.72);
}
.tfld-img-fallback{
  align-items:center;
  justify-content:center;
}
.tfld-award-card__title{
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}
.tfld-award-card--no-img .tfld-award-card__title{
  margin-top: 0;
}

/* LOA overview (per operation) */
.tfld-loa-overview-page{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tfld-loa-overview-intro{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  max-width: 52rem;
}
.tfld-loa-overview-stack{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tfld-loa-overview-op__empty{
  margin: 0;
  font-size: 13px;
}
.tfld-loa-overview-table-wrap{
  overflow-x: auto;
  margin-top: 2px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.tfld-loa-overview-table{
  min-width: 560px;
  margin: 0;
}
.tfld-loa-overview-table .tfld-ov__th,
.tfld-loa-overview-table .tfld-ov__td{
  font-size: 13px;
}
.tfld-loa-overview-table .tfld-ov__td:last-child{
  white-space: normal;
  word-break: break-word;
  max-width: 280px;
}
.tfld-award-card__meta{
  font-size: 12px;
  color: rgba(24,199,195,.95);
  margin: 0 0 6px;
}
.tfld-award-card__desc{
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.tfld-col{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* Left dashboard stack: make action cards more compact/square */
.tfld-col--left{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
  gap: 10px;
  align-content:start;
}
.tfld-col--left .tfld-card{
  border-radius: 8px;
  display:flex;
  flex-direction:column;
  min-height: 170px;
}
.tfld-col--left .tfld-card__head{
  padding: 11px 12px 9px;
}
.tfld-col--left .tfld-card__head .dashicons{
  font-size: 21px;
  width: 21px;
  height: 21px;
}
.tfld-col--left .tfld-card__body{
  padding: 8px 10px 10px;
  margin-top:auto;
}
.tfld-col--left .tfld-btn{
  padding: 8px 10px;
  border-radius: 8px;
}
/* Left column also contains modal divs; target last card article explicitly */
.tfld-col--left > article.tfld-card:last-of-type:nth-of-type(odd){
  grid-column: 1 / -1;
}

@media (max-width: 820px){
  .tfld-col--left{
    grid-template-columns: 1fr;
  }
}

/* If Unit Info is rendered as sectioned rows, don't force the old 2-col grid. */
.tfld-col--left:has(.tfld-unitinfo){
  display:block;
}

/* Fallback for browsers without :has() (WordPress/Elementor can ship older engines). */
.tfld-col--left .tfld-unitinfo{
  grid-column: 1 / -1;
}
.tfld-col--left .tfld-unitinfo__left{
  width: 100%;
}

/* Unit info redesign (matches provided mock) */
.tfld-unitinfo{
  width: 100%;
}
.tfld-unitinfo__left{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.tfld-uirow{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.10);
  padding: 14px;
}
.tfld-uirow__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.tfld-uirow__title{
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}
.tfld-uirow__sub{
  color: rgba(255,255,255,.62);
  font-size: 12px;
  flex: 1 1 auto;
  text-align: left;
  margin-left: 10px;
}
.tfld-uirow__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tfld-uirow__grid .tfld-card{
  border-radius: 12px;
  background:
    radial-gradient(420px 220px at 30% 0%, rgba(24,199,195,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20)),
    rgba(0,0,0,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.tfld-uirow__grid .tfld-card__head{
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tfld-uirow__grid .tfld-card__head .dashicons{
  color: rgba(24,199,195,.95);
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.tfld-uirow__grid .tfld-card__title{
  font-weight: 800;
}
.tfld-uirow__grid .tfld-btn--primary{
  background: rgba(24,199,195,.16);
  border-color: rgba(24,199,195,.40);
}
.tfld-uirow__grid .tfld-btn--primary:hover{
  background: rgba(24,199,195,.22);
  border-color: rgba(24,199,195,.52);
}
.tfld-uicard{
  border-radius: 12px;
  background:
    radial-gradient(420px 220px at 30% 0%, rgba(24,199,195,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20)),
    rgba(0,0,0,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.tfld-uicard .tfld-card__head{
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tfld-uicard .tfld-card__head .dashicons{
  color: rgba(24,199,195,.95);
}
.tfld-uicard .tfld-card__title{
  font-weight: 800;
}
.tfld-uicard .tfld-btn--primary{
  background: rgba(24,199,195,.16);
  border-color: rgba(24,199,195,.40);
}
.tfld-uicard .tfld-btn--primary:hover{
  background: rgba(24,199,195,.22);
  border-color: rgba(24,199,195,.52);
}
.tfld-uicard--disabled{
  opacity: .55;
}
.tfld-uicard--disabled .tfld-btn{
  pointer-events:none;
}

@media (max-width: 1100px){
  .tfld-uirow__grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 720px){
  .tfld-uirow__head{flex-direction:column; align-items:flex-start;}
  .tfld-uirow__sub{margin-left:0;}
  .tfld-uirow__grid{grid-template-columns: 1fr;}
}

/* Right panel: profile activity header tweaks to match mock */
.tfld-profact{
  border-radius: 12px;
  background:
    radial-gradient(420px 220px at 30% 0%, rgba(24,199,195,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20)),
    rgba(0,0,0,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.10);
}
.tfld-profact .tfld-card__head{
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tfld-profact .tfld-profact__head{
  justify-content: space-between;
}
.tfld-profact .tfld-card__title{
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 900;
  font-size: clamp(15px, 1.06vw, 17px);
  line-height: 1.3;
}

.tfld-card{
  border: 1px solid var(--tfld-border);
  background: var(--tfld-panel);
  border-radius: 14px;
  overflow:hidden;
}
.tfld-card.tfld-profact{
  border-radius: 12px;
  border-color: rgba(255,255,255,.10);
  background:
    radial-gradient(420px 220px at 30% 0%, rgba(24,199,195,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20)),
    rgba(0,0,0,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  overflow: visible;
}
.tfld-card--stat{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
}

.tfld-card__head{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tfld-card__head .dashicons{
  color: rgba(255,255,255,.75);
}
.tfld-card__title{
  margin:0;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.28;
  letter-spacing: .04em;
  font-weight: 700;
}
.tfld-card__body{
  padding: 12px;
  color: rgba(255,255,255,.86);
}
.tfld-card__desc{
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--tfld-muted);
}
.tfld-col--left .tfld-card__body .tfld-card__desc{
  margin-bottom: 10px;
}
.tfld-card__label{
  padding: 12px 12px 2px;
  font-size: 12px;
  color: var(--tfld-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tfld-card__value{
  padding: 0 12px 4px;
  font-size: 22px;
  font-weight: 750;
}
.tfld-card__hint{
  padding: 0 12px 12px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.tfld-table{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow:hidden;
  background: rgba(0,0,0,.18);
}
.tfld-table__row{
  display:grid;
  grid-template-columns: 1fr 90px 80px;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  align-items:center;
}

/* Calendar month picker: show English display, keep native month input clickable */
.tfld-monthpick{position:relative;}
.tfld-monthpick__display{padding-right: 34px;}
.tfld-monthpick__native{
  position:absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.tfld-table__row:first-child{border-top:none}
.tfld-table__row--head{
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tfld-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.tfld-pill--todo{
  border-color: rgba(139,92,246,.30);
  background: rgba(139,92,246,.12);
}
.tfld-muted{color: rgba(255,255,255,.62)}
.tfld-empty{color: rgba(255,255,255,.75)}

@media (max-width: 1100px){
  .tfld-top__grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .tfld-main__grid{grid-template-columns: minmax(0,1fr);}
  .tfld-latest-awards__list{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 640px){
  .tfld-header__right{
    width:100%;
    padding-right:0;
  }
  .tfld-header__right > .tfld-btn--danger{
    position: static;
    margin-left:auto;
  }
  .tfld-header--dashboard .tfld-header__logout{
    top: 6px;
    right: 4px;
  }
  .tfld-header--dashboard .tfld-header__welcome{
    padding: 0 12px;
  }
  .tfld-latest-awards__list{grid-template-columns: 1fr;}
}

/* Make Gutenberg content look good in dark */
.tfld-card__body a{color: rgba(24,199,195,.95)}
.tfld-card__body p{margin: 0 0 10px}
.tfld-card__body p:last-child{margin-bottom:0}
.tfld-card__body h2,.tfld-card__body h3,.tfld-card__body h4{color: rgba(255,255,255,.92)}

/* Modals */
html.tfld-modal-open, body.tfld-modal-open{overflow:hidden}
.tfld-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
  z-index: 9999;
}
.tfld-modal[aria-hidden="true"]{display:none}
.tfld-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}
.tfld-modal__dialog{
  position:relative;
  width: min(860px, 96vw);
  max-height: min(720px, 86vh);
  overflow:auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(16,22,34,.96), rgba(10,14,22,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.tfld-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tfld-modal__head--with-actions .tfld-modal__title{
  flex: 1;
  min-width: 0;
}
.tfld-modal__head-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tfld-modal__download-html{
  white-space: nowrap;
}
.tfld-modal__title{
  margin:0;
  font-size: 16px;
  letter-spacing: .01em;
}
.tfld-modal__close{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  border-radius: 10px;
  padding: 8px 10px;
  cursor:pointer;
}
.tfld-modal__body{padding: 14px}
.tfld-modal__footer{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ================= Media v2 page ================= */
.tfld-media-v2-public{
  /* Public page: do NOT look like dashboard panels */
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--tfld-text);
}
.tfld-media-v2-container{
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0 0 34px;
  box-sizing: border-box;
}
.tfld-media-v2-hero--public{
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.tfld-media-v2-hero--public .tfld-media-v2-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 96px) 18px;
}
.tfld-media-v2-hero__campaign{
  margin-top: 16px;
  width: min(920px, 92vw);
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tfld-media-v2-hero__campaign-label{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  font-weight: 850;
}
.tfld-media-v2-hero__campaign-select{
  width: 100%;
  height: 64px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(520px 200px at 20% 0%, rgba(24,199,195,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.30)),
    rgba(0,0,0,.18);
  box-shadow: 0 22px 66px rgba(0,0,0,.45);
  color: rgba(255,255,255,.96);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  color-scheme: dark;
}
.tfld-media-v2-hero__campaign-select:focus,
.tfld-media-v2-hero__campaign-select:focus-visible,
.tfld-media-v2-hero__campaign-select:active{
  outline: none;
  border-color: rgba(24,199,195,.40);
  box-shadow: 0 0 0 4px rgba(24,199,195,.16), 0 22px 66px rgba(0,0,0,.45);
  /* Windows/Chromium can paint the focused/open <select> with a white surface; force dark fill. */
  background:
    radial-gradient(520px 200px at 20% 0%, rgba(24,199,195,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.30)),
    rgba(0,0,0,.18) !important;
  background-color: rgba(0,0,0,.18) !important;
  color: rgba(255,255,255,.96) !important;
}
.tfld-media-v2-hero__campaign-select option{
  color: rgba(255,255,255,.92);
  background: #0b0f17;
}
.tfld-media-v2-toolbar--public{
  border-radius: 18px;
}
.tfld-media-v2-card--public{
  border-radius: 18px;
}
.tfld-media-v2-lightbox__open{
  display: inline-block;
  color: rgba(24,199,195,.95);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 650;
}
.tfld-media-v2-lightbox__open:hover{
  color: rgba(191,219,254,1);
}

.tfld-media-v2-page{
  width: 100%;
}
.tfld-media-v2-hero{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(24,199,195,.16), transparent 60%),
    radial-gradient(900px 420px at 100% 10%, rgba(139,92,246,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18)),
    rgba(0,0,0,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.tfld-media-v2-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--tfld-media-hero-bg, none);
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  opacity: .75;
  filter: saturate(1.12) contrast(1.06) brightness(1.18);
  pointer-events:none;
}
.tfld-media-v2-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.26) 45%, rgba(0,0,0,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.60));
  pointer-events:none;
}
.tfld-media-v2-hero__inner{
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4vw, 42px);
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.tfld-media-v2-hero__kicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  font-weight: 750;
}
.tfld-media-v2-hero__title{
  margin: 0;
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
  text-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.tfld-media-v2-hero__sub{
  margin: 0;
  max-width: 64rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.tfld-media-v2-hero__actions{
  margin-top: 6px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tfld-media-v2-toolbar{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    radial-gradient(520px 200px at 25% 0%, rgba(24,199,195,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18)),
    rgba(0,0,0,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  padding: 8px 10px;
}
.tfld-media-v2-toolbar--public{
  margin-left: 18px;
  margin-right: 18px;
}

/* Media v2 page: make theme wrappers full width so full-bleed doesn't get clipped */
body.tfld-media-v2-page #Wrapper{
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.tfld-media-v2-page #Content,
body.tfld-media-v2-page #Content .content_wrapper,
body.tfld-media-v2-page #Content .the_content_wrapper,
body.tfld-media-v2-page .content_wrapper,
body.tfld-media-v2-page .the_content_wrapper{
  max-width: none !important;
  width: 100% !important;
}
body.tfld-media-v2-page #Content .section_wrapper,
body.tfld-media-v2-page #Content .container,
body.tfld-media-v2-page .section_wrapper,
body.tfld-media-v2-page .container{
  max-width: none !important;
  width: 100% !important;
}
body.tfld-media-v2-page #Content .the_content_wrapper,
body.tfld-media-v2-page .the_content_wrapper{
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
body.tfld-media-v2-page .entry-content,
body.tfld-media-v2-page .wp-block-post-content{
  max-width: none !important;
}
.tfld-media-v2-toolbar__grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.tfld-media-v2-toolbar__spacer{min-height: 1px;}
.tfld-media-v2-toolbar__row .tfld-input{
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (max-width: 980px){
  .tfld-media-v2-toolbar__grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px){
  .tfld-media-v2-toolbar__grid{
    grid-template-columns: 1fr;
  }
}
.tfld-media-v2-seg{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.tfld-media-v2-pill{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.tfld-media-v2-pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.20);
}
.tfld-media-v2-pill.is-active{
  border-color: rgba(24,199,195,.40);
  background: rgba(24,199,195,.14);
  box-shadow: 0 0 0 3px rgba(24,199,195,.10);
}

.tfld-media-v2-grid{
  margin-top: 14px;
  display:block;
}
.tfld-media-v2-groups{
  /* Full-width content that scales with window size */
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  min-width: 0;
}
.tfld-media-v2-subgroup{
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0;
}
.tfld-media-v2-gridInner{
  display:flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tfld-media-v2-group{
  margin-top: 18px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tfld-media-v2-group__head{
  /* Use the same look as campaign overview section headings */
  margin: 44px 0 10px;
}
.tfld-media-v2-group__subtitle{
  margin: -8px 0 22px;
  text-align: center;
  font-style: italic;
  line-height: 1.2;
}
.tfld-media-v2-group__title{
  margin: 0;
}
.tfld-media-v2-card{
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(420px 160px at 30% 0%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18)),
    rgba(0,0,0,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.tfld-media-v2-card:hover{
  transform: none;
  border-color: rgba(24,199,195,.24);
  box-shadow: 0 24px 66px rgba(0,0,0,.45);
}
.tfld-media-v2-card:focus{
  outline: 2px solid rgba(24,199,195,.70);
  outline-offset: 3px;
}
.tfld-media-v2-card__thumb{
  position: relative;
  height: var(--tfld-media-v2-row-h, 168px);
  background: rgba(0,0,0,.22);
  overflow:hidden;
}
.tfld-media-v2-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}
.tfld-media-v2-card__thumb--video::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.34));
  pointer-events:none;
}
.tfld-media-v2-card__thumb--twitch-fallback{
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(145,70,255,.42), transparent 58%),
    linear-gradient(145deg, rgba(36,18,66,.96), rgba(10,14,22,.98));
}
.tfld-media-v2-card__play{
  position:absolute;
  left:50%;
  top:50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  pointer-events:none;
  z-index: 1;
}
.tfld-media-v2-card__play::before{
  content:"";
  position:absolute;
  left: 54%;
  top:50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(255,255,255,.94);
}
.tfld-media-v2-card__tag{
  font-size: 11px;
  letter-spacing:.10em;
  text-transform: uppercase;
  font-weight: 850;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.40);
  color: rgba(255,255,255,.90);
  white-space: nowrap;
}
.tfld-media-v2-card__tag--accent{
  border-color: rgba(24,199,195,.30);
  background: rgba(24,199,195,.14);
}
.tfld-media-v2-card__body{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 10px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.75) 100%);
}
.tfld-media-v2-card__title{
  font-weight: 850;
  letter-spacing: .02em;
  color: rgba(255,255,255,.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfld-media-v2-card__meta{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tfld-media-v2-empty{
  margin-top: 14px;
  padding: 22px 16px;
  text-align: center;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(0,0,0,.14);
}

.tfld-media-v2-lightbox{
  width: min(1100px, 96vw);
  max-height: min(86vh, 860px);
}
.tfld-media-v2-lightbox__count{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  flex-shrink: 0;
}
.tfld-media-v2-lightbox__viewer{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 8px;
}
.tfld-media-v2-lightbox__stage{
  position: relative;
  min-width: 0;
}
.tfld-media-v2-lightbox__nav{
  appearance: none;
  align-self: center;
  width: 40px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}
.tfld-media-v2-lightbox__nav:hover{
  background: rgba(24,199,195,.16);
  border-color: rgba(24,199,195,.34);
}
.tfld-media-v2-lightbox__nav[hidden]{
  display: none;
}
.tfld-media-v2-lightbox__frame{
  position: relative;
  background: rgba(0,0,0,.22);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
.tfld-media-v2-lightbox__frame[data-kind="image"]{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: min(52vh, 520px);
}
.tfld-media-v2-lightbox__frame img{
  width: 100%;
  height: auto;
  max-height: min(62vh, 620px);
  object-fit: contain;
  display:block;
}
.tfld-media-v2-lightbox__frame iframe{
  width: 100%;
  height: min(62vh, 620px);
  border: 0;
  display:block;
  background: rgba(0,0,0,.22);
}
.tfld-media-v2-lightbox__fsbar{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  pointer-events: none;
}
.tfld-media-v2-lightbox__fsbar[hidden]{
  display: none;
}
.tfld-media-v2-lightbox__fsbar > *{
  pointer-events: auto;
}
.tfld-media-v2-lightbox__fs-title{
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfld-media-v2-lightbox__fs-count{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
}
.tfld-media-v2-lightbox__fs-exit{
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}
.tfld-media-v2-lightbox__fs-exit:hover{
  background: rgba(255,255,255,.14);
}
.tfld-media-v2-lightbox__viewer:fullscreen{
  background: #000;
  padding: 0;
  gap: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__stage{
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__frame{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  min-height: 0;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__frame[data-kind="image"]{
  min-height: 0;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__frame img{
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__frame iframe{
  width: 100%;
  height: 100%;
  min-height: 0;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__nav{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 72px;
  background: rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.2);
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__nav--prev{
  left: 12px;
}
.tfld-media-v2-lightbox__viewer:fullscreen .tfld-media-v2-lightbox__nav--next{
  right: 12px;
}
.tfld-media-v2-lightbox__meta{
  margin-top: 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tfld-media-v2-lightbox__title{
  font-weight: 850;
  font-size: 15px;
  color: rgba(255,255,255,.94);
}
.tfld-media-v2-lightbox__sub{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tfld-media-v2-lightbox__sub a{color: rgba(24,199,195,.95)}
.tfld-btn--primary{
  border-color: rgba(24,199,195,.30);
  background: rgba(24,199,195,.14);
}
.tfld-btn--primary:hover{
  background: rgba(24,199,195,.20);
  border-color: rgba(24,199,195,.40);
}

/* Force button text to white everywhere (theme links can override). */
a.tfld-btn,
button.tfld-btn,
span.tfld-btn,
.tfld-btn{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
a.tfld-btn:visited{color:#fff !important;}

.tfld-btn--secondary{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
}
.tfld-btn--secondary:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

.tfld-modpack-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.tfld-modpack-scope-note{
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,.10);
}
.tfld-modpack-scope-note--optional{
  background: rgba(251,191,36,.08);
  border-color: rgba(251,191,36,.22);
  color: rgba(255,235,200,.95);
}

.tfld-modal__dialog--modpack-wide{
  width: min(920px, 96vw);
}
.tfld-modal__body--modpack-split{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
}
@media (min-width: 768px) {
  .tfld-modal__body--modpack-split{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0 20px;
    align-items: stretch;
  }
  .tfld-modpack-modal-divider{
    width: 1px;
    align-self: stretch;
    min-height: 160px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255,255,255,.12) 12%,
      rgba(255,255,255,.12) 88%,
      transparent 100%
    );
  }
}
@media (max-width: 767px) {
  .tfld-modpack-modal-divider{
    height: 1px;
    width: 100%;
    margin: 16px 0;
    background: rgba(255,255,255,.10);
    border: 0;
  }
}
.tfld-modpack-modal-section{
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
}
.tfld-modpack-modal-section__title{
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
  color: rgba(255,255,255,.94);
}
.tfld-modpack-modal-section__changelog{
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  font-size: 14px;
  line-height: 1.5;
}
.tfld-modpack-changelog-intro{
  flex: 0 0 auto;
}
.tfld-modpack-changelog-pack-title{
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 750;
  color: rgba(255,255,255,.95);
  line-height: 1.3;
}
.tfld-modpack-changelog-label{
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
}
.tfld-modpack-changelog-scroll{
  max-height: min(38vh, 300px);
  overflow-y: auto;
  padding-right: 4px;
  min-height: 0;
}
.tfld-changelog-wrap{
  min-width: 0;
}
.tfld-changelog--rich .tfld-changelog__p:first-child{
  margin-top: 0;
}
.tfld-changelog--rich p{
  margin: 0.4em 0;
}
.tfld-changelog--rich p:first-child{
  margin-top: 0;
}
.tfld-changelog--rich ul,
.tfld-changelog--rich ol{
  margin: 0.35em 0 0.5em;
  padding-left: 1.25em;
}
.tfld-changelog--rich h1,
.tfld-changelog--rich h2,
.tfld-changelog--rich h3,
.tfld-changelog--rich h4{
  margin: 0.65em 0 0.35em;
  font-size: 14px;
  font-weight: 750;
  color: rgba(255,255,255,.95);
  line-height: 1.35;
}
.tfld-changelog--rich h1:first-child,
.tfld-changelog--rich h2:first-child,
.tfld-changelog--rich h3:first-child,
.tfld-changelog--rich h4:first-child{
  margin-top: 0;
}
.tfld-changelog--rich a{
  color: #5fd4d4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tfld-changelog--plain .tfld-changelog__heading{
  margin: 0.85em 0 0.4em;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  line-height: 1.35;
}
.tfld-changelog--plain .tfld-changelog__heading:first-child{
  margin-top: 0;
}
.tfld-changelog--plain .tfld-changelog__p{
  margin: 0.35em 0;
  color: rgba(255,255,255,.86);
}
.tfld-changelog--plain .tfld-changelog__p:first-child{
  margin-top: 0;
}
.tfld-changelog__list{
  list-style: none;
  margin: 0.25em 0 0.65em;
  padding: 0;
}
.tfld-changelog__list li{
  position: relative;
  margin: 0.2em 0;
  padding-left: 1.35em;
  color: rgba(255,255,255,.86);
}
.tfld-changelog__mark{
  position: absolute;
  left: 0;
  width: 1em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.92;
}
.tfld-changelog__list--add .tfld-changelog__mark{
  color: #6fe08a;
}
.tfld-changelog__list--remove .tfld-changelog__mark{
  color: #f07178;
}
.tfld-changelog__list--update .tfld-changelog__mark{
  color: #8eb4ff;
}
/* Beat theme rules that force inherited white on li descendants */
.tfld-changelog-wrap ul.tfld-changelog__list--add > li > .tfld-changelog__mark,
.tfld-modpack-page ul.tfld-changelog__list--add > li > .tfld-changelog__mark{
  color: #6fe08a !important;
}
.tfld-changelog-wrap ul.tfld-changelog__list--remove > li > .tfld-changelog__mark,
.tfld-modpack-page ul.tfld-changelog__list--remove > li > .tfld-changelog__mark{
  color: #f07178 !important;
}
.tfld-changelog-wrap ul.tfld-changelog__list--update > li > .tfld-changelog__mark,
.tfld-modpack-page ul.tfld-changelog__list--update > li > .tfld-changelog__mark{
  color: #8eb4ff !important;
}
.tfld-changelog__mention{
  color: #9cdbff;
  font-weight: 600;
}
.tfld-changelog__strong{
  font-weight: 700;
  color: rgba(255,255,255,.95);
}
.tfld-modpack-modal-section__foot{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tfld-modpack-modal-section__empty{
  margin: 0;
  font-size: 14px;
}

.tfld-modpack-workshop-hint{
  margin: 8px 0 0 !important;
  font-size: 12px;
  line-height: 1.4;
}
.tfld-modpack-workshop-hint--inline{
  margin: 0 !important;
  max-width: 280px;
  text-align: right;
}
@media (max-width: 640px) {
  .tfld-modpack-workshop-hint--inline{
    text-align: left;
    max-width: none;
  }
}

.tfld-modpack-page{
  margin-top: 4px;
}
.tfld-modpack-page__card{
  padding: 0;
  overflow: hidden;
}
.tfld-modpack-page__inner{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
}
@media (min-width: 900px) {
  .tfld-modpack-page__inner{
    padding: 22px 28px;
  }
}
.tfld-modpack-page__main-head{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.tfld-modpack-page__main-head--toolbar-only{
  justify-content: flex-end;
}
.tfld-modpack-page__main-head-text{
  flex: 1 1 220px;
  min-width: 0;
}
.tfld-modpack-page__main-head-actions{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
@media (max-width: 640px) {
  .tfld-modpack-page__main-head-actions{
    align-items: stretch;
    width: 100%;
  }
  .tfld-modpack-page__main-head-actions .tfld-btn{
    width: 100%;
    justify-content: center;
  }
}
.tfld-modpack-upload-date{
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.62);
}
.tfld-modpack-workshop-modal__body{
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.tfld-modpack-workshop-modal__scroll{
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 6px;
  min-height: 0;
}
.tfld-modpack-page__optional-preset{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.tfld-modpack-history{
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tfld-modpack-history .tfld-modpack-history__item.tfld-opitem:last-child{
  margin-bottom: 0;
}
.tfld-modpack-history .tfld-opitem__btn[href]{
  text-decoration: none;
  text-align: center;
}
.tfld-modpack-changelog-scroll--history{
  max-height: min(52vh, 480px);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(24,199,195,.55) rgba(255,255,255,.08);
  padding-right: 6px;
}
.tfld-modpack-changelog-scroll--history::-webkit-scrollbar{
  width: 10px;
}
.tfld-modpack-changelog-scroll--history::-webkit-scrollbar-track{
  background: rgba(0,0,0,.28);
  border-radius: 8px;
}
.tfld-modpack-changelog-scroll--history::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(24,199,195,.45), rgba(24,199,195,.28));
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,.2);
}
.tfld-modpack-changelog-scroll--history::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(24,199,195,.65), rgba(24,199,195,.4));
}
.tfld-modpack-page__optional-empty{
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 14px;
}
.tfld-modpack-page .tfld-modpack-changelog-scroll:not(.tfld-modpack-changelog-scroll--history){
  max-height: none;
  overflow: visible;
}

.tfld-workshop-list-groups{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tfld-workshop-list-group{
  margin: 0;
  min-width: 0;
}
.tfld-workshop-list-group__title{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  line-height: 1.3;
}
.tfld-workshop-list-group .tfld-workshop-list{
  margin: 0;
}
.tfld-workshop-list{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}
.tfld-workshop-list__item{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: none;
  box-shadow: none;
}
.tfld-workshop-list__main{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.tfld-workshop-list__trailing{
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(48%, 280px);
  text-align: right;
}
.tfld-workshop-list__date-block{
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  color: rgba(255,255,255,.48);
}
.tfld-workshop-list__date-label{
  color: rgba(255,255,255,.42);
  font-weight: 600;
}
.tfld-workshop-list__date{
  font-size: inherit;
  font-weight: 500;
  color: rgba(255,255,255,.52);
  white-space: normal;
}
.tfld-workshop-list__notes{
  display: block;
  width: 100%;
  max-width: 42rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .015em;
  color: rgba(255,255,255,.55);
  white-space: pre-wrap;
  word-break: break-word;
}
.tfld-workshop-list__link{
  color: rgba(147,197,253,.98);
  text-decoration: none;
  font-weight: 650;
}
.tfld-workshop-list__link:hover{
  text-decoration: underline;
  color: rgba(191,219,254,1);
}
.tfld-workshop-list__text{
  color: rgba(255,255,255,.82);
}

.tfld-btn--danger{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
}
.tfld-btn--danger:hover{
  background: rgba(239,68,68,.16);
  border-color: rgba(239,68,68,.45);
}
.tfld-btn--danger-soft{
  border-color: rgba(239,68,68,.22);
  background: rgba(239,68,68,.07);
}
.tfld-btn--danger-soft:hover{
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.32);
}
.tfld-card--clickable{
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.tfld-card--clickable:hover{
  transform: translateY(-2px);
  border-color: rgba(24,199,195,.24);
  background: rgba(255,255,255,.07);
}
.tfld-card__cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.tfld-card__cta strong{color: rgba(255,255,255,.90)}

