.club-chart-wrap {
  width: 100%;
}

.club-chart {
  position: relative;
  height: 320px;
}

.club-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

#clubPlayersChart {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================
   Filters
========================= */

.club-chart-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.club-chart-filters button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.club-chart-filters button.is-active {
  background: #1FB6B2;
  color: #fff;
  border-color: #1FB6B2;
}

.x-col,
.x-column,
.cs-column {
  overflow: visible;
}



.v186-club-player + .v186-club-player {
  margin-top: 6px;
}

.v186-club-player a {
  text-decoration: none;
  font-weight: 500;
}


.v186-club-players {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 32px;
}


.v186-club-player {
  white-space: nowrap;
  text-align: center;
}

.v186-pagination-controls {
  text-align: center;
  margin-top: 20px; 
}
.v186-pagination-controls button {
  padding: 6px 12px;
  background: #1fb6b2;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  margin: 0 10px;
}

.v186-pagination-controls button:disabled {
  opacity: 0.4;
  pointer-events: none;
}


/* Tablets & small screens: force 2 columns */
@media (max-width: 767px) {
  .v186-club-players {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Very small phones: 1 column */
@media (max-width: 420px) {
  .v186-club-players {
    grid-template-columns: 1fr;
  }
}


.v186-club-player-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.v186-club-player-avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.v186-club-player-name {
  font-weight: 500;
}

.v186-club-player-link img {
  border-radius: 10em;
}

.club-logo-about .acf-label, .updated {
  display: none;
}

.club-logo-about .acf-image-uploader .image-wrap img {
	max-width: 200px;
}

.club-logo-about .acf-field textarea {
	height: 200px !important;
}

.club-details .acf-label {
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  color: #1fb6b2;
  margin-top: 10px;
}


.profile-pic img {
  border: 3px solid #1FB6B2;
  border-radius: 5em;
}


.no-skills-notice {
  text-align: center;
  font-size: 1.2em;
  margin-top: 2em;
}

.no-programs-notice {
  text-align: center;
  font-size: 1.2em; 
}

.um-profile-body, #um_profile_section {
  display: none;
}

.academy-active-skills {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
}

.academy-skill-card {
  position: relative;
  border: 3px solid #1FB6B2;
  border-radius: 8px;
  padding: 20px;
  height: 450px;
  width: 30%;
}

.academy-review-banner {
  position: absolute;
  top: 0px;
  width: 100%;
  left: 0;
  background: #1FB6B2;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 4px 4px 0 0;
  text-align: center;
  z-index: 5;
}



/*  Academy Member */


.acf-field-radio .acf-radio-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}


.acf-field-radio .acf-radio-list li:last-child {
  display: none;
}

.acf-field-radio .acf-radio-list li:first-child label {
  position: relative;
  padding-left: 56px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.acf-field-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.acf-field-radio .acf-radio-list li:first-child label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 46px;
  height: 26px;
  background: #e5e7eb;
  border-radius: 999px;
  transform: translateY(-50%);
  transition: background .25s ease;
}

.acf-field-radio .acf-radio-list li:first-child label::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform .25s ease;
}

.acf-field-radio
  .acf-radio-list
  li:first-child
  label:has(input[type="radio"]:checked)::before {
  background: #11dbbb;
}

.acf-field-radio
  .acf-radio-list
  li:first-child
  label:has(input[type="radio"]:checked)::after {
  transform: translate(20px, -50%);
}

.acf-field-radio {
  margin-bottom: 20px;
}



.academy-skill-card img {
  max-height: 200px;
  border-radius: 8px;
}

.academy-skill-card .academy-skill-title {
  text-align: center;
  margin-top: 20px;
  font-size: 2em;
}

.academy-skill-excerpt {
  text-align: center;
}

.academy-goto-skill-div {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  left: -4px;
}

.academy-goto-skill-span {
  background: #1fb6b2;
  padding: 8px 25px;
  border-radius: 5px;
}

.academy-goto-skill {
  color: #fff;
}


.academy-remove-skill-div {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  left: -4px;
}

.academy-remove-skill-span {
  background: #1FB6B2;
  padding: 8px 15px;
  border-radius: 5px;
}

.academy-remove-skill {
  color: #fff;
}

.academy-acc-item {
  background: #fff;
  border-radius: 8px;
  margin: 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 10px 14px;
}

.academy-acc-title {
  font-weight: 700;
  cursor: pointer;
}

.academy-acc-list {
  margin: 10px 0 0;
}

.um-change-avatar-link {
  margin-top: 8px;
  text-align: center;
}

