html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffd27d;
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

.seo-guide {
  margin: 24px 0 30px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 210, 125, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(86, 35, 13, 0.48), rgba(18, 7, 3, 0.74)),
    rgba(22, 8, 3, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.seo-guide h2,
.seo-guide h3 {
  color: #ffe5b7;
  line-height: 1.3;
  text-align: left;
}

.seo-guide h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.seo-guide h2:first-child {
  margin-top: 0;
}

.seo-guide h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.seo-guide p {
  margin: 0 0 14px;
  color: #f7e8d5;
  line-height: 1.75;
}

.local-business-address {
  font-style: normal;
}

.news-page .sub-page-content {
  width: min(920px, calc(100vw - 48px));
  max-width: 920px;
}

.news-static {
  color: #f7e8d5;
}

.news-lead {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}

.news-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
}

.news-topics a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 210, 125, 0.42);
  border-radius: 999px;
  color: #ffe5b7;
  background: rgba(56, 19, 5, 0.58);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.news-topics a:hover {
  border-color: #ffd27d;
  background: rgba(117, 53, 17, 0.7);
  transform: translateY(-1px);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.7fr);
  gap: 22px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid rgba(255, 210, 125, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(92, 37, 10, 0.44), rgba(13, 5, 2, 0.8)),
    rgba(24, 8, 3, 0.76);
  scroll-margin-top: 20px;
}

.news-card > img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.news-card h2,
.news-summary h2 {
  margin: 3px 0 10px;
  color: #ffe5b7;
  font-size: 24px;
  line-height: 1.3;
}

.news-card p,
.news-summary p {
  margin: 0 0 12px;
  line-height: 1.72;
}

.news-kicker {
  color: #f7b653;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-summary,
.notice-panel {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 4px solid #f1b652;
  border-radius: 8px 16px 16px 8px;
  background: rgba(45, 16, 5, 0.68);
}

.notice-panel p,
.notice-panel li {
  line-height: 1.72;
}

.notice-panel .sub-title02 {
  margin-top: 6px;
}

.notice-date {
  margin-bottom: 0;
  color: #f7b653;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#modalContent[aria-hidden="true"],
#modalLivestreamContent[aria-hidden="true"],
#modalContentRegister[aria-hidden="true"],
#modalContentGuideApk[aria-hidden="true"],
#modalAccessContent[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
}

#modalContent[aria-hidden="false"],
#modalLivestreamContent[aria-hidden="false"],
#modalContentRegister[aria-hidden="false"],
#modalContentGuideApk[aria-hidden="false"],
#modalAccessContent[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.phishing-stream video {
  background: #160804 url("bg_loading_phishing_livestream-Blv4GeMc.png") center / cover no-repeat;
  object-fit: cover;
}

.phishing-stream .sound-controls[aria-hidden="true"] {
  display: none;
}

.error {
  min-height: 1.2em;
}

@media (max-width: 768px) {
  .seo-guide {
    margin: 18px 0 24px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .seo-guide h2 {
    font-size: 21px;
  }

  .seo-guide h3 {
    font-size: 18px;
  }

  .news-page .sub-page-content {
    width: min(100% - 30px, 590px);
  }

  .news-lead {
    font-size: 16px;
    text-align: left;
  }

  .news-topics {
    justify-content: flex-start;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .news-card > img {
    max-height: 250px;
    min-height: 0;
  }

  .news-card h2,
  .news-summary h2 {
    font-size: 21px;
  }

  .news-summary,
  .notice-panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
