﻿/* 2026-07 AI practice second-round visual adjustment: web + IP panels only */
.web-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.31fr) minmax(0, 0.69fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  min-height: min(720px, calc(100vh - 196px));
  padding: clamp(48px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(12, 15, 14, 0.96) 0%, rgba(14, 16, 15, 0.78) 38%, rgba(33, 29, 24, 0.62) 100%),
    radial-gradient(circle at 74% 20%, rgba(159, 141, 104, 0.14), transparent 38%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.web-copy {
  max-width: 430px;
  min-width: 0;
}

.web-copy .eyebrow,
.mellow-project-header .eyebrow,
.mellow-gallery-copy .eyebrow {
  margin: 0 0 14px;
  color: rgba(182, 197, 184, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.web-copy h3 {
  margin: 0;
  color: rgba(242, 244, 238, 0.94);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: 0;
}

.web-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(214, 218, 208, 0.78);
  font-size: 15px;
  line-height: 1.92;
}

.web-meta-lines {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.web-meta-lines div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.web-meta-lines span {
  color: rgba(160, 172, 155, 0.8);
  font-size: 12px;
}

.web-meta-lines b {
  color: rgba(238, 241, 234, 0.82);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.6;
}

.web-gallery,
.web-gallery-stage,
.web-gallery-footer,
.web-thumb-rail {
  min-width: 0;
}

.web-gallery-stage {
  position: relative;
  height: clamp(500px, 49vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(7, 8, 8, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.web-gallery-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 6, 6, 0.78), transparent);
}

.web-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-showcase.is-switching .web-gallery-stage img,
.mellow-project-unified.is-switching .mellow-gallery-media img {
  animation: aiPracticeImageSwap 0.28s ease both;
}

@keyframes aiPracticeImageSwap {
  from {
    opacity: 0.72;
    transform: translateY(8px) scale(1.012);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.web-gallery-status {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 24px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  color: rgba(242, 244, 238, 0.9);
}

.web-gallery-status span,
.mellow-gallery-actions span {
  color: rgba(185, 199, 182, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.web-gallery-status b {
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 520;
  line-height: 1.35;
}

.web-gallery-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}

.web-thumb-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.web-thumb {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  height: 70px;
  min-width: 0;
  padding: 8px 10px;
  overflow: hidden;
  color: rgba(221, 225, 216, 0.68);
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.web-thumb::after {
  content: "";
  position: absolute;
  inset: auto 10px 7px;
  height: 1px;
  background: rgba(202, 216, 197, 0);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.24s ease, background 0.24s ease;
}

.web-thumb img {
  width: 62px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.68;
}

.web-thumb span {
  display: block;
  color: rgba(177, 190, 174, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.web-thumb b {
  display: block;
  margin-top: 4px;
  color: inherit;
  font-size: 12px;
  font-weight: 520;
  line-height: 1.25;
}

.web-thumb:hover,
.web-thumb:focus-visible,
.web-thumb.active,
.web-thumb.is-active {
  color: rgba(246, 243, 232, 0.94);
  border-color: rgba(199, 214, 193, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.web-thumb:hover::after,
.web-thumb:focus-visible::after,
.web-thumb.active::after,
.web-thumb.is-active::after {
  background: rgba(202, 216, 197, 0.76);
  transform: scaleX(1);
}

.web-gallery-actions,
.mellow-gallery-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.web-nav-button,
.mellow-nav-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(239, 239, 230, 0.84);
  font-size: 17px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.web-nav-button:hover,
.web-nav-button:focus-visible,
.mellow-nav-button:hover,
.mellow-nav-button:focus-visible {
  border-color: rgba(211, 221, 204, 0.48);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.ip-panel {
  padding: 0;
}

.mellow-project-unified {
  margin: 0;
  padding: clamp(48px, 5vw, 72px);
  overflow: hidden;
  color: rgba(239, 234, 220, 0.9);
  background:
    radial-gradient(circle at 78% 20%, rgba(151, 117, 77, 0.2), transparent 34%),
    linear-gradient(126deg, rgba(7, 8, 8, 0.98) 0%, rgba(17, 16, 14, 0.9) 42%, rgba(48, 39, 28, 0.78) 100%);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: none;
}

.mellow-project-header {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(238, 226, 204, 0.14);
}

.mellow-project-header h3 {
  margin: 0;
  color: rgba(244, 238, 224, 0.95);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: 0;
}

.mellow-project-title {
  justify-self: end;
  max-width: 480px;
  text-align: right;
}

.mellow-project-title b {
  display: block;
  color: rgba(246, 238, 220, 0.96);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 520;
  line-height: 1.2;
}

.mellow-project-title p {
  margin: 12px 0 0;
  color: rgba(226, 216, 195, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.mellow-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.mellow-gallery-media {
  position: relative;
  min-height: 0;
  height: clamp(520px, 48vw, 620px);
  overflow: hidden;
  isolation: auto;
  background: rgba(11, 10, 9, 0.86);
  border: 1px solid rgba(238, 226, 204, 0.14);
  border-radius: 6px;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.36);
}

.mellow-gallery-media::after {
  content: none !important;
  display: none !important;
}

.mellow-gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.mellow-gallery-side {
  display: flex;
  min-width: 0;
}

.mellow-gallery-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  min-height: 0;
  padding: clamp(16px, 2vw, 26px) 0 clamp(14px, 2vw, 24px) clamp(22px, 2.4vw, 34px);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(238, 226, 204, 0.16);
  border-radius: 0;
  box-shadow: none;
}

.mellow-gallery-copy h4 {
  margin: 0;
  color: rgba(246, 238, 220, 0.95);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 520;
  line-height: 1.16;
  letter-spacing: 0;
}

.mellow-gallery-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(229, 220, 202, 0.78);
  font-size: 15px;
  line-height: 1.95;
}

.mellow-gallery-copy blockquote {
  margin: 28px 0 0;
  padding: 0;
  color: rgba(232, 210, 179, 0.92);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.62;
  border: 0;
}

.mellow-gallery-actions {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(238, 226, 204, 0.14);
}

.mellow-gallery-actions span {
  min-width: 72px;
  margin-right: auto;
}

.mellow-gallery-source,
.mellow-gallery-counter {
  display: none !important;
}

.mellow-thumb-rail {
  position: static !important;
  z-index: auto !important;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 18px 0 0;
  padding: 14px 0 0;
  overflow: visible;
  transform: none !important;
  scroll-snap-type: none;
  border-top: 1px solid rgba(238, 226, 204, 0.13);
}

.mellow-thumb-rail img {
  display: none !important;
}

.mellow-thumb-rail button,
.mellow-thumb-rail button.active,
.mellow-thumb-rail button.is-active {
  position: relative;
  display: flex;
  flex: initial;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: auto;
  height: 84px;
  min-height: 0;
  padding: 0 14px 12px;
  color: rgba(231, 220, 201, 0.56);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(238, 226, 204, 0.14);
  border-radius: 0;
  opacity: 1;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.mellow-thumb-rail button::after {
  content: none !important;
  display: none !important;
}

.mellow-thumb-rail button::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: rgba(229, 204, 169, 0);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: background 0.24s ease, transform 0.24s ease;
}

.mellow-thumb-rail span {
  display: block;
  color: rgba(210, 190, 162, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mellow-thumb-rail b {
  display: block;
  margin-top: 10px;
  color: inherit;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.28;
}

.mellow-thumb-rail button:hover,
.mellow-thumb-rail button:focus-visible,
.mellow-thumb-rail button.active,
.mellow-thumb-rail button.is-active {
  color: rgba(246, 238, 220, 0.95);
  border-color: rgba(229, 204, 169, 0.42);
  background: rgba(255, 255, 255, 0.035);
}

.mellow-thumb-rail button:hover::before,
.mellow-thumb-rail button:focus-visible::before,
.mellow-thumb-rail button.active::before,
.mellow-thumb-rail button.is-active::before {
  background: rgba(229, 204, 169, 0.86);
  transform: scaleX(1);
  animation: none !important;
}

@media (max-width: 1100px) {
  .web-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: clamp(36px, 6vw, 58px);
  }

  .web-copy {
    max-width: 720px;
  }

  .web-gallery-stage {
    height: clamp(420px, 62vw, 560px);
  }

  .web-gallery-footer {
    grid-template-columns: 1fr;
  }

  .web-thumb-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .web-thumb-rail::-webkit-scrollbar,
  .mellow-thumb-rail::-webkit-scrollbar {
    display: none;
  }

  .web-thumb {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

  .web-gallery-actions {
    justify-content: flex-start;
  }

  .mellow-project-unified {
    padding: clamp(36px, 6vw, 58px);
  }

  .mellow-project-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .mellow-project-title {
    justify-self: start;
    max-width: 680px;
    text-align: left;
  }

  .mellow-gallery-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mellow-gallery-media {
    height: clamp(420px, 70vw, 560px);
  }

  .mellow-gallery-copy {
    max-width: none;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(238, 226, 204, 0.16);
  }

  .mellow-gallery-copy blockquote {
    margin-top: 22px;
  }

  .mellow-gallery-actions {
    margin-top: 28px;
  }

  .mellow-thumb-rail {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mellow-thumb-rail button,
  .mellow-thumb-rail button.active,
  .mellow-thumb-rail button.is-active {
    flex: 0 0 168px;
    height: 78px;
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .web-showcase {
    padding: 30px 16px 34px;
  }

  .web-copy h3 {
    font-size: 30px;
    line-height: 1.18;
  }

  .web-copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.85;
  }

  .web-meta-lines {
    margin-top: 24px;
  }

  .web-meta-lines div {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .web-gallery-stage {
    height: 340px;
  }

  .web-gallery-status {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    gap: 5px;
  }

  .web-gallery-status b {
    font-size: 17px;
  }

  .web-thumb {
    flex-basis: 154px;
    grid-template-columns: 48px 1fr;
    height: 64px;
    padding: 7px 8px;
  }

  .web-thumb img {
    width: 48px;
    height: 38px;
  }

  .web-thumb b {
    font-size: 11px;
  }

  .mellow-project-unified {
    padding: 30px 16px 34px;
  }

  .mellow-project-header {
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .mellow-project-header h3 {
    font-size: 28px;
  }

  .mellow-project-title b {
    font-size: 20px;
  }

  .mellow-project-title p {
    margin-top: 8px;
    font-size: 13px;
  }

  .mellow-gallery-media {
    height: 372px;
  }

  .mellow-gallery-copy h4 {
    font-size: 28px;
  }

  .mellow-gallery-copy p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.86;
  }

  .mellow-gallery-copy blockquote {
    font-size: 21px;
    line-height: 1.58;
  }

  .mellow-gallery-actions {
    padding-top: 18px;
  }

  .mellow-gallery-actions span {
    min-width: 62px;
  }

  .mellow-thumb-rail {
    margin-top: 14px;
    padding-top: 10px;
  }

  .mellow-thumb-rail button,
  .mellow-thumb-rail button.active,
  .mellow-thumb-rail button.is-active {
    flex-basis: 132px;
    height: 72px;
    padding: 0 10px 10px;
  }

  .mellow-thumb-rail span {
    font-size: 10px;
  }

  .mellow-thumb-rail b {
    margin-top: 8px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .web-gallery-stage {
    height: 318px;
  }

  .mellow-gallery-media {
    height: 350px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-showcase.is-switching .web-gallery-stage img,
  .mellow-project-unified.is-switching .mellow-gallery-media img,
  .web-thumb,
  .mellow-thumb-rail button {
    animation: none !important;
    transition: none !important;
  }
}
/* 2026-07 title wrap polish for AI practice panels */
.web-copy h3 span {
  display: block;
}

@media (min-width: 721px) {
  .web-copy h3 {
    font-size: clamp(36px, 3.6vw, 52px);
  }

  .web-copy h3 span:last-child {
    font-size: 0.64em;
    white-space: nowrap;
  }

  .mellow-project-header h3 {
    font-size: clamp(30px, 2.6vw, 42px);
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .web-copy h3 span:last-child,
  .mellow-project-header h3 {
    white-space: normal;
  }
}
/* 2026-07 mobile title polish for web showcase */
@media (max-width: 720px) {
  .web-copy h3 span:last-child {
    font-size: 0.82em;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .web-copy h3 span:last-child {
    font-size: 0.76em;
  }
}
/* 2026-07 04-style fused stage and autoplay polish */
.web-showcase {
  --web-showcase-bg: url("./assets/site-showcase/web-01-home-large.webp");
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border-top-color: rgba(205, 221, 205, 0.08);
  border-bottom-color: rgba(205, 221, 205, 0.08);
}

.web-showcase::before,
.mellow-project-unified::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(0.78) brightness(0.34) contrast(1.08);
  opacity: 0.74;
  transform: scale(1.05);
  transition: background-image 0.32s ease, opacity 0.32s ease;
}

.web-showcase::before {
  background-image: var(--web-showcase-bg);
}

.web-showcase::after,
.mellow-project-unified::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.82) 0%, rgba(9, 13, 12, 0.58) 36%, rgba(12, 14, 13, 0.34) 64%, rgba(9, 12, 11, 0.66) 100%),
    linear-gradient(180deg, rgba(13, 16, 15, 0.48), rgba(13, 16, 15, 0.78));
}

.web-showcase > *,
.mellow-project-unified > * {
  position: relative;
  z-index: 2;
}

.web-gallery-stage,
.mellow-gallery-media {
  border-color: rgba(225, 237, 222, 0.16);
  background: rgba(4, 6, 6, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.web-thumb,
.mellow-thumb-rail button,
.mellow-thumb-rail button.active,
.mellow-thumb-rail button.is-active {
  backdrop-filter: blur(10px);
}

.web-thumb {
  background: rgba(7, 10, 9, 0.25);
  border-color: rgba(223, 235, 220, 0.11);
}

.web-thumb:hover,
.web-thumb:focus-visible,
.web-thumb.active,
.web-thumb.is-active {
  background: rgba(223, 235, 220, 0.065);
  border-color: rgba(201, 224, 198, 0.42);
}

.mellow-project-unified {
  --mellow-project-bg: url("./assets/mr-mellow/web/ch01-origin-large.webp");
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border-top-color: rgba(238, 226, 204, 0.08);
  border-bottom-color: rgba(238, 226, 204, 0.08);
}

.mellow-project-unified::before {
  background-image: var(--mellow-project-bg);
  filter: blur(26px) saturate(0.86) brightness(0.42) contrast(1.08);
  opacity: 0.82;
}

.mellow-project-unified::after {
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.76) 0%, rgba(15, 14, 12, 0.52) 48%, rgba(49, 37, 25, 0.42) 100%),
    linear-gradient(180deg, rgba(9, 10, 9, 0.58), rgba(12, 11, 10, 0.82));
}

.web-showcase.auto-running .web-thumb.active::after,
.web-showcase.auto-running .web-thumb.is-active::after {
  background: rgba(202, 216, 197, 0.88);
  animation: aiPracticeIndexProgress 6.2s linear both;
  transform-origin: left;
}

.mellow-project-unified.auto-running .mellow-thumb-rail button.active::before,
.mellow-project-unified.auto-running .mellow-thumb-rail button.is-active::before {
  background: rgba(229, 204, 169, 0.9);
  animation: aiPracticeIndexProgress 6.8s linear both !important;
  transform-origin: left;
}

@keyframes aiPracticeIndexProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .web-showcase::before,
  .mellow-project-unified::before {
    inset: -5%;
    filter: blur(18px) saturate(0.78) brightness(0.32) contrast(1.06);
  }

  .web-showcase::after,
  .mellow-project-unified::after {
    background:
      linear-gradient(180deg, rgba(8, 12, 11, 0.72), rgba(12, 12, 10, 0.84)),
      linear-gradient(90deg, rgba(8, 12, 11, 0.44), rgba(42, 35, 24, 0.22));
  }
}

@media (max-width: 720px) {
  .web-showcase,
  .mellow-project-unified {
    border-top-color: rgba(223, 235, 220, 0.08);
    border-bottom-color: rgba(223, 235, 220, 0.08);
  }

  .web-showcase::before,
  .mellow-project-unified::before {
    inset: -4%;
    filter: blur(14px) saturate(0.72) brightness(0.28) contrast(1.04);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-showcase.auto-running .web-thumb.active::after,
  .web-showcase.auto-running .web-thumb.is-active::after,
  .mellow-project-unified.auto-running .mellow-thumb-rail button.active::before,
  .mellow-project-unified.auto-running .mellow-thumb-rail button.is-active::before {
    animation: none !important;
  }
}
/* 2026-07 fused stage index readability polish */
.mellow-thumb-rail {
  background: linear-gradient(180deg, rgba(238, 226, 204, 0.025), rgba(238, 226, 204, 0.055));
}

.mellow-thumb-rail button,
.mellow-thumb-rail button.active,
.mellow-thumb-rail button.is-active {
  color: rgba(237, 226, 207, 0.7);
}

.mellow-thumb-rail span {
  color: rgba(221, 201, 174, 0.82);
}

.mellow-thumb-rail button:hover,
.mellow-thumb-rail button:focus-visible,
.mellow-thumb-rail button.active,
.mellow-thumb-rail button.is-active {
  color: rgba(250, 242, 226, 0.98);
  background: rgba(238, 226, 204, 0.07);
}

.mellow-thumb-rail button:hover span,
.mellow-thumb-rail button:focus-visible span,
.mellow-thumb-rail button.active span,
.mellow-thumb-rail button.is-active span {
  color: rgba(234, 209, 176, 0.96);
}
/* 2026-07 full practice-content stage: make the red-box area the actual canvas */
#practice .practice-content[data-active-panel="web"],
#practice .practice-content[data-active-panel="ip"] {
  --practice-stage-bg: url("./assets/site-showcase/web-01-home-large.webp");
  position: relative;
  isolation: isolate;
  min-height: clamp(780px, 74vw, 940px);
  padding: 0 !important;
  overflow: hidden;
  background: rgba(13, 17, 16, 0.24);
}

#practice .practice-content[data-active-panel="web"]::before,
#practice .practice-content[data-active-panel="ip"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--practice-stage-bg);
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.44);
  opacity: 0.62;
  transform: scale(1.02);
  transition: background-image 0.34s ease, opacity 0.34s ease;
}

#practice .practice-content[data-active-panel="web"]::after,
#practice .practice-content[data-active-panel="ip"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.88) 0%, rgba(8, 11, 10, 0.64) 34%, rgba(8, 11, 10, 0.28) 64%, rgba(8, 11, 10, 0.54) 100%),
    linear-gradient(0deg, rgba(8, 11, 10, 0.7) 0%, rgba(8, 11, 10, 0.22) 48%, rgba(8, 11, 10, 0.62) 100%);
}

#practice .practice-content[data-active-panel="web"] .tab-panel,
#practice .practice-content[data-active-panel="ip"] .tab-panel {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

#practice .practice-content[data-active-panel="web"] .web-showcase,
#practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: clamp(72px, 7vw, 104px) clamp(64px, 7vw, 112px);
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

#practice .practice-content[data-active-panel="web"] .web-showcase::before,
#practice .practice-content[data-active-panel="web"] .web-showcase::after,
#practice .practice-content[data-active-panel="ip"] .mellow-project-unified::before,
#practice .practice-content[data-active-panel="ip"] .mellow-project-unified::after {
  content: none !important;
  display: none !important;
}

#practice .practice-content[data-active-panel="web"] .web-showcase {
  grid-template-columns: minmax(320px, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(52px, 5vw, 84px);
}

#practice .practice-content[data-active-panel="web"] .web-copy {
  max-width: 460px;
}

#practice .practice-content[data-active-panel="web"] .web-gallery-stage {
  height: clamp(590px, 52vw, 700px);
  background: rgba(5, 8, 8, 0.3);
  border-color: rgba(218, 234, 218, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

#practice .practice-content[data-active-panel="web"] .web-gallery-footer {
  margin-top: 16px;
}

#practice .practice-content[data-active-panel="ip"] .mellow-project-header {
  margin-bottom: clamp(30px, 3vw, 46px);
}

#practice .practice-content[data-active-panel="ip"] .mellow-gallery-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(34px, 4vw, 58px);
}

#practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
  height: clamp(590px, 52vw, 700px);
  background: rgba(12, 10, 8, 0.24);
  border-color: rgba(238, 226, 204, 0.18);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

#practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    min-height: 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    min-height: 0;
    padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 52px);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    height: clamp(460px, 68vw, 620px);
  }
}

@media (max-width: 720px) {
  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    padding: 30px 16px 34px;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage {
    height: 340px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    height: 372px;
  }
}
/* 2026-07 spatial-style full-canvas refinement for practice tabs 01 and 02 */
@media (min-width: 1101px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    min-height: clamp(760px, calc(100vh - 126px), 940px);
    border-top: 1px solid rgba(223, 235, 220, 0.14);
    border-bottom: 1px solid rgba(223, 235, 220, 0.1);
  }

  #practice .practice-content[data-active-panel="web"]::before,
  #practice .practice-content[data-active-panel="ip"]::before {
    filter: saturate(0.78) contrast(1.08) brightness(0.58);
    opacity: 0.82;
    transform: scale(1.004);
  }

  #practice .practice-content[data-active-panel="web"]::after,
  #practice .practice-content[data-active-panel="ip"]::after {
    background:
      linear-gradient(90deg, rgba(7, 10, 9, 0.86) 0%, rgba(7, 10, 9, 0.62) 30%, rgba(7, 10, 9, 0.22) 58%, rgba(7, 10, 9, 0.56) 100%),
      linear-gradient(0deg, rgba(6, 9, 8, 0.72) 0%, rgba(6, 9, 8, 0.14) 44%, rgba(6, 9, 8, 0.58) 100%);
  }

  #practice .practice-content[data-active-panel="web"] .tab-panel,
  #practice .practice-content[data-active-panel="ip"] .tab-panel,
  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    min-height: inherit;
  }

  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    position: relative;
    display: block;
    padding: 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-layout {
    display: contents;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: auto;
    height: auto !important;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage img,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media img {
    width: 100%;
    height: 100%;
    opacity: 0.82;
    filter: saturate(0.86) contrast(1.05) brightness(0.76);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage img {
    object-position: center top;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media img {
    object-position: center;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage::after,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    height: auto;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(4, 7, 6, 0.88) 0%, rgba(4, 7, 6, 0.54) 28%, rgba(4, 7, 6, 0.16) 58%, rgba(4, 7, 6, 0.62) 100%),
      linear-gradient(0deg, rgba(4, 7, 6, 0.74) 0%, transparent 36%, rgba(4, 7, 6, 0.48) 100%);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy {
    position: relative;
    z-index: 3;
    width: min(470px, 34%);
    max-width: 470px;
    margin-left: clamp(56px, 5.4vw, 92px);
    padding-top: clamp(150px, 15vh, 190px);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy h3 {
    font-size: 56px;
    line-height: 1.08;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy > p:not(.eyebrow) {
    max-width: 430px;
    color: rgba(231, 235, 226, 0.84);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status {
    left: clamp(56px, 5.4vw, 92px);
    right: auto;
    bottom: clamp(48px, 5vw, 76px);
    width: min(430px, 34%);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer {
    position: absolute;
    top: 50%;
    right: clamp(26px, 4vw, 66px);
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(360px, 24vw);
    margin: 0;
    transform: translateY(-50%);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(223, 235, 220, 0.18);
    background: rgba(6, 9, 8, 0.42);
    backdrop-filter: blur(10px);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb {
    grid-template-columns: 112px minmax(0, 1fr);
    height: 104px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid rgba(223, 235, 220, 0.14);
    border-radius: 0;
    background: rgba(8, 12, 10, 0.38);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb:last-child {
    border-bottom: 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb img {
    width: 112px;
    height: 74px;
    border-radius: 0;
    opacity: 0.72;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-actions {
    justify-content: flex-end;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
    margin: 0 clamp(384px, 30vw, 460px) 0 clamp(56px, 5.4vw, 92px);
    padding-top: clamp(54px, 5.4vw, 82px);
    padding-bottom: 24px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title {
    max-width: 460px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    position: absolute;
    left: clamp(56px, 5.4vw, 92px);
    bottom: clamp(48px, 5vw, 76px);
    z-index: 4;
    width: min(500px, 35vw);
    max-width: 500px;
    padding: 0;
    border: 0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy h4 {
    font-size: 56px;
    line-height: 1.08;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy p:not(.eyebrow) {
    color: rgba(239, 230, 211, 0.84);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy blockquote {
    margin-top: 24px;
    font-size: 28px;
    line-height: 1.52;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-actions {
    max-width: 430px;
    margin-top: 28px;
    border-top-color: rgba(238, 226, 204, 0.18);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    position: absolute !important;
    top: 50%;
    right: clamp(26px, 4vw, 66px);
    z-index: 5 !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(360px, 24vw) !important;
    max-height: calc(100% - 180px) !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(238, 226, 204, 0.18);
    background: rgba(9, 10, 8, 0.46);
    backdrop-filter: blur(10px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-content: center;
    justify-content: stretch;
    height: 86px;
    padding: 8px 12px;
    border: 0;
    border-bottom: 1px solid rgba(238, 226, 204, 0.14);
    background: rgba(13, 11, 9, 0.36);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:last-child {
    border-bottom: 0;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    display: block !important;
    grid-row: 1 / span 2;
    width: 108px;
    height: 62px;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.78;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail span {
    align-self: end;
    margin: 0;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail b {
    align-self: start;
    margin-top: 5px;
  }
}

@media (min-width: 1101px) and (max-width: 1360px) {
  #practice .practice-content[data-active-panel="web"] .web-copy h3,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy h4 {
    font-size: 48px;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    width: 320px !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    width: 96px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
/* 2026-07 responsive repair after full-canvas desktop rules */
@media (max-width: 1100px) {
  #practice .practice-content[data-active-panel="web"] .web-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-title,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    width: auto;
    max-width: none;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer {
    position: static;
    width: auto;
    margin-top: 16px;
    transform: none;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header {
    grid-template-columns: 1fr;
    margin: 0 0 22px;
    padding-top: 0;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    position: static;
    padding-top: 24px;
    border-top: 1px solid rgba(238, 226, 204, 0.16);
    text-shadow: none;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    position: static !important;
    display: flex;
    width: auto !important;
    max-height: none !important;
    margin-top: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    transform: none !important;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active {
    flex: 0 0 188px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: 82px;
    padding: 8px 10px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    display: block !important;
    grid-row: 1 / span 2;
    width: 72px;
    height: 52px;
    object-fit: cover;
  }
}

@media (max-width: 720px) {
  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    padding: 30px 16px 34px;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    width: 100%;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb-rail {
    width: 100%;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active {
    flex-basis: 168px;
    grid-template-columns: 60px minmax(0, 1fr);
    height: 76px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    width: 60px;
    height: 44px;
  }
}
/* 2026-07 spatial-project logic pass: scene-first composition for practice 01/02 */
@media (min-width: 1101px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    min-height: clamp(790px, calc(100vh - 128px), 930px);
    background: #080a09;
  }

  #practice .practice-content[data-active-panel="web"]::before,
  #practice .practice-content[data-active-panel="web"]::after,
  #practice .practice-content[data-active-panel="ip"]::before,
  #practice .practice-content[data-active-panel="ip"]::after {
    content: none !important;
    display: none !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage img,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media img {
    opacity: 1;
    filter: saturate(0.8) contrast(1.06) brightness(0.78);
    transform: scale(1.012);
    transition: filter 0.45s ease, transform 0.7s var(--ease), opacity 0.3s ease;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage img {
    object-position: 68% center;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media img {
    object-position: 56% center;
  }

  #practice .practice-content[data-active-panel="web"] .web-showcase:hover .web-gallery-stage img,
  #practice .practice-content[data-active-panel="web"] .web-showcase:focus-within .web-gallery-stage img,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified:hover .mellow-gallery-media img,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified:focus-within .mellow-gallery-media img {
    filter: saturate(0.86) contrast(1.07) brightness(0.82);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage::after,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media::after {
    background:
      linear-gradient(90deg, rgba(8, 10, 9, 0.9) 0%, rgba(8, 10, 9, 0.74) 32%, rgba(8, 10, 9, 0.24) 60%, rgba(8, 10, 9, 0.2) 100%),
      linear-gradient(0deg, rgba(8, 10, 9, 0.66) 0%, rgba(8, 10, 9, 0) 42%, rgba(8, 10, 9, 0.14) 100%);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    left: clamp(42px, 3.3vw, 54px);
    width: min(580px, calc(100% - 525px));
    max-width: 580px;
    margin-left: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy {
    padding-top: clamp(168px, 18vh, 214px);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy h3 {
    max-width: 8.2em;
    font-size: clamp(54px, 4vw, 64px);
    font-weight: 430;
    line-height: 1.04;
    letter-spacing: 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy > p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 26px;
    color: rgba(245, 248, 242, 0.84);
    font-size: 15px;
    line-height: 1.82;
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines {
    max-width: 560px;
    margin-top: 34px;
    border-top-color: rgba(245, 248, 242, 0.2);
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines div {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 13px 0;
    border-bottom-color: rgba(245, 248, 242, 0.12);
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines span {
    color: rgba(245, 248, 242, 0.46);
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines b {
    color: rgba(245, 248, 242, 0.76);
    font-size: 13px;
    line-height: 1.55;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status {
    left: clamp(42px, 3.3vw, 54px);
    bottom: clamp(54px, 6vh, 76px);
    width: min(560px, calc(100% - 525px));
    justify-content: flex-start;
    gap: clamp(20px, 2vw, 34px);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status b {
    color: rgba(245, 248, 242, 0.82);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 430;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status span,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-actions span {
    color: rgba(245, 248, 242, 0.82);
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    right: clamp(46px, 3.4vw, 58px);
    width: min(315px, 20vw) !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer {
    gap: 14px;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb-rail,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb,
  #practice .practice-content[data-active-panel="web"] .web-thumb.active,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(223, 235, 220, 0.16);
    border-radius: 0;
    background: rgba(8, 10, 9, 0.48);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
    transition: height 0.42s var(--ease), border-color 0.28s ease, background 0.28s ease, transform 0.28s ease;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb,
  #practice .practice-content[data-active-panel="web"] .web-thumb:nth-child(n) {
    height: clamp(68px, 7.2vh, 82px);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb.active,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active,
  #practice .practice-content[data-active-panel="web"] .web-thumb:hover,
  #practice .practice-content[data-active-panel="web"] .web-thumb:focus-visible {
    height: clamp(142px, 15.5vh, 166px);
    border-color: rgba(159, 195, 178, 0.56);
    background: rgba(8, 10, 9, 0.34);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:nth-child(n) {
    height: clamp(50px, 5.8vh, 62px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:hover,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:focus-visible {
    height: clamp(118px, 13vh, 144px);
    border-color: rgba(229, 204, 169, 0.62);
    background: rgba(18, 14, 10, 0.36);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb::before,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(8, 10, 9, 0.46), rgba(8, 10, 9, 0.1) 58%, rgba(8, 10, 9, 0.42)),
      linear-gradient(0deg, rgba(8, 10, 9, 0.72), transparent 58%);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb::after,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button::before {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 3;
    height: 2px;
    background: rgba(202, 216, 197, 0);
    transform-origin: left;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button::before {
    background: rgba(229, 204, 169, 0);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.68;
    filter: saturate(0.78) contrast(1.06) brightness(0.76);
    transition: opacity 0.28s ease, filter 0.28s ease, transform 0.45s var(--ease);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb.active img,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active img,
  #practice .practice-content[data-active-panel="web"] .web-thumb:hover img,
  #practice .practice-content[data-active-panel="web"] .web-thumb:focus-visible img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:hover img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:focus-visible img {
    opacity: 0.86;
    filter: saturate(0.9) contrast(1.06) brightness(0.86);
    transform: scale(1.025);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb span,
  #practice .practice-content[data-active-panel="web"] .web-thumb b,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail span,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail b {
    position: absolute;
    z-index: 2;
    display: block;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb span,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail span {
    left: 14px;
    bottom: 13px;
    color: rgba(245, 248, 242, 0.82);
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb b,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail b {
    right: 14px;
    bottom: 13px;
    max-width: 62%;
    color: rgba(245, 248, 242, 0.9);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 430;
    text-align: right;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-actions,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-actions {
    gap: 10px;
  }

  #practice .practice-content[data-active-panel="web"] .web-nav-button,
  #practice .practice-content[data-active-panel="ip"] .mellow-nav-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(245, 248, 242, 0.18);
    backdrop-filter: blur(8px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header {
    position: absolute;
    z-index: 4;
    top: clamp(126px, 13vh, 166px);
    display: block;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(245, 248, 242, 0.18);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header h3 {
    max-width: 7.6em;
    color: rgba(245, 248, 242, 0.95);
    font-size: clamp(52px, 4vw, 64px);
    font-weight: 430;
    line-height: 1.04;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title {
    max-width: 520px;
    margin-top: 18px;
    text-align: left;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title b {
    color: rgba(245, 248, 242, 0.9);
    font-size: clamp(18px, 1.25vw, 22px);
    font-weight: 430;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title p {
    margin-top: 8px;
    color: rgba(245, 248, 242, 0.68);
    font-size: 13px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    bottom: clamp(54px, 6vh, 76px);
    padding: 0;
    border: 0;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy h4 {
    color: rgba(245, 238, 224, 0.94);
    font-size: clamp(36px, 2.8vw, 44px);
    font-weight: 430;
    line-height: 1.12;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 18px;
    color: rgba(245, 238, 224, 0.8);
    font-size: 14px;
    line-height: 1.74;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy blockquote {
    max-width: 520px;
    margin-top: 20px;
    color: rgba(232, 210, 179, 0.88);
    font-size: clamp(20px, 1.6vw, 26px);
    line-height: 1.52;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-actions {
    max-width: 560px;
    margin-top: 22px;
    padding-top: 20px;
    border-top-color: rgba(245, 238, 224, 0.18);
  }
}

@media (min-width: 1101px) and (max-width: 1360px) {
  #practice .practice-content[data-active-panel="web"] .web-gallery-footer,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    width: 292px !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    width: min(520px, calc(100% - 430px));
  }

  #practice .practice-content[data-active-panel="web"] .web-copy h3,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header h3 {
    font-size: 52px;
  }
}
/* 2026-07 keep spatial-style index progress after thumbnail restyling */
@media (min-width: 1101px) {
  #practice .practice-content[data-active-panel="web"] .web-thumb.active::after,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active::after,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active::before,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active::before {
    display: block !important;
    transform: scaleX(1);
  }

  #practice .practice-content[data-active-panel="web"] .web-showcase.auto-running .web-thumb.active::after,
  #practice .practice-content[data-active-panel="web"] .web-showcase.auto-running .web-thumb.is-active::after {
    background: rgba(202, 216, 197, 0.88);
    animation: aiPracticeIndexProgress 6.2s linear both;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified.auto-running .mellow-thumb-rail button.active::before,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified.auto-running .mellow-thumb-rail button.is-active::before {
    background: rgba(229, 204, 169, 0.9);
    animation: aiPracticeIndexProgress 6.8s linear both !important;
  }
}
/* 2026-07 spatial parity refinement: keep 01/02 backdrop-led and index-light */
@media (min-width: 1101px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    min-height: clamp(820px, calc(100vh - 108px), 960px);
    background: #080a09;
  }

  #practice .practice-content[data-active-panel="web"] .web-showcase,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-unified {
    padding: 0 !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media {
    overflow: hidden;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage img {
    opacity: 0.84;
    object-position: 73% center;
    transform: scale(1.018);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media img {
    opacity: 0.88;
    object-position: 52% center;
    transform: scale(1.014);
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-stage::after,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-media::after {
    background:
      linear-gradient(90deg, rgba(6, 9, 8, 0.94) 0%, rgba(6, 9, 8, 0.86) 22%, rgba(6, 9, 8, 0.58) 39%, rgba(6, 9, 8, 0.18) 63%, rgba(6, 9, 8, 0.32) 82%, rgba(6, 9, 8, 0.5) 100%),
      linear-gradient(0deg, rgba(5, 8, 7, 0.72) 0%, rgba(5, 8, 7, 0.08) 43%, rgba(5, 8, 7, 0.24) 100%);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    left: clamp(46px, 3.6vw, 62px);
    width: min(500px, calc(100% - 470px));
    max-width: 500px;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy {
    padding-top: clamp(170px, 17vh, 206px);
  }

  #practice .practice-content[data-active-panel="web"] .web-copy h3,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header h3 {
    max-width: 8.1em;
    font-size: clamp(48px, 3.45vw, 58px);
    line-height: 1.05;
    font-weight: 430;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy > p:not(.eyebrow),
  #practice .practice-content[data-active-panel="ip"] .mellow-project-title p,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy p:not(.eyebrow) {
    font-size: 13.5px;
    line-height: 1.76;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy > p:not(.eyebrow),
  #practice .practice-content[data-active-panel="web"] .web-meta-lines,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy p:not(.eyebrow) {
    max-width: 480px;
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines {
    margin-top: 28px;
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines div {
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 11px 0;
  }

  #practice .practice-content[data-active-panel="web"] .web-meta-lines b {
    font-size: 12.5px;
    line-height: 1.5;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status {
    left: clamp(46px, 3.6vw, 62px);
    bottom: clamp(56px, 6vh, 78px);
    width: min(480px, calc(100% - 470px));
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-status b {
    font-size: clamp(18px, 1.25vw, 22px);
    font-weight: 430;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    right: clamp(52px, 4vw, 72px);
    width: clamp(260px, 18vw, 296px) !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-gallery-footer {
    top: 50%;
    transform: translateY(-47%);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb,
  #practice .practice-content[data-active-panel="web"] .web-thumb:nth-child(n) {
    height: clamp(56px, 6vh, 70px);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb.active,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active,
  #practice .practice-content[data-active-panel="web"] .web-thumb:hover,
  #practice .practice-content[data-active-panel="web"] .web-thumb:focus-visible {
    height: clamp(120px, 12.6vh, 148px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:nth-child(n) {
    height: clamp(42px, 4.8vh, 52px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:hover,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:focus-visible {
    height: clamp(96px, 10.6vh, 118px);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button {
    background: rgba(6, 8, 7, 0.3);
    border-color: rgba(224, 235, 220, 0.13);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail img {
    opacity: 0.54;
    filter: saturate(0.72) contrast(1.04) brightness(0.68);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb.active img,
  #practice .practice-content[data-active-panel="web"] .web-thumb.is-active img,
  #practice .practice-content[data-active-panel="web"] .web-thumb:hover img,
  #practice .practice-content[data-active-panel="web"] .web-thumb:focus-visible img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.active img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button.is-active img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:hover img,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail button:focus-visible img {
    opacity: 0.8;
    filter: saturate(0.88) contrast(1.05) brightness(0.82);
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb span,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail span {
    left: 12px;
    bottom: 11px;
    font-size: 10px;
  }

  #practice .practice-content[data-active-panel="web"] .web-thumb b,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail b {
    right: 12px;
    bottom: 11px;
    max-width: 58%;
    font-size: 12.5px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header {
    top: clamp(122px, 12vh, 156px);
    padding-bottom: 18px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title {
    max-width: 460px;
    margin-top: 14px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title b {
    font-size: clamp(17px, 1.1vw, 20px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    bottom: clamp(56px, 6vh, 78px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy h4 {
    font-size: clamp(34px, 2.45vw, 40px);
    line-height: 1.14;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy blockquote {
    max-width: 470px;
    margin-top: 18px;
    font-size: clamp(20px, 1.45vw, 24px);
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-actions {
    margin-top: 18px;
    padding-top: 16px;
  }
}

@media (min-width: 1101px) and (max-width: 1360px) {
  #practice .practice-content[data-active-panel="web"] .web-gallery-footer,
  #practice .practice-content[data-active-panel="ip"] .mellow-thumb-rail {
    right: 42px;
    width: 270px !important;
  }

  #practice .practice-content[data-active-panel="web"] .web-copy,
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header,
  #practice .practice-content[data-active-panel="ip"] .mellow-gallery-copy {
    width: min(460px, calc(100% - 380px));
  }
}
/* 2026-07 IP title restraint: keep the character face clear */
@media (min-width: 1101px) {
  #practice .practice-content[data-active-panel="ip"] .mellow-project-header {
    width: min(450px, calc(100% - 470px));
    max-width: 450px;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-header h3 {
    max-width: 5.7em;
    font-size: clamp(44px, 3.1vw, 52px);
    line-height: 1.06;
    text-wrap: balance;
  }

  #practice .practice-content[data-active-panel="ip"] .mellow-project-title {
    margin-left: 0 !important;
    text-align: left !important;
  }
}
/* 2026-07-29 unified AI practice project deck rebuild */
#practice .practice-content[data-active-panel="web"],
#practice .practice-content[data-active-panel="ip"] {
  min-height: clamp(760px, 78vh, 960px);
  overflow: hidden;
}

#practice .practice-content[data-active-panel="web"] .practice-project-deck,
#practice .practice-content[data-active-panel="ip"] .practice-project-deck {
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #07090b;
  box-shadow: none;
  outline: none;
  --deck-fit: cover;
  --deck-object-position: center center;
  --deck-text-width: clamp(360px, 30vw, 560px);
  --deck-title-width: clamp(420px, 36vw, 650px);
  --deck-index-width: clamp(230px, 18vw, 320px);
}

#practice .practice-project-deck::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--practice-deck-bg);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(0.78) brightness(0.36) contrast(1.05);
  opacity: 0.78;
  transform: scale(1.05);
  transition: background-image 0.54s ease, opacity 0.54s ease;
}

#practice .practice-project-deck--ip::before {
  filter: blur(30px) saturate(0.92) brightness(0.48) contrast(1.08);
  opacity: 0.86;
}

#practice .practice-deck-visual,
#practice .practice-deck-surface,
#practice .practice-deck-guides {
  position: absolute;
  inset: 0;
}

#practice .practice-deck-visual {
  z-index: 1;
  overflow: hidden;
}

#practice .practice-deck-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: var(--deck-fit);
  object-position: var(--deck-object-position);
  filter: saturate(0.88) brightness(0.72) contrast(1.02);
  transform: translateZ(0);
  transition: object-position 0.5s ease, filter 0.5s ease;
}

#practice .practice-project-deck[data-fit="contain"] .practice-deck-visual img {
  padding: clamp(30px, 4vw, 70px) clamp(78px, 10vw, 190px) clamp(34px, 4vw, 76px) clamp(250px, 24vw, 500px);
  filter: saturate(0.9) brightness(0.86) contrast(1.02);
}

#practice .practice-project-deck--web[data-fit="contain"] .practice-deck-visual img {
  padding-left: clamp(270px, 26vw, 520px);
  padding-right: clamp(92px, 12vw, 230px);
}

#practice .practice-project-deck--ip[data-fit="contain"] .practice-deck-visual img {
  padding-left: clamp(270px, 25vw, 500px);
  padding-right: clamp(90px, 11vw, 220px);
}

#practice .practice-project-deck[data-image-tone="board"] .practice-deck-visual img,
#practice .practice-project-deck[data-image-tone="warm-board"] .practice-deck-visual img {
  filter: saturate(0.92) brightness(0.92) contrast(1.02);
}

#practice .practice-deck-surface {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.9) 0%, rgba(7, 10, 12, 0.72) 30%, rgba(8, 10, 12, 0.28) 58%, rgba(6, 8, 10, 0.62) 100%),
    linear-gradient(0deg, rgba(5, 7, 9, 0.68), rgba(5, 7, 9, 0.12) 48%, rgba(5, 7, 9, 0.58));
}

#practice .practice-project-deck--ip .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(18, 14, 11, 0.88) 0%, rgba(19, 15, 12, 0.68) 33%, rgba(22, 17, 13, 0.2) 60%, rgba(18, 13, 10, 0.5) 100%),
    linear-gradient(0deg, rgba(18, 13, 10, 0.72), rgba(18, 13, 10, 0.08) 52%, rgba(18, 13, 10, 0.5));
}

#practice .practice-project-deck[data-mask="web-board"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="web-system"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.92) 0%, rgba(5, 8, 10, 0.72) 31%, rgba(5, 8, 10, 0.18) 58%, rgba(5, 8, 10, 0.38) 100%),
    linear-gradient(0deg, rgba(4, 7, 9, 0.68), rgba(4, 7, 9, 0.04) 48%, rgba(4, 7, 9, 0.42));
}

#practice .practice-project-deck[data-mask="web-responsive"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.9) 0%, rgba(5, 8, 10, 0.62) 28%, rgba(5, 8, 10, 0.18) 62%, rgba(5, 8, 10, 0.55) 100%),
    linear-gradient(0deg, rgba(4, 7, 9, 0.72), rgba(4, 7, 9, 0.06) 54%, rgba(4, 7, 9, 0.5));
}

#practice .practice-project-deck[data-mask="ip-board"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-identity"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-detail"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-gift"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(19, 14, 10, 0.9) 0%, rgba(20, 15, 11, 0.66) 30%, rgba(20, 15, 11, 0.12) 58%, rgba(20, 15, 11, 0.36) 100%),
    linear-gradient(0deg, rgba(18, 13, 10, 0.72), rgba(18, 13, 10, 0.03) 54%, rgba(18, 13, 10, 0.42));
}

#practice .practice-deck-guides {
  z-index: 3;
  pointer-events: none;
  opacity: 0.46;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 13.33% 100%, 100% 25%;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 76%);
}

#practice .practice-project-deck--ip .practice-deck-guides {
  opacity: 0.26;
  background-size: 16.66% 100%, 100% 33.33%;
}

#practice .practice-deck-guides span {
  position: absolute;
  border: 1px solid rgba(218, 232, 228, 0.08);
  border-radius: 50%;
}

#practice .practice-deck-guides span:nth-child(1) {
  width: clamp(260px, 24vw, 460px);
  aspect-ratio: 1;
  right: 20vw;
  top: 18%;
}

#practice .practice-deck-guides span:nth-child(2) {
  width: clamp(360px, 34vw, 640px);
  aspect-ratio: 1;
  right: 14vw;
  top: 9%;
  opacity: 0.56;
}

#practice .practice-deck-guides span:nth-child(3) {
  width: 1px;
  height: 72%;
  left: clamp(52px, 7vw, 124px);
  top: 14%;
  border-radius: 0;
  border-width: 0 0 0 1px;
}

#practice .practice-deck-copy {
  position: absolute;
  z-index: 5;
  left: clamp(56px, 7vw, 128px);
  top: 50%;
  width: var(--deck-text-width);
  max-width: calc(100% - 40vw);
  transform: translateY(-50%);
  color: rgba(241, 244, 246, 0.92);
}

#practice .practice-project-deck[data-text="upper-left"] .practice-deck-copy {
  top: clamp(96px, 14vh, 150px);
  transform: none;
}

#practice .practice-project-deck--ip .practice-deck-copy {
  color: rgba(242, 228, 206, 0.94);
}

#practice .practice-deck-kicker {
  margin: 0 0 clamp(18px, 2vh, 28px);
  color: rgba(176, 211, 204, 0.82);
  font-size: clamp(12px, 0.82vw, 16px);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#practice .practice-project-deck--ip .practice-deck-kicker {
  color: rgba(232, 204, 166, 0.86);
}

#practice .practice-deck-title {
  width: var(--deck-title-width);
  max-width: 100%;
  margin: 0;
  color: rgba(246, 249, 250, 0.96);
  font-size: clamp(48px, 4.5vw, 78px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: 0;
}

#practice .practice-deck-title span {
  display: block;
}

#practice .practice-project-deck--ip .practice-deck-title {
  color: rgba(245, 229, 203, 0.96);
  font-weight: 500;
}

#practice .practice-deck-subtitle {
  margin: clamp(15px, 1.5vh, 20px) 0 0;
  color: rgba(202, 212, 216, 0.74);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#practice .practice-project-deck--ip .practice-deck-subtitle {
  color: rgba(226, 205, 176, 0.78);
}

#practice .practice-deck-description {
  max-width: min(100%, 620px);
  margin: clamp(22px, 2.4vh, 34px) 0 0;
  color: rgba(227, 233, 236, 0.82);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.9;
}

#practice .practice-project-deck--ip .practice-deck-description {
  color: rgba(235, 221, 202, 0.84);
}

#practice .practice-deck-meta {
  display: grid;
  gap: 0;
  margin-top: clamp(30px, 4vh, 58px);
  border-top: 1px solid rgba(223, 238, 236, 0.16);
}

#practice .practice-deck-meta div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(223, 238, 236, 0.13);
}

#practice .practice-deck-meta span {
  color: rgba(165, 197, 191, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#practice .practice-deck-meta b {
  color: rgba(242, 246, 247, 0.86);
  font-size: clamp(14px, 0.92vw, 17px);
  font-weight: 520;
  line-height: 1.55;
}

#practice .practice-project-deck--ip .practice-deck-meta {
  border-top-color: rgba(234, 211, 178, 0.22);
}

#practice .practice-project-deck--ip .practice-deck-meta div {
  border-bottom-color: rgba(234, 211, 178, 0.18);
}

#practice .practice-project-deck--ip .practice-deck-meta span {
  color: rgba(220, 191, 150, 0.8);
}

#practice .practice-project-deck--ip .practice-deck-meta b {
  color: rgba(242, 226, 203, 0.9);
}

#practice .practice-deck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: clamp(20px, 2vh, 28px);
}

#practice .practice-deck-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(216, 228, 225, 0.86);
  font-size: 13px;
  line-height: 1;
  border: 1px solid rgba(220, 237, 233, 0.22);
  background: rgba(8, 13, 15, 0.18);
  backdrop-filter: blur(8px);
}

#practice .practice-project-deck--ip .practice-deck-tags span {
  color: rgba(235, 215, 188, 0.9);
  border-color: rgba(232, 205, 168, 0.28);
  background: rgba(35, 25, 17, 0.18);
}

#practice .practice-deck-index {
  position: absolute;
  z-index: 6;
  top: 28%;
  right: clamp(42px, 5vw, 92px);
  width: var(--deck-index-width);
  display: grid;
  border-top: 1px solid rgba(230, 241, 238, 0.16);
  border-left: 1px solid rgba(230, 241, 238, 0.08);
  background: rgba(5, 8, 10, 0.2);
  backdrop-filter: blur(12px);
}

#practice .practice-project-deck[data-index="right-low"] .practice-deck-index {
  top: 34%;
  right: clamp(34px, 4vw, 78px);
}

#practice .practice-project-deck[data-index="right-tight"] .practice-deck-index {
  top: 22%;
  right: clamp(28px, 3.2vw, 64px);
  --deck-index-width: clamp(210px, 15vw, 270px);
}

#practice .practice-project-deck--ip .practice-deck-index {
  border-top-color: rgba(232, 205, 168, 0.18);
  border-left-color: rgba(232, 205, 168, 0.08);
  background: rgba(25, 18, 13, 0.22);
}

#practice .practice-deck-index-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 10px 12px;
  color: rgba(221, 230, 229, 0.68);
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(230, 241, 238, 0.13);
  background: transparent;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

#practice .practice-project-deck--ip .practice-deck-index-item {
  color: rgba(231, 211, 184, 0.68);
  border-bottom-color: rgba(232, 205, 168, 0.15);
}

#practice .practice-deck-index-item::before,
#practice .practice-deck-index-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#practice .practice-deck-index-item::before {
  width: 28px;
  height: 28px;
  right: 12px;
  top: 50%;
  border: 1px solid rgba(218, 236, 232, 0.16);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

#practice .practice-deck-index-item::after {
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: rgba(196, 226, 219, 0.88);
  transform: scaleX(0);
  transform-origin: left;
}

#practice .practice-deck-index-item img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  opacity: 0.54;
  filter: saturate(0.78) brightness(0.74);
  transition: opacity 0.24s ease, filter 0.24s ease;
}

#practice .practice-deck-index-item span {
  color: rgba(187, 208, 204, 0.82);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

#practice .practice-deck-index-item b {
  min-width: 0;
  color: inherit;
  font-size: clamp(14px, 0.98vw, 18px);
  font-weight: 520;
  line-height: 1.35;
}

#practice .practice-deck-index-item:hover,
#practice .practice-deck-index-item:focus-visible,
#practice .practice-deck-index-item.is-active {
  color: rgba(248, 251, 250, 0.96);
  background: rgba(238, 248, 246, 0.06);
}

#practice .practice-project-deck--ip .practice-deck-index-item:hover,
#practice .practice-project-deck--ip .practice-deck-index-item:focus-visible,
#practice .practice-project-deck--ip .practice-deck-index-item.is-active {
  color: rgba(247, 230, 204, 0.96);
  background: rgba(232, 205, 168, 0.07);
}

#practice .practice-deck-index-item:hover img,
#practice .practice-deck-index-item:focus-visible img,
#practice .practice-deck-index-item.is-active img {
  opacity: 0.96;
  filter: saturate(0.96) brightness(0.94);
}

#practice .practice-deck-index-item.is-active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

#practice .practice-project-deck.auto-running .practice-deck-index-item.is-active::after {
  animation: practiceDeckIndexProgress 6.8s linear both;
}

#practice .practice-project-deck--ip.auto-running .practice-deck-index-item.is-active::after {
  background: rgba(230, 196, 151, 0.9);
  animation-duration: 7.2s;
}

@keyframes practiceDeckIndexProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#practice .practice-deck-bottom {
  position: absolute;
  z-index: 5;
  left: clamp(56px, 7vw, 128px);
  bottom: clamp(54px, 7vh, 90px);
  display: grid;
  grid-template-columns: auto auto minmax(82px, 1fr);
  gap: 18px;
  align-items: center;
  width: min(520px, 34vw);
  color: rgba(238, 244, 244, 0.88);
}

#practice .practice-deck-bottom span {
  color: rgba(184, 206, 201, 0.9);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

#practice .practice-deck-bottom b {
  color: rgba(242, 247, 247, 0.92);
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 520;
  line-height: 1.3;
}

#practice .practice-deck-bottom i {
  display: block;
  height: 1px;
  background: rgba(224, 240, 236, 0.3);
}

#practice .practice-project-deck--ip .practice-deck-bottom span,
#practice .practice-project-deck--ip .practice-deck-bottom b {
  color: rgba(239, 219, 191, 0.9);
}

#practice .practice-project-deck--ip .practice-deck-bottom i {
  background: rgba(232, 205, 168, 0.28);
}

#practice .practice-deck-controls {
  position: absolute;
  z-index: 7;
  left: clamp(560px, 42vw, 760px);
  bottom: clamp(54px, 7vh, 90px);
  display: flex;
  gap: 12px;
}

#practice .practice-deck-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: rgba(242, 248, 247, 0.9);
  font-size: 20px;
  line-height: 1;
  border: 1px solid rgba(229, 243, 240, 0.24);
  border-radius: 50%;
  background: rgba(235, 246, 243, 0.08);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

#practice .practice-deck-controls button:hover,
#practice .practice-deck-controls button:focus-visible {
  border-color: rgba(229, 243, 240, 0.5);
  background: rgba(235, 246, 243, 0.14);
  transform: translateY(-1px);
}

#practice .practice-project-deck--ip .practice-deck-controls button {
  color: rgba(242, 223, 195, 0.92);
  border-color: rgba(232, 205, 168, 0.26);
  background: rgba(232, 205, 168, 0.08);
}

#practice .practice-project-deck.is-switching .practice-deck-visual img {
  animation: practiceDeckImageIn 0.72s ease both;
}

#practice .practice-project-deck.is-switching .practice-deck-kicker,
#practice .practice-project-deck.is-switching .practice-deck-title,
#practice .practice-project-deck.is-switching .practice-deck-subtitle,
#practice .practice-project-deck.is-switching .practice-deck-description,
#practice .practice-project-deck.is-switching .practice-deck-meta,
#practice .practice-project-deck.is-switching .practice-deck-tags,
#practice .practice-project-deck.is-switching .practice-deck-bottom {
  animation: practiceDeckTextIn 0.58s ease both;
}

#practice .practice-project-deck.is-switching .practice-deck-title { animation-delay: 0.04s; }
#practice .practice-project-deck.is-switching .practice-deck-subtitle { animation-delay: 0.08s; }
#practice .practice-project-deck.is-switching .practice-deck-description { animation-delay: 0.12s; }
#practice .practice-project-deck.is-switching .practice-deck-meta { animation-delay: 0.16s; }
#practice .practice-project-deck.is-switching .practice-deck-tags { animation-delay: 0.2s; }
#practice .practice-project-deck.is-switching .practice-deck-bottom { animation-delay: 0.14s; }

@keyframes practiceDeckImageIn {
  from { opacity: 0.72; transform: translateY(12px) scale(1.006); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes practiceDeckTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1280px) {
  #practice .practice-deck-copy {
    left: clamp(42px, 5vw, 72px);
    width: min(var(--deck-text-width), 430px);
    max-width: 38vw;
  }

  #practice .practice-deck-title {
    font-size: clamp(42px, 4.6vw, 64px);
  }

  #practice .practice-deck-index {
    right: clamp(24px, 3vw, 48px);
    --deck-index-width: clamp(205px, 19vw, 260px);
  }

  #practice .practice-deck-index-item {
    grid-template-columns: 62px 30px minmax(0, 1fr);
    gap: 9px;
    min-height: 66px;
    padding: 8px 10px;
  }

  #practice .practice-deck-index-item img {
    width: 62px;
    height: 42px;
  }
}

