:root {
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #11182e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #11182e;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  color: #ebf0f9;
}

.delta-news-trigger {
  position: relative;
  width: 100%;
  min-height: 76px;
  margin: 2px 0 12px;
  padding: 12px 42px 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid rgba(39, 224, 172, 0.48);
  border-radius: 10px;
  color: #ebf1f9;
  text-align: left;
  background:
    linear-gradient(100deg, rgba(15, 59, 52, 0.96), rgba(18, 26, 50, 0.97) 64%, rgba(17, 24, 46, 0.98)),
    #121931;
  box-shadow: inset 3px 0 #23e2aa, 0 8px 28px rgba(16, 22, 43, 0.28);
  cursor: pointer;
}

.delta-news-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(72, 237, 192, 0.035) 39px 40px);
}

.delta-news-trigger-label {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid rgba(45, 235, 180, 0.55);
  color: #3cf0b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.delta-news-trigger-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.delta-news-trigger-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.delta-news-trigger-copy small {
  overflow: hidden;
  color: #aab8b2;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.delta-news-trigger-arrow {
  position: absolute;
  z-index: 1;
  right: 15px;
  top: 50%;
  color: #38eab4;
  font-size: 30px;
  transform: translateY(-52%);
}

.delta-news-overlay[hidden] {
  display: none;
}

.delta-news-overlay {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: flex;
  justify-content: center;
  background: rgba(17, 23, 45, 0.92);
  backdrop-filter: blur(8px);
}

.delta-news-sheet {
  width: min(100%, 430px);
  min-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #e9eeee;
  background:
    linear-gradient(180deg, rgba(21, 48, 47, 0.7), transparent 260px),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(57, 237, 187, 0.025) 30px 31px),
    #121930;
  box-shadow: 0 0 70px rgba(16, 22, 43, 0.75);
  scrollbar-width: none;
}

.delta-news-sheet::-webkit-scrollbar {
  display: none;
}

.delta-news-header {
  position: sticky;
  z-index: 5;
  top: 0;
  min-height: 64px;
  padding: max(12px, env(safe-area-inset-top)) 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(74, 238, 195, 0.2);
  background: rgba(18, 25, 47, 0.92);
  backdrop-filter: blur(12px);
}

.delta-news-header > div {
  display: grid;
  gap: 2px;
}

.delta-news-header span {
  color: #32e6af;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.delta-news-header strong {
  font-size: 18px;
}

.delta-news-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #e8f2ef;
  font-size: 26px;
  line-height: 34px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.delta-news-body {
  padding: 16px 18px max(30px, env(safe-area-inset-bottom));
}

.delta-news-breadcrumb {
  margin: 0 0 20px;
  color: #8ea49e;
  font-size: 11px;
}

.delta-news-breadcrumb b {
  margin: 0 7px;
  color: #34e7b1;
}

.delta-news-title-block {
  position: relative;
  padding: 20px 18px 18px;
  overflow: hidden;
  border-top: 1px solid rgba(54, 235, 183, 0.55);
  border-bottom: 1px solid rgba(54, 235, 183, 0.18);
  background: linear-gradient(110deg, rgba(20, 66, 59, 0.72), rgba(18, 25, 49, 0.32));
}

