*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --woms: #350c7f;
  --woms-soft: #8a50ff;
  --woms-deep: #24085a;
  --blush: #f7f2fb;
  --card: #ffffff;
  --ink: #2d2a32;
  --mute: #6f6a78;
  --line: #eadff5;
  --gold: #c9a227;
}

html,
body {
  min-height: 100%;
}

body.skool {
  font-family: "Nunito Sans", sans-serif;
  background: var(--blush);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.sk-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, var(--woms-deep), var(--woms) 55%, #4b1aa0);
  color: #fff;
  box-shadow: 0 8px 24px rgba(53, 12, 127, 0.18);
}

.sk-topbar {
  height: 70px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.sk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.sk-brand img {
  height: 36px;
  width: auto;
}

.sk-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.sk-search input {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0 16px 0 40px;
  font-size: 14px;
}

.sk-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.sk-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.sk-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  position: relative;
}

.sk-icon {
  width: 38px;
  height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  cursor: pointer;
}

.sk-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff5c8a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 5px;
}

.sk-avatar-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.sk-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.sk-tabs {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
  overflow-x: auto;
}

.sk-tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  white-space: nowrap;
}

.sk-tabs a.active {
  background: #fff;
  color: var(--woms);
}

.sk-shell {
  display: block;
}

.sk-rail {
  display: none;
}

.sk-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.sk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--mute);
}

.chip.on {
  background: var(--woms);
  color: #fff;
  border-color: var(--woms);
}

.btn-write {
  margin-left: auto;
  background: var(--woms-soft);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.composer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(53, 12, 127, 0.05);
}

.composer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.composer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.composer input {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--blush);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
}

.composer-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.composer-publish {
  width: auto !important;
  padding: 9px 22px !important;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  cursor: pointer;
  color: var(--woms);
}

.modal.wide {
  max-width: 560px;
}

.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(53, 12, 127, 0.04);
}

.post-h {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.post-h img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.post-h strong {
  display: block;
  font-size: 14px;
}

.post-h span {
  color: var(--mute);
  font-size: 12px;
}

.post h3 {
  font-size: 18px;
  margin: 8px 0;
  color: var(--woms);
}

.post p {
  font-size: 14px;
  line-height: 1.6;
  color: #4f4a56;
}

.post-media {
  margin: 12px 0 0;
  border-radius: 16px;
  overflow: hidden;
}

.post-media img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.tag {
  display: inline-block;
  margin-top: 12px;
  background: #efe7ff;
  color: var(--woms);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.post-f {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: var(--mute);
  font-size: 13px;
}

.post-f button.liked {
  color: #c026d3;
  font-weight: 800;
}

.post-f button {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-weight: 700;
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(53, 12, 127, 0.06);
}

.side-cover {
  height: 150px;
  background: var(--woms) center/cover no-repeat;
}

.side-body {
  padding: 16px;
}

.side-body h3 {
  font-size: 18px;
  color: var(--woms);
  margin-bottom: 4px;
}

.side-body p,
.side-body small {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: 14px 0;
}

.stats b {
  display: block;
  font-size: 18px;
  color: var(--woms);
}

.stats span {
  font-size: 11px;
  color: var(--mute);
}

.faces {
  display: flex;
  margin: 8px 0 14px;
}

.faces img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
}

.faces img:first-child {
  margin-left: 0;
}

.btn-outline {
  width: 100%;
  border: 0;
  background: var(--woms);
  color: #fff;
  border-radius: 999px;
  padding: 11px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.lvl {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lvl img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--woms-soft);
}

.bar {
  height: 7px;
  background: #efe7ff;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--woms), var(--woms-soft));
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.course-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(53, 12, 127, 0.07);
}

.course-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.course-tile h3 {
  padding: 14px 14px 0;
  font-size: 16px;
  color: var(--woms);
}

.course-tile p {
  padding: 6px 14px 16px;
  color: var(--mute);
  font-size: 13px;
}

.course-add {
  border: 2px dashed #c9b4ea;
  border-radius: 20px;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--woms);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.cal-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(53, 12, 127, 0.06);
}

.cal-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-top h2 {
  font-size: 28px;
  color: var(--woms);
  font-style: italic;
}

.cal-actions {
  display: flex;
  gap: 8px;
}

.cal-actions button,
.btn-hoy {
  border: 0;
  background: var(--blush);
  color: var(--woms);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 800;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-grid div {
  background: var(--blush);
  min-height: 92px;
  padding: 10px;
  font-size: 12px;
  color: var(--mute);
  border-radius: 14px;
}

.cal-grid .dow {
  min-height: auto;
  font-weight: 800;
  background: transparent;
  color: var(--woms);
}

.event-chip {
  display: block;
  margin-top: 8px;
  background: var(--woms);
  color: #fff;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
}

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(36, 8, 90, 0.45);
  display: none;
  place-items: center;
  z-index: 60;
  padding: 16px;
}

