.yq-lock {
  overflow: hidden !important;
}
.yq-workspace {
  --yq-bg: #f8fafc;
  --yq-bg2: #fff;
  --yq-accent: #db2777;
  --yq-ink: #172033;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(145deg, var(--yq-bg), var(--yq-bg2));
  color: var(--yq-ink);
  overflow: auto;
  font-family: Inter, "Noto Sans TC", system-ui, sans-serif;
}
.yq-workspace * {
  box-sizing: border-box;
}
.yq-hidden {
  display: none !important;
}
.yq-topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 68px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--yq-bg) 84%, transparent);
  border-bottom: 1px solid rgba(127, 127, 127, 0.14);
  backdrop-filter: blur(18px);
}
.yq-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.yq-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.yq-brand span {
  color: #e24ec0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.yq-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--yq-accent);
  color: #fff;
}
.yq-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yq-icon-btn,
.yq-soft-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.62);
  color: inherit;
  cursor: pointer;
  border-radius: 14px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.13);
}
.yq-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: 400px minmax(0, 680px);
  gap: 48px;
  align-items: start;
}
.yq-visual {
  position: sticky;
  top: 112px;
}
.yq-cover {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--yq-accent), var(--yq-bg2));
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}
.yq-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yq-generated {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 35px;
  background: linear-gradient(135deg, var(--yq-accent), var(--yq-bg2));
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-align: center;
  overflow: hidden;
}
.yq-generated:before,
.yq-generated:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 45%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
  transform: rotate(28deg);
  top: -100px;
  right: -80px;
}
.yq-generated:after {
  top: auto;
  right: auto;
  bottom: -120px;
  left: -70px;
  background: rgba(0, 0, 0, 0.12);
}
.yq-generated span {
  position: relative;
  z-index: 1;
}
.yq-upload {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #171717;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.22);
}
.yq-theme-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 58px 46px;
  gap: 10px;
}
.yq-theme-current {
  height: 58px;
  border: 0;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.64);
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.13);
}
.yq-theme-swatch {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--yq-accent);
}
.yq-theme-current small {
  display: block;
  opacity: 0.55;
}
.yq-theme-current strong {
  display: block;
  font-size: 16px;
}
.yq-shuffle {
  height: 58px;
  border: 0;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.64);
  color: inherit;
  font-size: 19px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.13);
}
.yq-back-theme {
  height: 58px;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  font-size: 17px;
}
.yq-back-theme:disabled {
  opacity: 0.16;
  cursor: default;
}
.yq-form {
  min-width: 0;
}
.yq-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.yq-pill {
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  padding: 9px 13px;
  font-weight: 750;
}
.yq-title {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: 900 clamp(36px, 5vw, 58px) / 1.05 inherit;
  letter-spacing: -0.045em;
  padding: 0;
  margin: 0 0 24px;
  outline: none;
}
.yq-title::placeholder {
  color: color-mix(in srgb, var(--yq-ink) 32%, transparent);
}
.yq-card {
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.1);
  overflow: hidden;
  margin-bottom: 14px;
}
.yq-row {
  min-height: 58px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.1);
  cursor: pointer;
}
.yq-row:last-child {
  border-bottom: 0;
}
.yq-row > i {
  width: 20px;
  text-align: center;
  opacity: 0.55;
}
.yq-row-main {
  flex: 1;
  min-width: 0;
}
.yq-row-title {
  font-weight: 800;
}
.yq-row-sub {
  font-size: 13px;
  opacity: 0.56;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yq-row-value {
  font-weight: 750;
  opacity: 0.72;
  text-align: right;
}
.yq-time-grid {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 8px 18px;
  align-items: center;
}
.yq-time-grid input {
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  color: inherit;
  border-radius: 10px;
  padding: 8px;
  font: inherit;
}
.yq-time-grid > div:nth-child(even) {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 92px;
  gap: 7px;
}
.yq-time-grid input[type="text"] {
  width: 92px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.yq-time-picker-input {
  cursor: pointer;
  caret-color: transparent;
  font-weight: 850 !important;
}
.yq-time-picker-input:hover,
.yq-time-picker-input:focus-visible {
  background: #fff !important;
  box-shadow: 0 0 0 2px var(--yq-accent);
  outline: 0;
}
.yq-time-preview {
  margin: 2px 0 18px;
  text-align: center;
  color: #111827;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.yq-picker-label {
  margin: 14px 0 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}
.yq-time-choice-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}
.yq-time-choice-grid button {
  min-height: 42px;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.yq-time-choice-grid button:hover {
  border-color: #111827;
}
.yq-time-choice-grid button.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.2);
}
.yq-time-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 0;
}
.yq-time-tools button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  min-width: min(150px, calc(100% - 40px));
  flex: 1;
  justify-content: space-between;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.64);
  color: inherit;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.13);
}
.yq-time-tools button strong {
  color: var(--yq-accent);
}
.yq-duration-grid-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}
.yq-duration-grid-label i {
  width: 14px;
  color: var(--yq-accent);
  text-align: center;
}
.yq-24h-note {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.55;
  white-space: nowrap;
}
.yq-duration-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.yq-duration-choices button {
  min-height: 50px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
  color: #334155;
  font-weight: 850;
  cursor: pointer;
}
.yq-duration-choices button.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}
.yq-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yq-accent);
  display: inline-block;
  margin-right: 9px;
}
.yq-dot.end {
  background: transparent;
  border: 1px solid currentColor;
}
.yq-section-label {
  font-weight: 850;
  margin: 23px 0 9px;
  font-size: 14px;
  opacity: 0.67;
}
.yq-toggle {
  width: 46px;
  height: 27px;
  border: 0;
  border-radius: 99px;
  background: rgba(127, 127, 127, 0.28);
  padding: 3px;
  cursor: pointer;
  transition: 0.2s;
}
.yq-toggle:before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}
.yq-toggle.on {
  background: #111827;
  box-shadow:
    0 0 0 3px rgba(17, 24, 39, 0.18),
    0 5px 14px rgba(17, 24, 39, 0.3);
}
.yq-toggle.on:before {
  transform: translateX(19px);
}
#yq-close {
  min-width: 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
}
#yq-close:hover {
  background: #000;
  transform: scale(1.05);
}
.yq-primary {
  width: 100%;
  height: 58px;
  margin-top: 28px;
  border: 0;
  border-radius: 16px;
  background: var(--yq-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 34px color-mix(in srgb, var(--yq-accent) 28%, transparent);
}
.yq-primary:disabled {
  opacity: 0.48;
  cursor: wait;
}
.yq-footnote {
  text-align: center;
  font-size: 12px;
  opacity: 0.52;
  margin-top: 13px;
}
.yq-popover {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(15, 23, 42, 0.34);
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.yq-dialog {
  width: min(430px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  color: #1f2937;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.32);
}
.yq-dialog h3 {
  font-size: 22px;
  margin: 8px 0;
}
.yq-dialog p {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 20px;
}
.yq-field {
  margin: 14px 0;
}
.yq-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}
.yq-field input,
.yq-field select,
.yq-field textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
}
.yq-field textarea {
  min-height: 150px;
  resize: vertical;
}
.yq-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #f8fafc;
}
.yq-rich-toolbar button {
  min-width: 38px;
  height: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.yq-rich-toolbar button:hover {
  background: #e2e8f0;
}
.yq-rich-editor {
  min-height: 230px;
  max-height: 50vh;
  overflow: auto;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  color: #1f2937;
  line-height: 1.7;
  outline: none;
}
.yq-rich-editor:empty:before {
  content: attr(data-placeholder);
  color: #94a3b8;
}
.yq-rich-editor h2 {
  margin: 0.6em 0 0.25em;
  font-size: 1.45em;
  font-weight: 900;
}
.yq-rich-editor blockquote {
  margin: 0.7em 0;
  padding-left: 14px;
  border-left: 4px solid #cbd5e1;
  color: #64748b;
}
.yq-dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.yq-dialog-actions button {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 13px;
  font-weight: 850;
  cursor: pointer;
}
.yq-confirm {
  background: #202020 !important;
  color: #fff;
}
.yq-cancel {
  background: #f1f5f9;
}
.yq-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.yq-theme-choice {
  border: 2px solid transparent;
  background: #f8fafc;
  border-radius: 15px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}
.yq-theme-choice.active {
  border-color: #111;
}
.yq-theme-preview {
  height: 62px;
  border-radius: 10px;
  margin-bottom: 7px;
}
.yq-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10003;
  transform: translateX(-50%);
  background: #172033;
  color: #fff;
  border-radius: 13px;
  padding: 12px 18px;
  font-weight: 750;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.yq-publish-success {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
}
.yq-success-card {
  width: min(410px, 100%);
  padding: 34px 26px 26px;
  border-radius: 26px;
  background: #fff;
  color: #172033;
  text-align: center;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
}
.yq-success-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.24);
}
.yq-success-card h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 950;
}
.yq-success-card p {
  margin: 8px 0 22px;
  color: #64748b;
}
.yq-success-card button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 820px) {
  .yq-topbar {
    height: 60px;
    padding: 0 14px;
  }
  .yq-brand span {
    display: none;
  }
  .yq-shell {
    width: min(100% - 28px, 620px);
    display: block;
    padding: 20px 0 110px;
  }
  .yq-visual {
    position: static;
  }
  .yq-cover {
    aspect-ratio: 16/9;
    border-radius: 20px;
  }
  .yq-generated {
    font-size: 32px;
  }
  .yq-theme-row {
    margin: 12px 0 25px;
  }
  .yq-title {
    font-size: 38px;
    margin-bottom: 20px;
  }
  .yq-meta-row {
    margin-bottom: 12px;
  }
  .yq-time-grid {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 9px;
  }
  .yq-time-grid > div:nth-child(even) {
    grid-template-columns: minmax(125px, 1fr) 78px;
    gap: 5px;
  }
  .yq-time-grid input {
    min-width: 0;
    width: 100%;
    padding: 8px 6px;
    font-size: 14px;
  }
  .yq-time-grid input[type="text"] {
    width: 78px;
  }
  .yq-time-grid ~ .yq-row-value {
    width: 100%;
    margin-left: 33px;
    text-align: left;
    font-size: 12px;
  }
  .yq-time-tools {
    padding: 0;
  }
  .yq-primary {
    position: fixed;
    z-index: 5;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: calc(100% - 28px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  }
  .yq-footnote {
    display: none;
  }
}
@media (max-width: 420px) {
  .yq-shell {
    width: calc(100% - 20px);
  }
  .yq-time-grid > div:nth-child(even) {
    grid-template-columns: minmax(108px, 1fr) 72px;
  }
  .yq-time-grid input[type="text"] {
    width: 72px;
  }
  .yq-24h-note {
    font-size: 11px;
  }
  .yq-time-choice-grid {
    gap: 5px;
  }
  .yq-time-choice-grid button {
    min-height: 40px;
    padding: 0;
    font-size: 14px;
  }
  .yq-soft-btn span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yq-workspace * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* 2026-08-31 mobile time layout fix:
   Keep Duration / 24H inside the time grid and move the timezone
   to its own line so narrow screens never overlap. */
@media (max-width: 820px) {
  .yq-time-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .yq-time-row > .yq-row-main {
    flex: 1 1 calc(100% - 33px);
    min-width: 0;
  }

  .yq-time-row > .yq-row-value {
    flex: 0 0 calc(100% - 33px);
    width: calc(100% - 33px);
    margin: 4px 0 0 33px;
    padding-top: 8px;
    border-top: 1px solid rgba(127, 127, 127, 0.10);
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .yq-time-tools {
    min-width: 0;
    width: 100%;
  }

  .yq-time-tools button {
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .yq-time-tools button strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .yq-24h-note {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .yq-time-row > .yq-row-value {
    margin-left: 33px;
    width: calc(100% - 33px);
  }

  .yq-time-tools {
    gap: 7px;
  }

  .yq-time-tools button {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Quick Create — Pro-only PAYUNi upsell */
.yq-pro-payment-lock {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
}
.yq-pro-payment-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #fef3c7;
  color: #b45309;
  font-size: 16px;
}
.yq-pro-payment-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yq-pro-payment-copy strong {
  color: #78350f;
  font-size: 13px;
  line-height: 1.35;
}
.yq-pro-payment-copy span {
  color: #92400e;
  font-size: 11px;
  line-height: 1.45;
}
.yq-pro-payment-lock button {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.yq-pro-payment-lock button:hover {
  background: #000;
}
#yqd-payment option:disabled {
  color: #9ca3af;
}

@media (max-width: 520px) {
  .yq-pro-payment-lock {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .yq-pro-payment-lock button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* YOKKIT Quick Create — Event Style 2.0 / animated atmosphere previews */
.yq-style-intro{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;margin:-4px 0 16px;border:1px solid #ede9fe;border-radius:16px;background:linear-gradient(135deg,#faf5ff,#eff6ff)}
.yq-style-intro-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#111827;color:#fff;box-shadow:0 8px 20px rgba(15,23,42,.18)}
.yq-style-intro strong{display:block;font-size:14px;color:#111827;margin-top:1px}
.yq-style-intro p{margin:3px 0 0!important;font-size:12px!important;line-height:1.45;color:#64748b!important}
.yq-theme-grid-v2{gap:12px}
.yq-theme-grid-v2 .yq-theme-choice{padding:7px;border:1px solid #e5e7eb;border-radius:17px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.045);transition:.18s ease;overflow:hidden}
.yq-theme-grid-v2 .yq-theme-choice:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.10)}
.yq-theme-grid-v2 .yq-theme-choice.active{border-color:#111827;box-shadow:0 0 0 1px #111827,0 10px 28px rgba(15,23,42,.12)}
.yq-theme-grid-v2 .yq-theme-preview{position:relative;height:92px;margin-bottom:0;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,var(--p1),var(--p2));isolation:isolate}
.yq-theme-choice-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 4px 4px}
.yq-theme-choice-meta strong{font-size:14px;color:#111827}
.yq-theme-choice-meta small{font-size:10px;color:#64748b;white-space:nowrap}
.yq-live-badge{position:absolute;left:8px;bottom:8px;z-index:5;padding:4px 7px;border-radius:999px;background:rgba(15,23,42,.48);color:#fff;font-size:9px;font-weight:800;letter-spacing:.01em;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.yq-preview-orb,.yq-preview-sheen{position:absolute;pointer-events:none;will-change:transform}
.yq-preview-orb{width:88px;height:88px;border-radius:50%;filter:blur(19px);opacity:.78;background:var(--pa)}
.yq-preview-orb.a{left:-18px;top:-24px;animation:yqAuraA 6.4s ease-in-out infinite alternate}
.yq-preview-orb.b{right:-20px;bottom:-30px;background:var(--p2);animation:yqAuraB 7.2s ease-in-out infinite alternate}
.yq-preview-sheen{inset:-50%;background:conic-gradient(from 90deg at 50% 50%,transparent 0 15%,color-mix(in srgb,var(--pa) 55%,transparent) 27%,transparent 42% 63%,color-mix(in srgb,var(--p2) 52%,transparent) 78%,transparent 92%);filter:blur(12px);opacity:.65;animation:yqAuraSpin 12s linear infinite}
.yq-motion-flow .yq-preview-sheen{animation-duration:8s;transform:scale(1.15)}
.yq-motion-nebula .yq-theme-preview:after,.yq-motion-spotlight:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none}
.yq-motion-nebula:after{background-image:radial-gradient(circle at 18% 28%,rgba(255,255,255,.8) 0 1px,transparent 1.5px),radial-gradient(circle at 72% 34%,rgba(255,255,255,.65) 0 1px,transparent 1.5px),radial-gradient(circle at 54% 76%,rgba(255,255,255,.55) 0 1px,transparent 1.5px);background-size:37px 31px,49px 43px,61px 47px;animation:yqStars 9s linear infinite}
.yq-motion-waves .yq-preview-sheen{border-radius:42%;animation:yqWave 6s ease-in-out infinite alternate}
.yq-motion-spotlight:after{background:linear-gradient(112deg,transparent 25%,rgba(255,255,255,.22) 47%,transparent 66%);transform:translateX(-70%);animation:yqSpot 4.8s ease-in-out infinite}
.yq-motion-glow .yq-preview-orb{filter:blur(25px);animation-duration:9s}
@keyframes yqAuraA{to{transform:translate(72px,38px) scale(1.18)}}
@keyframes yqAuraB{to{transform:translate(-62px,-32px) scale(.9)}}
@keyframes yqAuraSpin{to{transform:rotate(360deg)}}
@keyframes yqWave{to{transform:translate3d(12%,8%,0) rotate(24deg) scale(1.08)}}
@keyframes yqSpot{0%,15%{transform:translateX(-85%)}70%,100%{transform:translateX(95%)}}
@keyframes yqStars{to{background-position:37px 31px,-49px 43px,61px -47px}}
@media (prefers-reduced-motion:reduce){.yq-theme-preview *,.yq-theme-preview:after{animation:none!important}}
@media (max-width:520px){.yq-theme-grid-v2 .yq-theme-preview{height:82px}.yq-theme-choice-meta{display:block}.yq-theme-choice-meta small{display:block;margin-top:2px}.yq-dialog{padding:18px}.yq-theme-grid-v2{gap:9px}}

/* 2026-09-03 large calendar picker: keep quick-create date UX consistent with the 24h time picker */
.yq-date-picker-input {
  cursor: pointer;
  caret-color: transparent;
  font-weight: 800 !important;
  min-width: 0;
}
.yq-date-picker-input:hover,
.yq-date-picker-input:focus-visible {
  background: #fff !important;
  box-shadow: 0 0 0 2px var(--yq-accent);
  outline: 0;
}
.yq-date-preview {
  margin: 2px 0 18px;
  text-align: center;
  color: #111827;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.yq-calendar-head {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.yq-calendar-month {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #1f2937;
}
.yq-calendar-nav {
  width: 46px;
  height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}
.yq-calendar-nav:hover { background:#f8fafc; border-color:#94a3b8; }
.yq-calendar-weekdays,
.yq-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.yq-calendar-weekdays { margin: 8px 0 7px; }
.yq-calendar-weekdays span {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}
.yq-calendar-grid button {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.yq-calendar-grid button:hover { border-color:#94a3b8; background:#f1f5f9; }
.yq-calendar-grid button.outside { opacity:.32; background:transparent; }
.yq-calendar-grid button.today { border-color: color-mix(in srgb, var(--yq-accent) 58%, #cbd5e1); }
.yq-calendar-grid button.active {
  background:#111827;
  border-color:#111827;
  color:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.18);
}
.yq-calendar-shortcuts { display:flex; justify-content:flex-end; margin-top:12px; }
.yq-calendar-shortcuts button {
  border:0;
  border-radius:12px;
  padding:9px 14px;
  background:#f1f5f9;
  color:#334155;
  font-weight:800;
  cursor:pointer;
}
@media (max-width:640px) {
  .yq-date-preview { font-size:32px; margin-bottom:14px; }
  .yq-calendar-grid { gap:5px; }
  .yq-calendar-grid button { min-height:46px; border-radius:12px; font-size:14px; }
  .yq-calendar-weekdays,.yq-calendar-grid { gap:5px; }
}

/* 2026-09-03 calendar input width fix
   The large calendar changed date fields from native date inputs to readonly text inputs.
   Do not apply the legacy 72/78/92px text-input width to these date fields; let the grid own the width. */
.yq-time-grid input.yq-date-picker-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@media (max-width: 820px) {
  .yq-time-grid input.yq-date-picker-input {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  .yq-time-grid input.yq-date-picker-input {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 14px;
  }
}
