* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: #ededed;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#app {
  min-height: 100vh;
}

.container {
  min-height: 100vh;
}

[v-cloak] {
  display: none;
}

article,
aside,
dialog,
figure,
footer,
header,
menu,
nav,
section {
  display: block
}

blockquote,
button,
code,
dd,
div,
dl,
dt,
fieldset,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
legend,
li,
ol,
p,
pre,
section,
select,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 400
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

dd,
dl,
dt,
ol,
ul {
  list-style-type: none
}

a {
  color: #333;
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

a,
input,
select,
span {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0
}

a:active,
a:focus,
a:hover,
a:link,
a:visited {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

a:active {
  opacity: .6
}

fieldset,
img,
input {
  border: none
}

em,
i {
  font-style: normal
}

input,
select,
textarea {
  outline: 0
}

:focus {
  outline: 0
}

select {
  background: rgba(0, 0, 0, 0)
}

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1000px #fff;
  box-shadow: inset 0 0 0 1000px #fff
}

div>iframe {
  display: none !important
}


/* 按钮组样式 */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

/* 按钮样式 */
.btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #6e8efb;
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 100%;
  /* padding: 20px; */
  margin: 0 auto;
  padding: 64px 0 0;
}

.pt-0 {
  padding-top: 0;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
}

/* .header::before {
  content: '☯';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  opacity: 0.3;
} */

.header h1 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.login-btn {
  font-size: .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1.25rem;
  color: #fff;
  cursor: pointer;
}

/* 返回按钮 */
.back-button {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  padding: 5px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
}

.tip-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 80px 15px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
  overflow: auto;
  /* 禁止背景页面滚动 */
  -webkit-overflow-scrolling: touch;
}

