@charset "utf-8";

/* 塔罗页面通用样式（已整合原 taluo-merged.css + 本页实际使用的公共样式） */

html,body,h1,h2,p,span,a,div,ol,ul,li,table,tbody,tfoot,thead,tr,th,td,canvas,small,img,dl,dt,dd,main,section,article,nav,button {
  margin: 0;
  padding: 0;
}

:root {
  --card-w: 64px;
  --card-h: 105px;
  --fan-radius: 260px;
  --fan-bottom: 70px;
  --slot-w: 64px;
  --slot-h: 105px;
}

body {
  width: 100%;
  height: auto;
  background-color: #fefaef;
  font-family: "Microsoft YaHei", Arial, "微软雅黑", Verdana, sans-serif;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

ol, ul {
  list-style: none;
}

a, a:visited {
  color: #545164;
  text-decoration: none;
}

img {
  border: 0;
}

.remark {
  color: #999;
  font-size: 12px;
}

.red {
  color: red;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  height: 0;
  font-size: 0;
  line-height: 0;
}

.fr {
  float: right;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  width: 100%;
  height: 44px;
  background: linear-gradient(to bottom, #ffffff, #ebebeb);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.h_box {
  max-width: 705px;
  height: 44px;
  margin: 0 auto;
}

#header small {
  float: left;
  padding: 2px 0 0 5px;
}

#header small img {
  height: 40px;
}

#header ul li {
  float: left;
  padding: 3px 5px;
  font-size: 16px;
  line-height: 40px;
}

#header ul li a {
  color: #a7180e;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.path2 {
  margin-top: 55px;
  padding-left: 10px;
  font-size: 12px;
  margin-bottom: 5px;
}

.box {
  overflow: hidden;
  border: 1px solid #dadada;
  border-radius: 7px;
  background: #fff;
}

.correl {
  margin-bottom: 10px;
  overflow: hidden;
  font-size: 14px;
  text-align: center;
}

.mod_dl {
  clear: both;
  height: auto;
  margin: 0 auto;
  padding: 6px 3%;
}

.mod_dl dt {
  height: 17px;
  margin: 3px;
  padding-left: 6px;
  border-left: 3px solid #935422;
  color: #935422;
  font-size: 14px;
  line-height: 17px;
  text-align: left;
}

.correl ul {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #cfc4b6;
}

.correl ul li,
.mod_dl li {
  float: left;
  box-sizing: border-box;
  width: 24%;
  border-right: 1px solid #ede2cb;
  border-bottom: 1px solid #ede2cb;
  line-height: 32px;
  white-space: nowrap;
  text-align: center;
}

.correl ul li a {
  color: #444;
}

#foot {
  display: block;
  width: 100%;
  height: 80px;
  color: #935422;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
}

#foot p {
  display: block;
  margin: 0 7px;
  line-height: 20px;
  text-align: center;
}

#btn_top {
  position: fixed;
  right: 1px;
  bottom: 50px;
  width: 32px;
  height: 32px;
  border: 1px solid #555;
  border-radius: 17px;
  background: #666 url(/img/to_top.png) center 50% no-repeat;
  opacity: 0.6;
}

body.page-index .tarot-board {
  position: relative;
  max-width: 705px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  padding: 10px;
}

body.page-index .header-area {
  margin-bottom: 5px;
  text-align: center;
}

body.page-index h1 {
  margin: 10px 0;
  color: #331f13;
  font-size: 28px;
  letter-spacing: 2px;
}

body.page-index .action-area {
  margin-bottom: 15px;
  padding: 20px 10px;
  border: 1px solid #d4af37;
  border-radius: 8px;
  background: #fff8e7 url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%23c2b198' fill-opacity='0.1'><path d='M12 2l2.4 7.4h7.6l-6.2 4.5 2.4 7.4-6.2-4.5-6.2 4.5 2.4-7.4-6.2-4.5h7.6z'/></svg>") no-repeat center center;
  background-size: 60%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

body.page-index .action-desc {
  margin-bottom: 25px;
  color: #4c2f1d;
  font-size: 15px;
  line-height: 1.8;
}

body.page-index .highlight {
  color: #b22222;
  font-weight: bold;
}

body.page-index .btn-start {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  height: 50px;
  border: none;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  color: #fff;
  line-height: 50px;
  background: linear-gradient(135deg, #ff8c00, #e65c00);
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  font-size: 20px;
  font-weight: bold;
}

body.page-index .btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.6);
  animation: none;
}

.lore-area {
  padding: 10px;
  border-top: 1px dashed #c2b198;
}

.lore-title {
  display: flex;
  align-items: center;
  margin: 0 0 15px;
  color: #331f13;
  font-size: 18px;
  font-weight: bold;
}

.lore-title::before {
  content: "✦";
  margin-right: 8px;
  color: #d4af37;
  font-weight: normal;
}

.lore-content {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.lore-content p {
  margin-bottom: 12px;
}

.lore-image {
  float: right;
  width: 260px;
  margin: 0 0 12px 20px;
}

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

body.page-index .transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #4c2f1d;
  opacity: 0;
  background-color: rgba(229, 217, 197, 0.95);
  transition: opacity 0.5s ease;
}

body.page-index .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #b22222;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

body.page-draw {
  max-width: 705px;
  margin: 0 auto;
}

