:root {
  --takefu-header-height: 72px;
  --takefu-header-bg: rgba(255, 255, 255, 0.96);
  --takefu-header-line: rgba(17, 17, 17, 0.08);
  --takefu-header-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --takefu-accent: #ee7a3c;
  --takefu-text: #596163;
  --takefu-text-strong: #2d2d2f;
  --takefu-dark: #2d2d2f;
  --takefu-dark-deeper: #1c1c1f;
  --takefu-gold: #d2af78;
  --takefu-gold-soft: #9a8866;
  --takefu-panel-line: rgba(210, 175, 120, 0.14);
  --takefu-home-width: min(1560px, calc(100% - 28px));
  --takefu-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
  --takefu-pattern:
    linear-gradient(45deg, rgba(255, 255, 255, 0.018) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.018) 50%, rgba(255, 255, 255, 0.018) 75%, transparent 75%, transparent);
  --takefu-font:
    "Bender",
    "IBM Plex Sans",
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  --takefu-title-font:
    "Barlow Condensed",
    "Oswald",
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.takefu-map-site {
  background:
    var(--takefu-pattern) 0 0 / 18px 18px,
    linear-gradient(180deg, #2d2d2f 0%, #252528 100%);
  color: #f0f0f0;
  font-family: var(--takefu-font);
}

body.takefu-map-app-page {
  --display-height: calc(100vh - var(--takefu-header-height));
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.takefu-site-header {
  position: relative;
  z-index: 2400;
  isolation: isolate;
  background: var(--takefu-header-bg);
  border-bottom: 1px solid var(--takefu-header-line);
  box-shadow: var(--takefu-header-shadow);
}

.takefu-site-header__inner {
  width: var(--takefu-home-width);
  min-height: var(--takefu-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.takefu-site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.takefu-site-logo img {
  height: 42px;
  width: auto;
}

.takefu-site-nav {
  flex: 1;
  min-width: 0;
}

.takefu-site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.takefu-site-nav__item {
  position: relative;
}

.takefu-site-nav__item:hover,
.takefu-site-nav__item:focus-within,
.takefu-site-nav__item.is-open {
  z-index: 2450;
}

.takefu-site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--takefu-header-height);
  padding: 0 18px;
  color: var(--takefu-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.takefu-site-nav__link:hover,
.takefu-site-nav__item.is-active > .takefu-site-nav__link,
.takefu-site-nav__item.is-open > .takefu-site-nav__link {
  color: var(--takefu-accent);
}

.takefu-site-nav__item.is-active > .takefu-site-nav__link::after,
.takefu-site-nav__item.is-open > .takefu-site-nav__link::after,
.takefu-site-nav__link:hover::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--takefu-accent);
}

.takefu-site-nav__trigger::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.takefu-site-nav__dropdown {
  position: absolute;
  left: 0;
  top: calc(100% - 8px);
  z-index: 2500;
  width: min(460px, 72vw);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 24, 26, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.takefu-site-nav__item:hover .takefu-site-nav__dropdown,
.takefu-site-nav__item:focus-within .takefu-site-nav__dropdown,
.takefu-site-nav__item.is-open .takefu-site-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.takefu-site-nav__dropdown-title {
  margin-bottom: 12px;
  color: var(--takefu-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.takefu-site-nav__dropdown-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.takefu-nav-map-link {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(24, 24, 26, 0.08);
  background: #f7f4ec;
  color: #2d2d2f;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.takefu-nav-map-link:hover {
  transform: translateY(-1px);
  border-color: rgba(238, 122, 60, 0.22);
  background: #fff9ef;
}

.takefu-nav-map-link.is-active {
  border-color: rgba(238, 122, 60, 0.28);
  background: rgba(238, 122, 60, 0.08);
}

.takefu-nav-map-link strong {
  font-size: 13px;
  line-height: 1.2;
}

.takefu-nav-map-link small {
  color: #7d8486;
  font-size: 11px;
}

.takefu-site-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 26, 0.08);
  background: #f4f4f1;
  color: #70787a;
  text-decoration: none;
  font-size: 0;
  flex: 0 0 auto;
}

.takefu-site-search::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.takefu-site-search::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 11px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.takefu-site-search:hover {
  color: var(--takefu-accent);
  border-color: rgba(238, 122, 60, 0.18);
}

.takefu-home-shell {
  width: var(--takefu-home-width);
  margin: 24px auto 30px;
}

.takefu-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.takefu-map-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--takefu-panel-line);
  background:
    linear-gradient(180deg, rgba(33, 33, 35, 0.98), rgba(25, 25, 27, 0.96)),
    rgba(24, 24, 26, 0.94);
  color: #f0f0f0;
  text-decoration: none;
  box-shadow: var(--takefu-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.takefu-map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 175, 120, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.takefu-map-card__media {
  aspect-ratio: 1.6;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.26);
}

.takefu-map-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.takefu-map-card__body {
  display: grid;
  gap: 6px;
}

.takefu-map-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.takefu-map-card__title h2 {
  margin: 0;
  color: #f0f0f0;
  font-family: var(--takefu-title-font);
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.takefu-map-card__title span {
  color: var(--takefu-gold-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.takefu-map-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #a0a0a0;
  font-size: 12px;
}

.takefu-map-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--takefu-gold);
}

.takefu-map-app-shell {
  position: relative;
  min-height: calc(100vh - var(--takefu-header-height));
  background:
    radial-gradient(circle at top, rgba(210, 175, 120, 0.06), transparent 38%),
    var(--takefu-pattern) 0 0 / 18px 18px,
    linear-gradient(180deg, #2d2d2f 0%, #242427 100%);
}

.takefu-map-app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 14%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 18%);
}

.takefu-map-app-root {
  position: relative;
  min-height: calc(100vh - var(--takefu-header-height));
}

.takefu-map-app-page.takefu-map-awaiting-zh .takefu-map-app-root {
  visibility: hidden;
}

.takefu-map-firstpaint-mask {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.takefu-map-app-page.takefu-map-awaiting-zh .takefu-map-firstpaint-mask {
  opacity: 1;
}

.takefu-map-firstpaint-mask__card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(420px, calc(100% - 28px));
  padding: 24px 26px;
  border: 1px solid rgba(210, 175, 120, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 20, 0.76);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  text-align: center;
}

.takefu-map-firstpaint-mask__spinner {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid rgba(210, 175, 120, 0.24);
  border-top-color: var(--takefu-gold);
  animation: takefu-map-firstpaint-spin 900ms linear infinite;
}

.takefu-map-firstpaint-mask__title {
  color: #f7f0e4;
  font-family: var(--takefu-title-font);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.takefu-map-firstpaint-mask__desc {
  max-width: 280px;
  color: rgba(240, 240, 240, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

@keyframes takefu-map-firstpaint-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.takefu-map-app-page #root {
  min-height: calc(100vh - var(--takefu-header-height));
}

.takefu-map-app-page #root .navigation,
.takefu-map-app-page #root .ghost-menu,
.takefu-map-app-page #root .footer-wrapper,
.takefu-map-app-page #root .CookieConsent,
.takefu-map-app-page .id-wrapper,
.takefu-map-app-page #root .id-wrapper {
  display: none !important;
}

.takefu-map-app-page #root .display-wrapper {
  min-height: calc(100vh - var(--takefu-header-height)) !important;
  height: calc(100vh - var(--takefu-header-height)) !important;
  margin: 0 !important;
}

.takefu-map-app-page #root #leaflet-map,
.takefu-map-app-page #root .leaflet-map-container {
  height: calc(100vh - var(--takefu-header-height)) !important;
}

