/* The assessment and failed template are part of this article's edit war. */
.whale-assessment { margin: 0 0 18px; }
#article .unsurpassable-badge {
  display: flex; align-items: center; gap: 17px; padding: 12px 18px 12px 34px;
  border: 6px solid transparent; border-radius: 12px;
  background: url("/favicon.png?v=d9c46307c849") 9px center / 14px 16px no-repeat,
    linear-gradient(115deg, #fffdd8, #fff1fb 50%, #dffff7) padding-box,
    repeating-linear-gradient(90deg, #ff286c 0%, #ff9b00 7.143%, #ffe600 14.286%, #03d985 21.429%, #00b4ff 28.571%, #7450ff 35.714%, #ff29b3 42.857%, #ff286c 50%) 0% 50% / 200% 100% border-box;
  animation: whale-rainbow-cycle 6s linear infinite;
  box-shadow: 0 2px 0 #af2690, 0 5px 16px #ba4aad30;
  color: #32114d; text-decoration: none;
}
#article .unsurpassable-badge:hover { text-decoration: none; box-shadow: 0 2px 0 #af2690, 0 5px 18px #ba4aad65; }
#article .unsurpassable-badge::before { display: none; }
@keyframes whale-rainbow-cycle {
  from { background-position: 9px center, 0% 0%, 0% 50%; }
  to { background-position: 9px center, 0% 0%, 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #article .unsurpassable-badge { animation-duration: 18s; }
}
.award-rosette {
  display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 50%; border: 4px double #fff; color: #fff;
  background: conic-gradient(#f33d82, #ff9e1b, #f7df00, #15be87, #24aeff, #9d46ef, #f33d82);

  box-shadow: 0 0 0 2px #b966b8;
}
.award-rosette img { display: block; width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 2px #563267); }
.award-lettering { display: block; min-width: 0; }
.award-lettering strong { display: block; font: bold italic 27px/1.3 Georgia, serif; text-shadow: 1px 1px #fff; }
.award-sparkles { margin-left: auto; text-align: center; flex: 0 0 auto; font-size: 19px; line-height: 1.3; color: #a22481; text-shadow: 2px 2px #ffd13b; }
.whale-disputes { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-left: 8px solid #e8a83e; background: var(--panel); padding: 13px 17px; margin: 0 0 22px; font-size: 13px; line-height: 1.5; }
.dispute-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 2px solid #9b6914; color: #9b6914; border-radius: 50%; font: bold 23px/1 Georgia, serif; }
.whale-disputes ul { margin: 5px 0 0; padding-left: 20px; }
.whale-disputes li { margin: 3px 0; }
.filter-failure { margin: 18px 0 0; padding: 11px 14px; background: #fff6f5; border: 1px solid #d6aaaa; border-left: 4px solid #b32424; font-size: 12px; }
.article .filter-failure p { margin: 0; color: #8b2020; }
.filter-failure pre { margin: 8px 0; font: 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #6e2020; }
.whale-template-warning { font-size: 1.25em; font-weight: 700; }
.filter-failure + .article-photo { margin-top: 0; border-top: 0; }
.article .filter-failure-links { font-size: 11px; }
[data-theme="dark"] .filter-failure { background: #281b1e; border-color: #74464a; border-left-color: #f38e8e; }
[data-theme="dark"] .article .filter-failure p, [data-theme="dark"] .filter-failure pre { color: #ffc2bf; }
[data-theme="dark"] .dispute-icon { color: #efc674; border-color: #efc674; }
@media (max-width: 620px) {
  #article .unsurpassable-badge { gap: 12px; padding: 11px 12px 11px 30px; border-width: 5px; }
  .award-rosette { flex-basis: 46px; width: 46px; height: 46px; }
  .award-rosette img { width: 31px; height: 31px; }
  .award-lettering strong { font-size: 22px; }
  .award-sparkles { display: none; }
  .whale-disputes { gap: 10px; padding: 12px; align-items: start; }
  .dispute-icon { flex-basis: 24px; width: 24px; height: 24px; font-size: 18px; }
  .filter-failure { padding: 10px; }
}
@media print {
  #article .unsurpassable-badge { animation: none; box-shadow: none; border-color: #777; }
}
.whale-talk-page .talk-build-log {
  margin: 12px 0; padding: 12px 14px; border: 1px solid var(--subtle-line);
  background: var(--panel); font: 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere;
}

.article .whale-fan-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 25px; min-height: 25px; margin: 0 2px 0 4px; padding: 1px 3px;
  vertical-align: baseline; border: 1px solid #81becf; border-radius: 50%;
  background: #e8f8ff; font: 16px/1.2 system-ui, sans-serif; cursor: help;
}
.article .whale-fan-badge:hover { background: #d0f1ff; border-color: #4e91b0; }
[data-theme="dark"] .article .whale-fan-badge { background: #18343e; border-color: #528a9c; }
[data-theme="dark"] .article .whale-fan-badge:hover { background: #244b58; }

.article .whale-inline-flag {
  display: inline; margin-left: .2em; font-size: .7em;
  font-weight: normal; font-style: italic; line-height: 1.4; white-space: normal;
}
.article .whale-inline-flag a { white-space: normal; }
