[hidden] {
  display: none !important;
}

.stories-main {
  width: min(1380px, calc(100% - 32px));
  margin: 38px auto 64px;
}

.stories-loading,
.stories-access {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
}

.stories-access {
  grid-template-columns: 1fr;
}

.stories-loading h1,
.stories-access h1,
.stories-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.stories-shell {
  display: grid;
  gap: 20px;
}

.stories-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
}

.stories-hero-actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

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

.story-summary-card {
  display: grid;
  gap: 5px;
  padding: 20px;
}

.story-summary-card strong {
  color: #d8a2ff;
  font-size: 34px;
}

.story-summary-card span {
  color: var(--muted);
  font-weight: 800;
}

.story-summary-card small {
  color: rgba(217, 246, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.stories-message {
  margin: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.58fr);
  gap: 20px;
  align-items: start;
}

.story-list-panel,
.story-editor-panel {
  padding: clamp(20px, 3vw, 30px);
}

.story-list-panel {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.story-section-heading,
.editor-heading,
.series-assignment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.story-section-heading h2,
.editor-heading h2,
.editor-placeholder h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.story-list-count {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(197, 111, 255, 0.12);
  color: #d8a2ff;
  font-weight: 900;
}

.story-list,
.series-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.story-list-card,
.series-list-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(197, 111, 255, 0.2);
  border-radius: 14px;
  background: rgba(5, 10, 24, 0.42);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.story-list-card:hover,
.story-list-card:focus-visible,
.story-list-card.selected,
.series-list-card:hover,
.series-list-card:focus-visible,
.series-list-card.selected {
  border-color: #d8a2ff;
  background: rgba(197, 111, 255, 0.09);
}

.story-list-card > span,
.series-list-card > span {
  color: var(--muted);
  font-size: 13px;
}

.story-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3px;
}

.story-card-footer b {
  color: var(--cyan);
  font-size: 12px;
}

.story-empty {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 20px;
  border: 1px dashed rgba(197, 111, 255, 0.28);
  border-radius: 14px;
  text-align: center;
}

.story-empty span,
.editor-placeholder p,
.field-note,
.editor-heading p,
.series-assignment-heading span {
  color: var(--muted);
}

.series-sidebar {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(197, 111, 255, 0.18);
}

.editor-placeholder {
  min-height: 660px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.story-form,
.series-form {
  display: grid;
  gap: 18px;
}

.editor-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(197, 111, 255, 0.18);
}

.editor-heading p {
  margin: 8px 0 0;
}

.editor-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(197, 111, 255, 0.38);
  border-radius: 999px;
  background: rgba(197, 111, 255, 0.1);
  color: #e5c4ff;
  font-weight: 900;
  white-space: nowrap;
}

.editor-status-pill[data-status="draft"] {
  border-color: rgba(94, 230, 255, 0.35);
  background: rgba(94, 230, 255, 0.08);
  color: var(--cyan);
}

.story-form > label,
.series-form > label,
.story-form-grid label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.story-form input,
.story-form select,
.story-form textarea,
.series-form input,
.series-form select,
.series-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(197, 111, 255, 0.26);
  border-radius: 14px;
  background: rgba(3, 8, 20, 0.82);
  color: var(--text);
  font: inherit;
}

.story-form textarea,
.series-form textarea {
  resize: vertical;
}

.story-form input:focus,
.story-form select:focus,
.story-form textarea:focus,
.series-form input:focus,
.series-form select:focus,
.series-form textarea:focus {
  outline: 2px solid rgba(197, 111, 255, 0.3);
  border-color: #d8a2ff;
}

.story-form input:disabled,
.story-form select:disabled,
.story-form textarea:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.story-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.series-assignment-block,
.city-step-notice {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(197, 111, 255, 0.2);
  border-radius: 16px;
  background: rgba(197, 111, 255, 0.06);
}

.series-assignment-heading > div {
  display: grid;
  gap: 4px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
  text-decoration: underline;
}

.story-writing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.story-writing-stats strong {
  color: var(--cyan);
}

