@import url("./foundation.css");
.ct-app .fa-wrap {
  background-image: repeating-linear-gradient(
    125deg,
    transparent 0 29px,
    color-mix(in srgb, var(--f-rule) 30%, transparent) 29px 30px
  );
}
.ct-windows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px;
  margin: 15px 0 22px;
}
.ct-window {
  border: 2px solid var(--f-rule);
  border-radius: 7px;
  overflow: hidden;
  background: var(--f-panel);
  box-shadow: 4px 4px 0 var(--f-rule);
}
.ct-window header {
  background: var(--ribbon);
  color: #262e23;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
}
.ct-window header i {
  background: #555c4b;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ct-window header span {
  margin-left: auto;
  font: 0.8rem monospace;
}
.ct-window > div {
  padding: 18px;
}
.ct-window h3 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}
.ct-app details {
  margin: 18px 0;
}
.ct-app summary {
  cursor: pointer;
  font-weight: 600;
}
.ct-app .fa-wrap {
  background-image: none;
}
.ct-window {
  box-shadow: none;
  border: 1px solid var(--f-rule);
}
.ct-window header {
  background: var(--fx-chrome, var(--f-paper));
  color: var(--f-ink);
  border-top: 3px solid var(--ribbon);
  border-bottom: 1px solid var(--f-rule);
}
.ct-window header i {
  display: none;
}
.ct-window header span {
  margin: 0;
}
.ct-window h3 {
  font-size: 1.4rem;
}
.ct-windows {
  gap: 16px;
  background: #23342f;
  border: 1px solid #2e413a;
  border-radius: 7px;
  padding: 17px;
  background-image: repeating-linear-gradient(
    0deg,
    #293a34 0 2px,
    transparent 2px 5px
  );
}
.ct-window {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.ct-window > .ct-cartridge {
  position: relative;
  padding: 0;
  aspect-ratio: 320/165;
  max-height: 220px;
}
.ct-cartridge svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 2px #0005);
}
.ct-paper {
  position: absolute;
  left: 10%;
  right: 13%;
  top: 31%;
  bottom: 18%;
  background: #e0ddce;
  color: #26332b;
  border-left: 8px solid var(--ribbon);
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #a7b09d;
}
.ct-paper small,
.ct-paper p {
  font:
    0.74rem/1.2 ui-monospace,
    monospace;
  margin: 0;
}
.ct-paper h3 {
  font: 700 clamp(1.25rem, 3vw, 2.4rem)/1.05 system-ui;
  letter-spacing: -0.055em;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.ct-window > .ct-contact {
  background: #1d2924;
  border-top: 2px solid #798977;
  color: #dae6d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin: 0 4px;
}
.ct-contact span {
  font:
    0.74rem/1.25 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.ct-app .ct-contact button {
  font-size: 0.78rem;
  min-height: 30px;
  background: #3d5145;
  color: #f3f5eb;
  border: 1px solid #78877a;
}
.ct-app .ct-contact [aria-pressed="true"] {
  color: #17271e;
  background: #bdd3b7;
  border-color: #b0c3a9;
}
.ct-window[data-loaded="true"] .ct-cartridge {
  transform: translateY(3px);
}
.ct-app .fa-box {
  border-top: 3px double var(--f-rule);
}
@media (max-width: 550px) {
  .ct-windows {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
  }
  .ct-window > .ct-cartridge {
    max-height: 165px;
  }
  .ct-paper h3 {
    font-size: 1.65rem;
  }
}