.takefu-map-app-page #root .page-wrapper {
  max-width: none !important;
  margin: 0 !important;
}

.takefu-map-app-page #root .time-wrapper {
  right: 10px !important;
}

.takefu-map-app-page #root .id-wrapper {
  bottom: 0 !important;
}

.takefu-map-app-page #root .player-location-help-separator,
.takefu-map-app-page #root .leaflet-control-map-settings-player-location-help {
  display: none !important;
}

.takefu-map-app-page #root .takefu-map-settings-task-filter-entry {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.takefu-map-app-page #root .takefu-map-settings-task-filter-button {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(210, 175, 120, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(210, 175, 120, 0.18), rgba(210, 175, 120, 0.1));
  color: #f2dfba;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.takefu-map-app-page #root .takefu-map-settings-task-filter-button:hover {
  background: linear-gradient(180deg, rgba(210, 175, 120, 0.26), rgba(210, 175, 120, 0.14));
  border-color: rgba(210, 175, 120, 0.46);
  transform: translateY(-1px);
}

.takefu-map-app-page #root .takefu-map-task-launcher {
  margin-top: 8px;
  margin-left: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.takefu-map-app-page #root .takefu-map-task-launcher__button {
  position: relative;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgba(210, 175, 120, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(30, 30, 32, 0.96), rgba(20, 20, 22, 0.94)),
    rgba(18, 18, 20, 0.96);
  color: #f0f0f0;
  cursor: pointer;
}

.takefu-map-app-page #root .takefu-map-task-launcher__button:hover {
  border-color: rgba(210, 175, 120, 0.36);
  background:
    linear-gradient(180deg, rgba(42, 42, 45, 0.98), rgba(22, 22, 24, 0.96)),
    rgba(18, 18, 20, 0.98);
}

.takefu-map-app-page #root .takefu-map-task-launcher.is-open .takefu-map-task-launcher__button {
  border-color: rgba(210, 175, 120, 0.48);
  box-shadow: inset 0 0 0 1px rgba(210, 175, 120, 0.12);
}

.takefu-map-app-page #root .takefu-map-task-launcher__icon {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2af78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6.5h10'/%3E%3Cpath d='M8 12h10'/%3E%3Cpath d='M8 17.5h10'/%3E%3Crect x='4.2' y='5' width='2.3' height='2.3' rx='.3' fill='%23d2af78' stroke='none'/%3E%3Crect x='4.2' y='10.8' width='2.3' height='2.3' rx='.3' fill='%23d2af78' stroke='none'/%3E%3Crect x='4.2' y='16.3' width='2.3' height='2.3' rx='.3' fill='%23d2af78' stroke='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.takefu-map-app-page #root .takefu-map-task-launcher__badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(210, 175, 120, 0.92);
  color: #181818;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.takefu-map-app-page #root .takefu-map-task-launcher.is-empty .takefu-map-task-launcher__badge {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.takefu-map-app-page #root .leaflet-control-icon-search-expanded {
  width: min(360px, calc(100vw - 28px));
  padding: 10px 12px 10px 8px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 17, 19, 0.96), rgba(10, 10, 12, 0.94)),
    rgba(12, 12, 14, 0.96);
  border: 1px solid rgba(210, 175, 120, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.takefu-map-app-page #root .leaflet-control-icon-search-expanded .maps-search-wrapper-search-bar,
.takefu-map-app-page #root .leaflet-control-icon-search-expanded .maps-search-task-filter {
  width: 100%;
}

.takefu-map-app-page #root .maps-search-wrapper-task-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.takefu-map-app-page #root .maps-search-task-filter-button-container {
  display: none !important;
}

.takefu-map-app-page #root .maps-search-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  max-height: min(58vh, 560px);
  padding-right: 4px;
  overflow-y: auto;
}

.takefu-map-app-page #root .takefu-map-task-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 175, 120, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.takefu-map-app-page #root .takefu-map-task-summary-title {
  color: #f1e1bf;
  font-size: 13px;
  font-weight: 700;
}

.takefu-map-app-page #root .takefu-map-task-summary-count {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(210, 175, 120, 0.12);
  color: #f6deb0;
  font-size: 12px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

