/* http://meyerweb.com/eric/tools/css/reset/
   v5.0.1 | 20191019
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
menu,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}
input {
  border: none; /* 去掉边框 */
  background: none; /* 去掉背景 */
  padding: 0; /* 去掉内边距 */
  margin: 0; /* 去掉外边距 */
  outline: none; /* 去掉聚焦时的外边框 */
  /* 添加其他想要的样式 */
}
body {
  line-height: 1;
}
menu,
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
a,
i {
  cursor: pointer;
}
#content {
  margin-top: 20px;
  padding: 0 15px;
}
#content p,
li {
  /* margin-bottom: 25px;
  margin-top: 25px; */
  font-size: 18px;
  /* line-height: 26px; */
}
#content ul,
li {
  list-style: inside;
}
#content h1 {
  font-family: Helvetica Neue LT, Helvetica Neue, -apple-system,
    BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.025rem;
  line-height: 1.8rem;
  margin-bottom: 24px;
  margin-left: 0;
  margin-right: 0;
  outline: none;
}

.details p {
  margin-bottom: 25px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 26px;
}

.details h1 {
  font-family: Helvetica Neue LT, Helvetica Neue, -apple-system,
    BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.025rem;
  line-height: 1.8rem;
  margin-bottom: 24px;
  margin-left: 0;
  margin-right: 0;
  outline: none;
}

img {
  width: 100%;
  box-sizing: border-box;
  object-fit: cover;
}

.t_1l {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.t_12 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.t_13 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
footer {
  color: #fff;
}
footer li {
  list-style: none;
  margin: 0;
}
.mobile_menu {
  width: 100vw;
  /* height: 100vh; */
  /* position: fixed; */
  top: 0;
  right: 0;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  z-index: 999999;
}
.mobile_menu .mobile_menu_content {
  height: 100%;
}
/* .mobile_menu .mobile_menu_content ul {
  overflow: auto;
  padding: 20px 40px;
} */
.mobile_menu .mobile_menu_content ul li a {
  width: 100%;
}
.mobile_menu .mobile_menu_content ul li {
  text-align: center;
  list-style: none;
}

.positionFixed {
  bottom: 0px;
  left: 50%;
  position: fixed;
  transform: translate(-50%, 0%);
  z-index: 999;
  width: 100%;
  background-color: #e4e4e4;
  display: flex;
  justify-content: center;
}
.positionFixed {
  bottom: 0px;
  left: 50%;
  position: fixed;
  transform: translate(-50%, 0%);
  z-index: 999;
  width: 100%;
  background-color: #e4e4e4;
  display: flex;
  justify-content: center;
}
.de_iv_adv {
  width: 100%;
  min-height: 8rem;
  background-color: #e4e4e4;
  display: flex;
  justify-content: center;
  align-items: center;
}
.t_de {
  height: 0.2rem;
  width: 100%;
  line-height: 0.3rem !important;
  font-size: 0.6rem;
  padding: 0.5rem 0 1rem 0;
  box-sizing: border-box;
  color: #707070;
  text-align: center;
  margin-bottom: 0 !important;
  background-color: #e4e4e4;
}
.gameMenu {
  position: fixed;
  left: 40px;
  top: 20px;
  z-index: 99999999;
  padding: 10px;
}
.gameMenu img {
  width: 40px !important;
  height: 40px !important;
}
.gameButtons {
  position: fixed;
  left: 0px;
  top: 60px;
  z-index: 99999999;
}
.gameButtons img {
  width: 40px !important;
  height: 40px !important;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input {
    font-size: 16px;
  }
}

/* ===== CSS Variables ===== */
:root {
  --paper: #F6F5F0;
  --card: #FFFFFF;
  --ink: #1B1D1F;
  --mut: #5C6166;
  --faint: #8A8F94;
  --green: #146C43;
  --green-dk: #0E5136;
  --tint: #EAF4EE;
  --line: #E6E4DB;
  --line2: #CFCCC0;
  --ft: #0F3D2E;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== Global resets ===== */
* { font-family: var(--sans); box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line2); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

/* ===== Utility: hide scrollbar ===== */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ===== idx-ico letter (uses attr(), cannot be done with Tailwind) ===== */
.idx-ico::before { content: attr(data-letter); font-size: 1.4rem; font-weight: 800; color: #fff; position: relative; z-index: 0; line-height: 1; }
@media (max-width: 639.98px) { .idx-ico::before { font-size: 1.2rem; } }

/* ===== FAQ marker (open/close state, cannot be done with Tailwind) ===== */
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; font-weight: 600; color: var(--green); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }

/* ===== Content typography (dynamic content from includes, cannot add Tailwind classes) ===== */
.copy { font-size: 0.9rem; color: var(--mut); line-height: 1.75; }
.copy h1, .copy h2, .copy h3 { color: var(--ink); font-weight: 800; margin: 1.4em 0 0.5em; line-height: 1.35; }
.copy h1 { font-size: 1.35rem; }
.copy h2 { font-size: 1.12rem; }
.copy h3 { font-size: 0.98rem; }
.copy p { margin-bottom: 0.9em; }
.copy ul, .copy ol { padding-left: 1.4em; margin-bottom: 0.9em; }
.copy li { margin-bottom: 0.35em; }
.copy a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.copy code { background: var(--tint); border: 1px solid var(--line); padding: 0.1em 0.4em; font-size: 0.85em; color: var(--ink); }

/* ===== Ad slot empty hide ===== */
.adv:empty { display: none; }

/* ===== Card border (Tailwind border utils not available in compiled build) ===== */
.card-bd { border: 1px solid var(--ink); transition: border-color 120ms; }
.card-bd:hover { border-color: var(--green); }
.ico-bd { border: 1px solid var(--line2); }

/* ===== Border width & style (compiled tailwind build omits these) ===== */
.border-0 { border-width: 0; }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-t-4 { border-top-width: 4px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-solid { border-style: solid; }

/* ===== Border colors ===== */
.border-transparent { border-color: transparent; }
.border-line { border-color: var(--line); }
.border-line2 { border-color: var(--line2); }
.border-ink { border-color: var(--ink); }
.border-brand { border-color: var(--green); }
.border-t-brand { border-top-color: var(--green); }
.border-l-brand { border-left-color: var(--green); }
.border-b-brand { border-bottom-color: var(--green); }

/* ===== Important border variants (! modifier) ===== */
.\!border-ink { border-color: var(--ink) !important; }
.\!border-brand { border-color: var(--green) !important; }

/* ===== Border hover variants ===== */
.hover\:border-ink:hover { border-color: var(--ink); }
.hover\:border-brand:hover { border-color: var(--green); }

/* ===== Border first-child variant ===== */
.first\:border-t-0:first-child { border-top-width: 0; }
.first\:border-l-0:first-child { border-left-width: 0; }
@media (min-width: 768px) {
  .md\:border-t-0 { border-top-width: 0; }
  .md\:border-l { border-left-width: 1px; border-left-style: solid; }
  .md\:border-line { border-left-color: var(--line); border-color: var(--line); }
  .md\:first\:border-l-0:first-child { border-left-width: 0; }
}

/* ===== Active chip state ([&.on]: variant not supported) ===== */
.on { border-color: var(--green) !important; color: var(--green); }

/* ===== first: variant for padding (in case compiled build omits) ===== */
.first\:pt-0:first-child { padding-top: 0; }