body.page-draw .tarot-board {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.page-draw h1 {
  margin: 0 0 5px;
  color: #331f13;
  font-size: 26px;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body.page-draw h2 {
  margin: 0 0 10px;
  padding-top: 5px;
  color: #b22222;
  font-size: 18px;
  font-weight: normal;
  text-align: center;
}

body.page-draw .desc-text {
  max-width: 90%;
  margin: 0 auto 15px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

body.page-draw .dynamic-prompt {
  margin-bottom: 20px;
  color: #7b5946;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  animation: gentlePulse 2s infinite;
}

body.page-draw .red-text {
  margin: 0 3px;
  color: #b22222;
  font-size: 110%;
  font-weight: bold;
}

body.page-draw .card-container {
  position: relative;
  width: 100%;
  height: calc(var(--fan-radius) + var(--card-h) - var(--fan-bottom) - 70px);
  max-height: 320px;
  margin: 0 auto 10px;
}

body.page-draw .card {
  position: absolute;
  bottom: var(--fan-bottom);
  left: 50%;
  width: var(--card-w);
  height: var(--card-h);
  margin-left: calc(var(--card-w) / -2);
  border-radius: 4px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  --a: 0deg;
  --x: 0px;
  --y: 0px;
  transform: translateX(var(--x)) rotate(var(--a)) translateY(var(--y));
  transform-origin: center var(--fan-radius);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s, box-shadow 0.3s;
}

body.page-draw .card.is-ready {
  cursor: pointer;
  pointer-events: auto;
}

body.page-draw .card.is-ready:hover {
  --y: -15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

body.page-draw .card.is-ready.selected {
  opacity: 0;
  pointer-events: none;
  --y: 50px;
  transform: translateX(var(--x)) rotate(var(--a)) translateY(var(--y)) scale(0.6);
}

body.page-draw .selected-cards {
  display: grid;
  grid-template-columns: var(--slot-w) var(--slot-w) var(--slot-w);
  grid-template-rows: var(--slot-h) var(--slot-h) var(--slot-h);
  grid-template-areas:
    ". slot3 ."
    "slot1 slot5 slot2"
    ". slot4 .";
  gap: 15px;
  justify-content: center;
  margin: 20px auto;
}

body.page-draw #slot1 { grid-area: slot1; }
body.page-draw #slot2 { grid-area: slot2; }
body.page-draw #slot3 { grid-area: slot3; }
body.page-draw #slot4 { grid-area: slot4; }
body.page-draw #slot5 { grid-area: slot5; }

body.page-draw .card-slot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.02);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08), inset -1px -1px 2px rgba(255, 255, 255, 0.4);
}

body.page-draw .card-slot::before {
  content: "";
  position: absolute;
  inset: -2px;
  opacity: 0.8;
  background:
    linear-gradient(to right, #9c8973 1px, transparent 1px) 0 0,
    linear-gradient(to bottom, #9c8973 1px, transparent 1px) 0 0,
    linear-gradient(to left, #9c8973 1px, transparent 1px) 100% 0,
    linear-gradient(to bottom, #9c8973 1px, transparent 1px) 100% 0,
    linear-gradient(to right, #9c8973 1px, transparent 1px) 0 100%,
    linear-gradient(to top, #9c8973 1px, transparent 1px) 0 100%,
    linear-gradient(to left, #9c8973 1px, transparent 1px) 100% 100%,
    linear-gradient(to top, #9c8973 1px, transparent 1px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 10px 10px;
}

body.page-draw .slot-num {
  color: #9c8973;
  font: bold 24px "Times New Roman", serif;
  opacity: 0.4;
}

body.page-draw .card-slot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  transition: filter 0.3s ease;
  animation: slotPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

body.page-draw .card-slot img:hover {
  filter: brightness(0.85);
}

body.page-draw .buttons-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 20px;
}

body.page-draw .btn {
  width: 130px;
  height: 45px;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  font: bold 16px inherit;
  transition: all 0.3s ease;
}

body.page-draw .btn-prev {
  border: 1px solid #331f13;
  color: #dfb978;
  background-color: #4c2f1d;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.page-draw .btn-prev:hover {
  transform: translateY(-2px);
  background-color: #5c3a24;
}

body.page-draw .btn-next {
  border: none;
  cursor: not-allowed;
  color: #f0f0f0;
  background-color: #a8a096;
}

body.page-draw .btn-next.active {
  cursor: pointer;
  color: #fff;
  background-color: #ff8c00;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

body.page-draw .btn-next.active:hover {
  transform: translateY(-2px);
  background-color: #ffa500;
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.5);
}

body.page-draw .meditation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #dfb978;
  background: radial-gradient(circle at center, rgba(30, 20, 10, 0.85), rgba(0, 0, 0, 0.95));
  transition: opacity 1s ease;
}

body.page-draw .meditation-text {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 2px;
  text-align: center;
}

body.page-draw .btn-start-focus {
  padding: 15px 35px;
  border: 2px solid #dfb978;
  border-radius: 30px;
  cursor: pointer;
  color: #dfb978;
  font-size: 16px;
  letter-spacing: 2px;
  background-color: transparent;
  transition: all 0.3s ease;
}

body.page-draw .btn-start-focus:hover {
  color: #1e140a;
  background-color: #dfb978;
  box-shadow: 0 0 15px rgba(223, 185, 120, 0.5);
}

body.page-arrange .tarot-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 10px 10px 30px;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  max-width: 705px;
}

body.page-arrange h1 {
  margin: 10px 0 5px;
  color: #331f13;
  font-size: 26px;
  letter-spacing: 2px;
  text-align: center;
}

body.page-arrange .status-text {
  margin-bottom: 25px;
  color: #b22222;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

body.page-arrange .cross-table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
  background-color: rgba(230, 242, 255, 0.7);
  box-shadow: 0 0 25px rgba(227, 38, 54, 0.15);
}

body.page-arrange .cross-table td {
  position: relative;
  width: 33.33%;
  height: 150px;
  padding: 10px;
  border: 1px solid #e32636;
  text-align: center;
  vertical-align: middle;
}

body.page-arrange .cross-table td.empty {
  border: 1px dashed rgba(227, 38, 54, 0.3);
  background-color: transparent;
}

body.page-arrange .card-back-img {
  display: block;
  height: 110px;
  margin: 0 auto;
  border-radius: 4px;
  opacity: 0;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  transform: scale(0.5) translateY(-30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.page-arrange .card-back-img.dealt {
  opacity: 1;
  transform: scale(1) translateY(0);
}

body.page-arrange .final-status-text {
  margin-bottom: 20px;
  color: #4c2f1d;
  font-size: 15px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

body.page-arrange .btn-orange {
  width: 100%;
  max-width: 280px;
  height: 50px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  color: #fff;
  font: bold 18px inherit;
  background: linear-gradient(135deg, #ff8c00, #e65c00);
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

body.page-arrange .btn-orange.show {
  opacity: 1;
  transform: translateY(0);
}

body.page-arrange .btn-orange:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffa500, #ff7300);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.6);
  animation: none;
}

body.page-result .tarot-board {
  position: relative;
  width: 100%;
  max-width: 705px;
  margin: 0 auto;
  padding-top: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

body.page-result h1 {
  margin: 10px 0 20px;
  color: #333;
  font-size: 26px;
  text-align: center;
}

body.page-result .top-desc {
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
  text-align: center;
}

body.page-result .energy-board {
  display: none;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px dashed #d4af37;
  border-radius: 8px;
  background-color: #fff8e7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.page-result .energy-title {
  margin-bottom: 5px;
  color: #b22222;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

body.page-result .energy-text {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

body.page-result .cross-table {
  margin-bottom: 10px;
  border-collapse: collapse;
  background-color: transparent;
  width: 100%;
}
div#content-area {
    padding: 10px;
}
body.page-result .cross-table td {
  width: 33.33%;
  height: 160px;
  padding: 10px;
  border: 1px solid #e32636;
  perspective: 1000px;
  text-align: center;
  vertical-align: middle;
}

body.page-result .cross-table td.empty {
  border: 1px solid #e32636;
  background-color: #e6f2ff;
}

body.page-result .flip-container {
  position: relative;
  width: 64px;
  height: 105px;
  margin: 0 auto 5px;
}

body.page-result .flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.page-result .flip-container.flipped .flipper {
  cursor: pointer;
  transform: rotateY(180deg);
}

body.page-result .flip-container.flipped:hover .flipper {
  transform: rotateY(180deg) scale(1.05);
}

body.page-result .front,
body.page-result .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  backface-visibility: hidden;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

body.page-result .front {
  background: url("/taluo/pre_img.png") center / cover;
}

body.page-result .back {
  transform: rotateY(180deg);
}

body.page-result .back img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

body.page-result .reversed-img {
  transform: rotateZ(180deg);
}

body.page-result .grid-card-title {
  cursor: pointer;
  color: #e32636;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s;
}

body.page-result .flip-container.flipped + .grid-card-title {
  opacity: 1;
}

body.page-result .grid-card-title span {
  color: #333;
}

body.page-result .position-meaning {
  display: none;
  margin-bottom: 20px;
  padding: 5px;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

body.page-result .detail-list {
  display: none;
  flex-direction: column;
  margin-bottom: 20px;
  border: 1px solid #e32636;
  border-bottom: none;
}

body.page-result .detail-item {
  display: flex;
  border-bottom: 1px solid #e32636;
  background-color: #fff;
  transition: background-color 0.8s ease;
}

body.page-result .detail-item.highlight {
  background-color: #ffeded;
}

body.page-result .detail-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  padding: 20px 10px;
  border-right: 1px solid #e32636;
  background-color: transparent;
}

body.page-result .detail-card-img {
  width: 80px;
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

body.page-result .detail-left .reversed-img {
  transform: rotate(180deg);
}

body.page-result .detail-title {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body.page-result .detail-title .red {
  color: #e32636;
}

body.page-result .position-role {
  color: #0073e6;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body.page-result .detail-right {
  width: 70%;
  padding: 20px 15px;
  color: #333;
  font-size: 14.5px;
  line-height: 1.8;
}

body.page-result .detail-right p {
  margin: 0 0 5px;
}

body.page-result .bold-title {
  font-weight: bold;
}

body.page-result .loading-text {
  padding: 50px;
  color: #e32636;
  font-size: 18px;
  text-align: center;
}

body.page-result .btn-container-final {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

body.page-result .btn-orange {
  width: 100%;
  max-width: 300px;
  height: 45px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font: normal 16px inherit;
  background-color: #ff8c00;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

body.page-result .btn-orange:hover {
  background-color: #ffa500;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4);
}

body.page-result .poster-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}

body.page-result .poster-modal img {
  width: 85%;
  max-height: 80%;
  border: 4px solid #dfb978;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

body.page-result .poster-tip {
  margin-top: 15px;
  color: #dfb978;
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
}

body.page-result .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: #fff;
  font-size: 30px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 92, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(230, 92, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 92, 0, 0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slotPopIn {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 768px) {
  body.page-index .lore-image {
    width: 30%;
    margin: 0 0 10px 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --card-w: 48px;
    --card-h: 79px;
    --fan-radius: 180px;
    --fan-bottom: 50px;
    --slot-w: 52px;
    --slot-h: 85px;
  }

  body.page-index h1 {
    font-size: 24px;
  }

  body.page-index .action-desc {
    font-size: 14px;
  }

  body.page-draw .tarot-board {
    margin-top: 0;
    padding-top: 15px;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  body.page-draw h1 {
    font-size: 22px;
  }

  body.page-arrange .cross-table td {
    height: 110px;
    padding: 5px;
  }

  body.page-arrange .card-back-img {
    height: 80px;
  }

  body.page-arrange .tarot-board {
    padding: 10px 10px;
  }

  body.page-result .cross-table td {
    height: 140px;
    padding: 5px;
  }

  body.page-result .flip-container {
    width: 50px;
    height: 82px;
  }

  body.page-result .grid-card-title {
    font-size: 11px;
  }

  body.page-result .detail-item {
    flex-direction: column;
  }

  body.page-result .detail-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #ccc;
  }

  body.page-result .detail-right {
    width: 95%;
  }
}


/* 星运阁塔罗占卜适配 v202605042220 */
:root{
  --tl-bg:#f5ead8;
  --tl-card:#fffaf2;
  --tl-soft:#fff6e8;
  --tl-ink:#2f241d;
  --tl-text:#6a5140;
  --tl-muted:#927b67;
  --tl-line:#ead7ba;
  --tl-red:#9a2c25;
  --tl-red2:#bd4934;
  --tl-gold:#c8904c;
  --tl-shadow:0 12px 32px rgba(94,55,25,.09);
  --tl-radius:18px;
}
body.xyg-tl-page,
body.xyg-tl-page.page-draw,
body.xyg-tl-page.page-arrange,
body.xyg-tl-page.page-result,
body.xyg-tl-page.page-index{
  max-width:none!important;
  width:100%!important;
  min-height:100vh!important;
  margin:0!important;
  color:var(--tl-ink)!important;
  background:radial-gradient(circle at 50% -80px,rgba(201,154,90,.20),transparent 430px),linear-gradient(180deg,#fbf4e8,#f5ead8 56%,#efe1cf)!important;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",Arial,sans-serif!important;
  line-height:1.75!important;
  -webkit-text-size-adjust:100%!important;
}
.xyg-tl-page *{box-sizing:border-box;}
.xyg-tl-page a{text-decoration:none;color:inherit;}
.xyg-tl-wrap{width:min(1180px,calc(100% - 32px));margin:14px auto 24px;}
.xyg-tl-subnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--tl-line);border-radius:999px;background:rgba(255,250,242,.96);box-shadow:var(--tl-shadow);}
.xyg-tl-subnav a{min-height:42px;display:grid;place-items:center;padding:0 10px;border-right:1px solid #f0dfc8;color:#664231;font-weight:800;white-space:nowrap;font-size:14px;}
.xyg-tl-subnav a:last-child{border-right:0;}
.xyg-tl-subnav a:hover,.xyg-tl-subnav a.is-active{color:#fff;background:linear-gradient(135deg,var(--tl-red),#c44b35);}
.xyg-tl-breadcrumb{margin:12px 0;padding:10px 16px;border:1px solid var(--tl-line);border-radius:999px;background:rgba(255,250,242,.94);box-shadow:0 8px 20px rgba(94,55,25,.05);color:var(--tl-muted);font-size:14px;}
.xyg-tl-breadcrumb a{color:var(--tl-red);font-weight:800;}.xyg-tl-breadcrumb span{margin-left:7px;}
.xyg-tl-shell{border:1px solid var(--tl-line);border-radius:var(--tl-radius);background:rgba(255,250,242,.97);box-shadow:var(--tl-shadow);overflow:hidden;margin-bottom:14px;padding:16px;}
.xyg-tl-page .tarot-board{max-width:900px!important;width:100%!important;margin:0 auto!important;background:transparent!important;box-shadow:none!important;padding:0!important;min-height:auto!important;}
.xyg-tl-page.page-index .tarot-board{max-width:940px!important;}
.xyg-tl-page .header-area{padding:8px 18px 8px!important;text-align:center!important;}
.xyg-tl-page.page-index h1,
.xyg-tl-page.page-draw h1,
.xyg-tl-page.page-arrange h1,
.xyg-tl-page.page-result h1{margin:0 0 8px!important;color:#681711!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.25!important;letter-spacing:0!important;text-shadow:none!important;font-weight:900!important;}
.xyg-tl-page.page-draw h2{color:var(--tl-gold)!important;font-weight:800!important;}
.xyg-tl-page .action-area,.xyg-tl-page .lore-area,.xyg-tl-page .energy-board,.xyg-tl-page .position-meaning{border:1px solid #f0dfc8!important;border-radius:16px!important;background:linear-gradient(180deg,#fffdf8,#fff6e9)!important;box-shadow:0 8px 18px rgba(94,55,25,.05)!important;}
.xyg-tl-page .action-area{padding:24px 20px!important;margin:14px 0!important;}
.xyg-tl-page .action-desc{font-size:16px!important;color:var(--tl-text)!important;line-height:1.95!important;}
.xyg-tl-page .highlight,.xyg-tl-page .red-text,.xyg-tl-page .red{color:var(--tl-red)!important;font-weight:900!important;}
.xyg-tl-page .btn-start,.xyg-tl-page .btn-orange,.xyg-tl-page .btn-next.active,.xyg-tl-page .btn-start-focus{background:linear-gradient(135deg,var(--tl-red),#c44b35)!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(143,36,29,.18)!important;font-family:inherit!important;}
.xyg-tl-page .btn-prev{background:#fff4df!important;border:1px solid #e5cda7!important;color:#681711!important;}
.xyg-tl-page .lore-area{padding:18px!important;margin:14px 0!important;border-top:1px solid #f0dfc8!important;}
.xyg-tl-page .lore-title{color:#681711!important;font-size:21px!important;line-height:1.35!important;}
.xyg-tl-page .lore-title:before{color:var(--tl-gold)!important;}
.xyg-tl-page .lore-content{color:var(--tl-text)!important;font-size:15px!important;line-height:1.9!important;}
.xyg-tl-seo-panel{margin:8px 0;border:1px solid var(--tl-line);border-radius:var(--tl-radius);background:rgba(255,250,242,.97);box-shadow:var(--tl-shadow);overflow:hidden;}
.xyg-tl-panel-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid #f0dfc8;background:linear-gradient(90deg,#fff8ee,#fffaf4);}
.xyg-tl-panel-head h2{position:relative;margin:0;padding-left:14px;color:#681711;font-size:21px;line-height:1.35;}
.xyg-tl-panel-head h2:before{content:"";position:absolute;left:0;top:.2em;width:5px;height:1.05em;border-radius:999px;background:linear-gradient(180deg,var(--tl-gold),var(--tl-red2));}
.xyg-tl-panel-head span{color:var(--tl-muted);font-size:13px;white-space:nowrap;}
.xyg-tl-copy-grid,.xyg-tl-faq-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;}
.xyg-tl-faq-list{grid-template-columns:repeat(2,minmax(0,1fr));}
.xyg-tl-copy-grid article,.xyg-tl-faq-list article{padding:15px;border:1px solid #f0dfc8;border-radius:14px;background:#fff7eb;}
.xyg-tl-copy-grid h3,.xyg-tl-faq-list h3{margin:0 0 8px;color:#681711;font-size:17px;}
.xyg-tl-copy-grid p,.xyg-tl-faq-list p{margin:0;color:var(--tl-text);font-size:14px;line-height:1.8;}
.xyg-tl-page.page-draw .desc-text,.xyg-tl-page.page-draw .dynamic-prompt,.xyg-tl-page.page-arrange .status-text,.xyg-tl-page.page-arrange .final-status-text,.xyg-tl-page.page-result .top-desc{color:var(--tl-text)!important;}
.xyg-tl-page.page-draw .meditation-overlay{z-index:99999!important;background:radial-gradient(circle at center,rgba(75,32,20,.92),rgba(31,13,9,.96))!important;color:#f8dfb1!important;}
.xyg-tl-page.page-draw .btn-start-focus{border:1px solid rgba(255,248,236,.42)!important;background:transparent!important;color:#f8dfb1!important;}
.xyg-tl-page.page-draw .btn-start-focus:hover{background:#f8dfb1!important;color:#681711!important;}
.xyg-tl-page .cross-table{border-collapse:separate!important;border-spacing:0!important;background:#fffaf2!important;border-radius:16px!important;overflow:hidden!important;box-shadow:var(--tl-shadow)!important;}
.xyg-tl-page .cross-table td{border:1px solid #e9c9a2!important;background:#fffaf2!important;}
.xyg-tl-page .cross-table td.empty{background:#fff6e8!important;border:1px dashed #e9c9a2!important;}
.xyg-tl-page.page-result .energy-title{color:#681711!important;}
.xyg-tl-page.page-result .detail-item{border:1px solid #f0dfc8!important;border-radius:16px!important;background:linear-gradient(180deg,#fffdf8,#fff6e9)!important;box-shadow:0 8px 18px rgba(94,55,25,.05)!important;overflow:hidden;}
.xyg-tl-page.page-result .detail-title,.xyg-tl-page.page-result .bold-title{color:#681711!important;}
.xyg-tl-page.page-result .poster-modal{z-index:99999!important;}
/* top.php 兼容 */
.wrapper,.yxj-site-head{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;color:#fff8ec!important;background:linear-gradient(135deg,#5e1510 0%,#8f241d 58%,#651811 100%)!important;border-bottom:2px solid rgba(201,154,90,.88)!important;box-shadow:0 6px 18px rgba(62,20,13,.24)!important;overflow:visible!important;}
.top-bar,.yxj-head-inner{width:min(1180px,calc(100% - 32px))!important;min-height:58px!important;margin:0 auto!important;padding:0!important;display:grid!important;grid-template-columns:92px 1fr 92px!important;align-items:center!important;gap:10px!important;}
.home-link,.home-link2,.yxj-head-left,.yxj-head-right{display:flex!important;align-items:center!important;}.home-link2,.yxj-head-right{justify-content:flex-end!important;}
.home-link a,.home-link2 a,.yxj-head-link{display:inline-flex!important;justify-content:center!important;align-items:center!important;height:30px!important;min-width:72px!important;padding:0 16px!important;border:1px solid rgba(255,248,236,.32)!important;border-radius:999px!important;color:#fff4e3!important;background:rgba(255,255,255,.035)!important;font-size:13px!important;line-height:1!important;font-weight:700!important;}
.logo_m,.yxj-logo{justify-self:center!important;text-align:center!important;color:#fff8ec!important;line-height:1.1!important;}.logo_m img{height:38px!important;width:auto!important;margin:0 auto!important;}.logo_m a,.yxj-logo a,.yxj-logo strong{color:#fff8ec!important;}.yxj-logo strong,.logo_m strong{display:block!important;color:#fff8ec!important;font-size:24px!important;letter-spacing:8px!important;text-indent:8px!important;font-family:Georgia,"Times New Roman","STSong","SimSun",serif!important;font-weight:800!important;}.yxj-logo span,.logo_m span{display:block!important;margin-top:4px!important;color:rgba(255,246,226,.72)!important;font-size:11px!important;}
.menu-bar,.yxj-nav{display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:rgba(42,10,7,.28)!important;border-top:1px solid rgba(255,255,255,.08)!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;clear:both!important;}.menu-bar::-webkit-scrollbar,.yxj-nav::-webkit-scrollbar{display:none!important;}.menu-bar ul,.yxj-nav ul{width:max-content!important;min-width:100%!important;max-width:none!important;margin:0 auto!important;padding:0 10px!important;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;gap:2px!important;white-space:nowrap!important;list-style:none!important;}.menu-bar li,.yxj-nav li{flex:0 0 auto!important;float:none!important;width:auto!important;min-width:auto!important;height:auto!important;margin:0!important;padding:0!important;list-style:none!important;white-space:nowrap!important;}.menu-bar a,.yxj-nav a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 14px 9px!important;color:#fff0dc!important;font-size:14px!important;font-weight:800!important;line-height:1.35!important;white-space:nowrap!important;}.menu-bar a:hover,.yxj-nav a:hover{color:#fff!important;background:rgba(255,255,255,.08)!important;}
@media(min-width:1181px){.menu-bar ul,.yxj-nav ul{width:min(1180px,calc(100% - 24px))!important;min-width:0!important;justify-content:center!important;}}
/* gongju/dibu */
.xyg-tl-wrap .yxj-panel,body.xyg-tl-page>.yxj-panel{width:100%!important;margin:14px auto 0!important;padding:15px!important;border:1px solid var(--tl-line)!important;border-radius:var(--tl-radius)!important;background:rgba(255,250,242,.97)!important;box-shadow:var(--tl-shadow)!important;overflow:hidden!important;}.yxj-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important;padding:0 2px 10px!important;border-bottom:1px solid #f0dfc8!important;}.yxj-section-head h2{position:relative!important;margin:0!important;padding-left:14px!important;color:#681711!important;font-size:20px!important;line-height:1.35!important;font-weight:800!important;}.yxj-section-head h2:before{content:""!important;position:absolute!important;left:0!important;top:.18em!important;width:5px!important;height:1.1em!important;border-radius:99px!important;background:linear-gradient(180deg,var(--tl-gold),var(--tl-red2))!important;}.yxj-section-head span{color:var(--tl-muted)!important;font-size:13px!important;white-space:nowrap!important;}.xyg-link-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none!important;}.xyg-link-grid li{margin:0!important;padding:0!important;list-style:none!important;}.xyg-link-grid a{min-height:42px!important;padding:8px 10px!important;border:1px solid #f0dfc8!important;border-radius:12px!important;background:linear-gradient(180deg,#fffef9,#fff6e9)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#6b432e!important;font-size:14px!important;font-weight:800!important;text-align:center!important;overflow:hidden!important;}.yxj-tool-grid a{justify-content:flex-start!important;text-align:left!important;}.yxj-tool-grid em{flex:0 0 28px!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border-radius:50%!important;color:#7a2a20!important;background:linear-gradient(180deg,#f4e4c8,#ebd0a3)!important;font-style:normal!important;font-weight:900!important;font-size:13px!important;}.yxj-tool-grid span{min-width:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;}.xyg-link-grid a:hover{color:#fff!important;border-color:transparent!important;background:linear-gradient(135deg,var(--tl-red),#c44b35)!important;transform:translateY(-1px);box-shadow:0 8px 18px rgba(143,36,29,.14)!important;}.xyg-link-grid a:hover em{color:#7a2a20!important;background:#fff4df!important;}
.xyg-tl-page .yxj-site-foot,.xyg-tl-page footer{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:18px auto 0!important;padding:20px 18px!important;text-align:center!important;color:#7b6654!important;background:rgba(255,250,242,.94)!important;border:1px solid var(--tl-line)!important;border-radius:var(--tl-radius)!important;box-shadow:var(--tl-shadow)!important;font-size:13px!important;line-height:1.9!important;}.xyg-tl-page .yxj-site-foot p,.xyg-tl-page footer p{margin:4px 0!important;padding:0!important;}.xyg-tl-page .yxj-site-foot a,.xyg-tl-page footer a{color:var(--tl-red)!important;text-decoration:none!important;font-weight:800!important;}
@media(max-width:980px){.xyg-tl-copy-grid,.xyg-tl-faq-list{grid-template-columns:1fr;}.xyg-link-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:720px){.xyg-tl-wrap{width:calc(100% - 16px);margin-top:10px;}.xyg-tl-subnav{display:flex;overflow-x:auto;border-radius:16px;}.xyg-tl-subnav a{flex:0 0 auto;min-width:98px;min-height:38px;font-size:13px;}.xyg-tl-breadcrumb{border-radius:14px;font-size:13px;line-height:1.6;}.xyg-tl-shell{padding:10px;border-radius:16px;}.xyg-tl-page.page-index h1,.xyg-tl-page.page-draw h1,.xyg-tl-page.page-arrange h1,.xyg-tl-page.page-result h1{font-size:22px!important;}.xyg-tl-page .action-area{padding:16px 12px!important;}.xyg-tl-page .action-desc{font-size:14px!important;line-height:1.8!important;}.xyg-tl-page .lore-area{padding:14px!important;}.xyg-tl-page .lore-title{font-size:18px!important;}.xyg-tl-page .lore-content{font-size:14px!important;line-height:1.8!important;}.xyg-tl-page .lore-image{float:none!important;width:100%!important;margin:0 0 12px!important;}.xyg-tl-copy-grid,.xyg-tl-faq-list{padding:6px;gap:6px;}.xyg-tl-panel-head{min-height:50px;padding:0 12px;}.xyg-tl-panel-head h2{font-size:18px;}.xyg-tl-panel-head span{display:none;}.top-bar,.yxj-head-inner{width:min(100% - 16px,1180px)!important;min-height:52px!important;grid-template-columns:64px 1fr 64px!important;gap:8px!important;}.home-link a,.home-link2 a,.yxj-head-link{height:26px!important;min-width:54px!important;padding:0 10px!important;font-size:12px!important;}.yxj-logo strong,.logo_m strong{font-size:20px!important;letter-spacing:5px!important;text-indent:5px!important;}.yxj-logo span,.logo_m span{display:none!important;}.menu-bar ul,.yxj-nav ul{width:max-content!important;min-width:100%!important;margin:0!important;padding:0 8px!important;justify-content:flex-start!important;}.menu-bar a,.yxj-nav a{min-height:36px!important;padding:7px 12px 8px!important;font-size:13px!important;}.yxj-section-head h2{font-size:18px!important;}.yxj-section-head span{display:none!important;}.xyg-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}.xyg-link-grid a{min-height:39px!important;padding:7px 8px!important;font-size:13px!important;}.xyg-tl-page .yxj-site-foot,.xyg-tl-page footer{width:min(100% - 16px,1180px)!important;padding:16px 12px!important;font-size:12px!important;line-height:1.8!important;}}
@media(max-width:430px){.xyg-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.xyg-tl-page.page-draw{--card-w:54px;--card-h:88px;--slot-w:54px;--slot-h:88px;--fan-radius:220px;--fan-bottom:62px;}.xyg-tl-page.page-draw .selected-cards{gap:10px!important;}.xyg-tl-page.page-result .cross-table td{height:132px!important;padding:5px!important;}.xyg-tl-page.page-result .grid-card-title{font-size:12px!important;}}


/* v202605042225：手机端洗牌示意图缩放，避免图片占满整屏 */
@media (max-width:720px){
  .xyg-tl-page .lore-image,
  body.page-index .lore-image{
    float:right!important;
    width:42%!important;
    max-width:156px!important;
    min-width:118px!important;
    margin:3px 0 8px 12px!important;
  }
  .xyg-tl-page .lore-image img,
  body.page-index .lore-image img{
    width:100%!important;
    height:auto!important;
    max-height:120px!important;
    object-fit:cover!important;
    border-radius:10px!important;
  }
}
@media (max-width:430px){
  .xyg-tl-page .lore-image,
  body.page-index .lore-image{
    width:40%!important;
    max-width:136px!important;
    min-width:108px!important;
    margin:2px 0 6px 10px!important;
  }
  .xyg-tl-page .lore-image img,
  body.page-index .lore-image img{
    max-height:98px!important;
  }
}


/* v202605042345：修复抽牌页上一步/下一步按钮文字居中与加粗 */
.xyg-tl-page.page-draw .buttons-container .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  padding:0 18px!important;
  font-size:17px!important;
  font-weight:900!important;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",Arial,sans-serif!important;
  letter-spacing:.02em!important;
  vertical-align:middle!important;
}
.xyg-tl-page.page-draw .buttons-container .btn-prev,
.xyg-tl-page.page-draw .buttons-container .btn-next{
  min-width:130px!important;
  height:46px!important;
}
@media(max-width:720px){
  .xyg-tl-page.page-draw .buttons-container{gap:14px!important;margin:22px 0 14px!important;}
  .xyg-tl-page.page-draw .buttons-container .btn{
    min-width:118px!important;
    height:44px!important;
    font-size:16px!important;
    padding:0 14px!important;
  }
}



/* 星运阁新站公共头部、导航、面包屑与底部工具区 */
.logo_m img{height:2rem;}
.top-bar{
  margin:0!important;
  min-height:39px!important;
  overflow:hidden!important;
  background:#2b5876!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}
.home-link a,.home-link2 a,
.top-bar .home-link a,.top-bar .home-link2 a,
.wrapper .home-link a,.wrapper .home-link2 a{
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px!important;
  padding:5px 10px!important;
  background-color:transparent!important;
  border-radius:5px!important;
}
.home-link a:hover,.home-link2 a:hover{background-color:rgba(255,255,255,.2)!important;}
.top-bar .logo_m{flex:1;text-align:center;}
.xyg-site-menu{
  text-align:center;
  font-size:16px;
  padding-bottom:4px;
  background-color:#fff;
  border-radius:2px;
  clear:both;
}
.xyg-site-menu ul{
  list-style-type:none;
  margin:0 auto;
  padding-left:0;
  width:100%;
  overflow:hidden;
}
.xyg-site-menu li{
  float:left;
  width:25%;
  text-align:center;
  line-height:32px;
}
.xyg-site-menu li:hover{background-color:#ff7846;}
.xyg-site-menu a{
  display:block;
  color:#483724;
  text-decoration:none;
  font-size:15px;
}
#topppp{
  width:100%;
  min-height:1px;
  clear:both;
  overflow:visible;
  position:relative;
  z-index:1;
}
.xyg-site-crumb{
  width:min(1180px,calc(100% - 32px));
  margin:8px auto 12px;
  padding:9px 14px;
  border:1px solid var(--tl-line,#ead6bd);
  border-radius:12px;
  background:#fffaf2;
  color:#7b6654;
  font-size:14px;
  line-height:1.7;
}
.xyg-site-crumb a{
  color:#8b1f1f;
  font-weight:700;
  text-decoration:none;
}
.weblist{
  width:min(1180px,calc(100% - 32px));
  margin:12px auto;
  background:#fffaf2;
  border:1px solid var(--tl-line,#ead6bd);
  border-radius:14px;
  overflow:hidden;
}
.webbox_title{
  padding:10px 14px;
  border-bottom:1px solid var(--tl-line,#ead6bd);
  background:#fff4e6;
}
.webbox_title h2{
  margin:0;
  text-align:center;
  font-size:20px;
  color:#8b1f1f;
}
.weblist .list{padding:10px 12px;}
.weblist ul.sm{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}
.weblist ul.sm li{margin:0;padding:0;}
.weblist ul.sm a{
  display:block;
  text-align:center;
  padding:8px 6px;
  color:#483724;
  background:#fffdf8;
  border:1px solid #efdac0;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
}
.pic_list{padding:10px 12px;}
.pic_list ul{list-style:none;margin:0;padding:0;}
.pic_list li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid #efddc8;
}
.pic_list li:last-child{border-bottom:0;}
.pic_list a{color:#483724;text-decoration:none;}
.pic_list .date{color:#9a8777;font-size:13px;white-space:nowrap;}
@media(max-width:720px){
  .xyg-site-menu li{width:25%;line-height:30px;}
  .xyg-site-menu a{font-size:14px;}
  .xyg-site-crumb{width:calc(100% - 16px);font-size:13px;border-radius:10px;margin:8px auto;}
  .weblist{width:calc(100% - 16px);}
  .weblist ul.sm{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pic_list li{display:block;}
  .pic_list .date{display:block;margin-top:4px;}
}



/* tarot homepage redesign */
.xyg-tl-page.page-index .xyg-tl-intro-hero{
  margin:6px 0 8px;
  padding:24px;
  border:1px solid #ecd7be;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(250,212,164,.28), transparent 32%),
    radial-gradient(circle at left bottom, rgba(209,86,67,.10), transparent 30%),
    linear-gradient(135deg,#fffdf9 0%,#fff6ee 100%);
  box-shadow:0 18px 40px rgba(114,76,44,.08);
}
.xyg-tl-intro-head{
  max-width:820px;
  margin:0 auto;
  text-align:center;
}
.xyg-tl-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(176,59,46,.08);
  color:#9b3429;
  font-size:13px;
  font-weight:800;
  letter-spacing:.6px;
}
.xyg-tl-intro-head h2{
  margin:14px 0 10px;
  color:#5a241d;
  font-size:32px;
  line-height:1.35;
}
.xyg-tl-intro-head p{
  margin:0 auto;
  color:#6c5446;
  font-size:16px;
  line-height:1.95;
}
.xyg-tl-scene-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:880px;
  margin:22px auto 0;
}
.xyg-tl-scene-item{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border:1px solid #eedbc6;
  border-radius:16px;
  background:rgba(255,255,255,.78);
  color:#6a4531;
  font-weight:700;
  box-shadow:0 8px 18px rgba(108,73,47,.05);
}
.xyg-tl-alert-row{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:14px;
  max-width:880px;
  margin:8px auto 0;
}
.xyg-tl-alert-card{
  padding:8px 8px;
  border-radius:18px;
  border:1px solid #efdac6;
  background:#fffdfa;
}
.xyg-tl-alert-card.is-main{
  background:linear-gradient(135deg,#fff6f2,#fff8f3);
  border-color:#efc6bf;
}
.xyg-tl-alert-card strong{
  display:block;
  margin-bottom:7px;
  color:#8f241d;
  font-size:16px;
}
.xyg-tl-alert-card p{
  margin:0;
  color:#6b574b;
  line-height:1.9;
  font-size:15px;
}
.xyg-tl-start-bar{
  margin-top:12px;
  text-align:center;
}
.xyg-tl-start-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:290px;
  min-height:56px;
  padding:0 28px;
  border-radius:999px;
  background:linear-gradient(135deg,#8e201b 0%,#c94731 55%,#de7c47 100%);
  color:#fff !important;
  text-decoration:none;
  font-size:24px;
  font-weight:800;
  letter-spacing:.5px;
  box-shadow:0 16px 28px rgba(156,56,38,.25);
  transition:transform .25s ease, box-shadow .25s ease;
}
.xyg-tl-start-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 32px rgba(156,56,38,.3);
}
.xyg-tl-start-tip{
  display:block;
  margin-top:10px;
  color:#8c7463;
  font-size:14px;
}
.xyg-tl-page.page-index .xyg-tl-prep-panel{
  margin:0 0 18px;
  padding:22px;
  border:1px solid #ecd7be;
  border-radius:22px;
  background:linear-gradient(180deg,#fffdfa,#fff7ee);
  box-shadow:0 14px 30px rgba(114,76,44,.06);
}
.xyg-tl-prep-head{
  margin-bottom:18px;
}
.xyg-tl-prep-head h2{
  margin:0 0 6px;
  color:#5b261f;
  font-size:28px;
}
.xyg-tl-prep-head p{
  margin:0;
  color:#8b715f;
  font-size:15px;
}
.xyg-tl-prep-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.xyg-tl-prep-card{
  position:relative;
  padding:18px 18px 18px 20px;
  border:1px solid #efdfcf;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 20px rgba(113,80,50,.05);
}
.xyg-tl-prep-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg,#f7dfbe,#f1c992);
  color:#8b2b20;
  font-weight:800;
  font-size:16px;
}
.xyg-tl-prep-card h3{
  margin:12px 0 8px;
  color:#5d3024;
  font-size:19px;
}
.xyg-tl-prep-card p{
  margin:0;
  color:#6d5b4e;
  line-height:1.9;
  font-size:15px;
}

/* refresh the long article blocks to look less like the old site */
.xyg-tl-page.page-index .lore-area{
  padding:24px !important;
  border:1px solid #ead8c4 !important;
  border-radius:22px !important;
  background:linear-gradient(180deg,#fffefb,#fff9f2) !important;
  box-shadow:0 14px 28px rgba(114,76,44,.06) !important;
  margin:0 0 8px !important;
}
.xyg-tl-page.page-index .lore-title{
  position:relative;
  margin:0 0 16px !important;
  padding-left:18px;
  color:#5b261f !important;
  font-size:28px !important;
  line-height:1.35;
}
.xyg-tl-page.page-index .lore-title:before{
  content:"";
  position:absolute;
  left:0;
  top:.2em;
  bottom:.2em;
  width:6px;
  border-radius:99px;
  background:linear-gradient(180deg,#d77a43,#a92d21);
}
.xyg-tl-page.page-index .lore-content{
  color:#665345 !important;
  font-size:16px !important;
  line-height:2 !important;
}
.xyg-tl-page.page-index .lore-content p{
  margin:0 0 14px;
}
.xyg-tl-page.page-index .lore-content strong{
  color:#8f241d;
}
.xyg-tl-page.page-index .lore-image{
  float:right;
  width:240px;
  margin:2px 0 12px 18px;
}
.xyg-tl-page.page-index .lore-image img{
  width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid #efdcc7;
  box-shadow:0 12px 24px rgba(111,74,45,.12);
}

@media(max-width:900px){
  .xyg-tl-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .xyg-tl-alert-row{grid-template-columns:1fr;}
  .xyg-tl-prep-grid{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .xyg-tl-page.page-index .xyg-tl-intro-hero,
  .xyg-tl-page.page-index .xyg-tl-prep-panel,
  .xyg-tl-page.page-index .lore-area{
    padding:10px 10px 10px 10px !important;
    border-radius:18px !important;
  }
  .xyg-tl-intro-head h2{font-size:16px;}
  .xyg-tl-intro-head p{font-size:14px;line-height:1.85;}
  .xyg-tl-scene-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin-top:8px;}
  .xyg-tl-scene-item{min-height:46px;font-size:14px;border-radius:14px;}
  .xyg-tl-start-btn{min-width:100%;font-size:21px;min-height:52px;}
  .xyg-tl-start-tip{font-size:13px;}
  .xyg-tl-prep-head h2,.xyg-tl-page.page-index .lore-title{font-size:22px !important;}
  .xyg-tl-prep-card h3{font-size:17px;}
  .xyg-tl-prep-card p,.xyg-tl-alert-card p{font-size:14px;line-height:1.85;}
  .xyg-tl-page.page-index .lore-content{font-size:14px !important;line-height:1.9 !important;}
  .xyg-tl-page.page-index .lore-image{
    float:none;
    width:100%;
    margin:0 0 14px;
  }
}



/* v20260610-2: xyg-tl-shell + draw.php unified redesign */
.xyg-tl-shell{
  position:relative!important;
  overflow:hidden!important;
  margin:16px 0 20px!important;
  padding:22px!important;
  border:1px solid #ead6bd!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 12% 0%, rgba(214,128,79,.16), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(140,39,31,.12), transparent 32%),
    linear-gradient(180deg,#fffdf9 0%,#fff8ef 100%)!important;
  box-shadow:0 18px 42px rgba(118,78,46,.10)!important;
}
.xyg-tl-shell:before{
  content:"";
  position:absolute;
  inset:12px;
  pointer-events:none;
  border:1px solid rgba(238,213,186,.62);
  border-radius:20px;
}
.xyg-tl-shell > *{
  position:relative;
  z-index:1;
}
.xyg-tl-page .tarot-board{
  max-width:1040px!important;
  width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  min-height:auto!important;
}
.xyg-tl-seo-panel{
  border-radius:22px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fffdf9,#fff7ee)!important;
  border:1px solid #ead8c4!important;
  box-shadow:0 12px 26px rgba(114,76,44,.06)!important;
}
.xyg-tl-panel-head{
  background:linear-gradient(90deg,#fff3e2,#fff9ef)!important;
  border-bottom:1px solid #ead8c4!important;
}

/* draw page visual */
.xyg-tl-page.page-draw .xyg-tl-draw-shell{
  padding:8px!important;
}
.xyg-tl-draw-hero{
  text-align:center;
  padding:8px 10px 18px;
}
.xyg-tl-draw-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(159,48,38,.08);
  color:#9b3429;
  font-size:13px;
  font-weight:800;
  letter-spacing:.6px;
}
.xyg-tl-page.page-draw .xyg-tl-draw-hero h1{
  margin:12px 0 8px!important;
  color:#5b241d!important;
  font-size:clamp(28px,4vw,42px)!important;
  line-height:1.2!important;
  font-weight:900!important;
  text-shadow:none!important;
  letter-spacing:.5px!important;
}
.xyg-tl-draw-hero p{
  max-width:720px;
  margin:0 auto;
  color:#6c5446;
  font-size:16px;
  line-height:1.9;
}
.xyg-tl-draw-steps{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.xyg-tl-draw-steps span{
  min-width:82px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #ecd9c4;
  background:rgba(255,255,255,.76);
  color:#7a4f39;
  font-size:14px;
  font-weight:700;
}
.xyg-tl-draw-layout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:6px;
  align-items:stretch;
}
.xyg-tl-card-zone,
.xyg-tl-picked-zone{
  border:1px solid #ecd7be;
  border-radius:24px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 30px rgba(113,80,50,.06);
}
.xyg-tl-card-zone{
  min-height:450px;
  padding:18px 16px 10px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,247,236,.78)),
    radial-gradient(circle at center,rgba(202,118,73,.10),transparent 45%);
}
.xyg-tl-card-zone-title{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:0 4px 8px;
}
.xyg-tl-card-zone-title b{
  color:#5b261f;
  font-size:20px;
}
.xyg-tl-card-zone-title span{
  color:#8c7463;
  font-size:14px;
}
.xyg-tl-page.page-draw .card-container{
  width:100%;
  height:360px!important;
  max-height:none!important;
  margin:0 auto!important;
  border-radius:20px;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.75),rgba(255,246,232,.35) 46%,transparent 70%),
    repeating-linear-gradient(90deg,rgba(172,112,76,.05) 0 1px,transparent 1px 28px);
  overflow:hidden;
}
.xyg-tl-page.page-draw .card{
  border-radius:10px!important;
  box-shadow:0 10px 18px rgba(58,34,19,.22)!important;
  overflow:hidden;
}
.xyg-tl-page.page-draw .card.is-ready:hover{
  --y:-18px;
  box-shadow:0 18px 28px rgba(116,53,33,.28)!important;
}
.xyg-tl-picked-zone{
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.xyg-tl-page.page-draw .dynamic-prompt{
  margin:0 0 16px!important;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #efdad1;
  background:linear-gradient(135deg,#fff7f2,#fffdf9);
  color:#7b3b2f!important;
  font-size:17px!important;
  line-height:1.7;
  text-align:center;
  animation:none!important;
  box-shadow:0 10px 20px rgba(122,76,46,.06);
}
.xyg-tl-page.page-draw .red-text{
  color:#a92d21!important;
  font-weight:900!important;
}
.xyg-tl-page.page-draw .selected-cards{
  --slot-w:76px;
  --slot-h:122px;
  gap:13px!important;
  margin:8px auto 18px!important;
}
.xyg-tl-page.page-draw .card-slot{
  border-radius:14px!important;
  background:
    linear-gradient(180deg,#fffdf8,#fff2e4)!important;
  border:1px dashed #d9b995;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.75),0 10px 18px rgba(89,57,37,.08)!important;
}
.xyg-tl-page.page-draw .card-slot::before{
  content:none!important;
}
.xyg-tl-page.page-draw .slot-num{
  color:#c69a69!important;
  font:bold 28px Georgia,"Times New Roman",serif!important;
  opacity:.65!important;
}
.xyg-tl-page.page-draw .card-slot img{
  border-radius:14px!important;
  box-shadow:0 10px 18px rgba(61,38,23,.22)!important;
}
.xyg-tl-draw-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:12px!important;
  margin:0!important;
}
.xyg-tl-page.page-draw .btn{
  min-height:46px!important;
  border-radius:999px!important;
  font-size:16px!important;
  font-weight:800!important;
}
.xyg-tl-page.page-draw .btn-prev{
  background:#fff7eb!important;
  border:1px solid #e6cdb3!important;
  color:#7b4c36!important;
  box-shadow:none!important;
}
.xyg-tl-page.page-draw .btn-next{
  border:0!important;
  background:#c9b7a8!important;
  color:#fff!important;
  box-shadow:none!important;
}
.xyg-tl-page.page-draw .btn-next.active{
  background:linear-gradient(135deg,#8f241d,#c94731,#dc7a47)!important;
  box-shadow:0 12px 22px rgba(155,57,39,.22)!important;
}
.xyg-tl-picked-note{
  margin:12px 0 0;
  color:#8c7463;
  text-align:center;
  font-size:13px;
  line-height:1.7;
}
.xyg-tl-focus-overlay{
  background:
    radial-gradient(circle at center,rgba(120,56,38,.86),rgba(24,13,9,.96))!important;
}
.xyg-tl-focus-card{
  width:min(520px,calc(100% - 36px));
  padding:34px 28px;
  border:1px solid rgba(247,219,182,.42);
  border-radius:26px;
  background:rgba(42,23,16,.62);
  box-shadow:0 20px 60px rgba(0,0,0,.32);
  text-align:center;
}
.xyg-tl-focus-mark{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:rgba(247,219,182,.12);
  color:#f3c98c;
  font-size:12px;
  letter-spacing:2px;
  font-weight:800;
}
.xyg-tl-page.page-draw .meditation-text{
  margin:18px 0 28px!important;
  color:#ffe9c5!important;
  font-size:21px!important;
  line-height:2!important;
  letter-spacing:.8px!important;
}
.xyg-tl-page.page-draw .btn-start-focus{
  border:0!important;
  min-height:48px;
  padding:0 28px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#f5c27d,#d98445)!important;
  color:#4d2019!important;
  font-weight:900!important;
  box-shadow:0 12px 28px rgba(0,0,0,.22)!important;
}

@media(max-width:980px){
  .xyg-tl-draw-layout{
    grid-template-columns:1fr;
  }
  .xyg-tl-card-zone{min-height:300px;}
  .xyg-tl-page.page-draw .card-container{height:320px!important;}
}
@media(max-width:720px){
  .xyg-tl-shell{
    padding:6px!important;
    border-radius:20px!important;
    margin:10px 0 16px!important;
  }
  .xyg-tl-shell:before{inset:7px;border-radius:16px;}
  .xyg-tl-draw-hero{padding:4px 4px 14px;}
  .xyg-tl-page.page-draw .xyg-tl-draw-hero h1{font-size:26px!important;}
  .xyg-tl-draw-hero p{font-size:14px;line-height:1.8;}
  .xyg-tl-draw-steps{gap:7px;}
  .xyg-tl-draw-steps span{min-width:68px;padding:7px 8px;font-size:13px;}
  .xyg-tl-card-zone,.xyg-tl-picked-zone{
    border-radius:18px;
    padding:12px;
  }
  .xyg-tl-card-zone-title{
    display:block;
    text-align:center;
  }
  .xyg-tl-card-zone-title b{display:block;font-size:18px;}
  .xyg-tl-card-zone-title span{display:block;margin-top:3px;font-size:13px;}
  .xyg-tl-page.page-draw .card-container{height:200px!important;}
  .xyg-tl-page.page-draw .selected-cards{
    --slot-w:68px;
    --slot-h:108px;
    gap:10px!important;
  }
  .xyg-tl-page.page-draw .dynamic-prompt{
    font-size:15px!important;
    padding:12px;
  }
  .xyg-tl-draw-actions{gap:9px!important;}
  .xyg-tl-page.page-draw .btn{font-size:15px!important;min-height:44px!important;}
  .xyg-tl-page.page-draw .meditation-text{font-size:18px!important;line-height:1.9!important;}
}

/* v20260611：塔罗首页顶部四项锚点导航，PC/手机都保持一行四个 */
.xyg-tl-anchor-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:8px 0 12px;
}
.xyg-tl-anchor-nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:34px;
  padding:0 4px;
  border-radius:12px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(146,72,45,.12);
  color:#4b1712;
  font-size:14px;
  font-weight:700;
  line-height:1.15;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
}
.xyg-tl-anchor-nav a:hover{
  color:#8f241d;
  background:#fffaf2;
  border-color:rgba(143,36,29,.22);
}

/* v20260611：兼容底部标题由 h2 改为 strong 后的样式 */
.webbox_title strong{
  display:block;
  margin:0;
  text-align:center;
  font-size:20px;
  line-height:1.35;
  color:#8b1f1f;
  font-weight:800;
}

@media (max-width:480px){
  .xyg-tl-anchor-nav{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    margin:6px 0 10px;
  }
  .xyg-tl-anchor-nav a{
    min-height:31px;
    padding:0 2px;
    border-radius:10px;
    font-size:13px;
  }
}