@media (max-width: 1100px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    min-height: 0;
    overflow: visible;
  }

  #practice .practice-content[data-active-panel="web"] .practice-project-deck,
  #practice .practice-content[data-active-panel="ip"] .practice-project-deck {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    background: rgba(7, 10, 11, 0.72);
  }

  #practice .practice-project-deck::before,
  #practice .practice-deck-surface,
  #practice .practice-deck-guides {
    position: absolute;
    inset: 0;
  }

  #practice .practice-deck-visual {
    position: relative;
    order: 2;
    height: clamp(430px, 62vh, 720px);
    border-top: 1px solid rgba(232, 241, 238, 0.12);
    border-bottom: 1px solid rgba(232, 241, 238, 0.12);
  }

  #practice .practice-project-deck[data-fit="contain"] .practice-deck-visual img,
  #practice .practice-project-deck--web[data-fit="contain"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-fit="contain"] .practice-deck-visual img {
    padding: clamp(18px, 4vw, 42px);
  }

  #practice .practice-deck-copy {
    position: relative;
    order: 1;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    transform: none;
    padding: clamp(34px, 6vw, 62px) clamp(24px, 6vw, 62px) clamp(30px, 5vw, 48px);
    background: linear-gradient(180deg, rgba(7, 10, 11, 0.9), rgba(7, 10, 11, 0.48));
  }

  #practice .practice-project-deck--ip .practice-deck-copy {
    background: linear-gradient(180deg, rgba(21, 15, 11, 0.92), rgba(21, 15, 11, 0.48));
  }

  #practice .practice-deck-title {
    width: auto;
    font-size: clamp(38px, 7vw, 68px);
  }

  #practice .practice-deck-description {
    max-width: 760px;
  }

  #practice .practice-deck-index {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    width: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    overflow-x: auto;
    border-left: 0;
    border-top: 1px solid rgba(230, 241, 238, 0.14);
    background: rgba(7, 10, 11, 0.54);
    scrollbar-width: thin;
  }

  #practice .practice-deck-index-item {
    min-height: 78px;
    border-right: 1px solid rgba(230, 241, 238, 0.12);
  }

  #practice .practice-deck-bottom {
    position: relative;
    order: 4;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 22px clamp(24px, 6vw, 62px);
    background: rgba(7, 10, 11, 0.54);
  }

  #practice .practice-deck-controls {
    position: relative;
    order: 5;
    left: auto;
    bottom: auto;
    justify-content: flex-end;
    padding: 0 clamp(24px, 6vw, 62px) clamp(30px, 6vw, 52px);
    background: rgba(7, 10, 11, 0.54);
  }
}

