:root {
  --green: #45995b;
  --green-dark: #235d34;
  --green-soft: #6db47b;
  --close-gray: #b8b8b8;
  --close-gray-hover: #666;
  --text: #666;
  --muted: #8a8a8a;
  --line: #c7c7c7;
  --panel: #f8f8f8;
  --sidebar: #f3f3f3;
  --orange: #f5aa42;
  --danger: #b51b0d;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  background: #fff;
  overflow: hidden;
}

button {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  height: 100vh;
  min-height: 100vh;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 112px 30px 24px;
  background: var(--sidebar);
}

.brand {
  text-align: center;
}

.brand-logo {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green);
  overflow: hidden;
}

.logo-mark {
  position: absolute;
  left: 29px;
  top: 18px;
  width: 45px;
  height: 72px;
  border: 8px solid #fff;
  border-left-width: 17px;
  border-top-color: transparent;
  border-radius: 53% 47% 54% 46%;
  transform: rotate(-22deg);
}

.logo-mark::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -13px;
  width: 29px;
  height: 34px;
  background: #fff;
  border-radius: 80% 20% 35% 65%;
  transform: rotate(24deg);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 7px;
  width: 40px;
  height: 23px;
  border: 7px solid var(--green);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(30deg);
}

.brand-name {
  margin-top: 10px;
  font-size: 20px;
  color: #767676;
}

.languages {
  margin-top: 12px;
  font-size: 14px;
  color: #6d7884;
  white-space: nowrap;
}

.nav-list {
  width: 100%;
  margin-top: 98px;
}

.nav-item {
  position: relative;
  display: block;
  width: 100%;
  height: 51px;
  border: 0;
  color: #555;
  background: transparent;
  cursor: pointer;
}

.nav-item.active {
  color: #fff;
  font-weight: 700;
  background: var(--green);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 25.5px solid transparent;
  border-bottom: 25.5px solid transparent;
  border-left: 18px solid var(--green);
}

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 197px;
  min-height: 63px;
  margin-top: 56px;
  border: 0;
  border-radius: 11px;
  color: #8a5a12;
  background: var(--orange);
  cursor: pointer;
}

.promo-title {
  font-size: 16px;
}

.promo-subtitle {
  margin-top: 6px;
  font-size: 13px;
}

.hot-badge {
  position: absolute;
  right: -8px;
  top: -18px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: var(--danger);
  border-radius: 50% 50% 45% 45%;
}

.hot-badge::before,
.hot-badge::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 15px;
  height: 23px;
  background: var(--danger);
  border-radius: 100% 0 100% 0;
}

.hot-badge::before {
  left: 7px;
  transform: rotate(16deg);
}

.hot-badge::after {
  right: 6px;
  transform: rotate(-18deg);
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: auto;
  color: #6d7884;
}

.link-button {
  border: 0;
  padding: 0;
  color: #6d7884;
  background: transparent;
  cursor: pointer;
}

.login-entry {
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-auth {
  display: none;
}

.mobile-auth-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-auth-button,
.mobile-avatar-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-auth-button {
  color: #6d7884;
  font-size: 14px;
  line-height: 1.2;
}

.mobile-auth-divider {
  color: #9ba3ab;
  font-size: 13px;
  line-height: 1;
}

.mobile-avatar-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.mobile-avatar-button .account-avatar {
  width: 28px;
  height: 28px;
  margin-right: 0;
}

.sidebar-account,
.account-summary {
  width: 100%;
}

.account-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.account-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 34px;
  border: 0;
  padding: 0;
  color: #59666d;
  background: transparent;
  cursor: pointer;
}

.account-name span:nth-child(2) {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 50% 92%, #fff 0 8px, transparent 9px),
    var(--green);
}

.member-mini-button {
  min-width: 102px;
  min-height: 30px;
  border: 1px solid #d6b779;
  border-radius: 4px;
  color: #8a5a12;
  background: #fff5dc;
  font-size: 14px;
  cursor: pointer;
}

.member-mini-button.is-member {
  border-color: #c7ddce;
  color: var(--green-dark);
  background: #eaf5ed;
}

.sidebar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 14px;
  white-space: nowrap;
}

.workspace {
  min-height: 0;
  padding: 20px 30px 16px;
  overflow: hidden;
  background: #fff;
}

.panel {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 36px);
  min-height: 0;
}

.panel h1 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 400;
  color: #777;
}