.delta-news-title-block::after {
  content: "NEWS";
  position: absolute;
  right: -5px;
  bottom: -19px;
  color: rgba(74, 238, 195, 0.055);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.delta-news-title-block > span {
  color: #35e8b2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.delta-news-title-block h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 12px;
  color: #f4f7f5;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.delta-news-title-block p,
.delta-news-lead,
.delta-news-paragraph {
  position: relative;
  z-index: 1;
}

.delta-news-title-block p {
  margin: 0;
  color: #81958f;
  font-size: 10px;
}

.delta-news-lead {
  margin: 25px 4px 8px;
  color: #f0f4f2;
  font-size: 15px;
  font-weight: 700;
}

.delta-news-paragraph {
  margin: 0 4px 24px;
  color: #aebbb7;
  font-size: 13px;
  line-height: 1.9;
}

.delta-news-paragraph strong {
  color: #38e6b1;
}

.delta-news-paragraph-compact {
  margin: 13px 2px 0;
}

.delta-news-legend {
  margin: 0 4px 22px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 22, 43, 0.28);
  font-size: 9px;
}

.delta-news-legend span {
  font-weight: 800;
  white-space: nowrap;
}

.delta-news-section {
  margin-top: 23px;
  padding: 12px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(70, 225, 184, 0.22);
  border-bottom: 1px solid rgba(70, 225, 184, 0.1);
}

.delta-news-section-index {
  flex: 0 0 auto;
  color: #31e4ad;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.delta-news-section div {
  display: grid;
  gap: 1px;
}

.delta-news-section small {
  color: #65998b;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.delta-news-section h3 {
  margin: 0;
  color: #f1f5f3;
  font-size: 17px;
}

.delta-news-formula {
  margin: 14px 0;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5px 12px;
  border-left: 3px solid #32e6af;
  background: linear-gradient(90deg, rgba(24, 91, 75, 0.55), rgba(18, 26, 50, 0.65));
}

.delta-news-formula span {
  color: #91a69f;
  font-size: 11px;
}

.delta-news-formula strong {
  color: #3bedb8;
  font-size: 19px;
  text-align: right;
}

.delta-news-formula small {
  grid-column: 1 / -1;
  color: #687d77;
  font-size: 10px;
  text-align: right;
}

.delta-news-change-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delta-news-change-list > section {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(71, 235, 192, 0.15);
  background: rgba(17, 24, 46, 0.62);
}

.delta-news-change-list h4 {
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef4f2;
  font-size: 14px;
}

.delta-news-change-list section > div {
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.delta-news-change-list span {
  color: #8fa29c;
  font-size: 9px;
  white-space: nowrap;
}

.delta-news-change-list b {
  font-size: 10px;
  white-space: nowrap;
}

.delta-news-unit {
  margin: 9px 2px 0;
  color: #687b75;
  font-size: 9px;
}

.delta-news-guarantee {
  margin-top: 14px;
  border: 1px solid rgba(70, 234, 191, 0.16);
  background: rgba(17, 24, 46, 0.52);
}

.delta-news-guarantee > div {
  min-height: 43px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.delta-news-guarantee > div:last-child {
  border-bottom: 0;
}

.delta-news-guarantee-head {
  min-height: 34px !important;
  color: #6f8f86;
  font-size: 9px;
  background: rgba(39, 131, 106, 0.18);
}

.delta-news-guarantee strong {
  color: #e8efec;
  font-size: 13px;
}

.delta-news-guarantee span,
.delta-news-guarantee b {
  text-align: center;
}

.delta-news-guarantee span {
  color: #a9b6b2;
  font-size: 12px;
}

.delta-news-guarantee b {
  font-size: 13px;
}

.delta-news-escort {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.delta-news-escort section {
  padding: 13px;
  border: 1px solid rgba(71, 235, 192, 0.15);
  background: rgba(17, 24, 46, 0.58);
}

.delta-news-escort h4 {
  margin: 0 0 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef4f2;
  font-size: 13px;
}

.delta-news-escort section > div {
  min-height: 28px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 8px;
}

.delta-news-escort span {
  color: #71847e;
  font-size: 9px;
}

.delta-news-escort b {
  font-size: 11px;
  font-weight: 800;
}

.delta-news-escort p {
  margin: 7px 0 0 50px;
  color: #71847e;
  font-size: 9px;
  line-height: 1.6;
}

.delta-news-body .is-lower {
  color: #37e7b1;
}

.delta-news-body .is-higher {
  color: #ff625d;
}

.delta-news-body .is-same {
  color: #81908b;
}

.delta-news-body .is-new {
  color: #54c7ff;
}

.delta-news-body .is-removed {
  color: #b17b72;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.delta-news-notice {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(55, 231, 177, 0.42);
  color: #caffed;
  background: rgba(13, 67, 52, 0.36);
}

.delta-news-notice strong {
  color: #38e6b1;
  font-size: 14px;
}

.delta-news-notice p {
  margin: 7px 0 0;
  color: #b99d97;
  font-size: 10px;
  line-height: 1.6;
}

.delta-news-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delta-news-action {
  width: 100%;
  min-height: 50px;
  border: 1px solid #30e4ad;
  border-radius: 3px;
  color: #121930;
  font-weight: 900;
  background: linear-gradient(90deg, #29d9a4, #59f0c3);
  box-shadow: 0 8px 28px rgba(34, 218, 164, 0.16);
  cursor: pointer;
}

.delta-news-action.is-secondary {
  color: #a9fff0;
  background: rgba(19, 79, 65, 0.36);
  box-shadow: none;
}

button,
img {
  -webkit-user-drag: none;
  user-select: none;
}

button {
  font: inherit;
}

.delta-page {
  position: relative;
  width: min(100%, 390px);
  min-width: 0;
  min-height: 100vh;
  padding: 10px 12px 8px;
  overflow: visible;
  background: #11182e;
  isolation: isolate;
}

.delta-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 46, 0.02), rgba(17, 24, 46, 0.14)),
    #11182e url("delta-assets/01_通用背景/二级页_黑金通用背景.mobile.webp") center top / cover no-repeat;
}

.delta-page.is-designated-catalog {
  overflow: visible;
}

/* 顶部：按原版 390px 比例锁定 */
.delta-header {
  position: relative;
  z-index: 10;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.delta-header::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 44px;
  margin-right: 0;
  pointer-events: none;
}

.delta-back {
  flex: 0 0 20px;
  position: absolute;
  z-index: 2147483000;
  top: 9px;
  left: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.delta-back img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 34px;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}

.delta-logo,
.delta-brand,
.delta-title-bg,
.delta-title-text {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.delta-back:focus-visible,
.notice-toggle:focus-visible,
.category-button:focus-visible,
.sort-button:focus-visible,
.item-card:focus-visible {
  outline: 2px solid #7288d1;
  outline-offset: 2px;
}

.delta-logo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.delta-brand {
  flex: 0 0 124px;
  width: 124px;
  height: 27px;
}

.delta-title-capsule {
  position: absolute;
  right: 0;
  top: 15px;
  width: 126px;
  height: 31px;
}

.delta-title-bg,
.delta-title-text {
  position: absolute;
  inset: 0;
}

.delta-title-text {
  inset: 7px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 14px);
}

.delta-title-label {
  position: absolute;
  z-index: 1;
  inset: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3d3ed;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(16, 22, 43, 0.92);
}

[hidden] {
  display: none !important;
}

/* 始终可用的价目搜索 */
.catalog-search {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

.catalog-search-bar {
  min-height: 30px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 3px;
  padding: 0 3px 0 7px;
  border: 1px solid rgba(84, 108, 186, 0.72);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(20, 29, 55, 0.98), rgba(17, 24, 47, 0.98));
  box-shadow: inset 0 0 12px rgba(64, 92, 185, 0.09);
}

.catalog-search:focus-within .catalog-search-bar {
  border-color: rgba(115, 138, 216, 0.95);
  box-shadow: 0 7px 20px rgba(16, 22, 43, 0.38), 0 0 0 2px rgba(85, 111, 197, 0.12);
}

.catalog-search-icon {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1.5px solid #7285c5;
  border-radius: 50%;
  pointer-events: none;
}

.catalog-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  border-radius: 2px;
  background: #7285c5;
  transform: rotate(45deg);
  transform-origin: left center;
}

.catalog-search-input {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dee6f5;
  font: inherit;
  font-size: 11px;
  caret-color: #768dd8;
}

.catalog-search-input::placeholder {
  color: #586caf;
  opacity: 1;
}

.catalog-search-input::-webkit-search-cancel-button {
  display: none;
}

.catalog-search-clear {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(35, 50, 98, 0.34);
  color: #8fa0d7;
  font-size: 18px;
  line-height: 22px;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.catalog-search-results {
  position: absolute;
  z-index: 1;
  top: calc(100% + 5px);
  right: 0;
  left: auto;
  width: min(300px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid rgba(86, 109, 187, 0.68);
  border-radius: 11px;
  background: rgba(17, 24, 46, 0.985);
  box-shadow: 0 16px 34px rgba(16, 22, 43, 0.58), inset 0 0 20px rgba(64, 92, 185, 0.07);
}

.catalog-search-result {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 10px 11px;
  border: 1px solid rgba(60, 82, 154, 0.48);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(21, 30, 58, 0.96), rgba(18, 25, 48, 0.96));
  color: #dbe5f4;
  text-align: left;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.catalog-search-result-heading {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.catalog-search-result-heading strong {
  overflow: hidden;
  color: #abc1e5;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-result-heading small {
  flex: 0 0 auto;
  color: #4b5e9b;
  font-size: 9px;
}

.catalog-search-result-group {
  color: #7384bb;
  font-size: 10px;
  text-align: right;
  white-space: nowrap;
}

.catalog-search-result-meta {
  color: #7a8fd3;
  font-size: 11px;
}

.catalog-search-result-description {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #8a98c6;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-empty {
  margin: 0;
  padding: 11px 10px;
  color: #8291c3;
  font-size: 12px;
  text-align: center;
}

.item-card.is-search-target {
  outline: 2px solid rgba(112, 137, 219, 0.96);
  outline-offset: 3px;
  animation: search-target-pulse 600ms ease-in-out 3 alternate;
}

/* 点单须知：收起态严格压到原版高度 */
.notice-panel {
  position: relative;
  min-height: 145px;
  margin: 12px 5px 0;
  padding: 13px 18px 12px;
  overflow: hidden;
  transition: min-height 240ms cubic-bezier(.22,.72,.28,1);
}

.notice-panel.is-expanded {
  min-height: 690px;
  border: 1px solid rgba(114, 133, 196, 0.68);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(23, 32, 62, 0.97), rgba(19, 26, 51, 0.99) 19%, rgba(18, 25, 48, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(207, 220, 240, 0.05),
    0 7px 18px rgba(16, 22, 43, 0.26);
}

.notice-panel.is-expanded .notice-frame {
  display: none;
}

.notice-frame {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.notice-toolbar {
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(72, 91, 151, 0.36);
}

.notice-speaker {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 8px;
}

.notice-toolbar h1 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #e1e9f6;
  white-space: nowrap;
}

.notice-toggle {
  margin-left: auto;
  padding: 4px 0 4px 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #8797ca;
  font-size: 12px;
  cursor: pointer;
}

.notice-toggle img {
  width: 10px;
  height: 7px;
  object-fit: contain;
  transition: transform 240ms ease;
}

.notice-panel.is-expanded .notice-toggle img {
  transform: rotate(180deg);
}

.notice-list {
  margin: 8px 0 0;
  padding-left: 26px;
  display: grid;
  gap: 4px;
  color: #d6e1f2;
  font-size: 11px;
  line-height: 1.45;
}

.notice-list li {
  padding-left: 2px;
}

.notice-panel:not(.is-expanded) .notice-list li {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 分类区 */
.category-section {
  margin-top: 24px;
}

.category-heading-wrap {
  position: relative;
  width: 112px;
  height: 22px;
  margin-left: 5px;
}

.category-heading-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-heading-wrap h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.category-list {
  margin-top: 13px;
  padding: 6px 7px 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-button {
  position: relative;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e4ebf7;
  scroll-snap-align: start;
  cursor: pointer;
  transform-origin: center;
  transition: transform 160ms ease;
}

.category-button[aria-selected="true"] {
  transform: scale(1.08);
  z-index: 2;
}

.category-button[aria-selected="false"] {
  transform: scale(1);
  z-index: 1;
}

.category-button > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(0);
  transition: filter 140ms ease;
}

/*
 * 分类按钮始终使用同一张未选中底图。
 * 选中时只提升金边亮度并增加透明金色光晕，避免切换另一张
 * 带外部暗影的 PNG 后按钮视觉缩小、外围露出黑块。
 */
.category-button[aria-selected="true"] > img {
  filter:
    brightness(1.20)
    saturate(1.12)
    drop-shadow(0 0 2px rgba(118, 144, 229, 0.88))
    drop-shadow(0 0 5px rgba(60, 93, 200, 0.62));
}

.category-button[aria-selected="false"] > img {
  filter: none;
}

.category-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.category-copy strong {
  color: #b3c8e8;
  font: 700 23px/1 "STKaiti", "KaiTi", serif;
}

.category-copy span {
  font-size: 12px;
  color: #dce5f4;
}

.category-button[aria-selected="true"] .category-copy strong {
  color: #b2c6e7;
}

/* 筛选与列表 */
.items-section {
  margin-top: 16px;
}

.sort-list {
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 7px;
}

.sort-button {
  position: relative;
  width: 62px;
  height: 29px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e6edf7;
  font-size: 13px;
  cursor: pointer;
}

.sort-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sort-button span {
  position: relative;
  z-index: 1;
}

.sort-button[aria-pressed="true"] span {
  color: #a0bae2;
  font-weight: 700;
}

.item-list {
  margin-top: 8px;
  display: grid;
  gap: 16px;
}

.customer-service-detail {
  display: grid;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(100, 123, 199, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 4%, rgba(91, 118, 208, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(18, 25, 49, 0.96), rgba(16, 23, 45, 0.98));
  box-shadow: 0 14px 34px rgba(16, 22, 43, 0.38), inset 0 0 22px rgba(72, 100, 191, 0.06);
}

.customer-service-selection {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid rgba(84, 108, 187, 0.36);
  border-radius: 10px;
  background: rgba(17, 23, 45, 0.76);
}

.customer-service-selection span {
  color: #586caf;
  font-size: 11px;
}

.customer-service-selection strong {
  min-width: 0;
  color: #e1e9f6;
  font-size: 14px;
}

.customer-service-selection em {
  color: #6882d9;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.customer-service-qr {
  overflow: hidden;
  width: min(100%, 328px);
  margin: 0 auto;
  border: 1px solid rgba(121, 143, 215, 0.68);
  border-radius: 14px;
  background: #ebf1f9;
  box-shadow: 0 10px 28px rgba(16, 22, 43, 0.34);
}

.customer-service-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.customer-service-copy {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 3px 4px 5px;
  text-align: center;
}

.customer-service-copy > span {
  color: #44558c;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.customer-service-copy h2 {
  margin: 0;
  color: #738cdc;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.customer-service-copy p {
  margin: 0;
  color: #aec4e6;
  font-size: 13px;
  line-height: 1.65;
}

.customer-service-copy > strong {
  margin-top: 3px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 53, 115, 0.28), rgba(91, 117, 202, 0.18), rgba(34, 53, 115, 0.28));
  color: #c2d2ec;
  font-size: 12px;
}

@media (max-width: 360px) {
  .customer-service-selection {
    grid-template-columns: 1fr auto;
  }

  .customer-service-selection span {
    grid-column: 1 / -1;
  }
}

.item-card {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 8px;
  column-gap: 17px;
  align-items: center;
  width: 100%;
  height: 112px;
  padding: 10px 13px 10px 11px;
  border: 0;
  background: transparent;
  color: #ebf1f9;
  cursor: pointer;
  text-align: left;
}

.item-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.item-cover {
  z-index: 1;
  justify-self: start;
  align-self: center;
  width: 94px;
  height: 91px;
  object-fit: fill;
}

/* 任务分类的原始封面为正方形；沿用同一卡片尺寸，只禁止拉伸。 */
.item-list[data-active-category="task"] .item-cover {
  object-fit: contain;
}

.item-title {
  z-index: 1;
  min-width: 0;
  align-self: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.item-mode-label {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(118, 140, 212, 0.55);
  border-radius: 999px;
  background: rgba(38, 55, 109, 0.18);
  color: #a5bde3;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}

.item-arrow {
  z-index: 1;
  justify-self: end;
  align-self: center;
  width: 8px;
  height: 16px;
  object-fit: contain;
}

.item-card.is-generic {
  grid-template-columns: minmax(0, 1fr) 8px;
  column-gap: 18px;
  padding-inline: 24px 17px;
}

.item-generic-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.item-card.is-generic .item-title {
  color: #c8d7ee;
  font-size: 17px;
  white-space: normal;
}

.item-status {
  color: #7585bc;
  font-size: 12px;
  line-height: 1.3;
}

.king-companion-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px 1px;
  border-bottom: 1px solid rgba(87, 113, 200, 0.42);
}

.king-billing-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(86, 112, 197, 0.38);
  border-radius: 12px;
  background: rgba(17, 24, 46, 0.9);
}

[data-game="king"] .category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 7px 0;
}

[data-game="king"] .category-button {
  width: auto;
  height: auto;
  min-height: 74px;
  border: 1px solid rgba(86, 112, 197, 0.4);
  border-radius: 10px;
  background: linear-gradient(135deg, #141c37, #121930);
  transform: none;
}

[data-game="king"] .category-button[aria-selected="true"] {
  border-color: #657ecf;
  box-shadow: inset 0 0 16px rgba(70, 97, 187, 0.15);
}

[data-game="king"] .category-button > img {
  display: none;
}

[data-game="king"] .category-copy {
  position: static;
  height: 100%;
  padding: 10px 4px;
  gap: 5px;
}

[data-game="king"] .category-copy strong {
  font: 700 16px/1.3 "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}

[data-game="king"] .category-copy span {
  color: #7586bd;
  font-size: 10px;
  line-height: 1.5;
}

.king-billing-switch button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #7586bd;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.king-billing-switch button.is-active {
  border-color: rgba(88, 117, 214, 0.72);
  background: linear-gradient(120deg, rgba(30, 48, 108, 0.38), rgba(20, 28, 55, 0.65));
  color: #9eb8e1;
  font-weight: 700;
}

.king-billing-switch button:focus-visible {
  outline: 2px solid #9eb8e1;
  outline-offset: 2px;
}

.king-companion-card.has-two-tiers .king-companion-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.king-companion-unit {
  display: block;
  margin-top: 3px;
  color: #7586bd;
  font-size: 10px;
  font-weight: 400;
}

.king-companion-unit.is-inline {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

.king-companion-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #7586bd;
  font-size: 12px;
  line-height: 1.7;
}

.king-companion-price-cell del {
  color: #495b97;
  font-size: 10px;
}

.king-package-rank-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(86, 112, 197, 0.4);
  border-radius: 10px;
  color: #a6bde4;
  background: #121a32;
  font-size: 13px;
}

.king-package-rank-picker select {
  min-height: 40px;
  max-width: 65%;
  padding: 6px 10px;
  border: 1px solid rgba(86, 112, 197, 0.5);
  border-radius: 7px;
  background: #121931;
  color: #a6bde4;
  font: inherit;
}

.king-companion-section-heading strong {
  color: #a6bde4;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.king-companion-section-heading span {
  color: #5c70b1;
  font-size: 11px;
  text-align: right;
}

.king-companion-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 112px;
  padding: 17px 15px;
  overflow: hidden;
  border: 1px solid rgba(86, 112, 197, 0.62);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(21, 30, 58, 0.94), rgba(17, 24, 46, 0.98) 55%, rgba(19, 26, 50, 0.96)),
    #11182e;
  box-shadow:
    inset 0 0 0 1px rgba(176, 197, 231, 0.08),
    0 7px 18px rgba(16, 22, 43, 0.34);
}

.king-companion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(171, 193, 229, 0.07) 50%, transparent 64%);
}

