/* もっと知る: the same paper, teal and gold materials as the game hubs.
   Search behaviour, map artwork, pin positions and touch target sizes stay intact. */
.mt-card, .mt-tile, .mt-res, .mt-kwcard, .mt-kyrow, .mt-kygrp,
.mt-howdet__sum, .mt-safe__a, .map-paper, .map-row, .map-dish {
  border: 1px solid #d4e4e6;
  border-radius: 18px;
  background: #fffdf7;
  color: #173e50;
  box-shadow: 0 6px 18px #173e5010;
}
.mt-h { color: #173e50; }
.mt-h__ic, .mt-tile__ic {
  border: 0;
  background: #e2f1ef;
  color: #176779;
  box-shadow: none;
}
.mt-back, .mt-count, .mt-count rt, .mt-tile__d, .mt-tile__d rt,
.mt-found, .mt-res__go, .mt-kwpanel__n, .map-hint, .map-hint rt { color: #276b79; }
.mt-back:active { background: #eaf4f4; }
.mt-tile:active { transform: translateY(1px); box-shadow: 0 2px 8px #173e5014; }
.mt-tile[data-sub="map"] .mt-tile__ic { background: #e7f3fa; color: #287493; }
.mt-tile[data-sub="link"] .mt-tile__ic { background: #edf0fa; color: #66769b; }
.mt-tile[data-sub="kyodo"] .mt-tile__ic { background: #fff2d0; color: #8c6a21; }
.mt-tile[data-sub="how"] .mt-tile__ic { background: #e9f4e7; color: #478064; }
.mt-search { background: linear-gradient(145deg,#edf7f7,#fffdf7 72%); }
.mt-q__ic { color: #147d92; }
.mt-q__in {
  border: 1px solid #91bfc9;
  border-radius: 16px;
  background: #fffdf7;
  color: #173e50;
  box-shadow: inset 0 1px 3px #173e5009, 0 4px 12px #173e500a;
}
.mt-q__in::placeholder { color: #5c7c86; }
.mt-q__x:active { background: #eaf4f5; }
.mt-ex__b { border: 1px solid #c3dce1; background: #fffdf7; color: #276b79; }
.mt-ex__b:active { background: #eaf4f5; }
.mt-grp__h { border-bottom: 1px solid #d7e4e4; }
.mt-grp__n { background: #147d92; }
.mt-res, .mt-kyrow { border-left: 2px solid var(--c,#8ab4bb); box-shadow: 0 3px 12px #173e5009; }
.mt-res__main:active, .mt-kyrow__main:active, .mt-safe__a:active { background: #f0f7f4; }
.mt-st, .map-st { border-width: 1px; box-shadow: none; }
.mt-mark { background: #ffe8a8; }
.mt-kw__b { border: 1px solid #c2dce0; background: #fffdf7; color: #276b79; }
.mt-kw__b[aria-pressed="true"] { border-color: #147d92; background: #147d92; color: #fffdf7; }
.mt-kw__n { background: #e6f1f3; color: #276b79; }
.mt-kwpanel { border: 1px solid #c6dfe1; background: #edf6f5; border-radius: 18px; }
.mt-kwcard { border-radius: 14px; box-shadow: 0 3px 10px #173e5009; }
.mt-kygrp { background: #f5faf7; box-shadow: 0 3px 12px #173e5009; }
.mt-kygrp[open] { border-color: #a6cdd2; background: #fffdf7; }
.mt-rcard, .mt-rule { border-width: 1px; border-radius: 16px; }
.mt-rcard__ic { border: 1px solid #d3e1db; background: #fffdf7; }
.mt-rule__no { border: 0; }
.mt-how__h { border-left: 3px solid #76aeb7; }
.mt-marks__ic { border: 1px solid #c7dfe1; background: #edf6f5; color: #147d92; }
.mt-dots li::before { background: #67a1aa; }
.mt-anshin { border: 1px solid #c2ddca; border-radius: 18px; background: #f0f8ef; }
.mt-anshin__ic { border: 0; background: #3e8465; }
.mt-safe__a { border-radius: 14px; box-shadow: 0 3px 10px #173e5009; }
.mt-oya { background: #fffdf7; }

/* Map labels and region records use the same light border without altering
   the original map, coordinate transforms or dynamically placed label tails. */
.map-paper { background: #f5faf8; }
.mt-sec--map.is-done .map-paper { border-color: #dfc67e; background: linear-gradient(135deg,#fff9e5,#fff0c4); box-shadow: 0 6px 18px #95742815; }
.map-frame { background-color: #e8f4f7; }
.map-head { border: 1px solid #90b3bd; background: #fffdf7; box-shadow: 0 2px 6px #173e501a; }
.map-head[data-st="some"] { border-color: #bfa7c6; background: #f2edf7; }
.map-head[data-st="done"] { border-color: #c8a345; background: #ffd568; box-shadow: 0 0 0 1px #f4db95, 0 3px 8px #95742820; }
.map-pin__lb, .map-frame--live .map-pin__lb {
  border: 1px solid #a8cbd2;
  background: #fffdf7;
  color: #173e50;
  box-shadow: 0 2px 7px #173e5017;
}
.map-frame:not(.map-frame--live) .map-pin__lb--tail::after { border-color: #a8cbd2; border-width: 1px; }
.map-frame:not(.map-frame--live) .map-pin__lb--tail[class*="--above"]::after { border-top: 0; border-left: 0; }
.map-frame:not(.map-frame--live) .map-pin__lb--tail[class*="--below"]::after { border-bottom: 0; }
.map-pin.is-hot .map-pin__lb, .map-chip.is-hot { background: #ffedb6; color: #63501e; }
.map-pin.is-sel .map-pin__lb { background: #147d92; border-color: #147d92; color: #fffdf7; }
.map-chip, .map-frame--live .map-chip { border: 1px solid #a8cbd2; background: #fffdf7; color: #173e50; box-shadow: 0 3px 9px #173e5012; }
.map-chip .map-head { box-shadow: none; }
.map-chip.is-sel { border-color: #147d92; background: #147d92; color: #fffdf7; }
.map-row { border-radius: 16px; box-shadow: 0 3px 12px #173e5009; }
.map-row:active { background: #eff7f5; }
.map-row .map-head { box-shadow: none; }
.map-row .map-head[data-st="done"] { box-shadow: 0 0 0 1px #e2c678; }
.map-row[data-st="some"] { border-color: #cab9cf; }
.map-row[data-st="done"] { border-color: #dec57d; background: linear-gradient(100deg,#fff5d7,#fffdf7 75%); }
.map-row--all { border-color: #bfdde1; background: linear-gradient(100deg,#eaf6f7,#fffdf7 80%); }
.map-row.is-sel { border-color: #69a4b0; box-shadow: inset 0 0 0 1px #69a4b0, 0 4px 12px #173e5010; }
.map-thumb { border-width: 1px; background: #fffdf7; }
.map-thumb.is-met { border-width: 1px; box-shadow: 0 0 0 1px #b8d6cb; }
.map-z__top { border: 1px solid #c4dfe2; border-radius: 18px; background: #edf7f6; }
.map-z__top[data-st="done"] { border-color: #dfc77f; background: #fff5d5; }
.map-lens { border: 1px solid #b9d7de; background-color: #e8f4f7; box-shadow: 0 4px 12px #173e5018; }
.map-z__top[data-st="done"] .map-lens { border-color: #d9bb65; box-shadow: 0 4px 12px #95742820; }
.map-dish__art { border: 1px solid #c2dacf; background: radial-gradient(circle at 50% 40%,#fffdf7,#edf6ef 72%); }
.map-dish[data-st="mada"] .map-dish__art { background: #f7faf7; }
.map-dish__stars { -webkit-text-stroke: 0; color: #bc912d; }
.map-dish__st { border-width: 1px; }
@media (hover: hover) {
  .mt-back:hover, .mt-tile:hover, .mt-res__main:hover,
  .mt-kyrow__main:hover, .mt-safe__a:hover, .map-row:hover { background: #edf6f4; }
  .map-frame--live .map-pin:hover .map-pin__lb, .map-frame--live .map-chip:hover { background: #ffedb6; color: #63501e; }
}
