@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: inherit;
  text-decoration: none;
}

[v-cloak] {
  display: none !important;
}

.w100p {
  width: 100%;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

html,
body {
  font-size: 16px;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  padding-top: 48px;
}
body.fixed {
  overflow: hidden;
}

@media (min-width: 960px) {
  body {
    padding-top: 64px;
  }
}
#app {
  min-height: calc(100vh - 64px - 150px);
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  text-align: center;
  outline: 0;
  margin: 0;
  transition: 0.1s;
  padding: 10px 20px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn .icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.btn:disabled {
  color: #fff;
  background-color: #dc3545;
  background-image: none;
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  font-size: 14px;
  padding: 8px 12px;
}

.btn-mini {
  font-size: 14px;
  padding: 6px 12px;
}

.btn-primary {
  color: #fff;
  background-image: linear-gradient(to right, #f7186a, #ec8c69);
}
.btn-primary:hover {
  color: #fff;
}

.btn-white {
  color: #606060;
  background-color: #fff;
  border: 1px solid #ddd;
}

.form-group,
.form-group-sm {
  position: relative;
  margin-bottom: 22px;
}
.form-group.inline,
.form-group-sm.inline {
  display: flex;
  align-items: center;
}
.form-group.inline .label,
.form-group-sm.inline .label {
  flex-shrink: 0;
}
.form-group.error input[type=text],
.form-group.error input[type=password],
.form-group.error select,
.form-group-sm.error input[type=text],
.form-group-sm.error input[type=password],
.form-group-sm.error select {
  border: 1px solid #f56c6c;
}
.form-group .label,
.form-group-sm .label {
  color: #606266;
  line-height: 40px;
  padding: 0 12px 0 0;
}
.form-group input[type=text],
.form-group input[type=number],
.form-group input[type=password],
.form-group input[type=tel],
.form-group input[type=email],
.form-group textarea,
.form-group select,
.form-group-sm input[type=text],
.form-group-sm input[type=number],
.form-group-sm input[type=password],
.form-group-sm input[type=tel],
.form-group-sm input[type=email],
.form-group-sm textarea,
.form-group-sm select {
  display: inline-block;
  font-size: 1rem;
  color: #606266;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #dcdfe6;
  height: 40px;
  line-height: 1.5;
  outline: 0;
  padding: 0 15px;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.form-group input[type=text]::-moz-placeholder, .form-group input[type=number]::-moz-placeholder, .form-group input[type=password]::-moz-placeholder, .form-group input[type=tel]::-moz-placeholder, .form-group input[type=email]::-moz-placeholder, .form-group textarea::-moz-placeholder, .form-group select::-moz-placeholder, .form-group-sm input[type=text]::-moz-placeholder, .form-group-sm input[type=number]::-moz-placeholder, .form-group-sm input[type=password]::-moz-placeholder, .form-group-sm input[type=tel]::-moz-placeholder, .form-group-sm input[type=email]::-moz-placeholder, .form-group-sm textarea::-moz-placeholder, .form-group-sm select::-moz-placeholder {
  color: #999;
}
.form-group input[type=text]::placeholder,
.form-group input[type=number]::placeholder,
.form-group input[type=password]::placeholder,
.form-group input[type=tel]::placeholder,
.form-group input[type=email]::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder,
.form-group-sm input[type=text]::placeholder,
.form-group-sm input[type=number]::placeholder,
.form-group-sm input[type=password]::placeholder,
.form-group-sm input[type=tel]::placeholder,
.form-group-sm input[type=email]::placeholder,
.form-group-sm textarea::placeholder,
.form-group-sm select::placeholder {
  color: #999;
}
.form-group input[type=text][disabled],
.form-group input[type=number][disabled],
.form-group input[type=password][disabled],
.form-group input[type=tel][disabled],
.form-group input[type=email][disabled],
.form-group textarea[disabled],
.form-group select[disabled],
.form-group-sm input[type=text][disabled],
.form-group-sm input[type=number][disabled],
.form-group-sm input[type=password][disabled],
.form-group-sm input[type=tel][disabled],
.form-group-sm input[type=email][disabled],
.form-group-sm textarea[disabled],
.form-group-sm select[disabled] {
  cursor: not-allowed;
}
.form-group textarea,
.form-group-sm textarea {
  height: auto;
}
.form-group .input-group,
.form-group-sm .input-group {
  display: flex;
  align-items: center;
  width: 100%;
}
.form-group .input-group .prepend,
.form-group-sm .input-group .prepend {
  display: flex;
  align-items: center;
  font-size: 1rem;
  background-color: #f5f7fa;
  height: 40px;
  padding: 0 6px;
  border: 1px solid #ccc;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: none;
}
.form-group .input-group .prepend ~ input,
.form-group-sm .input-group .prepend ~ input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form-group .input-group input,
.form-group-sm .input-group input {
  flex: 1;
  border-radius: 0;
}
.form-group .input-group input[disabled],
.form-group-sm .input-group input[disabled] {
  cursor: not-allowed;
}
.form-group .input-group input ~ .append,
.form-group-sm .input-group input ~ .append {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form-group .input-group .btn-append,
.form-group-sm .input-group .btn-append {
  width: 150px;
  cursor: pointer;
}
.form-group .radio,
.form-group-sm .radio {
  cursor: pointer;
}
.form-group .radio .indicator,
.form-group-sm .radio .indicator {
  display: inline-flex;
  align-items: center;
  color: #606266;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.form-group .radio .indicator:before,
.form-group-sm .radio .indicator:before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  margin-right: 4px;
  font-size: 20px;
  color: #ccc;
}
.form-group .radio ~ .radio,
.form-group-sm .radio ~ .radio {
  margin-left: 12px;
}
.form-group .radio input,
.form-group-sm .radio input {
  display: none;
}
.form-group .radio input:checked ~ .indicator,
.form-group-sm .radio input:checked ~ .indicator {
  color: #409eff;
}
.form-group .radio input:checked ~ .indicator:before,
.form-group-sm .radio input:checked ~ .indicator:before {
  content: "\f058";
  color: #409eff;
}
.form-group .radio input[disabled] ~ .indicator,
.form-group-sm .radio input[disabled] ~ .indicator {
  cursor: not-allowed;
}
.form-group .checkbox,
.form-group-sm .checkbox {
  cursor: pointer;
}
.form-group .checkbox .indicator,
.form-group-sm .checkbox .indicator {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  color: #606266;
  cursor: pointer;
}
.form-group .checkbox .indicator:before,
.form-group-sm .checkbox .indicator:before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  margin-right: 2px;
  color: #ccc;
}
.form-group .checkbox ~ .checkbox,
.form-group-sm .checkbox ~ .checkbox {
  margin-left: 12px;
}
.form-group .checkbox input,
.form-group-sm .checkbox input {
  display: none;
}
.form-group .checkbox input:checked ~ .indicator,
.form-group-sm .checkbox input:checked ~ .indicator {
  color: #409eff;
}
.form-group .checkbox input:checked ~ .indicator:before,
.form-group-sm .checkbox input:checked ~ .indicator:before {
  content: "\f058";
  color: #409eff;
}
.form-group .my-vselect .vs__dropdown-toggle,
.form-group-sm .my-vselect .vs__dropdown-toggle {
  border-radius: 10px;
  padding: 0;
}
.form-group .my-vselect .vs__selected,
.form-group-sm .my-vselect .vs__selected {
  display: block;
  color: #606266;
  line-height: 40px;
  margin: 0 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
}
.form-group .my-vselect .vs__selected-options,
.form-group-sm .my-vselect .vs__selected-options {
  font-size: 1rem;
  color: #606266;
  border: none;
  height: 40px;
  line-height: 1.5;
  outline: 0;
  padding: 0 15px;
  margin: 0;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.form-group .my-vselect .vs__selected-options,
.form-group-sm .my-vselect .vs__selected-options {
  flex-wrap: nowrap;
  max-width: calc(100% - 25px); /* change this to `- 40px` if you're supporting a `clearable` field; I was not */
}
.form-group .error,
.form-group-sm .error {
  color: #f56c6c;
  font-size: 12px;
  line-height: 1;
  padding-top: 4px;
  position: absolute;
  top: 100%;
  left: 0;
}
.form-group .hint-text,
.form-group-sm .hint-text {
  color: #277bc0;
  font-size: 12px;
}
.form-group .hint-text.danger,
.form-group-sm .hint-text.danger {
  color: #f56c6c;
}

.form-group-sm {
  margin-bottom: 12px;
}

.form-group-mini {
  margin-bottom: 10px;
}

textarea {
  height: auto;
  overflow: auto;
  resize: vertical;
  padding: 10px 15px !important;
}

.switch[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}
.switch[type=checkbox]:checked + label {
  background: #409eff;
}
.switch[type=checkbox]:checked + label:after {
  left: calc(100% - 3px);
  transform: translate(-100%, -50%);
}
.switch[type=checkbox] + label {
  cursor: pointer;
  text-indent: -9999px;
  width: 40px;
  height: 20px;
  background: #dcdfe6;
  display: block;
  border-radius: 50px;
  position: relative;
}
.switch[type=checkbox] + label:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.dialog-wrapper {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}
.dialog-wrapper.show {
  display: block;
  overflow: auto;
}
.dialog-wrapper.light {
  background-color: rgba(0, 0, 0, 0.5);
}
.dialog-wrapper.dark {
  background-color: #000;
}
.dialog-wrapper.confirm-dialog .dialog {
  max-width: 360px;
  padding: 0 20px;
}
.dialog-wrapper.confirm-dialog .dialog-body {
  padding: 20px 0;
}
.dialog-wrapper.confirm-dialog .confirm-message {
  font-size: 16px;
  margin-bottom: 30px;
}
.dialog-wrapper.confirm-dialog .bottom-row {
  text-align: right;
}
.dialog-wrapper.confirm-dialog .confirm-button {
  display: inline-block;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #606266;
  background-color: transparent;
  border: none;
  margin: 0 10px;
  cursor: pointer;
}
.dialog-wrapper.confirm-dialog .confirm-button.primary {
  color: #3c6ba8;
}
.dialog-wrapper.confirm-dialog .confirm-button:disabled {
  color: #ccc;
  cursor: not-allowed;
}
.dialog-wrapper .dialog {
  position: relative;
  width: 90%;
  max-width: 480px;
  padding: 0 20px 15px;
  color: #606266;
  background-color: #fff;
  border-radius: 10px;
  margin: 50px auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.dialog-wrapper .dialog .icon {
  display: block;
  margin: 0 auto;
  padding-top: 45px;
  width: 240px;
}
.dialog-wrapper .dialog .text {
  margin: 40px 0;
  font-size: 18px;
  text-align: left;
  color: #202020;
}
.dialog-wrapper .dialog .dialog-button {
  font-family: "Noto Sans TC", sans-serif;
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  border: 1px solid transparent;
  border-radius: 50px;
  margin: 10px 0;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.dialog-wrapper .dialog .dialog-button.confirm {
  color: #fff;
  background-color: #a6a5aa;
  border: 1px solid #a6a5aa;
}
.dialog-wrapper .dialog .dialog-button.confirm:hover {
  background-color: #7f7c8b;
}
.dialog-wrapper .dialog .dialog-button.danger {
  color: #fff;
  background-color: #f78989;
}
.dialog-wrapper .dialog .dialog-button.danger:hover {
  background-color: #f56c6c;
}
.dialog-wrapper .dialog .dialog-button.cancel {
  background-color: #fff;
  border: 1px solid #a6a5aa;
}
.dialog-wrapper .dialog-header {
  padding: 20px 0 10px;
}
.dialog-wrapper .dialog-header .dialog-title {
  min-height: 24px;
  line-height: 24px;
  font-size: 18px;
  color: #303133;
  margin-right: 12px;
}
.dialog-wrapper .dialog-body {
  padding: 20px 0;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
}
.dialog-wrapper .btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.text-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.text-loading .text {
  color: #fff;
  margin-top: 30px;
}

.progress-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.progress-loading .circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.progress-loading .spinner {
  border-radius: 50%;
  height: 150px;
  width: 150px;
}
.progress-loading .text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  height: 140px;
  width: 140px;
  color: #f56c6c;
  background-color: #fff;
  border-radius: 50%;
}
.progress-loading .chunk-status {
  font-size: 18px;
  color: #fff;
  margin: 16px 0 8px;
  font-weight: bold;
  background: rgba(245, 108, 108, 0.85);
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.progress-loading .elapsed-text {
  font-size: 16px;
  color: #ffd666;
  margin: 6px 0;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.progress-loading .btn-cancel {
  color: #fff;
  text-decoration: underline;
}

.empty-record {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 80px auto;
}
.empty-record img {
  width: 100%;
  max-width: 200px;
  margin-bottom: 20px;
}

.flex-row {
  display: flex;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 6px;
  height: 48px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  z-index: 2;
}
.nav .left-menu {
  display: flex;
  align-items: center;
  margin-left: 30px;
}
.nav .right-menu {
  position: relative;
  display: flex;
  align-items: center;
}
.nav .right-menu > :not(:first-child) {
  margin-left: 6px;
}
.nav .right-menu .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.nav .right-menu .dropdown {
  position: relative;
  padding: 10px 0;
}
.nav .right-menu .dropdown:last-child {
  display: none;
}
.nav .right-menu .dropdown [type=checkbox] {
  display: none;
}
.nav .right-menu .dropdown [type=checkbox]:checked ~ .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav .right-menu .dropdown .lang-btn {
  font-size: 14px;
  background-color: transparent;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}
.nav .right-menu .dropdown .lang-btn ~ .dropdown-menu {
  width: 128px;
}
.nav .logo {
  display: inline-block;
  height: 30px;
}
.nav .logo img {
  height: 100%;
  vertical-align: inherit;
}
.nav .menu-list {
  display: none;
  list-style-type: none;
  padding: 0;
}
.nav .menu-list li {
  padding: 0 10px;
  font-size: 18px;
  color: #202020;
}
.nav .menu-list a {
  text-decoration: none;
}
.nav .nav-btn {
  font-size: 14px;
  white-space: nowrap;
  border: none;
}
.nav .dropdown-menu {
  list-style-type: none;
  position: absolute;
  top: calc(100% - 10px);
  right: 0;
  width: 220px;
  padding: 10px 0;
  margin: 5px 0;
  background-color: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav .dropdown-menu::-webkit-scrollbar-track {
  background-color: transparent;
}
.nav .dropdown-menu::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}
.nav .dropdown-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.nav .dropdown-menu li {
  position: relative;
  line-height: 32px;
  padding: 4px 20px;
  margin: 0;
  color: #606266;
}
.nav .dropdown-menu li.divided {
  border-bottom: 1px solid #ccc;
  margin-bottom: 8px;
}
.nav .dropdown-menu li.link-item {
  padding-left: 30px;
}
.nav .dropdown-menu li.link-item:hover {
  background-color: #ecf5ff;
  color: #66b1ff;
}
.nav .dropdown-menu li a {
  display: block;
}
.nav .dropdown-menu li .badge {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #fff;
  background-color: #f56c6c;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
  padding: 0 6px;
  text-align: center;
  white-space: nowrap;
}
.nav .dropdown-menu li .logout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav .dropdown-menu .user {
  padding: 10px 0;
}
.nav .dropdown-menu .btn-apply {
  display: block;
  width: 100%;
  height: 37px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #f56c6c;
  border-radius: 10px;
  color: #f56c6c;
}
.nav .dropdown-menu .tag {
  font-size: 14px;
  color: #e05069;
}

@media (min-width: 960px) {
  .nav {
    height: 64px;
    padding: 0 20px;
  }
  .nav .hamburger {
    display: none;
  }
  .nav .menu-list {
    display: flex;
  }
  .nav .nav-btn {
    font-size: 16px;
    padding: 8px 24px;
  }
}
@media (min-width: 960px) {
  .nav .left-menu {
    margin-left: 0;
  }
  .nav .right-menu .dropdown:last-child {
    display: block;
  }
}
.nav-btn {
  display: inline-block;
  padding: 4px 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(to bottom, #f699a0, #e4719b);
  border-radius: 40px;
  transition: all 0.3s ease;
  font-size: 14px;
  cursor: pointer;
}
.nav-btn:hover {
  background: linear-gradient(to bottom, #e4719b, #f699a0);
  color: #ffffff;
}

.hamburger {
  position: fixed;
  top: 8px;
  left: 10px;
  background-color: transparent;
  border: none;
}
.hamburger:hover {
  cursor: pointer;
}
.hamburger.active .line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger .line {
  width: 24px;
  height: 2px;
  background-color: #635343;
  display: block;
  margin: 6px auto;
}

.offset-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #fff;
  padding: 100px 20px;
  transition: transform 0.3s;
  transform: translateX(-100%);
  z-index: 3;
  overflow: auto;
}
.offset-menu.active {
  transform: translateX(0);
}
.offset-menu .nav-btn {
  display: block;
  padding: 10px 0;
  margin-right: 0;
  margin-bottom: 20px;
}
.offset-menu .btn-start {
  margin: 0 10px 30px;
  text-align: center;
  padding: 10px 30px;
  font-size: 18px;
  border: 1px solid #f56c6c;
  border-radius: 50px;
  color: #f56c6c;
}
.offset-menu .offset-menu-list {
  list-style-type: none;
  flex-direction: column;
  color: #707070;
  font-size: 18px;
  margin-top: 20px;
}
.offset-menu .offset-menu-list li {
  position: relative;
  display: flex;
  align-items: center;
}
.offset-menu .offset-menu-list li.divided {
  border-bottom: 1px solid #ccc;
}
.offset-menu .offset-menu-list li a {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  padding-left: 8px;
}
.offset-menu .offset-menu-list li .icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.offset-menu .offset-menu-list li .badge {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #fff;
  background-color: #f56c6c;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
  padding: 0 6px;
  text-align: center;
  white-space: nowrap;
}
.offset-menu .offset-menu-list .tag {
  font-size: 14px;
  color: #e05069;
  margin-bottom: 10px;
}
.offset-menu .offset-menu-list .logout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ccc;
}
.offset-menu .avatar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.offset-menu .avatar img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
}
.offset-menu .avatar .name {
  font-size: 20px;
  font-weight: 700;
  margin-left: 10px;
}

@keyframes dropdown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-tabs {
  position: relative;
  list-style-type: none;
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.nav-tabs:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #d1d1d1;
}
.nav-tabs .active-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: #f78ca0;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.nav-tabs li {
  flex-shrink: 0;
}
.nav-tabs li.active .nav-link {
  color: #f78ca0;
}
.nav-tabs .nav-link {
  display: inline-block;
  color: #303133;
  border-bottom: 2px solid #ccc;
  padding: 10px 12px;
}
.nav-tabs .nav-link:hover {
  color: #f78ca0;
}

@media (min-width: 576px) {
  .nav-tabs .nav-link {
    padding: 10px 20px;
  }
}
.tab-content .tab-pane {
  display: none;
  padding-top: 40px;
}
.tab-content .tab-pane.active {
  display: block;
  animation: fadeIn 0.3s forwards;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.table.round th:first-of-type {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}
.table.round th:last-of-type {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
.table th,
.table td {
  padding: 12px;
  text-align: center;
  line-height: 1.5;
  border-bottom: 1px solid #ebeef5;
}
.table th.wrap,
.table td.wrap {
  word-wrap: break-word;
}
.table th {
  color: #909399;
  font-weight: 700;
}
.table td {
  color: #606266;
}
.table tr:nth-child(even) {
  background-color: #fafafa;
}

@media (max-width: 992px) {
  .table.vertical {
    display: block;
  }
  .table.vertical tbody,
  .table.vertical tr,
  .table.vertical td {
    display: block;
  }
  .table.vertical thead {
    display: none;
  }
  .table.vertical tr {
    padding-top: 10px;
  }
  .table.vertical td {
    position: relative;
    margin-left: 120px;
    text-align: left !important;
    border-bottom: 1px dashed #999;
  }
  .table.vertical td:before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -120px;
    width: 120px;
    border-bottom: 1px dashed #999;
    white-space: pre;
    text-align: center;
  }
}
.promote-wrapper {
  display: flex;
  align-items: center;
  max-width: 912px;
  margin-bottom: 20px;
}
.promote-wrapper .label {
  display: inline-block;
  width: 64px;
}
.promote-wrapper .txt-url {
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 4px 12px;
  margin-left: 10px;
  width: 150px;
  height: 32px;
  line-height: 32px;
  outline: none;
}
.promote-wrapper button {
  font-size: 16px;
  border: none;
  padding: 0 16px;
  height: 32px;
  line-height: 32px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.tippy-tooltip {
  padding: 0 !important;
}
.tippy-tooltip .tippy-content {
  padding: 5px 6px !important;
}

.loader {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 5px solid #2391e8;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  z-index: 1050;
}
.modal.show {
  display: block;
}
.modal .modal-dialog {
  position: relative;
  width: 90%;
  max-width: 576px;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}
.modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal .modal-header .modal-title {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.5;
}
.modal .modal-header .close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}
.modal .modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.lightbox {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1051;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.lightbox .box-image,
.lightbox .box-video {
  margin: 0 auto;
  display: block;
  width: 90%;
}
.lightbox .box-video {
  -o-object-fit: contain;
     object-fit: contain;
}
.lightbox .box-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #f1f1f1;
  font-size: 48px;
  font-weight: bold;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  transition: 0.3s;
  z-index: 3;
}
.lightbox .box-close:hover, .lightbox .box-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .lightbox .box-image {
    width: 80%;
    max-width: 640px;
  }
  .lightbox .box-video {
    width: 80%;
    max-width: 1024px;
  }
}
.tab-content .tab-pane {
  padding-top: 0;
}

#tab1 .form-wrapper {
  margin: 0 auto 20px;
}

#tab3 .form-wrapper {
  max-width: inherit;
}

.bg-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
}
.bg-wrapper.bg-wrapper--empty .container {
  height: auto;
  min-height: 96px;
}
.bg-wrapper.bg-wrapper--empty .avatar-wrapper {
  top: 16px;
  bottom: auto;
}
.bg-wrapper.bg-wrapper--empty .nickname {
  top: 32px;
  bottom: auto;
  background-color: transparent;
}
.bg-wrapper.bg-wrapper--empty .bg-uploader {
  top: 12px;
  left: auto;
  right: 16px;
  transform: none;
}
.bg-wrapper .bg-blur {
  display: block;
  position: absolute;
  inset: -10px;
  z-index: 0;
  filter: blur(10px) brightness(50%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}
.bg-wrapper .bg {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (min-width: 768px) {
  .bg-wrapper .bg {
    height: clamp(240px, 28vw, 320px);
  }
}
.bg-wrapper .bg-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background-color: #000;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 6px 16px;
  white-space: nowrap;
  cursor: pointer;
}
.bg-wrapper .container {
  position: relative;
  height: 100%;
}
.bg-wrapper .avatar-wrapper {
  display: block;
  position: absolute;
  bottom: 32px;
  left: 16px;
  width: 64px;
  height: 64px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.bg-wrapper .avatar-wrapper .avatar {
  width: 100%;
  border-radius: 50%;
}
.bg-wrapper .nickname {
  position: absolute;
  left: 50px;
  bottom: 32px;
  display: flex;
  align-items: center;
  color: rgb(51, 51, 51);
  background-color: rgba(255, 255, 255, 0.7);
  width: calc(100% - 82px);
  height: 32px;
  padding: 16px 64px;
  border-radius: 10px;
}
.bg-wrapper .btn-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.bg-wrapper input[type=file] {
  display: none;
}

@media (min-width: 596px) {
  .bg-wrapper .avatar-wrapper {
    width: 80px;
    height: 80px;
  }
  .bg-wrapper .nickname {
    left: 66px;
    height: 50px;
    padding: 16px 96px;
  }
}
@media (min-width: 768px) {
  .bg-wrapper.bg-wrapper--empty .container {
    min-height: 132px;
  }
  .bg-wrapper .avatar-wrapper {
    width: 100px;
    height: 100px;
  }
}
.self-page {
  position: relative;
  color: #202020;
  padding: 16px;
  margin-top: -32px;
  margin-bottom: 32px;
}
.bg-wrapper--empty + .container .self-page {
  margin-top: 0;
}
.self-page .btn-wrap {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
}
.self-page .btn-wrap .btn-interactive {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  border-radius: 50px;
  color: #f78ca0;
  background-color: #fff;
  border: 1px solid #f78ca0;
  margin-right: 8px;
  padding: 0 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}
.self-page .btn-wrap .btn-interactive.active {
  color: #fff;
  background-color: #f78ca0;
}
.self-page .intro {
  max-height: 140px;
  line-height: 20px;
  overflow: hidden;
}
.self-page .intro.show {
  max-height: inherit;
}
.self-page .intro .content {
  overflow-wrap: break-word;
  word-break: normal;
  white-space: break-spaces;
}
.self-page .btn-more {
  display: block;
  margin-top: 8px;
  margin-left: auto;
  font-size: 14px;
  color: #e84989;
  text-align: right;
}

.hint-text {
  color: #606266;
  font-size: 14px;
  margin-bottom: 20px;
}

.a-link {
  color: #f99b7d;
  line-height: 1.5;
}
.a-link.pill {
  border: 1px solid #f99b7d;
  border-radius: 50px;
  padding: 2px 10px;
}
.a-link.pill:hover {
  border: 1px solid #e06469;
}
.a-link:hover {
  color: #e06469;
}

.line-block-title {
  margin-bottom: 10px;
}

.link-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background-color: #f78ca0;
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 50px;
  transition: all 0.3s;
}
.link-block:hover {
  color: #fff;
  opacity: 0.8;
}

.recommand-title {
  font-size: 16px;
  font-weight: 500;
  margin-top: 40px;
}

.recommand-users {
  list-style-type: none;
  display: flex;
  align-items: center;
  padding: 4px 0 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.recommand-users .user-chip {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 8px;
  padding: 4px 12px 4px 4px;
  height: 56px;
  min-width: 170px;
  border: 1px solid rgb(189, 189, 189);
  border-radius: 26px;
  color: #000;
  transition: all 0.3s;
}
.recommand-users .user-chip:hover {
  background-color: #f3f3f3;
}
.recommand-users .user-chip .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 6px;
}

.form-wrapper {
  width: 100%;
  max-width: 912px;
  padding: 10px 0;
  margin-bottom: 20px;
}
.form-wrapper.in-item {
  margin: 0;
}
.form-wrapper textarea {
  color: #606266;
  background-color: #fff;
  padding: 5px 15px;
  line-height: 1.5;
  box-sizing: border-box;
  width: 100%;
  font-size: inherit;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
}
.form-wrapper textarea:focus {
  outline: none;
  border-color: #409eff;
}
.form-wrapper .func-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.form-wrapper .func-row .flex-row {
  margin-bottom: 10px;
}
.form-wrapper .func-row .flex-row ~ .flex-row {
  justify-content: space-between;
  flex: 1;
}
.form-wrapper .func-row .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #f56c6c;
  background-color: transparent;
  font-size: 20px;
  width: 20px;
  height: 20px;
  margin: 0 4px;
  border: none;
  cursor: pointer;
}
.form-wrapper .func-row .icon:first-child {
  margin-left: 0;
}
.form-wrapper .func-row .icon img {
  width: 100%;
}
.form-wrapper .func-row .btn {
  padding: 8px 16px;
}
.form-wrapper .func-row .form-group {
  margin: 0;
}
.form-wrapper .func-row .form-control {
  border-radius: 4px;
}
.form-wrapper .func-row input[type=file] {
  display: none;
}
.form-wrapper .price-row {
  margin-bottom: 15px;
}
.form-wrapper .price-row .form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}
.form-wrapper .price-row .text-message .form-group {
  flex-direction: column;
  align-items: flex-start;
}
.form-wrapper .check-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.form-wrapper .check-row .check-group {
  margin-right: 10px;
}
.form-wrapper .check-row .form-group {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .form-wrapper .func-row .flex-row ~ .flex-row {
    margin-top: 0;
  }
}
.image-list {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}
.image-list .image-item {
  position: relative;
  border-radius: 10px;
  margin: 4px;
  overflow: hidden;
  cursor: pointer;
  width: 140px;
  height: 140px;
}
.image-list .image-item:first-child {
  margin-left: 0;
}
.image-list .image-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.image-list .image-item .btn-remove {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  color: #fff;
  background-color: #ee2f1e;
  cursor: pointer;
  z-index: 1;
}
.image-list .image-item .btn-remove i {
  line-height: inherit;
}
/* 20260419 圖片/影片狀態切換按鈕（右下角）；20260426 加 leading icon + trailing 切換符 + hover 動效；縮小尺寸避免「預覽時模糊」溢出 */
.image-list .image-item .btn-media-mode {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  max-width: calc(100% - 12px);
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
/* leading icon：用 ::before 對應每種狀態 */
.image-list .image-item .btn-media-mode::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  display: inline-block;
}
.image-list .image-item .btn-media-mode.mode-paid::before {
  content: "\f023"; /* fa-lock */
}
.image-list .image-item .btn-media-mode.mode-blur::before {
  content: "\f2a8"; /* fa-low-vision (FA6 free) */
}
.image-list .image-item .btn-media-mode.mode-free::before {
  content: "\f06e"; /* fa-eye */
}
/* trailing 切換符：暗示「點了會輪流切換到下一個狀態」 */
.image-list .image-item .btn-media-mode::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  content: "\f2f9"; /* fa-rotate-right */
  opacity: 0.85;
  margin-left: 1px;
  transition: transform 0.4s ease;
}
.image-list .image-item .btn-media-mode.mode-paid {
  background-color: #ff5f93;
}
.image-list .image-item .btn-media-mode.mode-free {
  background-color: #2dbe60;
}
.image-list .image-item .btn-media-mode.mode-blur {
  background-color: #4a6fa5;
}
.image-list .image-item .btn-media-mode:hover:not(:disabled):not(.is-loading) {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  filter: brightness(1.05);
}
.image-list .image-item .btn-media-mode:hover:not(:disabled):not(.is-loading)::after {
  transform: rotate(180deg);
}
.image-list .image-item .btn-media-mode:active:not(:disabled):not(.is-loading) {
  transform: scale(0.98);
}
.image-list .image-item .btn-media-mode:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.image-list .image-item .btn-media-mode:disabled,
.image-list .image-item .btn-media-mode.is-loading {
  opacity: 0.6;
  cursor: wait;
}
/* 20260506 影片上傳前選擇彈窗 popover 定位：
 *   電腦版 — 不置中、置左上靠近影片上傳鈕區（func-row icon 大約在頁面左上 ~120px 處），
 *           dialog 縮窄 360px、margin top 90px / left 60px 讓視覺從上傳鈕「飛出」
 *   手機版 — bottom sheet：dialog 用 position:fixed 直接釘在 viewport 底部，
 *           不動 .dialog-wrapper（避免跟既有 .show { overflow:auto } 規則打架），
 *           box-sizing:border-box 讓 left/right inset 正確扣掉 padding 不溢出
 *   背景遮罩維持 .dialog-wrapper.light（rgba(0,0,0,0.5)）不動
 */
