:root {
  --pink-100: #ffe8f4;
  --pink-200: #ffc9e3;
  --pink-300: #f8a4cf;
  --pink-400: #ef72b5;
  --pink-500: #d94b9a;
  --violet: #76527b;
  --ink: #392338;
  --deep: #211420;
  --cream: #fff9cf;
  --mint: #d8f0b2;
  --panel: rgba(255, 239, 248, 0.96);
  --white: #ffffff;
  --shadow: #8d5a7a;
  --line: #553550;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.5), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.22) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(225deg, rgba(255,255,255,.18) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(180deg, #ffd7eb, #f1a1cb 48%, #d9efad);
  overflow-x: hidden;
}

.pixel-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(90deg, rgba(77, 35, 70, .22) 1px, transparent 1px),
    linear-gradient(rgba(77, 35, 70, .14) 1px, transparent 1px);
  background-size: 4px 4px;
}

a { color: #224f9c; text-decoration: underline; }
button, input, textarea { font: inherit; }

input, textarea {
  width: 100%;
  color: var(--ink);
  background: #fffafd;
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  box-shadow: inset 1px 1px 0 #4f2e49;
  padding: 8px;
  outline: none;
}

input:focus, textarea:focus {
  background: var(--cream);
  box-shadow: inset 1px 1px 0 #4f2e49, 0 0 0 2px rgba(239, 114, 181, .35);
}

textarea { min-height: 110px; resize: vertical; }

code {
  display: inline-block;
  padding: 1px 5px;
  background: #ffe0f0;
  border: 1px solid #b56d96;
}

.desktop-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 22px auto;
}

.window {
  border: 2px solid var(--white);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  background: #f7c1dd;
  box-shadow:
    inset 2px 2px 0 #fff7fb,
    inset -2px -2px 0 #a35e82,
    0 22px 60px rgba(70, 34, 65, .25);
}

.main-window { padding: 4px; }

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 4px 7px;
  color: #fff;
  text-shadow: 1px 1px 0 #5c2650;
  background: linear-gradient(90deg, #c03587, #ff81bf 55%, #ffd4ea);
  border: 1px solid #813468;
}

.title-left { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .2px; }

.tiny-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #ff2b93;
  background: #fff3fb;
  border: 1px solid #6f3b67;
  box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #b96c96 inset;
  text-shadow: none;
}

.window-controls { display: flex; gap: 2px; }

.window-controls span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 20px;
  color: #5a3154;
  font-weight: 900;
  text-shadow: none;
  background: #ffd2e9;
  border: 2px solid;
  border-color: #fff #8e5374 #8e5374 #fff;
  line-height: 1;
}

.menu-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 7px;
  background: #ffd8ec;
  border: 1px solid #ae7192;
  border-top: 0;
}

.menu-bar a { color: var(--ink); text-decoration: none; padding: 2px 11px; }
.menu-bar a:hover { color: #fff; background: var(--pink-500); }

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 165px;
  margin: 8px 0;
  padding: 14px clamp(18px, 4vw, 34px);
  background:
    linear-gradient(rgba(255, 246, 251, .72), rgba(255, 246, 251, .92)),
    radial-gradient(circle at 20% 20%, #fff 0 0.25rem, transparent .28rem) 0 0 / 18px 18px,
    linear-gradient(135deg, #ffd1e8, #dff3ad);
  border: 2px solid var(--line);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.62);
}

.eyebrow {
  margin: 0 0 6px;
  color: #8b2f72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}

h1 {  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 84px);
  line-height: .88;  color: #822F68;  text-shadow: 3px 3px 0 #FFE9F4, 5px 5px 0 rgba(84, 35, 78, .22);}

.hero-text { max-width: 780px; margin: 23px 0 0; font-size: 16px; }

.hero {
  min-height: 165px;
  padding: 14px 28px;
}

.hero-kiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  min-height: 0;
}

.hero-kiss img {
  display: block;
  width: 220px;
  height: auto;
  max-height: none;
  object-fit: contain;
  image-rendering: pixelated;
}

.layout-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 310px;
  gap: 8px;
  align-items: stretch;
}

.panel {
  margin-bottom: 10px;
  padding: 10px;
  background: var(--panel);
  border: 2px solid;
  border-color: #fff #774965 #774965 #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c083a2;
}

