/* Player Manual: Monster Hunter Wilds connected catalog, Forbidden Lands map & hunt planner */

.mhw-catalog article,
.mhw-guide article {
  max-width: 900px;
}

.mhw-nav-bar,
.mhw-chips,
.mhw-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0 1.15rem;
  padding: 0;
  list-style: none;
}

.mhw-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  border: 1px solid #cdb99b;
  border-radius: .35rem;
  background: #fdfaf3;
  color: #2b2116;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.mhw-chip:hover,
.mhw-chip:focus-visible {
  background: #f1e6d2;
  border-color: #9b5e24;
  color: #1c140b;
}

.mhw-chip-active {
  background: #3d2a1b;
  border-color: #3d2a1b;
  color: #fffdf8;
}

.mhw-chip-active:hover,
.mhw-chip-active:focus-visible {
  background: #2b1d12;
  color: #fffdf8;
}

.mhw-chip span {
  font-size: .78rem;
  font-weight: 500;
  opacity: .78;
}

.mhw-stat-chips li {
  padding: .32rem .68rem;
  border: 1px solid #d7c7ae;
  border-radius: .35rem;
  background: #f8f2e6;
  font-size: .9rem;
  color: #2c2216;
}

.mhw-badge {
  display: inline-block;
  padding: .16rem .48rem;
  border-radius: .25rem;
  font-size: .76rem;
  font-weight: 700;
  background: #efe2cb;
  color: #543211;
}

.mhw-tag {
  display: inline-block;
  padding: .14rem .45rem;
  border-radius: .25rem;
  font-size: .78rem;
  font-weight: 600;
  background: #ebe3d6;
  color: #463523;
}

.mhw-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.mhw-subcard {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: .5rem;
  background: var(--white);
  text-decoration: none;
  gap: .35rem;
}

.mhw-subcard strong {
  font-size: 1.12rem;
  line-height: 1.25;
}

.mhw-subcard span {
  font-size: .92rem;
  line-height: 1.48;
  color: var(--quiet);
  flex: 1;
}

.mhw-subcard .game-go {
  margin-top: .5rem;
}

.mhw-subcard:hover {
  border-color: #9b5e24;
}

.mhw-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: .95rem;
  margin: 1rem 0 1.4rem;
}

.mhw-entity-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .95rem 1rem;
  border: 1px solid #d7c7ae;
  border-radius: .4rem;
  background: #fffdf8;
}

.mhw-entity-card:target {
  outline: 2px solid #9b5e24;
  background: #fcf3e3;
}

.mhw-entity-card[hidden],
[data-mhw-row][hidden] {
  display: none;
}

.mhw-entity-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .45rem;
}

.mhw-entity-head h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.28;
}

.mhw-entity-meta {
  margin: 0;
  font-size: .86rem;
  color: #5c4b37;
  line-height: 1.42;
}

.mhw-item-links {
  margin: .35rem 0 0;
  font-size: .85rem;
  line-height: 1.48;
  color: #463a2b;
}

.mhw-card-foot {
  margin: auto 0 0;
  padding-top: .45rem;
  font-size: .9rem;
  font-weight: 650;
}

.mhw-tool {
  margin: 1.45rem 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid #d7c7ae;
  border-radius: .45rem;
  background: #faf5ea;
}

.mhw-tool h2 {
  margin-top: 0;
}

.mhw-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  gap: .7rem;
  margin: .85rem 0;
}

.mhw-filter-bar label {
  display: grid;
  gap: .28rem;
  font-size: .86rem;
  font-weight: 650;
  color: #2f2317;
}

.mhw-filter-bar input,
.mhw-filter-bar select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .5rem .65rem;
  font: inherit;
  font-size: .92rem;
  background: #fffdf8;
  color: #241b12;
  border: 1px solid #ab9679;
  border-radius: .32rem;
}

.mhw-filter-reset {
  margin: 0 0 .85rem;
}

.mhw-filter-status {
  margin: .35rem 0 .8rem;
  font-size: .88rem;
  font-weight: 650;
  color: #3d2e1e;
}

.mhw-map-wrap {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #d7c7ae;
  border-radius: .5rem;
  background: #faf5ea;
}

.mhw-map-head h2 {
  margin: 0 0 .35rem;
}

.mhw-map-head p {
  margin: 0 0 .85rem;
  font-size: .92rem;
  color: #51412f;
}

.mhw-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .45rem;
  border: 1px solid #c7b497;
  margin-bottom: .75rem;
}

.mhw-map-label {
  font-size: 13px;
  font-weight: 700;
  fill: #241b12;
  paint-order: stroke;
  stroke: #f6eedb;
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

.mhw-map-sub {
  font-size: 10.5px;
  font-weight: 600;
  fill: #51412f;
}

.mhw-map-pin {
  cursor: pointer;
}

.mhw-map-pin:focus-visible {
  outline: none;
}

.mhw-map-pin:hover .mhw-pin-dot,
.mhw-map-pin:focus-visible .mhw-pin-dot {
  fill: #8c3219;
  r: 13;
  stroke: #21192a;
  stroke-width: 3.2;
}

.mhw-mesh-box {
  margin-top: 1.75rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #d7c7ae;
  border-radius: .4rem;
  background: #f8f3e9;
}

.mhw-mesh-box h2 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
}