#videoUploadModal.dialog-wrapper.light {
  background-color: rgba(0, 0, 0, 0.35); /* 比預設淡：popover 不需要太強調阻擋 */
}
#videoUploadModal .dialog {
  max-width: 360px;
  margin: 90px 0 0 60px; /* 桌機版不置中、置左上 */
}
@media (max-width: 1024px) {
  /* 20260506 breakpoint 從 768 提高到 1024：user 截圖看到約 800~880px viewport（iPad portrait/
     landscape、大型手機橫向、Chrome devtools 模擬等情境）原本吃 desktop popover (左上) rule
     導致看起來「沒置中」，提高 breakpoint 涵蓋所有平板與中型 viewport
     20260506 改用 flex center 模式徹底解決 dialog 溢出問題：
     根因：100vw 在 page 有 horizontal scroll 或 ancestor 帶 transform 時抓到的不是 viewport 而是
           document scrollWidth，導致 calc(100vw - 24px) 寬於可視區
     修法：wrapper 自己用 flex 置中（已是 position:fixed 滿版），dialog 寬度用「100% - 24px」
           相對 wrapper（= viewport）算寬，不再依賴 100vw／position:fixed 找 containing block */
  #videoUploadModal.dialog-wrapper.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  #videoUploadModal .dialog {
    /* 20260506 加 !important 雙保險：避免遭既有 .dialog-wrapper .dialog (max-width:480) 或
       browser cache 殘留舊版 css 覆蓋造成 dialog 寬度沒收到 360 的限制 */
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    max-width: 360px !important;
    margin: 0 !important;
    border-radius: 12px;
    box-sizing: border-box;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 12px;
    animation: videoUploadCenterIn 0.18s ease-out;
  }
  #videoUploadModal .dialog-header {
    padding: 14px 0 8px;
  }
  #videoUploadModal .dialog-title {
    font-size: 15px;
  }
  /* 卡片橫向 padding 縮減 + 文字尺寸略縮，避免長文案撐破窄螢幕 */
  #videoUploadModal .video-upload-options .video-upload-option {
    padding: 12px 14px;
    gap: 12px;
  }
  #videoUploadModal .video-upload-options .video-upload-option .opt-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  #videoUploadModal .video-upload-options .video-upload-option .opt-title {
    font-size: 14px;
  }
  #videoUploadModal .video-upload-options .video-upload-option .opt-desc {
    font-size: 11px;
  }
}
@keyframes videoUploadCenterIn {
  /* 20260506 動畫不動 transform（避免跟靜態 translateY(-50%) 置中規則衝突），純 fade + scale */
  from { opacity: 0; }
  to { opacity: 1; }
}
.video-upload-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 8px;
}
.video-upload-options .video-upload-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #e3e6eb;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.video-upload-options .video-upload-option:hover {
  transform: translateY(-1px);
  border-color: #ff5f93;
  box-shadow: 0 6px 16px rgba(255, 95, 147, 0.15);
}
.video-upload-options .video-upload-option.is-on:hover {
  border-color: #2dbe60;
  box-shadow: 0 6px 16px rgba(45, 190, 96, 0.18);
}
.video-upload-options .video-upload-option .opt-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background-color: #6c757d;
  border-radius: 50%;
}
.video-upload-options .video-upload-option.is-on .opt-icon {
  background-color: #2dbe60;
}
.video-upload-options .video-upload-option .opt-text {
  flex: 1 1 auto;
  min-width: 0;
}
.video-upload-options .video-upload-option .opt-title {
  font-size: 15px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
}
.video-upload-options .video-upload-option .opt-desc {
  margin-top: 4px;
  font-size: 12px;
  color: #6c757d;
  line-height: 1.3;
  word-break: break-all;
}
.image-list .image-item .btn-link-url:hover:not(:disabled):not(.is-loading) {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  filter: brightness(1.05);
}
.image-list .image-item .btn-link-url:active:not(:disabled):not(.is-loading) {
  transform: scale(0.98);
}
.image-list .image-item .btn-link-url:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.image-list .image-item .btn-link-url:disabled,
.image-list .image-item .btn-link-url.is-loading {
  opacity: 0.6;
  cursor: wait;
}
/* 20260426 首次發現引導：脈動動畫 + 浮動提示卡 */
@keyframes mediaModePulse {
  0%, 100% {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 220, 80, 0.7);
  }
  50% {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(255, 220, 80, 0);
  }
}
.image-list .image-item .btn-media-mode.is-hint-pulse {
  animation: mediaModePulse 1.6s ease-in-out infinite;
}
.image-list .image-item .btn-media-mode.is-hint-pulse:hover {
  animation: none;
}
/* 20260426 提示卡（ui-ux-pro-max 規則重構）：
 * - 左側強調色邊框（不再滿版黃底，降低 alert 感）
 * - 頂部：NEW 徽章 + 關閉 × icon
 * - 中段：說明文字
 * - 底部：3 顆內嵌模式預覽 chips，與真實按鈕視覺對齊（讓使用者立刻認得）
 */