.modal-bg.open {
  display: grid;
}

.modal {
  background: #fff;
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 28px;
}

.modal label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--woms);
}

.modal .auth-error {
  color: #b42318;
  font-weight: 700;
  min-height: 18px;
}

.modal h2 {
  font-size: 24px;
  color: var(--woms);
  margin-bottom: 10px;
}

.modal p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.modal a {
  display: block;
  color: var(--woms);
  margin: 8px 0;
  font-weight: 800;
}

.modal input,
.modal textarea,
.modal select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  margin: 6px 0 12px;
}

.btn-purple {
  width: 100%;
  background: var(--woms);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.member {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(53, 12, 127, 0.05);
}

.member img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  border: 3px solid #efe7ff;
}

.member strong {
  display: block;
  color: var(--woms);
}

.member span {
  color: var(--mute);
  font-size: 12px;
}

.lvl-card {
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(53, 12, 127, 0.06);
}

.lvl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lvl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  background: #efe7ff;
  color: var(--woms);
}

.dot.lock {
  background: #eee;
  color: #999;
}

.boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.board {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(53, 12, 127, 0.05);
}

.board h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--woms);
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
}

.row img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.row .pts {
  margin-left: auto;
  color: var(--woms-soft);
  font-weight: 800;
}

.about-video {
  width: 100%;
  border-radius: 20px;
  background: #000;
  margin: 12px 0;
}

.meta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--mute);
  font-size: 13px;
  margin: 12px 0 18px;
}

.about-copy h1,
.about-copy h2 {
  color: var(--woms);
}

.about-copy li {
  margin: 6px 0 6px 18px;
  font-size: 14px;
}

.map-box {
  background: linear-gradient(180deg, #efe7ff, #f7f2fb);
  border-radius: 24px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--woms);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(53, 12, 127, 0.25);
}

.pin-tip {
  position: absolute;
  transform: translate(-40%, -130%);
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(53, 12, 127, 0.12);
  white-space: nowrap;
  color: var(--woms);
  font-weight: 700;
}

.sk-menu {
  position: absolute;
  right: 12px;
  top: 62px;
  background: #fff;
  color: #2d2a32;
  border-radius: 14px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(36, 8, 90, 0.18);
  display: none;
  overflow: hidden;
  z-index: 50;
}

.sk-menu.open {
  display: block;
}

.sk-menu button,
.sk-menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: #2d2a32;
}

.sk-menu button:hover,
.sk-menu a:hover {
  background: #f7f2fb;
}

.comment-box {
  margin-top: 10px;
}

.comment-box input {
  flex: 1;
  width: 100%;
  border: 1px solid #eadff5;
  border-radius: 10px;
  padding: 8px 10px;
}

.comment-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.comment-row button {
  background: var(--woms);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-list {
  margin-top: 8px;
  font-size: 13px;
  color: #4f4a56;
}

.lesson-bg {
  position: fixed;
  inset: 0;
  background: rgba(36, 8, 90, 0.5);
  display: none;
  place-items: center;
  z-index: 70;
  padding: 16px;
}

.lesson-bg.open {
  display: grid;
}

.lesson {
  background: #fff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  padding: 18px;
}

.lesson video {
  width: 100%;
  border-radius: 12px;
  background: #000;
}

.woms-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #350c7f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 0.25s ease;
}

.woms-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.woms-toast.err {
  background: #b42318;
}

.back-link {
  color: var(--woms);
  font-weight: 800;
  text-decoration: none;
}

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(53, 12, 127, 0.05);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.product-cover {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 320px;
}

.free-badge {
  display: inline-block;
  background: #efe6f8;
  color: var(--woms);
  font-weight: 800;
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 8px;
}

.product video {
  width: 100%;
  border-radius: 14px;
  background: #000;
  margin: 12px 0;
}

.product .bar {
  height: 8px;
  background: #efe6f8;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0;
}

.product .bar i {
  display: block;
  height: 100%;
  background: var(--woms);
}

.product label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--woms);
  margin-top: 8px;
}

.product input,
.product textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  margin: 6px 0 12px;
  box-sizing: border-box;
}

.module-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.module-list li {
  padding: 10px 12px;
  border: 1px solid #eadff5;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.event-chip {
  cursor: pointer;
}

.event-detail {
  margin-top: 16px;
}

.member {
  cursor: pointer;
}

.cert-paper {
  max-width: 720px;
  margin: 24px auto;
  padding: 48px;
  border: 8px solid #350c7f;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2a32;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sk-grid,
  .boards,
  .lvl-card {
    grid-template-columns: 1fr;
  }
  .sk-brand span {
    display: none;
  }
}