.takefu-map-app-page #root .takefu-map-task-empty {
  padding: 14px 12px;
  border: 1px dashed rgba(210, 175, 120, 0.22);
  border-radius: 10px;
  color: rgba(240, 240, 240, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.takefu-map-app-page #root .takefu-map-task-group {
  border: 1px solid rgba(210, 175, 120, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.takefu-map-app-page #root .takefu-map-task-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f0;
  text-align: left;
  cursor: pointer;
}

.takefu-map-app-page #root .takefu-map-task-group-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.takefu-map-app-page #root .takefu-map-task-group-heading {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.takefu-map-app-page #root .takefu-map-task-group-title {
  color: #f4dfb6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.takefu-map-app-page #root .takefu-map-task-group-subtitle {
  color: rgba(240, 240, 240, 0.5);
  font-size: 11px;
  line-height: 1.2;
}

.takefu-map-app-page #root .takefu-map-task-group-count {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(210, 175, 120, 0.12);
  color: #f2d7a3;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.takefu-map-app-page #root .takefu-map-task-group-items {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.takefu-map-app-page #root .takefu-map-task-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(7, 7, 9, 0.38);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.takefu-map-app-page #root .takefu-map-task-item:hover {
  border-color: rgba(210, 175, 120, 0.28);
  background: rgba(210, 175, 120, 0.08);
  transform: translateY(-1px);
}

.takefu-map-app-page #root .takefu-map-task-item-meta {
  display: flex;
  align-items: center;
}

.takefu-map-app-page #root .takefu-map-task-item-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 11px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(14, 14, 16, 0.62);
  color: #f6e5c3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}

.takefu-map-app-page #root .takefu-map-task-item-badge::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(210, 175, 120, 0.08);
  pointer-events: none;
}

.takefu-map-app-page #root .takefu-map-task-item-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #efd8a7, #c79c4f);
  box-shadow:
    0 0 0 3px rgba(210, 175, 120, 0.1),
    0 0 12px rgba(210, 175, 120, 0.18);
  flex: 0 0 7px;
}

.takefu-map-app-page #root .takefu-map-task-item-badge__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.takefu-map-app-page #root .takefu-map-task-item-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.takefu-map-app-page #root .takefu-map-task-item-name {
  color: #f0f0f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.takefu-map-app-page #root .takefu-map-task-item-name-en {
  color: rgba(240, 240, 240, 0.54);
  font-size: 11px;
  line-height: 1.45;
}

.takefu-map-app-page #root .leaflet-control-layers label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.takefu-map-app-page #root .leaflet-control-layers label > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.takefu-map-app-page #root .leaflet-control-layers .control-item-image {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.takefu-map-app-page #root .leaflet-control-layers .takefu-layer-label-text {
  display: inline-block;
  color: #f0f0f0;
  line-height: 1.3;
  word-break: break-word;
}

.takefu-map-app-page #root .takefu-map-custom-layer-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.takefu-map-app-page #root .takefu-map-layer-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 10px;
}

.takefu-map-app-page #root .takefu-map-layer-extensions {
  display: none;
  gap: 8px;
  margin-top: 8px;
}

.takefu-map-app-page #root .leaflet-control-layers.leaflet-control-layers-expanded .takefu-map-layer-extensions {
  display: grid;
}

.takefu-map-app-page #root .takefu-map-layer-reset-button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(210, 175, 120, 0.24);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  color: rgba(242, 223, 186, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.takefu-map-app-page #root .takefu-map-layer-reset-button:hover {
  border-color: rgba(210, 175, 120, 0.42);
  background: linear-gradient(180deg, rgba(210, 175, 120, 0.16), rgba(210, 175, 120, 0.08));
  transform: translateY(-1px);
}

.takefu-map-app-page #root .takefu-map-custom-layer-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.takefu-map-app-page #root .takefu-map-custom-layer-master {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  color: #f0f0f0;
  cursor: pointer;
}

.takefu-map-app-page #root .takefu-map-custom-layer-title {
  font-weight: 700;
  line-height: 1.2;
}

.takefu-map-app-page #root .takefu-map-custom-layer-count {
  margin-left: auto;
  min-width: 24px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(210, 175, 120, 0.14);
  color: #f2dfba;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.takefu-map-app-page #root .takefu-map-custom-layer-collapse-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 240, 240, 0.82);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.takefu-map-app-page #root .takefu-map-custom-layer-collapse-toggle:hover {
  border-color: rgba(210, 175, 120, 0.24);
  background: rgba(210, 175, 120, 0.08);
  color: #f2dfba;
}

.takefu-map-app-page #root .takefu-map-custom-layer-children {
  margin-top: 8px;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.takefu-map-app-page #root .takefu-map-custom-layer-group[data-collapsed="1"] .takefu-map-custom-layer-children {
  display: none;
}

.takefu-map-app-page #root .takefu-map-custom-layer-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.takefu-map-app-page #root .takefu-map-task-popup {
  min-width: 210px;
  color: #f0f0f0;
}

.takefu-map-app-page #root .takefu-map-task-popup__header {
  margin-bottom: 8px;
}

.takefu-map-app-page #root .takefu-map-task-popup__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(14, 14, 16, 0.56);
  color: #f5e2bd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.takefu-map-app-page #root .takefu-map-task-popup__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.takefu-map-app-page #root .takefu-map-task-popup__subtitle {
  margin-top: 3px;
  color: rgba(240, 240, 240, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.takefu-map-app-page #root .takefu-map-task-popup__meta {
  margin-top: 6px;
  color: rgba(242, 223, 186, 0.86);
  font-size: 11px;
  line-height: 1.45;
}

.takefu-map-app-page #root .takefu-map-task-popup__link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #f2dfba;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.takefu-map-app-page #root .takefu-map-task-popup__link:hover {
  text-decoration: underline;
}

.takefu-map-app-page #root .takefu-map-task-marker-icon {
  background: transparent;
  border: 0;
}