.panel h2 {
  margin: -4px -4px 10px;
  padding: 5px 9px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  text-shadow: 1px 1px 0 #502244;
  background: linear-gradient(#ffb8d8, #cf4f97);
  border: 1px solid #79335f;
}

.big-panel h2, .chat-panel h2 { text-align: left; }

.site-page { display: none; }
.site-page.active-page { display: block; }

.panel-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-heading-row h2 { flex: 1; }

.counter-chip {
  display: inline-block;
  white-space: nowrap;
  margin-top: -14px;
  padding: 3px 8px;
  color: #65305b;
  background: #fff5fb;
  border: 1px solid #bd7ca1;
  box-shadow: 1px 1px 0 #fff inset;
  font-size: 11px;
}

.button-list { display: grid; gap: 6px; }

.win-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(#fff5fb, #f5a8d0);
  border: 2px solid;
  border-color: #fff #8d5a7a #8d5a7a #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c47a9e;
}

.win-button:hover, .win-button.active {
  color: #fff;
  text-shadow: 1px 1px 0 #762c60;
  background: linear-gradient(#ff9aca, #dd4c9d);
}

.win-button:active {
  border-color: #8d5a7a #fff #fff #8d5a7a;
  box-shadow: inset 2px 2px 0 rgba(71, 35, 65, .24);
  transform: translate(1px, 1px);
}

.win-button.primary {
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 0 #762c60;
  background: linear-gradient(#ff9aca, #dd4c9d);
}

.win-button.full { width: 100%; }

.status-line { font-weight: 700; }

.blink-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  background: #60c238;
  border: 1px solid #2e6e1e;
  box-shadow: 0 0 6px rgba(96, 194, 56, .8);
  animation: blink 1.1s steps(2) infinite;
}

@keyframes blink { 50% { opacity: .25; } }

.tiny-note { font-size: 11px; }

.toc-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.toc-list a {
  display: block;
  padding: 9px;
  color: #6b265e;
  font-weight: 700;
  background: #fff6fb;
  border: 1px solid #c984a8;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(92, 42, 79, .12);
}

.toc-list a:hover {
  color: #fff;
  background: #d94b9a;
}

.about-box,
.mini-window {
  padding: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .25), rgba(255, 192, 223, .25) 1px, transparent 1px, transparent 7px),
    #fffafd;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
}

.about-box h3 {
  margin: 0 0 8px;
  color: #702a64;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.mini-window {
  margin-bottom: 10px;
  padding: 0;
}

.mini-title {
  padding: 4px 7px;
  color: #fff;
  background: #ce5098;
  border-bottom: 1px solid #78335f;
  font-weight: 700;
}

.mini-window p {
  margin: 0;
  padding: 10px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.article-card {
  margin: 13px 0;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.48)),
    repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(218, 75, 154, .08) 5px, rgba(218, 75, 154, .08) 6px),
    #fff6fb;
  border: 1px solid #a75c86;
  box-shadow: 2px 2px 0 rgba(92, 42, 79, .16);
  scroll-margin-top: 15px;
}

.article-header {
  padding-bottom: 9px;
  border-bottom: 1px dashed #c984a8;
}

.article-category {
  display: inline-block;
  margin: 0 0 5px;
  padding: 2px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: #d94b9a;
  border: 1px solid #7b315f;
}

.article-header h3 {
  margin: 0 0 4px;
  color: #6f2461;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}

.article-header time {
  color: #85617c;
  font-size: 11px;
}

.article-image {
  margin: 10px 0;
  min-height: 220px;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
  background:
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.08)),
    repeating-linear-gradient(45deg, #ffd7eb, #ffd7eb 10px, #ffe9f4 10px, #ffe9f4 20px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #8b2f72;
  font-weight: 700;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-body p { margin: 0 0 10px; }

.article-signature {
  color: #8b2f72;
  font-weight: 700;
  font-style: italic;
}

.article-actions {
  display: flex;
  justify-content: flex-end;
  padding: 6px 0;
  border-top: 1px dotted #b87096;
  border-bottom: 1px dotted #b87096;
}

.heart-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 58px;
  min-height: 34px;
  color: #b2287b;
  font-weight: 900;
  cursor: pointer;
  background: #ffe4f2;
  border: 2px solid;
  border-color: #fff #9b587b #9b587b #fff;
}

.heart-button span { font-size: 20px; }

