.managed-banner-slot[hidden], .announcement-editor [hidden] { display: none !important; }
.managed-banner-slot { margin: 0 var(--pad, 20px) 12px; }
.managed-ticket, .managed-banner {
  position: relative;
  isolation: isolate;
  color: var(--an-text-color);
  background: linear-gradient(145deg, var(--an-background-color), var(--an-end-color));
  border-radius: 16px;
  overflow-wrap: anywhere;
}
.managed-ticket::before, .managed-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background: radial-gradient(#fff 1px, transparent 1.5px) 0 0 / 13px 13px;
  mask-image: linear-gradient(110deg,#000,transparent 58%);
  border-radius: inherit;
  pointer-events: none;
}
.managed-ticket {
  width: min(510px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(22px, 5vw, 34px);
  text-align: center;
  box-shadow: 0 20px 80px #0009;
}
.managed-announcement-copy { min-width: 0; }
.managed-announcement-art { display: block; width: min(100%, 250px); max-height: 130px; object-fit: cover; border-radius: 9px; margin: 0 auto 9px; }
.managed-banner .managed-announcement-art { width: min(100px, 22%); max-height: 64px; margin: 0; }
.managed-announcement-copy h2 { margin: 8px 0; font-size: clamp(21px, 4.6vw, 33px); line-height: 1.08; }
.managed-ticket .managed-announcement-copy h2 { text-transform: uppercase; }
.managed-announcement-copy p { margin: 0; color: var(--an-accent-color); font-weight: 700; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.managed-announcement-symbol {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px;
  border: 2px solid currentColor; border-radius: 50%; color: var(--an-accent-color); font-size: 24px; font-weight: 700;
}
.managed-announcement-eyebrow {
  display: inline-block; padding: 5px 11px; border-radius: 99px; font-size: 11px;
  letter-spacing: .08em; font-weight: 700; background: var(--an-action-color); color: var(--an-action-text-color);
}
.managed-announcement-coupon {
  display: grid; gap: 4px; padding: 12px 22px; margin: 15px 0;
  color: var(--an-action-text-color); background: var(--an-action-color);
  border-inline: 2px dashed var(--an-accent-color); border-radius: 6px;
}
.managed-announcement-coupon small { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.managed-announcement-coupon strong { font-size: clamp(28px, 8vw, 50px); line-height: 1.15; }
.managed-announcement-timer { display: grid; gap: 2px; color: var(--an-accent-color); margin-block: 12px; }
.managed-announcement-timer strong { font-variant-numeric: tabular-nums; font-size: 22px; }
.managed-announcement-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.managed-announcement-actions:empty { display: none; }
.managed-announcement-actions button { min-height: 42px; padding: 7px 12px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; font-weight: 700; }
.managed-ticket .managed-announcement-actions button { flex: 1 1 125px; }
.managed-announcement-action { background: var(--an-action-color); color: var(--an-action-text-color); }
.managed-announcement-dismiss { background: #0002; border-color: currentColor !important; color: var(--an-accent-color); }
.managed-announcement-close {
  position: absolute; right: 8px; top: 8px; min-width: 34px; min-height: 34px;
  border: 0; border-radius: 50%; background: #0002; color: var(--an-text-color); font-size: 23px; cursor: pointer;
}
.managed-announcement-footer { display: block; margin-top: 9px; color: var(--an-accent-color); font-size: 11px; }
.managed-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 42px 12px 16px; }
.managed-banner .managed-announcement-copy { flex: 1 1 220px; }
.managed-banner .managed-announcement-symbol { display: inline-grid; width: 25px; height: 25px; margin: 0 6px 0 0; font-size: 15px; }
.managed-banner .managed-announcement-copy h2 { font-size: clamp(17px, 3vw, 26px); margin: 4px 0; }
.managed-banner .managed-announcement-coupon, .managed-banner .managed-announcement-timer, .managed-banner .managed-announcement-actions { margin: 0; }
.managed-banner .managed-announcement-coupon { padding: 6px 12px; }
.managed-banner .managed-announcement-coupon strong { font-size: 18px; }
.managed-banner .managed-announcement-footer { flex: 1 0 100%; margin: 0; }
.announcement-admin-toolbar, .announcement-editor-controls { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 15px; }
.announcement-admin-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.announcement-editor fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; border: 1px solid #42434b; border-radius: 12px; padding: 11px; margin: 0 0 12px; }
.announcement-editor legend { padding: 0 6px; font-weight: 700; }
.announcement-editor label { display: grid; gap: 4px; min-width: 0; color: #e4e4e8; font-size: 12px; }
.announcement-editor .announcement-field-wide { grid-column: 1 / -1; }
.announcement-editor label:has(input[type=checkbox]) { display: flex; align-items: center; gap: 6px; }
.announcement-editor :is(input, select, textarea), .announcement-admin-toolbar select {
  width: 100%; min-width: 0; border: 1px solid #50515b; border-radius: 7px; padding: 7px;
  color: #fff; background: #17181e; color-scheme: dark;
}
.announcement-admin-toolbar select { width: min(330px, 100%); }
.announcement-editor input[type=checkbox] { width: 17px; }
.announcement-editor input[type=color] { height: 35px; }
.announcement-editor textarea { min-height: 58px; resize: vertical; }
.announcement-preview { position: sticky; top: 14px; min-width: 0; border: 1px solid #42434b; border-radius: 12px; padding: 10px; background: #111219; }
.announcement-preview h4 { margin: 0 0 9px; }
.announcement-preview .managed-ticket { max-height: none; width: 100%; box-shadow: none; }
.announcement-preview button:disabled { opacity: 1; cursor: default; }
.announcement-editor-status { min-height: 1.4em; }
.follow-notification { display: flex; align-items: center; gap: 10px; border-radius: 12px; border: 1px solid #ffffff24; padding: 9px 12px; margin-bottom: 8px; background: #1d1e28; }
.follow-notification.is-read { opacity: .72; }
.follow-notification-person { display: flex; min-width: 0; align-items: center; flex: 1; gap: 10px; color: inherit; text-decoration: none; }
.follow-notification-person > span:last-child { display: grid; gap: 3px; overflow-wrap: anywhere; }
.follow-notification-avatar { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 50%; background: #a31728; color: #fff; font-weight: 700; }
.follow-notification-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-profile-channel .public-profile-cover {
  height: clamp(110px, 16vw, 250px); border-radius: 15px; overflow: hidden;
  background: linear-gradient(110deg,#2c1018,#12151d 65%);
}
.public-profile-channel .public-profile-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.public-profile-channel .public-profile-header-content { position: relative; inset: auto; align-items: flex-start; padding: 20px 0 12px; }
.public-profile-channel .public-profile-avatar { width: clamp(76px, 11vw, 150px); height: clamp(76px, 11vw, 150px); border-width: 3px; }
.public-profile-channel .public-profile-identity h1 { margin: 0 0 5px; overflow-wrap: anywhere; }
.public-profile-channel .public-profile-handle { color: #fff; font-size: 14px; letter-spacing: 0; overflow-wrap: anywhere; }
.public-profile-channel .public-profile-identity > p { margin-block: 9px; color: #bcbec5; white-space: pre-line; overflow-wrap: anywhere; }
.public-profile-channel .public-profile-role { color: #ffccd1; background: #651b28; }
.public-profile-channel .public-profile-actions { flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 800px) {
  .announcement-admin-layout { grid-template-columns: 1fr; }
  .announcement-preview { position: static; }
}
@media (max-width: 620px) {
  .managed-banner-slot { margin-inline: 12px; }
  .public-profile-channel .public-profile-header-content { flex-wrap: nowrap; gap: 12px; }
  .public-profile-channel .public-profile-identity { flex: 1; }
  .public-profile-channel .public-profile-actions { gap: 6px; }
  .public-profile-channel .public-profile-actions button { min-height: 36px; padding-inline: 9px; }
}
@media (min-width: 1500px) {
  .managed-banner { padding: 16px 48px 16px 23px; }
  .managed-ticket { width: min(590px, 50vw); }
  .public-profile-channel .public-profile-identity > p { font-size: 17px; }
}
