@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Georgian:wght@700&display=swap");

:root {
  --violet: #2563EB;
  --lagoon: #000000;
  --gold: #C4B5FD;
  --alabaster: #FFFFFF;
  --moss: #475569;
  --ink: #000000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
}

.practice-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 14px 24px;
}

.practice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 18px;
}

.practice-hero-copy,
.practice-hero-panel,
.practice-section {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(196, 181, 253, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  padding: clamp(22px, 3.5vw, 34px);
}

.practice-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--lagoon);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-hero-copy h1 {
  margin: 14px 0 10px;
  color: var(--lagoon);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.9rem);
}

.practice-hero-copy h1 i {
  color: var(--violet);
  margin-right: 10px;
}

.practice-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--moss);
  line-height: 1.7;
}

.practice-hero-panel {
  display: grid;
  gap: 14px;
}

.hero-stat-card {
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(236, 243, 247, 0.8));
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 18px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.hero-stat-card strong {
  display: block;
  color: var(--lagoon);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1.4rem;
}

.hero-stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--moss);
}

.search-container {
  margin: 16px auto 0;
  max-width: 860px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

#searchInput {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  font-size: 0.98rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
}

#searchInput:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.search-container button {
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(130deg, #fbc466, var(--gold));
  color: #3c2d00;
  font-weight: 700;
  cursor: pointer;
}

.suggestions {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  z-index: 20;
  display: none;
}

.suggestions button {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  background: transparent;
  color: var(--lagoon);
  font-weight: 600;
}

.suggestions button:last-child {
  border-bottom: none;
}

.suggestions button:hover {
  background: rgba(37, 99, 235, 0.12);
}

.ticker-wrapper {
  margin-top: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.09);
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
}

.ticker p {
  margin: 0;
  display: inline-block;
  padding: 10px 0;
  color: var(--lagoon);
  font-weight: 700;
  animation: ticker-scroll 20s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.practice-section {
  margin-top: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--lagoon);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.8rem);
}

.section-heading h2 i {
  color: var(--violet);
  margin-right: 8px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--moss);
}

.set-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  min-height: 240px;
  padding: 28px 20px;
  border-radius: 24px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 247, 0.82));
  color: var(--moss);
}

.empty-state i {
  font-size: 2rem;
  color: var(--violet);
}

.empty-state strong {
  color: var(--lagoon);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1.35rem;
}

.empty-state p {
  margin: 0;
  max-width: 420px;
}

.set-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 247, 0.88));
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow:
    0 20px 32px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  opacity: 0;
  animation: floatIn 0.55s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.set-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 38px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.set-card.active-card {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.18),
    0 24px 36px rgba(0, 0, 0, 0.17);
}

.set-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--lagoon);
  font-size: 0.82rem;
  font-weight: 800;
}

.set-card h3 {
  margin: 16px 0 8px;
  color: var(--lagoon);
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1.28rem;
}

.set-card p {
  margin: 0;
  color: var(--moss);
  line-height: 1.6;
}

.set-meta {
  margin-top: 14px;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 700;
}

.set-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.set-btn {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.set-btn.is-disabled {
  opacity: 0.68;
  cursor: not-allowed;
  pointer-events: auto;
}

.set-btn-open {
  background: linear-gradient(135deg, #fbc466, var(--gold));
  color: #1a2c36;
  box-shadow: 0 12px 20px rgba(196, 181, 253, 0.22);
}

.set-btn-answer {
  background: rgba(0, 0, 0, 0.12);
  color: var(--lagoon);
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.back-button {
  margin-top: 18px;
  text-align: center;
}

.back-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--lagoon);
  font-weight: 700;
}

.back-button a:hover {
  background: rgba(37, 99, 235, 0.13);
  border-color: rgba(37, 99, 235, 0.4);
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .practice-hero {
    grid-template-columns: 1fr;
  }

  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .practice-page {
    padding-inline: 10px;
  }

  .set-grid {
    grid-template-columns: 1fr;
  }

  .set-actions {
    flex-direction: column;
  }

  .set-btn {
    width: 100%;
  }




}

/* Practice page redesign aligned with notes */
body#practice-page {
  background: #fbfdff;
  color: #101936;
}