.takefu-map-app-page #root .takefu-map-task-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(236, 216, 174, 0.28);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.09), transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(28, 24, 18, 0.98), rgba(10, 10, 12, 0.98));
  color: #f3ddb0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(210, 175, 120, 0.12);
}

.takefu-map-app-page #root .takefu-map-task-marker::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(210, 175, 120, 0.18);
  border-radius: 10px;
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(210, 175, 120, 0.08);
}

.takefu-map-app-page #root .takefu-map-task-marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.takefu-map-app-page #root .takefu-map-task-marker--item {
  width: 30px;
  height: 30px;
  border-color: rgba(146, 214, 232, 0.28);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(10, 28, 34, 0.98), rgba(7, 16, 21, 0.98));
  color: #bfe8f5;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(112, 190, 214, 0.12);
}

.takefu-map-app-page #root .takefu-map-task-marker--item::before {
  border-color: rgba(112, 190, 214, 0.22);
  box-shadow: 0 0 14px rgba(112, 190, 214, 0.08);
}

.takefu-map-app-page #root .takefu-map-task-marker__text {
  line-height: 1;
  position: relative;
  z-index: 1;
  transform: translateY(-0.5px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.takefu-map-app-page #root .takefu-map-task-zone-shape {
  filter: drop-shadow(0 0 6px rgba(210, 175, 120, 0.14));
}

.takefu-bullet-shell {
  width: var(--takefu-home-width);
  margin: 24px auto 30px;
}

.takefu-bullet-card {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--takefu-panel-line);
  background:
    linear-gradient(180deg, rgba(33, 33, 35, 0.98), rgba(25, 25, 27, 0.96)),
    rgba(24, 24, 26, 0.94);
  color: #f0f0f0;
  box-shadow: var(--takefu-shadow);
}

.takefu-bullet-card h1 {
  margin: 0;
  color: #f0f0f0;
  font-family: var(--takefu-title-font);
  font-size: 42px;
  line-height: 0.95;
}

.takefu-bullet-card p {
  margin: 14px 0 0;
  color: #c7c5b3;
  line-height: 1.8;
}

@media (max-width: 1280px) {
  .takefu-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .takefu-site-header__inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 10px 0;
  }

  .takefu-site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .takefu-site-nav__list {
    width: max-content;
  }

  .takefu-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .takefu-site-header__inner,
  .takefu-home-shell,
  .takefu-bullet-shell {
    width: min(100% - 16px, 100%);
  }

  .takefu-site-logo img {
    height: 34px;
  }

  .takefu-site-nav__link {
    min-height: 52px;
    padding: 0 14px;
    font-size: 14px;
  }

  .takefu-site-nav__item.is-active > .takefu-site-nav__link::after,
  .takefu-site-nav__item.is-open > .takefu-site-nav__link::after,
  .takefu-site-nav__link:hover::after {
    left: 14px;
    right: 14px;
    bottom: 8px;
  }

  .takefu-site-nav__dropdown {
    width: min(360px, calc(100vw - 24px));
  }

  .takefu-site-nav__dropdown-links,
  .takefu-home-grid {
    grid-template-columns: 1fr;
  }

  .takefu-map-app-page #root .display-wrapper {
    min-height: calc(100vh - 76px) !important;
    height: calc(100vh - 76px) !important;
  }
}

.takefu-item-shell {
  width: var(--takefu-home-width);
  margin: 24px auto 30px;
}

.takefu-item-loading,
.takefu-item-empty {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 18, 0.72);
  color: rgba(240, 240, 240, 0.8);
}

.takefu-item-layout {
  display: grid;
  gap: 18px;
}

.takefu-item-panel {
  border: 1px solid var(--takefu-panel-line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(30, 30, 33, 0.98), rgba(21, 21, 24, 0.98)),
    rgba(18, 18, 20, 0.96);
  box-shadow: var(--takefu-shadow);
}

.takefu-item-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}

.takefu-item-panel__head h2 {
  margin: 0;
  font-size: 20px;
  font-family: var(--takefu-title-font);
  letter-spacing: 0.02em;
}

.takefu-item-panel__head span {
  color: rgba(240, 240, 240, 0.58);
  font-size: 12px;
}

.takefu-item-hero {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
}

.takefu-item-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(210, 175, 120, 0.14);
  background:
    radial-gradient(circle at top, rgba(210, 175, 120, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(19, 19, 21, 0.96), rgba(11, 11, 14, 0.96));
}

.takefu-item-hero__media img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}

.takefu-item-hero__body {
  display: grid;
  align-content: start;
  gap: 14px;
}

.takefu-item-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(240, 240, 240, 0.62);
  font-size: 13px;
}

.takefu-item-breadcrumb a,
.takefu-item-inline-link {
  color: var(--takefu-gold);
  text-decoration: none;
}

.takefu-item-breadcrumb a:hover,
.takefu-item-inline-link:hover {
  color: #ffe1aa;
}

.takefu-item-hero__body h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  font-family: var(--takefu-title-font);
  letter-spacing: 0.01em;
}

.takefu-item-subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: rgba(240, 240, 240, 0.6);
  font-size: 14px;
}

.takefu-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.takefu-item-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(210, 175, 120, 0.12);
  border: 1px solid rgba(210, 175, 120, 0.2);
  color: #f4d9ab;
  font-size: 12px;
}

.takefu-item-description {
  margin: 0;
  color: rgba(240, 240, 240, 0.86);
  line-height: 1.9;
  white-space: pre-wrap;
}

.takefu-item-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.takefu-item-stat {
  min-height: 116px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--takefu-panel-line);
  background:
    linear-gradient(180deg, rgba(32, 32, 34, 0.96), rgba(18, 18, 21, 0.96)),
    rgba(16, 16, 18, 0.96);
  box-shadow: var(--takefu-shadow);
}

.takefu-item-stat__label {
  display: block;
  color: rgba(240, 240, 240, 0.6);
  font-size: 13px;
}