@keyframes mediaModeHintIn {
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.media-mode-hint {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 12px 16px;
  margin: 4px 0 10px;
  background: #fffaeb;
  border: 1px solid #f6d68a;
  border-left: 3px solid #f0a500;
  border-radius: 8px;
  color: #6b4f00;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(240, 165, 0, 0.12);
  animation: mediaModeHintIn 220ms ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .media-mode-hint { animation: none; }
}
.media-mode-hint .hint-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.media-mode-hint .hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #f0a500;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: 10px;
  text-transform: none;
  line-height: 1.4;
}
.media-mode-hint .hint-badge i {
  font-size: 10px;
}
.media-mode-hint .hint-title {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: #6b4f00;
}
.media-mode-hint .hint-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -4px -6px -4px 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #b06b00;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.media-mode-hint .hint-close::before {
  /* 擴大觸控區到 44×44 (規則 touch-target-size) */
  content: "";
  position: absolute;
  inset: -8px;
}
.media-mode-hint .hint-close:hover {
  background: rgba(240, 165, 0, 0.18);
}
.media-mode-hint .hint-close:focus-visible {
  outline: 2px solid #f0a500;
  outline-offset: 2px;
}
.media-mode-hint .hint-text {
  font-size: 13px;
  line-height: 1.5;
  color: #6b4f00;
}
/* 內嵌模式預覽 chips：與真實 .btn-media-mode 視覺對應 */
.media-mode-hint .hint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.media-mode-hint .hint-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.media-mode-hint .hint-chip::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
}
.media-mode-hint .hint-chip.is-paid { background-color: #ff5f93; }
.media-mode-hint .hint-chip.is-paid::before { content: "\f023"; }
.media-mode-hint .hint-chip.is-blur { background-color: #4a6fa5; }
.media-mode-hint .hint-chip.is-blur::before { content: "\f2a8"; }
.media-mode-hint .hint-chip.is-free { background-color: #2dbe60; }
.media-mode-hint .hint-chip.is-free::before { content: "\f06e"; }

@media (max-width: 600px) {
  .media-mode-hint {
    padding: 8px 12px 10px 14px;
    font-size: 12.5px;
  }
  .media-mode-hint .hint-title { font-size: 12.5px; }
  .media-mode-hint .hint-text { font-size: 12.5px; line-height: 1.45; }
  .media-mode-hint .hint-chip {
    font-size: 11px;
    padding: 4px 9px;
  }
}
.image-list .image-item .icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.image-list .image-item .i-link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-style: normal;
  color: #999;
  width: 100%;
  height: 100%;
  border: 1px solid #999;
  border-radius: 10px;
}
.image-list .image-item .loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
}
.image-list .image-item .loading .text {
  font-size: 14px;
}
.image-list .image-item .loading .percent {
  font-size: 24px;
}

.search-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  -moz-column-gap: 6px;
       column-gap: 6px;
  width: 100%;
  margin-bottom: 10px;
}
.search-row .form-control {
  font-size: 16px;
  line-height: 16px;
  padding: 6px 56px 6px 16px;
  border-radius: 50px;
  border: 1px solid #dcdfe6;
}
.search-row .form-control:focus {
  outline: none;
}
.search-row .btn-cleartext {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #aaa;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.search-row .btn-search {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.blog-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 10px 14px 30px;
}