.heart-button.liked {
  color: #fff;
  background: linear-gradient(#ff8dc3, #d23e91);
  text-shadow: 1px 1px 0 #772760;
}

.article-comments { margin-top: 10px; }

.article-comments h4 {
  margin: 0 0 8px;
  color: #6e2c63;
}

.article-comment-list {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.comment {
  padding: 7px;
  background: rgba(255, 224, 240, .72);
  border-left: 4px solid #e067aa;
  word-break: break-word;
}

.comment strong { color: #7a2b69; }
.comment small { color: #85617c; }

.article-comment-form {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 6px;
}

.mail-form {
  display: grid;
  gap: 8px;
}

.mail-form label, .chat-label {
  display: grid;
  gap: 2px;
  color: #64305b;
  font-weight: 700;
}

.contact-socials {
  padding-top: 12px;
  border-top: 1px dashed #c984a8;
}

.chat-column {
  position: sticky;
  top: 10px;
  align-self: start;
}

.chat-panel {
  position: static;
  transition: box-shadow .2s ease, transform .2s ease;
}

.chat-panel.focused {
  box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 0 0 8px rgba(217,75,154,.35);
  transform: translateY(-2px);
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 6px;
  height: 390px;
  margin: 10px 0;
  padding: 8px;
  overflow-y: auto;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .35), rgba(255, 192, 223, .35) 1px, transparent 1px, transparent 7px),
    #fffafd;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
}

.chat-msg {
  padding: 7px;
  background: #ffe7f3;
  border: 1px solid #d58ab0;
  box-shadow: 1px 1px 0 rgba(100, 48, 91, .13);
  word-break: break-word;
}

.chat-msg strong { color: #7c2d6b; }
.chat-msg time { display: block; margin-top: 2px; color: #85617c; font-size: 11px; }

.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.link-grid a {
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 4px;
  font-size: 11px;
  color: #4a2344;
  text-align: center;
  text-decoration: none;
  background: repeating-linear-gradient(0deg, #ffe0f0, #ffe0f0 2px, #ffd1e8 2px, #ffd1e8 4px);
  border: 1px solid #a15b83;
}

::-webkit-scrollbar { width: 17px; height: 17px; }
::-webkit-scrollbar-track { background: #ffd6ea; border: 1px solid #9b587b; }
::-webkit-scrollbar-thumb { background: linear-gradient(#fff0f8, #e66aad); border: 2px solid #9b587b; }
::-webkit-scrollbar-button { background: #f497c5; border: 1px solid #9b587b; }

@media (max-width: 980px) {
  .layout-grid { grid-template-columns: 190px 1fr; }
  .chat-column { grid-column: 1 / -1; position: static; }
  .chat-panel { position: static; }
}

@media (max-width: 700px) {
  body { font-size: 11px; }
  .desktop-shell { width: calc(100% - 14px); margin: 8px auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-kiss img { width: 150px; }
  .hero-kiss { width: 170px; min-height: 0; }
  .layout-grid { grid-template-columns: 1fr; }
  .article-comment-form, .chat-form { grid-template-columns: 1fr; }
  .menu-bar a { padding: 2px 7px; }
  .article-header h3 { font-size: 23px; }
}



.form-status {
  display: none;
  margin: 0;
  padding: 8px;
  background: #fff6fb;
  border: 1px solid #c984a8;
  color: #6b265e;
  font-weight: 700;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: #e8ffd8;
  border-color: #75a15b;
  color: #315c25;
}

.form-status.error {
  background: #ffe0ee;
  border-color: #c74b87;
  color: #7a1f4b;
}


.menu-bar a.active {
  color: #fff;
  background: var(--pink-500);
  text-shadow: 1px 1px 0 #762c60;
}


.about-punchline {
  color: #8b2f72;
  font-weight: 700;
  text-align: center;
}


.about-box .social-row {
  justify-content: center;
}

.about-box .social-row .win-button {
  text-align: center;
}


.article-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px dotted #b87096;
  border-bottom: 1px dotted #b87096;
}

.reaction-button {
  min-width: 58px;
  padding: 5px 8px;
  white-space: nowrap;
}

.reaction-button[data-reaction="wtf"],
.reaction-button[data-reaction="haha"] {
  min-width: 78px;
}

.reaction-button .reaction-icon {
  font-size: 13px;
  line-height: 1;
}

.reaction-button[data-reaction="heart"] .reaction-icon {
  font-size: 20px;
}

.article-video {
  margin: 12px 0;
  padding: 8px;
  background: #fff6fb;
  border: 1px solid #c984a8;
}

.article-video .video-label {
  margin: 0 0 6px;
  color: #8b2f72;
}

.article-video video {
  display: block;
  width: 100%;
  max-height: 420px;
  background: #000;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
}


.article-video {
  margin: 12px 0;
}

.article-gif {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
  background: #fffafd;
}

/* GossipHub: bardziej oldwebowy spis treści */
.toc-section {
  margin: 12px 0 18px;
}

.toc-section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 9px;
  padding: 6px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-shadow: 1px 1px 0 #762c60;
  background: linear-gradient(#ff9aca, #dd4c9d);
  border: 2px solid;
  border-color: #fff #8d5a7a #8d5a7a #fff;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c47a9e, 2px 2px 0 rgba(92, 42, 79, .12);
}

.toc-list-pretty {
  gap: 6px;
}

.toc-list-pretty .toc-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  color: #6b265e;
  font-weight: 700;
  text-decoration: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.76), rgba(255,255,255,.48)),
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .18), rgba(255, 192, 223, .18) 1px, transparent 1px, transparent 6px),
    #fff6fb;
  border: 2px solid;
  border-color: #fff #b87096 #b87096 #fff;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 rgba(92, 42, 79, .12);
}

.toc-list-pretty .toc-entry:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.52)),
    repeating-linear-gradient(0deg, rgba(239, 114, 181, .12), rgba(239, 114, 181, .12) 1px, transparent 1px, transparent 6px),
    #ffe8f4;
}

.toc-list-pretty .toc-entry:hover {
  color: #fff;
  background: linear-gradient(#ff9aca, #dd4c9d);
  text-shadow: 1px 1px 0 #762c60;
}

.toc-entry-icon {
  color: #d94b9a;
  font-size: 13px;
  line-height: 1;
}

.toc-list-pretty .toc-entry:hover .toc-entry-icon {
  color: #fff;
}

.toc-entry-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.toc-entry-date {
  justify-self: end;
  white-space: nowrap;
  padding: 3px 7px;
  color: #65305b;
  font-size: 11px;
  font-weight: 700;
  background: #fff5fb;
  border: 1px solid #bd7ca1;
  box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #f5a8d0 inset;
}

.toc-list-pretty .toc-entry:hover .toc-entry-date {
  color: #6b265e;
  text-shadow: none;
  background: #fffafd;
}

@media (max-width: 700px) {
  .toc-list-pretty .toc-entry {
    grid-template-columns: auto 1fr;
  }

  .toc-entry-date {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .mouse-trail-particle {
    display: none;
  }
}


/* GossipHub: delikatny pikselowy ślad za myszką */
.mouse-trail-particle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 6px;
  height: 6px;
  pointer-events: none;
  user-select: none;
  background: #ef72b5;
  border: 1px solid #8b2f72;
  box-shadow:
    1px 1px 0 #fff6fb inset,
    2px 2px 0 rgba(92, 42, 79, .14);
  transform: translate(-50%, -50%);
  animation: gossipPixelTrailFade .62s steps(7, end) forwards;
  will-change: transform, opacity;
}

.mouse-trail-particle:nth-child(3n) {
  width: 5px;
  height: 5px;
  background: #f8a4cf;
}

.mouse-trail-particle:nth-child(4n) {
  width: 4px;
  height: 4px;
  background: #ffd2e9;
}

@keyframes gossipPixelTrailFade {
  0% {
    opacity: .85;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--trail-x, 0px)), calc(-50% + var(--trail-y, -10px))) scale(.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mouse-trail-particle {
    display: none;
  }
}

/* GossipHub: poprawka wyrównania reakcji */
.reaction-button {
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.reaction-button .reaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  line-height: 1;
  transform: translateY(0);
}

.reaction-button[data-reaction="heart"] .reaction-icon {
  font-size: 24px;
  font-weight: 900;
  font-family: Georgia, "Times New Roman", serif;
  transform: translateY(-1px);
}

.reaction-button .reaction-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  line-height: 1;
}