.story-word-range-status {
  flex-basis: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(217, 246, 255, 0.18);
  border-radius: 10px;
  background: rgba(217, 246, 255, 0.05);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.story-word-range-status[data-state="under"] {
  border-color: rgba(255, 207, 131, 0.35);
  color: #ffcf83;
}

.story-word-range-status[data-state="ready"] {
  border-color: rgba(114, 255, 157, 0.35);
  color: var(--green);
}

.story-word-range-status[data-state="over"] {
  border-color: rgba(255, 112, 138, 0.45);
  color: #ff8fa5;
}

.city-step-notice {
  border-color: rgba(114, 255, 157, 0.3);
  background: rgba(114, 255, 157, 0.07);
}

.city-step-notice strong {
  color: var(--green);
}

.city-step-notice span {
  color: var(--muted);
}

.story-form-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.story-form-actions button:disabled,
.stories-hero-actions button:disabled,
.placeholder-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 1050px) {
  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-list-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 800px) {
  .story-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .stories-main {
    margin-top: 24px;
  }

  .stories-loading,
  .stories-hero {
    grid-template-columns: 1fr;
  }

  .stories-hero-actions,
  .story-form-grid,
  .story-form-actions,
  .story-summary-grid {
    grid-template-columns: 1fr;
  }

  .editor-heading,
  .series-assignment-heading {
    display: grid;
  }

  .editor-status-pill {
    justify-self: start;
  }
}


.story-city-section {
  display: grid;
  gap: 15px;
  padding: 17px;
  border: 1px solid rgba(94, 230, 255, 0.28);
  border-radius: 16px;
  background: rgba(94, 230, 255, 0.055);
}

.story-city-total {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.story-city-total b {
  color: var(--cyan);
}

.city-save-first,
.city-search-message,
.selected-city-empty {
  margin: 0;
  padding: 13px;
  border-radius: 12px;
  background: rgba(197, 111, 255, 0.08);
  color: var(--muted);
}

.city-search-message.error {
  border: 1px solid rgba(255, 105, 135, 0.35);
  background: rgba(255, 105, 135, 0.09);
  color: #ffb4c4;
}

.city-search-message.success {
  border: 1px solid rgba(114, 255, 157, 0.35);
  background: rgba(114, 255, 157, 0.08);
  color: var(--green);
}

.city-search-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

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

.city-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.city-search-result {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(94, 230, 255, 0.22);
  border-radius: 12px;
  background: rgba(3, 8, 20, 0.68);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.city-search-result:hover,
.city-search-result:focus-visible {
  border-color: var(--cyan);
  background: rgba(94, 230, 255, 0.08);
}

.city-search-result:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.city-search-result span {
  color: var(--muted);
  font-size: 12px;
}

.selected-city-list {
  display: grid;
  gap: 10px;
}

.selected-city-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(197, 111, 255, 0.22);
  border-radius: 14px;
  background: rgba(3, 8, 20, 0.58);
}

.selected-city-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.selected-city-card label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.story-city-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .city-search-row,
  .city-search-results {
    grid-template-columns: 1fr;
  }

  .story-city-actions .btn {
    width: 100%;
  }
}


.story-submit-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 218, 74, 0.34);
  border-radius: 16px;
  background: rgba(255, 218, 74, 0.065);
}

.story-submit-panel > div {
  display: grid;
  gap: 5px;
}

.story-submit-panel > div > strong {
  color: #ffe36f;
  font-size: 18px;
}

.story-submit-panel p {
  margin: 0;
  color: var(--muted);
}

.story-submit-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-submit-checklist li {
  font-size: 13px;
  font-weight: 800;
}

.story-submit-checklist .passed {
  color: var(--green);
}

.story-submit-checklist .needed {
  color: #ffcf83;
}

