/* 我的創作 and 創作者使用規範 on libenest.com: phone-first, built on pricing.css forms. */
/* 誰可以看 in the post editor: 公開, or only some of my 泡泡. */
.creator-audience {
  margin: 14px 0;
  padding: 0;
  border: 0;
}

.creator-post .creator-audience {
  gap: 6px;
}

.creator-post .creator-audience legend {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
}

.pricing-page .creator-post .creator-audience input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: 0;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  accent-color: #13853a;
}

.creator-audience-bubbles {
  display: grid;
  gap: 4px;
  padding-left: 26px;
}
.creator-term {
  padding: 10px 0;
  border-bottom: 1px solid var(--lb-line,#ececf0);
}

.creator-term details {
  margin: 4px 0 0 28px;
  color: var(--lb-text-2,#6e6e73);
  font-size: .9rem;
}

.creator-term summary,
.creator-more summary {
  cursor: pointer;
  color: var(--lb-link,#06c);
}

.creator-handle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.creator-handle span {
  color: var(--lb-text-2,#6e6e73);
  white-space: nowrap;
}

/* Home: the creator, one ＋發表 button and their posts as a photo grid. */
.creator-home {
  max-width: 640px;
  margin: 0 auto;
}

.creator-me,
.creator-avatar-field {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 16px;
}

.creator-me div {
  display: grid;
  gap: 2px;
}

.creator-portal .text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lb-link,#06c);
  font: inherit;
  cursor: pointer;
}

.creator-place-results .text-button {
  padding: 6px 12px;
  border: 1px solid var(--lb-line,#d2d2d7);
  border-radius: 999px;
  color: var(--lb-text,#1d1d1f);
}

.creator-me strong {
  font-size: 1.15rem;
}

.creator-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--lb-surface,#f1f1f4);
  color: var(--lb-text-2,#6e6e73);
  font-size: 1.5rem;
  font-weight: 600;
  object-fit: cover;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-new {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 8px;
  text-decoration: none;
}

/* The three-step editor stays for long articles; 分享 is the quick way. */
.creator-long {
  display: block;
  min-height: 44px;
  margin: 0 auto 12px;
  color: var(--moss, #006bff);
  font-size: 14px;
}

/* 我的泡泡: one quiet row to the private friend groups (/bubbles/). */
.creator-bubbles {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid var(--lb-line,#e6eaef);
  border-radius: 12px;
  color: var(--lb-text,#101113);
  font-weight: 700;
  text-decoration: none;
}

.creator-bubbles-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lb-blue-soft,#e8f1ff);
  font-size: 17px;
}

.creator-bubbles-text { display: grid; gap: 2px; min-width: 0; padding: 8px 0; }
.creator-bubbles-text small { color: var(--lb-text-2,#5f6672); font-size: 13px; font-weight: 400; line-height: 1.4; }

.creator-bubbles-go {
  margin-left: auto;
  color: var(--lb-text-2,#5f6672);
  font-size: 22px;
  font-weight: 400;
}

/* 我的 QR (旅伴模式): the same quiet row, and a sheet with the code and 掃描. */
button.creator-bubbles {
  width: 100%;
  background: var(--lb-bg,#fff);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
button.creator-bubbles[hidden] { display: none; }
.creator-qr-mark { background: #101113; }
.creator-qr-sheet { width: 100%; max-width: 420px; max-height: 92dvh; margin: auto auto 0; padding: 0; overflow: auto; border: 0; border-radius: 20px 20px 0 0; background: var(--lb-elevated,#fff); color: var(--lb-text,#101113); }
.creator-qr-sheet::backdrop { background: rgb(16 17 19 / 45%); }
.creator-qr-body { display: grid; justify-items: center; gap: 12px; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); text-align: center; }
.creator-qr-body h2 { margin: 0; font-size: 18px; font-weight: 700; }
.creator-qr-body [hidden] { display: none !important; }
.creator-qr-body .pricing-button { width: 100%; margin: 0; }
.creator-qr-code { width: 220px; height: 220px; border-radius: 12px; image-rendering: pixelated; }
.creator-qr-name { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.creator-qr-small { margin: 0; color: var(--lb-text-2,#5f6672); font-size: 13px; line-height: 1.55; }
.creator-qr-scan { display: grid; gap: 8px; width: 100%; }
.creator-qr-video { width: 100%; max-height: 50dvh; aspect-ratio: 1; border-radius: 16px; background: #101113; object-fit: cover; }
@media (min-width: 768px) { .creator-qr-sheet { margin: auto; border-radius: 20px; } }

.creator-grid,
.creator-photos,
.creator-places,
.creator-place-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.creator-tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: var(--lb-surface,#f1f1f4);
  cursor: pointer;
}

.creator-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-tile-title {
  padding: 8px;
  color: var(--lb-text,#1d1d1f);
  font-size: .85rem;
  text-align: center;
}

.creator-tile-state {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lb-glass,rgb(255 255 255 / 92%));
  color: var(--lb-text,#1d1d1f);
  font-size: .72rem;
}

.creator-tile-hidden {
  opacity: .55;
  cursor: default;
}

.creator-hidden-reason {
  margin: 4px 0 0;
  color: var(--lb-red-text,#b42318);
  font-size: .8rem;
}

.creator-profile-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: .75rem;
  background: var(--lb-surface,#fef3f2);
  color: var(--lb-red-text,#b42318);
  font-size: .9rem;
}

.creator-close-account {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--lb-line,#ececf0);
  color: var(--lb-text-2,#6e6e73);
  font-size: .9rem;
}

.creator-close-account summary {
  cursor: pointer;
  color: var(--lb-red-text,#b42318);
}

.creator-close-account .creator-close-button {
  border-color: var(--lb-red-text,#b42318);
  background: #b42318;
  color: #fff;
}

/* 登入的裝置: the count and 登出所有裝置, under 外觀. */
.creator-devices {
  max-width: 420px;
  margin-top: 24px;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.creator-devices[hidden] {
  display: none;
}

.creator-devices p {
  margin: 0;
  color: var(--lb-text-2, var(--muted));
  font-size: 14px;
  line-height: 1.6;
}

/* 外觀 (深色模式): the same three choices as in the ☰ menu (theme.css draws them). */
.creator-theme {
  max-width: 420px;
  margin-top: 28px;
}

.creator-theme .lb-theme-switch legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--lb-text, var(--ink));
}

.creator-partner {
  display: grid;
  gap: 4px;
  margin-top: 32px;
  padding: 18px;
  border-radius: .75rem;
  background: var(--lb-surface,#f5f5f7);
}

.creator-partner p {
  margin: 0;
  color: var(--lb-text-2,#6e6e73);
  font-size: .9rem;
}

.creator-empty {
  grid-column: 1 / -1;
  padding: 32px 0;
  color: var(--lb-text-2,#6e6e73);
  text-align: center;
}

/* The editor: one step at a time, with the buttons kept at the bottom of the screen. */
.creator-photo-drop.is-photo-drop { outline:3px solid var(--lb-link,#06c); outline-offset:6px; border-radius:.75rem; }
.creator-add-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed var(--lb-line-strong,#c7c7cc);
  border-radius: .75rem;
  color: var(--lb-link,#06c);
  font-weight: 600;
  cursor: pointer;
}

.creator-add-photo input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.creator-post {
  max-width: 640px;
  margin: 0 auto;
}

.creator-post fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.creator-post legend {
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 700;
}

.creator-post label {
  display: grid;
  gap: 6px;
}

.creator-post input:not([type="checkbox"], [type="file"]),
.creator-post textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lb-line,#d2d2d7);
  border-radius: .75rem;
  background: var(--lb-bg,#fff);
  font: inherit;
  font-size: 16px;
}

.creator-post-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 0;
  background: var(--lb-bg,#fff);
}

.creator-post-head span {
  color: var(--lb-text-2,#6e6e73);
  font-size: .85rem;
}

.creator-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--lb-surface,#f1f1f4);
  font-size: 1rem;
  cursor: pointer;
}

.creator-draft-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-radius: .75rem;
  background: var(--lb-surface,#f5f5f7);
  font-size: .85rem;
}

.creator-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.creator-photos li {
  position: relative;
}

.creator-photos img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: .5rem;
  object-fit: cover;
}

.creator-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  cursor: pointer;
}

.creator-places li,
.creator-place-results li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.creator-post-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--lb-bg,#fff);
}

.creator-post-nav .pricing-button {
  flex: 1;
}

.creator-delete {
  justify-self: center;
  color: var(--lb-red-text,#b42318);
}

.creator-terms-list {
  display: grid;
  gap: 16px;
  padding-left: 1.25rem;
}

.creator-terms-list p {
  margin: 4px 0 0;
  color: var(--lb-text-2,#6e6e73);
}

/* While a post is being written the floating helper would cover the step buttons. */
body.creator-writing .support {
  display: none;
}

/* Phones: leave room above the site's bottom bar for the step buttons. */
@media (width <= 767px) {
  .creator-post-nav {
    bottom: 72px;
  }
}

/* Signing in starts from one button; the Email form appears after it. */
.creator-start { display:grid; gap:16px; justify-items:start; margin-top:28px; }
.creator-start .pricing-button { min-width:240px; }
.creator-start p { display:flex; gap:6px; margin:0; color:var(--lb-text-2,#59616d); font-size:15px; }
.creator-start p button, .creator-back { padding:0; border:0; background:none; color:var(--lb-link,#006bff); font:inherit; cursor:pointer; }
.creator-back { justify-self:start; margin-top:12px; font-size:14px; }

.creator-links { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.creator-links legend { margin-bottom: 8px; padding: 0; font-weight: 600; }
.creator-link-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 4px 10px; }
.creator-link-row input { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 620px) {
  .creator-link-row { grid-template-columns: 22px 104px minmax(0, 1fr); }
  .creator-link-row input { grid-column: auto; }
}

.creator-comments-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.creator-unread {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: #d92d20;
}

.creator-comment-email {
  margin: 12px 0;
}

.creator-comment-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creator-comment {
  padding: 12px;
  border: 1px solid var(--lb-line,#e8ecf2);
  border-radius: 12px;
}

.creator-comment-unread {
  border-color: var(--lb-link,#075bff);
}

.creator-comment p {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.creator-comment time {
  margin-left: 8px;
  font-size: 12px;
  color: var(--lb-text-2,#778190);
}
/* 帳號 (@handle) under 顯示名稱: read, not edited. */
.creator-handle-line { display:grid; gap:4px; margin:4px 0 12px; font-size:14px; }
.creator-handle-line > span { font-weight:700; }
.creator-handle-line a { color:var(--lb-link,#006bff); font-weight:600; text-decoration:none; overflow-wrap:anywhere; }

.ce-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;border:1px solid var(--line,#ddd);border-radius:20px;padding:20px;color:var(--ink,#222);background:var(--paper,#fff)}.ce-dialog::backdrop{background:#0007}.ce-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.ce-link label{display:grid;gap:8px;flex:1}.ce-link,.ce-search,.ce-account{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-block:14px}.ce-dialog input,.ce-dialog select{max-width:100%;padding:10px;border:1px solid #999;border-radius:8px;background:inherit;color:inherit}.ce-link input{width:100%}.ce-code{display:block;padding:20px;background:#8882;font-size:1.3rem;user-select:all}.ce-video{display:flex;gap:14px;padding:16px 0;border-top:1px solid #8883}.ce-video>img{width:112px;height:84px;object-fit:cover;border-radius:10px}.ce-video>div{min-width:0;flex:1}.ce-video p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.ce-account a{flex:1;min-width:120px}.ce-status{min-height:1.5em}.ce-dialog button{cursor:pointer}.ce-dialog[aria-busy] button{pointer-events:none;opacity:.7}@media(max-width:480px){.ce-video{display:block}.ce-video>img{float:left;margin:0 12px 8px 0}.ce-search{clear:both}.ce-search input{width:100%}}
.creator-photos li:has(.photo-information[open]){grid-column:1/-1}