.mhw-mesh-lead {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: #51412f;
}

.mhw-mesh-dl {
  display: grid;
  gap: .5rem;
  margin: 0;
}

.mhw-mesh-row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: .35rem .8rem;
  align-items: start;
}

.mhw-mesh-row dt {
  margin: 0;
  padding-top: .28rem;
  font-size: .86rem;
  font-weight: 700;
  color: #2f2317;
}

.mhw-mesh-row dd {
  margin: 0;
}

.mhw-entity-link {
  text-decoration: underline;
  text-decoration-color: rgba(155, 94, 36, .55);
  text-underline-offset: .16em;
}

.mhw-entity-link:hover {
  text-decoration-color: #3d2a1b;
}

.mhw-chooser-output {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #cbb697;
  border-radius: .4rem;
  background: #fffdf8;
}

.mhw-chooser-output h3 {
  margin: 0 0 .6rem;
  font-size: 1.15rem;
}

.mhw-chooser-output ul {
  margin: 0 0 .85rem;
  padding-left: 1.2rem;
}

.mhw-chooser-output li {
  margin-bottom: .45rem;
}

.mhw-gear-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .95rem;
  margin: 1rem 0 1.25rem;
}

.mhw-gear-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1rem;
  border: 1px solid var(--rule);
  border-radius: .5rem;
  background: var(--card, #fffaf4);
}

.mhw-gear-card img {
  width: 100%;
  max-width: 152px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: .3rem;
  background: #fff;
  padding: .25rem;
}

.mhw-gear-copy h3 {
  margin: 0 0 .3rem;
  font-size: 1.02rem;
  line-height: 1.3;
}

.mhw-gear-copy p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--quiet);
}

.mhw-gear-review {
  margin-top: .35rem !important;
  font-size: .88rem;
  font-weight: 650;
}

.mhw-gear-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .85rem;
}

.mhw-disclosure {
  font-size: .7rem;
  line-height: 1.35;
  color: var(--quiet);
  opacity: .85;
  margin: .2rem 0 .85rem;
}

.mhw-sources {
  font-size: .91rem;
  margin-top: 1.35rem;
  line-height: 1.55;
}

.mhw-story-link::after {
  margin-left: .25em;
}

.mhw-checklist {
}

.mhw-check-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 16.5rem);
  gap: .9rem 1.2rem;
  align-items: start;
}

.mhw-check-head h2 {
  margin: 0 0 .35rem;
}

.mhw-check-head p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.48;
  color: #463a2b;
}

.mhw-check-summary {
  display: grid;
  gap: .45rem;
  padding: .75rem .85rem;
  border: 1px solid #d7c7ae;
  border-radius: .38rem;
  background: #fffdf8;
}

.mhw-check-status {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: #3d2a1b;
}

.mhw-check-bar {
  height: .5rem;
  background: #e6dfd0;
  border-radius: 999px;
  overflow: hidden;
}

.mhw-check-bar span {
  display: block;
  height: 100%;
  background: #9b5e24;
  transition: width .2s ease;
}

.mhw-check-reset {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  color: #3d2a1b;
  background: transparent;
  border: 1px solid #ab9679;
  border-radius: .32rem;
  cursor: pointer;
}

.mhw-check-reset:hover,
.mhw-check-reset:focus-visible {
  background: #f1e6d2;
}

.mhw-check-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .95rem 0 .85rem;
}

.mhw-check-filters[hidden],
.mhw-check-item[hidden],
.mhw-check-reset[hidden] {
  display: none;
}

.mhw-check-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  color: #2b2116;
  background: #fffdf8;
  border: 1px solid #cdb99b;
  border-radius: .35rem;
  cursor: pointer;
}

.mhw-check-filter.is-active {
  background: #3d2a1b;
  border-color: #3d2a1b;
  color: #fffdf8;
}

.mhw-check-filter:focus-visible,
.mhw-check-item input:focus-visible {
  outline: 2px solid #9b5e24;
  outline-offset: 2px;
}

.mhw-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: .75rem;
}

.mhw-check-item {
  padding: .8rem .9rem;
  border: 1px solid #d7c7ae;
  border-radius: .38rem;
  background: #fffdf8;
}

.mhw-check-item.is-done {
  background: #edf2e8;
  border-color: #93aa8d;
}

.mhw-check-item.is-done label {
  text-decoration: line-through;
  color: #42523f;
}

.mhw-check-main {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
}

.mhw-check-main input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin: .12rem 0 0;
  accent-color: #3d2a1b;
  cursor: pointer;
}

.mhw-check-copy {
  display: grid;
  gap: .3rem;
}

.mhw-check-copy label {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.32;
  color: #241b12;
  cursor: pointer;
}

.mhw-check-copy .mhw-tag {
  justify-self: start;
}

.mhw-check-copy p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.45;
  color: #463a2b;
}

.mhw-check-guide {
  justify-self: start;
  font-size: .85rem;
  font-weight: 650;
}

.mhw-check-noscript {
  margin: .85rem 0 0;
  font-size: .88rem;
  color: #5c4b37;
}

@media (max-width: 720px) {
  .mhw-check-head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .mhw-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mhw-mesh-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .mhw-chip {
    min-height: 44px;
  }
  .mhw-nav-bar .mhw-chip {
    font-size: .84rem;
    padding: .35rem .62rem;
  }
}