.drop-zone {
  position: relative;
  flex: 1;
  min-height: 0;
  border: 1px solid #d1d1d1;
  outline: 1px dashed var(--green);
  outline-offset: -9px;
  background: var(--panel);
  padding: 36px 52px 96px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drop-zone.dragging {
  background: #f1faf3;
}

.blank-view {
  position: relative;
  flex: 1;
  min-height: 0;
  border: 1px solid #d1d1d1;
  outline: 1px dashed var(--green);
  outline-offset: -9px;
  background: var(--panel);
  padding: 36px 52px 96px;
  overflow: hidden;
}

.select-button {
  display: block;
  flex: 0 0 auto;
  width: calc(100% - 70px);
  height: 70px;
  margin: 0 auto;
  border: 2px solid #bdbdbd;
  color: #777;
  background: transparent;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.select-button:focus-visible,
.primary-action:focus-visible,
.nav-item:focus-visible,
.link-button:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}

#fileInput {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.sort-row {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  padding-right: 18px;
  color: #9a9a9a;
  font-size: 20px;
}

.sort-row:not([hidden]) {
  display: flex;
}

.sort-button {
  border: 0;
  color: #8b8b8b;
  background: transparent;
  cursor: pointer;
}

.empty-state {
  position: absolute;
  inset: 210px 40px auto;
  text-align: center;
  color: #8a8a8a;
  font-size: 18px;
  pointer-events: none;
}

.empty-state p {
  margin: 8px 0;
}

.empty-icon {
  position: relative;
  width: 112px;
  height: 110px;
  margin: 0 auto 22px;
  color: #d1d1d1;
}

.ear {
  position: absolute;
  top: 8px;
  width: 42px;
  height: 54px;
  border: 5px solid currentColor;
  border-bottom: 0;
}

.ear.left {
  left: 14px;
  border-right: 0;
  border-radius: 14px 0 0 0;
  transform: skewY(38deg);
}

.ear.right {
  right: 14px;
  border-left: 0;
  border-radius: 0 14px 0 0;
  transform: skewY(-38deg);
}

.glass {
  position: absolute;
  top: 48px;
  width: 38px;
  height: 38px;
  border: 5px solid currentColor;
  border-radius: 50%;
}

.glass.left {
  left: 15px;
}

.glass.right {
  right: 15px;
}

.bridge {
  position: absolute;
  top: 65px;
  left: 51px;
  width: 12px;
  border-top: 5px solid currentColor;
}

.mouth {
  position: absolute;
  left: 49px;
  top: 88px;
  width: 15px;
  height: 5px;
  background: currentColor;
  border-radius: 6px;
}

.whisker {
  position: absolute;
  right: 1px;
  width: 19px;
  border-top: 4px solid currentColor;
}

.whisker.top {
  top: 60px;
}

.whisker.bottom {
  top: 73px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 122px);
  align-content: start;
  gap: 28px 42px;
  flex: 1;
  min-height: 0;
  margin: 34px 26px 0;
  padding: 0 8px 24px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.thumb-grid:empty {
  padding: 0;
}

.thumb-card {
  position: relative;
  width: 122px;
  text-align: center;
  color: #777;
}

.thumb-edited {
  position: absolute;
  left: 0;
  right: 0;
  top: -21px;
  z-index: 2;
  height: 18px;
  overflow: hidden;
  color: #6d7884;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.thumb-preview {
  position: relative;
  width: 122px;
  height: 163px;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

.thumb-preview:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.thumb-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-preview.pdf {
  display: grid;
  place-items: center;
  color: #fff;
  background: #3d3d3d;
  font-size: 24px;
  font-weight: 700;
}

.thumb-remove {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 20px;
  line-height: 18px;
  cursor: pointer;
}

.thumb-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 42px 1px 68px;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  height: 25px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 15px;
}

