/* 后挂覆盖：压过 engine 注入的 .pick，不改 KEY/SLOTS/CORRECT。
 * 行内采词用绝对 ::after 做 44px 触控垫，不撑开行距。
 * 词袋/句卡/建议·越权/近失败/三回单用形状+字，不唯色、不闪绿。
 */
a.pick {
  position: relative;
  display: inline;
  padding: 0 0.12em;
  margin: 0;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  box-shadow: none;
  vertical-align: baseline;
  z-index: 1;
}
a.pick::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 44px;
  min-width: 44px;
  width: 100%;
  transform: translateY(-50%);
  box-sizing: content-box;
}
a.pick.inbag {
  border-bottom: 2px solid currentColor;
  font-style: normal;
}
a.pick.inbag::before {
  content: "·";
  font-weight: 700;
  padding-right: 0.08em;
}

.bagbox,
.bagbox.bag-slip {
  position: relative;
  border: 1px dashed #555;
  border-left: 6px solid #333;
  background-color: #f7f1e1;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 21px,
    #d8d0be 22px
  );
  min-height: 44px;
  padding: 10px 12px 10px 14px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 0;
  box-shadow: 2px 2px 0 #ccc;
}
.bagbox::before {
  content: "▣";
  display: block;
  font-size: 12px;
  color: #444;
  border-bottom: 1px dotted #888;
  margin: 0 0 6px;
  padding: 0 0 2px;
}

form#sent.sent-card,
form#sent {
  border: 1px solid #333;
  border-top-width: 4px;
  background: #f4eee0;
  padding: 12px 14px 14px;
  margin: 12px 0;
}
.sent-row select,
form#sent select {
  min-height: 44px;
  min-width: 44px;
  margin: 4px 2px;
  padding: 6px 8px;
  border: 1px solid #666;
  border-bottom-width: 2px;
  background: #fff;
  font: inherit;
  vertical-align: middle;
  box-sizing: border-box;
}
form#sent button[type="submit"] {
  min-height: 44px;
  min-width: 88px;
  padding: 8px 16px;
  box-sizing: border-box;
  cursor: pointer;
}

.auth-row label {
  display: block;
  min-height: 44px;
  line-height: 1.35;
  padding: 10px 10px 10px 12px;
  margin: 6px 0;
  border: 1px solid #777;
  box-sizing: border-box;
  background: #fff;
}
.auth-row label:has([value="recommend"]) {
  border-left: 6px solid #222;
  border-style: solid;
}
.auth-row label:has([value="approve"]),
.auth-row label:has([value="teach"]) {
  border-style: dashed;
  background: repeating-linear-gradient(
    -45deg,
    #fff 0,
    #fff 8px,
    #eee 8px,
    #eee 10px
  );
}
.auth-row label:has([value="recommend"])::before {
  content: "□ ";
  font-weight: 700;
}
.auth-row label:has([value="recommend"]:checked)::before {
  content: "■ ";
}
.auth-row label:has([value="approve"])::before,
.auth-row label:has([value="teach"])::before {
  content: "× ";
  font-weight: 700;
}

#sent-msg.near-msg:not(:empty),
#sent-msg:not(:empty) {
  border: 1px solid #333;
  border-left: 8px solid #222;
  padding: 10px 12px;
  min-height: 44px;
  margin: 10px 0 0;
  background: #fff;
  box-sizing: border-box;
}
#sent-msg:not(:empty)::before {
  content: "▸ ";
  font-weight: 700;
}

html.skin-service-cyan-desk .notice.end-filed,
.notice.end-filed,
.end-filed {
  border: 2px solid #222;
  box-shadow: inset 8px 0 0 #222;
  background: #f3f6f2;
}
.end-filed h2::before {
  content: "▣ ";
}
html.skin-service-cyan-desk .notice.end-burned,
.notice.end-burned,
.end-burned {
  border: 2px dashed #333;
  background: #f6f6f6;
}
.end-burned h2::before {
  content: "░ ";
}
html.skin-service-cyan-desk .notice.end-bounced,
.notice.end-bounced,
.end-bounced {
  border: 1px solid #222;
  outline: 2px solid #222;
  outline-offset: -6px;
  background: #fff;
}
.end-bounced h2::before {
  content: "× ";
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
a:focus,
button:focus,
select:focus,
input:focus {
  outline: 2px dashed #111;
  outline-offset: 2px;
}

html.skin-intro-manual .boot-actions a,
html.skin-intro-manual .boot-actions button,
html.skin-intro-manual .enter-link,
html.skin-intro-manual .ghost,
html.skin-intro-manual #tear {
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  box-sizing: border-box;
  line-height: 1.3;
}

html.skin-service-cyan-desk .ghost-btn,
html.skin-service-cyan-desk #search-form button,
html.skin-service-cyan-desk header a,
html.skin-service-cyan-desk .tabs a,
html.skin-service-cyan-desk button[type="submit"] {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}
html.skin-service-cyan-desk #search-input {
  min-height: 44px;
  box-sizing: border-box;
}
html.skin-service-cyan-desk header {
  flex-wrap: wrap;
  gap: 8px;
}