.um-change-avatar-link a {
  font-size: 13px;
  color: #777;
  text-decoration: none;
}

.um-change-avatar-link a:hover {
  color: #000;
  text-decoration: underline;
}

/* Timeline - Recent Activity */
.academy-activity-timeline {
  display: flex;
  flex-direction: column;
}

.activity-title {
  font-weight: 600;
  color: black;
}

.activity-time {
  font-size: 0.85rem;
  color: #7a8f8b;
  margin-top: 2px;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #1FB6B2;
}

.activity-icon {
  color: #1FB6B2;
  flex-shrink: 0;
}

.activity-content {
  display: flex;
  flex-direction: column;
}

.academy-acc-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.academy-acc-skill {
  padding: 3px 0;
}



/* Skill Completed List */
.academy-acc-item.is-hidden {
  display: none;
}

.academy-see-all-accordions {
  margin-top: 12px;
  background: none;
  border: none;
  color: #1fdac1;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.academy-acc-list {
  padding: 8px 0;
}

.academy-acc-skill {
  padding: 6px 0;
  border-top: 1px solid #e6f4f1;
}

.academy-acc-skill:first-child {
  border-top: none;
}





/* Showreel Videos */

.v186-showreel-disclaimer {
  margin-top: 1em;
}
.v186-showreel-uploader {
  padding: 20px;
  border: 3px solid #1FB6B2;
  border-radius: 8px;
  margin-top: 20px;
}

.v186-showreel-upload-btn {
  background: #1FB6B2;
  padding: 10px 15px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}


/* Active Skills */
.academy-profile-skill-list {
  display: flex;
  flex-direction: column;
}

.academy-profile-skill-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #1FB6B2;
}

.academy-profile-skill-row:last-child {
  border-bottom: none;
}


.skill-thumb img {
  width: 80px;
  height: 65px;
  border-radius: 6px;
}

.skill-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.skill-excerpt {
  margin: 0;
  font-size: 13px;
  color: #aaa;
}

.skill-status {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #f1c40f;
}

.skill-actions {
  display: flex;
  gap: 10px;
}

.btn-skill-view {
  padding: 6px 12px;
  background: #00d1b2;
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
}

.btn-skill-remove {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.2);
  color: #e74c3c;
  border-radius: 5px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .academy-profile-skill-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skill-actions {
    justify-content: flex-start;
  }
}


.skill-meta-inline {
  font-size: 13px;
  color: #1FB6B2;
  display: flex;
  gap: 6px;
}

.academy-skill-sort {
  margin-bottom: 12px;
  font-size: 14px;
}

.academy-skill-sort select {
  margin-left: 6px;
  padding: 4px 8px;
}


/* Active Programs */
.academy-program-cards {
  display: flex;
  flex-direction: column;
}

.academy-program-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #1FB6B2;
}

.academy-program-card:last-child {
  border-bottom: none;
}

/* Thumbnail */
.program-card-image img {
  width: 75px;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Main content */
.program-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Title */
.program-card-title {
  margin: 0 0 4px;
  font-size: 16px;
}

/* Progress */
.program-progress {
  margin-top: 6px;
}

.program-progress-bar {
  background: rgba(255,255,255,.1);
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
}

.program-progress-bar span {
  display: block;
  height: 100%;
  background: #00d1b2;
}

.program-progress-label {
  font-size: 12px;
  margin-top: 4px;
  color: #aaa;
}

/* Actions */
.program-card-action {
  display: flex;
  gap: 10px;
}

/* Button */
.program-btn-primary {
  padding: 6px 12px;
  background: #00d1b2;
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}


@media (max-width: 768px) {

  .academy-program-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .program-card-action {
    justify-content: flex-start;
  }

}





/* Avatar uploader container */
.academy-avatar-uploader {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Avatar preview */
.academy-avatar-preview {
    position: relative;
    width: 160px;
    height: 160px;
}

/* Clickable avatar */
.academy-avatar-label {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Avatar image */
.academy-avatar-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.academy-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Hover effect */
.academy-avatar-label:hover .academy-avatar-overlay {
    opacity: 1;
}

/* Hide native file input */
.academy-avatar-file {
    display: none;
}

/* Button styling */
.academy-avatar-uploader button {
    background: #1fb6b2; /* Velocity Teal */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background 0.2s ease, transform 0.1s ease;
}

.academy-avatar-uploader button:hover {
    background: #15908c;
}

.academy-avatar-uploader button:active {
    transform: translateY(1px);
}


.academy-avatar-uploader button.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.academy-avatar-uploader button.is-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.6);
    border-top-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    animation: academy-spin 0.7s linear infinite;
}

@keyframes academy-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}


