.page--cotton-working .cotton {
  background: radial-gradient(circle at 74% 10%, rgba(91, 62, 143, .2), transparent 28%), radial-gradient(circle at 17% 58%, rgba(163, 53, 64, .1), transparent 34%), #02080d;
}
.page--cotton-working .cotton-hero {
  background-image: url('../../assets/img/craft/cotton-working/cotton-working-hero.webp');
  background-position: center;
}
.page--cotton-working .cotton-hero::before {
  background: linear-gradient(90deg, rgba(0, 6, 11, .97) 0, rgba(0, 6, 11, .86) 34%, rgba(0, 5, 10, .34) 58%, rgba(0, 0, 0, .08));
}
.page--cotton-working .cotton-hero__content { width: min(660px, 49vw); }
.page--cotton-working .cotton-kicker { color: #efbd55; }
.page--cotton-working .cotton-skill {
  border-color: rgba(217, 170, 75, .58);
  background: linear-gradient(135deg, rgba(3, 10, 19, .92), rgba(19, 9, 25, .8));
  box-shadow: 0 20px 54px rgba(0, 0, 0, .38), inset 0 0 34px rgba(89, 46, 105, .07);
}
.page--cotton-working .cotton-local-nav a:nth-child(1)::before,
.page--cotton-working .cotton-local-nav a:nth-child(2)::before { background-image: url('../../assets/abilities/cotton_working.png'); }
.page--cotton-working .cotton-local-nav a:nth-child(3)::before { background-image: url('../../assets/items/904301.png'); }
.page--cotton-working .cotton-track::before { background: linear-gradient(90deg, #734c36, #d6aa42, #8063bd); }
.page--cotton-working .cotton-track__marker {
  background-image: url('../../assets/abilities/cotton_working.png');
}
.page--cotton-working .cotton-track__marker::after { content: attr(data-chance); left: 50%; bottom: -29px; width: auto; height: auto; padding: 3px 7px; color: #231500; font: 700 .65rem/1 var(--font-body); white-space: nowrap; border: 0; background: #e9bd53; rotate: none; translate: -50%; }
.page--cotton-working .cotton-basics__steps article { background: linear-gradient(135deg, rgba(8, 20, 31, .97), rgba(17, 8, 24, .98)); }
.page--cotton-working .cotton-basics__art > img:first-child { filter: saturate(.95) contrast(1.05); transition: scale .45s ease, filter .45s ease; }
.page--cotton-working .cotton-basics__steps article:hover .cotton-basics__art > img:first-child { scale: 1.045; filter: saturate(1.08) contrast(1.07); }
.page--cotton-working .cotton-card { grid-template-columns: 154px minmax(0, 1fr); min-height: 260px; }
.page--cotton-working .cotton-card.is-sure { border-color: color-mix(in srgb, var(--cotton-color) 58%, #c69d3c); box-shadow: inset 3px 0 var(--cotton-color), inset 0 0 34px rgba(196, 153, 55, .05); }
.page--cotton-working .silk-pair {
  display: grid;
  grid-template-columns: 1fr 18px 1fr;
  align-items: center;
  gap: 3px;
  width: 154px;
  height: 118px;
  padding: 8px 4px;
  overflow: visible;
}
.page--cotton-working .silk-pair > span { display: grid; min-width: 0; justify-items: center; gap: 4px; }
.page--cotton-working .silk-pair > span img { width: 58px; height: 58px; }
.page--cotton-working .silk-pair > span small { overflow: hidden; width: 100%; color: #9cabb0; font-size: .62rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.page--cotton-working .silk-pair > i { color: #e6b94e; font: 700 1.2rem/1 var(--font-heading); font-style: normal; text-align: center; filter: drop-shadow(0 0 8px rgba(230, 185, 78, .55)); animation: cotton-working-arrow 1.9s ease-in-out infinite; }
.page--cotton-working .cotton-card.is-locked .silk-pair > i { animation: none; }
.page--cotton-working .cotton-card__facts i { display: inline-grid; min-width: 26px; height: 24px; place-items: center; border: 1px solid rgba(207, 170, 73, .38); border-radius: 50%; }
.page--cotton-working .cotton-card__state { color: #e8c367; }
.page--cotton-working .cotton-card.is-sure .cotton-card__state { color: #68e3a0; }
.page--cotton-working .cotton-grid.is-compact .cotton-card { grid-template-columns: 112px 1fr; }
.page--cotton-working .cotton-grid.is-compact .silk-pair { width: 108px; height: 68px; padding: 3px; }
.page--cotton-working .cotton-grid.is-compact .silk-pair > span img { width: 42px; height: 42px; }
.page--cotton-working .cotton-grid.is-compact .silk-pair > span small { display: none; }
.page--cotton-working .cotton-legend b { rotate: none; border-radius: 50%; }
@keyframes cotton-working-arrow { 50% { translate: 4px 0; color: #fff0a7; filter: drop-shadow(0 0 13px rgba(240, 196, 83, .9)); } }

@media (max-width: 1180px) {
  .page--cotton-working .cotton-hero__content { width: min(690px, 72vw); }
}
@media (max-width: 760px) {
  .page--cotton-working .cotton-hero { background-position: 64% center; }
  .page--cotton-working .cotton-hero__content { width: auto; }
  .page--cotton-working .cotton-card { grid-template-columns: 126px minmax(0, 1fr); }
  .page--cotton-working .silk-pair { width: 126px; }
}
@media (max-width: 420px) {
  .page--cotton-working .cotton-card { grid-template-columns: 1fr; }
  .page--cotton-working .silk-pair { grid-column: 1; width: 100%; height: 100px; }
  .page--cotton-working .silk-pair > span small { white-space: normal; }
  .page--cotton-working .cotton-card__head { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page--cotton-working .silk-pair > i { animation: none; }
}