@media (min-width: 768px) {
  .blog-list {
    width: 723px;
    margin: 10px auto 30px;
  }
}
@media (min-width: 992px) {
  .blog-list {
    width: 933px;
  }
}
@media (min-width: 1200px) {
  .blog-list {
    width: 1080px;
  }
}
.blog-item {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  background: #fff;
  border: 1px solid #cdf0ea;
  border-radius: 20px;
}

/* 20260909 方案分頁與編輯操作 */
.plan-purchase-settings .plan-setting-locked-note {
  margin-bottom: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #765866;
  background: #fff4f7;
  font-size: 12px;
  line-height: 1.5;
}
#tab2 .form-wrapper {
  max-width: 100%;
  padding-top: 0;
}
.plan-tab-toolbar,
.plan-selected-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-tab-toolbar {
  margin-top: 14px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #f1dbe3;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8fa 0%, #fff 72%);
}
.plan-tab-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #543b45;
  font-size: 18px;
  font-weight: 700;
}
.plan-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #f7186a, #f78ca0);
  box-shadow: 0 5px 14px rgba(247, 24, 106, 0.2);
}
.plan-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #b43b68;
  background: #ffe8f0;
  font-size: 12px;
  text-align: center;
}
.plan-add-btn,
.plan-selected-toolbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 999px;
}
.plan-selected-toolbar {
  margin: 2px 0 14px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.plan-selected-toolbar strong {
  min-width: 0;
  overflow: hidden;
  color: #543b45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-limit-summary {
  justify-content: center;
  width: 100%;
}
.swiper-plans .plan-item {
  border: 2px solid #eee5e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(67, 43, 52, 0.07);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.swiper-plans .plan-item.active {
  border-color: #f7186a;
  box-shadow: 0 9px 24px rgba(247, 24, 106, 0.16);
}
.swiper-plans .edit-wrap {
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.swiper-plans .btn-edit {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #684f59;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.swiper-plans .btn-edit:hover {
  color: #f7186a;
  background-color: #fff;
  transform: translateY(-1px);
}
.swiper-plans .btn-edit.is-delete:hover {
  color: #d9363e;
}
.swiper-plans .plan-top {
  height: clamp(150px, 30vw, 220px);
}
.swiper-plans .plan-top img {
  border-radius: 0;
  transition: transform 0.3s;
}
.swiper-plans .plan-top .plan-current-indicator {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(247, 24, 106, 0.9);
  box-shadow: 0 4px 12px rgba(77, 30, 48, 0.2);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}
.swiper-plans .plan-body {
  align-items: flex-start;
  padding: 13px 12px;
}
.swiper-plans .plan-body .title {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.swiper-plans .plan-body .content {
  text-align: left;
}
.swiper-plans .bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 46px;
  padding: 7px 10px;
  border-top: 1px solid #f3edf0;
}
@media (min-width: 768px) {
  .swiper-plans .plan-item:hover {
    border-color: #efb9ca;
    box-shadow: 0 10px 26px rgba(67, 43, 52, 0.11);
  }
  .swiper-plans .plan-item:hover .plan-top img {
    transform: scale(1.025);
  }
}
@media (max-width: 600px) {
  .plan-tab-toolbar {
    margin-top: 9px;
    padding: 10px 11px;
  }
  .plan-tab-title {
    font-size: 16px;
  }
  .plan-add-btn {
    min-width: auto;
    padding: 9px 14px;
    white-space: nowrap;
  }
  .plan-add-btn span {
    display: inline;
  }
  .plan-selected-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .plan-selected-toolbar .btn {
    width: 100%;
  }
  .swiper-plans .btn-edit {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 767px) {
  .blog-list {
    margin-left: 0;
    margin-right: 0;
  }
  .blog-item {
    padding-left: 12px;
    padding-right: 12px;
    border: none;
  }
}
.blog-item .item-top {
  display: flex;
}
.blog-item .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #cdf0ea;
  cursor: pointer;
}
.blog-item .avatar img {
  width: 100%;
  border-radius: 50%;
}
.blog-item .info {
  margin-left: 10px;
  flex: 1;
}
.blog-item .info .flex-row {
  flex-wrap: wrap;
}
.blog-item .info .name {
  color: rgb(32, 32, 32);
  font-size: 16px;
  margin-right: 10px;
}
.blog-item .info .time {
  color: rgb(170, 170, 170);
  font-size: 14px;
  cursor: pointer;
}
.blog-item .info .permission {
  display: flex;
  color: rgb(170, 170, 170);
  font-size: 14px;
}
.blog-item .info .stopsale {
  font-size: 14px;
  color: #f05a7e;
}
.blog-item .info .counter-wrapper {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #899198;
  margin-left: 8px;
  gap: 5px;
}
.blog-item .info .counter-wrapper > div {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  line-height: 1;
  margin: 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f3f4;
}
.blog-item .info .counter-wrapper > div i {
  width: 13px;
  text-align: center;
  font-size: 12px;
}
.blog-item .info .counter-wrapper .ticket-counter img {
  width: 13px;
  filter: brightness(0) saturate(100%) invert(61%) sepia(8%) saturate(405%) hue-rotate(163deg) brightness(92%) contrast(88%);
}
.blog-item .blog-text {
  margin-top: 10px;
  margin-left: 7.5px;
  line-height: 20px;
  overflow: hidden;
}
.blog-item .blog-text:not(.show) .content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.blog-item .content {
  color: rgb(32, 32, 32);
  font-size: 16px;
  overflow-wrap: break-word;
  word-break: normal;
}
.blog-item .btn-more {
  font-size: 14px;
  color: #ec8c69;
  margin-left: 7.5px;
}
.blog-item .btn-content-more {
  display: none;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin: 4px 0 0 7.5px;
  padding: 5px 2px;
  font-weight: 600;
}
.blog-item .btn-content-more .label-collapse {
  display: none;
}
.blog-item .btn-content-more i {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.blog-item .btn-content-more.is-expanded .label-expand {
  display: none;
}
.blog-item .btn-content-more.is-expanded .label-collapse {
  display: inline;
}
.blog-item .btn-content-more.is-expanded i {
  transform: rotate(180deg);
}
.blog-item .ticket-wrap {
  margin-top: 20px;
  margin-left: 7.5px;
}
.blog-item .ticket-wrap .header {
  color: #f05a7e;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-item .ticket-wrap .btn-more {
  margin-left: 0;
}
.blog-item .ticket-wrap .ticket-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}
.blog-item .ticket-wrap .ticket-title img {
  width: 20px;
  margin-right: 4px;
}
.blog-item .ticket-wrap .ticket-content {
  display: none;
}
.blog-item .ticket-wrap .ticket-content.show {
  display: block;
}
.blog-item .ticket-wrap .form-group {
  margin-bottom: 0;
}
.blog-item .ticket-wrap .label {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
.blog-item .ticket-wrap .text {
  font-size: 14px;
}
.blog-item .edit-wrap {
  position: absolute;
  top: 40px;
  right: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.blog-item .view-mode-wrap {
  position: absolute;
  top: 40px;
  right: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.blog-item .view-mode-wrap .btn-mode {
  width: 28px;
  height: 28px;
  border: none;
  padding: 4px;
  background-color: #fff;
  color: #86a6ad;
  cursor: pointer;
  overflow: hidden;
}
.blog-item .view-mode-wrap .btn-mode.active .icon {
  fill: #1b4a56;
}
.blog-item .view-mode-wrap .icon {
  width: 100%;
}
.blog-item .fixed-top {
  position: absolute;
  top: 4px;
  left: 74px;
  font-size: 14px;
  color: #526470;
}
.blog-item .btn-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  color: #999;
  margin-left: 2px;
  background-color: #eff5f5;
  cursor: pointer;
  transition: all 0.3s;
}
.blog-item .btn-edit:hover {
  background-color: #eaeaea;
}
.blog-item .btn-edit.active {
  color: #eff5f5;
  background-color: #999;
}
.blog-item .btn-edit-menu,
.blog-item .edit-wrap .action-label {
  display: none;
}
@media (max-width: 767px) {
  .blog-item {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .blog-item .fixed-top {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 17px;
    margin: 0 0 4px 54px;
    line-height: 1.2;
  }
  .blog-item.has-owner-actions .item-top {
    padding-right: 38px;
  }
  .blog-item .info {
    min-width: 0;
  }
  .blog-item .info .flex-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 6px;
    line-height: 1.3;
  }
  .blog-item .info .name {
    display: block;
    flex: 1;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .blog-item .info .time {
    flex: 0 0 auto;
    margin-top: 0;
    font-size: 12px;
    white-space: nowrap;
  }
  .blog-item .info .time::before {
    content: "·";
    margin-right: 6px;
  }
  .blog-item .info .permission {
    align-items: center;
    margin-top: 3px;
  }
  .blog-item .edit-wrap {
    top: 12px;
    right: 12px;
    z-index: 6;
  }
  .blog-item .edit-wrap .btn-edit-menu {
    display: inline-flex;
    margin: 0;
  }
  .blog-item .edit-wrap > .post-owner-action {
    display: none;
  }
  .blog-item .edit-wrap.show-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(32, 32, 32, 0.16);
  }
  .blog-item .edit-wrap.show-actions .btn-edit-menu {
    align-self: flex-end;
  }
  .blog-item .edit-wrap.show-actions > .post-owner-action {
    display: inline-flex;
    justify-content: flex-start;
    gap: 8px;
    width: 136px;
    height: 40px;
    margin: 2px 0;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
  }
  .blog-item .edit-wrap.show-actions > .post-owner-action:hover {
    background: #fff3f7;
  }
  .blog-item .edit-wrap.show-actions > .post-owner-action.is-danger {
    color: #d94d62;
  }
  .blog-item .edit-wrap.show-actions .action-label {
    display: inline;
    font-size: 14px;
  }
}
.blog-item .grid-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-item .grid-wrapper {
  width: 100%;
  max-width: 560px;
  margin: 10px auto;
}
.blog-item .grid-wrapper .grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto;
}
.blog-item .grid-wrapper .grid-row.col-1 {
  grid-template-columns: 1fr;
}
.blog-item .grid-wrapper .grid-row.col-1 .grid-item {
  width: 100%;
}
.blog-item .grid-wrapper .grid-row.col-1 .grid-item .grid-img {
  -o-object-fit: contain;
  object-fit: contain;
}
.blog-item .grid-wrapper .grid-row.grid2x3 {
  grid-template-columns: repeat(3, 1fr);
  aspect-ratio: auto;
}
/* 20260503 grid2x3 模式下解除 grid-span：影片/連結與照片一律單格、正方形比例，避免影片橫跨整列無法縮小 */
.blog-item .grid-wrapper .grid-row.grid2x3 .grid-item.grid-span {
  grid-column: auto;
}
.blog-item .grid-wrapper .grid-row.grid2x3 .grid-item.grid-span .aspect-box {
  height: auto;
  padding-top: 100%;
}
.blog-item .grid-wrapper .grid-row.grid2x3 .grid-item .aspect-box {
  padding-top: 100%;
}
.blog-item .grid-wrapper .grid-row.grid1x2 {
  grid-template-columns: 1fr;
  max-width: inherit;
  aspect-ratio: auto;
}
.blog-item .grid-wrapper .grid-row.grid1x2 .grid-item {
  margin: 0;
}
.blog-item .grid-wrapper .grid-row.grid1x2 .grid-item .aspect-box {
  padding-top: 0;
}
.blog-item .grid-wrapper .grid-row.grid1x2 .grid-item .aspect-box .grid-img {
  position: static;
  width: 100%;
  height: auto;
  max-height: 80vh;
  -o-object-fit: contain;
  object-fit: contain;
}
/* 20260419 PC 版單欄模式 (grid1x2) 限制圖片高度，避免直式圖過大把排版撐爛 */
@media (min-width: 768px) {
  .blog-item .grid-wrapper .grid-row.grid1x2 .grid-item .aspect-box .grid-img {
    max-height: 720px;
  }
}
.blog-item .grid-wrapper .grid-row.cover {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: none;
  aspect-ratio: auto;
}
.blog-item .grid-wrapper .grid-row.cover .grid-item .aspect-box {
  height: 400px;
}
/* 單一圖片／影片使用載入後取得的原始比例，移除固定格子造成的留白。 */
.blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  aspect-ratio: var(--media-aspect-ratio);
}
.blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect .grid-item {
  width: 100%;
  height: 100%;
}
.blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect .grid-item .aspect-box {
  height: 100%;
  padding-top: 0;
}
.blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect .grid-item .aspect-box .grid-img.js-adaptive-media {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: none;
  -o-object-fit: contain;
  object-fit: contain;
}
/* 超過 3:4 的直圖限制預覽高度；完整內容仍由燈箱顯示。 */
.blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect.is-extra-tall-media .grid-item .aspect-box .grid-img.js-adaptive-media {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
/* 桌機版直圖限制寬度；超高直圖沿用上方設定的 3:4 裁切比例。 */
@media (min-width: 768px) {
  .blog-item .grid-wrapper .grid-row.media-fit-single.has-media-aspect.is-portrait-media {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: var(--media-aspect-ratio);
  }
}
.blog-item .grid-wrapper .grid-row .grid-item {
  position: relative;
  padding: 1px;
  margin: 0;
  cursor: pointer;
}
.blog-item .grid-wrapper .grid-row .grid-item.span-row-2 {
  grid-row: 1/span 2;
}
.blog-item .grid-wrapper .grid-row .grid-item .aspect-box {
  position: relative;
  width: 100%;
  height: 100%;
}
.blog-item .grid-wrapper .grid-row .grid-item .grid-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
.blog-item .grid-wrapper .grid-row .grid-item .icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.blog-item .grid-wrapper .grid-row .grid-item .img-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #eee;
  opacity: 0.2;
}
.blog-item .grid-wrapper .grid-row .grid-item .i-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-style: normal;
  color: #999;
  border: 1px solid #999;
}
.blog-item .grid-wrapper .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}
.blog-item .grid-wrapper .pager .btn-arrow {
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: #f78ca0;
  border: none;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
}
.blog-item .grid-wrapper .pager .btn-arrow:disabled {
  color: #ddd;
  cursor: not-allowed;
}
.blog-item .grid-wrapper .pager .btn-arrow:hover {
  opacity: 0.8;
}
.blog-item .btn-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.blog-item .btn-unlock {
  font-size: 16px;
  color: #42413f;
  background-color: rgba(240, 179, 194, 0.53);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 8px 20px;
  margin: 4px 0;
  border: none;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
}
.blog-item input[type=checkbox]:disabled + label {
  color: #ccc;
}
.blog-item .bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  margin-bottom: 10px;
  padding-top: 8px;
}
/* 桌機貼文統一為社群動態欄寬；直圖預覽內容對齊圖片。 */
@media (min-width: 768px) {
  .blog-item {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .blog-item.has-portrait-media .preview-wrap {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
.blog-item .btn-heart {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 40px;
  min-height: 40px;
  color: #f66;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.blog-item .btn-heart .fa-heart {
  font-size: 18px;
}
.blog-item .btn-heart .like-count {
  font-size: 14px;
}
.blog-item .right {
  display: flex;
  align-items: center;
  gap: 2px;
}
.blog-item .coworker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #cdf0ea;
  cursor: pointer;
}
.blog-item .coworker-avatar img {
  width: 100%;
  border-radius: 50%;
}
.blog-item .btn-copy,
.blog-item .btn-share,
.blog-item .btn-maximize,
.blog-item .btn-qrcode,
.blog-item .btn-file {
  font-size: 0;
  color: #86a6ad;
  background-color: transparent;
  border: none;
  outline: none;
  margin-left: 10px;
  cursor: pointer;
}
.blog-item .btn-copy,
.blog-item .btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 0;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.blog-item .btn-copy:hover,
.blog-item .btn-share:hover {
  color: #ff5f93;
  background-color: #fff3f7;
}
.blog-item .btn-maximize.btn-maximize-text,
.swiper-plans .bottom-row .btn-maximize.btn-maximize-text {
  font-size: 14px;
  color: #ff5f93;
  text-decoration: none;
  line-height: 1;
  padding: 4px 10px;
  border: 1px solid #ff5f93;
  border-radius: 14px;
  white-space: nowrap;
  vertical-align: middle;
}
.plan-post-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 9px;
  color: #9c7e89;
  font-size: 14px;
}
.plan-post-loading i {
  color: #f7186a;
  font-size: 22px;
}
.blog-item .btn-maximize.btn-maximize-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  margin-left: 2px;
  padding: 6px 11px;
}
.blog-item .btn-maximize.btn-maximize-text i {
  font-size: 12px;
}