html.skin-shop-local-2010s #search-form button,
html.skin-shop-local-2010s nav a,
html.skin-shop-local-2010s #menubar a {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}
html.skin-shop-local-2010s #search-input {
  min-height: 44px;
  box-sizing: border-box;
}
html.skin-shop-local-2010s header,
html.skin-shop-local-2010s nav ul,
html.skin-shop-local-2010s #menubar ul {
  flex-wrap: wrap;
}

html.skin-blog-personal-2008 .nav {
  height: auto;
  min-height: 44px;
  overflow: visible;
}
html.skin-blog-personal-2008 .nav a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 10px;
}
html.skin-blog-personal-2008 .side button {
  min-height: 44px;
  height: 44px;
}

html.skin-wechat-mp-article button,
html.skin-wechat-mp-article .tail a {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}

html.skin-discuz-board .nv a,
html.skin-discuz-board .hd a,
html.skin-discuz-board .hd button,
html.skin-discuz-board .pages a,
html.skin-discuz-board .pages strong {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
  line-height: 44px;
  height: auto;
}
html.skin-discuz-board .hd {
  height: auto;
  overflow: visible;
}
html.skin-discuz-board .hd form {
  height: auto;
  padding: 8px;
}
html.skin-discuz-board .hd input {
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
}
html.skin-discuz-board .nv {
  height: auto;
  overflow: visible;
}

html.skin-gov-redbar .links {
  height: auto;
  line-height: 1.4;
  overflow: visible;
}
html.skin-gov-redbar .links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 390px) {
  html.skin-intro-manual main {
    padding: 12px;
  }
  html.skin-intro-manual .boot-actions a,
  html.skin-intro-manual .boot-actions button {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    text-align: center;
  }
  html.skin-intro-manual section {
    padding: 12px;
  }

  html.skin-service-cyan-desk #wrap {
    max-width: 100%;
  }
  html.skin-service-cyan-desk header {
    display: block;
  }
  html.skin-service-cyan-desk header > div {
    margin-top: 8px;
  }
  html.skin-service-cyan-desk .ghost-btn,
  html.skin-service-cyan-desk .tabs a {
    margin: 0 6px 8px 0;
  }
  html.skin-service-cyan-desk .notice,
  html.skin-service-cyan-desk table {
    width: auto;
    max-width: 100%;
    margin-left: 8px;
    margin-right: 8px;
  }
  html.skin-service-cyan-desk .tabs {
    display: block;
    text-align: center;
  }
  html.skin-service-cyan-desk #search-form {
    display: block;
    margin: 8px 0 0;
  }

  html.skin-shop-local-2010s #container {
    max-width: 100%;
  }
  html.skin-shop-local-2010s header {
    display: block;
  }
  html.skin-shop-local-2010s #search-form {
    margin: 8px 0;
  }
  html.skin-shop-local-2010s nav ul,
  html.skin-shop-local-2010s #menubar ul {
    display: block;
    margin: 0;
  }
  html.skin-shop-local-2010s nav a,
  html.skin-shop-local-2010s #menubar a {
    display: block;
    height: auto;
    line-height: 1.3;
    padding: 10px 12px;
    border-radius: 0;
    margin: 0 0 4px;
  }

  html.skin-blog-personal-2008 .wrap,
  html.skin-blog-personal-2008 .ft {
    width: auto;
    max-width: 100%;
  }
  html.skin-blog-personal-2008 .main,
  html.skin-blog-personal-2008 .post,
  html.skin-blog-personal-2008 article,
  html.skin-blog-personal-2008 .side,
  html.skin-blog-personal-2008 aside {
    float: none;
    width: auto;
    max-width: 100%;
  }

  html.skin-wechat-mp-article .article {
    width: auto;
    max-width: 100%;
  }

  html.skin-discuz-board .wp {
    width: auto;
    max-width: 100%;
  }
  html.skin-discuz-board .nv a,
  html.skin-discuz-board .hd a {
    float: none;
    display: inline-block;
  }
  html.skin-discuz-board .u {
    float: none;
    width: auto;
  }
  html.skin-discuz-board .t {
    margin-left: 0;
    border-left: 0;
  }

  html.skin-gov-redbar .wrap {
    width: auto;
    max-width: 100%;
  }

  .sent-row select,
  form#sent select {
    display: block;
    width: 100%;
    margin: 6px 0;
  }
}

@media (max-width: 320px) {
  html.skin-intro-manual .intro-hero h1 {
    font-size: 20px;
  }
  html.skin-service-cyan-desk .notice h2 {
    font-size: 18px;
  }
  html.skin-gov-redbar .red h1 {
    letter-spacing: 1px;
    font-size: 18px;
  }
  a.pick::after {
    left: -8px;
    right: -8px;
  }
}