@media (max-width: 720px) {
  #practice .practice-deck-copy {
    padding: 30px 20px 26px;
  }

  #practice .practice-deck-kicker {
    font-size: 11px;
    margin-bottom: 16px;
  }

  #practice .practice-deck-title {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.1;
  }

  #practice .practice-deck-subtitle {
    font-size: 11px;
    line-height: 1.6;
  }

  #practice .practice-deck-description {
    font-size: 14px;
    line-height: 1.82;
  }

  #practice .practice-deck-meta {
    margin-top: 24px;
  }

  #practice .practice-deck-meta div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
  }

  #practice .practice-deck-meta span {
    font-size: 11px;
  }

  #practice .practice-deck-meta b {
    font-size: 13px;
  }

  #practice .practice-deck-tags span {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  #practice .practice-deck-visual {
    height: clamp(360px, 68vh, 560px);
  }

  #practice .practice-project-deck[data-fit="cover"] .practice-deck-visual img {
    object-position: var(--deck-object-position);
  }

  #practice .practice-deck-index {
    grid-auto-columns: minmax(158px, 66vw);
  }

  #practice .practice-deck-index-item {
    grid-template-columns: 58px 28px minmax(0, 1fr);
    min-height: 68px;
    gap: 8px;
    padding: 8px;
  }

  #practice .practice-deck-index-item img {
    width: 58px;
    height: 40px;
  }

  #practice .practice-deck-index-item span {
    font-size: 11px;
  }

  #practice .practice-deck-index-item b {
    font-size: 13px;
  }

  #practice .practice-deck-bottom {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 18px 20px 12px;
  }

  #practice .practice-deck-bottom i {
    display: none;
  }

  #practice .practice-deck-bottom b {
    font-size: 15px;
  }

  #practice .practice-deck-controls {
    padding: 0 20px 28px;
  }

  #practice .practice-deck-controls button {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #practice .practice-project-deck.is-switching .practice-deck-visual img,
  #practice .practice-project-deck.is-switching .practice-deck-kicker,
  #practice .practice-project-deck.is-switching .practice-deck-title,
  #practice .practice-project-deck.is-switching .practice-deck-subtitle,
  #practice .practice-project-deck.is-switching .practice-deck-description,
  #practice .practice-project-deck.is-switching .practice-deck-meta,
  #practice .practice-project-deck.is-switching .practice-deck-tags,
  #practice .practice-project-deck.is-switching .practice-deck-bottom,
  #practice .practice-project-deck.auto-running .practice-deck-index-item.is-active::after {
    animation: none !important;
  }
}
/* AI practice rebuild polish: keep long titles clear of the bottom pagination on desktop decks. */
#practice .practice-project-deck[data-text="center-left"] .practice-deck-copy {
  top: clamp(92px, 14vh, 140px);
  transform: none;
}