@media (min-width: 768px) {
  .blog-item .blog-text {
    margin-left: 7.5px;
  }
  .blog-item .grid-wrapper {
    max-width: inherit;
  }
  .blog-item .grid-wrapper .grid-row.grid2x3 {
    grid-template-columns: repeat(4, 1fr);
  }
  /* 20260503 桌機版同步解除 grid-span，與手機版一致 */
  .blog-item .grid-wrapper .grid-row.grid2x3 .grid-item.grid-span {
    grid-column: auto;
  }
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px auto;
}
.cards .search-row {
  margin-bottom: 0;
}

/* 手機版 2 欄 */
.card-item {
  width: calc(50% - 10px);
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card-item .img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #ddd;
}
.card-item .cover-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card-item .cover-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.card-item .coworker-avatar {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #cdf0ea;
  cursor: pointer;
}
.card-item .coworker-avatar img {
  width: 100%;
  border-radius: 50%;
}
.card-item .btn-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card-item .btn-unlock {
  font-size: 16px;
  color: #42413f;
  background-color: rgba(240, 179, 194, 0.53);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 8px 20px;
  margin: 4px 0;
  border: none;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
}
.card-item .card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-item .card-title {
  display: block;
  text-align: center;
  margin: 0;
  font-size: 16px;
  color: #222;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-item .date {
  font-size: 14px;
  color: #6b6b6b;
  text-align: center;
}
.card-item .card-footer {
  position: relative;
  margin-top: auto;
  text-align: center;
}

/* 桌機版 4 欄 */
@media (min-width: 992px) {
  .card-item {
    width: calc(25% - 10px);
  }
  .card-item:hover {
    transform: translateY(-4px);
  }
}
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  height: 100%;
  top: 0;
}

.switch-row {
  display: flex;
  align-items: center;
}
.switch-row .label {
  margin-left: 10px;
}

.discount-title {
  color: #606266;
  margin-bottom: 10px;
}

.discount-row {
  display: flex;
  align-items: center;
}
.discount-row .switch + label {
  margin-right: 10px;
}
.discount-row .pre {
  margin-right: 10px;
}
.discount-row .append {
  margin: 0 10px;
}

.error-code {
  font-size: 14px;
  color: #f7186a;
}

.success-code {
  font-size: 14px;
  color: #666;
}

.modal-form {
  margin-bottom: 40px;
}

.lightbox .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  height: 70vh;
}
.lightbox .swiper-slide .box-image-wrapper {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
}
.lightbox .swiper-slide .box-image-wrapper .img-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #eee;
  opacity: 0.2;
}
.lightbox .swiper-slide .box-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.lightbox .swiper-slide .box-video {
  background-color: transparent;
  height: 100%;
}
.lightbox .swiper-slide .has-adaptive-media-size {
  max-width: 96% !important;
  max-height: 100% !important;
}
.lightbox .swiper-slide .box-image-wrapper.has-adaptive-media-size .box-image {
  max-width: none;
}
.lightbox .swiper-slide .vjs-poster {
  background-color: #000;
}
.lightbox .swiper-slide .vjs-poster img {
  -o-object-fit: contain;
  object-fit: contain;
}
.lightbox .swiper-slide .vjs-big-play-button {
  z-index: 9999;
}

.permission-wrapper select {
  width: 156px;
  padding: 0 10px 0 8px;
}

.cropper-result {
  width: 100%;
  height: calc(100svh - 220px);
  margin: 0 auto;
}
.cropper-result .cropper-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#avatarLightbox {
  background-color: rgba(0, 0, 0, 0.5);
}
#avatarLightbox .img-preview {
  width: 80%;
  max-width: 640px;
}

.link-text {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  width: calc(100% - 100px);
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.videobox {
  position: relative;
  width: 90%;
  max-width: 640px;
  aspect-ratio: 16/9;
}
.videobox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#shareModal {
  color: #1b4a56;
}
#shareModal .dialog {
  width: 420px;
  max-width: calc(100vw - 32px);
  border-radius: 18px;
  overflow: hidden;
}
#shareModal .dialog-body {
  padding: 18px 20px 22px;
}
#shareModal .shareway-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
#shareModal .share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 2px;
  color: #526470;
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}
#shareModal .share-option .share-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 23px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
#shareModal .share-option:hover .share-icon,
#shareModal .share-option:focus-visible .share-icon {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(45, 62, 72, 0.18);
}
#shareModal .share-option.line .share-icon {
  background: #06c755;
}
#shareModal .share-option.facebook .share-icon {
  background: #1877f2;
}
#shareModal .share-option.twitter .share-icon {
  background: #111;
}
#shareModal .share-option.copy .share-icon {
  background: linear-gradient(135deg, #f78ca0, #ee6685);
}
#shareModal .share-option .share-label {
  max-width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
@media (max-width: 420px) {
  #shareModal .dialog-body {
    padding-right: 14px;
    padding-left: 14px;
  }
  #shareModal .shareway-row {
    gap: 4px;
  }
  #shareModal .share-option .share-icon {
    width: 48px;
    height: 48px;
  }
  #shareModal .share-option .share-label {
    font-size: 11px;
  }
}

#ticketViewModal .location {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#ticketViewModal .qr-code {
  display: block;
  margin: 0 auto;
  max-width: 90%;
}
#ticketViewModal .modal-form {
  margin-bottom: 0;
}
#ticketViewModal .form-group {
  margin-bottom: 0;
}

.back-wrap {
  width: 100%;
  margin-top: 30px;
}
.back-wrap > .btn {
  margin-bottom: 10px;
}

.category-form {
  margin: 40px auto 80px;
}