/* === Dashboard ACF layout === */

/* Two-column grid for fields */
.profile-visibility .acf-form .acf-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

/* Make each field fill its column */
.profile-visibility .acf-form .acf-field {
  margin: 0;
  border-top: none;
}

/* Full-width fields (optional override) */
.profile-visibility .acf-form .acf-field.full-width {
  grid-column: 1 / -1;
}

/* Center the save button */
.profile-visibility .acf-form-submit {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Optional: nicer button sizing */
.profile-visibility .acf-form-submit input[type="submit"] {
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 8px;
}

.profile-visibility .acf-form .acf-fields .acf-label {
  font-size: 1.1em;
}

@media (max-width: 640px) {
  .profile-visibility .acf-form .acf-fields {
    grid-template-columns: 1fr;
  }
}

/* === Parent dashboard child accounts === */

.v186-parent-children {
  width: 100%;
  color: #101828;
}

.v186-parent-children__intro {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #667085;
}

.v186-parent-children__summary {
  display: grid;
  grid-template-columns: minmax(180px, 260px);
  justify-content: center;
  gap: 12px;
  margin: 0 0 22px;
}

.v186-parent-children__summary > div {
  padding: 16px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f9fafb;
}

.v186-parent-children__summary dt {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #667085;
}

.v186-parent-children__summary dd {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  color: #101828;
  font-weight: 800;
}

.v186-parent-children__empty {
  margin: 0;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #667085;
}

.v186-parent-subscription-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(239, 68, 68, 0.26);
  border-radius: 8px;
  background: #fff5f5;
}

.v186-parent-subscription-notice[hidden] {
  display: none;
}

.v186-parent-subscription-notice p {
  margin: 0;
  color: #991b1b;
  font-weight: 800;
}

.v186-parent-subscription-notice a,
.v186-parent-subscription-notice button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #1fb6b2;
  border-radius: 8px;
  background: #1fb6b2;
  color: #071013;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.v186-parent-subscription-notice button.is-saving,
.v186-parent-subscription-notice button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.v186-parent-children__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.v186-parent-child-card {
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.v186-parent-add-child-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 87px;
  border: 1px dashed rgba(31, 182, 178, 0.75);
  border-radius: 8px;
  background: #0a0f14;
  color: #1fb6b2;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.v186-parent-add-child-card__plus {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(31, 182, 178, 0.8);
  border-radius: 50%;
  background: rgba(31, 182, 178, 0.12);
}

.v186-parent-add-child-card__plus::before,
.v186-parent-add-child-card__plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: #1fb6b2;
  transform: translate(-50%, -50%);
}

.v186-parent-add-child-card__plus::before {
  width: 24px;
  height: 3px;
}

.v186-parent-add-child-card__plus::after {
  width: 3px;
  height: 24px;
}

.v186-parent-add-child-card strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

a.v186-parent-add-child-card:hover,
a.v186-parent-add-child-card:focus,
button.v186-parent-add-child-card:hover,
button.v186-parent-add-child-card:focus {
  border-color: #1fb6b2;
  color: #1fb6b2;
  text-decoration: none;
  outline: 2px solid rgba(31,182,178,0.35);
  outline-offset: 3px;
}

.v186-parent-add-child-card.is-saving,
.v186-parent-add-child-card:disabled {
  cursor: wait;
  opacity: 0.72;
}

.v186-parent-child-card[open] {
  border-color: #1fb6b2;
}

.v186-parent-child-card summary {
  list-style: none;
}

.v186-parent-child-card summary::-webkit-details-marker {
  display: none;
}

.v186-parent-child-card__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px 16px;
  cursor: pointer;
  background: #0a0f14;
  color: #fff;
}

.v186-parent-child-card__summary h4 {
  margin: 0;
  color: #1fb6b2;
  font-size: 18px;
  font-weight: 800;
}

.v186-parent-child-card__summary p {
  margin: 3px 0 0;
  color: rgba(255,255,255,0.64);
  font-size: 13px;
}

.v186-parent-child-card__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
  border: 2px solid rgba(31, 182, 178, 0.55);
}

.v186-parent-child-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v186-parent-child-card__chevron {
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.v186-parent-child-card[open] .v186-parent-child-card__chevron {
  transform: rotate(225deg);
}

.v186-parent-child-card__panel {
  padding: 16px;
  background: #0a0f14;
}

.v186-parent-child-card__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.v186-parent-child-card__details > div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}