/* 当提示浮层显示时，禁止body滚动 */
body.tip-mask-visible {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
.step-number {
  background-color: #bc6d42;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 14px;
}

.step-btn {
  min-width: 40px;
  height: 30px;
  background-color: #343434;
  border-radius: 5px;
  box-shadow: rgba(255, 255, 255, 0.15) 0 1px 0px 0px inset, rgba(255, 255, 255, 0.05) 0 1px 0px 1px inset, rgba(0, 0, 0, 0.7) 0 1px 2px 0px, rgba(9, 9, 9, 0.6) 0 2px 3px 2px;
  background-image: linear-gradient(to bottom, rgba(78, 78, 78, 0.15) 0%, rgba(65, 65, 65, 0.15) 2%, rgba(59, 59, 59, 0.15) 5%, rgba(56, 56, 56, 0.15) 32%, rgba(54, 54, 54, 0.15) 33%, rgba(53, 53, 53, 0.15) 46%, rgba(51, 51, 51, 0.15) 47%, rgba(50, 50, 50, 0.15) 60%, rgba(48, 48, 48, 0.15) 61%, rgba(42, 42, 42, 0.15) 100%);
  background-size: 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  line-height: 1;
  white-space: normal;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.mb-8 {
  margin-bottom: 2rem;
}
.ml-2{
  margin-left: 4px;
}

/* footer */
.page-footer {
  margin: 1.25rem 0 0;
  background: #333;
  /* background-color: #f29b44; */
  overflow: hidden;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
}

/* -----------------------------------------index.html------------------------------------------------ */
.index-banner img {
  width: 100%;
  vertical-align: middle;
  cursor: pointer;
}

/* 介绍文本样式 */
.intro-text {
  background: rgba(255, 255, 255, 0.9);
  /* border-radius: 16px; */
  padding: 20px 10px;
  margin: 0 0 1.25rem;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.info-card {
  position: relative;
  background: #FDF2E5;
  border-radius: 1.25rem;
  box-sizing: border-box;
  border: 1px solid #F1C8AA;
  overflow: hidden;
  background-image: url(/images/wenbei.png);
  background-size: 100% 90%;
  background-repeat: no-repeat;
  padding: 1.5rem 1.5rem;
}

.intro-text p,
.intro-text h3 {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #a56437;
  text-align: justify;
}

.intro-text h3 {
  font-size: 1.4rem;
  font-weight: bold;
}

.intro-text ol {
  color: #C4814D;
  padding-left: 20px;
  margin-bottom: 15px;
  list-style-type: decimal;
}

.intro-text li {
  margin-bottom: 4px;
  font-size: 1rem;
}

.intro-text .intro-ft {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: #8d4e00;
  font-style: italic;
}

/* 首页菜单 */
.index-box {
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 1rem;
}

.index-menu {
  overflow: hidden;
  margin: 20px 5px 10px;
}

.index-menu li {
  float: left;
  width: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  text-align: center;
}

.index-menu div {
  display: block;
  margin: 0 5px;
  position: relative;
}

.index-menu img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.ib_words {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  line-height: 1;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.ib_txt {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  line-height: 1;
  font-size: .8rem;
  font-weight: bold;
  color: #E15439;
}

/* -----------------------------------------divination/index.html------------------------------------------------ */


.divination .info-c {
  margin-bottom: 1.25rem;
  background-color: #fff;
  padding: 2rem 10px;
}

.divination .input-group {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
  flex-direction: column;
}

.divination .info-c label {
  font-size: 0.9rem;
  margin-bottom: .4rem;
  display: block;
}

.divination .number-input {
  flex: 1;
  min-width: auto;
  padding: 15px;
  border: 2px solid #E9D0BE;
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
  background: white;
  transition: all 0.3s ease;
}

.divination .number-input:focus {
  outline: none;
  border-color: #8B4513;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.calculate-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, #D2691E 0%, #8B4513 100%);
  color: white;
  border: none;
  border-radius: 69px;
  font-size: 18px;
  /* font-weight: bold; */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
  animation: btnAnim 1.5s linear infinite;
}

@keyframes btnAnim {
  0% {
    transform: scale(.85)
  }

  50% {
    transform: scale(1)
  }

  100% {
    transform: scale(.85)
  }
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.calculate-btn:active {
  transform: translateY(0);
}

/* -----------------------------------------divination/result.html------------------------------------------------ */

.divination-result {
  background: #cd8c60 url(/images/bg1.jpg) no-repeat;
  background-size: 100% auto;
}
.divination-result.has-header {
  background-position-y: 64px;
}
.divination-result.has-header .container {
  padding-top: 130px;
}

.three-gua-section {
  /* background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); */
  padding: 20px;
  /* border-radius: 15px; */
  /* margin: 20px 0; */
  /* border: 1px solid #ba68c8; */
}

.three-gua-section h3 {
  color: #543120;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1.1rem;
}

.gua-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.gua-item {
  text-align: center;
  flex: 1;
}

.gua-item h4 {
  color: #543120;
  margin-bottom: 10px;
  font-size: 1rem;
}

.gua-item .symbol {
  font-size: 2.5rem;
  line-height: 0.9;
  color: #543120;
  margin: 10px 0;
}

.gua-item .name {
  font-size: .8rem;
  color: #543120;
}

.ben-fortune {
  background: #bc6d42;
  padding: 15px;
  border-radius: 0.3rem;
  margin: 15px 2rem;
}

.ben-fortune h4 {
  color: #fff;
  font-weight: normal;
  margin-bottom: 10px;
}

.ben-fortune .back-button-result {
  margin-top: 10px;
  padding: 10px;
  /* background: white; */
  border-radius: 5px;
  text-align: center;
}

.ben-fortune .back-button-result span {
  font-size: 3rem;
  font-weight: bold;
}

.ben-fortune .back-button-result p {
  margin-top: 1rem;
  font-size: .9rem;
  color: #f7d8a5;
}

.lock {
  background: #fff1cc;
  padding: 15px;
  border-radius: 0.3rem;
  margin: 15px 2rem;
}

.lock h4 {
  color: #333;
  font-weight: normal;
  margin-bottom: 10px;
}

.lock .blur {
  font-size: 1rem;
  color: rgba(158, 95, 54, 1);
  line-height: 1.5rem;
  box-shadow: inset 0 0 0 0.4rem rgb(255 255 255 / 30%);
  filter: blur(7px);
  text-align: justify;
}

.lock .calculate-btn {
  margin-top: 1rem;
}

.calculate-btn.btn2 {
  background: linear-gradient(180deg, #E15439 0%, #C83C23 100%);
}

.calculate-btn.btn3 {
  background: linear-gradient(180deg, #cc6c00 0%, #cc6c00 100%);
}

.story-content {
  font-size: 0.9rem;
  color: #333;
  font-size: 1rem;
  /* color: rgba(158, 95, 54, 1); */
  line-height: 1.5rem;
  text-align: justify;
}

.story-error {
  text-align: center;
  color: #333;
}

.story-loading {
  text-align: center;
  color: #333;
}

.story-btn {
  margin-top: 10px;
  padding: 8px 16px;
  /* background: #7b1fa2; */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: linear-gradient(180deg, #cc6c00 0%, #cc6c00 100%);
}

.skip-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
}

.skip-btns .calculate-btn {
  margin: 0;
  padding: 12px;
}

.spinner {
  border: 4px solid #fff;
  border-top: 4px solid #8B4513;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* 反馈模块样式 */
.feedback-section {
  margin: 2rem 2rem 2rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

.feedback-title {
  text-align: center;
  color: #8B4513;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: normal;
}

.feedback-content {
  border: 0;
  background-color: rgba(255, 255, 255, .8);
  width: 100%;
  border-radius: 12px;
  padding: 1rem;
}

.feedback-buttons {
  margin-top: .8rem;
  display: flex;
  justify-content: space-around;
}

.feedback-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.feedback-icon {
  font-size: 20px;
  margin-bottom: 5px;
}

.feedback-text {
  font-size: 14px;
  color: white;
}

.feedback-btn.positive {
  background: linear-gradient(180deg, #4CAF50 0%, #388E3C 100%);
}

.feedback-btn.negative {
  background: linear-gradient(180deg, #F44336 0%, #D32F2F 100%);
}

/* -----------------------------------------manual/index.html------------------------------------------------ */
.manual .skip-btns {
  flex-direction: column;
  margin-top: 2rem;
}

/* -----------------------------------------manual/result.html------------------------------------------------ */
.manual-result .manual-tip {
  font-size: .9rem;
  padding: 2rem 3rem 1rem;
  text-align: center;
  color: #8B4513;
}

/* -----------------------------------------consultation/index.html------------------------------------------------ */
.consultation .intro-text {
  background: transparent;
  margin: 0;
  padding: 0 10px;
  margin-bottom: 1rem;
}

.consultation .consultation-form {
  position: relative;
  padding: 3rem 1.25rem;
}

.consultation-form .form-item .content-sex>span {
  position: relative;
  display: inline-block;
  height: 2.5rem;
  line-height: 2.5rem;
  padding-left: 1.4rem;
}

.consultation-form .form-item .content-sex>span:first-of-type {
  margin-right: 2.5rem;
}

.consultation-form .form-item .content-sex>span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-color: #d9c390;
  border-radius: 50%;
}

.consultation-form .form-item .content-sex>.cur::before {
  background-color: #e13e18;
}

.consultation-form .form-item .content-sex>.cur::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: .25rem;
  height: .5rem;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg) translateY(-100%);
}

.question-label {
  margin-top: 2rem;
  margin-bottom: .4rem;
  font-size: 1rem;
  color: #333;
}

.consultation .skip-btns {
  flex-direction: column;
  margin-top: 2rem;
  padding: 0 1rem 1rem;
  gap: 1rem;

}

.consultation .skip-btns .calculate-btn {
  font-size: 1rem;
  margin: 0;
}

/* -----------------------------------------other/index.html------------------------------------------------ */
.tabs {
  margin: 0 10px;
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.tab {
  flex: 1;
  padding: 12px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #666;
}

.tab.active {
  background-color: #fff2d0;
  color: #a1411d;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-form {
  position: relative;
  background: url(/images/card1.png);
  background-size: 100% 100%;
  padding: 1.5625rem 1.25rem;
  margin: 0 10px;
  font-size: .9rem;
}

.card-form h4 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1rem;
  color: #a1411d;
  font-weight: bold;
}

.card-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background-color: #fff;
  padding: 1rem;
}

.card-form .calculate-btn {
  animation: none;
  padding: 12px;
  margin-top: 1.5rem;
}

.card-form .form-item {
  position: relative;
  height: 2.5rem;
  line-height: 2.5rem;
  background-color: #fff;
  border-radius: 1.4rem;
  margin-bottom: .9rem;
  padding-left: 5rem;
}

.card-form .form-item .label {
  position: absolute;
  left: .9rem;
  top: 0;
  width: 4rem;
  height: 2.5rem;
  line-height: 2.5rem;
  font-weight: 700;
  font-size: .9rem;
}

.card-form .form-item input {
  font-size: .9rem;
  width: 100%;
  box-sizing: border-box;
  height: 2.5rem;
  line-height: 2.5rem;
  background-color: transparent;
}

/* -----------------------------------------登录相关样式------------------------------------------------ */
/* 登录弹窗样式 */
.login-dialog {
  --el-dialog-padding-primary: 20px 15px !important;
  max-width: 400px;
}

.login-dialog .el-dialog__header {
  padding: 0 !important;
  text-align: center;
  margin-bottom: 15px;
}

.login-dialog .el-dialog__title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

/* 表单样式 */
.login-dialog .login-form {
  padding: 0 10px;
}

.login-dialog .form-item {
  margin-bottom: 25px !important;
}

.login-dialog .login-input {
  /* height: 50px !important; */
  border-radius: 8px !important;
}

/* 验证码行样式 */
.login-dialog .code-row {
  width: 100%;
}

.login-dialog .code-btn {
  /* width: 100% !important; */
  /* height: 50px !important; */
  /* padding: 0 !important; */
  /* font-size: 14px !important; */
}

/* 协议样式 */
.login-dialog .agreement {
  margin: 10px 0 15px !important;
  font-size: 12px !important;
  color: #666;
  text-align: left;
}

.login-dialog .agreement-link {
  color: #1890ff;
  text-decoration: underline;
}

/* 底部按钮样式 */
.login-dialog .dialog-footer {
  display: flex;
  padding: 10px 15px 20px !important;
  margin-top: 0 !important;
}

.login-dialog .login-submit {
  width: 100% !important;
  /* height: 50px !important; */
  /* font-size: 16px !important; */
  /* border-radius: 8px !important; */
  /* padding: 0 !important; */
  background: linear-gradient(180deg, #D2691E 0%, #8B4513 100%);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
  border: 0;
}

/* -----------------------------------------history/index.html------------------------------------------------ */
.history-item {
  background: white;
  border-radius: 12px;
  padding: 30px 15px 13px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.history-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.history-item.unread {
  background: linear-gradient(135deg, #f9f5ff 0%, #f0ebff 100%);
}

.history-type-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  border-bottom-left-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.unread-indicator {
  width: 12px;
  height: 12px;
  background: #ff4757;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 10px;
}

.history-analysis-info {}

.history-analysis-info .info-row {
  display: flex;
  margin-bottom: 8px;
  font-size: 15px;
}

.history-analysis-info .info-label {
  width: 80px;
  color: #7a7a7a;
  flex-shrink: 0;
}

.history-analysis-info .info-value {
  color: #3c3c3c;
  font-weight: 500;
}

.history-topic {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: #3c3c3c;
  font-weight: 500;
}

.history-count {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.history-count .number {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: white;
}

.history-count .number:nth-child(1) {
  background: linear-gradient(135deg, #6b5ce0 0%, #8a7eed 100%);
}

.history-count .number:nth-child(2) {
  background: linear-gradient(135deg, #33c9d3 0%, #6adbd6 100%);
}

.history-count .number:nth-child(3) {
  background: linear-gradient(135deg, #ff7c8a 0%, #ffa3ac 100%);
}

.history-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  color: #8a8a8a;
}

.infinite-scroll-loading {
  text-align: center;
  padding: 10px 0;
  color: #999;
}

.back-to-home {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #6e8efb;
  text-decoration: underline;
}

.no-history {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-history-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.no-history-text {
  font-size: 18px;
}

.history-detail-modal .el-dialog__body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.history-detail-modal .detail-info {
  margin-bottom: 20px;
}

.history-detail-modal .detail-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.history-detail-modal .detail-date {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
}

.history-detail-modal .detail-info-title {
  font-weight: 500;
  color: #666;
  margin-bottom: 8px;
  border-left: 3px solid #a56437;
  padding: 0 0 0 .5rem;
  line-height: 1.4;
}

.history-detail-modal .back-button-result {
  text-align: center;
}

.history-detail-modal .back-button-result span {
  font-size: 3rem;
  font-weight: bold;
}

.history-detail-modal .back-button-result p {
  margin-top: 1rem;
  color: #333;
}

.history-detail-modal .detail-content {
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
  text-align: left;
}

/* WebSocket通知弹框样式 - 优化版本 */
.notification-content {
  padding: 0;
  line-height: 1.8;
  color: #333;
  font-size: 15px;
}

.notification-content color[color="red"] {
  color: #f56c6c;
  font-weight: bold;
}

.dialog-footer {
  text-align: center;
  width: 100%;
}

/* 自定义通知弹框样式 - 卡片感设计 */
.el-overlay.is-message-box {
  background-color: rgba(0, 0, 0, 0.5);
}

/* 弹框外层容器 */
.notification-dialog.el-dialog__wrapper {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
}

.el-dialog.notification-dialog {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  border: none;
  background: #fff;
  width: 85% !important;
  max-width: 420px !important;
  margin: 0 !important;
  height: auto !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2000 !important;
}

/* 头部样式 */
.el-dialog.notification-dialog .el-dialog__header {
  background: linear-gradient(135deg, #FFE4B5 0%, #F0E68C 50%, #DAA520 100%);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.el-dialog.notification-dialog .el-dialog__title {
  font-size: 18px;
  font-weight: 600;
  color: #8B4513;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  text-align: center;
  flex: 1;
}

/* 关闭按钮独立布局 */
.el-dialog.notification-dialog .el-dialog__headerbtn {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(139, 69, 19, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.el-dialog.notification-dialog .el-dialog__headerbtn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.el-dialog.notification-dialog .el-dialog__close {
  color: #8B4513;
  font-size: 16px;
  font-weight: bold;
}

/* 内容区域 */
.el-dialog.notification-dialog .el-dialog__body {
  padding: 16px 24px;
  background: #fafafa;
  text-align: center;
}

.notification-content {
  padding: 0;
  line-height: 1.7;
  color: #333;
  font-size: 15px;
}

.notification-content color[color="red"] {
  color: #f56c6c;
  font-weight: bold;
}

/* 底部按钮区域 */
.el-dialog.notification-dialog .el-dialog__footer {
  background: #fafafa;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  justify-content: center;
}

.dialog-footer {
  text-align: center;
  width: 100%;
}

.el-dialog.notification-dialog .el-button--primary {
  background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
  border: none;
  border-radius: 10px;
  padding: 9px 28px;
  font-weight: 500;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
  transition: all 0.3s ease;
  min-width: 100px;
  height: auto;
}

.el-dialog.notification-dialog .el-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.4);
}

/* 响应式设计 - 小屏幕优化 */
@media (max-width: 768px) {
  .el-dialog.notification-dialog {
    width: 90% !important;
    max-width: 380px !important;
  }
  
  .el-dialog.notification-dialog .el-dialog__header {
    padding: 14px 20px;
  }
  
  .el-dialog.notification-dialog .el-dialog__title {
    font-size: 16px;
  }
  
  .el-dialog.notification-dialog .el-dialog__headerbtn {
    width: 28px;
    height: 28px;
    right: 14px;
  }
  
  .el-dialog.notification-dialog .el-dialog__body {
    padding: 14px 22px;
  }
  
  .notification-content {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .el-dialog.notification-dialog .el-dialog__footer {
    padding: 12px 22px 16px;
  }
  
  .el-dialog.notification-dialog .el-button--primary {
    padding: 8px 26px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .el-dialog.notification-dialog {
    width: 92% !important;
    max-width: 340px !important;
  }
  
  .el-dialog.notification-dialog .el-dialog__header {
    padding: 12px 18px;
  }
  
  .el-dialog.notification-dialog .el-dialog__title {
    font-size: 15px;
  }
  
  .el-dialog.notification-dialog .el-dialog__headerbtn {
    width: 26px;
    height: 26px;
    right: 12px;
  }
  
  .el-dialog.notification-dialog .el-dialog__body {
    padding: 12px 20px;
  }
  
  .notification-content {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .el-dialog.notification-dialog .el-dialog__footer {
    padding: 10px 20px 14px;
  }
  
  .el-dialog.notification-dialog .el-button--primary {
    padding: 8px 24px;
    font-size: 13px;
    min-width: 90px;
  }
}

/* 分享按钮样式 */
.share-section {
  margin: 2rem 2rem 1rem;
  text-align: center;
}

.share-result-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.share-result-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.share-icon {
  font-size: 18px;
}


/* 分享弹窗样式 */
.share-modal .el-dialog__body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

#shareImageContainer, #enhancedShareContainer {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.share-image {
  background: url(/images/share_bg.jpg);
  background-size: cover;
  padding: 24px 20px 20px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.share-image-header {
  /* font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B4513; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.share-image-header img {
  width: 107px;
}

.share-gua-section {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.share-gua-item {
  text-align: center;
}

.share-gua-symbol {
  font-size: 24px;
  line-height: 0.9;
  margin: 5px 0;
  color: #8B4513;
}

.share-fortune {
  /* background: #bc6d42; */
  border: 2px solid #bc6d42;
  padding: 10px;
  border-radius: 5px;
  /* color: white; */
  margin-bottom: 15px;
}

.share-fortune div:first-child {
  font-weight: bold;
  margin-bottom: 5px;
}

.share-image-footer {
  font-size: 14px;
  color: #8B4513;
  margin-bottom: 10px;
}

.share-image-qrcode {
  margin-top: 10px;
}

.share-image-qrcode img {
  width: 80px;
  height: 80px;
}

.share-buttons {
  display: flex;
  /* flex-direction: column; */
  gap: 15px;
  justify-content: center;
}

.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  background: transparent;
  padding: 10px;
}

.share-btn .btn-icon {
  width: 48px;
  height: 48px;
  background-color: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.share-btn:hover .btn-icon {
  background-color: #e0e0e0;
  transform: scale(1.05);
}

.share-btn .btn-text {
  color: #333;
  font-size: .8rem;
  text-align: center;
}


/* 增强版分享弹窗样式 */
.enhanced-share-image {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  height: auto;
  min-height: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.enhanced-share-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.enhanced-share-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.enhanced-share-title {
  font-size: 20px;
  font-weight: bold;
  color: #8B4513;
}

.enhanced-share-section {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border-left: 4px solid #8B4513;
}

.enhanced-share-section h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #8B4513;
  display: flex;
  align-items: center;
  gap: 8px;
}

.enhanced-share-info {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.enhanced-share-gua {
  display: flex;
  justify-content: space-around;
  margin: 10px 0;
}

.enhanced-share-gua-item {
  text-align: center;
  flex: 1;
}

.enhanced-share-gua-symbol {
  font-size: 20px;
  line-height: 0.9;
  margin: 5px 0;
  color: #8B4513;
}

.enhanced-share-gua-name {
  font-size: 12px;
  color: #666;
}

.enhanced-share-fortune {
  background: linear-gradient(135deg, #bc6d42 0%, #d2691e 100%);
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin: 10px 0;
}

.enhanced-share-fortune-result {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.enhanced-share-fortune-desc {
  font-size: 12px;
  opacity: 0.9;
}

.enhanced-share-story {
  max-height: none;
  overflow: visible;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  padding: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
}

/* 紧凑的二维码区域 */
.enhanced-share-qr-section {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.enhanced-share-qr-section.compact {
  margin-top: 10px;
  padding: 8px;
}

.enhanced-share-qr-item {
  text-align: center;
  flex: 1;
  padding: 0 5px;
}

.enhanced-share-qr-code {
  width: fit-content;
  margin: 0 auto 5px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: white;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}


.enhanced-share-qr-text {
  font-size: 11px;
  color: #666;
  line-height: 1.2;
  margin: 0;
}

.enhanced-share-qr-section.compact .enhanced-share-qr-text {
  font-size: 10px;
}



/* 历史记录分享按钮样式 */
.history-share-section {
  text-align: center;
  margin: 1.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.history-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.history-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.history-share-btn .share-icon {
  font-size: 18px;
}

/* 历史记录列表项分享按钮 */
.history-item-share {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(76, 175, 80, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.history-item-share:hover {
  background: rgba(76, 175, 80, 1);
  transform: scale(1.1);
}

.history-item-share .share-icon-small {
  font-size: 14px;
  color: white;
}