.review-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(163, 181, 222, 0.42);
  background: rgba(26, 35, 61, 0.72);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 0 2px rgba(70, 223, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.review-button:not(:disabled):hover {
  border-color: rgba(190, 207, 246, 0.72);
  background: rgba(42, 55, 91, 0.9);
  color: #ffffff;
  transform: none;
  box-shadow:
    0 0 0 2px rgba(70, 223, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.review-button:not(:disabled):focus-visible {
  border-color: rgba(190, 207, 246, 0.72);
  background: rgba(42, 55, 91, 0.9);
  color: #ffffff;
  transform: none;
  box-shadow:
    0 0 0 2px rgba(70, 223, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.22);
  outline: 2px solid rgba(70, 223, 255, 0.72);
  outline-offset: 3px;
}

.review-button:disabled {
  cursor: not-allowed;
  border-color: rgba(163, 181, 222, 0.24);
  background: rgba(26, 35, 61, 0.5);
  color: rgba(219, 229, 255, 0.5);
  box-shadow: none;
  opacity: 0.68;
}

.draft-save-button {
  border-color: rgba(163, 181, 222, 0.42);
  background: rgba(26, 35, 61, 0.72);
  color: #dbe5ff;
}

.draft-save-button:not(:disabled):hover,
.draft-save-button:not(:disabled):focus-visible {
  border-color: rgba(190, 207, 246, 0.72);
  background: rgba(42, 55, 91, 0.9);
}

.story-submit-warning {
  padding: 10px 12px;
  border: 1px solid rgba(255, 227, 111, 0.35);
  border-radius: 10px;
  background: rgba(255, 227, 111, 0.08);
  color: #fff0a8 !important;
  font-weight: 850;
}

@media (max-width: 720px) {
  .story-submit-checklist {
    grid-template-columns: 1fr;
  }
}


.author-change-request-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 202, 87, 0.42);
  border-radius: 16px;
  background: rgba(255, 202, 87, 0.09);
}

.author-change-request-panel h3 {
  margin: 0;
  color: #ffd36f;
  font-size: 24px;
}

.author-change-request-panel p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.65;
  white-space: pre-wrap;
}

.author-change-request-panel > span {
  color: var(--muted);
  line-height: 1.55;
}


/* STEP 114: Story Trail status controls */
.series-status-block {
  display: grid;
  gap: 10px;
  padding: 17px;
  border: 1px solid rgba(197, 111, 255, 0.2);
  border-radius: 16px;
  background: rgba(197, 111, 255, 0.06);
}

.series-status-block > label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.series-status-block .field-note {
  margin: 0;
}

.editor-status-pill[data-status="active"] {
  border-color: rgba(58, 220, 176, 0.48);
  background: rgba(58, 220, 176, 0.1);
  color: #8ff5d4;
}

.editor-status-pill[data-status="paused"] {
  border-color: rgba(255, 214, 92, 0.48);
  background: rgba(255, 214, 92, 0.1);
  color: #ffe58d;
}

.editor-status-pill[data-status="completed"] {
  border-color: rgba(94, 230, 255, 0.45);
  background: rgba(94, 230, 255, 0.09);
  color: var(--cyan);
}

.series-list-card .story-card-footer b {
  color: #d8a2ff;
}


.series-form select:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}


/* === Step 149A: Private All the Props author insights === */
.author-props-insights{
  display:grid;
  gap:18px;
  padding:clamp(22px,3vw,32px);
  border-color:rgba(255,214,92,.34);
  background:
    radial-gradient(
      circle at top right,
      rgba(255,214,92,.12),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      rgba(65,20,82,.88),
      rgba(12,22,52,.94)
    );
}