.v186-parent-child-card__details dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255,255,255,0.58);
}

.v186-parent-child-card__details dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.v186-access-status.is-active {
  color: #70e2c1;
}

.v186-access-status.is-inactive {
  color: #ff9b9b;
}

.v186-parent-child-card__controls {
  display: grid;
  gap: 14px;
}

.v186-parent-control-group {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.045);
}

.v186-parent-control-group summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.v186-parent-control-group summary::-webkit-details-marker {
  display: none;
}

.v186-parent-control-group h5 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.v186-parent-control-group__chevron {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid rgba(255,255,255,0.66);
  border-bottom: 2px solid rgba(255,255,255,0.66);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.v186-parent-control-group[open] .v186-parent-control-group__chevron {
  transform: rotate(225deg);
}

.v186-parent-control-group__rows {
  display: grid;
}

.v186-parent-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.v186-parent-control-row:first-child {
  border-top: 0;
}

.v186-parent-control-row strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.v186-parent-control-row span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  line-height: 1.35;
}

.v186-parent-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  cursor: pointer;
}

.v186-parent-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.v186-parent-toggle span {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.v186-parent-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.28);
  transition: transform 0.18s ease;
}

.v186-parent-toggle input:checked + span {
  background: #1fb6b2;
  box-shadow: inset 0 0 0 1px rgba(31, 182, 178, 0.3);
}

.v186-parent-toggle input:checked + span::after {
  transform: translateX(22px);
}

.v186-parent-toggle.is-saving {
  cursor: wait;
  opacity: 0.72;
}

.v186-parent-toggle input:disabled + span {
  cursor: wait;
}

.v186-parent-child-card__status {
  margin: 14px 0 0;
  min-height: 20px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
}

.v186-parent-child-card__status[data-type="success"] {
  color: #70e2c1;
}

.v186-parent-child-card__status[data-type="error"] {
  color: #ff9b9b;
}

.v186-parent-child-summary {
  padding: 0 14px 14px;
  color: rgba(255,255,255,0.74);
  font-size: 14px;
}

.v186-parent-summary-empty {
  display: grid;
  gap: 4px;
  padding: 14px 0 0;
}

.v186-parent-summary-empty strong,
.v186-parent-summary-item strong,
.v186-parent-highlight-card strong {
  color: #fff;
  font-size: 14px;
}

.v186-parent-summary-empty span,
.v186-parent-summary-item span,
.v186-parent-highlight-card span,
.v186-parent-summary-item small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  white-space: pre-line;
}

.v186-parent-summary-count {
  margin: 12px 0 0;
  color: #70e2c1;
  font-weight: 800;
}

.v186-parent-summary-list {
  display: grid;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.v186-parent-summary-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.v186-parent-summary-item.is-unread strong::after {
  content: 'Unread';
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(31,182,178,0.18);
  color: #70e2c1;
  font-size: 11px;
  vertical-align: middle;
}

.v186-parent-highlight-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.v186-parent-highlight-card {
  display: grid;
  gap: 10px;
}

.v186-parent-highlight-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
}

.v186-parent-highlight-card a {
  display: inline-block;
  margin-top: 6px;
  color: #1fb6b2;
  font-weight: 800;
}

.v186-parent-login-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10,15,20,0.72);
}

.v186-parent-login-modal__dialog {
  width: min(100%, 420px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: #0a0f14;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,0.42);
}

.v186-parent-login-modal form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.v186-parent-login-modal h4 {
  margin: 0;
  color: #1fb6b2;
  font-size: 20px;
  font-weight: 800;
}

.v186-parent-login-modal p {
  margin: 0;
  color: rgba(255,255,255,0.7);
}

.v186-parent-login-modal label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  font-weight: 700;
}

.v186-parent-login-modal input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.v186-parent-login-modal input:focus {
  outline: 2px solid rgba(31,182,178,0.45);
  outline-offset: 2px;
}

.v186-parent-login-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.v186-parent-login-modal button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.v186-parent-login-modal button[type="button"] {
  background: transparent;
  color: rgba(255,255,255,0.78);
}

.v186-parent-login-modal button[type="submit"] {
  border-color: #1fb6b2;
  background: #1fb6b2;
  color: #071013;
}

@media (max-width: 720px) {
  .v186-parent-children__list,
  .v186-parent-children__summary,
  .v186-parent-child-card__details {
    grid-template-columns: 1fr;
  }

  .v186-parent-subscription-notice {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .v186-parent-control-row {
    align-items: flex-start;
  }
}
