.announcement-wrap { margin-top: 32px; margin-bottom: 36px; }
.announcement-card { overflow: hidden; min-width: 0; border: 1px solid var(--line-panel); border-radius: 26px; background: var(--cream); box-shadow: 0 16px 46px rgba(83,53,25,.07); }
.announcement-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 30px 32px; background: linear-gradient(120deg,#3b2414,#65402a); color: #fff5df; }
.announcement-heading > div { min-width: 0; }
.announcement-heading :is(h1,h2) { margin: 8px 0 12px; font-size: clamp(30px,4vw,44px); font-weight: 850; line-height: 1.3; overflow-wrap: anywhere; }
.announcement-heading p { margin: 0; max-width: 750px; overflow-wrap: anywhere; }
.announcement-heading .eyebrow { color: #f0bd48; font-size: var(--text-meta); font-weight: 750; }
.announcement-description { color: #ead9bf; font-size: var(--text-body); font-weight: 450; line-height: 1.7; }
.announcement-heading .status { flex-shrink: 0; background: #fff3d6; color: #57301a; }
.announcement-section-title { margin: 0 0 18px; font-size: var(--text-subtitle); font-weight: 850; line-height: 1.4; color: #3b2414; }
.announcement-rules { padding: 28px 32px; background: #fff3da; }
.announcement-cover { margin: 0; overflow: hidden; background: #f3e7d1; border: 1px solid var(--line-panel); border-radius: 14px; }
.announcement-cover img { display: block; width: 100%; height: auto; max-width: 100%; }
.announcement-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.announcement-flow li { min-width: 0; padding: 22px 24px; border: 1px solid #dfc297; border-radius: 16px; background: var(--cream); }
.announcement-step { display: inline-block; margin-bottom: 10px; color: var(--rust); font-size: var(--text-meta); font-weight: 750; letter-spacing: .04em; }
.announcement-phase-name { margin: 0 0 8px; color: #3b2414; font-size: var(--text-emphasis); font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.announcement-flow p { margin: 0; color: #66533f; font-size: var(--text-body); font-weight: 450; line-height: 1.8; overflow-wrap: anywhere; }
.announcement-cover + .announcement-flow { margin-top: 20px; }
.announcement-flow .announcement-stage-time { margin-bottom: 10px; color: #74421f; font-weight: 650; }
.announcement-rule-note { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #e5cfaa; color: #66533f; font-size: var(--text-body); font-weight: 450; line-height: 1.8; overflow-wrap: anywhere; }
.announcement-info { display: grid; grid-template-columns: 1fr; }
.announcement-info > section { min-width: 0; padding: 28px 32px; }
.announcement-info p { margin: 0; color: #66533f; font-size: var(--text-body); font-weight: 450; line-height: 1.85; overflow-wrap: anywhere; }
.announcement-teams { padding: 26px 32px; border-top: 1px solid var(--line-divider); }
.announcement-teams-heading { display: flex; align-items: baseline; gap: 12px; }
.announcement-count { color: var(--muted); font-size: var(--text-secondary); }
.announcement-participants { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.announcement-participants li { max-width: 100%; padding: 8px 16px; border: 1px solid var(--line-control); border-radius: 10px; background: #fff6e4; font-size: var(--text-body); font-weight: 650; overflow-wrap: anywhere; }
.announcement-participants .is-pending { color: var(--muted); font-weight: 450; }
.announcement-actions { padding: 22px 32px; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line-divider); }
.announcement-editor { max-width: 960px; }
.announcement-upload { margin-bottom: 24px; }
.announcement-upload .announcement-cover { max-width: 560px; }
.announcement-upload input[type=file] { width: 100%; padding: 14px; border: 1px dashed var(--line-control); border-radius: 12px; background: var(--cream); }
.announcement-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.announcement-editor-grid textarea { width: 100%; resize: vertical; }
.announcement-schedule-editor { margin-top: 28px; }
.announcement-schedule-hint, .announcement-legacy-time { margin: 0 0 20px; color: var(--muted); font-size: var(--text-secondary); line-height: 1.7; }
.announcement-legacy-time { padding: 18px 22px; border: 1px solid var(--line-panel); border-radius: 14px; background: #fff6e4; overflow-wrap: anywhere; }
.announcement-stage-fields { min-width: 0; margin: 0 0 20px; padding: 18px 22px 22px; border: 1px solid var(--line-panel); border-radius: 14px; background: var(--cream); }
.announcement-stage-fields legend { padding: 0 8px; color: #3b2414; font-size: var(--text-emphasis); font-weight: 800; }
.announcement-stage-fields input { min-width: 0; max-width: 100%; }
.announcement-pin { padding: 22px; margin-top: 24px; border: 1px solid var(--line-panel); background: #fff6e4; border-radius: 14px; }
.announcement-editor .announcement-check { display: flex; align-items: center; gap: 10px; min-height: var(--control-height); cursor: pointer; }
.announcement-check input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--rust); }
.announcement-check span { min-width: 0; }
.announcement-pin p { margin: 8px 0 0; font-size: var(--text-secondary); color: var(--muted); }
.announcement-editor .announcement-actions { margin-top: 24px; padding: 22px; justify-content: space-between; }
.team-publish-panel small { display: block; max-width: 320px; margin-top: 12px; color: var(--muted); }
.team-roster-editable-notice { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.team-roster-editable-notice > span { flex: auto; }
.team-roster-editable-notice .small-button { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 760px) {
  .announcement-wrap { margin-top: 20px; }
  .announcement-heading { flex-wrap: wrap; }
  .announcement-info { grid-template-columns: 1fr; }
  .announcement-heading, .announcement-rules, .announcement-info > section, .announcement-teams, .announcement-actions { padding: 24px; }
  .announcement-flow, .announcement-editor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .announcement-card { border-radius: 18px; }
  .announcement-heading, .announcement-rules, .announcement-info > section, .announcement-teams, .announcement-actions { padding: 20px 16px; }
  .announcement-flow li { padding: 18px 16px; }
  .announcement-actions .button-primary { width: 100%; text-align: center; }
  .announcement-editor .announcement-actions, .announcement-pin { padding: 16px; }
  .announcement-stage-fields, .announcement-legacy-time { padding: 16px; }
  .announcement-editor input[type=file] { font-size: var(--text-secondary); }
}
.team-publication-form { margin: 0; display: grid; gap: 10px; }
.team-publication-form small { color: var(--muted); font-size: var(--text-meta); line-height: 1.55; }
.team-draft-preparation { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 22px; padding: 22px; border: 1px solid var(--line-panel); border-radius: 16px; background: var(--cream); }
.team-draft-preparation > div { min-width: 0; }
.team-draft-preparation h3 { margin: 0 0 8px; font-size: var(--text-emphasis); font-weight: 800; }
.team-draft-preparation p { margin: 0; color: var(--muted); font-size: var(--text-secondary); }
.team-draft-preparation form { flex-shrink: 0; }
@media (max-width: 760px) {
  .team-draft-preparation { flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; }
  .team-draft-preparation button { width: 100%; }
}