#practice .practice-deck-title {
  font-size: clamp(50px, 4.7vw, 78px);
  line-height: 1.04;
}

#practice .practice-deck-description {
  max-width: min(100%, 640px);
}

#practice .practice-deck-tags {
  margin-top: 22px;
  margin-bottom: 72px;
}

#practice .practice-deck-bottom {
  bottom: clamp(40px, 5.8vh, 68px);
}

@media (max-width: 1280px) {
  #practice .practice-project-deck[data-text="center-left"] .practice-deck-copy {
    top: clamp(82px, 13vh, 112px);
  }

  #practice .practice-deck-title {
    font-size: clamp(42px, 4.45vw, 60px);
  }

  #practice .practice-deck-tags {
    margin-bottom: 56px;
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck[data-text="center-left"] .practice-deck-copy {
    top: auto;
    transform: none;
  }

  #practice .practice-deck-tags {
    margin-bottom: 0;
  }
}
/* Keep tags close to the narrative and leave ROLE/FOCUS above the page footer. */
#practice .practice-deck-copy {
  display: flex;
  flex-direction: column;
}

#practice .practice-deck-kicker { order: 1; }
#practice .practice-deck-title { order: 2; }
#practice .practice-deck-subtitle { order: 3; }
#practice .practice-deck-description { order: 4; }
#practice .practice-deck-tags { order: 5; margin-top: 18px; margin-bottom: 0; }
#practice .practice-deck-meta { order: 6; margin-top: 26px; }