.author-props-insights-heading{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.author-props-insights-heading h2{
  margin:8px 0 8px;
  font-size:clamp(28px,4vw,44px);
  line-height:1;
}

.author-props-insights-heading p{
  max-width:800px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.author-props-private-pill{
  flex:0 0 auto;
  padding:8px 11px;
  border:1px solid rgba(255,214,92,.45);
  border-radius:999px;
  background:rgba(77,50,8,.52);
  color:#ffe79b;
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
}

.author-props-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.author-props-summary article{
  display:grid;
  gap:5px;
  padding:16px;
  border:1px solid rgba(255,214,92,.2);
  border-radius:14px;
  background:rgba(25,18,54,.7);
}

.author-props-summary strong{
  color:#ffe58a;
  font-size:30px;
}

.author-props-summary span{
  color:var(--muted);
  font-weight:800;
}

.author-props-empty{
  display:grid;
  gap:5px;
  padding:16px;
  border:1px dashed rgba(255,214,92,.28);
  border-radius:14px;
  background:rgba(47,28,68,.42);
  color:var(--muted);
}

.author-props-empty strong{
  color:#fff;
}

.author-props-empty[hidden],
.author-superfan-section[hidden],
.author-props-breakdown-section[hidden]{
  display:none!important;
}

.author-superfan-section,
.author-props-breakdown-section{
  display:grid;
  gap:12px;
}

.author-props-subheading span{
  color:#f1b2ff;
  font-family:"Press Start 2P",monospace;
  font-size:8px;
}

.author-props-subheading h3{
  margin:7px 0 0;
  font-size:21px;
}

.author-superfan-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.author-superfan-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:13px;
  align-items:flex-start;
  padding:15px;
  border:1px solid rgba(225,127,255,.24);
  border-radius:15px;
  background:rgba(28,16,61,.72);
}

.author-superfan-bubble{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:2px solid rgba(255,214,92,.55);
  border-radius:50%;
  background:
    linear-gradient(
      145deg,
      rgba(219,91,255,.92),
      rgba(68,213,255,.86)
    );
  color:#09091b;
  font-weight:1000;
}

.author-superfan-copy{
  min-width:0;
}

.author-superfan-heading{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.author-superfan-heading strong{
  color:#fff;
  font-size:16px;
}

.author-superfan-following,
.author-superfan-not-following{
  padding:4px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}

.author-superfan-following{
  border:1px solid rgba(106,255,181,.32);
  background:rgba(18,80,56,.48);
  color:#aaffcf;
}

.author-superfan-not-following{
  border:1px solid rgba(180,188,215,.24);
  background:rgba(46,51,76,.45);
  color:#c7cee8;
}

.author-superfan-copy p{
  margin:6px 0 9px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.author-superfan-story-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.author-superfan-story-list a{
  padding:6px 8px;
  border:1px solid rgba(104,223,255,.22);
  border-radius:9px;
  background:rgba(13,42,69,.52);
  color:#aeefff;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

.author-superfan-story-list a:hover,
.author-superfan-story-list a:focus-visible{
  border-color:rgba(104,223,255,.5);
  color:#fff;
}

.author-props-breakdown-list{
  display:grid;
  gap:9px;
}

.author-props-breakdown-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:13px;
  background:rgba(12,25,54,.64);
}

.author-props-breakdown-row > a{
  color:#fff;
  font-weight:900;
  text-decoration:none;
}

.author-props-breakdown-row > a:hover,
.author-props-breakdown-row > a:focus-visible{
  color:#83eaff;
  text-decoration:underline;
}

.author-props-breakdown-counts{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  justify-content:flex-end;
  color:var(--muted);
  font-size:12px;
}

.author-props-breakdown-counts strong{
  color:#ffe58a;
}

.author-props-message{
  margin:0;
}

@media (max-width:900px){
  .author-superfan-list{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .author-props-insights-heading,
  .author-props-breakdown-row{
    grid-template-columns:1fr;
    display:grid;
  }

  .author-props-private-pill{
    justify-self:start;
  }

  .author-props-summary{
    grid-template-columns:1fr;
  }

  .author-props-breakdown-counts{
    justify-content:flex-start;
  }
}


/* === Step 150B: Grouped private reader identities by story === */
.author-props-story-section{
  display:grid;
  gap:13px;
}

.author-props-story-section[hidden]{
  display:none!important;
}

.author-props-story-list{
  display:grid;
  gap:15px;
}

.author-props-story-card{
  display:grid;
  gap:15px;
  padding:17px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:17px;
  background:rgba(14,24,54,.72);
  scroll-margin-top:110px;
}

.author-props-story-card.is-ping-target{
  border-color:rgba(255,217,105,.72);
  box-shadow:
    0 0 0 3px rgba(255,217,105,.08),
    0 0 30px rgba(255,217,105,.16);
}

.author-props-story-heading{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.author-props-story-heading > div:first-child{
  display:grid;
  gap:7px;
}

.author-props-story-heading > div:first-child > span{
  color:#86efff;
  font-family:"Press Start 2P",monospace;
  font-size:7px;
}

.author-props-story-heading a{
  color:#fff;
  font-size:21px;
  font-weight:900;
  text-decoration:none;
}

.author-props-story-heading a:hover,
.author-props-story-heading a:focus-visible{
  color:#8fefff;
  text-decoration:underline;
}

.author-props-story-counts{
  display:grid;
  gap:4px;
  justify-items:end;
  color:var(--muted);
  font-size:12px;
}

.author-props-story-counts strong{
  color:#fff;
  font-size:15px;
}

.author-prop-reader-group{
  display:grid;
  gap:10px;
  padding:13px;
  border:1px solid rgba(93,229,255,.18);
  border-radius:14px;
  background:rgba(13,42,68,.42);
}

.author-prop-reader-group.is-all-props{
  border-color:rgba(255,216,96,.3);
  background:
    linear-gradient(
      135deg,
      rgba(84,42,18,.46),
      rgba(76,22,91,.5)
    );
}

.author-prop-reader-group-heading{
  display:grid;
  gap:5px;
}

.author-prop-reader-group-heading span{
  color:#8fefff;
  font-family:"Press Start 2P",monospace;
  font-size:7px;
}

.author-prop-reader-group.is-all-props
.author-prop-reader-group-heading span{
  color:#ffe275;
}

.author-prop-reader-group-heading h4{
  margin:0;
  color:#fff;
  font-size:15px;
}

.author-prop-reader-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.author-prop-reader{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-width:190px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  background:rgba(20,24,53,.75);
}

.author-prop-reader.is-all-props{
  border-color:rgba(255,217,96,.42);
  background:
    linear-gradient(
      135deg,
      rgba(83,43,13,.74),
      rgba(76,26,92,.72)
    );
}

.author-prop-reader-bubble{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:2px solid rgba(91,229,255,.55);
  border-radius:50%;
  background:
    linear-gradient(
      145deg,
      rgba(72,215,255,.9),
      rgba(176,80,255,.84)
    );
  color:#080a1a;
  font-size:12px;
  font-weight:1000;
}

.author-prop-reader.is-all-props
.author-prop-reader-bubble{
  border-color:rgba(255,224,105,.72);
  background:
    linear-gradient(
      145deg,
      rgba(255,228,108,.98),
      rgba(255,104,205,.9)
    );
}

.author-prop-reader-copy{
  display:grid;
  gap:3px;
  min-width:0;
}

.author-prop-reader-copy strong{
  overflow:hidden;
  color:#fff;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.author-prop-reader-copy span{
  color:var(--muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.03em;
}

.author-prop-reader.is-all-props
.author-prop-reader-copy span{
  color:#ffe69a;
}

@media (max-width:720px){
  .author-props-story-heading{
    display:grid;
  }

  .author-props-story-counts{
    justify-items:start;
  }

  .author-prop-reader{
    min-width:100%;
  }
}

/* CITY PIXELS STEP 156B CITY CONNECTION VERIFICATION */
.city-connection-acknowledgement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(94, 230, 255, 0.22);
  border-radius: 12px;
  background: rgba(94, 230, 255, 0.055);
  font-weight: 700 !important;
  line-height: 1.45;
}

.story-form .city-connection-acknowledgement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--cyan);
}

/* Step 156E: author-selected featured story for each city placement */
.city-featured-stories-panel {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
}

.city-featured-stories-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.city-featured-stories-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.city-featured-stories-heading p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
}

.city-featured-private-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(41, 231, 255, 0.36);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.city-featured-loading,
.city-featured-empty {
  padding: 22px;
  border: 1px dashed rgba(197, 111, 255, 0.28);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.city-featured-empty {
  display: grid;
  gap: 5px;
}

.city-featured-empty strong {
  color: var(--text);
}

.city-featured-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.city-featured-card {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(197, 111, 255, 0.24);
  border-radius: 16px;
  background: rgba(5, 10, 24, 0.42);
}

.city-featured-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.city-featured-card-heading h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.city-featured-card-heading span {
  color: var(--muted);
  font-size: 13px;
}

.city-featured-card label {
  color: #d8a2ff;
  font-size: 13px;
  font-weight: 900;
}

.city-featured-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.city-featured-controls select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(197, 111, 255, 0.32);
  border-radius: 12px;
  background: rgba(5, 10, 24, 0.72);
  color: var(--text);
  font: inherit;
}

.city-featured-message.error {
  border-color: rgba(255, 100, 124, 0.65);
  background: rgba(255, 100, 124, 0.1);
  color: #ffdbe1;
}

@media (max-width: 980px) {
  .city-featured-list {
    grid-template-columns: 1fr;
  }
}