.king-companion-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #cad8ef;
  font-size: 17px;
  line-height: 1.3;
}

.king-companion-price-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.king-companion-price-cell {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 2px;
  border: 1px solid rgba(82, 106, 184, 0.28);
  border-radius: 8px;
  background: rgba(16, 22, 43, 0.34);
}

.king-companion-price-cell small {
  color: #6074b3;
  font-size: 10px;
  white-space: nowrap;
}

.king-companion-price-cell strong {
  color: #758ede;
  font-size: 13px;
  white-space: nowrap;
}

.king-companion-card.is-extra {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
}

.king-companion-extra-price {
  position: relative;
  z-index: 1;
  color: #758ede;
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 370px) {
  .king-companion-card {
    padding-inline: 11px;
  }

  .king-companion-price-grid {
    gap: 4px;
  }

  .king-companion-price-cell strong {
    font-size: 12px;
  }

  .king-companion-card.is-extra {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .king-companion-extra-price {
    text-align: left;
  }
}

.designated-toolbar {
  position: sticky;
  z-index: 2147482000;
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  display: grid;
  grid-template-columns: auto auto minmax(70px, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(84, 108, 186, 0.55);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20, 29, 55, 0.96), rgba(17, 24, 47, 0.96));
  box-shadow: inset 0 0 18px rgba(64, 92, 185, 0.08);
}

.designated-toolbar strong {
  color: #aac1e5;
  font-size: 15px;
}

.designated-toolbar > span {
  color: #5266a9;
  font-size: 10px;
}

.designated-return {
  min-width: 58px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(103, 125, 198, 0.58);
  border-radius: 7px;
  background: rgba(18, 25, 48, 0.9);
  color: #bdcfeb;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.designated-section {
  display: grid;
  gap: 10px;
}

.designated-section h3 {
  position: relative;
  margin: 7px 0 0;
  padding: 8px 12px 8px 18px;
  color: #abc1e5;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(64, 88, 166, 0.48);
}

.designated-section h3::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(#849adf, #24387a);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(93, 121, 211, 0.42);
}

.price-item-card {
  grid-template-columns: 74px minmax(0, 1fr);
  column-gap: 12px;
  min-height: 116px;
  height: auto;
  padding: 12px 15px 12px 12px;
  cursor: default;
}