.takefu-item-stat__value {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  font-family: var(--takefu-title-font);
  line-height: 1.05;
}

.takefu-item-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.takefu-item-price-table,
.takefu-item-props,
.takefu-item-task-list {
  padding: 18px 20px 20px;
}

.takefu-item-price-row,
.takefu-item-prop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.takefu-item-prop {
  grid-template-columns: 130px minmax(0, 1fr);
}

.takefu-item-price-row:last-child,
.takefu-item-prop:last-child {
  border-bottom: 0;
}

.takefu-item-price-row__trader,
.takefu-item-prop__label {
  color: rgba(240, 240, 240, 0.82);
}

.takefu-item-price-row__rub,
.takefu-item-prop__value {
  color: rgba(240, 240, 240, 0.6);
  text-align: right;
}

.takefu-item-map-grid,
.takefu-item-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px 20px;
}

.takefu-item-map-card,
.takefu-item-related-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(210, 175, 120, 0.14);
  background: rgba(18, 18, 20, 0.7);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.takefu-item-map-card:hover,
.takefu-item-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 122, 60, 0.26);
  background: rgba(30, 24, 19, 0.78);
}

.takefu-item-map-card__name,
.takefu-item-related-card__body strong {
  font-size: 18px;
  font-family: var(--takefu-title-font);
  line-height: 1.05;
}

.takefu-item-map-card__en,
.takefu-item-map-card__meta,
.takefu-item-related-card__body span,
.takefu-item-task__head span,
.takefu-item-task p {
  color: rgba(240, 240, 240, 0.62);
}

.takefu-item-task {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.takefu-item-task:first-child {
  padding-top: 0;
}

.takefu-item-task:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.takefu-item-task__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.takefu-item-task p {
  margin: 10px 0 0;
  line-height: 1.8;
}

.takefu-item-related-card {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
}

.takefu-item-related-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  padding: 12px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(210, 175, 120, 0.12), transparent 60%), rgba(10, 10, 12, 0.9);
}

.takefu-item-related-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.takefu-item-related-card__body {
  display: grid;
  gap: 4px;
}

.takefu-item-error {
  padding: 24px;
}

.takefu-item-error h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-family: var(--takefu-title-font);
}

.takefu-item-error p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.72);
}

@media (max-width: 1280px) {
  .takefu-item-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .takefu-item-map-grid,
  .takefu-item-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .takefu-item-hero,
  .takefu-item-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .takefu-item-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .takefu-item-map-grid,
  .takefu-item-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .takefu-item-shell {
    width: min(100% - 18px, 100%);
  }

  .takefu-item-hero {
    padding: 16px;
  }

  .takefu-item-panel__head,
  .takefu-item-price-table,
  .takefu-item-props,
  .takefu-item-task-list,
  .takefu-item-map-grid,
  .takefu-item-related-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .takefu-item-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .takefu-item-map-grid,
  .takefu-item-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .takefu-item-price-row,
  .takefu-item-prop {
    grid-template-columns: minmax(0, 1fr);
  }
}

.takefu-guide-shell {
  width: var(--takefu-home-width);
  margin: 24px auto 46px;
  display: grid;
  gap: 22px;
}

.takefu-guide-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(240, 240, 240, 0.72);
  font-size: 13px;
}

.takefu-guide-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.takefu-guide-breadcrumb a:hover {
  color: var(--takefu-accent);
}

.takefu-guide-breadcrumb span:last-child {
  color: #ffffff;
}

.takefu-guide-hero,
.takefu-guide-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--takefu-panel-line);
  background:
    radial-gradient(circle at top right, rgba(238, 122, 60, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(34, 34, 37, 0.98), rgba(22, 22, 25, 0.94));
  box-shadow: var(--takefu-shadow);
}

.takefu-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 22px;
  padding: 28px;
}

.takefu-guide-hero--single {
  grid-template-columns: 1fr;
}

.takefu-guide-hero::before,
.takefu-guide-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 175, 120, 0.22), rgba(210, 175, 120, 0));
  pointer-events: none;
}

.takefu-guide-kicker,
.takefu-guide-panel__eyebrow {
  color: var(--takefu-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.takefu-guide-title,
.takefu-guide-panel__head h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--takefu-title-font);
  line-height: 0.96;
}

.takefu-guide-title {
  font-size: clamp(42px, 5vw, 68px);
}