.thumb-actions button {
  min-width: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: transparent;
  cursor: pointer;
  line-height: 25px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.thumb-divider {
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.thumb-name {
  margin-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.primary-action {
  position: absolute;
  right: 65px;
  bottom: 28px;
  width: 438px;
  height: 50px;
  border: 0;
  color: #fff;
  background: var(--green);
  font-size: 22px;
  cursor: pointer;
}

.primary-action:disabled {
  background: #c9c9c9;
  cursor: default;
}

.video-tool {
  flex: 1;
  min-height: 0;
  padding: 42px 52px;
  overflow: auto;
  border: 1px solid #d1d1d1;
  outline: 1px dashed var(--green);
  outline-offset: -9px;
  background: var(--panel);
}

.video-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 18px;
  align-items: stretch;
}

.video-input-row textarea {
  min-height: 152px;
  resize: vertical;
  border: 1px solid #bdbdbd;
  padding: 16px 18px;
  color: #555;
  background: #fff;
  font: inherit;
  line-height: 1.65;
}

.video-input-row textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgba(69, 153, 91, 0.18);
}

.video-input-row button,
.video-result-header button {
  border: 0;
  color: #fff;
  background: var(--green);
  cursor: pointer;
}

.video-input-row button {
  min-height: 152px;
  font-size: 22px;
  font-weight: 700;
}

.video-input-row button:disabled {
  background: #c9c9c9;
  cursor: default;
}

.video-result {
  margin-top: 28px;
  border: 1px solid #d7d7d7;
  background: #fff;
}

.video-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 16px 20px;
  border-bottom: 1px solid #e1e1e1;
  background: #fdfdfd;
}

.video-result-title {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.video-result-subtitle {
  margin-top: 5px;
  color: #7d7d7d;
  font-size: 14px;
}

.video-result-header button {
  flex: 0 0 auto;
  width: 108px;
  height: 38px;
}

.video-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.video-fields > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.video-fields > div:nth-child(2n),
.video-fields > div.wide {
  border-right: 0;
}

.video-fields > div.wide {
  grid-column: 1 / -1;
}

.video-fields dt {
  margin: 0 0 8px;
  color: #8a8a8a;
  font-size: 14px;
}

.video-fields dd {
  margin: 0;
  min-height: 24px;
  color: #444;
  line-height: 1.55;
  word-break: break-all;
}

.video-fields a {
  color: #236a98;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 100;
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 4px;
  transform: translateX(-50%) translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.extracting-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(2px);
}

.extracting-overlay[hidden] {
  display: none;
}

.extracting-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(360px, calc(100vw - 48px));
  min-height: 260px;
  padding: 34px 28px 32px;
  color: #4f5b54;
  background: #fff;
  border: 1px solid #d8e5dc;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(48, 77, 58, 0.18);
}

.extracting-ring {
  width: 82px;
  height: 82px;
  border: 8px solid #dbeee1;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: extracting-spin 0.9s linear infinite;
}

.extracting-title {
  margin-top: 24px;
  color: #2d6b3d;
  font-size: 24px;
  font-weight: 700;
}

.extracting-countdown {
  margin-top: 12px;
  color: #222;
  font-size: 28px;
  font-weight: 700;
}

.extracting-subtitle {
  margin-top: 10px;
  color: #7a817d;
  font-size: 15px;
  text-align: center;
}

@keyframes extracting-spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
  overflow: auto;
  overflow-x: hidden;
}

.modal-overlay[hidden] {
  display: none;
}

.login-modal {
  position: relative;
  width: 700px;
  min-height: 345px;
  padding: 54px 48px 42px;
  color: #888;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.login-modal p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
}