body#practice-page .practice-page {
  max-width: 1240px;
  padding: 18px 16px 28px;
}

body#practice-page .practice-hero {
  position: relative;
  min-height: 256px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid #e2e6ff;
  border-radius: 12px;
  background: linear-gradient(105deg, #f4f0ff 0%, #f9fbff 52%, #eef6ff 100%);
  padding: 32px;
}

body#practice-page .practice-hero-copy,
body#practice-page .practice-hero-panel,
body#practice-page .practice-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#practice-page .practice-hero-copy {
  position: relative;
  z-index: 2;
}

body#practice-page .practice-kicker {
  margin-bottom: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4d55ff;
  font-size: 0.78rem;
}

body#practice-page .practice-hero-copy h1 {
  margin: 0;
  color: #111936;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.24rem);
  line-height: 1.18;
  letter-spacing: 0;
}

body#practice-page .practice-hero-copy h1 i {
  display: none;
}

body#practice-page .practice-hero-copy p {
  margin-top: 12px;
  max-width: 760px;
  color: #344269;
  font-size: 1rem;
  line-height: 1.55;
}

body#practice-page .practice-hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 1;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

body#practice-page .hero-stat-card {
  min-height: 80px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas: "icon value" "icon label";
  align-items: center;
  column-gap: 14px;
  padding: 16px 22px;
  border: 1px solid rgba(224, 229, 255, 0.84);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

body#practice-page .hero-stat-card i {
  grid-area: icon;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #5b62ff;
  background: #eef0ff;
}

body#practice-page .hero-stat-card:nth-child(2) i {
  color: #f8a91d;
}

body#practice-page .hero-stat-card strong {
  grid-area: value;
  color: #111936;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

body#practice-page .hero-stat-card span {
  grid-area: label;
  margin-top: 3px;
  color: #6b7798;
  font-size: 0.94rem;
}

body#practice-page .practice-hero-art {
  position: absolute;
  right: 54px;
  top: 34px;
}

body#practice-page .practice-hero-art {
  width: 230px;
  height: 190px;
}

body#practice-page .art-book {
  position: absolute;
  right: 42px;
  top: 12px;
  width: 108px;
  height: 132px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6e78ff, #3d50d8);
  box-shadow: 14px 10px 0 #5262dc, 0 16px 24px rgba(68, 83, 218, 0.26);
}

body#practice-page .art-book::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  width: 18px;
  height: 46px;
  background: #ffd45d;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

body#practice-page .art-book::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 22px;
  top: 63px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 0 rgba(255, 255, 255, 0.18);
}

body#practice-page .art-paper {
  position: absolute;
  left: 32px;
  bottom: 28px;
  width: 78px;
  height: 78px;
  border-radius: 7px;
  transform: rotate(4deg);
  background: #ffc75c;
  box-shadow: 0 12px 20px rgba(223, 150, 36, 0.18);
}

body#practice-page .art-paper::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 24px;
  height: 5px;
  border-radius: 999px;
  background: rgba(179, 99, 29, 0.24);
  box-shadow: 0 17px 0 rgba(179, 99, 29, 0.18);
}

body#practice-page .art-pen {
  position: absolute;
  right: 4px;
  top: 38px;
  width: 18px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6e78ff, #293dc5);
  transform: rotate(4deg);
}

body#practice-page .art-pen::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -15px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 18px solid #293dc5;
}

body#practice-page .art-spark {
  position: absolute;
  width: 16px;
  height: 16px;
  color: #7580ff;
}

body#practice-page .art-spark::before,
body#practice-page .art-spark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 999px;
  background: currentColor;
}

body#practice-page .art-spark::before {
  width: 100%;
  height: 34%;
}

body#practice-page .art-spark::after {
  width: 34%;
  height: 100%;
}

body#practice-page .art-spark-one {
  left: 10px;
  top: 56px;
  transform: rotate(45deg);
}

body#practice-page .art-spark-two {
  right: -12px;
  top: 88px;
  transform: rotate(45deg);
}

body#practice-page .ticker-wrapper {
  margin-top: 18px;
  border-radius: 9px;
  border: 0;
  background: #0b3455;
  box-shadow: 0 10px 18px rgba(20, 50, 83, 0.16);
}