.price-item-card.has-no-cover {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 20px;
}

.price-item-covers {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 82px;
}

.price-item-covers img {
  max-width: 72px;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(16, 22, 43, 0.55));
}

.price-item-covers.is-pair img {
  width: 47px;
  max-height: 68px;
  margin-inline: -5px;
}

.price-item-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.feast-price-item-card.is-detail-entry {
  grid-template-columns: minmax(0, 1fr) 14px;
  cursor: pointer;
  touch-action: manipulation;
}

.entertainment-detail-arrow {
  position: relative;
  z-index: 1;
  justify-self: end;
  color: #6c82cb;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.entertainment-detail-figure {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(88, 110, 181, 0.42);
  border-radius: 12px;
  background: #11182f;
  box-shadow: 0 6px 18px rgba(16, 22, 43, 0.22);
}

.task-detail-figure {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(88, 110, 181, 0.44);
  border-radius: 12px;
  background: #11182f;
  box-shadow: 0 6px 18px rgba(16, 22, 43, 0.22);
}

.entertainment-detail-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.task-detail-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.threebythree-task-detail {
  min-width: 0;
  display: grid;
  gap: 12px;
  color: #e6edf7;
  font-variant-numeric: tabular-nums;
}

.threebythree-task-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  padding: 18px 17px 16px;
  border: 1px solid rgba(90, 108, 255, 0.58);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 14%, rgba(56, 80, 255, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(21, 29, 56, 0.98), rgba(18, 25, 49, 0.99) 67%);
  box-shadow: inset 0 0 24px rgba(54, 76, 255, 0.07), 0 8px 22px rgba(16, 22, 43, 0.28);
}

.threebythree-task-hero::after {
  content: "3×3";
  position: absolute;
  right: 12px;
  bottom: -13px;
  color: rgba(112, 136, 217, 0.075);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.threebythree-task-hero span,
.threebythree-task-hero h2,
.threebythree-task-hero p {
  position: relative;
  z-index: 1;
}

.threebythree-task-hero span {
  color: #8496ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.threebythree-task-hero h2 {
  margin: 0;
  color: #c2d2ec;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.055em;
}

.threebythree-task-hero p {
  margin: 1px 0 0;
  color: #909eca;
  font-size: 12px;
}

.threebythree-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(85, 104, 255, 0.34);
  border-radius: 13px;
  background: rgba(18, 25, 48, 0.94);
}

.threebythree-category-tabs button {
  position: relative;
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 7px 18px 7px 5px;
  border: 2px solid rgba(114, 131, 255, 0.52);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(39, 47, 113, 0.34), rgba(19, 26, 51, 0.92));
  color: #bdb8ad;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: inset 0 0 0 1px rgba(181, 188, 255, 0.04), 0 3px 8px rgba(16, 22, 43, 0.22);
}

.threebythree-category-tabs button::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 7px;
  color: #91a1ff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.threebythree-category-tabs button strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.25;
}

.threebythree-category-tabs button small {
  color: #7888db;
  font-size: 8px;
}

.threebythree-category-tabs button[aria-selected="true"] {
  border-color: #7e94dd;
  background: linear-gradient(145deg, rgba(35, 59, 136, 0.76), rgba(22, 30, 58, 0.86));
  color: #c5d4ed;
  box-shadow: inset 0 0 12px rgba(120, 145, 229, 0.08), 0 0 12px rgba(66, 95, 191, 0.13);
}

.threebythree-category-tabs button[aria-selected="true"]::after {
  content: "✓";
  color: #c5d4ed;
  font-size: 13px;
}

@media (hover: hover) {
  .threebythree-category-tabs button:hover:not([aria-selected="true"]),
  .threebythree-stage-tabs button:hover:not([aria-selected="true"]) {
    border-color: rgba(173, 183, 255, 0.76);
    background-color: rgba(56, 67, 150, 0.34);
  }
}

.threebythree-category-tabs button:active,
.threebythree-stage-tabs button:active {
  transform: translateY(1px);
}

.threebythree-category-tabs button[aria-selected="true"] small {
  color: #8295d3;
}

.threebythree-category-view {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.threebythree-category-view[hidden] {
  display: none;
}

.threebythree-interaction-hint {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -3px 0 0;
  padding: 8px 10px;
  border: 1px dashed rgba(111, 130, 255, 0.46);
  border-radius: 9px;
  background: rgba(28, 34, 83, 0.22);
  color: #a8abc0;
  font-size: 9px;
  line-height: 1.45;
}

.threebythree-interaction-hint strong {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 5px;
  background: #4155c8;
  color: #f0f2ff;
  font-size: 9px;
}

.threebythree-interaction-hint.is-stage {
  margin: 0;
}

.threebythree-view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 2px;
}

.threebythree-view-heading h3 {
  margin: 0;
  color: #9eb8e1;
  font-size: 18px;
  letter-spacing: 0.035em;
}

.threebythree-view-heading span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(102, 127, 211, 0.42);
  border-radius: 999px;
  color: #7789c2;
  font-size: 9px;
}

.threebythree-view-heading.is-contract h3 {
  color: #d9dcff;
}

.threebythree-view-heading.is-contract span {
  border-color: rgba(96, 114, 255, 0.42);
  color: #92a1ff;
}

.threebythree-insurance-comparison {
  overflow: hidden;
  border: 1px solid rgba(88, 109, 180, 0.28);
  border-radius: 12px;
}

.regular-companion-table.threebythree-insurance-table {
  table-layout: fixed;
  border: 0;
}

.regular-companion-table.threebythree-insurance-table th,
.regular-companion-table.threebythree-insurance-table td {
  padding: 15px 11px;
}

.threebythree-insurance-table thead th:nth-child(n + 2) {
  text-align: right;
}

.threebythree-insurance-table tbody th strong {
  font-size: 14px;
}

.threebythree-insurance-table tbody th small {
  display: block;
  margin-top: 5px;
  color: #8493c4;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.threebythree-insurance-table td strong {
  color: #a5bde3;
  font-size: 20px;
}

.threebythree-insurance-note {
  margin: 0;
  color: #8493c4;
  font-size: 12px;
  line-height: 1.6;
}

.sand-safe-fun-detail {
  display: grid;
  gap: 18px;
}

.sand-safe-price-card .aggressive-choice-head {
  flex-wrap: wrap;
}

.sand-safe-price-card .aggressive-choice-head b {
  color: #a5bde3;
  font-size: 23px;
}

.sand-safe-copy-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: #a5bde3;
  font-size: 12px;
  line-height: 1.7;
}

.sand-safe-bonus-box {
  padding: 12px;
  border: 1px solid rgba(94, 116, 190, 0.25);
  border-radius: 12px;
  background: rgba(34, 48, 92, 0.12);
}

.sand-safe-bonus-box h4 {
  margin: 0 0 8px;
  color: #abc1e5;
  font-size: 13px;
}

.sand-safe-bonus-box p,
.sand-safe-chain-note {
  margin: 0;
  color: #a5bde3;
  font-size: 12px;
  line-height: 1.7;
}

.sand-safe-addon {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(70, 96, 180, 0.17);
  color: #a5bde3;
  font-size: 13px;
  line-height: 1.6;
}

.sand-safe-addon b {
  margin-right: 6px;
}

.sand-safe-guarantee {
  margin: 0;
  color: #a5bde3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.threebythree-insurance-service .aggressive-choice-head {
  flex-wrap: wrap;
}

.threebythree-insurance-service .aggressive-choice-head b {
  color: #a5bde3;
  font-size: 18px;
}

.threebythree-friends-table th,
.threebythree-friends-table td {
  padding: 11px 6px;
  font-size: 12px;
}

.threebythree-friends-table thead th:nth-child(n + 2) {
  text-align: right;
  white-space: nowrap;
}

.threebythree-contract-bundles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.threebythree-contract-bundles > span {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 10px 5px;
  border: 0;
  border-top: 2px solid rgba(89, 115, 201, 0.62);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(33, 47, 91, 0.7), rgba(19, 26, 50, 0.96));
  text-align: center;
}

.threebythree-contract-bundles em {
  color: #a0bae2;
  font-size: 9px;
  font-style: normal;
  line-height: 1.25;
}

.threebythree-contract-bundles strong {
  color: #859ce8;
  font-size: 17px;
}

.threebythree-task-group.is-contract {
  border-color: rgba(72, 94, 255, 0.48);
}

.threebythree-task-group.is-contract > header {
  background: linear-gradient(90deg, rgba(42, 55, 166, 0.64), rgba(15, 16, 25, 0.82));
}