.takefu-guide-subtitle {
  margin: -4px 0 0;
  color: rgba(240, 240, 240, 0.66);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takefu-guide-summary,
.takefu-guide-panel__meta {
  margin: 0;
  color: rgba(240, 240, 240, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.takefu-guide-summary--compact {
  max-width: 980px;
}

.takefu-guide-hero__content,
.takefu-guide-hero__aside,
.takefu-guide-panel__head {
  position: relative;
  z-index: 1;
}

.takefu-guide-hero__content {
  display: grid;
  gap: 14px;
}

.takefu-guide-hero__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.takefu-guide-tags,
.takefu-guide-actions,
.takefu-guide-query-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.takefu-guide-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
}

.takefu-guide-info-row {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.takefu-guide-info-row__label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takefu-guide-info-row__value {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
}

.takefu-guide-tag,
.takefu-guide-query-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f2e6;
  font-size: 13px;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.takefu-guide-query-link,
.takefu-guide-action,
.takefu-guide-map-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.takefu-guide-query-link:hover,
.takefu-guide-action:hover {
  transform: translateY(-1px);
  border-color: rgba(238, 122, 60, 0.26);
  background: rgba(238, 122, 60, 0.16);
}

.takefu-guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
}

.takefu-guide-action--primary {
  background: linear-gradient(135deg, rgba(238, 122, 60, 0.96), rgba(255, 162, 92, 0.82));
  color: #1a120d;
  font-weight: 700;
}

.takefu-guide-action--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.takefu-guide-stat {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.takefu-guide-stat__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takefu-guide-stat__value {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.takefu-guide-stat__hint {
  display: block;
  margin-top: 8px;
  color: rgba(240, 240, 240, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.takefu-guide-panel {
  padding: 24px;
}

.takefu-guide-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.takefu-guide-detail-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.takefu-guide-detail-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.takefu-guide-detail-card__index,
.takefu-guide-detail-card__type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.takefu-guide-detail-card__index {
  background: rgba(238, 122, 60, 0.18);
  border: 1px solid rgba(238, 122, 60, 0.28);
  color: #ffd6b9;
}

.takefu-guide-detail-card__type {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.takefu-guide-detail-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.7;
}

.takefu-guide-detail-card__subtitle {
  margin: 0;
  color: rgba(240, 240, 240, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.takefu-guide-player {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.84fr);
  gap: 18px;
}

.takefu-guide-player__frame {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(238, 122, 60, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.9), rgba(16, 16, 19, 0.98));
}

.takefu-guide-player__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
}

.takefu-guide-player__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(240, 240, 240, 0.72);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.takefu-guide-player__body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 6px 0;
}

.takefu-guide-player__eyebrow {
  color: var(--takefu-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.takefu-guide-player__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2.6vw, 38px);
  font-family: var(--takefu-title-font);
  line-height: 1.06;
}

.takefu-guide-player__desc {
  margin: 0;
  color: rgba(240, 240, 240, 0.78);
  font-size: 14px;
  line-height: 1.85;
}

.takefu-guide-player__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.takefu-guide-player__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.takefu-guide-player__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.takefu-guide-player__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.takefu-guide-player__link:hover {
  transform: translateY(-1px);
  border-color: rgba(238, 122, 60, 0.26);
  background: rgba(238, 122, 60, 0.16);
}

.takefu-guide-player__link[aria-disabled="true"] {
  opacity: 0.46;
  pointer-events: none;
}

.takefu-guide-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.takefu-guide-panel__head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.takefu-video-grid,
.takefu-guide-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.takefu-video-card,
.takefu-guide-map-card,
.takefu-guide-copy-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.26);
}

.takefu-video-card {
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  padding: 0;
  overflow: hidden;
}

.takefu-video-card:hover,
.takefu-guide-map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 122, 60, 0.24);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.takefu-video-card.is-active {
  border-color: rgba(238, 122, 60, 0.3);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
}

.takefu-video-card a,
.takefu-video-card__button,
.takefu-video-card__link,
.takefu-guide-map-card {
  color: inherit;
  text-decoration: none;
}

.takefu-video-card__button,
.takefu-video-card__link {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 0;
  background: none;
  text-align: left;
}

.takefu-video-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(238, 122, 60, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(32, 45, 56, 0.94), rgba(15, 18, 24, 0.98));
}

.takefu-video-card__media::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.takefu-video-card__media::before {
  content: "";
  position: absolute;
  left: 33px;
  bottom: 28px;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 12px solid #ffffff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.takefu-video-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  filter: saturate(1.04) contrast(1.04);
}

.takefu-video-card__media.is-loaded img {
  opacity: 0.68;
}

.takefu-video-card__media.is-broken img {
  display: none;
}

.takefu-video-card__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: space-between;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.1), rgba(8, 8, 10, 0.58) 58%, rgba(8, 8, 10, 0.82));
}

.takefu-video-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.takefu-video-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 162, 92, 0.2);
  border: 1px solid rgba(255, 162, 92, 0.26);
  color: #ffe7c3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.takefu-video-card__badge--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}

.takefu-video-card__media-text {
  display: grid;
  gap: 8px;
  padding-right: 18px;
}

.takefu-video-card__topic {
  color: #ffffff;
  font-size: 22px;
  font-family: var(--takefu-title-font);
  line-height: 1.02;
}

.takefu-video-card__map {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takefu-video-card__rank {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.18);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.takefu-video-card__body {
  display: grid;
  gap: 8px;
}

.takefu-video-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
}

.takefu-video-card__meta,
.takefu-video-card__desc {
  color: rgba(240, 240, 240, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.takefu-video-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.takefu-video-card__desc {
  min-height: 44px;
}

.takefu-video-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.takefu-video-card__cta {
  color: var(--takefu-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.takefu-video-card__cta--inline {
  color: #ffd8bf;
}

.takefu-video-card--fallback .takefu-video-card__media {
  background:
    radial-gradient(circle at top right, rgba(238, 122, 60, 0.36), transparent 32%),
    linear-gradient(145deg, rgba(54, 46, 32, 0.98), rgba(18, 18, 20, 0.96));
}

.takefu-video-card--fallback .takefu-video-card__media img {
  display: none;
}

.takefu-video-grid--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.takefu-video-card--inline {
  padding: 16px;
  gap: 14px;
}

.takefu-video-card--inline:hover {
  transform: translateY(-2px);
}

.takefu-video-card--inline-empty {
  grid-column: 1 / -1;
}

.takefu-video-card__inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.takefu-video-card__inline-rank {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(238, 122, 60, 0.14);
  border: 1px solid rgba(238, 122, 60, 0.22);
  color: var(--takefu-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.takefu-video-card__text-link {
  color: #ffd2b3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.takefu-video-card__text-link:hover {
  color: #fff0e4;
}

.takefu-video-card__embed-wrap {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(238, 122, 60, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(24, 24, 28, 0.98), rgba(10, 10, 12, 0.96));
  aspect-ratio: 16 / 9;
}

.takefu-video-card__embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
}

.takefu-video-card__embed-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: #f5e7d8;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.takefu-video-list {
  display: grid;
  gap: 12px;
}

.takefu-video-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(34, 34, 38, 0.96), rgba(17, 17, 20, 0.98));
}

.takefu-video-list__item--search {
  background: linear-gradient(180deg, rgba(46, 34, 26, 0.96), rgba(21, 17, 16, 0.98));
}

.takefu-video-list__rank {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--takefu-title-font);
  font-size: 22px;
  line-height: 1;
}

.takefu-video-list__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.takefu-video-list__title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.55;
}