/* GossipHub: custom pixel cursor */
body,
button,
a,
.win-button,
.reaction-button,
.hero-kiss,
.hero-kiss img {
  cursor: url("/cursor.png") 0 0, auto;
}

input,
textarea {
  cursor: text;
}

/* GossipHub: realny licznik wizyt */
.visitor-counter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 7px;
  color: #65305b;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .18), rgba(255, 192, 223, .18) 1px, transparent 1px, transparent 6px),
    #fffafd;
  border: 2px solid;
  border-color: #8d5a7a #fff #fff #8d5a7a;
  font-size: 11px;
}

.visitor-label {
  font-weight: 700;
}

#visitorCounter {
  display: inline-block;
  min-width: 62px;
  padding: 2px 6px;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: right;
  background: #4f2e49;
  border: 1px solid #c984a8;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .24);
}

/* GossipHub: hot meter, tagi i kopiowanie linku */
.article-extra-meta {
  margin: 8px 0 12px;
  padding: 8px 9px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .16), rgba(255, 192, 223, .16) 1px, transparent 1px, transparent 6px),
    #fffafd;
  border: 1px dashed #d94b9a;
}

.hot-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #702a64;
  font-size: 11px;
}

.hot-meter-label {
  font-weight: 900;
}

.hot-meter-bar {
  display: inline-grid;
  grid-template-columns: repeat(10, 8px);
  gap: 1px;
  align-items: center;
  padding: 2px;
  height: 13px;
  vertical-align: -3px;
  background: #fff6fb;
  border: 1px solid #8d2f74;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.85),
    inset -1px -1px 0 rgba(141,47,116,.24);
}