.promote-wrapper {
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
}
.promote-wrapper button {
  border-radius: 4px;
}
.promote-wrapper .promote-input-group {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.promote-wrapper .promote-input-group .prepend {
  display: flex;
  align-items: center;
  color: #909399;
  background-color: #f5f7fa;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: none;
}
.promote-wrapper .promote-input-group .append {
  border-radius: 0 4px 4px 0;
}
.promote-wrapper .promote-input-group .input {
  border: 1px solid #ccc;
  border-right: none;
  padding: 4px 12px;
  margin-left: 0;
  width: 100px;
  height: 32px;
  line-height: 22px;
}
.promote-wrapper .btn-qrcode {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(to right, #f7186a, #ec8c69);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  margin-left: 10px;
}

@media (min-width: 768px) {
  .promote-wrapper {
    flex-direction: row;
  }
  .promote-wrapper .promote-input-group {
    margin: 0 10px;
  }
}
.floating-btn {
  position: fixed;
  right: 15px;
  bottom: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  color: #fff;
  background-color: #f78ca0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.uploader {
  display: inline-block;
  text-align: center;
  color: #8c939d;
  background-color: #fbfdff;
  border: 1px dashed #c0ccda;
  border-radius: 6px;
  box-sizing: border-box;
  width: 148px;
  height: 148px;
  cursor: pointer;
  line-height: 146px;
  vertical-align: top;
}
.uploader i {
  font-size: 28px;
}
.uploader input[type=file] {
  display: none;
}

.uploader-result {
  display: flex;
  flex-wrap: wrap;
}
.uploader-result .img-wrapper {
  position: relative;
}
.uploader-result .img-wrapper .btn-remove {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  color: #fff;
  background-color: #ee2f1e;
  cursor: pointer;
  z-index: 1;
}
.uploader-result .img-wrapper .btn-remove i {
  line-height: inherit;
}
.uploader-result .img-wrapper img {
  border-radius: 4px;
}

.upload-tip {
  font-size: 12px;
  color: #606266;
}
.upload-tip b {
  color: #f56c6c;
  font-weight: 700;
}

.plan-purchase-settings {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #f2d5de;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8fa 0%, #fff 100%);
}
.plan-purchase-settings .plan-setting-title { margin-bottom: 12px; font-weight: 700; color: #6b4050; }
.plan-purchase-settings .plan-mode-options,
.plan-purchase-settings .plan-limit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan-purchase-settings .plan-mode-option { display: flex; gap: 9px; padding: 12px; border: 1px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; }
.plan-purchase-settings .plan-mode-option.active { border-color: #f7186a; box-shadow: 0 0 0 2px rgba(247, 24, 106, 0.08); }
.plan-purchase-settings .plan-mode-option.disabled { cursor: default; opacity: 0.78; }
.plan-purchase-settings .plan-mode-option strong,
.plan-purchase-settings .plan-mode-option small { display: block; }
.plan-purchase-settings .plan-mode-option small { margin-top: 4px; color: #777; line-height: 1.4; }
.plan-purchase-settings .plan-limit-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e9bdca; }
.plan-purchase-settings .plan-limit-toggle { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-weight: 600; }
.plan-purchase-settings .plan-limit-grid label { min-width: 0; max-width: 100%; font-size: 13px; color: #666; }
.plan-purchase-settings .plan-limit-grid input { display: block; width: 100%; min-width: 0; max-width: 100%; margin-top: 5px; }
.plan-purchase-settings .plan-limit-quantity { display: flex; align-items: center; gap: 8px; }
.plan-purchase-settings .plan-limit-quantity input { width: 130px; }
.plan-purchase-settings .plan-limit-quantity small,
.plan-purchase-settings .plan-setting-note { color: #777; }
.plan-purchase-settings .plan-setting-note { margin-top: 12px; font-size: 12px; line-height: 1.6; }
#planFormModal .plan-form-dialog { display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: 20px auto; overflow: hidden; }
#planFormModal .dialog-header,
#planFormModal .dialog-button { flex: 0 0 auto; }
#planFormModal .plan-form-scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-right: 8px; overscroll-behavior: contain; scrollbar-color: #e6a8bc transparent; scrollbar-width: thin; }
#planFormModal .plan-form-scroll::-webkit-scrollbar { width: 7px; }
#planFormModal .plan-form-scroll::-webkit-scrollbar-track { background: transparent; }
#planFormModal .plan-form-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #e6a8bc; }
.plan-limit-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 8px; }
.plan-chip { padding: 3px 7px; border-radius: 999px; color: #b43b68; background: #fff0f5; font-size: 11px; }
.plan-chip.sold-out { color: #777; background: #eee; }
.plan-unavailable-message { padding: 14px; border-radius: 8px; color: #8a5967; background: #fff2f5; text-align: center; }
@media (max-width: 600px) {
  #planFormModal .plan-form-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); margin: 10px auto; padding-right: 14px; padding-left: 14px; }
  #planFormModal .plan-form-scroll { padding-right: 4px; }
  .plan-purchase-settings { padding: 12px; }
  .plan-purchase-settings .plan-mode-options,
  .plan-purchase-settings .plan-limit-grid { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .plan-purchase-settings .plan-limit-grid label { width: 100%; overflow: hidden; }
  .plan-purchase-settings .plan-limit-grid input,
  .plan-purchase-settings .plan-limit-quantity input { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 50px; padding: 10px 12px; font-size: 16px; }
  .plan-purchase-settings .plan-limit-quantity { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
  .plan-purchase-settings .plan-limit-quantity small { grid-column: 1/-1; }
}

.swiper-plans .plan-item {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 10px 0;
  cursor: pointer;
}
.swiper-plans .plan-item.active {
  border: 3px solid #f78ca0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transform: translateY(-2px);
}
.swiper-plans .plan-item.active .plan-top img {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.swiper-plans .edit-wrap {
  position: absolute;
  top: 4px;
  right: 4px;
}
.swiper-plans .btn-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  color: #fff;
  margin-left: 2px;
  background-color: #999;
  cursor: pointer;
  transition: all 0.3s;
}
.swiper-plans .btn-edit:hover {
  background-color: #919191;
}
.swiper-plans .btn-edit.active {
  background-color: #919191;
}
.swiper-plans .plan-top {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.swiper-plans .plan-top img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.swiper-plans .plan-top .btn-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.swiper-plans .plan-top .btn-unlock {
  font-size: 16px;
  color: #42413f;
  background-color: rgba(240, 179, 194, 0.53);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 8px 20px;
  margin: 4px 0;
  border: none;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
}
.swiper-plans .plan-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  color: #1b4a56;
}
.swiper-plans .plan-body .title {
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 10px;
}
.swiper-plans .plan-body .content {
  width: 100%;
  height: 32px;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  word-break: break-word;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.swiper-plans .plan-body .content.show {
  height: auto;
  overflow: inherit;
  -webkit-line-clamp: inherit;
}
.swiper-plans .plan-body .price {
  font-size: 14px;
  font-weight: 500;
}
.swiper-plans .bottom-row {
  padding: 0 8px 8px;
  text-align: right;
}
.swiper-plans .bottom-row .btn-copy,
.swiper-plans .bottom-row .btn-share,
.swiper-plans .bottom-row .btn-maximize {
  font-size: 0;
  color: #86a6ad;
  background-color: transparent;
  border: none;
  outline: none;
  margin-left: 10px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .swiper-plans .plan-body .title {
    font-size: 16px;
    font-weight: 400;
  }
  .swiper-plans .plan-body .content {
    height: 48px;
    font-size: 12px;
    color: #acc6ce;
    -webkit-line-clamp: 3;
  }
  .swiper-plans .plan-body .price {
    font-size: 18px;
  }
}
.plan-blog-modal .dialog {
  max-width: 560px;
}
.plan-blog-modal .dialog-header {
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1e8ec;
}
.plan-blog-modal .dialog-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.plan-blog-modal .dialog-title .plan-blog-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #f7186a, #f78ca0);
  box-shadow: 0 5px 14px rgba(247, 24, 106, 0.2);
}
.plan-blog-modal .dialog-title strong,
.plan-blog-modal .dialog-title small {
  display: block;
}
.plan-blog-modal .dialog-title strong {
  color: #4f3942;
  font-size: 17px;
  line-height: 1.25;
}
.plan-blog-modal .dialog-title small {
  max-width: 360px;
  margin-top: 3px;
  overflow: hidden;
  color: #9b8890;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-blog-modal .modal-form {
  padding-top: 14px;
}

.plan-blog-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 180px;
  gap: 10px;
  color: #a999a0;
  background: #fcf9fa;
  border: 1px dashed #eadde2;
  border-radius: 14px;
}
.plan-blog-empty i {
  color: #e8aabd;
  font-size: 34px;
}

.modal-blog-list {
  display: grid;
  gap: 10px;
  max-height: min(480px, 60vh);
  margin: 0;
  padding: 2px 4px 8px 2px;
  overflow-y: auto;
  list-style-type: none;
}
.modal-blog-list li {
  margin: 0;
}
.modal-blog-list .modal-blog-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 84px;
  padding: 9px;
  border: 1px solid #eee4e8;
  border-radius: 14px;
  color: inherit;
  background: #fff;
  box-shadow: 0 4px 14px rgba(73, 43, 55, 0.05);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.modal-blog-list .modal-blog-card:hover,
.modal-blog-list .modal-blog-card:focus-visible {
  border-color: #ef9db9;
  box-shadow: 0 7px 18px rgba(247, 24, 106, 0.11);
  outline: none;
  transform: translateY(-1px);
}
.modal-blog-list .modal-blog-card:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.modal-blog-list .modal-blog-card .cover {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border-radius: 10px;
  background: #f6f2f4;
}
.modal-blog-list .modal-blog-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-blog-list .modal-blog-card .content {
  min-width: 0;
  flex: 1;
  padding: 0 12px;
}
.modal-blog-list .modal-blog-card .title {
  display: -webkit-box;
  overflow: hidden;
  color: #4c3b42;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.modal-blog-list .modal-blog-card .date {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #a4959b;
  font-size: 12px;
}
.modal-blog-list .modal-blog-card .add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #f7186a;
  background: #fff0f5;
  transition: color 0.2s, background-color 0.2s;
}
.modal-blog-list .modal-blog-card:hover .add-icon,
.modal-blog-list .modal-blog-card:focus-visible .add-icon {
  color: #fff;
  background: #f7186a;
}
.modal-blog-list .modal-blog-card.loading .add-icon {
  color: #fff;
  background: #f7186a;
}
.plan-blog-card-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.plan-blog-card-leave-to {
  opacity: 0;
  transform: translateX(18px);
}
@media (max-width: 600px) {
  .plan-blog-modal .dialog-title small {
    max-width: calc(100vw - 150px);
  }
  .plan-blog-modal .modal-form {
    padding-left: 0;
    padding-right: 0;
  }
  .modal-blog-list {
    gap: 8px;
    max-height: 58vh;
  }
  .modal-blog-list .modal-blog-card {
    min-height: 76px;
    padding: 8px;
    border-radius: 12px;
  }
  .modal-blog-list .modal-blog-card .cover {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }
  .modal-blog-list .modal-blog-card .content {
    padding: 0 9px;
  }
  .modal-blog-list .modal-blog-card .title {
    font-size: 14px;
  }
  .modal-blog-list .modal-blog-card .add-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}

#discountCodeListModal .table {
  font-size: 14px;
}

.btn-discount {
  color: #f56c6c;
  background-color: transparent;
  border: none;
  border-bottom: 1px dashed #f56c6c;
  margin-right: 10px;
  cursor: pointer;
}

.btn-discount.plan-discount-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 0;
  padding: 6px 10px;
  border: 1px solid #f5b7cb;
  border-radius: 999px;
  background: #fff5f8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.btn-discount.plan-discount-trigger:hover {
  border-color: #f7186a;
  background: #ffeaf1;
  transform: translateY(-1px);
}
#discountCodeListModal .plan-discount-dialog {
  max-width: 540px;
  padding: 0 22px 18px;
  border-radius: 18px;
}
.plan-discount-dialog .dialog-title > span,
.plan-discount-form-dialog .dialog-title > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.plan-discount-dialog .dialog-title i,
.plan-discount-form-dialog .dialog-title i {
  color: #f7186a;
}
.plan-discount-panel {
  margin: 4px 0 18px;
}
.plan-discount-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #f1e3e8;
  border-radius: 13px;
  background: #fff9fb;
}
.plan-discount-overview > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-discount-overview small {
  color: #9a858e;
  font-size: 12px;
}
.plan-discount-overview strong {
  color: #49363e;
  font-size: 17px;
}
.plan-discount-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #bd3e6d;
  background: #ffeaf1;
  font-size: 12px;
  font-weight: 800;
}
.plan-discount-list {
  display: grid;
  max-height: 390px;
  gap: 9px;
  overflow-y: auto;
  padding-right: 3px;
}
.plan-discount-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: #d65a84;
  font-size: 24px;
}
.plan-discount-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #eee4e8;
  border-radius: 14px;
  background: #fff;
}
.plan-discount-card-main {
  flex: 1 1 auto;
  min-width: 0;
}
.plan-discount-code-row,
.plan-discount-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-discount-code-row strong {
  overflow: hidden;
  color: #43343a;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-discount-code-row > span {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  color: #b43b68;
  background: #fff0f5;
  font-size: 11px;
  font-weight: 800;
}
.plan-discount-price {
  margin-top: 7px;
}
.plan-discount-price small {
  color: #9b8990;
  font-size: 12px;
}
.plan-discount-price strong {
  color: #e91e63;
  font-size: 15px;
}
.plan-discount-collaborator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #7a6870;
  font-size: 12px;
}
.plan-discount-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #c47b87;
  background: #fff3f5;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.plan-discount-delete:hover {
  color: #d32f4b;
  background: #ffe4e9;
}
.plan-discount-delete:disabled {
  cursor: wait;
  opacity: .6;
}
.plan-discount-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 28px 16px;
  border: 1px dashed #e7d8de;
  border-radius: 14px;
  color: #806e76;
  text-align: center;
}
.plan-discount-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #d65a84;
  background: #fff0f5;
  font-size: 19px;
}
.plan-discount-empty strong {
  color: #57444c;
  font-size: 15px;
}
.plan-discount-add i {
  margin-right: 5px;
}
#discountCodeFormModal .discount-code-form-dialog {
  max-width: 360px;
}
#discountCodeFormModal .plan-discount-form-dialog {
  max-width: 460px;
  padding: 0 22px 18px;
  border-radius: 18px;
}
.plan-discount-form {
  margin-bottom: 20px;
}
.plan-discount-form .form-group-sm {
  margin-bottom: 17px;
}
.plan-discount-form .label {
  display: block;
  margin-bottom: 7px;
  color: #5e4b53;
  font-size: 13px;
  font-weight: 700;
}
.plan-discount-input-wrap,
.plan-discount-rate-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.plan-discount-input-wrap > i {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #d8648a;
  font-size: 13px;
}
.plan-discount-form .plan-discount-input-wrap .form-control {
  padding-right: 48px;
  padding-left: 35px;
}
.plan-discount-input-wrap > small {
  position: absolute;
  right: 11px;
  color: #aa969e;
  font-size: 11px;
}
.plan-discount-form .form-control {
  min-height: 42px;
  border-color: #e5d9de;
  border-radius: 10px;
}
.plan-discount-form .form-control:focus {
  border-color: #f083a7;
  box-shadow: 0 0 0 3px rgba(247, 24, 106, .09);
}
.plan-discount-rate-wrap > .form-control {
  padding-right: 42px;
}
.plan-discount-rate-wrap > span {
  position: absolute;
  right: 13px;
  color: #8f7b83;
  font-size: 13px;
  font-weight: 700;
}
.plan-discount-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 12px;
  margin: 2px 0 18px;
  padding: 13px 14px;
  border-radius: 12px;
  color: #765f68;
  background: linear-gradient(135deg, #fff5f8, #fffafb);
}
.plan-discount-preview > span {
  grid-row: 1 / span 2;
  font-size: 12px;
  font-weight: 700;
}
.plan-discount-preview strong {
  color: #e91e63;
  font-size: 19px;
  text-align: right;
}
.plan-discount-preview s {
  color: #aa989f;
  font-size: 11px;
  text-align: right;
}
.price-row.plan-discount-collaboration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid #eee4e8;
  border-radius: 13px;
  background: #fcfafb;
}
.plan-discount-collaboration .plan-discount-section-title {
  grid-column: 1 / -1;
  color: #68545c;
  font-size: 13px;
  font-weight: 800;
}
.plan-discount-collaboration .plan-discount-section-title i {
  margin-right: 5px;
  color: #c65b7e;
}
.plan-discount-collaboration .form-group-sm.inline {
  display: block;
  margin: 0;
}
.plan-discount-collaboration .form-control {
  width: 100%;
}
.plan-discount-share-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 8px;
}
.plan-discount-share-row > span {
  color: #7e6a72;
  font-size: 11px;
}
.plan-discount-form-dialog .dialog-button:disabled {
  cursor: wait;
  opacity: .65;
}
.plan-discount-dialog .dialog-button:disabled {
  cursor: wait;
  opacity: .65;
}
.discount-code-table-wrap {
  max-height: 360px;
  overflow-y: auto;
}
@media (max-width: 575px) {
  #discountCodeListModal .plan-discount-dialog,
  #discountCodeFormModal .plan-discount-form-dialog {
    width: calc(100% - 24px);
    margin: 24px auto;
    padding-right: 16px;
    padding-left: 16px;
  }
  .price-row.plan-discount-collaboration {
    grid-template-columns: 1fr;
  }
  .plan-discount-collaboration .plan-discount-section-title {
    grid-column: 1;
  }
}