@media (max-width: 720px) {
  #practice .practice-deck-tags { margin-top: 16px; }
  #practice .practice-deck-meta { margin-top: 22px; }
}
/* Bottom pagination behaves like a status rail, anchored near the deck edge. */
#practice .practice-deck-bottom {
  bottom: clamp(18px, 2.6vh, 28px);
}
#practice .practice-deck-bottom {
  bottom: clamp(8px, 1.3vh, 14px);
}
@media (max-width: 1100px) {
  #practice .practice-deck-bottom {
    bottom: auto;
  }
}

@media (max-width: 720px) {
  #practice .practice-deck-index {
    margin-bottom: 14px;
  }

  #practice .practice-deck-bottom {
    bottom: auto;
    padding-top: 16px;
  }
}
@media (max-width: 720px) {
  #practice .practice-deck-bottom {
    margin-top: 18px;
  }
}
@media (max-width: 720px) {
  #practice .practice-deck-bottom {
    margin-top: 30px;
  }
}
/* 2026-07-29 review fixes for practice web/ip decks */
#practice .practice-project-deck--web .practice-deck-controls,
#practice .practice-project-deck--ip .practice-deck-controls {
  display: none !important;
}

#practice .practice-project-deck--web,
#practice .practice-project-deck--ip {
  --deck-index-width: clamp(270px, 21vw, 365px);
}

#practice .practice-project-deck--ip::before {
  filter: blur(20px) saturate(1.04) brightness(0.62) contrast(1.04);
  opacity: 0.58;
}

#practice .practice-project-deck--ip .practice-deck-visual img {
  filter: saturate(1.02) brightness(0.9) contrast(1.04);
}

#practice .practice-project-deck--ip[data-fit="contain"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-image-tone="warm-board"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-image-tone="warm-detail"] .practice-deck-visual img {
  filter: saturate(1.01) brightness(0.98) contrast(1.04);
}

#practice .practice-project-deck--ip .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.78) 0%, rgba(10, 8, 7, 0.56) 31%, rgba(12, 9, 7, 0.12) 58%, rgba(9, 7, 6, 0.24) 100%),
    linear-gradient(0deg, rgba(9, 7, 6, 0.38), rgba(11, 8, 6, 0.02) 52%, rgba(10, 8, 7, 0.18));
}

#practice .practice-project-deck[data-mask="ip-board"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-identity"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-detail"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-gift"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.82) 0%, rgba(10, 8, 7, 0.58) 30%, rgba(12, 9, 7, 0.08) 56%, rgba(9, 7, 6, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 7, 6, 0.34), rgba(11, 8, 6, 0.01) 54%, rgba(10, 8, 7, 0.16));
}

#practice .practice-project-deck--ip .practice-deck-guides {
  opacity: 0.14;
}

#practice .practice-project-deck--ip .practice-deck-index {
  top: 28%;
  right: clamp(42px, 5vw, 92px);
  width: var(--deck-index-width);
  background: rgba(14, 10, 8, 0.16);
  backdrop-filter: blur(8px);
}

#practice .practice-project-deck--web .practice-deck-index {
  top: 28%;
  right: clamp(42px, 5vw, 92px);
  width: var(--deck-index-width);
}

#practice .practice-project-deck--ip .practice-deck-index-item {
  background: rgba(18, 12, 8, 0.02);
}

#practice .practice-project-deck--ip .practice-deck-index-item:hover,
#practice .practice-project-deck--ip .practice-deck-index-item:focus-visible,
#practice .practice-project-deck--ip .practice-deck-index-item.is-active {
  background: rgba(238, 204, 158, 0.08);
}

#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
  padding: clamp(10px, 1.6vh, 26px) clamp(44px, 5vw, 96px) clamp(14px, 2vh, 34px) clamp(300px, 22vw, 420px);
}

#practice .practice-deck-kicker {
  margin-bottom: 28px;
  font-size: 14px;
}

#practice .practice-deck-title {
  font-size: 68px;
  line-height: 1.12;
  font-weight: 430;
}

#practice .practice-project-deck--ip .practice-deck-title {
  font-size: 68px;
  line-height: 1.1;
  font-weight: 420;
}

#practice .practice-deck-subtitle {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.55;
}

#practice .practice-deck-description {
  margin-top: 32px;
  font-size: 17px;
  line-height: 2;
}

#practice .practice-deck-tags span {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

#practice .practice-deck-meta {
  margin-top: 30px;
}

#practice .practice-deck-meta span {
  font-size: 12px;
}

#practice .practice-deck-meta b {
  font-size: 17px;
}

#practice .practice-deck-index-item span {
  font-size: 13px;
}

#practice .practice-deck-index-item b {
  font-size: 17px;
}

#practice .practice-deck-bottom span {
  font-size: 14px;
}

#practice .practice-deck-bottom b {
  font-size: 22px;
}

@media (max-width: 1280px) {
  #practice .practice-project-deck--web,
  #practice .practice-project-deck--ip {
    --deck-index-width: clamp(240px, 21vw, 310px);
  }

  #practice .practice-deck-title,
  #practice .practice-project-deck--ip .practice-deck-title {
    font-size: 58px;
  }

  #practice .practice-deck-subtitle {
    font-size: 15px;
  }

  #practice .practice-deck-description,
  #practice .practice-deck-meta b,
  #practice .practice-deck-index-item b {
    font-size: 15px;
  }

  #practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
    padding-left: clamp(230px, 23vw, 330px);
    padding-right: clamp(26px, 4vw, 70px);
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--web .practice-deck-index,
  #practice .practice-project-deck--ip .practice-deck-index {
    top: auto;
    right: auto;
    width: auto;
  }

  #practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
    padding: clamp(14px, 3vw, 34px);
  }

  #practice .practice-deck-title,
  #practice .practice-project-deck--ip .practice-deck-title {
    font-size: 50px;
  }

  #practice .practice-deck-controls {
    display: none !important;
  }
}

@media (max-width: 720px) {
  #practice .practice-deck-kicker {
    font-size: 11px;
    margin-bottom: 16px;
  }

  #practice .practice-deck-title,
  #practice .practice-project-deck--ip .practice-deck-title {
    font-size: 40px;
    line-height: 1.16;
  }

  #practice .practice-deck-subtitle {
    margin-top: 14px;
    font-size: 11px;
  }

  #practice .practice-deck-description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.82;
  }

  #practice .practice-deck-tags span {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  #practice .practice-deck-meta span,
  #practice .practice-deck-index-item span {
    font-size: 11px;
  }

  #practice .practice-deck-meta b,
  #practice .practice-deck-index-item b {
    font-size: 13px;
  }

  #practice .practice-deck-bottom b {
    font-size: 15px;
  }
}
/* 2026-07-29 final mellow tone pass: clearer warm photography, less brown wash. */
#practice .practice-project-deck--ip::before {
  filter: blur(18px) saturate(1.05) brightness(0.68) contrast(1.03);
  opacity: 0.44;
}

#practice .practice-project-deck--ip .practice-deck-visual img {
  filter: saturate(1.05) brightness(0.98) contrast(1.04);
}

#practice .practice-project-deck--ip[data-fit="contain"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-image-tone="warm-board"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-image-tone="warm-detail"] .practice-deck-visual img {
  filter: saturate(1.04) brightness(1.02) contrast(1.04);
}

#practice .practice-project-deck--ip .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.76) 0%, rgba(9, 8, 7, 0.46) 30%, rgba(12, 9, 7, 0.06) 58%, rgba(9, 7, 6, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 7, 6, 0.28), rgba(11, 8, 6, 0) 52%, rgba(10, 8, 7, 0.12));
}

#practice .practice-project-deck[data-mask="ip-board"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-identity"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-detail"] .practice-deck-surface,
#practice .practice-project-deck[data-mask="ip-gift"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.78) 0%, rgba(9, 8, 7, 0.48) 30%, rgba(12, 9, 7, 0.04) 56%, rgba(9, 7, 6, 0.08) 100%),
    linear-gradient(0deg, rgba(9, 7, 6, 0.24), rgba(11, 8, 6, 0) 54%, rgba(10, 8, 7, 0.1));
}

#practice .practice-project-deck--ip .practice-deck-index {
  background: rgba(12, 10, 8, 0.12);
}

#practice .practice-project-deck--ip .practice-deck-index-item:hover,
#practice .practice-project-deck--ip .practice-deck-index-item:focus-visible,
#practice .practice-project-deck--ip .practice-deck-index-item.is-active {
  background: rgba(238, 210, 170, 0.06);
}
/* 2026-07-29 immersive deck pass: make selected web/ip slides read like full-size hero visuals. */
#practice .practice-project-deck--web[data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--web[data-current-page="03"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover !important;
  transform: translateZ(0) scale(1.01);
}

#practice .practice-project-deck--web[data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--web[data-current-page="03"] .practice-deck-visual img {
  filter: saturate(0.88) brightness(0.76) contrast(1.04);
}

#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
  filter: saturate(1.04) brightness(0.98) contrast(1.04);
}

#practice .practice-project-deck--web[data-current-page="02"] .practice-deck-surface,
#practice .practice-project-deck--web[data-current-page="03"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.9) 0%, rgba(5, 8, 10, 0.64) 30%, rgba(5, 8, 10, 0.12) 57%, rgba(5, 8, 10, 0.42) 100%),
    linear-gradient(0deg, rgba(4, 7, 9, 0.56), rgba(4, 7, 9, 0.02) 52%, rgba(4, 7, 9, 0.34));
}

#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.78) 0%, rgba(9, 8, 7, 0.5) 30%, rgba(12, 9, 7, 0.05) 58%, rgba(9, 7, 6, 0.12) 100%),
    linear-gradient(0deg, rgba(9, 7, 6, 0.25), rgba(11, 8, 6, 0) 52%, rgba(10, 8, 7, 0.12));
}

#practice .practice-project-deck--web[data-current-page="02"] .practice-deck-index,
#practice .practice-project-deck--web[data-current-page="03"] .practice-deck-index,
#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-index,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-index,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-index,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-index {
  background: rgba(8, 9, 9, 0.16);
  backdrop-filter: blur(10px);
}

#practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-copy,
#practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-copy,
#practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-copy,
#practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-copy {
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--web[data-current-page="02"] .practice-deck-visual img,
  #practice .practice-project-deck--web[data-current-page="03"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="02"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="03"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="04"] .practice-deck-visual img,
  #practice .practice-project-deck--ip[data-current-page="06"] .practice-deck-visual img {
    padding: 0 !important;
    object-fit: cover !important;
  }
}
/* 2026-07-29 bottom status rail placement: keep page notes inside the visual safe area. */
@media (min-width: 1101px) {
  #practice .practice-project-deck--web .practice-deck-bottom,
  #practice .practice-project-deck--ip .practice-deck-bottom {
    bottom: clamp(54px, 6vh, 86px);
  }
}
/* 2026-07-29 mobile practice deck ergonomics: shorter visual path and accessible page rail. */
@media (max-width: 720px) {
  #practice .practice-content[data-active-panel="web"],
  #practice .practice-content[data-active-panel="ip"] {
    overflow: visible;
  }

  #practice .practice-content[data-active-panel="web"] .practice-project-deck,
  #practice .practice-content[data-active-panel="ip"] .practice-project-deck {
    overflow: visible;
    background: rgba(6, 9, 10, 0.76);
  }

  #practice .practice-deck-copy {
    order: 1;
    padding: 24px 20px 18px;
  }

  #practice .practice-deck-description {
    margin-top: 16px;
    line-height: 1.72;
  }

  #practice .practice-deck-tags {
    margin-top: 13px;
    gap: 8px;
  }

  #practice .practice-deck-meta {
    margin-top: 16px;
  }

  #practice .practice-deck-meta div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  #practice .practice-deck-index {
    order: 2;
    position: sticky;
    top: var(--practice-mobile-dock-top, 0px);
    z-index: 18;
    width: auto;
    margin: 0;
    padding: 8px 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(118px, 38vw);
    gap: 8px;
    overflow-x: auto;
    border-top: 1px solid rgba(221, 238, 234, 0.16);
    border-bottom: 1px solid rgba(221, 238, 234, 0.14);
    border-left: 0;
    background: linear-gradient(180deg, rgba(8, 12, 12, 0.94), rgba(8, 12, 12, 0.82));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  #practice .practice-deck-index::-webkit-scrollbar {
    display: none;
  }

  #practice .practice-project-deck--ip .practice-deck-index {
    background: linear-gradient(180deg, rgba(24, 17, 12, 0.94), rgba(18, 13, 10, 0.82));
    border-top-color: rgba(232, 205, 168, 0.18);
    border-bottom-color: rgba(232, 205, 168, 0.16);
  }

  #practice .practice-deck-index-item {
    min-height: 58px;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 8px;
    align-content: center;
    padding: 7px 8px;
    border: 1px solid rgba(222, 238, 234, 0.12);
    background: rgba(238, 248, 246, 0.035);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item {
    border-color: rgba(232, 205, 168, 0.14);
    background: rgba(238, 210, 170, 0.035);
  }

  #practice .practice-deck-index-item::before {
    display: none;
  }

  #practice .practice-deck-index-item::after {
    left: 8px;
    right: 8px;
    bottom: 4px;
  }

  #practice .practice-deck-index-item img {
    grid-row: 1 / 3;
    width: 46px;
    height: 34px;
    align-self: center;
  }

  #practice .practice-deck-index-item span {
    font-size: 10px;
    line-height: 1.05;
  }

  #practice .practice-deck-index-item b {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.18;
  }

  #practice .practice-deck-visual {
    order: 3;
    height: clamp(310px, 54svh, 430px) !important;
    border-top: 0;
  }

  #practice .practice-project-deck--ip .practice-deck-visual {
    height: clamp(330px, 56svh, 450px) !important;
  }

  #practice .practice-deck-bottom {
    order: 4;
    margin-top: 0;
    padding: 14px 20px 20px;
    background: rgba(7, 10, 11, 0.62);
  }
}