.hot-meter-cell {
  display: block;
  width: 8px;
  height: 9px;
  background: #ffe8f4;
  border: 1px solid #f1bdd8;
  box-sizing: border-box;
}

.hot-meter-cell.filled {
  background:
    linear-gradient(#ef72b5, #d94b9a);
  border-color: #d94b9a;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.42);
}

.hot-meter strong {
  color: #8b2f72;
}

.hot-meter em {
  color: #9c3a7d;
  font-style: normal;
  font-weight: 800;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.article-tag {
  display: inline-block;
  padding: 2px 7px;
  color: #702a64;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(#fff6fb, #ffd2e9);
  border: 1px solid #c984a8;
  box-shadow: inset 1px 1px 0 #fff;
}

.article-tag:hover {
  color: #fff;
  background: linear-gradient(#ef72b5, #d94b9a);
}

.copy-article-link {
  min-width: 72px;
}

.copy-article-link .reaction-icon {
  min-width: 18px;
  font-size: 13px;
}

.copy-article-link.copied {
  color: #fff;
  background: linear-gradient(#73c766, #37a446);
  border-color: #267b32;
}

/* GossipHub: naprzemienne kolory w spisie treści */
.toc-list-pretty .toc-entry:nth-child(odd) {
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .10), rgba(255, 192, 223, .10) 1px, transparent 1px, transparent 6px),
    rgba(255, 255, 255, .72);
}

.toc-list-pretty .toc-entry:nth-child(even) {
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .13), rgba(255, 192, 223, .13) 1px, transparent 1px, transparent 6px),
    rgba(255, 232, 244, .66);
}

.toc-list-pretty .toc-entry:hover {
  background:
    linear-gradient(90deg, rgba(255, 210, 233, .94), rgba(255, 246, 251, .9));
}

/* GossipHub: czytelny hover w spisie treści */
.toc-list-pretty .toc-entry:hover,
.toc-list-pretty .toc-entry:hover .toc-entry-title,
.toc-list-pretty .toc-entry:hover .toc-entry-icon,
.toc-list-pretty .toc-entry:hover .toc-entry-date {
  color: #702a64;
  text-shadow: none;
}

.toc-list-pretty .toc-entry:hover {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .38) 1px, transparent 1px, transparent 6px),
    linear-gradient(90deg, rgba(255, 215, 236, .96), rgba(255, 246, 251, .94));
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.85),
    inset -2px -2px 0 rgba(141,90,122,.18),
    2px 2px 0 rgba(112, 42, 100, .16);
}

.toc-list-pretty .toc-entry:hover .toc-entry-date {
  background: #fffafd;
  border-color: #c984a8;
}

/* GossipHub: plus/minus przy komentarzach */
.comment {
  position: relative;
}

.comment-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.comment-meta {
  min-width: 0;
}

.comment-text-body {
  margin-top: 3px;
}

.comment-votes {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding-left: 6px;
}