.threebythree-bundles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.threebythree-bundle {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 7px;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid rgba(85, 104, 255, 0.36);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 39, 86, 0.48), rgba(18, 26, 50, 0.96));
}

.threebythree-bundle:last-child {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(27, 38, 73, 0.66), rgba(19, 26, 51, 0.96));
  border-color: rgba(89, 115, 203, 0.48);
}

.threebythree-bundle em {
  min-width: 0;
  color: #aac1e5;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.threebythree-bundle strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #7a91de;
  font-size: 17px;
}

.threebythree-bundle small {
  color: #778cff;
  font-size: 9px;
}

.threebythree-stage-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(85, 104, 255, 0.3);
  border-radius: 12px;
  background: rgba(18, 25, 48, 0.92);
}

.threebythree-stage-tabs button {
  position: relative;
  min-width: 0;
  min-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 2px solid rgba(104, 119, 255, 0.46);
  border-radius: 8px;
  background: rgba(39, 47, 113, 0.22);
  color: #b8b4aa;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.threebythree-stage-tabs button::after {
  content: "点击";
  color: #7f91f5;
  font-size: 8px;
  font-weight: 650;
}

.threebythree-stage-tabs button[aria-selected="true"] {
  border-color: rgba(112, 136, 217, 0.74);
  background: linear-gradient(135deg, rgba(38, 63, 146, 0.72), rgba(22, 31, 60, 0.76));
  color: #c4d3ed;
  box-shadow: 0 0 11px rgba(66, 95, 191, 0.15);
}

.threebythree-stage-tabs button[aria-selected="true"]::after {
  content: "当前";
  color: #c2d2ec;
}

.threebythree-stage-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.threebythree-stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 2px;
}

.threebythree-stage-heading h3 {
  margin: 0;
  color: #8ca0e1;
  font-size: 18px;
  letter-spacing: 0.035em;
}

.threebythree-stage-heading span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(96, 114, 255, 0.38);
  border-radius: 999px;
  color: #8fa0ff;
  font-size: 9px;
}

.threebythree-source-note {
  margin: 0;
  padding: 9px 10px;
  border-left: 3px solid #6278c1;
  border-radius: 0 8px 8px 0;
  background: rgba(33, 48, 96, 0.16);
  color: #8a98c6;
  font-size: 10px;
  line-height: 1.55;
}

.threebythree-task-group {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: rgba(18, 25, 48, 0.94);
  box-shadow: inset 0 0 0 1px rgba(85, 104, 255, 0.16);
}

.threebythree-task-group > header {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(91, 108, 255, 0.28);
  background: linear-gradient(90deg, rgba(39, 48, 125, 0.48), rgba(18, 18, 23, 0.72));
}

.threebythree-task-group h3 {
  margin: 0;
  color: #d9dcff;
  font-size: 14px;
}

.threebythree-task-group > header > span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(113, 137, 217, 0.46);
  border-radius: 7px;
  color: #909eca;
  font-size: 10px;
}

.threebythree-task-group > header strong {
  color: #6f88db;
  font-size: 13px;
}

.threebythree-task-list {
  display: grid;
}

.threebythree-task-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  min-height: 50px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.008);
}

.threebythree-task-row:nth-child(even) {
  background: rgba(73, 88, 203, 0.035);
}

.threebythree-task-row:not(:last-child) {
  border-bottom: 1px solid rgba(84, 98, 194, 0.15);
}

.threebythree-task-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.threebythree-task-copy > em {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #d3dff1;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.3;
}

.threebythree-task-copy > small {
  overflow-wrap: anywhere;
  color: #9da4bd;
  font-size: 10px;
  line-height: 1.45;
}

.threebythree-task-price {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 1px;
  padding-top: 1px;
}

.threebythree-task-price strong {
  color: #738bdb;
  font-size: 15px;
}

.threebythree-task-price small {
  color: #7f91f5;
  font-size: 8px;
}

.threebythree-task-row.is-submission .threebythree-task-price strong {
  color: #98a4cd;
  font-size: 11px;
}

.threebythree-task-row.is-submission .threebythree-task-price small {
  color: #5c70b1;
}

.department-task-detail {
  min-width: 0;
  display: grid;
  gap: 13px;
  color: #e2eaf6;
  font-variant-numeric: tabular-nums;
}

.department-task-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  padding: 18px 17px 16px;
  border: 1px solid rgba(91, 117, 202, 0.56);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 12%, rgba(93, 121, 211, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(22, 31, 60, 0.96), rgba(17, 24, 47, 0.98) 67%);
  box-shadow: inset 0 0 22px rgba(71, 100, 193, 0.07), 0 8px 22px rgba(16, 22, 43, 0.26);
}

.department-task-hero::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(99, 125, 208, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(99, 125, 208, 0.035), 0 0 0 25px rgba(99, 125, 208, 0.02);
}

.department-task-hero span {
  position: relative;
  z-index: 1;
  color: #6b80c4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.department-task-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c6d5ed;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(65, 95, 192, 0.18);
}

.department-task-hero p {
  position: relative;
  z-index: 1;
  margin: 1px 0 0;
  color: #7182ba;
  font-size: 11px;
  line-height: 1.55;
}

.department-price-tables {
  display: grid;
  gap: 12px;
}

.department-price-table {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(88, 110, 181, 0.38);
  border-spacing: 0;
  border-radius: 13px;
  table-layout: fixed;
  background: rgba(17, 24, 47, 0.93);
  box-shadow: 0 7px 19px rgba(16, 22, 43, 0.22);
}

.department-price-table caption {
  padding: 11px 13px 10px;
  border-bottom: 1px solid rgba(88, 110, 181, 0.3);
  background: linear-gradient(90deg, rgba(33, 46, 88, 0.58), rgba(20, 28, 54, 0.62));
  color: #8b9fe0;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0.04em;
}

.department-price-table th,
.department-price-table td {
  width: 33.333%;
  padding: 9px 5px;
  border: 0;
  text-align: center;
  white-space: nowrap;
}

.department-price-table thead th {
  background: rgba(98, 124, 208, 0.07);
  color: #6477b5;
  font-size: 11px;
  font-weight: 650;
}

.department-price-table tbody tr:not(:last-child) > * {
  border-bottom: 1px solid rgba(88, 110, 181, 0.13);
}

.department-price-table tbody th {
  color: #adc2e6;
  font-size: 12px;
  font-weight: 650;
}

.department-price-table tbody td {
  color: #758ddb;
  font-size: 14px;
  font-weight: 800;
}

.department-price-table tbody td:last-child {
  color: #bfd0eb;
  background: rgba(77, 104, 191, 0.045);
}

.department-task-points,
.department-task-bonuses {
  padding: 13px;
  border: 1px solid rgba(88, 110, 181, 0.34);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(20, 28, 53, 0.94), rgba(17, 24, 47, 0.96));
  box-shadow: 0 7px 19px rgba(16, 22, 43, 0.2);
}

.department-task-points h3,
.department-task-bonuses h3 {
  margin: 0;
  color: #8b9fe0;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.department-task-points > p {
  margin: 3px 0 10px;
  color: #6073b2;
  font-size: 11px;
}

.department-point-table {
  box-shadow: none;
}

.department-bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.department-bonus-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 39px;
  padding: 8px 9px;
  border: 1px solid rgba(93, 118, 200, 0.22);
  border-radius: 9px;
  background: rgba(80, 108, 199, 0.055);
}

.department-bonus-item em {
  min-width: 0;
  color: #93a0cb;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.department-bonus-item strong {
  flex: 0 0 auto;
  color: #6d86d9;
  font-size: 14px;
}

.escort-detail-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(88, 110, 181, 0.42);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(21, 30, 58, 0.72), rgba(18, 25, 48, 0.94));
}

.escort-detail-summary > span {
  color: #6477b5;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.escort-detail-summary > strong {
  color: #a0b9e2;
  font-size: 15px;
  line-height: 1.35;
  text-align: right;
}

.escort-platform-list {
  display: grid;
  gap: 14px;
}

.escort-platform-selector {
  gap: 10px;
  border-color: rgba(88, 110, 181, 0.28);
  background: linear-gradient(145deg, rgba(20, 27, 53, 0.82), rgba(17, 24, 47, 0.84));
}

.escort-platform-card {
  overflow: hidden;
  padding: 0 13px 12px;
  border: 1px solid rgba(88, 110, 181, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(21, 30, 57, 0.64), rgba(17, 24, 47, 0.95) 48%, rgba(20, 27, 53, 0.82));
  box-shadow: 0 7px 20px rgba(16, 22, 43, 0.24);
}