@media (max-width: 420px) {
  #practice .practice-deck-index {
    grid-auto-columns: minmax(106px, 42vw);
    padding-inline: 8px;
  }

  #practice .practice-deck-index-item {
    min-height: 56px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 2px 7px;
  }

  #practice .practice-deck-index-item img {
    width: 42px;
    height: 30px;
  }

  #practice .practice-deck-index-item b {
    font-size: 11.5px;
  }

  #practice .practice-deck-visual,
  #practice .practice-project-deck--ip .practice-deck-visual {
    height: clamp(300px, 52svh, 410px) !important;
  }
}

/* 2026-07-29 desktop deck footer flow: page notes sit after ROLE/FOCUS instead of floating over it. */
#practice .practice-deck-copy .practice-deck-bottom {
  position: static;
  order: 7;
  z-index: auto;
  left: auto;
  bottom: auto;
  width: min(100%, 640px);
  margin-top: clamp(14px, 1.8vh, 22px);
  padding: clamp(12px, 1.5vh, 18px) 0 0;
  background: transparent;
}

#practice .practice-deck-copy .practice-deck-bottom span {
  white-space: nowrap;
}

#practice .practice-deck-copy .practice-deck-bottom b {
  min-width: 0;
}

@media (max-width: 1100px) {
  #practice .practice-deck-copy .practice-deck-bottom {
    width: 100%;
    margin-top: 18px;
    padding: 14px 0 0;
  }
}

@media (max-width: 720px) {
  #practice .practice-deck-copy .practice-deck-bottom {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding: 12px 0 0;
  }
}
/* 2026-07-29 low-height desktop safety pass: keep the whole copy stack inside the visual safe area. */
@media (min-width: 1101px) and (max-height: 1080px) {
  #practice .practice-project-deck--web .practice-deck-copy,
  #practice .practice-project-deck--ip .practice-deck-copy {
    top: clamp(68px, 9vh, 102px);
    transform: none;
  }

  #practice .practice-deck-kicker {
    margin-bottom: clamp(14px, 1.7vh, 20px);
    font-size: 13px;
  }

  #practice .practice-deck-title,
  #practice .practice-project-deck--ip .practice-deck-title {
    font-size: clamp(48px, 4vw, 62px);
    line-height: 1.08;
  }

  #practice .practice-deck-subtitle {
    margin-top: clamp(12px, 1.6vh, 16px);
    font-size: 14px;
    line-height: 1.45;
  }

  #practice .practice-deck-description {
    margin-top: clamp(18px, 2vh, 24px);
    font-size: 15px;
    line-height: 1.78;
  }

  #practice .practice-deck-tags {
    margin-top: 13px;
    gap: 8px;
  }

  #practice .practice-deck-tags span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  #practice .practice-deck-meta {
    margin-top: 18px;
  }

  #practice .practice-deck-meta div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
  }

  #practice .practice-deck-meta span {
    font-size: 11px;
  }

  #practice .practice-deck-meta b {
    font-size: 15px;
    line-height: 1.42;
  }

  #practice .practice-deck-copy .practice-deck-bottom {
    width: min(100%, 560px);
    margin-top: 10px;
    padding-top: 9px;
  }

  #practice .practice-deck-bottom span {
    font-size: 12px;
  }

  #practice .practice-deck-bottom b {
    font-size: clamp(16px, 1.08vw, 19px);
    line-height: 1.24;
  }
}

/* 2026-07-29 reference typography pass: keep thumbnail navigation, but make it quieter and closer to the reference hierarchy. */
@media (min-width: 1101px) {
  #practice .practice-project-deck--web,
  #practice .practice-project-deck--ip {
    --deck-text-width: clamp(400px, 28vw, 570px);
    --deck-title-width: clamp(430px, 33vw, 650px);
    --deck-index-width: clamp(260px, 19vw, 340px);
  }

  #practice .practice-project-deck--web .practice-deck-copy {
    left: clamp(68px, 5.8vw, 118px);
    color: rgba(241, 245, 246, 0.9);
  }

  #practice .practice-project-deck--ip .practice-deck-copy {
    left: clamp(68px, 5.8vw, 118px);
    color: rgba(244, 228, 202, 0.9);
  }

  #practice .practice-deck-kicker {
    margin-bottom: clamp(24px, 2.8vh, 36px);
    font-size: 13px;
    font-weight: 520;
    line-height: 1.2;
    letter-spacing: 0.09em;
  }

  #practice .practice-deck-kicker::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 12px;
    vertical-align: 0.1em;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.88;
  }

  #practice .practice-deck-title {
    font-size: clamp(64px, 5.6vw, 92px);
    line-height: 1.05;
    font-weight: 460;
  }

  #practice .practice-project-deck--web .practice-deck-title {
    color: rgba(246, 250, 250, 0.97);
    text-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
  }

  #practice .practice-project-deck--ip .practice-deck-title {
    color: rgba(247, 230, 202, 0.96);
    font-size: clamp(60px, 5.1vw, 84px);
    line-height: 1.08;
    font-weight: 410;
    text-shadow: 0 20px 42px rgba(42, 24, 11, 0.28);
  }

  #practice .practice-deck-subtitle {
    margin-top: clamp(16px, 1.8vh, 24px);
    max-width: 36em;
    font-size: clamp(13px, 0.88vw, 16px);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(213, 222, 224, 0.62);
  }

  #practice .practice-project-deck--ip .practice-deck-subtitle {
    max-width: 26em;
    color: rgba(232, 207, 175, 0.7);
    font-weight: 430;
    letter-spacing: 0.22em;
  }

  #practice .practice-deck-description {
    max-width: min(100%, 520px);
    margin-top: clamp(26px, 3vh, 42px);
    font-size: clamp(15px, 0.92vw, 17px);
    line-height: 1.95;
    color: rgba(227, 234, 236, 0.72);
  }

  #practice .practice-project-deck--ip .practice-deck-description {
    max-width: min(100%, 500px);
    color: rgba(238, 224, 205, 0.72);
  }

  #practice .practice-deck-tags {
    margin-top: clamp(26px, 2.8vh, 38px);
    gap: 10px;
  }

  #practice .practice-deck-tags span {
    min-height: 34px;
    padding: 0 16px;
    color: rgba(219, 231, 229, 0.76);
    font-size: 13px;
    font-weight: 430;
    border-color: rgba(220, 237, 233, 0.2);
    background: rgba(8, 13, 15, 0.1);
    backdrop-filter: blur(6px);
  }

  #practice .practice-project-deck--ip .practice-deck-tags span {
    color: rgba(236, 217, 190, 0.78);
    border-color: rgba(232, 205, 168, 0.22);
    background: rgba(38, 26, 17, 0.1);
  }

  #practice .practice-deck-meta {
    margin-top: clamp(28px, 3.4vh, 48px);
    border-top-color: rgba(223, 238, 236, 0.12);
  }

  #practice .practice-deck-meta div {
    grid-template-columns: clamp(76px, 5.8vw, 110px) minmax(0, 1fr);
    gap: clamp(18px, 2.2vw, 34px);
    padding: 13px 0;
    border-bottom-color: rgba(223, 238, 236, 0.1);
  }

  #practice .practice-deck-meta span {
    color: rgba(180, 206, 201, 0.68);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  #practice .practice-deck-meta b {
    color: rgba(240, 246, 247, 0.78);
    font-size: clamp(14px, 0.9vw, 16px);
    font-weight: 430;
    line-height: 1.52;
  }

  #practice .practice-project-deck--ip .practice-deck-meta {
    border-top-color: rgba(234, 211, 178, 0.14);
  }

  #practice .practice-project-deck--ip .practice-deck-meta div {
    border-bottom-color: rgba(234, 211, 178, 0.11);
  }

  #practice .practice-project-deck--ip .practice-deck-meta span {
    color: rgba(224, 194, 153, 0.72);
  }

  #practice .practice-project-deck--ip .practice-deck-meta b {
    color: rgba(243, 226, 202, 0.78);
  }

  #practice .practice-deck-copy .practice-deck-bottom {
    width: min(100%, 520px);
    margin-top: clamp(24px, 3vh, 42px);
    padding-top: 0;
    border-top: 0;
    opacity: 0.9;
  }

  #practice .practice-deck-copy .practice-deck-bottom span {
    font-size: 13px;
    font-weight: 520;
    letter-spacing: 0.08em;
  }

  #practice .practice-deck-copy .practice-deck-bottom b {
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 430;
    line-height: 1.24;
  }

  #practice .practice-deck-copy .practice-deck-bottom i {
    opacity: 0.48;
  }

  #practice .practice-deck-index {
    top: 30%;
    right: clamp(50px, 5vw, 104px);
    border-top-color: rgba(230, 241, 238, 0.1);
    border-left-color: rgba(230, 241, 238, 0.04);
    background: rgba(5, 8, 10, 0.1);
    backdrop-filter: blur(8px);
  }

  #practice .practice-project-deck--ip .practice-deck-index {
    top: 30%;
    border-top-color: rgba(232, 205, 168, 0.1);
    border-left-color: rgba(232, 205, 168, 0.04);
    background: rgba(20, 14, 10, 0.1);
  }

  #practice .practice-deck-index-item {
    grid-template-columns: 58px 30px minmax(0, 1fr);
    gap: 12px;
    min-height: 62px;
    padding: 8px 10px;
    color: rgba(222, 232, 231, 0.5);
    border-bottom-color: rgba(230, 241, 238, 0.08);
    background: rgba(8, 12, 13, 0.015);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item {
    color: rgba(232, 211, 184, 0.5);
    border-bottom-color: rgba(232, 205, 168, 0.08);
    background: rgba(25, 17, 11, 0.015);
  }

  #practice .practice-deck-index-item img {
    width: 58px;
    height: 38px;
    opacity: 0.36;
    filter: saturate(0.74) brightness(0.64);
  }

  #practice .practice-deck-index-item span {
    color: rgba(184, 207, 203, 0.64);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
  }

  #practice .practice-deck-index-item b {
    color: inherit;
    font-size: clamp(14px, 0.9vw, 16px);
    font-weight: 420;
  }

  #practice .practice-deck-index-item::before {
    width: 24px;
    height: 24px;
    right: 10px;
    border-color: rgba(218, 236, 232, 0.12);
  }

  #practice .practice-deck-index-item::after {
    left: 10px;
    right: 10px;
    bottom: 4px;
    opacity: 0.58;
  }

  #practice .practice-deck-index-item:hover,
  #practice .practice-deck-index-item:focus-visible,
  #practice .practice-deck-index-item.is-active {
    color: rgba(248, 251, 250, 0.88);
    background: rgba(238, 248, 246, 0.035);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item:hover,
  #practice .practice-project-deck--ip .practice-deck-index-item:focus-visible,
  #practice .practice-project-deck--ip .practice-deck-index-item.is-active {
    color: rgba(247, 230, 204, 0.88);
    background: rgba(232, 205, 168, 0.035);
  }

  #practice .practice-deck-index-item:hover img,
  #practice .practice-deck-index-item:focus-visible img,
  #practice .practice-deck-index-item.is-active img {
    opacity: 0.72;
    filter: saturate(0.9) brightness(0.86);
  }
}

@media (min-width: 1101px) and (max-height: 1080px) {
  #practice .practice-deck-title,
  #practice .practice-project-deck--ip .practice-deck-title {
    font-size: clamp(54px, 4.6vw, 70px);
  }

  #practice .practice-deck-kicker {
    margin-bottom: clamp(16px, 1.8vh, 22px);
    font-size: 12px;
  }

  #practice .practice-deck-subtitle {
    margin-top: clamp(12px, 1.4vh, 18px);
    font-size: 13px;
  }

  #practice .practice-deck-description {
    max-width: min(100%, 500px);
    margin-top: clamp(18px, 2vh, 26px);
    font-size: 14px;
    line-height: 1.78;
  }

  #practice .practice-deck-tags {
    margin-top: clamp(16px, 1.8vh, 22px);
  }

  #practice .practice-deck-meta {
    margin-top: clamp(18px, 2vh, 26px);
  }

  #practice .practice-deck-meta div {
    padding: 9px 0;
  }

  #practice .practice-deck-copy .practice-deck-bottom {
    margin-top: clamp(16px, 2vh, 24px);
  }

  #practice .practice-deck-index-item {
    min-height: 58px;
  }
}
/* 2026-07-29 reference typography safety refine: keep long titles expressive without pushing the footer out. */
@media (min-width: 1101px) {
  #practice .practice-project-deck--web[data-current-page="01"] .practice-deck-title {
    font-size: clamp(58px, 4.7vw, 78px);
    line-height: 1.06;
  }

  #practice .practice-deck-copy .practice-deck-bottom {
    margin-top: clamp(18px, 2.1vh, 30px);
  }
}

@media (min-width: 1101px) and (min-height: 1081px) and (max-height: 1240px) {
  #practice .practice-project-deck--web .practice-deck-copy,
  #practice .practice-project-deck--ip .practice-deck-copy {
    top: clamp(96px, 12vh, 132px);
    transform: none;
  }

  #practice .practice-deck-description {
    margin-top: clamp(22px, 2.4vh, 32px);
  }

  #practice .practice-deck-meta {
    margin-top: clamp(24px, 2.8vh, 38px);
  }
}
/* 2026-07-29 short-screen long-title reserve: add clear breathing room on web slide 01. */
@media (min-width: 1101px) and (max-height: 1080px) {
  #practice .practice-project-deck--web[data-current-page="01"] .practice-deck-title {
    font-size: clamp(50px, 4.25vw, 66px);
    line-height: 1.06;
  }

  #practice .practice-project-deck--web[data-current-page="01"] .practice-deck-description {
    margin-top: clamp(16px, 1.8vh, 22px);
  }

  #practice .practice-project-deck--web[data-current-page="01"] .practice-deck-meta {
    margin-top: clamp(15px, 1.8vh, 22px);
  }

  #practice .practice-project-deck--web[data-current-page="01"] .practice-deck-copy .practice-deck-bottom {
    margin-top: clamp(13px, 1.6vh, 20px);
  }
}
/* 2026-07-30 Mr. Mellow version switch and light sport edition. */
#practice .practice-version-switch {
  position: absolute;
  z-index: 9;
  top: calc(30% - 50px);
  right: clamp(50px, 5vw, 104px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--deck-index-width);
  min-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(232, 205, 168, 0.18);
  background: rgba(18, 13, 10, 0.28);
  backdrop-filter: blur(10px);
}