.login-button {
  display: block;
  width: 362px;
  height: 50px;
  margin: 26px auto 0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.member-modal,
.payment-modal,
.auth-modal,
.legal-modal {
  position: relative;
  width: min(100%, 620px);
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  overflow-x: hidden;
  color: #555;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.member-modal {
  width: min(620px, calc(100vw - 48px));
  padding: 28px;
}

.member-card {
  margin: 0;
  padding: 28px 30px 24px;
  border: 1px solid #ead9b8;
  border-radius: 6px;
  color: #6b4a18;
  background: linear-gradient(135deg, #fff8e6 0%, #f5d28d 100%);
}

.member-card p {
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.7;
}

.member-card p:first-child {
  margin-bottom: 16px;
  color: #46310f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.member-buy-button,
.auth-submit,
.return-login-button,
.captcha-button {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.member-buy-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 58px;
  margin: 22px auto 0;
  color: #fff;
  background: #d8892b;
  box-shadow: 0 8px 18px rgba(166, 99, 26, 0.24);
}

.member-buy-button span {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.member-buy-button small {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
}

.member-buy-button.is-active,
.member-buy-button:disabled {
  background: var(--green);
  box-shadow: none;
  cursor: default;
}

.member-coupon-button {
  display: block;
  margin: 12px auto 0;
  border: 0;
  padding: 4px 8px;
  color: #7b5722;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.member-profile {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  color: #6f7772;
}

.member-profile span:last-child {
  max-width: 240px;
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-logout-button {
  display: block;
  min-width: 120px;
  height: 38px;
  margin: 16px auto 0;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  color: #666;
  background: #f8f8f8;
  cursor: pointer;
}

.payment-modal {
  width: min(760px, calc(100vw - 48px));
  padding: 34px 38px 36px;
  text-align: center;
}

.payment-modal h2,
.auth-modal h2,
.legal-modal h2 {
  margin: 0;
  color: #444;
  font-size: 22px;
  line-height: 1.35;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 28px;
  margin-top: 28px;
}

.payment-option {
  padding: 0 0 8px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  background: #fafafa;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.payment-option.active {
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(58, 122, 74, 0.12);
}

.pay-tab {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}

.pay-tab.alipay {
  background: #2c8df0;
}

.pay-tab.wechat {
  background: var(--green);
}

.pay-tab.active {
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.42);
}

.payment-option p,
.wechat-label,
.wechat-agreement {
  margin: 12px 12px 0;
  color: #6f7772;
  font-size: 14px;
  line-height: 1.45;
}

.qr-code {
  position: relative;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  margin: 22px auto 0;
  border: 12px solid #fff;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #141414 10px, transparent 10px),
    linear-gradient(#141414 10px, transparent 10px),
    linear-gradient(90deg, transparent 24px, #141414 24px 34px, transparent 34px 48px, #141414 48px 58px, transparent 58px),
    linear-gradient(transparent 20px, #141414 20px 30px, transparent 30px 44px, #141414 44px 54px, transparent 54px);
  background-position: 0 0, 0 0, 14px 18px, 26px 6px;
  background-size: 30px 30px, 30px 30px, 68px 68px, 74px 74px;
  box-shadow: 0 0 0 1px #d8d8d8, 0 8px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.qr-code.ready {
  background-image: none;
}

.qr-code.ready::before,
.qr-code.ready::after {
  display: none;
}

.qr-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  position: relative;
  z-index: 1;
  color: #777;
  font-size: 14px;
  line-height: 1.3;
}

.qr-code.loading .qr-placeholder {
  color: #2d6b3d;
}

.qr-code.error .qr-placeholder {
  color: #b51b0d;
}

.qr-code::before,
.qr-code::after {
  content: "";
  position: absolute;
  background: #fff;
}

.qr-code::before {
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 9px solid #111;
  box-shadow:
    92px 0 0 -9px #fff,
    92px 0 0 0 #111,
    0 92px 0 -9px #fff,
    0 92px 0 0 #111;
}

.qr-code::after {
  right: 20px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  background: #111;
  box-shadow:
    -28px 0 0 #111,
    -14px -16px 0 #111,
    0 -32px 0 #111,
    -42px -28px 0 #111,
    -56px -10px 0 #111;
}

.qr-alipay {
  box-shadow: 0 0 0 1px #cddff1, 0 8px 16px rgba(39, 118, 205, 0.16);
}

.qr-wechat,
.qr-login {
  box-shadow: 0 0 0 1px #cbded0, 0 8px 16px rgba(48, 130, 68, 0.16);
}

.payment-status {
  min-height: 20px;
  margin: 18px 0 0;
  color: #6f7772;
  font-size: 14px;
  line-height: 1.45;
}

.auth-modal {
  width: min(420px, calc(100vw - 48px));
  padding: 30px 32px 28px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: -30px -32px 26px;
  border-bottom: 1px solid #e2e2e2;
}

.auth-tab {
  min-height: 54px;
  border: 0;
  color: #666;
  background: #f6f6f6;
  font-size: 17px;
  cursor: pointer;
}

.auth-tab.active {
  color: var(--green-dark);
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--green);
  font-weight: 700;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

#registerForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.auth-field {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 14px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
}

#registerForm .auth-field {
  margin-bottom: 0;
}

.field-icon {
  flex: 0 0 auto;
  width: 42px;
  color: #9a9a9a;
  text-align: center;
}

.country-code {
  flex: 0 0 auto;
  margin-right: 8px;
  color: #555;
}

.auth-field input {
  min-width: 0;
  flex: 1 1 auto;
  height: 46px;
  border: 0;
  outline: 0;
  color: #333;
  font-size: 15px;
  background: transparent;
}

.password-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 46px;
  border: 0;
  color: #888;
  background: transparent;
  cursor: pointer;
}

.password-toggle.active {
  color: var(--close-gray);
}

.agreement-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 4px 0 16px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.agreement-check input {
  width: 15px;
  height: 15px;
  margin: 0 2px 0 0;
  accent-color: var(--green);
}

.agreement-check button,
.auth-links button,
.wechat-agreement button {
  border: 0;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
}

.wechat-login-panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 294px;
}

.wechat-login-panel .qr-code {
  margin-top: 18px;
}

.wechat-label {
  color: #333;
  font-size: 18px;
}

.wechat-agreement {
  max-width: 290px;
  text-align: center;
}

.register-modal {
  width: min(440px, calc(100vw - 48px));
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
}

.captcha-field {
  min-width: 0;
}

.captcha-button {
  min-height: 48px;
  padding: 0 12px;
  color: #fff;
  background: #6d7884;
  font-size: 14px;
}

.captcha-button:disabled {
  background: #b4b4b4;
  cursor: default;
}

.return-login-button {
  width: 100%;
  min-height: 44px;
  color: #5d6961;
  background: #f1f1f1;
}

.legal-modal {
  width: min(640px, calc(100vw - 48px));
  padding: 34px 38px 36px;
}

.legal-content {
  margin-top: 20px;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.legal-content p {
  margin: 0 0 14px;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--close-gray);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #fff;
  background: var(--close-gray-hover);
  transform: scale(1.04);
}

.modal-close.dark {
  color: #fff;
  background: var(--close-gray);
}

.modal-close.dark:hover,
.modal-close.dark:focus-visible {
  color: #fff;
  background: var(--close-gray-hover);
}

.result-close {
  right: 10px;
  top: 10px;
  color: #fff;
  background: var(--close-gray);
}

.result-close:hover {
  color: #fff;
  background: var(--close-gray-hover);
}

.crop-overlay {
  background: rgba(0, 0, 0, 0.76);
}

.crop-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1180px, calc(100vw - 96px));
}