/* 20260607 修正編輯排序區「一列一張」：
   1) .drag-container 為 .image-list(flex) 的子項，shrink-to-fit 不給確定寬度時，下方 .image-item 的
      百分比寬度無法正確解析（WebKit 會塌縮），故強制撐滿父層寬度，作為百分比的基準容器。
   2) 原本 .image-item 用固定 width:140px，在較窄/縮放視窗下「140+margin」兩張差幾 px 擠不下而塌成 1 欄；
      改為響應式寬度（手機固定 2 欄、桌機 4 欄），與 preview-grid 一致，視窗寬度臨界時也穩定多欄。 */
.image-list .drag-container {
  width: 100%;
}
.drag-container .drag-transition {
  display: flex;
  flex-wrap: wrap;
}
.drag-container .image-item {
  width: calc(50% - 8px); /* 8px = 左右各 4px margin；手機固定 2 欄 */
  height: auto;
  aspect-ratio: 1 / 1;
}
@media (min-width: 768px) {
  .drag-container .image-item {
    width: calc(25% - 8px); /* 桌機 4 欄，與 preview-grid 對齊 */
  }
}
.drag-container .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  pointer-events: none;
  z-index: 1;
}

.ghost {
  opacity: 0.5;
  background: #c8ebfb;
}

/* 排序 loading 遮罩 */
.reorder-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.reorder-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.reorder-loading-content .loader {
  width: 50px;
  height: 50px;
  border-width: 6px;
}
.reorder-loading-text {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

#qrcodeModal .dialog-title {
  margin-bottom: 10px;
  text-align: center;
}
#qrcodeModal .link {
  display: block;
  text-align: center;
}