.takefu-video-list__title:hover {
  color: #ffd6b7;
}

.takefu-video-list__meta {
  color: rgba(240, 240, 240, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.takefu-video-list__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(238, 122, 60, 0.2);
  background: rgba(238, 122, 60, 0.1);
  color: #ffd2b3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.takefu-video-list__action:hover {
  background: rgba(238, 122, 60, 0.18);
}

.takefu-guide-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 22px;
}

.takefu-guide-query-groups,
.takefu-guide-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.takefu-guide-query-group,
.takefu-guide-related-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.26);
}

.takefu-guide-query-group {
  padding: 16px;
}

.takefu-guide-query-group h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 20px;
}

.takefu-guide-query-list--cloud {
  gap: 12px;
}

.takefu-guide-query-link--cloud {
  min-height: 38px;
  padding: 0 16px;
}

.takefu-guide-query-link--size-1 {
  font-size: 13px;
}

.takefu-guide-query-link--size-2 {
  font-size: 15px;
  font-weight: 700;
}

.takefu-guide-query-link--size-3 {
  font-size: 17px;
  font-weight: 700;
  border-color: rgba(238, 122, 60, 0.22);
  background: rgba(238, 122, 60, 0.14);
}

.takefu-guide-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.takefu-guide-related-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.takefu-guide-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 122, 60, 0.24);
  background: rgba(238, 122, 60, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.takefu-guide-related-card strong {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.45;
}

.takefu-guide-related-card small,
.takefu-guide-related-card span {
  color: rgba(240, 240, 240, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.takefu-guide-map-card {
  gap: 8px;
}

.takefu-guide-map-card__name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.takefu-guide-map-card__en,
.takefu-guide-map-card__meta {
  color: rgba(240, 240, 240, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.takefu-guide-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.takefu-guide-copy-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.takefu-guide-copy-card p {
  margin: 0;
  color: rgba(240, 240, 240, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.takefu-guide-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.takefu-guide-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.takefu-guide-page--task .takefu-guide-shell {
  gap: 18px;
  margin: 20px auto 40px;
}

body.takefu-guide-page--task .takefu-guide-breadcrumb {
  gap: 7px;
  color: rgba(240, 240, 240, 0.62);
}

body.takefu-guide-page--task .takefu-guide-hero,
body.takefu-guide-page--task .takefu-guide-panel {
  border-radius: 22px;
}

body.takefu-guide-page--task .takefu-guide-hero {
  padding: 24px 24px 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(238, 122, 60, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(33, 33, 36, 0.98), rgba(20, 20, 23, 0.96));
}

body.takefu-guide-page--task .takefu-guide-hero__content {
  gap: 12px;
}

body.takefu-guide-page--task .takefu-guide-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
}

body.takefu-guide-page--task .takefu-guide-title {
  font-size: clamp(38px, 4.4vw, 58px);
  letter-spacing: -0.02em;
}

body.takefu-guide-page--task .takefu-guide-subtitle {
  margin-top: -6px;
  color: rgba(240, 240, 240, 0.58);
  font-size: 13px;
  letter-spacing: 0.16em;
}

body.takefu-guide-page--task .takefu-guide-summary--compact {
  max-width: 900px;
  color: rgba(240, 240, 240, 0.76);
  font-size: 14px;
  line-height: 1.85;
}

body.takefu-guide-page--task .takefu-guide-info-list {
  grid-template-columns: repeat(auto-fit, minmax(190px, 240px));
  gap: 10px;
  max-width: none;
}

body.takefu-guide-page--task .takefu-guide-info-row {
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.takefu-guide-page--task .takefu-guide-info-row__label {
  font-size: 11px;
  letter-spacing: 0.12em;
}

body.takefu-guide-page--task .takefu-guide-info-row__value {
  font-size: 16px;
  font-weight: 700;
}

body.takefu-guide-page--task .takefu-guide-panel {
  padding: 20px;
}

body.takefu-guide-page--task .takefu-guide-panel__head {
  align-items: start;
  margin-bottom: 14px;
}

body.takefu-guide-page--task .takefu-guide-panel__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
}

body.takefu-guide-page--task .takefu-guide-panel__head h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

body.takefu-guide-page--task .takefu-guide-panel__meta {
  max-width: 560px;
  color: rgba(240, 240, 240, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

body.takefu-guide-page--task .takefu-video-grid--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.takefu-guide-page--task .takefu-video-card--inline {
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.98), rgba(14, 14, 18, 0.96));
}

body.takefu-guide-page--task .takefu-video-card__inline-head {
  gap: 8px;
}

body.takefu-guide-page--task .takefu-video-card__inline-rank {
  min-height: 26px;
  padding: 0 9px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

body.takefu-guide-page--task .takefu-video-card__text-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(238, 122, 60, 0.18);
  background: rgba(238, 122, 60, 0.08);
  color: #ffd8bf;
  font-size: 12px;
}

body.takefu-guide-page--task .takefu-video-card__embed-wrap {
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}

body.takefu-guide-page--task .takefu-video-card__body {
  gap: 6px;
}

body.takefu-guide-page--task .takefu-video-card__title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.takefu-guide-page--task .takefu-video-card__meta {
  gap: 8px;
}

body.takefu-guide-page--task .takefu-video-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(240, 240, 240, 0.7);
  font-size: 12px;
}

body.takefu-guide-page--task .takefu-video-card__desc {
  display: -webkit-box;
  min-height: 58px;
  overflow: hidden;
  color: rgba(240, 240, 240, 0.64);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.takefu-guide-page--task .takefu-video-card__footer {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(240, 240, 240, 0.56);
  font-size: 11px;
}

body.takefu-guide-page--task .takefu-video-card__cta--inline {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.takefu-guide-page--task .takefu-video-list {
  gap: 10px;
}

body.takefu-guide-page--task .takefu-video-list__item {
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
}

body.takefu-guide-page--task .takefu-video-list__rank {
  min-width: 28px;
  font-size: 18px;
  text-align: center;
}

body.takefu-guide-page--task .takefu-video-list__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.takefu-guide-page--task .takefu-video-list__meta {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(240, 240, 240, 0.62);
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.takefu-guide-page--task .takefu-video-list__action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

body.takefu-guide-page--task .takefu-guide-query-groups {
  gap: 14px;
}

body.takefu-guide-page--task .takefu-guide-query-group {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.98), rgba(14, 14, 18, 0.96));
}

body.takefu-guide-page--task .takefu-guide-query-group h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

body.takefu-guide-page--task .takefu-guide-query-list--cloud {
  gap: 10px;
}

body.takefu-guide-page--task .takefu-guide-query-link--cloud {
  min-height: 34px;
  padding: 0 14px;
}

body.takefu-guide-page--task .takefu-guide-related-grid {
  gap: 14px;
}

body.takefu-guide-page--task .takefu-guide-related-card {
  gap: 6px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.98), rgba(14, 14, 18, 0.96));
}

body.takefu-guide-page--task .takefu-guide-related-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.takefu-guide-page--task .takefu-guide-related-card small,
body.takefu-guide-page--task .takefu-guide-related-card span {
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1260px) {
  .takefu-guide-hero,
  .takefu-guide-two-column,
  .takefu-guide-player {
    grid-template-columns: 1fr;
  }

  .takefu-video-grid,
  .takefu-guide-copy,
  .takefu-guide-detail-grid,
  .takefu-guide-related-grid,
  .takefu-guide-query-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .takefu-guide-shell {
    width: min(100%, calc(100% - 16px));
    margin-top: 16px;
  }

  .takefu-guide-hero,
  .takefu-guide-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .takefu-guide-panel__head {
    flex-direction: column;
    align-items: start;
  }

  .takefu-video-grid,
  .takefu-guide-map-grid,
  .takefu-guide-copy,
  .takefu-guide-detail-grid,
  .takefu-guide-related-grid,
  .takefu-guide-query-groups,
  .takefu-guide-info-list {
    grid-template-columns: 1fr;
  }

  .takefu-guide-title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .takefu-guide-player__link {
    width: 100%;
  }
}

@media (max-width: 1420px) {
  body.takefu-guide-page--task .takefu-video-grid--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.takefu-guide-page--task .takefu-guide-query-groups,
  body.takefu-guide-page--task .takefu-guide-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.takefu-guide-page--task .takefu-guide-shell {
    gap: 14px;
    margin-top: 16px;
  }

  body.takefu-guide-page--task .takefu-guide-hero,
  body.takefu-guide-page--task .takefu-guide-panel {
    padding: 18px;
    border-radius: 18px;
  }

  body.takefu-guide-page--task .takefu-video-grid--inline {
    grid-template-columns: 1fr;
  }
}

/* Map UI: stable hotfix */
.takefu-site-header {
  z-index: 6400;
}

.takefu-site-nav__item:hover,
.takefu-site-nav__item:focus-within,
.takefu-site-nav__item.is-open {
  z-index: 6500;
}

.takefu-site-nav__dropdown {
  z-index: 6550;
}

.takefu-map-app-page.takefu-task-panel-native #root .takefu-map-task-launcher,
.takefu-map-app-page.takefu-task-panel-native #root .takefu-map-task-summary,
.takefu-map-app-page.takefu-task-panel-native #root .takefu-map-task-empty,
.takefu-map-app-page.takefu-task-panel-native #root .takefu-map-task-group,
.takefu-map-app-page.takefu-task-panel-native #root .takefu-map-settings-task-filter-entry {
  display: none !important;
}

.takefu-map-app-page.takefu-task-layer-native #root .takefu-map-custom-layer-group,
.takefu-map-app-page.takefu-task-layer-native #root .takefu-map-custom-task-group {
  display: none !important;
}

.takefu-map-app-page.takefu-task-panel-native #root .maps-search-task-filter-button-container {
  display: inline-flex !important;
}

.takefu-map-app-page.takefu-task-panel-native #root .maps-search-task-list {
  display: block;
  margin-top: 8px;
  max-height: min(58vh, 560px);
  overflow-y: auto;
}