.crop-canvas {
  position: relative;
  width: min(1180px, calc(100vw - 96px));
  height: min(710px, calc(100vh - 150px));
  overflow: hidden;
  cursor: default;
  touch-action: none;
  user-select: none;
  background-image:
    linear-gradient(45deg, #9b9b9b 25%, transparent 25%),
    linear-gradient(-45deg, #9b9b9b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #9b9b9b 75%),
    linear-gradient(-45deg, transparent 75%, #9b9b9b 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

.crop-canvas img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: fill;
  filter: brightness(0.78);
  transform-origin: center center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.crop-canvas img:active {
  cursor: grabbing;
}

.crop-box {
  position: absolute;
  border: 4px solid #f1f1f1;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
  cursor: move;
  touch-action: none;
}

.guide {
  position: absolute;
  opacity: 0.75;
}

.guide.vertical {
  top: 0;
  bottom: 0;
  border-left: 1px dashed #dcdcdc;
}

.guide.vertical.one {
  left: 33.33%;
}

.guide.vertical.two {
  left: 66.66%;
}

.guide.horizontal {
  left: 0;
  right: 0;
  border-top: 1px dashed #dcdcdc;
}

.guide.horizontal.one {
  top: 33.33%;
}

.guide.horizontal.two {
  top: 66.66%;
}

.handle {
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 2;
  background: transparent;
}

.handle::before,
.handle::after {
  content: "";
  position: absolute;
  background: #f1f1f1;
}

.handle.top-left {
  top: -14px;
  left: -14px;
  cursor: nwse-resize;
}

.handle.top-left::before {
  left: 10px;
  top: 10px;
  width: 22px;
  height: 4px;
}

.handle.top-left::after {
  left: 10px;
  top: 10px;
  width: 4px;
  height: 22px;
}

.handle.top-right {
  top: -14px;
  right: -14px;
  cursor: nesw-resize;
}

.handle.top-right::before {
  right: 10px;
  top: 10px;
  width: 22px;
  height: 4px;
}

.handle.top-right::after {
  right: 10px;
  top: 10px;
  width: 4px;
  height: 22px;
}

.handle.bottom-left {
  bottom: -14px;
  left: -14px;
  cursor: nesw-resize;
}

.handle.bottom-left::before {
  left: 10px;
  bottom: 10px;
  width: 22px;
  height: 4px;
}

.handle.bottom-left::after {
  left: 10px;
  bottom: 10px;
  width: 4px;
  height: 22px;
}

.handle.bottom-right {
  bottom: -14px;
  right: -14px;
  cursor: nwse-resize;
}

.handle.bottom-right::before {
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 4px;
}

.handle.bottom-right::after {
  right: 10px;
  bottom: 10px;
  width: 4px;
  height: 22px;
}

.crop-toolbar {
  display: flex;
  margin-top: 16px;
  background: #070707;
}

.crop-toolbar button {
  width: 74px;
  height: 51px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 39px;
  line-height: 1;
  cursor: pointer;
}

.crop-toolbar button[data-close="cropModal"] {
  display: grid;
  place-items: center;
  width: 51px;
  border-radius: 50%;
  color: #fff;
  background: var(--close-gray);
  transition: background 0.18s ease, transform 0.18s ease;
}

.crop-toolbar button[data-close="cropModal"]:hover,
.crop-toolbar button[data-close="cropModal"]:focus-visible {
  color: #fff;
  background: var(--close-gray-hover);
  transform: scale(1.04);
}

.result-modal {
  position: relative;
  width: min(1528px, calc(100vw - 112px));
  height: min(840px, calc(100vh - 52px));
  background: #fff;
}

.result-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 50px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
}

.result-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100% - 50px);
}

.source-pane,
.text-pane {
  overflow: auto;
  padding: 38px;
}

.source-pane {
  border-right: 1px dashed #bdbdbd;
}

.pane-title {
  display: none;
}

.result-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.result-image-item {
  width: 100%;
  margin: 0;
  text-align: center;
}

.result-image-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.result-pdf-preview {
  display: grid;
  place-items: center;
  width: min(420px, 100%);
  height: 300px;
  margin: 0 auto;
  color: #fff;
  background: #3d3d3d;
  font-size: 32px;
  font-weight: 700;
}

.text-pane pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #555;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
}