.escort-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -13px 11px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(88, 110, 181, 0.28);
  background: rgba(17, 24, 47, 0.64);
}

.escort-platform-header strong {
  color: #c9d7ee;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.escort-platform-badge {
  min-width: 48px;
  padding: 4px 10px;
  border: 1px solid rgba(105, 128, 204, 0.52);
  border-radius: 999px;
  color: #8195d6;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.escort-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 11px;
  padding: 10px 11px;
  border: 1px solid rgba(88, 110, 181, 0.25);
  border-radius: 8px;
  background: rgba(88, 110, 181, 0.08);
}

.escort-experience span {
  color: #909eca;
  font-size: 12px;
}

.escort-experience b {
  color: #a8bfe4;
  font-size: 17px;
}

.escort-experience strong {
  color: #e76d63;
  font-size: 15px;
}

.escort-tier-heading,
.escort-tier-row {
  display: grid;
  grid-template-columns: 38px minmax(72px, 1fr) minmax(80px, 1fr);
  align-items: center;
  gap: 8px;
}

.escort-tier-heading {
  padding: 0 2px 6px;
  color: #495b97;
  font-size: 10px;
}

.escort-tier-heading span:nth-child(n + 2),
.escort-tier-row > b,
.escort-tier-row > strong {
  text-align: right;
}

.escort-tier-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.escort-tier-row {
  min-height: 43px;
  padding: 7px 2px;
  border-top: 1px solid rgba(88, 110, 181, 0.15);
}

.escort-tier-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1f2c55;
  color: #ebf1f9;
  font-size: 12px;
  font-weight: 800;
}

.escort-tier-row > b {
  color: #acc2e5;
  font-size: 14px;
}

.escort-tier-row > strong {
  color: #e66d63;
  font-size: 14px;
}

.price-item-title {
  color: #cedbf0;
  font-size: 14px;
  line-height: 1.32;
}

.price-item-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: #7687bd;
  font-size: 12px;
}

.price-item-prices b {
  color: #667fd2;
  font-size: 14px;
}

.price-item-description {
  color: #7182bb;
  font-size: 11px;
  line-height: 1.45;
}

.designated-note {
  margin: 0;
  padding: 10px 14px;
  border-left: 2px solid rgba(77, 103, 188, 0.72);
  background: rgba(18, 25, 49, 0.62);
  color: #8291c3;
  font-size: 11px;
  line-height: 1.55;
}

.signature-rate-note {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(77, 101, 181, 0.34);
  border-radius: 9px;
  background: rgba(18, 25, 49, 0.76);
  color: #7c8cc0;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.signature-group-list {
  display: grid;
  gap: 13px;
}

.signature-group-card {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 16px 17px 19px;
  border: 1px solid rgba(75, 100, 182, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(21, 30, 58, 0.74), rgba(18, 25, 48, 0.94) 52%, rgba(20, 27, 53, 0.86));
  box-shadow:
    inset 0 0 22px rgba(76, 103, 190, 0.07),
    0 7px 20px rgba(16, 22, 43, 0.24);
  color: inherit;
  text-align: left;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.signature-group-card:focus-visible {
  outline: 2px solid #7086ce;
  outline-offset: 2px;
}

.signature-group-card.has-cover {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border-color: rgba(91, 153, 255, 0.56);
  background: #071328;
  box-shadow:
    inset 0 0 0 1px rgba(108, 179, 255, 0.12),
    0 10px 24px rgba(16, 22, 43, 0.34);
}

.signature-group-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2.48 / 1;
  overflow: hidden;
  background: #061329;
}

.signature-group-card[data-signature-group="signature-fishing"] .signature-group-cover,
.signature-group-card[data-signature-group="signature-white-jade"] .signature-group-cover {
  aspect-ratio: 16 / 9;
}

[data-signature-group="signature-white-jade"] .signature-group-rules ol {
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.signature-group-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature-group-card[data-signature-group="signature-fishing"] .signature-group-cover img {
  object-position: center top;
}

.signature-group-card[data-signature-group^="sand-safe-"] {
  border-color: rgba(75, 100, 182, 0.55);
  background: #131b34;
  box-shadow: 0 10px 24px rgba(16, 22, 43, 0.34);
}

.signature-group-card[data-signature-group^="sand-safe-"] .signature-group-cover {
  aspect-ratio: 16 / 9;
  background: #131b34;
}

.signature-group-card[data-signature-group^="sand-safe-"] .signature-group-cover img {
  object-position: center top;
}

.signature-group-card[data-signature-group^="sand-safe-"] .signature-group-card-footer {
  border-top-color: rgba(75, 100, 182, 0.32);
  background: linear-gradient(135deg, #151e3a, #131a33);
}

.signature-group-card.has-cover[data-signature-group^="sand-safe-"] .signature-group-copy strong,
.signature-group-card.has-cover[data-signature-group^="sand-safe-"] .signature-group-arrow {
  color: #aac1e5;
}

.signature-group-card.has-cover[data-signature-group^="sand-safe-"] .signature-group-copy span,
.signature-group-card.has-cover[data-signature-group^="sand-safe-"] .signature-group-copy small {
  color: #7c8cc0;
}

.signature-group-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px 14px;
  border-top: 1px solid rgba(109, 173, 255, 0.32);
  background: linear-gradient(135deg, rgba(15, 38, 76, 0.98), rgba(5, 13, 29, 0.98));
}

.signature-group-card.has-cover .signature-group-copy strong {
  color: #edf6ff;
}

.signature-group-card.has-cover .signature-group-copy > span {
  color: #9cc8ff;
}

.signature-group-card.has-cover .signature-group-copy small {
  color: #6f92bc;
}

.signature-group-card.has-cover .signature-group-arrow {
  color: #72b7ff;
}

.signature-group-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.signature-group-copy strong {
  color: #c7d6ee;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.signature-group-copy > span {
  color: #798abf;
  font-size: 12px;
  line-height: 1.4;
}

.signature-group-copy small {
  color: #4c609f;
  font-size: 10px;
  line-height: 1.35;
}

.signature-group-arrow {
  color: #6c82cb;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.signature-text-list {
  display: grid;
  gap: 13px;
}

.signature-text-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 11px;
  padding: 15px 14px 14px;
  border: 1px solid rgba(68, 93, 174, 0.4);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(21, 30, 58, 0.64), rgba(18, 25, 48, 0.92) 48%, rgba(19, 27, 52, 0.82));
  box-shadow:
    inset 0 0 20px rgba(76, 103, 190, 0.06),
    0 6px 18px rgba(16, 22, 43, 0.22);
}

.signature-text-card.has-signature-icon {
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.signature-text-content {
  min-width: 0;
  display: grid;
  gap: 11px;
}

.signature-card-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 112px;
  overflow: hidden;
  border: 1px solid rgba(85, 189, 236, 0.2);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(34, 85, 116, 0.16), rgba(18, 25, 49, 0.16));
}

.signature-card-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
  filter: drop-shadow(0 4px 8px rgba(4, 126, 220, 0.22));
}

.signature-text-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  width: 62px;
  height: 2px;
  background: linear-gradient(90deg, #5d75c3, rgba(93, 117, 195, 0));
}

.signature-text-title {
  margin: 0;
  color: #c9d7ee;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.signature-price-options {
  display: grid;
  gap: 8px;
}

.signature-price-option {
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(63, 85, 158, 0.28);
  border-radius: 8px;
  background: rgba(17, 24, 46, 0.5);
}

.signature-option-heading,
.signature-price-pair {
  margin: 0;
}

.signature-option-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 10px;
}

.signature-option-label {
  color: #9ca8d1;
  font-size: 13px;
  line-height: 1.35;
}

.signature-guarantee {
  color: #647dce;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.signature-price-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.signature-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(34, 51, 107, 0.15);
}

.signature-price em {
  color: #576bae;
  font-size: 10px;
  font-style: normal;
}

.signature-price b {
  color: #8297dc;
  font-size: 16px;
  line-height: 1;
}

.signature-price.is-mobile {
  background: rgba(49, 62, 103, 0.14);
}

.signature-price.is-mobile b {
  color: #99a5ce;
}

.signature-description {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #7e8ec1;
  font-size: 11px;
  line-height: 1.6;
}

.signature-description li::marker {
  color: #586eb5;
}

.signature-content-figure {
  display: grid;
  margin: 2px 0 0;
}

.signature-content-image-frame {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border: 1px solid rgba(88, 110, 181, 0.44);
  border-radius: 9px;
  background: #121930;
  box-shadow: inset 0 0 18px rgba(103, 125, 196, 0.06);
}