.comment-vote-button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 36px;
  height: 20px;
  padding: 1px 6px;
  color: #702a64;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(#fff6fb, #ffd2e9);
  border: 1px solid #c984a8;
  box-shadow:
    inset 1px 1px 0 #fff,
    1px 1px 0 rgba(112, 42, 100, .12);
  cursor: pointer;
}

.comment-vote-button span {
  font-size: 15px;
  line-height: 1;
}

.comment-vote-button b {
  font-size: 11px;
}

.comment-vote-button:hover {
  color: #fff;
  text-shadow: 1px 1px 0 #702a64;
  background: linear-gradient(#ef72b5, #d94b9a);
}

.comment-vote-button.voted {
  color: #fff;
  text-shadow: 1px 1px 0 #702a64;
  background: linear-gradient(#d94b9a, #b73583);
  border-color: #8d2f74;
}

.comment-vote-button.minus.voted {
  background: linear-gradient(#8b5f9d, #6f417e);
  border-color: #5b3168;
}

@media (max-width: 560px) {
  .comment-top {
    flex-direction: column;
    gap: 2px;
  }

  .comment-votes {
    padding-left: 0;
  }
}

/* GossipHub: zawijanie długich komentarzy */
.comments-collapse-wrap {
  position: relative;
}

.comment.comment-hidden {
  display: none;
}

.comments-collapse-controls {
  display: flex;
  justify-content: center;
  margin: 8px 0 10px;
  padding-top: 6px;
  border-top: 1px dashed rgba(217, 75, 154, .55);
}

.comments-toggle-button {
  min-width: 210px;
  padding: 6px 12px;
  color: #702a64;
  font-weight: 900;
}

.comments-toggle-button::before {
  content: "☰ ";
}

.comments-collapse-wrap[data-expanded="true"] + .comments-collapse-controls .comments-toggle-button::before {
  content: "▲ ";
}

/* GossipHub: podpowiedź easter egg przy buziaku */
.hero-kiss {
  position: relative;
}

.kiss-easter-label {
  position: absolute;
  right: 88%;
  top: 6px;
  z-index: 2;
  width: max-content;
  padding: 3px 7px;
  color: #702a64;
  font-family: "Comic Sans MS", "Trebuchet MS", Tahoma, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .18), rgba(255, 192, 223, .18) 1px, transparent 1px, transparent 5px),
    #fff6fb;
  border: 1px dashed #d94b9a;
  box-shadow: 1px 1px 0 rgba(112, 42, 100, .18);
  transform: rotate(-4deg);
  pointer-events: none;
  animation: kissHintBlink 1.8s steps(2, end) infinite;
}

.kiss-easter-arrow {
  position: absolute;
  right: 77%;
  top: 25px;
  z-index: 2;
  color: #d94b9a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px 0 #fff6fb, 2px 2px 0 rgba(112, 42, 100, .18);
  pointer-events: none;
  animation: kissArrowNudge 1.1s steps(2, end) infinite;
}

@keyframes kissHintBlink {
  0%, 100% { opacity: .78; }
  50% { opacity: 1; }
}

@keyframes kissArrowNudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, 3px); }
}

@media (max-width: 760px) {
  .kiss-easter-label {
    right: 56%;
    top: -18px;
    font-size: 11px;
  }

  .kiss-easter-arrow {
    right: 48%;
    top: 3px;
    font-size: 22px;
  }
}

/* GossipHub: oldweb music player */
.gh-music-player-window {
  width: min(1040px, calc(100% - 44px));
  margin: 18px auto 12px;
  position: relative;
  z-index: 40;
  color: #702a64;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .14), rgba(255, 192, 223, .14) 1px, transparent 1px, transparent 5px),
    #fff6fb;
  border: 2px solid;
  border-color: #fff #8d5a7a #8d5a7a #fff;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.95),
    2px 2px 0 rgba(112, 42, 100, .16);
}

.gh-music-titlebar {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px 0 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 1px 1px 0 #702a64;
  background: linear-gradient(#ef72b5, #d94b9a);
  border-bottom: 2px solid #8d2f74;
}

.gh-music-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gh-music-win-buttons {
  display: flex;
  gap: 2px;
}

.gh-music-win-buttons span {
  width: 16px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #702a64;
  font-size: 0px;
  line-height: 1;
  text-shadow: none;
  background: #ffe8f4;
  border: 1px solid #8d2f74;
  box-shadow: inset 1px 1px 0 #fff;
}

.gh-music-body {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.30), rgba(255,255,255,.30) 1px, transparent 1px, transparent 8px),
    #fffafd;
}