.result-actions {
  position: absolute;
  right: 13px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 320px;
  height: 40px;
  padding: 0 17px;
  color: #fff;
  background: #818181;
  border-radius: 3px;
}

.result-actions button {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 960px) {
  body {
    overflow: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .sidebar {
    min-height: 0;
    padding: 22px 18px;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
  }

  .logo-mark {
    left: 20px;
    top: 12px;
    width: 31px;
    height: 49px;
    border-width: 6px;
    border-left-width: 12px;
  }

  .logo-mark::before {
    left: -14px;
    top: -9px;
    width: 20px;
    height: 23px;
  }

  .logo-mark::after {
    left: 2px;
    bottom: 5px;
    width: 28px;
    height: 16px;
    border-width: 5px;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .nav-item.active::after {
    display: none;
  }

  .promo-card {
    margin-top: 18px;
  }

  .sidebar-footer {
    margin-top: 24px;
  }

  .workspace {
    padding: 16px;
    overflow: visible;
  }

  .panel {
    height: auto;
    min-height: 620px;
  }

  .drop-zone {
    min-height: 620px;
    padding: 24px 18px 90px;
  }

  .video-tool {
    min-height: 620px;
    padding: 24px 18px;
  }

  .video-input-row {
    grid-template-columns: 1fr;
  }

  .video-input-row button {
    min-height: 54px;
  }

  .video-result-header {
    align-items: stretch;
    flex-direction: column;
  }

  .video-result-header button {
    width: 100%;
  }

  .video-fields {
    grid-template-columns: 1fr;
  }

  .video-fields > div {
    border-right: 0;
  }

  .select-button {
    width: 100%;
    font-size: 20px;
  }

  .thumb-grid {
    grid-template-columns: repeat(auto-fill, 104px);
    gap: 20px;
    margin: 28px 0 86px;
    overflow: visible;
  }

  .thumb-card,
  .thumb-preview {
    width: 104px;
  }

  .thumb-preview {
    height: 138px;
  }

  .thumb-edited {
    top: -18px;
    font-size: 12px;
  }

  .thumb-actions {
    grid-template-columns: 36px 1px 58px;
    column-gap: 3px;
    font-size: 13px;
  }

  .primary-action {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .login-modal,
  .member-modal,
  .payment-modal,
  .auth-modal,
  .legal-modal,
  .result-modal {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .modal-close {
    right: 10px;
    top: 10px;
  }

  .payment-options {
    gap: 18px;
  }

  .result-close {
    right: 10px;
    top: 10px;
  }

  .result-header {
    display: none;
  }

  .result-body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(150px, 36%) minmax(0, 1fr);
    min-height: 0;
    height: 100%;
  }

  .source-pane,
  .text-pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .source-pane {
    max-height: none;
    border-right: 0;
    border-bottom: 1px dashed #bdbdbd;
  }

  .pane-title {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--green);
    font-size: 16px;
    font-weight: 700;
  }

  .result-images {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 24px;
  }

  .text-pane pre {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    min-height: 100%;
  }

  body {
    font-size: 15px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  button,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }

  .app-shell {
    display: block;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .sidebar {
    position: relative;
    align-items: stretch;
    padding: 12px 12px 14px;
  }

  .mobile-auth {
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 28px;
  }

  .brand {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    min-height: 48px;
    padding-right: 104px;
    text-align: left;
  }

  .brand-logo {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
  }

  .logo-mark {
    left: 13px;
    top: 8px;
    width: 20px;
    height: 32px;
    border-width: 4px;
    border-left-width: 8px;
  }

  .logo-mark::before {
    left: -10px;
    top: -6px;
    width: 14px;
    height: 16px;
  }

  .logo-mark::after {
    left: 1px;
    bottom: 3px;
    width: 18px;
    height: 10px;
    border-width: 3px;
  }

  .brand-name {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.25;
    align-self: center;
    transform: none;
  }

  .languages {
    margin-top: 2px;
    font-size: 12px;
  }

  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
  }

  .promo-card,
  .sidebar-footer {
    display: none;
  }

  .sidebar-account {
    display: none;
  }

  .nav-item {
    height: 42px;
    padding: 0 8px;
    overflow: hidden;
    border: 1px solid #e3e3e3;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #fff;
  }

  .nav-item.active {
    border-color: var(--green);
  }

  .workspace {
    padding: 10px;
  }

  .panel {
    min-height: 0;
  }

  .panel h1 {
    margin-bottom: 9px;
    font-size: 17px;
  }

  .drop-zone,
  .video-tool,
  .blank-view {
    min-height: calc(100dvh - 174px);
    padding: 14px 12px;
    outline-offset: -6px;
  }

  .drop-zone {
    overflow: visible;
  }

  .select-button {
    height: 54px;
    border-width: 1px;
    font-size: 18px;
  }

  .sort-row {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-right: 0;
    font-size: 14px;
  }

  .empty-state {
    position: static;
    margin: 26px auto 72px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 1.55;
  }

  .empty-state p {
    margin: 7px 0;
  }

  .empty-icon {
    height: 78px;
    margin-bottom: 4px;
    transform: scale(0.7);
    transform-origin: top center;
  }

  .thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 18px 12px;
    margin: 22px 0 16px;
    padding: 0 0 4px;
  }

  .thumb-card {
    width: 100%;
    min-width: 0;
  }

  .thumb-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .thumb-edited {
    top: -17px;
    font-size: 12px;
  }

  .thumb-actions {
    grid-template-columns: minmax(34px, 1fr) 1px minmax(44px, 1.25fr);
    column-gap: 3px;
    height: 25px;
    font-size: 12px;
  }

  .thumb-name {
    margin-top: 5px;
    font-size: 13px;
  }

  .primary-action {
    position: sticky;
    left: auto;
    right: auto;
    bottom: 10px;
    z-index: 4;
    width: 100%;
    height: 48px;
    margin-top: auto;
    font-size: 17px;
    box-shadow: 0 8px 18px rgba(36, 88, 49, 0.18);
  }

  .video-input-row {
    gap: 12px;
  }

  .video-input-row textarea {
    min-height: 168px;
    padding: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .video-input-row button {
    min-height: 48px;
    font-size: 17px;
  }

  .video-result {
    margin-top: 16px;
  }

  .video-result-header {
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .video-result-title {
    font-size: 17px;
  }

  .video-result-subtitle {
    font-size: 13px;
  }

  .video-fields > div {
    padding: 13px 14px;
  }

  .video-fields dt {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .video-fields dd {
    font-size: 14px;
    line-height: 1.55;
  }

  .extracting-panel {
    width: calc(100vw - 32px);
    min-height: 220px;
    padding: 26px 20px;
  }

  .extracting-ring {
    width: 68px;
    height: 68px;
    border-width: 7px;
  }

  .extracting-title {
    margin-top: 20px;
    font-size: 20px;
  }

  .extracting-countdown {
    font-size: 22px;
  }

  .modal-overlay {
    place-items: start center;
    padding: 56px 10px 14px;
    overflow: auto;
    overflow-x: hidden;
  }

  .modal-close {
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    font-size: 24px;
    line-height: 1;
  }

  .login-modal,
  .member-modal,
  .payment-modal,
  .auth-modal,
  .legal-modal {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    max-height: none;
    padding: 22px 16px 20px;
  }

  .member-card {
    padding: 20px 16px;
  }

  .member-card p {
    font-size: 14px;
    line-height: 1.65;
  }

  .member-card p:first-child {
    font-size: 18px;
  }

  .member-buy-button {
    min-height: 54px;
  }

  .member-buy-button span {
    font-size: 17px;
  }

  .payment-options {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
  }

  .payment-modal h2,
  .auth-modal h2,
  .legal-modal h2 {
    font-size: 20px;
  }

  .qr-code {
    width: 156px;
    height: 156px;
    margin-top: 18px;
    border-width: 10px;
  }

  .qr-code::before {
    left: 8px;
    top: 8px;
    width: 30px;
    height: 30px;
    border-width: 8px;
    box-shadow:
      82px 0 0 -8px #fff,
      82px 0 0 0 #111,
      0 82px 0 -8px #fff,
      0 82px 0 0 #111;
  }

  .auth-tabs {
    margin: -22px -16px 22px;
  }

  .auth-tab {
    min-height: 50px;
    font-size: 16px;
  }

  .auth-field {
    min-height: 46px;
    margin-bottom: 12px;
  }

  .auth-field input,
  .password-toggle {
    height: 44px;
  }

  .field-icon,
  .password-toggle {
    width: 38px;
  }

  .captcha-row {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .captcha-button {
    min-height: 46px;
    padding: 0 8px;
    font-size: 13px;
  }

  .agreement-check {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .legal-content {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .login-modal p {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .login-button {
    width: 100%;
    height: 46px;
    font-size: 18px;
  }

  .result-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100dvh - 70px);
    min-height: 420px;
  }

  .result-header {
    display: none;
  }

  .result-body {
    flex: 1 1 auto;
    grid-template-rows: minmax(116px, 34%) minmax(0, 1fr);
    height: auto;
  }

  .source-pane,
  .text-pane {
    padding: 0;
  }

  .source-pane {
    max-height: none;
    border-right: 0;
    border-bottom: 1px dashed #bdbdbd;
  }

  .result-images {
    gap: 16px;
    padding: 14px;
  }

  .result-pdf-preview {
    height: 160px;
  }

  .text-pane pre {
    padding: 14px;
    font-size: 15px;
    line-height: 1.7;
  }

  .pane-title {
    flex-basis: 40px;
    font-size: 15px;
  }

  .result-close {
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    color: #fff;
    background: var(--close-gray);
    font-size: 24px;
    line-height: 1;
  }

  .result-actions {
    position: static;
    flex: 0 0 auto;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 0 10px;
    border-radius: 0;
    font-size: 14px;
  }

  .crop-stage {
    width: calc(100vw - 20px);
  }

  .crop-canvas {
    width: calc(100vw - 20px);
    height: min(62dvh, calc(100dvh - 142px));
  }

  .crop-box {
    border-width: 3px;
  }

  .handle {
    width: 40px;
    height: 40px;
  }

  .crop-toolbar {
    width: 100%;
    justify-content: center;
  }

  .crop-toolbar button {
    flex: 1 1 0;
    max-width: 74px;
    height: 48px;
    font-size: 34px;
  }

  .toast {
    bottom: 16px;
    max-width: calc(100vw - 24px);
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .mobile-auth {
    right: 10px;
  }

  .brand {
    padding-right: 98px;
  }

  .nav-item {
    height: 40px;
    padding: 0 5px;
    font-size: 13px;
  }

  .workspace {
    padding: 8px;
  }

  .panel h1 {
    font-size: 16px;
  }

  .drop-zone,
  .video-tool,
  .blank-view {
    padding: 12px 10px;
  }

  .empty-state {
    margin-top: 20px;
    font-size: 13px;
  }

  .empty-icon {
    display: none;
  }

  .thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 16px 10px;
  }

  .primary-action {
    font-size: 16px;
  }

  .result-actions {
    gap: 7px;
    font-size: 13px;
  }
}