.signature-content-image {
  display: block;
  width: 100%;
  height: auto;
}

.signature-text-card.has-image-first .signature-content-figure {
  margin-top: 0;
}

.signature-group-guide {
  overflow: hidden;
  display: grid;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(88, 110, 181, 0.44);
  border-radius: 12px;
  background: #121930;
  box-shadow: 0 6px 18px rgba(16, 22, 43, 0.22);
}

.signature-group-guide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.signature-feature-detail {
  overflow: hidden;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(104, 164, 235, 0.54);
  border-radius: 12px;
  background: #202a3d;
  box-shadow: 0 8px 24px rgba(16, 22, 43, 0.34);
  cursor: zoom-in;
  scroll-margin-top: 8px;
}

.signature-feature-detail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
}

.signature-feature-detail-hint {
  position: sticky;
  top: 4px;
  z-index: 2;
  margin: 0 0 4px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(19, 26, 50, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  backdrop-filter: blur(8px);
}

html.has-signature-image-viewer,
body.has-signature-image-viewer {
  overflow: hidden;
}

.signature-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  background: #11182f;
  color: #fff;
}

.signature-image-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(17, 24, 47, 0.96);
  font-size: 13px;
  font-weight: 700;
}

.signature-image-viewer-head button {
  flex: none;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
}

.signature-image-viewer-stage {
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: none;
  -webkit-overflow-scrolling: touch;
  background: #11182f;
}

.signature-image-viewer-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  user-select: none;
  -webkit-user-drag: none;
}

.signature-text-card.has-spoken-layout .signature-description {
  gap: 7px;
  color: #9aa7cf;
  font-size: 12px;
  line-height: 1.65;
}

.signature-text-card.has-spoken-layout .signature-description li {
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(88, 110, 181, 0.16);
}

.signature-text-card.has-spoken-layout .signature-description li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.signature-rule-label {
  margin-right: 4px;
  color: #8395d1;
  font-weight: 750;
}

.signature-spoken-line {
  color: #ff8c82;
  font-weight: 850;
}

.romance-guide-card {
  gap: 17px;
  padding: 16px 12px 15px;
}

.romance-guide-title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.romance-guide-panel {
  display: grid;
  gap: 10px;
  padding: 21px 10px 11px;
  border: 1px solid rgba(88, 110, 181, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(23, 32, 61, 0.42), rgba(17, 24, 47, 0.72));
  box-shadow: inset 0 0 18px rgba(103, 125, 196, 0.04);
}

.romance-guide-panel-title {
  justify-self: center;
  margin: -34px 0 2px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 140, 130, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #17203f, #141c35);
  color: #ff9a8e;
  box-shadow: 0 4px 12px rgba(16, 22, 43, 0.24);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.romance-guide-intro {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(164, 71, 63, 0.22);
  color: #afc4e6;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.romance-guide-intro strong {
  color: #ff8c82;
  font-size: 17px;
}

.romance-score-rows {
  display: grid;
  gap: 6px;
}

.romance-score-row {
  display: grid;
  grid-template-columns: repeat(var(--romance-score-columns), minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border-radius: 8px;
}

.romance-score-row.is-accent {
  background: rgba(159, 67, 63, 0.2);
}

.romance-score-row.is-cool {
  background: rgba(42, 64, 76, 0.44);
}

.romance-score-row.is-warning {
  background: rgba(43, 58, 109, 0.22);
}

.romance-score-rule {
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 5px 3px;
  border-radius: 5px;
  background: rgba(17, 24, 46, 0.28);
  text-align: center;
}

.romance-score-rule b {
  color: #a8bfe4;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.romance-score-rule em {
  color: #ff8c82;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.romance-score-row.is-cool .romance-score-rule em {
  color: #83c9ee;
}

.romance-guide-note {
  margin: 0;
  color: #6d7fb9;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.romance-mode-list {
  display: grid;
  gap: 8px;
}

.romance-mode-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 140, 130, 0.22);
  border-radius: 9px;
  background: rgba(144, 59, 54, 0.16);
}

.romance-mode-card h5 {
  margin: 0;
  color: #ff9a8e;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
}

.romance-mode-details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  line-height: 1.35;
}

.romance-mode-details strong {
  color: #8297dc;
  font-size: 13px;
}

.romance-mode-details span {
  color: #7f8fc2;
  font-size: 10px;
}

.romance-platform-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.romance-platform-prices > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(38, 51, 95, 0.2);
}

.romance-platform-prices em {
  color: #6477b5;
  font-size: 10px;
  font-style: normal;
}

.romance-platform-prices b {
  color: #8297dd;
  font-size: 15px;
  line-height: 1;
}

.romance-completion-note {
  padding-top: 2px;
  color: #919eca;
}

.romance-event-list {
  display: grid;
  gap: 7px;
}

.romance-event-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 9px 8px;
  border-bottom: 1px dashed rgba(88, 110, 181, 0.18);
  border-radius: 7px;
  background: rgba(17, 24, 47, 0.32);
}

.romance-event-card:last-child {
  border-bottom: 0;
}

.romance-event-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(172, 69, 64, 0.28);
  color: #ff9a8e;
  font-size: 11px;
  font-weight: 850;
}

.romance-event-card h5 {
  margin: 0 0 4px;
  color: #ff8c82;
  font-size: 12px;
  line-height: 1.35;
}

.romance-event-card p {
  margin: 0;
  color: #8594c4;
  font-size: 10.5px;
  line-height: 1.65;
}

.signature-group-rules {
  display: grid;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid rgba(68, 93, 174, 0.34);
  border-radius: 11px;
  background: rgba(18, 25, 48, 0.8);
}

.signature-group-rules h3 {
  margin: 0;
  color: #95a4d7;
  font-size: 15px;
  line-height: 1.3;
}

.signature-group-rules ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #7f8ec1;
  font-size: 11px;
  line-height: 1.62;
}

.signature-group-rules li::marker {
  color: #586eb5;
  font-weight: 700;
}

.companion-detail-toolbar {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.companion-detail-toolbar > span {
  text-align: right;
}

.feast-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin: 0;
  padding: 2px 4px 3px;
  line-height: 1.4;
}

.feast-highlight-label {
  color: #5469ad;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.feast-highlight,
.feast-highlight.is-guarantee {
  color: #e86b61;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.feast-highlight-separator {
  color: #3c4b7d;
  font-size: 13px;
}

.feast-intro-section .designated-note {
  font-size: 12px;
  line-height: 1.7;
}

.feast-price-note {
  margin: -1px 0 1px;
  color: #6477b5;
  font-size: 11px;
  line-height: 1.45;
}

.feast-platform-prices {
  display: grid;
  gap: 4px;
}

.feast-platform-price-row {
  display: grid;
  grid-template-columns: 34px repeat(2, minmax(0, 1fr));
  align-items: baseline;
  gap: 5px 9px;
  color: #7687bd;
  font-size: 11px;
}

.feast-platform-price-row em {
  color: #b7cae9;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.feast-platform-price-row > span {
  white-space: nowrap;
}

.feast-platform-price-row b {
  color: #667fd2;
  font-size: 13px;
}

.feast-platform-price-row.is-mobile b {
  color: #99a5ce;
}

.aggressive-selector {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(83, 106, 182, 0.28);
  border-radius: 13px;
  background: rgba(17, 24, 47, 0.74);
}

.aggressive-selector-step {
  display: grid;
  gap: 8px;
}

.aggressive-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d0dcf1;
  font-size: 12px;
}

.aggressive-step-title > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4a6ad3;
  color: #121a31;
  font-size: 12px;
  font-weight: 800;
}

.aggressive-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.aggressive-option-button {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #a9a399;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  touch-action: manipulation;
}

.aggressive-option-button.is-pc.is-active {
  border-color: rgba(68, 195, 255, 0.74);
  background: linear-gradient(135deg, rgba(19, 99, 135, 0.48), rgba(7, 31, 42, 0.7));
  box-shadow: inset 3px 0 #46c7ff;
  color: #80dcff;
  font-weight: 800;
}

.aggressive-option-button.is-mobile.is-active {
  border-color: rgba(74, 108, 220, 0.74);
  background: linear-gradient(135deg, rgba(31, 43, 84, 0.5), rgba(20, 28, 54, 0.7));
  box-shadow: inset 3px 0 #4a6cdc;
  color: #7c95e6;
  font-weight: 800;
}

.aggressive-option-button.is-party.is-active {
  border-color: rgba(89, 120, 223, 0.72);
  background: linear-gradient(180deg, #758fe5, #3255c9);
  color: #121a31;
  font-weight: 800;
}

.aggressive-current-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-left: 3px solid #00d8ad;
  background: rgba(0, 216, 173, 0.075);
}

