#ceramic-showcase {
  color-scheme: light;
  --tile-paper: #f9f7f2;
  --tile-surface: #eee9dd;
  --tile-ink: #253545;
  --tile-rule: #25354544;
  background: var(--tile-paper);
  color: var(--tile-ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: normal;
}
#ceramic-showcase, #ceramic-showcase * { box-sizing: border-box; }
#ceramic-showcase [hidden] { display: none !important; }
#ceramic-showcase.tile-showcase {
  padding-block: clamp(18px, 2.35vw, 38px);
  padding-inline: 0;
}
/* Match the adjacent procurement section's content width at every breakpoint. */
#ceramic-showcase > :is(.tile-heading, .scan-gallery) {
  width: min(calc(100% - 2 * clamp(16px, 6.8vw, 105px)), 1350px);
  margin-inline: auto;
}
#ceramic-showcase .tile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  margin-bottom: clamp(16px, 1.5vw, 25px);
}
#ceramic-showcase .tile-heading > div { display: contents; }
#ceramic-showcase .tile-heading h2 {
  grid-area: 1 / 1;
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 4.55vw, 4.65rem);
  font-weight: 610;
  letter-spacing: -.065em;
  line-height: 1.04;
}
#ceramic-showcase:lang(en) .tile-heading h2, #ceramic-showcase:lang(en) .scan-details h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
#ceramic-showcase .tile-heading p {
  grid-column: 1;
  margin: 7px 0 0;
  font-size: clamp(.83rem, 1.2vw, 1rem);
  line-height: 1.5;
  color: var(--tile-ink);
}
#ceramic-showcase .tile-heading a {
  grid-area: 1 / 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--tile-rule);
  border-radius: 23px;
  background: var(--tile-paper);
  color: inherit;
  font-size: clamp(.77rem, 1.15vw, .94rem);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
#ceramic-showcase .tile-heading a:hover { background: var(--tile-ink); color: var(--tile-paper); }
#ceramic-showcase .scan-gallery {
  --card-width: min(72%, 780px);
  border: 1px solid var(--tile-rule);
  border-radius: 16px;
  background: var(--tile-surface);
  overflow: hidden;
}
#ceramic-showcase .scan-belt { position: relative; }
#ceramic-showcase .is-enhanced .scan-belt {
  height: clamp(240px, 29vw, 470px);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