body#practice-page .ticker p {
  display: block;
  padding: 11px 46px 11px 42px;
  color: #fff;
  font-size: 0.86rem;
  animation: none;
  white-space: normal;
}

body#practice-page .ticker::before {
  content: "\f0eb";
  position: absolute;
  margin: 9px 0 0 16px;
  color: #ffd45d;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body#practice-page .ticker::after {
  content: "\00d7";
  position: absolute;
  right: 16px;
  margin-top: -30px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

body#practice-page .search-container {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  gap: 16px;
  margin-top: 24px;
}

body#practice-page .search-shell {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #dfe5f5;
  border-radius: 999px;
  color: #8b96b6;
  background: #fff;
}

body#practice-page #searchInput {
  width: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.88rem;
}

body#practice-page #searchInput:focus {
  box-shadow: none;
}

body#practice-page #searchButton,
body#practice-page .sort-button,
body#practice-page .view-toggle {
  min-height: 42px;
  border: 1px solid #e3e8f7;
  border-radius: 999px;
  background: #fff;
  color: #263455;
  box-shadow: none;
}

body#practice-page #searchButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
}

body#practice-page .sort-button {
  padding: 0 18px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

body#practice-page .view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
}

body#practice-page .view-toggle button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #687390;
  background: transparent;
  cursor: pointer;
}

body#practice-page .view-toggle button.is-active {
  color: #fff;
  background: #6568ff;
}

body#practice-page .practice-section {
  margin-top: 28px;
}

body#practice-page .section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

body#practice-page .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  color: #17213d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.16rem;
}

body#practice-page .section-heading h2 i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #5b62ff;
  background: #f0f2ff;
  margin: 0;
}

body#practice-page .section-heading p {
  margin: 0 0 0 54px;
  color: #697596;
  font-size: 0.88rem;
}

body#practice-page .view-all-link {
  padding: 8px 15px;
  border: 1px solid #e4e8fb;
  border-radius: 999px;
  color: #5b62ff;
  background: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
}

body#practice-page .set-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

body#practice-page .set-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce3f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  opacity: 1;
  animation: none;
}

body#practice-page .set-card h3 {
  min-height: 42px;
  margin: 0 0 13px;
  color: #19223d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.28;
}

body#practice-page .set-card h3::after {
  content: "\f005";
  float: right;
  margin-left: 8px;
  color: #ffb323;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.78rem;
}

body#practice-page .set-chip {
  display: none;
}

body#practice-page .set-card p {
  color: #53617f;
  font-size: 0.88rem;
  line-height: 1.58;
}

body#practice-page .set-meta {
  margin-top: auto;
  padding-top: 18px;
  color: #71809f;
  font-size: 0.76rem;
}

body#practice-page .set-actions {
  margin-top: 12px;
}

body#practice-page .set-btn {
  min-width: auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #4c54e9;
  background: #edf0ff;
  box-shadow: none;
  font-size: 0.74rem;
}

body#practice-page .set-btn-answer {
  color: #b85d20;
  background: #fff1de;
}