.takefu-map-app-page #root .leaflet-left .leaflet-control,
.takefu-map-app-page #root .leaflet-right .leaflet-control {
  margin: 10px;
}

.takefu-map-app-page #root .leaflet-control-layers.leaflet-control,
.takefu-map-app-page #root .maps-search-wrapper.leaflet-control {
  border: 1px solid rgba(210, 175, 120, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(17, 17, 20, 0.96), rgba(11, 11, 14, 0.94)),
    rgba(11, 11, 14, 0.94);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

.takefu-map-app-page #root .leaflet-control-layers-list {
  max-height: min(60vh, 640px);
  overflow-y: auto;
}

.takefu-map-app-page #root .leaflet-control-layers-overlays label {
  border-radius: 8px;
  padding: 4px 6px;
}

.takefu-map-app-page #root .leaflet-control-layers-overlays label:hover {
  background: rgba(255, 255, 255, 0.07);
}

.takefu-map-app-page #root .leaflet-control-layers-group + .leaflet-control-layers-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.takefu-map-app-page #root .leaflet-control-layers-group-label {
  cursor: pointer;
}

.takefu-map-app-page #root .leaflet-control-layers-group-label .leaflet-control-layers-group-collapse::before,
.takefu-map-app-page #root .leaflet-control-layers-group-label .leaflet-control-layers-group-expand::before {
  content: "" !important;
}

.takefu-map-app-page #root .takefu-map-custom-task-group .leaflet-control-layers-group-name {
  color: #f4dfb6;
  font-weight: 700;
}
