.winter-quiz-chat{flex:none;max-height:min(350px,42dvh);overflow:auto;overscroll-behavior:contain;margin:4px 0 9px;padding:10px;border:1px solid #a9c5d3;border-radius:13px;background:linear-gradient(135deg,#fffdf3,#e7f5fa);color:#315d68;scrollbar-width:thin;}
.winter-quiz-chat header{display:flex;align-items:center;gap:9px;}
.winter-quiz-chat header>img{width:38px;height:42px;object-fit:contain;}
.winter-quiz-chat header strong,.winter-quiz-chat header small{display:block;}
.winter-quiz-chat header small{font-size:10px;letter-spacing:.08em;color:#73949f;}
.winter-quiz-question{font-size:13px;font-weight:700;line-height:1.4;margin:8px 0;}
.winter-quiz-answers{display:grid;gap:5px;margin-bottom:6px;}
.winter-quiz-answers button{display:flex;align-items:center;gap:8px;min-height:35px;padding:6px 8px;text-align:left;border:1px solid #b9d0d8;border-radius:8px;background:#fffdf5;color:#315d68;}
.winter-quiz-answers b{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#e6f1f4;color:#547f8c;}
.winter-quiz-answers span{overflow-wrap:anywhere;}
.winter-quiz-chat>small{display:block;font-size:10px;line-height:1.4;color:#65838b;}
.winter-quiz-prize{padding-top:8px;font-size:12px;}
.winter-quiz-prize>div{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;}
.winter-quiz-prize span{display:flex;align-items:center;gap:5px;padding:4px 6px;border:1px solid #c8d8d9;border-radius:8px;background:#fffdf5;}
.winter-quiz-prize img{width:27px;height:30px;object-fit:contain;}
.winter-quiz-prize button{width:100%;min-height:38px;}
.winter-quiz-note{font-size:11px;margin:7px 0 0;line-height:1.4;}
.winter-quiz-admin label{display:grid;gap:4px;margin:7px 0;font-size:12px;}
.winter-quiz-admin :is(input,textarea,select){box-sizing:border-box;width:100%;max-width:100%;}
.winter-quiz-admin textarea{min-height:65px;resize:vertical;}
.winter-quiz-admin-preview{font-size:11px;color:#547d83;line-height:1.45;}
.winter-quiz-admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.chat-dark .winter-quiz-chat{background:linear-gradient(135deg,#243c45,#1d3038);color:#deeff4;border-color:#51717d;}
.chat-dark .winter-quiz-answers button,.chat-dark .winter-quiz-prize span{background:#28424d;color:#deeff4;border-color:#51717d;}
/* The speaker keeps his voice in the log and on his combat card. */
.chat-sugrobych {
  --winter-chat-ink: #374f52;
  --winter-chat-rule: #b2c3b6;
  --winter-chat-number: #7c5c31;
}
.chat-dark .chat-sugrobych {
  --winter-chat-ink: #e2ebe6;
  --winter-chat-rule: #637c7b;
  --winter-chat-number: #e7ca92;
}
#shore-messages .chat-line.chat-system.chat-sugrobych .chat-text {
  color: var(--winter-chat-ink) !important;
  font-weight: 400;
  line-height: 1.48;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
@layer chat-appearance {
  html.chat-dark #shore-messages .chat-line.chat-system.chat-sugrobych .chat-text { color:var(--winter-chat-ink) !important; }
}
#shore-messages .winter-chat-options {
  display: grid;
  gap: .16em;
  margin: .4em 0 .15em .72em;
  padding: .35em 0 .05em .65em;
  border-inline-start: 1px solid var(--winter-chat-rule);
  white-space: normal;
}
.winter-chat-option {
  display: grid;
  grid-template-columns: 1.15em minmax(0,1fr);
  column-gap: .4em;
  align-items: baseline;
}
.winter-chat-option > b {
  color: var(--winter-chat-number);
  font-size: .95em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.winter-host-name {
  color:#8c3446;
  font-weight:750;
  background-image:linear-gradient(106deg,#922d43 12%,#ac4554 28%,#1d7595 47%,#265590 66%,#922d43 90%);
  background-size:210% 100%;
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:winter-name-light 4.2s ease-in-out infinite alternate;
}
.chat-dark .winter-host-name { background-image:linear-gradient(106deg,#f2959e 12%,#f1a5ad 28%,#82daeb 47%,#9bb9f9 66%,#f2959e 90%); }
.chat-dark [data-chat-npc="sugrobych"] .winter-sugrobych-name { filter:brightness(1.45); }
@media (prefers-reduced-motion:reduce) {
  .winter-host-name,.winter-sugrobych-name { animation:none!important; }
}
@media (forced-colors:active) {
  .winter-host-name,.winter-sugrobych-name,.log-entry .winter-boss-ink { background:none!important;-webkit-text-fill-color:CanvasText;animation:none!important; }
}
