/* 复古版 — the 2011 3GQQ WAP look (yanshi.com demo: style_blue01.css + style.css), laid over site.css.
   Always light, as the original was. Component classes from site.css are flattened here into the
   original vocabulary: blue bar headings, underlined module titles, dotted lists, yellow notes, grey buttons. */
:root, :root:not([data-theme]) {
  --bg: #fff; --card: #fff; --ink: #000; --muted: #666; --line: #9FC6EC;
  --brand: #0051A4; --brand-ink: #fff; --warn-bg: #FFF9B7; --warn: #c00; --ok-bg: #E3EEF8; --ok: #080;
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "黑体", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #fff; --card: #fff; --ink: #000; --muted: #666; --line: #9FC6EC;
    --brand: #0051A4; --brand-ink: #fff; --warn-bg: #FFF9B7; --warn: #c00; --ok-bg: #E3EEF8; --ok: #080; color-scheme: light; }
}
body.skin-wap { background: #fff; color: #000; font-size: 16px; line-height: 1.5; max-width: 640px; margin: 0 auto; }
@media (min-width: 660px) { body.skin-wap { border-left: 1px solid #c6c6c6; border-right: 1px solid #c6c6c6; min-height: 100vh; } }
.skin-wap a { color: #0051A4; text-decoration: none; }
.skin-wap a:hover { text-decoration: underline; }

/* chrome */
.skin-wap .user-info { padding: 3px 5px; line-height: 1.5; }
.skin-wap .marquee { display: block; gap: 0; font-size: inherit; background: #FFF9B7; padding: 3px 5px; border-bottom: 1px solid #ccc; line-height: 1.5; }
.skin-wap .marquee ul { margin: 0; padding: 0; list-style: none; }
.skin-wap .marquee img { margin: 0 3px 0 0; vertical-align: -2px; }
.skin-wap .wid { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-wap .wap-bar { display: block; margin: 0; min-height: 25px; padding: 0 5px; background: #71afe3 url(/static/wap/bar.gif) repeat-x; background-size: auto 100%; line-height: 25px; color: #fff; }
.skin-wap .wap-bar a { color: #fff; margin-right: 6px; white-space: nowrap; }
.skin-wap .main { display: block; padding: 0; gap: 0; }
.skin-wap .footer { margin-top: 8px; padding: 5px; background: #f5fbff; border-top: 1px solid #9FC6EC; font-size: 15px; }
.skin-wap .footer p, .skin-wap .footer .fl { margin: 0; text-align: center; line-height: 22px; color: #515151; }
.skin-wap .footer .link { color: #0051A4; font: inherit; padding: 0; background: none; border: 0; min-height: 0; }
.skin-wap .footer form.inline { display: inline; }
.skin-wap .top, .skin-wap .foot { display: none; }

/* cards → plain modules; their headings become the original bars and module titles */
.skin-wap .card { background: #fff; border-radius: 0; box-shadow: none; padding: 0 5px 4px; margin: 0; border: 0; }
.skin-wap .card h1 { margin: 2px 0; font-size: 17px; font-weight: bold; color: #000; }
.skin-wap .card > h1 { margin: 0 -5px 4px; padding: 0 5px; min-height: 25px; line-height: 25px; font-size: 16px; font-weight: normal; color: #fff;
  background: #71afe3 url(/static/wap/bar.gif) repeat-x; background-size: auto 100%; }
.skin-wap .card > h1::before { content: "【"; }
.skin-wap .card > h1::after { content: "】"; }
.skin-wap .card > h1 a, .skin-wap .card > h1 .muted, .skin-wap .card > h1 small { color: #fff; font-size: 14px; }
.skin-wap .card h1 small { font-weight: normal; }
.skin-wap .card h2, .skin-wap .card h3 { margin: 8px -5px 3px; padding: 0 5px; min-height: 22px; line-height: 22px; font-size: 16px; font-weight: bold; color: #000;
  border-bottom: 4px solid #9FC6EC; background: none; }
.skin-wap .card h2 small, .skin-wap .card h2 .muted { font-weight: normal; font-size: 13px; }
.skin-wap .card h2 a { color: #0051A4; }
.skin-wap .card p { margin: 3px 0; }

/* notes and alerts */
.skin-wap .notice, .skin-wap .alert { border-radius: 0; margin: 0; padding: 3px 5px; background: #FFF9B7; border-bottom: 1px solid #9FC6EC; color: #000; }
.skin-wap .alert { color: #c00; }
.skin-wap .muted { color: #666; }
.skin-wap .small { font-size: 14px; }

/* lists: dotted rows */
.skin-wap .plist, .skin-wap .glist, .skin-wap .ulist, .skin-wap .tlist, .skin-wap .flist, .skin-wap .blist, .skin-wap .vlist { margin: 0; padding: 0; }
.skin-wap .plist > li, .skin-wap .glist > li, .skin-wap .ulist > li, .skin-wap .tlist > li, .skin-wap .flist > li, .skin-wap .blist > li, .skin-wap .vlist > li {
  padding: 2px 0 2px 12px; border: 0; border-bottom: 1px dashed #dbe8f5; border-radius: 0; background: url(/static/wap/bg_module_content_list_dot_01.gif) 4px 13px no-repeat; gap: 4px 8px; box-shadow: none; }
.skin-wap .plist > li:last-child, .skin-wap .glist > li:last-child { border-bottom: 0; }

/* buttons: the grey classic */
.skin-wap .btn, .skin-wap button.btn, .skin-wap input[type=submit] {
  display: inline-block; margin: 2px 2px 2px 0; padding: 1px 10px; min-height: 26px; line-height: 22px; border-radius: 2px; font: inherit; font-size: 15px; font-weight: normal;
  color: #000; background: linear-gradient(#fefefe, #dcdcdc); border: 1px solid #8a8a8a; box-shadow: none; }
.skin-wap .btn:hover { background: linear-gradient(#fff, #e8e8e8); text-decoration: none; }
.skin-wap .btn.ghost { background: linear-gradient(#fefefe, #ececec); color: #0051A4; border-color: #9FC6EC; }
.skin-wap .btn.small { min-height: 26px; padding: 1px 8px; font-size: 14px; }
.skin-wap .btn.danger, .skin-wap .btn.ghost.danger { color: #c00; }
.skin-wap .btn:disabled { opacity: .55; }
.skin-wap .link { color: #0051A4; }

/* form fields */
.skin-wap input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .skin-wap select, .skin-wap textarea, .skin-wap .select, .skin-wap .form input:not([type=radio]) {
  font: inherit; font-size: 15px; border: 1px solid #2e9cd3; border-radius: 0; background: #fff; color: #000; min-height: 28px; padding: 2px 4px; }
.skin-wap .form { max-width: none; gap: 2px; }
.skin-wap .form label, .skin-wap .form .label { color: #000; font-size: 15px; margin-top: 4px; }

/* small chrome */
.skin-wap .tag { border-radius: 0; background: none; padding: 0 2px; font-size: 13px; color: #f60; }
.skin-wap .tag.ok { background: none; color: #080; }
.skin-wap .tag.warn { background: none; color: #c00; }
.skin-wap .badge { border-radius: 0; background: none; color: #c00; padding: 0; margin: 0; min-width: 0; font-size: inherit; line-height: inherit; }
.skin-wap .badge::before { content: "("; }
.skin-wap .badge::after { content: ")"; }
.skin-wap .tabs, .skin-wap .chips { gap: 0; border-bottom: 0; }
.skin-wap .tabs a, .skin-wap .chips a { border: 0; border-radius: 0; padding: 0 6px 0 0; min-height: 26px; background: none; color: #0051A4; }
.skin-wap .tabs a + a::before, .skin-wap .chips a + a::before { content: "|"; color: #999; margin-right: 6px; }
.skin-wap .tabs a.current, .skin-wap .chips a.current { color: #000; font-weight: bold; background: none; border: 0; }
.skin-wap .table th, .skin-wap .table td { padding: 3px 4px; border-bottom: 1px dashed #dbe8f5; }
.skin-wap .stats { gap: 16px; margin: 4px 0; }
.skin-wap .stats dd { font-size: 16px; }
.skin-wap .pr-bar, .skin-wap .hpbar { border-radius: 0; background: #E3EEF8; height: 8px; }
.skin-wap .pr-bar > span { background: #71afe3; border-radius: 0; }
.skin-wap .gactions { gap: 4px 6px; }


/* nothing rounded, nothing floating: the original was flat */
.skin-wap *:not(input[type=radio]) { border-radius: 0 !important; box-shadow: none !important; }
.skin-wap .gtile, .skin-wap .grid-links a, .skin-wap .plot, .skin-wap .seed, .skin-wap .opt { border-color: #9FC6EC; background: #fff; }

/* retro pages written for this skin */
.skin-wap .wap-lines { list-style: none; margin: 0; padding: 0; line-height: 1.6; }
.skin-wap .wap-lines li { padding: 1px 0; }
.skin-wap .wap-links { line-height: 1.8; }
.skin-wap .wap-links a { margin-right: 4px; }
.skin-wap .hot { color: #f60; }
.skin-wap .gchip { background: none !important; color: #0051A4 !important; padding: 0 !important; border: 0 !important; }

/* the original's small icons: inline images, noble badges, topic marks */
.skin-wap img.i { vertical-align: -2px; margin-right: 2px; border: 0; }
.skin-wap .user-info a { margin-right: 4px; white-space: nowrap; }
.skin-wap .footer .clock { color: #7B7B7B; }
.skin-wap .nb { display: inline-block; margin: 0 0 0 2px; padding: 0; width: 16px; height: 16px; font-size: 0; line-height: 0; vertical-align: -3px; overflow: hidden;
  background: transparent no-repeat center / contain; color: transparent; border: 0; }
.skin-wap .nb-v, .skin-wap .nb-v1 { background-image: url(/static/wap/n/v1.gif); }
.skin-wap .nb-v2 { background-image: url(/static/wap/n/v2.gif); }
.skin-wap .nb-v3 { background-image: url(/static/wap/n/v3.gif); }
.skin-wap .nb-v4 { background-image: url(/static/wap/n/v4.gif); }
.skin-wap .nb-v5 { background-image: url(/static/wap/n/v5.gif); }
.skin-wap .nb-v6 { background-image: url(/static/wap/n/v6.gif); }
.skin-wap .nb-v7 { background-image: url(/static/wap/n/v7.gif); width: 18px; height: 18px; }
.skin-wap .nb-v8 { background-image: url(/static/wap/n/v8.gif); width: 18px; height: 18px; }
.skin-wap .nb-l, .skin-wap .nb-l1 { background-image: url(/static/wap/n/l1.png); }
.skin-wap .nb-l2 { background-image: url(/static/wap/n/l2.png); }
.skin-wap .nb-l3 { background-image: url(/static/wap/n/l3.png); }
.skin-wap .nb-l4 { background-image: url(/static/wap/n/l4.png); }
.skin-wap .nb-l5 { background-image: url(/static/wap/n/l5.png); }
.skin-wap .nb-l6 { background-image: url(/static/wap/n/l6.png); }
.skin-wap .nb-l7 { background-image: url(/static/wap/n/l7.png); }
.skin-wap .nb-l8 { background-image: url(/static/wap/n/l8.png); }
.skin-wap .nb-id { width: auto; height: auto; padding-left: 19px; font-size: 13px; line-height: 18px; vertical-align: 0; overflow: visible; color: #c00;
  background: url(/static/wap/liang.gif) no-repeat left center / 18px 18px; }
.skin-wap .tag.top, .skin-wap .tag.fine, .skin-wap .tag.lock, .skin-wap .tag.ann { display: inline-block; width: 16px; height: 16px; padding: 0; margin: 0 2px 0 0;
  font-size: 0; color: transparent; vertical-align: -3px; overflow: hidden; background: no-repeat center / contain; }
.skin-wap .tag.top { background-image: url(/static/wap/apex.gif); }
.skin-wap .tag.fine { background-image: url(/static/wap/fine.gif); }
.skin-wap .tag.lock { background-image: url(/static/wap/lock.gif); }
.skin-wap .tag.ann { width: 15px; height: 15px; background-image: url(/static/wap/notice.gif); }
.skin-wap .online { display: inline-block; width: 16px; height: 20px; margin: 0 0 0 3px; padding: 0; overflow: hidden; font-size: 0; color: transparent; vertical-align: -3px;
  background: transparent no-repeat center / contain; }
.skin-wap .online.on-m { background-image: url(/static/wap/sg.gif); }
.skin-wap .online.on-f { background-image: url(/static/wap/mn.gif); }

/* inner pages written for this skin */
.skin-wap .crumbs { margin: 3px 0; color: #000; }
.skin-wap .crumbs a { color: #0051A4; }
.skin-wap .kvl { line-height: 1.7; margin: 3px 0; }
.skin-wap .bgroup { margin: 4px 0; line-height: 1.8; }
.skin-wap .bgroup a { margin-right: 6px; }
.skin-wap .ttitle { margin: 4px 0; font-size: 17px; }
.skin-wap .wap-lines.tl li, .skin-wap .wap-lines.floors li { padding: 3px 0; border-bottom: 1px dashed #dbe8f5; }
.skin-wap .wap-lines .quote { color: #666; }
.skin-wap .wap-lines .ubb { display: inline; }
.skin-wap .wap-lines .ubb > div { display: block; }
.skin-wap .wap-pager { margin: 4px 0; }
.skin-wap .wap-form { margin: 4px 0; line-height: 1.9; }
.skin-wap .wap-form textarea { width: 100%; box-sizing: border-box; }
.skin-wap .wap-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]) { width: 100%; max-width: 320px; box-sizing: border-box; }
.skin-wap .wap-form .check { display: inline; }
.skin-wap .fpost { padding: 2px 0; }
.skin-wap .link { background: none; border: 0; padding: 0; min-height: 0; font: inherit; color: #0051A4; cursor: pointer; }
.skin-wap .link.danger { color: #c00; }
.skin-wap .tiny { width: 7em !important; min-height: 22px !important; padding: 0 2px !important; font-size: 13px !important; }
.skin-wap .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skin-wap form.inline { display: inline; margin: 0; }

/* shared components on pages without a retro template: make them read as text lines */
.skin-wap .radios { gap: 4px 14px; flex-wrap: wrap; }
.skin-wap .radios label { min-height: 26px; }
.skin-wap .radios.col { gap: 0; }
.skin-wap .form label, .skin-wap .form .label { margin-top: 3px; }
.skin-wap .check { min-height: 0; }
.skin-wap .noble-card, .skin-wap .school-card, .skin-wap .shop-tiles a, .skin-wap .grid-links a, .skin-wap .gtile > a, .skin-wap .box, .skin-wap .panel {
  border: 0 !important; border-bottom: 1px dashed #dbe8f5 !important; padding: 4px 0 !important; margin: 0 !important; background: none !important; min-height: 0 !important; }
.skin-wap .shop-tiles, .skin-wap .grid-links { display: block; margin: 2px 0; }
.skin-wap .grid-links a { display: inline-block; margin-right: 10px !important; border: 0 !important; color: #0051A4; }
.skin-wap .shop-tiles a { display: block; }
.skin-wap .stats { display: block; margin: 3px 0; }
.skin-wap .stats div { display: inline; margin-right: 10px; }
.skin-wap .stats dt, .skin-wap .stats dd { display: inline; font-size: 16px; font-weight: normal; color: #000; }
.skin-wap .stats dt::after { content: ":"; }
.skin-wap .kv { display: block; }
.skin-wap .kv dt, .skin-wap .kv dd { display: inline; color: #000; }
.skin-wap .kv dt::after { content: ":"; }
.skin-wap .kv dd::after { content: ""; display: block; }
.skin-wap .seg { border: 0; }
.skin-wap .seg a { padding: 0 6px 0 0; font-size: 15px; color: #0051A4; background: none; }
.skin-wap .seg a.on { background: none; color: #000; font-weight: bold; }
.skin-wap .plist li { padding: 3px 0; gap: 2px 8px; }
.skin-wap .glyph, .skin-wap .emblem { border: 0 !important; background: none !important; width: auto !important; height: auto !important; font-size: inherit !important; }
.skin-wap .crumbs.small { font-size: 16px; }
.skin-wap .crumbs.small a + a::before { content: ""; }
.skin-wap .table { border-collapse: collapse; }
.skin-wap .table th { background: #E3EEF8; font-weight: normal; }
.skin-wap details.more > summary { color: #0051A4; min-height: 26px; }
.skin-wap ol.rk-list { list-style: none; margin: 0; padding: 0; }
.skin-wap ol.rk-list li { display: block; padding: 1px 0; }

/* games: the original farm's picture rows */
.skin-wap .plots-wap li { display: flex; gap: 6px; align-items: flex-start; padding: 3px 0; border-bottom: 1px dashed #dbe8f5; }
.skin-wap .plots-wap .land { flex: none; width: 90px; height: 90px; border: 0; }
.skin-wap .seeds-wap label { display: inline; }
.skin-wap .seeds-wap input { vertical-align: -2px; margin: 0 3px 0 0; }
.skin-wap .plots-wap li.plot { display: flex; min-height: 0; border: 0; border-bottom: 1px dashed #dbe8f5 !important; padding: 3px 0; background: none !important; gap: 6px; }
.skin-wap .pics-wap li { display: flex; gap: 6px; align-items: center; padding: 3px 0; border-bottom: 1px dashed #dbe8f5; }
.skin-wap .pics-wap li > label { display: flex; gap: 4px; align-items: center; }
.skin-wap .pics-wap .car { flex: none; width: 80px; height: auto; max-height: 50px; object-fit: contain; }
.skin-wap .pics-wap .pet-sm { flex: none; max-width: 60px; max-height: 60px; }
.skin-wap .pet-wap { display: flex; gap: 8px; align-items: flex-end; margin: 4px 0; }
.skin-wap .pet-wap img { max-width: 140px; max-height: 140px; }
.skin-wap .wap-lines li.plot { display: block; min-height: 0; border: 0; border-bottom: 1px dashed #dbe8f5 !important; padding: 3px 0; background: none !important; }
.skin-wap .wap-lines.plots-wap li.plot { display: flex; }
.skin-wap .lineup-wap label { display: inline; margin-right: 4px; }
.skin-wap .lineup-wap input { vertical-align: -2px; margin: 0 2px 0 0; }
.skin-wap .jh-head, .skin-wap .jh-fight { padding-bottom: 0; }
.skin-wap .zh-ev { margin: 2px 0; }

/* small action buttons inside lists read as the original's [链接] */
.skin-wap li .btn.small, .skin-wap li .btn.ghost, .skin-wap .plist .btn, .skin-wap .gactions .btn.small, .skin-wap td .btn.small {
  background: none !important; border: 0 !important; padding: 0 !important; margin: 0 2px !important; min-height: 0 !important; line-height: inherit;
  color: #0051A4; font-size: 15px; cursor: pointer; }
.skin-wap li .btn.small::before, .skin-wap li .btn.ghost::before, .skin-wap .plist .btn::before, .skin-wap .gactions .btn.small::before, .skin-wap td .btn.small::before { content: "["; }
.skin-wap li .btn.small::after, .skin-wap li .btn.ghost::after, .skin-wap .plist .btn::after, .skin-wap .gactions .btn.small::after, .skin-wap td .btn.small::after { content: "]"; }
.skin-wap li .btn.danger { color: #c00; }
.skin-wap li .btn:disabled { color: #999; }
.skin-wap .plist li { display: block; }
.skin-wap .plist li > div { display: inline; }
.skin-wap .plist li form, .skin-wap .plist li .buy { display: inline; }
.skin-wap .jh-num { width: 4.5em !important; min-height: 24px !important; padding: 0 2px !important; }
.skin-wap .xiu-worn img { border: 1px solid #9FC6EC; }
.skin-wap .pics-wap .xiu-sm { flex: none; width: 60px; height: 60px; }

.skin-wap .plots-wap .fland { width: 64px; height: 64px; border-radius: 0; }
.skin-wap .plots-wap .fland .fcrop { inset: 4px; width: 56px; height: 56px; }
.skin-wap .tag.soil { background: #e7f3df; color: #2f6b22; }
.skin-wap .guide-box { border: 1px dashed #9FC6EC; background: #f5faff; padding: 4px 6px; margin: 4px 0; }
.skin-wap .guide-box ol { margin: 2px 0; padding-left: 18px; }
.skin-wap .dex-wap img.unlit { filter: grayscale(1) brightness(.3); opacity: .5; }
.skin-wap .dq { font-size: 12px; border: 0; padding: 0 2px; }
.skin-wap .pens-wap li { display: flex; gap: 6px; align-items: flex-start; }
.skin-wap .pen { border-radius: 0; }
.skin-wap .decor-row img { width: 36px; height: 36px; }
img.pix { image-rendering: pixelated; vertical-align: middle; }
.skin-wap .medal { width: 16px; height: 16px; font-size: 9px; border-width: 1px; vertical-align: -3px; margin-left: 2px; }
.skin-wap .medal.big { width: 36px; height: 36px; font-size: 17px; border-width: 2px; }
.skin-wap .nb-title { width: auto; height: auto; font-size: 12px; line-height: 16px; padding: 0 3px; vertical-align: 0; overflow: visible; color: #8C5A00; background: #FFF4D6; border: 1px solid #E0B44A; }
.skin-wap .cl.bubble { border-radius: 6px; padding: 3px 6px; }
.skin-wap .av { border-radius: 2px; }
.skin-wap .av-s { margin-right: 2px; vertical-align: -4px; }