.aggressive-current-choice strong {
  color: #c0d1ec;
  font-size: 12px;
}

.aggressive-current-choice span {
  color: #8f8b82;
  font-size: 10px;
  text-align: right;
}

.aggressive-guarantee-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 90, 57, 0.5);
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(129, 28, 11, 0.39), rgba(65, 15, 7, 0.2));
}

.aggressive-guarantee-note strong {
  padding: 5px 7px;
  border-radius: 7px;
  background: #ff7656;
  color: #260700;
  font-size: 10px;
  white-space: nowrap;
}

.aggressive-guarantee-note span {
  color: #ffd7c8;
  font-size: 11px;
  font-weight: 800;
}

.aggressive-choice-list {
  display: grid;
  gap: 9px;
}

.regular-companion-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(88, 109, 180, 0.28);
  background: rgba(18, 25, 48, 0.76);
  color: #cedbf0;
  font-size: 14px;
}

.regular-companion-table th,
.regular-companion-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(88, 109, 180, 0.2);
  text-align: left;
}

.regular-companion-table thead th {
  background: rgba(82, 115, 222, 0.075);
  color: #7b8bc0;
  font-size: 12px;
  font-weight: 500;
}

.regular-companion-table td,
.regular-companion-table thead th:last-child {
  text-align: right;
}

.regular-companion-table td {
  color: #6b87e3;
  font-weight: 700;
  white-space: nowrap;
}

.valorant-table-hint {
  margin: 0;
  color: #8493c4;
  font-size: 12px;
  line-height: 1.6;
}

.valorant-table-scroll {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid rgba(88, 109, 180, 0.28);
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #4c5f9d #131b35;
  overscroll-behavior-x: contain;
}

.valorant-table-scroll:focus-visible {
  outline: 2px solid #677cc3;
  outline-offset: 3px;
}

.regular-companion-table.valorant-price-table {
  min-width: calc(var(--valorant-column-count) * 78px);
  border: 0;
  table-layout: fixed;
}

.regular-companion-table.valorant-price-table th,
.regular-companion-table.valorant-price-table td {
  width: 78px;
  padding: 12px 7px;
  text-align: center;
  font-size: 12px;
}

.valorant-price-table tr > th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #131b34;
  box-shadow: 1px 0 rgba(88, 109, 180, 0.24);
}

.valorant-price-table thead tr > th:first-child {
  z-index: 2;
  background: #151e3a;
}

.valorant-price-table td strong {
  font-size: 16px;
}

.valorant-price-table td small {
  display: block;
  margin-top: 3px;
  color: #8493c4;
  font-size: 10px;
  font-weight: 400;
}

.valorant-price-table td.is-unpriced {
  color: #766d5b;
}

.valorant-order-button {
  justify-self: start;
  padding: 9px 12px;
}

.valorant-fun-price-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.valorant-fun-price-pair > span {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(88, 109, 180, 0.25);
  border-radius: 10px;
  background: rgba(82, 115, 222, 0.04);
}

.valorant-fun-price-pair small {
  color: #8493c4;
  font-size: 12px;
}

.valorant-fun-price-pair strong {
  color: #6b87e3;
  font-size: 19px;
}

.valorant-fun-card {
  padding: 16px;
}

.valorant-fun-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.valorant-fun-head > span {
  color: #5064a6;
  font-size: 13px;
}

.valorant-fun-head h3 {
  margin: 0;
  color: #aac1e5;
  font-size: 19px;
}

.valorant-fun-card p {
  margin: 0;
  color: #c2d2ec;
  font-size: 13px;
  line-height: 1.8;
}

.valorant-fun-card .valorant-fun-example {
  color: #7687bd;
  font-size: 12px;
}

.valorant-fun-card .valorant-order-button {
  margin-top: 3px;
  font-size: 12px;
}

.entertainment-regular-table th,
.entertainment-regular-table td {
  padding: 12px 10px;
  font-size: 13px;
}

.entertainment-regular-table thead th:nth-child(n + 2) {
  text-align: right;
}

.aggressive-choice-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(88, 109, 180, 0.28);
  border-radius: 13px;
  background:
    radial-gradient(circle at 90% 5%, rgba(82, 104, 177, 0.08), transparent 34%),
    rgba(18, 25, 48, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.aggressive-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aggressive-choice-head > strong {
  color: #cedbf0;
  font-size: 14px;
}

.aggressive-kill-guarantee {
  padding: 4px 8px;
  border: 1px solid rgba(0, 216, 173, 0.38);
  border-radius: 999px;
  background: rgba(0, 216, 173, 0.08);
  color: #7ee0c7;
  font-size: 10px;
  white-space: nowrap;
}

.aggressive-price-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.aggressive-price-pair.has-regular {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.aggressive-price-pair.has-regular .aggressive-price-cell {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px;
  gap: 5px;
}

.aggressive-price-pair.has-regular .aggressive-price-cell strong {
  font-size: clamp(10px, 3vw, 12px);
}

.aggressive-price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(16, 22, 43, 0.2);
}

.aggressive-price-cell:first-child {
  border-color: rgba(82, 115, 222, 0.52);
  background: rgba(82, 115, 222, 0.075);
  box-shadow: inset 3px 0 #5273de;
}

.aggressive-price-cell small {
  color: #a8a39a;
  font-size: 10px;
}

.aggressive-price-cell strong {
  min-width: 0;
  color: #6b87e3;
  font-size: 13px;
  white-space: nowrap;
}

.feast-fixed-mode {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(126, 224, 199, 0.24);
  border-radius: 10px;
  background: rgba(0, 216, 173, 0.055);
}

.feast-fixed-mode strong {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(0, 216, 173, 0.16);
  color: #7ee0c7;
  font-size: 10px;
  white-space: nowrap;
}

.feast-fixed-mode span {
  color: #8f9dc9;
  font-size: 10px;
  line-height: 1.45;
}

.feast-price-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.feast-price-copy em {
  color: #7ee0c7;
  font-size: 9px;
  font-style: normal;
  line-height: 1.25;
  white-space: nowrap;
}

.feast-price-cell strong {
  text-align: right;
}

.entertainment-choice-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.entertainment-choice-card {
  cursor: pointer;
  touch-action: manipulation;
}

.entertainment-choice-description {
  margin: 0;
  color: #aaa396;
  font-size: 10px;
  line-height: 1.5;
}

.entertainment-choice-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(99, 121, 193, 0.18);
  color: #8395d1;
  font-size: 10px;
  font-weight: 700;
}

.entertainment-choice-detail b {
  font-size: 18px;
  line-height: 1;
}

.feast-rule-list {
  padding-left: 32px;
  font-size: 12px;
  line-height: 1.72;
}

.feast-rule-list li + li {
  margin-top: 7px;
}

.feast-rule-list li::marker {
  color: #6379c1;
  font-weight: 700;
}

@keyframes search-target-pulse {
  from { box-shadow: 0 0 0 rgba(98, 124, 211, 0); }
  to { box-shadow: 0 0 18px rgba(98, 124, 211, 0.58); }
}

@media (max-width: 374px) {
  .delta-page {
    padding-inline: 10px;
  }

  .delta-brand {
    flex-basis: 116px;
    width: 116px;
  }

  .delta-title-capsule {
    width: 120px;
  }

  .category-list {
    padding-inline: 4px;
    gap: 6px;
  }

  .category-button {
    flex-basis: calc((100vw - 44px) / 4);
    width: calc((100vw - 44px) / 4);
    height: calc((100vw - 44px) / 4);
  }

  .item-card {
    grid-template-columns: 90px minmax(0, 1fr) 8px;
    column-gap: 14px;
  }

  .item-cover {
    width: 90px;
    height: 87px;
  }

  .item-title {
    font-size: 15px;
  }

  .signature-text-card.has-signature-icon {
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 9px;
    padding-inline: 10px;
  }

  .signature-card-visual {
    width: 76px;
    height: 98px;
  }

  .signature-price-pair {
    gap: 4px;
  }

  .signature-price {
    padding-inline: 6px;
  }

  .romance-guide-card {
    padding-inline: 9px;
  }

  .romance-score-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .romance-score-row.is-accent .romance-score-rule:last-child {
    grid-column: 1 / -1;
  }

  .romance-event-card {
    grid-template-columns: 30px minmax(0, 1fr);
    padding-inline: 6px;
  }

  .romance-event-number {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-panel,
  .notice-toggle img,
  .category-button {
    transition: none;
  }
}