.gh-music-cover {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
  border: 1px solid #c984a8;
  background:
    repeating-linear-gradient(45deg, #fff6fb 0 4px, #ffe8f4 4px 8px);
  box-shadow: 1px 1px 0 rgba(112,42,100,.20);
}

.gh-music-info-wrap {
  flex: 1;
  min-width: 0;
}

.gh-music-track {
  color: #702a64;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.gh-music-main-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 126px;
  align-items: center;
  gap: 8px;
}

.gh-music-left {
  min-width: 0;
}

.gh-music-controls-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gh-music-buttons {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.gh-music-btn {
  width: 22px;
  height: 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #702a64;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(#fffafd, #ffc9e4);
  border: 2px solid;
  border-color: #fff #8d5a7a #8d5a7a #fff;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.8);
  cursor: pointer;
}

.gh-music-btn.main {
  color: #fff;
  text-shadow: 1px 1px 0 #702a64;
  background: linear-gradient(#ef72b5, #d94b9a);
}

.gh-music-btn:hover {
  filter: brightness(1.04);
}

.gh-music-btn:active,
.gh-music-btn.playing {
  border-color: #8d5a7a #fff #fff #8d5a7a;
  box-shadow: inset 1px 1px 0 rgba(112,42,100,.18);
}

.gh-music-progress-wrap {
  flex: 1;
  min-width: 70px;
}

.gh-music-right {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: end;
  gap: 2px;
}

.gh-music-time {
  width: 112px;
  color: #702a64;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.gh-music-volume-row {
  width: 112px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
}

.gh-music-volume-label {
  min-width: 20px;
  color: #702a64;
  font-size: 11px;
  font-weight: 900;
}

.gh-music-autoplay-note {
  margin-top: 4px;
  color: #9c3a7d;
  font-size: 0px;
  font-weight: 700;
  text-align: right;
}

#ghMusicSeek,
#ghMusicVolume {
  -webkit-appearance: none;
  appearance: none;
  height: 7px;
  background:
    linear-gradient(#fff, #ffe8f4);
  border: 1px solid #c984a8;
  box-shadow: inset 1px 1px 0 rgba(112,42,100,.12);
  outline: none;
}

#ghMusicSeek {
  width: 100%;
}

#ghMusicVolume {
  width: 84px;
}

#ghMusicSeek::-webkit-slider-thumb,
#ghMusicVolume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: linear-gradient(#ef72b5, #d94b9a);
  border: 1px solid #8d2f74;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.55);
  cursor: pointer;
}

#ghMusicSeek::-moz-range-thumb,
#ghMusicVolume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: linear-gradient(#ef72b5, #d94b9a);
  border: 1px solid #8d2f74;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.55);
  cursor: pointer;
}

#ghMusicSeek::-moz-range-track,
#ghMusicVolume::-moz-range-track {
  height: 7px;
  background: linear-gradient(#fff, #ffe8f4);
  border: 1px solid #c984a8;
}

#gh-youtube-player {
  position: fixed;
  left: -99999px;
  top: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 700px) {
  .gh-music-main-row {
    grid-template-columns: 1fr;
  }

  .gh-music-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    justify-items: start;
  }

  .gh-music-autoplay-note {
    text-align: left;
  }
}


.gh-music-autoplay-note {
  display: none !important;
}

.gh-music-time {
  margin-top: 1px;
}

.gh-music-volume-row {
  align-items: center;
}

.gh-music-track {
  line-height: 1.1;
}

/* GossipHub: linki w artykułach i podglądzie formatowania */
.article-body a,
.formatter-preview a,
.article-comments a,
.gh-text-link {
  color: #a4006f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.article-body a::after,
.formatter-preview a::after,
.article-comments a::after,
.gh-text-link::after {
  content: " ↗";
  font-size: .82em;
}

.article-body a:hover,
.formatter-preview a:hover,
.article-comments a:hover,
.gh-text-link:hover {
  color: #fff;
  background: #d94b9a;
  text-decoration: none;
  text-shadow: 1px 1px 0 #702a64;
}

/* GossipHub: logo image articles */
.article-image-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 210, 233, .30), rgba(255, 210, 233, .30) 7px, rgba(255, 246, 251, .70) 7px, rgba(255, 246, 251, .70) 14px),
    #fffafd;
}