#practice .practice-version-switch button {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  color: rgba(238, 220, 194, 0.68);
  font: inherit;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 520;
  letter-spacing: 0.03em;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

#practice .practice-version-switch button + button {
  border-left: 1px solid rgba(232, 205, 168, 0.18);
}

#practice .practice-version-switch button:hover,
#practice .practice-version-switch button:focus-visible,
#practice .practice-version-switch button.is-active {
  color: rgba(250, 235, 211, 0.96);
  background: rgba(232, 205, 168, 0.12);
}

#practice .practice-project-deck--ip[data-version="sport"] {
  --deck-text-width: clamp(460px, 35vw, 610px) !important;
  --deck-title-width: clamp(460px, 35vw, 640px) !important;
  background: #efe8dc;
}

#practice .practice-project-deck--ip[data-version="sport"]::before {
  filter: blur(24px) saturate(1.02) brightness(1.08) contrast(0.98);
  opacity: 0.3;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="02"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="03"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="04"] .practice-deck-visual img,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="06"] .practice-deck-visual img {
  padding: 0 !important;
  object-fit: cover !important;
  filter: saturate(1.04) brightness(1.04) contrast(1.02);
  transform: translateZ(0) scale(1);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="02"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="03"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="04"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="06"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(246, 239, 226, 0.98) 0%, rgba(246, 239, 226, 0.9) 26%, rgba(246, 239, 226, 0.56) 38%, rgba(246, 239, 226, 0.18) 50%, rgba(246, 239, 226, 0.03) 68%, rgba(246, 239, 226, 0.12) 100%),
    linear-gradient(0deg, rgba(246, 239, 226, 0.42), rgba(246, 239, 226, 0.04) 52%, rgba(246, 239, 226, 0.12));
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-guides {
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(76, 73, 54, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(76, 73, 54, 0.06) 1px, transparent 1px);
  background-size: 16.66% 100%, 100% 33.33%;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copy {
  color: #343226;
  text-shadow: none;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-kicker,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-title,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-bottom b {
  color: #343226;
  text-shadow: none;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-kicker::before {
  background: #758251;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-subtitle {
  max-width: 42em;
  color: rgba(112, 122, 78, 0.86);
  letter-spacing: 0.14em;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-description {
  color: rgba(54, 52, 40, 0.86);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-meta {
  border-top-color: rgba(73, 69, 51, 0.16);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-meta div {
  border-bottom-color: rgba(73, 69, 51, 0.12);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-meta span {
  color: rgba(92, 100, 64, 0.86);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-meta b,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-bottom span {
  color: rgba(52, 50, 38, 0.9);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-tags span {
  color: rgba(61, 58, 42, 0.88);
  border-color: rgba(84, 78, 55, 0.26);
  background: rgba(246, 239, 226, 0.42);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-bottom {
  border-top-color: rgba(73, 69, 51, 0.16);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-bottom i {
  background: rgba(73, 69, 51, 0.24);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
  border-color: rgba(73, 69, 51, 0.2);
  background: rgba(246, 239, 226, 0.76);
  box-shadow: 0 18px 46px rgba(81, 68, 46, 0.1);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
  color: rgba(58, 55, 40, 0.62);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button + button {
  border-left-color: rgba(73, 69, 51, 0.18);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:hover,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:focus-visible,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button.is-active {
  color: #343226;
  background: rgba(114, 126, 79, 0.14);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
  border-top-color: rgba(73, 69, 51, 0.16);
  border-left-color: rgba(73, 69, 51, 0.1);
  background: rgba(246, 239, 226, 0.42);
  box-shadow: 0 18px 46px rgba(81, 68, 46, 0.08);
  backdrop-filter: blur(10px);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item {
  color: rgba(61, 58, 42, 0.58);
  border-bottom-color: rgba(73, 69, 51, 0.13);
  background: rgba(246, 239, 226, 0.02);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item span {
  color: rgba(91, 101, 64, 0.72);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:hover,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:focus-visible,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item.is-active {
  color: #343226;
  background: rgba(114, 126, 79, 0.09);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item::before {
  border-color: rgba(73, 69, 51, 0.2);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item::after,
#practice .practice-project-deck--ip[data-version="sport"].auto-running .practice-deck-index-item.is-active::after {
  background: rgba(114, 126, 79, 0.86);
}

@media (max-width: 1100px) {
  #practice .practice-version-switch {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    z-index: 18;
    width: auto;
    min-height: 44px;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  #practice .practice-deck-index {
    order: 4;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copy {
    background: linear-gradient(180deg, rgba(246, 239, 226, 0.94), rgba(246, 239, 226, 0.58));
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    background: linear-gradient(180deg, rgba(246, 239, 226, 0.96), rgba(238, 230, 216, 0.88));
  }
}

@media (max-width: 720px) {
  #practice .practice-version-switch {
    order: 2;
    position: sticky;
    top: var(--practice-mobile-dock-top, 0px);
    grid-template-columns: 1fr 1fr;
  }

  #practice .practice-version-switch button {
    min-height: 42px;
    font-size: 15px;
  }

  #practice .practice-deck-index {
    order: 3;
    top: calc(var(--practice-mobile-dock-top, 0px) + 42px);
  }

  #practice .practice-deck-visual,
  #practice .practice-project-deck--ip .practice-deck-visual {
    order: 4;
  }
}
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copy .practice-deck-bottom {
  width: min(100%, 620px);
}
/* 2026-07-30 sport edition index refinement: image-led thumbnails. */
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="02"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="03"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="04"] .practice-deck-surface,
#practice .practice-project-deck--ip[data-version="sport"][data-current-page="06"] .practice-deck-surface {
  background:
    linear-gradient(90deg, rgba(248, 242, 232, 0.98) 0%, rgba(248, 242, 232, 0.86) 24%, rgba(248, 242, 232, 0.48) 34%, rgba(248, 242, 232, 0.14) 48%, rgba(248, 242, 232, 0.01) 68%, rgba(248, 242, 232, 0.06) 100%),
    linear-gradient(0deg, rgba(248, 242, 232, 0.28), rgba(248, 242, 232, 0.02) 54%, rgba(248, 242, 232, 0.06));
}

@media (min-width: 1101px) {
  #practice .practice-project-deck--ip[data-version="sport"] {
    --deck-index-width: clamp(238px, 15.2vw, 292px);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
    top: clamp(156px, 20.5vh, 206px);
    right: clamp(20px, 2.7vw, 54px);
    width: var(--deck-index-width);
    min-height: 42px;
    border-color: rgba(55, 52, 37, 0.14);
    background: rgba(244, 236, 222, 0.62);
    box-shadow: 0 18px 42px rgba(61, 52, 38, 0.08);
    backdrop-filter: blur(8px);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
    min-height: 42px;
    font-size: clamp(14px, 0.9vw, 16px);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    top: calc(clamp(156px, 20.5vh, 206px) + 50px);
    right: clamp(20px, 2.7vw, 54px);
    display: grid;
    gap: 8px;
    width: var(--deck-index-width);
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item {
    position: relative;
    display: block;
    min-height: 0;
    height: clamp(54px, 5.7vh, 68px);
    padding: 0;
    overflow: hidden;
    color: rgba(255, 252, 244, 0.78);
    border: 1px solid rgba(248, 242, 232, 0.28);
    background: rgba(38, 35, 25, 0.08);
    box-shadow: 0 16px 36px rgba(48, 41, 29, 0.12);
    transition: height 0.28s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:hover,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:focus-visible,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item.is-active {
    height: clamp(94px, 10.5vh, 124px);
    color: rgba(255, 252, 244, 0.96);
    border-color: rgba(248, 242, 232, 0.54);
    background: rgba(38, 35, 25, 0.08);
    box-shadow: 0 22px 48px rgba(44, 38, 27, 0.18);
    transform: translateX(-4px);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(90deg, rgba(14, 13, 9, 0.44), rgba(14, 13, 9, 0.06) 56%, rgba(14, 13, 9, 0.38)),
      linear-gradient(0deg, rgba(14, 13, 9, 0.68), transparent 58%);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item::after {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 2px;
    opacity: 0.78;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    filter: saturate(0.9) brightness(0.76) contrast(1.03);
    transform: scale(1.01);
    transition: opacity 0.26s ease, filter 0.26s ease, transform 0.34s ease;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:hover img,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item:focus-visible img,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item.is-active img {
    opacity: 0.9;
    filter: saturate(1) brightness(0.9) contrast(1.04);
    transform: scale(1.035);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item span,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    display: block;
    margin: 0;
    color: rgba(255, 252, 244, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item span {
    left: 14px;
    bottom: 12px;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item b {
    right: 14px;
    bottom: 12px;
    max-width: 62%;
    font-size: clamp(13px, 0.86vw, 15px);
    font-weight: 460;
    line-height: 1.28;
    text-align: right;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copy .practice-deck-bottom {
    width: min(100%, 660px);
    grid-template-columns: auto auto minmax(24px, 1fr);
    gap: 14px;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-bottom b {
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    gap: 8px;
    background: linear-gradient(180deg, rgba(246, 239, 226, 0.82), rgba(238, 230, 216, 0.7));
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item {
    position: relative;
    min-height: 68px;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    border-color: rgba(84, 78, 55, 0.18);
    background: rgba(50, 43, 31, 0.08);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background:
      linear-gradient(90deg, rgba(14, 13, 9, 0.42), rgba(14, 13, 9, 0.04) 58%, rgba(14, 13, 9, 0.28)),
      linear-gradient(0deg, rgba(14, 13, 9, 0.62), transparent 60%);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.92) brightness(0.82) contrast(1.02);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item span,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    color: rgba(255, 252, 244, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item span {
    left: 9px;
    bottom: 8px;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index-item b {
    right: 9px;
    bottom: 8px;
    max-width: 58%;
    text-align: right;
  }
}
/* 2026-07-30 Mr. Mellow unified thumbnail index and cover version switch. */
#practice .practice-project-deck--ip .practice-version-switch {
  overflow: hidden;
  border-color: rgba(232, 205, 168, 0.26);
  background: rgba(16, 12, 9, 0.24);
  box-shadow: 0 20px 46px rgba(20, 14, 9, 0.16);
}

#practice .practice-project-deck--ip .practice-version-switch button {
  position: relative;
  min-height: 56px;
  padding: 0 12px;
  color: rgba(255, 245, 232, 0.88);
  font-weight: 650;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
  background-color: rgba(25, 18, 13, 0.4);
  background-image:
    linear-gradient(90deg, rgba(16, 11, 7, 0.58), rgba(16, 11, 7, 0.3)),
    var(--version-cover);
  background-size: cover, cover;
  background-position: center, var(--version-cover-position, center);
  transition: color 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="regular"] {
  --version-cover: url("./assets/ai-practice/mr-mellow/thumbs/01.png");
  --version-cover-position: 55% center;
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"] {
  --version-cover: url("./assets/ai-practice/mr-mellow-sport/thumbs/01.png");
  --version-cover-position: 58% center;
}

#practice .practice-project-deck--ip .practice-version-switch button:hover,
#practice .practice-project-deck--ip .practice-version-switch button:focus-visible,
#practice .practice-project-deck--ip .practice-version-switch button.is-active {
  color: #fff8ea;
  filter: saturate(1.08) brightness(1.08);
  background-image:
    linear-gradient(90deg, rgba(14, 10, 6, 0.34), rgba(14, 10, 6, 0.16)),
    var(--version-cover);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 218, 0.56), inset 0 -3px 0 rgba(232, 205, 168, 0.88);
}

#practice .practice-project-deck--ip .practice-version-switch button + button {
  border-left-color: rgba(255, 242, 218, 0.24);
}

@media (min-width: 1101px) {
  #practice .practice-project-deck--ip {
    --deck-index-width: clamp(238px, 15.2vw, 292px);
  }

  #practice .practice-project-deck--ip .practice-version-switch {
    top: clamp(156px, 20.5vh, 206px);
    right: clamp(20px, 2.7vw, 54px);
    width: var(--deck-index-width);
    min-height: 56px;
    backdrop-filter: blur(8px);
  }

  #practice .practice-project-deck--ip .practice-version-switch button {
    min-height: 56px;
    font-size: clamp(14px, 0.9vw, 16px);
  }

  #practice .practice-project-deck--ip .practice-deck-index {
    top: calc(clamp(156px, 20.5vh, 206px) + 66px);
    right: clamp(20px, 2.7vw, 54px);
    display: grid;
    gap: 8px;
    width: var(--deck-index-width);
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  #practice .practice-project-deck--ip .practice-deck-index-item {
    position: relative;
    display: block;
    min-height: 0;
    height: clamp(54px, 5.7vh, 68px);
    padding: 0;
    overflow: hidden;
    color: rgba(255, 252, 244, 0.78);
    border: 1px solid rgba(248, 242, 232, 0.26);
    background: rgba(38, 35, 25, 0.08);
    box-shadow: 0 16px 36px rgba(20, 14, 9, 0.18);
    transition: height 0.28s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  }

  #practice .practice-project-deck--ip .practice-deck-index-item:hover,
  #practice .practice-project-deck--ip .practice-deck-index-item:focus-visible,
  #practice .practice-project-deck--ip .practice-deck-index-item.is-active {
    height: clamp(94px, 10.5vh, 124px);
    color: rgba(255, 252, 244, 0.96);
    border-color: rgba(248, 242, 232, 0.54);
    background: rgba(38, 35, 25, 0.08);
    box-shadow: 0 22px 48px rgba(20, 14, 9, 0.24);
    transform: translateX(-4px);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(90deg, rgba(14, 13, 9, 0.46), rgba(14, 13, 9, 0.07) 56%, rgba(14, 13, 9, 0.4)),
      linear-gradient(0deg, rgba(14, 13, 9, 0.68), transparent 58%);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item::after {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 2px;
    opacity: 0.78;
  }

  #practice .practice-project-deck--ip.auto-running .practice-deck-index-item.is-active::after {
    background: rgba(230, 196, 151, 0.9);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.64;
    filter: saturate(0.88) brightness(0.72) contrast(1.04);
    transform: scale(1.01);
    transition: opacity 0.26s ease, filter 0.26s ease, transform 0.34s ease;
  }

  #practice .practice-project-deck--ip .practice-deck-index-item:hover img,
  #practice .practice-project-deck--ip .practice-deck-index-item:focus-visible img,
  #practice .practice-project-deck--ip .practice-deck-index-item.is-active img {
    opacity: 0.9;
    filter: saturate(1) brightness(0.88) contrast(1.04);
    transform: scale(1.035);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item span,
  #practice .practice-project-deck--ip .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    display: block;
    margin: 0;
    color: rgba(255, 252, 244, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.66);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item span {
    left: 14px;
    bottom: 12px;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
  }

  #practice .practice-project-deck--ip .practice-deck-index-item b {
    right: 14px;
    bottom: 12px;
    max-width: 62%;
    font-size: clamp(13px, 0.86vw, 15px);
    font-weight: 460;
    line-height: 1.28;
    text-align: right;
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--ip .practice-version-switch {
    min-height: 50px;
    background: rgba(17, 12, 8, 0.2);
  }

  #practice .practice-project-deck--ip .practice-version-switch button {
    min-height: 50px;
    font-size: 15px;
  }

  #practice .practice-project-deck--ip .practice-deck-index {
    gap: 8px;
    background: linear-gradient(180deg, rgba(39, 31, 22, 0.44), rgba(39, 31, 22, 0.28));
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    background: linear-gradient(180deg, rgba(246, 239, 226, 0.82), rgba(238, 230, 216, 0.7));
  }

  #practice .practice-project-deck--ip .practice-deck-index-item {
    position: relative;
    min-height: 68px;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    border-color: rgba(255, 242, 218, 0.18);
    background: rgba(24, 17, 11, 0.14);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(90deg, rgba(14, 13, 9, 0.42), rgba(14, 13, 9, 0.04) 58%, rgba(14, 13, 9, 0.28)),
      linear-gradient(0deg, rgba(14, 13, 9, 0.62), transparent 60%);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.92) brightness(0.82) contrast(1.02);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item span,
  #practice .practice-project-deck--ip .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    color: rgba(255, 252, 244, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  }

  #practice .practice-project-deck--ip .practice-deck-index-item span {
    left: 9px;
    bottom: 8px;
  }

  #practice .practice-project-deck--ip .practice-deck-index-item b {
    right: 9px;
    bottom: 8px;
    max-width: 58%;
    text-align: right;
  }
}
/* 2026-07-30 Mr. Mellow sport-specific priority patch for unified switch height. */
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
  overflow: hidden;
  border-color: rgba(232, 205, 168, 0.26);
  background: rgba(16, 12, 9, 0.24);
  box-shadow: 0 20px 46px rgba(20, 14, 9, 0.16);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
  position: relative;
  min-height: 56px;
  padding: 0 12px;
  color: rgba(255, 245, 232, 0.88);
  font-weight: 650;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
  background-color: rgba(25, 18, 13, 0.4);
  background-image:
    linear-gradient(90deg, rgba(16, 11, 7, 0.58), rgba(16, 11, 7, 0.3)),
    var(--version-cover);
  background-size: cover, cover;
  background-position: center, var(--version-cover-position, center);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:hover,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:focus-visible,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button.is-active {
  color: #fff8ea;
  background-color: rgba(25, 18, 13, 0.3);
  background-image:
    linear-gradient(90deg, rgba(14, 10, 6, 0.34), rgba(14, 10, 6, 0.16)),
    var(--version-cover);
  background-size: cover, cover;
  background-position: center, var(--version-cover-position, center);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 218, 0.56), inset 0 -3px 0 rgba(232, 205, 168, 0.88);
}

@media (min-width: 1101px) {
  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
    top: clamp(156px, 20.5vh, 206px);
    right: clamp(20px, 2.7vw, 54px);
    width: var(--deck-index-width);
    min-height: 56px;
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
    min-height: 56px;
    font-size: clamp(14px, 0.9vw, 16px);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    top: calc(clamp(156px, 20.5vh, 206px) + 66px);
    right: clamp(20px, 2.7vw, 54px);
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
    min-height: 50px;
    background: rgba(17, 12, 8, 0.2);
  }

  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
    min-height: 50px;
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  #practice .practice-project-deck--ip .practice-deck-index {
    top: calc(var(--practice-mobile-dock-top, 0px) + 50px);
  }
}
/* 2026-07-30 keep IP version changes from nudging page scroll anchoring. */
#practice .practice-project-deck--ip,
#practice .practice-project-deck--ip * {
  overflow-anchor: none;
}
/* 2026-07-30 Web deck image-led index and portrait version switch. */
@media (min-width: 1101px) {
  #practice .practice-project-deck--web {
    --deck-index-width: clamp(238px, 15.2vw, 292px);
  }

  #practice .practice-project-deck--web .practice-deck-index {
    top: clamp(206px, 28vh, 292px);
    right: clamp(20px, 2.7vw, 54px);
    display: grid;
    gap: 8px;
    width: var(--deck-index-width);
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  #practice .practice-project-deck--web .practice-deck-index-item {
    position: relative;
    display: block;
    min-height: 0;
    height: clamp(54px, 5.7vh, 68px);
    padding: 0;
    overflow: hidden;
    color: rgba(230, 244, 241, 0.78);
    border: 1px solid rgba(230, 244, 241, 0.24);
    background: rgba(8, 13, 15, 0.12);
    box-shadow: 0 16px 36px rgba(0, 8, 9, 0.18);
    transition: height 0.28s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  }

  #practice .practice-project-deck--web .practice-deck-index-item:hover,
  #practice .practice-project-deck--web .practice-deck-index-item:focus-visible,
  #practice .practice-project-deck--web .practice-deck-index-item.is-active {
    height: clamp(94px, 10.5vh, 124px);
    color: rgba(247, 252, 251, 0.96);
    border-color: rgba(230, 244, 241, 0.52);
    background: rgba(8, 13, 15, 0.1);
    box-shadow: 0 22px 48px rgba(0, 8, 9, 0.24);
    transform: translateX(-4px);
  }

  #practice .practice-project-deck--web .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(90deg, rgba(4, 8, 9, 0.46), rgba(4, 8, 9, 0.07) 56%, rgba(4, 8, 9, 0.4)),
      linear-gradient(0deg, rgba(4, 8, 9, 0.68), transparent 58%);
  }

  #practice .practice-project-deck--web .practice-deck-index-item::after {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 2px;
    opacity: 0.78;
    background: rgba(196, 226, 219, 0.88);
  }

  #practice .practice-project-deck--web .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.64;
    filter: saturate(0.88) brightness(0.72) contrast(1.04);
    transform: scale(1.01);
    transition: opacity 0.26s ease, filter 0.26s ease, transform 0.34s ease;
  }

  #practice .practice-project-deck--web .practice-deck-index-item:hover img,
  #practice .practice-project-deck--web .practice-deck-index-item:focus-visible img,
  #practice .practice-project-deck--web .practice-deck-index-item.is-active img {
    opacity: 0.9;
    filter: saturate(1) brightness(0.88) contrast(1.04);
    transform: scale(1.035);
  }

  #practice .practice-project-deck--web .practice-deck-index-item span,
  #practice .practice-project-deck--web .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    display: block;
    margin: 0;
    color: rgba(247, 252, 251, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.66);
  }

  #practice .practice-project-deck--web .practice-deck-index-item span {
    left: 14px;
    bottom: 12px;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
  }

  #practice .practice-project-deck--web .practice-deck-index-item b {
    right: 14px;
    bottom: 12px;
    max-width: 62%;
    font-size: clamp(13px, 0.86vw, 15px);
    font-weight: 460;
    line-height: 1.28;
    text-align: right;
  }
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="regular"] {
  --version-cover: url("./assets/ai-practice/mr-mellow/thumbs/01.png");
  --version-portrait: url("./assets/ai-practice/mr-mellow/version-covers/regular-cover.png");
  --version-cover-position: 55% center;
  --version-portrait-size: 134% auto;
  --version-portrait-x: 50%;
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"] {
  --version-cover: url("./assets/ai-practice/mr-mellow-sport/thumbs/01.png");
  --version-portrait: url("./assets/ai-practice/mr-mellow/version-covers/sport-cover.png");
  --version-cover-position: 58% center;
  --version-portrait-size: 142% auto;
  --version-portrait-x: 52%;
}