.social-list {
  list-style-type: none;
  display: flex;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.social-list li {
  margin: 20px 0;
}
.social-list a {
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
       column-gap: 6px;
}
.social-list img {
  width: 24px;
}

footer {
  font-size: 14px;
  padding-top: 40px;
  height: 150px;
  background-color: #333;
  border-top: 1px solid #333;
}
footer .footer-links {
  color: #fff;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
footer .footer-links li {
  padding: 0 10px;
}
footer .copyright {
  color: #fff;
  text-align: center;
}

/* 頁面關閉警告 */
.page-closed-warning {
  background: #fff3cd;
  color: #856404;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-closed-warning i {
  font-size: 18px;
}
.page-closed-warning span {
  flex: 1;
}
.page-closed-warning .btn-edit-page {
  background: #856404;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}
.page-closed-warning .btn-edit-page:hover {
  background: #6d5303;
}

/* Suggestion Dropdown */
.suggestion-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover {
  background: #f5f5f5;
}
.suggestion-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggestion-date {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.vendor-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
}
.suggestion-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.suggestion-nickname {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vendor-dropdown {
  min-width: 200px;
}

/* 20260526 ByCalvin 火焰點數購買成功提示 modal（取代原本的綠色 toast，效果更明顯且需使用者點確認） */
.flame-success-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
  align-items: flex-start;
  justify-content: center;
  background-color: rgba(20, 20, 30, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0 16px;
  overflow-y: auto;
}
.flame-success-modal.show {
  display: flex;
  animation: fp-success-fade 0.18s ease-out both;
}
.flame-success-modal.show .flame-success-dialog {
  animation: fp-success-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.flame-success-modal .flame-success-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 36px 24px 24px;
  margin-top: 80px;
  margin-bottom: 40px;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 18px 44px rgba(20, 20, 30, 0.28);
  overflow: hidden;
  text-align: center;
}
.flame-success-modal .flame-success-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28), rgba(34, 197, 94, 0) 70%);
  pointer-events: none;
}
.flame-success-modal .flame-success-icon {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.32);
  animation: fp-success-pulse 1.6s ease-in-out infinite;
}
.flame-success-modal .flame-success-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.22);
  pointer-events: none;
}
.flame-success-modal .flame-success-title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: #1f1f2c;
  margin-bottom: 8px;
}
.flame-success-modal .flame-success-subtitle {
  position: relative;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 22px;
  line-height: 1.6;
}
.flame-success-modal .flame-success-body {
  position: relative;
  background: linear-gradient(to right, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.12));
  border-radius: 12px;
  padding: 16px;
  color: #1f1f2c;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
  word-break: break-word;
}
.flame-success-modal .flame-success-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 50px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 0;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.flame-success-modal .flame-success-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.42);
}
.flame-success-modal .flame-success-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.32);
}
.creator-layout-setting {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 20px;
  border: 1px solid #e6e8ed;
  border-radius: 14px;
  background: #fff;
}
.creator-layout-header {
  margin-bottom: 16px;
}
.creator-layout-header h2 {
  margin: 0 0 4px;
  color: #303133;
  font-size: 18px;
  font-weight: 700;
}
.creator-layout-header p {
  margin: 0;
  color: #7a7f88;
  font-size: 14px;
  line-height: 1.5;
}
.creator-layout-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creator-layout-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 11px 14px;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  background: #fff;
  color: #303133;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.creator-layout-option:hover {
  border-color: #f7a5bd;
}
.creator-layout-option:focus-within {
  box-shadow: 0 0 0 3px rgba(247, 24, 106, 0.18);
}
.creator-layout-option.is-selected {
  border-color: #f7186a;
  background: #fff7fa;
}
.creator-layout-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.creator-layout-radio {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #b8bdc6;
  border-radius: 50%;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.creator-layout-option.is-selected .creator-layout-radio {
  border-color: #f7186a;
  box-shadow: inset 0 0 0 4px #fff;
  background: #f7186a;
}
.creator-layout-option-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.creator-layout-option-copy strong {
  color: #303133;
  font-size: 15px;
}
.creator-layout-option-copy strong i { width: 22px; color: #777d86; }
.creator-layout-option.is-selected .creator-layout-option-copy strong { color: #e91662; }
.creator-layout-option.is-selected .creator-layout-option-copy strong i { color: #e91662; }
.creator-layout-option-copy small {
  color: #777d86;
  font-size: 12px;
  line-height: 1.45;
}
.creator-layout-note {
  margin: 12px 0 0;
  color: #8a8f98;
  font-size: 12px;
  line-height: 1.5;
}
.creator-layout-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.creator-layout-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7186a, #f78ca0);
  box-shadow: 0 7px 16px rgba(247, 24, 106, 0.24);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.creator-layout-save:hover:not(:disabled) { transform: translateY(-1px); }
.creator-layout-save:focus-visible { outline: 3px solid rgba(247, 24, 106, .22); outline-offset: 2px; }
.creator-layout-save:disabled {
  border: 1px solid #d8dbe1;
  background: #eef0f3;
  box-shadow: none;
  color: #666b73;
  cursor: default;
  opacity: 1;
}
@media (max-width: 575px) {
  .creator-layout-setting {
    padding: 16px;
    border-radius: 12px;
  }
  .creator-layout-option { min-height: 60px; padding: 10px 12px; }
  .creator-layout-actions { justify-content: stretch; }
  .creator-layout-save { width: 100%; }
}
@keyframes fp-success-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fp-success-pop {
  0% { opacity: 0; transform: translateY(-12px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fp-success-pulse {
  0%, 100% { box-shadow: 0 10px 22px rgba(22, 163, 74, 0.32), 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 10px 22px rgba(22, 163, 74, 0.32), 0 0 0 14px rgba(34, 197, 94, 0); }
}
.post-layout-toolbar {
  display: flex;
  width: 100%;
  max-width: 920px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 4px 0 9px;
  border-bottom: 1px solid #ebeef2;
}
.search-row .post-layout-toolbar.is-inline {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
  justify-content: flex-start;
  width: auto;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}
.post-layout-switch {
  display: inline-flex;
  gap: 7px;
  padding: 3px;
  border-radius: 12px;
  background: #f5f6f8;
}
.post-layout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #8b9098;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.post-layout-button.is-active {
  background: linear-gradient(to bottom, #f699a0, #e4719b);
  box-shadow: 0 4px 10px rgba(228, 113, 155, 0.28);
  color: #fff;
}
.post-layout-button:active {
  transform: scale(0.96);
}
.post-layout-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #f7186a;
  outline-offset: -2px;
}
.ig-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .ig-post-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ig-post-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f2f3f5;
  color: inherit;
}
.ig-post-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
  content: '';
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ig-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .ig-post-card:hover::after {
    opacity: 1;
  }
  .ig-post-card:hover > img {
    transform: scale(1.015);
  }
  .post-layout-button:not(.is-active):hover {
    background: #ebeef2;
    color: #555b65;
  }
}
.ig-post-card:focus-visible::after {
  opacity: 1;
}
.ig-post-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(231, 113, 155, 0.12);
  background:
    radial-gradient(circle at 85% 12%, rgba(246, 153, 160, 0.2), transparent 35%),
    linear-gradient(145deg, #fff9fb, #f7f3f7);
  color: #555b65;
  text-align: center;
}
.ig-post-placeholder i {
  color: #e4719b;
  font-size: 22px;
}
.ig-post-placeholder.is-locked {
  background: linear-gradient(145deg, #faf8fa, #f0edf1);
  color: #6d6870;
}
.ig-post-placeholder.is-locked i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(228, 113, 155, 0.12);
  color: #d9608e;
  font-size: 18px;
}
.ig-post-placeholder span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.ig-post-badges {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.48);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}
.ig-post-access {
  position: absolute;
  z-index: 2;
  left: 7px;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(24, 24, 27, 0.76);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}
.ig-post-access.is-type-2 {
  background: rgba(228, 113, 155, 0.9);
}
.ig-post-access.is-type-7 {
  background: rgba(82, 82, 91, 0.86);
}
.ig-post-access > i {
  flex-shrink: 0;
  font-size: 10px;
}
.ig-post-access-text {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ig-post-skeleton {
  overflow: hidden;
  background: #edf0f3;
}
.ig-post-skeleton::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.72) 50%, transparent 75%);
  content: '';
  transform: translateX(-100%);
  animation: ig-post-shimmer 1.25s infinite;
}
.ig-post-skeleton::after {
  display: none;
}
@keyframes ig-post-shimmer {
  to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .post-layout-button,
  .ig-post-card::after,
  .ig-post-card img {
    transition: none;
  }
  .ig-post-skeleton::before {
    animation: none;
  }
}
@media (max-width: 767px) {
  .self-page .btn-wrap {
    flex-wrap: wrap;
    gap: 8px;
  }
  .self-page .btn-wrap .btn-interactive {
    margin-right: 0;
    padding: 0 14px;
  }
  .self-page .btn-wrap.profile-action-list {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .self-page .btn-wrap.profile-action-list::-webkit-scrollbar {
    display: none;
  }
  .self-page .btn-wrap.profile-action-list .btn-interactive {
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 14px;
  }
  .post-layout-toolbar {
    margin-bottom: 7px;
    padding: 3px 0 7px;
  }
  .post-layout-button {
    width: 40px;
    height: 36px;
  }
  .search-row .post-layout-toolbar.is-inline {
    margin-bottom: 0;
    padding: 0;
  }
  .search-row .post-layout-toolbar.is-inline .post-layout-switch {
    gap: 3px;
  }
  .search-row .post-layout-toolbar.is-inline .post-layout-button {
    width: 36px;
  }
  .ig-post-grid {
    gap: 2px;
  }
  .ig-post-placeholder {
    padding: 8px;
  }
  .ig-post-placeholder span {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }
  .ig-post-badges {
    top: 5px;
    right: 5px;
    min-height: 24px;
    padding: 4px 6px;
    font-size: 12px;
  }
  .ig-post-access {
    left: 4px;
    right: 5px;
    bottom: 5px;
    min-height: 27px;
    gap: 3px;
    padding: 5px 4px;
    border-radius: 7px;
    font-size: 10px;
  }
  .ig-post-access > i {
    font-size: 9px;
  }
}
@media (max-width: 359px) {
  .search-row .post-layout-toolbar.is-inline + .form-control {
    max-width: calc(100% - 87px);
  }
}

/* 方案卡片覆寫需置於既有樣式之後 */
.plan-limit-summary {
  justify-content: flex-start;
}
.plan-chip.subscription {
  color: #52737b;
  background: #eef7f8;
}
.swiper-plans .swiper-wrapper {
  align-items: stretch;
}
.swiper-plans .swiper-slide {
  height: auto;
}
.swiper-plans .plan-item {
  display: flex;
  flex-direction: column;
  height: calc(100% - 20px);
  border: 2px solid #eee5e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(67, 43, 52, 0.07);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.swiper-plans .plan-item.active {
  border-color: #f7186a;
  box-shadow: 0 9px 24px rgba(247, 24, 106, 0.16);
}
.swiper-plans .edit-wrap {
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.swiper-plans .btn-edit {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #684f59;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.swiper-plans .btn-edit:hover {
  color: #f7186a;
  background-color: #fff;
  transform: translateY(-1px);
}
.swiper-plans .btn-edit.is-delete:hover {
  color: #d9363e;
}
.swiper-plans .plan-top {
  height: clamp(150px, 30vw, 220px);
}
.swiper-plans .plan-top img {
  border-radius: 0;
  transition: transform 0.3s;
}
.swiper-plans .plan-body {
  flex: 1;
  align-items: flex-start;
  padding: 13px 12px;
}
.swiper-plans .plan-body .title {
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.swiper-plans .plan-body .content {
  width: 100%;
  text-align: left;
}
.swiper-plans .plan-body .price {
  width: 100%;
  margin-top: auto;
  color: #e93473;
  text-align: center;
}
.swiper-plans .bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 46px;
  gap: 5px;
  padding: 7px 10px;
  border-top: 1px solid #f3edf0;
}
.swiper-plans .bottom-row .btn-copy,
.swiper-plans .bottom-row .btn-share,
.swiper-plans .bottom-row .btn-maximize {
  margin-left: 0;
}
.swiper-plans .bottom-row .btn-copy,
.swiper-plans .bottom-row .btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.swiper-plans .bottom-row .btn-copy:hover,
.swiper-plans .bottom-row .btn-share:hover {
  color: #ff5f93;
  background: #fff3f7;
}
.swiper-plans .bottom-row .btn-maximize.btn-maximize-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .swiper-plans .plan-item:hover {
    border-color: #efb9ca;
    box-shadow: 0 10px 26px rgba(67, 43, 52, 0.11);
  }
  .swiper-plans .plan-item:hover .plan-top img {
    transform: scale(1.025);
  }
}
@media (max-width: 600px) {
  .swiper-plans .btn-edit {
    width: 38px;
    height: 38px;
  }
  .swiper-plans .owner-plan .plan-current-indicator {
    width: 30px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
  }
  .swiper-plans .owner-plan .plan-current-indicator span {
    display: none;
  }
}
/* /plan/:id 方案詳情頁 */
.plan-page-container {
  width: calc(100% - 30px) !important;
  max-width: 920px !important;
  padding-right: 0;
  padding-left: 0;
}
.plan-page-shell {
  padding: 28px 0 48px;
}
.plan-detail-card {
  overflow: hidden;
  border: 1px solid #eee4e8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(72, 44, 55, .09);
}
.plan-creator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px;
  border-bottom: 1px solid #f2eaed;
}
.plan-creator-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  color: #493a40;
}
.plan-creator-link:hover { color: #f7186a; }
.plan-creator-link > img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px #eadde2;
}
.plan-creator-copy { min-width: 0; }
.plan-creator-copy strong,
.plan-creator-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-creator-copy strong { font-size: 16px; }
.plan-creator-copy small {
  margin-top: 2px;
  color: #a08d95;
  font-size: 12px;
}
.plan-share-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}
.plan-share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #86a6ad;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.plan-share-actions button:hover {
  color: #ff5f93;
  background: #fff3f7;
}
.plan-share-actions i {
  pointer-events: none;
}
.plan-detail-main {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
}
.plan-cover-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  max-height: 620px;
  overflow: hidden;
  border-right: 1px solid #f2eaed;
  background: linear-gradient(135deg, #f8f4f6, #eee7ea);
}
.plan-cover {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}
.plan-detail-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 25px 28px 28px;
}
.plan-detail-body .plan-limit-summary {
  justify-content: center;
  margin: 0 0 15px;
}
.plan-detail-title {
  margin: 0;
  color: #3e3036;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.plan-detail-description {
  max-width: 680px;
  margin: 15px auto 0;
  color: #71636a;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.plan-purchase-period {
  display: flex;
  align-items: flex-start;
  max-width: 680px;
  gap: 10px;
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid #f0dfe5;
  border-radius: 12px;
  color: #765864;
  background: #fff9fb;
  font-size: 13px;
  line-height: 1.55;
}
.plan-purchase-period > i {
  margin-top: 3px;
  color: #f7186a;
}
.plan-purchase-period strong { margin-right: 6px; }
.plan-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 21px;
  color: #8f7d84;
}
.plan-price-row .plan-price-label { font-size: 13px; }
.plan-price-row strong {
  color: #e91e63;
  font-size: 27px;
  font-weight: 800;
}
.plan-price-row > span:last-child { font-size: 13px; }
.plan-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 50px;
  gap: 9px;
  margin: 20px auto 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f7186a, #f78ca0);
  box-shadow: 0 9px 22px rgba(247, 24, 106, .22);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.plan-primary-action:hover {
  box-shadow: 0 12px 26px rgba(247, 24, 106, .3);
  transform: translateY(-1px);
}
.plan-primary-action.is-unavailable {
  color: #85747b;
  background: #eee9eb;
  box-shadow: none;
}
.plan-unlocked-state {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 46px;
  gap: 8px;
  margin: 20px auto 0;
  border-radius: 999px;
  color: #34745d;
  background: #edf8f3;
  font-weight: 700;
}
.plan-post-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 24px;
  padding: 9px 14px;
  border: 1px solid #eee4e8;
  border-radius: 15px;
  background: #fff;
}
.plan-post-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4f3c44;
}
.plan-post-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #f7186a, #f78ca0);
}
.plan-post-heading > span {
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #b43b68;
  background: #ffeaf1;
  font-size: 12px;
  text-align: center;
}
.plan-post-loading.is-more { min-height: 72px; }
.plan-post-empty {
  min-height: 220px;
  margin-top: 14px;
  border: 1px dashed #eadde2;
  border-radius: 18px;
  background: #fcfafb;
}
.plan-page-shell > .back-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.plan-page-shell > .back-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 7px;
  margin: 0;
  border-color: #eadde2;
  border-radius: 12px;
}
@media (max-width: 899px) {
  .plan-page-container {
    width: calc(100% - 16px) !important;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }
  .plan-page-shell { padding: 10px 0 28px; }
  .plan-detail-card { border-radius: 16px; }
  .plan-creator-row {
    min-height: 64px;
    padding: 10px 12px;
  }
  .plan-creator-link > img {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .plan-share-actions button {
    width: 40px;
    height: 40px;
  }
  .plan-detail-main { display: block; }
  .plan-cover-wrap {
    min-height: 180px;
    max-height: 58vh;
    border-right: 0;
    border-bottom: 1px solid #f2eaed;
  }
  .plan-cover {
    height: auto;
    max-height: 58vh;
  }
  .plan-detail-body { padding: 20px 16px 22px; }
  .plan-detail-title { font-size: 23px; }
  .plan-detail-description {
    font-size: 14px;
    line-height: 1.7;
  }
  .plan-purchase-period { font-size: 12px; }
  .plan-price-row strong { font-size: 25px; }
  .plan-primary-action { min-height: 52px; }
  .plan-post-heading { margin-top: 15px; }
  .plan-page-shell > .back-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .plan-creator-copy { max-width: 150px; }
  .plan-detail-body {
    padding-right: 13px;
    padding-left: 13px;
  }
}
/*# sourceMappingURL=view.css.map */