.article-image-logo img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: 220px;
  object-fit: contain;
}

/* GossipHub: article formatting exact preview fix */
.article-body {
  color: #1f1520;
}

.article-body p {
  margin: 0 0 14px;
}

.article-body blockquote,
.formatter-preview blockquote {
  margin: 0 0 14px;
  padding: 8px 10px;
  color: #1f1520;
  background:
    repeating-linear-gradient(0deg, rgba(255, 192, 223, .18), rgba(255, 192, 223, .18) 1px, transparent 1px, transparent 5px),
    #fff6fb;
  border-left: 4px solid #d94b9a;
  font-style: italic;
}

.article-body blockquote p,
.formatter-preview blockquote p {
  margin: 0;
}

.article-body h2,
.article-body h3,
.article-body h4,
.formatter-preview h2,
.formatter-preview h3,
.formatter-preview h4 {
  color: #702a64;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.article-body h2,
.formatter-preview h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.article-body h3,
.formatter-preview h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.article-body h4,
.formatter-preview h4 {
  margin: 0 0 14px;
  font-size: 20px;
}

.article-body .center-heading-block,
.formatter-preview .center-heading-block {
  display: block;
  margin: 16px 0 14px;
  text-align: center;
  color: #702a64;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.article-body h2.center-heading-block,
.formatter-preview h2.center-heading-block {
  font-size: 28px;
}

.article-body h3.center-heading-block,
.formatter-preview h3.center-heading-block {
  font-size: 24px;
}

.article-body h4.center-heading-block,
.article-body .center-heading-block.medium-line,
.formatter-preview h4.center-heading-block,
.formatter-preview .center-heading-block.medium-line {
  font-size: 20px;
}

.article-body .center-heading-2,
.article-body .center-heading-3,
.article-body .center-heading-4,
.formatter-preview .center-heading-2,
.formatter-preview .center-heading-3,
.formatter-preview .center-heading-4 {
  display: block;
  margin: 12px 0;
  text-align: center;
  color: #702a64;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.article-body .center-heading-2,
.formatter-preview .center-heading-2 {
  font-size: 28px;
}

.article-body .center-heading-3,
.formatter-preview .center-heading-3 {
  font-size: 24px;
}

.article-body .center-heading-4,
.formatter-preview .center-heading-4 {
  font-size: 20px;
}

.article-body .center-inline,
.formatter-preview .center-inline {
  display: block;
  margin: 10px 0;
  text-align: center;
  color: #702a64;
  font-weight: 900;
}

.article-body .medium-line,
.formatter-preview .medium-line {
  color: #702a64;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
}

.article-body .about-punchline,
.formatter-preview .about-punchline {
  display: block;
  margin: 14px 0;
  color: #9c176d;
  font-weight: 900;
  text-align: center;
}

.article-body .about-highlight,
.formatter-preview .about-highlight {
  margin: 0 0 14px;
  color: #702a64;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.article-body strong em,
.article-body em strong,
.formatter-preview strong em,
.formatter-preview em strong {
  font-weight: 900;
}

.article-body a.gh-text-link,
.article-body a,
.formatter-preview a.gh-text-link,
.formatter-preview a {
  color: #a4006f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.article-body a.gh-text-link::after,
.article-body a[target="_blank"]::after,
.formatter-preview a.gh-text-link::after,
.formatter-preview a[target="_blank"]::after {
  content: " ↗";
  font-size: .82em;
}

/* GossipHub: chat antyspam info */
.article-comment-form .form-status.error,
.chat-form .form-status.error,
.form-status.error {
  color: #9c176d;
  font-weight: 900;
}

/* GossipHub: mniejsze odstępy między akapitami z formatowania */
.article-body p,
.formatter-preview p {
  margin-top: 0;
  margin-bottom: 10px;
}

.article-body blockquote,
.formatter-preview blockquote {
  margin-top: 0;
  margin-bottom: 10px;
}

.article-body h2,
.article-body h3,
.article-body h4,
.formatter-preview h2,
.formatter-preview h3,
.formatter-preview h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.article-body .center-heading-block,
.article-body .about-punchline,
.article-body .about-highlight,
.formatter-preview .center-heading-block,
.formatter-preview .about-punchline,
.formatter-preview .about-highlight {
  margin-top: 12px;
  margin-bottom: 10px;
}

.article-body p + p,
.formatter-preview p + p {
  margin-top: -2px;
}