#practice .practice-project-deck--ip .practice-version-switch {
  overflow: visible;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#practice .practice-project-deck--ip .practice-version-switch button {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  border: 1px solid rgba(255, 242, 218, 0.34);
  background-color: rgba(24, 17, 11, 0.34);
  background-image:
    linear-gradient(90deg, rgba(14, 10, 6, 0.56), rgba(14, 10, 6, 0.24)),
    var(--version-cover);
  background-size: cover, cover;
  background-position: center, var(--version-cover-position, center);
}

#practice .practice-project-deck--ip .practice-version-switch button + button {
  margin-left: -1px;
  border-left-color: rgba(255, 242, 218, 0.2);
}

#practice .practice-project-deck--ip .practice-version-switch button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 6, 4, 0.55), rgba(8, 6, 4, 0.08) 58%, rgba(255, 242, 218, 0.08));
}

#practice .practice-project-deck--ip .practice-version-switch button::after {
  content: "";
  position: absolute;
  left: var(--version-portrait-x, 50%);
  bottom: 6px;
  z-index: 2;
  width: clamp(82px, 7.3vw, 116px);
  height: clamp(96px, 9.2vw, 142px);
  pointer-events: none;
  background-image: var(--version-portrait);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: var(--version-portrait-size, 136% auto);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.38));
  transform: translateX(-50%);
}

#practice .practice-project-deck--ip .practice-version-switch .practice-version-label {
  position: relative;
  z-index: 3;
  margin-bottom: 11px;
  color: #fff8ea;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 820;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82), 0 0 22px rgba(0, 0, 0, 0.42);
}

#practice .practice-project-deck--ip .practice-version-switch button:hover,
#practice .practice-project-deck--ip .practice-version-switch button:focus-visible,
#practice .practice-project-deck--ip .practice-version-switch button.is-active,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:hover,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button:focus-visible,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button.is-active {
  border-color: rgba(255, 242, 218, 0.7);
  background-image:
    linear-gradient(90deg, rgba(14, 10, 6, 0.32), rgba(14, 10, 6, 0.12)),
    var(--version-cover);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 218, 0.58), inset 0 -3px 0 rgba(232, 205, 168, 0.9), 0 16px 34px rgba(0, 0, 0, 0.14);
}

@media (min-width: 1101px) {
  #practice .practice-project-deck--ip .practice-version-switch,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch {
    min-height: 70px;
  }

  #practice .practice-project-deck--ip .practice-version-switch button,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
    min-height: 70px;
    padding: 0 8px;
  }

  #practice .practice-project-deck--ip .practice-deck-index,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-index {
    top: calc(clamp(156px, 20.5vh, 206px) + 82px);
  }
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--web .practice-deck-index {
    gap: 8px;
    background: linear-gradient(180deg, rgba(20, 31, 33, 0.52), rgba(20, 31, 33, 0.34));
  }

  #practice .practice-project-deck--web .practice-deck-index-item {
    position: relative;
    min-height: 68px;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    border-color: rgba(230, 244, 241, 0.18);
    background: rgba(8, 13, 15, 0.16);
  }

  #practice .practice-project-deck--web .practice-deck-index-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    background:
      linear-gradient(90deg, rgba(4, 8, 9, 0.42), rgba(4, 8, 9, 0.04) 58%, rgba(4, 8, 9, 0.28)),
      linear-gradient(0deg, rgba(4, 8, 9, 0.62), transparent 60%);
  }

  #practice .practice-project-deck--web .practice-deck-index-item img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.92) brightness(0.82) contrast(1.02);
  }

  #practice .practice-project-deck--web .practice-deck-index-item span,
  #practice .practice-project-deck--web .practice-deck-index-item b {
    position: absolute;
    z-index: 2;
    color: rgba(247, 252, 251, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  }

  #practice .practice-project-deck--web .practice-deck-index-item span {
    left: 9px;
    bottom: 8px;
  }

  #practice .practice-project-deck--web .practice-deck-index-item b {
    right: 9px;
    bottom: 8px;
    max-width: 58%;
    text-align: right;
  }

  #practice .practice-project-deck--ip .practice-version-switch button::after {
    display: none;
  }

  #practice .practice-project-deck--ip .practice-version-switch .practice-version-label {
    margin-bottom: 0;
    font-size: 16px;
  }
}
/* 2026-07-30 version portraits: keep full character visible in switch cards. */
#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="regular"],
#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"] {
  --version-portrait-size: contain;
}

#practice .practice-project-deck--ip .practice-version-switch button::after {
  bottom: 10px;
  width: clamp(88px, 7.8vw, 124px);
  height: clamp(112px, 10.2vw, 154px);
  background-size: var(--version-portrait-size, contain);
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="regular"]::after {
  left: 53%;
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"]::after {
  left: 55%;
}
/* 2026-07-30 use trimmed character figures for stronger version cards. */
#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="regular"] {
  --version-portrait: url("./assets/ai-practice/mr-mellow/version-covers/regular-figure.png");
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"] {
  --version-portrait: url("./assets/ai-practice/mr-mellow/version-covers/sport-figure.png");
}

#practice .practice-project-deck--ip .practice-version-switch button::after {
  bottom: 8px;
  width: clamp(96px, 8.8vw, 138px);
  height: clamp(112px, 10.4vw, 158px);
}
/* 2026-07-30 copyright notice, drag guard, and stable version figures. */
img,
video,
canvas {
  -webkit-user-drag: none;
  user-select: none;
}

#practice .practice-project-deck--ip .practice-version-switch button::after {
  display: none !important;
}

#practice .practice-project-deck--ip .practice-version-figure {
  position: absolute;
  left: 53%;
  bottom: 8px;
  z-index: 2;
  width: clamp(96px, 8.8vw, 138px);
  height: clamp(112px, 10.4vw, 158px);
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.38));
  transform: translateX(-50%);
}

#practice .practice-project-deck--ip .practice-version-switch button[data-deck-version="sport"] .practice-version-figure {
  left: 55%;
}

#practice .practice-project-deck--ip .practice-version-switch .practice-version-label {
  position: relative;
  z-index: 3;
}

#practice .practice-deck-copyright {
  position: absolute;
  z-index: 8;
  right: clamp(20px, 2.4vw, 44px);
  bottom: clamp(14px, 2vh, 24px);
  max-width: min(680px, 44vw);
  margin: 0;
  padding: 6px 10px;
  color: rgba(255, 248, 238, 0.9);
  font-size: clamp(11px, 0.74vw, 13px);
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
  background: rgba(10, 8, 5, 0.18);
  border: 1px solid rgba(255, 242, 218, 0.14);
  backdrop-filter: blur(8px);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copyright {
  color: rgba(53, 50, 38, 0.86);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.42);
  background: rgba(246, 239, 226, 0.38);
  border-color: rgba(73, 69, 51, 0.12);
}

@media (max-width: 1100px) {
  #practice .practice-project-deck--ip .practice-version-figure {
    display: none;
  }

  #practice .practice-deck-copyright {
    position: relative;
    order: 5;
    right: auto;
    bottom: auto;
    max-width: none;
    padding: 9px 18px 14px;
    white-space: normal;
    text-align: left;
    border-left: 0;
    border-right: 0;
  }
}
/* 2026-07-30 keep sport version figures unclipped after switching. */
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch,
#practice .practice-project-deck--ip[data-version="sport"] .practice-version-switch button {
  overflow: visible;
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-version-figure {
  display: block;
}
/* 2026-07-30 copyright note refined to sit as text only over the artwork. */
#practice .practice-deck-copyright,
#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copyright {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

#practice .practice-deck-copyright {
  color: rgba(255, 248, 238, 0.86);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

#practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copyright {
  color: rgba(63, 59, 45, 0.82);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

@media (max-width: 1100px) {
  #practice .practice-deck-copyright,
  #practice .practice-project-deck--ip[data-version="sport"] .practice-deck-copyright {
    padding: 8px 18px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
}
/* 2026-08-01 mobile version cards: show both regular and sport figures. */
@media (max-width: 1100px) {
  #practice .practice-project-deck--ip .practice-version-switch,
  #practice .practice-project-deck--ip .practice-version-switch button {
    overflow: visible;
  }

  #practice .practice-project-deck--ip .practice-version-figure {
    display: block;
  }
}