#ceramic-showcase .is-enhanced .scan-belt.is-dragging { cursor: grabbing; }
#ceramic-showcase .scan-card { display: none; }
#ceramic-showcase .scan-card:first-child { display: block; }
#ceramic-showcase .scan-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
#ceramic-showcase .is-enhanced .scan-card {
  display: block;
  position: absolute;
  inset: 10px auto 10px 0;
  width: var(--card-width);
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 8px 20px #25354524;
}
#ceramic-showcase .is-enhanced .scan-card img { width: 100%; height: 100%; object-position: 50% 57%; }
#ceramic-showcase .is-enhanced .scan-card .scan-base { filter: saturate(.38) contrast(.94); }
#ceramic-showcase .scan-color, #ceramic-showcase .scan-line, #ceramic-showcase .scan-particles, #ceramic-showcase .scan-caption-reveal { display: none; }
#ceramic-showcase .is-enhanced .scan-color, #ceramic-showcase .is-enhanced .scan-line, #ceramic-showcase .is-enhanced .scan-particles {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
#ceramic-showcase .is-enhanced .scan-color {
  clip-path: inset(0 0 0 var(--cut));
}
#ceramic-showcase .is-enhanced .is-crossing .scan-color {
  -webkit-mask-image: linear-gradient(90deg, transparent var(--cut), #000 calc(var(--cut) + 26px));
  mask-image: linear-gradient(90deg, transparent var(--cut), #000 calc(var(--cut) + 26px));
}
#ceramic-showcase .is-enhanced .is-crossing .scan-caption-reveal {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 2;
  inset: 0;
  padding-inline: clamp(14px, 3vw, 42px);
  clip-path: inset(0 calc(100% - var(--cut)) 0 0);
  background: color-mix(in srgb, var(--tile-paper) 82%, transparent);
  color: var(--tile-ink);
  pointer-events: none;
}
#ceramic-showcase .scan-caption-reveal .scan-details { width: min(calc(50% - 5px), 350px); }
#ceramic-showcase .scan-caption-reveal h3 { font-size: clamp(1.32rem, 2.65vw, 2.65rem); }
#ceramic-showcase .scan-caption-reveal p { margin-top: 8px; }
#ceramic-showcase .is-enhanced .scan-particles { width: 100%; height: 100%; }
#ceramic-showcase .is-enhanced .scan-line {
  z-index: 2;
  inset: 2px auto 2px 50%;
  width: 0;
}
#ceramic-showcase .scan-line i, #ceramic-showcase .scan-line b { position: absolute; display: block; }
#ceramic-showcase .scan-line i {
  left: -2px;
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(#aeb9c4,#f7fcff 12% 88%,#b9c3ce);
  box-shadow: 0 0 10px 2px #e7f1fad9, 0 0 34px 10px #acb9c66e;
}
#ceramic-showcase .scan-line b {
  left: 0;
  top: 4%;
  width: 42px;
  height: 92%;
  background: linear-gradient(90deg,#d7e4ee8c,transparent);
  filter: blur(6px);
}
#ceramic-showcase .scan-meta {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 12px clamp(18px, 3vw, 48px);
  position: relative;
  padding: clamp(12px, 1.25vw, 20px) clamp(14px, 1.6vw, 24px);
  background: var(--tile-paper);
  border-top: 1px solid var(--tile-rule);
}
#ceramic-showcase .scan-details h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2.5vw, 2.1rem);
  font-weight: 590;
  letter-spacing: -.037em;
  line-height: 1.15;
}
#ceramic-showcase .scan-details p {
  margin: 5px 0 0;
  font-size: clamp(.8rem, 1.12vw, .98rem);
  line-height: 1.5;
  color: var(--tile-ink);
}
#ceramic-showcase .scan-meta .scan-note { margin-top: 4px; }
#ceramic-showcase .scan-tools {
  display: grid;
  grid-template-columns: minmax(0,1fr) max-content;
  align-items: center;
  gap: 8px;
}
#ceramic-showcase .scan-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
#ceramic-showcase .scan-tools button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 44px;
  min-width: 0;
  border: 1px solid var(--tile-rule);
  border-radius: 7px;
  background: var(--tile-paper);
  color: var(--tile-ink);
  padding: 6px 7px;
  cursor: pointer;
  touch-action: manipulation;
  text-align: left;
  font-family: inherit;
  font-size: clamp(.74rem, 1vw, .89rem);
  font-weight: 620;
  line-height: 1.24;
  transition: border-color .2s, background .2s;
}
#ceramic-showcase .scan-tools .scan-play { justify-content: center; padding-inline: 10px; }
#ceramic-showcase .scan-tools button:hover, #ceramic-showcase .scan-choices button[aria-pressed="true"] {
  border-color: var(--tile-ink);
  background: var(--tile-surface);
}
#ceramic-showcase .scan-choices img {
  width: clamp(29px, 3.6vw, 48px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
}
#ceramic-showcase.tile-showcase :focus-visible { outline: 2px solid var(--tile-ink); outline-offset: 2px; }
#ceramic-showcase .scan-belt:focus-visible { outline-offset: -4px; }
@media (max-width: 800px) {
  #ceramic-showcase .scan-meta { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  #ceramic-showcase .tile-heading h2 { font-size: clamp(1.85rem, 8.5vw, 3rem); }
  #ceramic-showcase .tile-heading p { font-size: .78rem; max-width: 24ch; }
  #ceramic-showcase .tile-heading a { padding-inline: 8px; gap: 4px; font-size: .74rem; }
  #ceramic-showcase .scan-gallery { --card-width: 84%; border-radius: 12px; }
  #ceramic-showcase .is-enhanced .scan-belt { height: auto; aspect-ratio: 1.72; }
  #ceramic-showcase .is-enhanced .scan-card { inset-block: 8px; border-radius: 6px; }
  #ceramic-showcase .scan-caption-reveal .scan-details { width: 46%; }
  #ceramic-showcase .scan-caption-reveal h3 { font-size: clamp(1rem, 4.4vw, 1.3rem); }
  #ceramic-showcase .scan-caption-reveal p { font-size: clamp(.7rem, 2.85vw, .82rem); }
  #ceramic-showcase .scan-tools { grid-template-columns: minmax(0,1fr) max-content; }
  #ceramic-showcase .scan-choices button { flex-direction: column; align-items: start; }
  #ceramic-showcase .scan-choices img { width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #ceramic-showcase .scan-tools button { transition: none; }
  #ceramic-showcase .is-enhanced .scan-line, #ceramic-showcase .is-enhanced .scan-particles, #ceramic-showcase .is-enhanced .scan-color { display: none; }
  #ceramic-showcase .is-enhanced .is-crossing .scan-caption-reveal { display: none; }
  #ceramic-showcase .is-enhanced .scan-card .scan-base { filter: none; }
}

/* The home theme sets an important gradient on this anchor. */
#top ~ #ceramic-showcase.tile-showcase { background-image: none !important; }
@media (max-width: 800px) {
  #ceramic-showcase .tile-heading {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 14px;
  }
  #ceramic-showcase .tile-heading h2 { grid-area: auto; }
  #ceramic-showcase .tile-heading p {
    grid-column: auto;
    max-width: none;
    margin-top: 2px;
  }
  #ceramic-showcase .tile-heading a {
    grid-area: auto;
    justify-self: start;
    align-self: start;
    white-space: normal;
  }
}