body#practice-page .load-more-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px auto 0;
  padding: 13px 28px;
  border: 1px solid #d9ddff;
  border-radius: 9px;
  color: #5b62ff;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
  body#practice-page .practice-hero {
    grid-template-columns: 1fr;
  }

  body#practice-page .practice-hero-art {
    right: 26px;
    top: 52px;
    width: 170px;
    height: 150px;
    opacity: 0.9;
  }

  body#practice-page .set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body#practice-page .practice-page {
    padding: 10px 8px 20px;
  }

  body#practice-page .practice-hero {
    min-height: 190px;
    padding: 18px;
  }

  body#practice-page .practice-hero-copy h1 {
    max-width: 260px;
    font-size: 1.22rem;
  }

  body#practice-page .practice-hero-copy p {
    max-width: 240px;
    font-size: 0.82rem;
  }

  body#practice-page .practice-hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body#practice-page .hero-stat-card {
    min-height: 58px;
    grid-template-columns: 30px 1fr;
    padding: 10px;
  }

  body#practice-page .hero-stat-card i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  body#practice-page .hero-stat-card strong {
    font-size: 1rem;
  }

  body#practice-page .hero-stat-card span {
    font-size: 0.75rem;
  }

  body#practice-page .practice-hero-art {
    right: 8px;
    top: 52px;
    transform: scale(0.68);
    transform-origin: top right;
  }

  body#practice-page .ticker-wrapper {
    display: none;
  }

  body#practice-page .search-container {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 9px;
  }

  body#practice-page .sort-button,
  body#practice-page .view-toggle {
    display: none;
  }

  body#practice-page #searchButton {
    width: 46px;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: #6665ff;
    border-color: #6665ff;
    font-size: 0;
  }

  body#practice-page #searchButton i {
    font-size: 0.95rem;
  }

  body#practice-page .section-heading {
    align-items: center;
  }

  body#practice-page .section-heading h2 {
    font-size: 0.95rem;
  }

  body#practice-page .section-heading h2 i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.82rem;
  }

  body#practice-page .section-heading p {
    display: none;
  }

  body#practice-page .view-all-link {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.82rem;
  }

  body#practice-page .set-grid {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5e9f7;
    border-radius: 9px;
    background: #fff;
  }

  body#practice-page .set-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 15px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f8;
    border-radius: 0;
  }

  body#practice-page .set-card:last-child {
    border-bottom: 0;
  }

  body#practice-page .set-card h3 {
    min-height: 0;
    margin: 0;
    font-size: 0.86rem;
  }

  body#practice-page .set-card h3::after {
    float: none;
  }

  body#practice-page .set-card p {
    display: none;
  }

  body#practice-page .set-meta {
    grid-column: 1;
    margin: 0;
    padding: 0;
    font-size: 0.68rem;
  }

  body#practice-page .set-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
    align-content: start;
    margin: 0;
    max-width: 142px;
  }

  body#practice-page .set-btn {
    width: auto;
    min-width: 0;
    padding: 5px 8px;
    font-size: 0.66rem;
  }
}

/* Shared shell styles */

:root {
  --gx-primary: #2563EB;
  --gx-lagoon: #000000;
  --gx-gold: #C4B5FD;
  --gx-alabaster: #FFFFFF;
  --gx-moss: #475569;
  --gx-ink: #000000;
  --gx-white: #ffffff;
  --gx-border: 1px solid rgba(0, 0, 0, 0.16);
  --gx-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.sq-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: var(--gx-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sq-header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.sq-logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

.sq-logo span {
  color: var(--gx-lagoon);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.sq-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--gx-lagoon);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.25s ease;
}

.sq-link i {
  color: var(--gx-moss);
}

.sq-link:hover,
.sq-link.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.34);
  color: var(--gx-lagoon);
}

.sq-link:hover i,
.sq-link.active i {
  color: var(--gx-primary);
}

.sq-nav-item {
  position: relative;
}

.sq-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 216px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--gx-border);
  border-radius: 12px;
  box-shadow: var(--gx-shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.sq-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sq-dropdown a {
  color: var(--gx-lagoon);
  text-decoration: none;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.sq-dropdown a i {
  margin-right: 8px;
}

.sq-dropdown a:hover {
  background: rgba(0, 0, 0, 0.08);
}

.sq-user-id {
  margin: 2px 4px 8px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--gx-moss);
  font-weight: 700;
}

.sq-auth {
  display: flex;
  align-items: center;
}

.sq-auth button {
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.sq-login-btn {
  background: rgba(0, 0, 0, 0.12);
  color: var(--gx-lagoon);
  border: 1px solid rgba(0, 0, 0, 0.26) !important;
}

.sq-register-btn,
.sq-profile-btn {
  background: linear-gradient(130deg, #fbc466, var(--gx-gold));
  color: #3c2d00;
  box-shadow: 0 10px 20px rgba(196, 181, 253, 0.26);
}

.sq-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sq-user-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.24);
}

.sq-user-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sq-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--gx-lagoon);
  font-size: 1.2rem;
  line-height: 1;
  place-items: center;
  cursor: pointer;
}







































@media (max-width: 980px) {
  .sq-header-container {
    flex-wrap: nowrap;
  }

  .sq-toggle {
    display: inline-grid;
  }

  .sq-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    border: var(--gx-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--gx-shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .sq-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sq-link {
    width: 100%;
  }


}

