/* Seasonal content rendered inside the ordinary world deck. */
#destination-description:empty { display: none; }
.winter-errand { margin: 10px 0 3px; }
.winter-errand h4 { margin: 0 0 6px; color: #254c43; font-size: 14px; }
.winter-errand ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.winter-errand li {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 17px;
  align-items: center;
  gap: 7px;
  padding: 4px 7px;
  border: 1px solid #d5c5a1;
  border-radius: 6px;
  color: #514733;
  background: #fcf7e9;
  font-size: 12px;
  line-height: 1.25;
}
.winter-errand li[data-done="true"] { color: #365a43; background: #e9efdf; }
.winter-errand img { width: 27px; height: 28px; object-fit: contain; }
.winter-new-errand { margin: 5px 2px 0; color: #416150; font: 600 11px/1.35 Interface,sans-serif; }
.combat-skill-cost.winter-throw-damage img { display: none; }
.combat-skill-cost.winter-throw-damage::after { content: 'HP'; margin-left: 2px; font-size: 8px; }
.winter-preview #world .opponent-card.is-boss.has-frost-ritual:not(.is-miniboss):not(.is-wandering) > .relic-turn > .relic-face {
  background: url('art/ui/winter-decor-20261122/frost-frame.webp') center / 100% 100% no-repeat,
    linear-gradient(155deg, #f5f9f8, #e5eef3 48%, #b9d1e3) !important;
}
.winter-preview #world .opponent-card.has-frost-ritual .opponent-front .opponent-name { color: #284e65 !important; }
.winter-preview #world .opponent-card.has-frost-ritual .opponent-attack:not(:disabled) {
  color: #234256;
  border-color: #85a4ba;
  background: linear-gradient(#e8f3f9, #c3dbe9);
}
.opponent-card.has-frost-ritual .opponent-respawn {
  background: radial-gradient(ellipse at 50% 42%, #496c87, #273e56 68%, #1d2d43);
}
.opponent-card.has-frost-ritual .opponent-remaining {
  color: #e7f6ff;
  text-shadow: 0 1px 3px #122436;
}
.opponent-frost-vessel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76%;
  aspect-ratio: 1;
  pointer-events: none;
}
.opponent-frost-vessel :is(i,span,strong,img) { position:absolute; inset:0; width:100%; height:100%; }
.opponent-frost-vessel i { opacity:.40; filter:saturate(.35) brightness(.72); }
.opponent-frost-vessel span { mask-image:radial-gradient(circle closest-side,transparent calc(var(--ice-front,116%) - 2%),#000 calc(var(--ice-front,116%) + 3%)); }
.opponent-frost-vessel strong { filter:brightness(1.7); mask-image:radial-gradient(circle closest-side,transparent calc(var(--ice-front,116%) - 1%),#000 calc(var(--ice-front,116%) + 3%),transparent calc(var(--ice-front,116%) + 10%)); }
@media (prefers-reduced-motion:reduce) { .opponent-frost-vessel strong {display:none;} }
.winter-preview #world .opponent-card.has-frost-ritual>.relic-turn>.relic-face::after {
  content:""; position:absolute; inset:0; z-index:4; border:6px solid transparent; border-radius:inherit;
  border-image:url('art/events/winter-2026/parcels/advent-battle-frame.webp') 44 / 8px / 0 round;
  pointer-events:none;
}
#modal-root .relic-front .modal-header .item-drop-rarity[data-odds="Гарантированно"],
.item-dossier-status .item-drop-rarity[data-odds="Гарантированно"] {
  color:#385316;border:1px solid #a1b956;background:linear-gradient(#f1facd,#d4e998);
  box-shadow:inset 0 0 0 1px #fbffe3a6;
}
@media (prefers-reduced-motion: reduce) {
  .opponent-card.has-frost-ritual .opponent-chain { animation: none; }
}
.world-map-pin[data-pin="winter-star-court"] .world-map-medallion > img,
#location-scene :is([data-scene-select="winter-star-court"],[data-scene-select="winter-spruce-hollow"]) .world-map-medallion > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover !important;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter) {
  --winter-tile-rim: url('art/ui/winter-decor-20261122/choice-mentor.webp');
  --winter-tile-width: 17px;
  position: relative;
  grid-template-rows: minmax(31px, 1fr) minmax(25px, auto) 29px;
  gap: 4px;
  padding-bottom: 11px;
  border-color: #c9ba92;
  background: #f4eddb;
  box-shadow: none;
  isolation: isolate;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter)::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -1px;
  display: block;
  border: var(--winter-tile-width) solid transparent;
  border-image: var(--winter-tile-rim) 80 fill / var(--winter-tile-width) / 0 stretch;
  background: none;
  pointer-events: none;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter)::after {
  content: none;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter) .world-choice-scene {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}
#world :is(.choice-winter-calendar, .choice-winter-lamplighter) .world-choice-scene::before,
#world :is(.choice-winter-calendar, .choice-winter-lamplighter) .world-choice-scene::after { display: none; }
#world .world-choice .world-choice-scene > .winter-tile-art {
  position: absolute;
  inset: 2px 0;
  width: 100%;
  height: calc(100% - 4px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #493b3150);
}
#world .location-choices :is(.choice-winter-calendar, .choice-winter-lamplighter) > strong {
  position: relative;
  z-index: 3;
  align-self: center;
  font-size: clamp(12px, 3.45vw, 15px);
  line-height: 1.16;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter) .world-choice-footer {
  position: relative;
  z-index: 3;
  height: 29px;
  min-height: 29px;
}
#world .world-choice:is(.choice-winter-calendar, .choice-winter-lamplighter) .world-choice-caption {
  min-height: 28px;
  border: 1px solid #a5c1bd !important;
  background: linear-gradient(#f9fcf5, #e1ece7) !important;
  box-shadow: inset 0 1px #fff8;
  padding-block: 3px;
  color: #3a6459;
  font-size: 10px;
  font-weight: 550;
}

.winter-native-art {
  display: inline-block;
  flex: none;
  width: 32px;
  height: 32px;
  background: url('art/events/winter-2026/items-ui.webp') var(--wx) var(--wy) / 300% 300% no-repeat;
  pointer-events: none;
}
#location-inline-panel[data-world-kind="winter-calendar"] .world-panel-body {
  display: block;
  padding-inline: 0;
  overflow: hidden auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.winter-native-calendar {
  --winter-ink: #234c45;
  --winter-muted: #6f6a55;
  --winter-detail-height: 100px;
  --winter-day-icon-size: clamp(34px, 10vw, 40px);
  --winter-reward-icon-size: 29px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(100%, 520px);
  min-height: 100%;
  margin-inline: auto;
  padding: 10px 11px 11px;
  border: 1px solid #947047;
  border-radius: 12px;
  color: var(--winter-ink);
  background:
    repeating-linear-gradient(2deg, #fff2d603 0 2px, #161f170b 3px 7px, transparent 8px 18px),
    linear-gradient(135deg, #58452d, #393627 60%, #4d3d2b);
  box-shadow: inset 0 0 0 2px #d9b57c55, inset 0 0 0 5px #221e1880;
}
.winter-month-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 2px 2px 5px;
  border-bottom: 1px solid #d6b98263;
}
.winter-month-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.winter-month-title::before {
  content: '';
  flex: none;
  width: 37px;
  aspect-ratio: 1;
  background: url('art/events/winter-2026/calendar-cutout.webp') center / contain no-repeat;
}
.winter-month-title > strong {
  color: #fff3d7;
  font: 600 22px/1 Georgia, serif;
  letter-spacing: .01em;
  text-shadow: 0 2px 8px #141d26;
}
.winter-calendar-expand {
  padding: 4px 7px;
  min-height: 30px;
  border: 1px solid #b59559;
  border-radius: 6px;
  background: linear-gradient(#536752, #34493f);
  box-shadow: inset 0 1px #d2bf9755;
  color: #fff2d7;
  font: 650 11px/1.25 Interface, sans-serif;
  cursor: pointer;
}
.winter-calendar-expand > span { color: #d5b982; margin-left: 3px; }
.winter-month-dates {
  flex: none;
  padding: 5px;
  border: 1px solid #b3915c;
  border-radius: 8px;
  background: linear-gradient(110deg, #362b20a8, #20241bd9);
  box-shadow: inset 0 0 0 1px #efd0981d;
}
.winter-weekdays { display: none; }
.winter-native-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.winter-native-days > button {
  position: relative;
  display: none;
  place-items: center;
  height: clamp(32px, 9.6vw, 38px);
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c09e6a;
  border-radius: 6px;
  background: linear-gradient(155deg, #f7edd5, #e8d4ad);
  box-shadow: inset 0 1px #fffae1bd, inset 0 -1px #a5804c42, 0 1px 3px #181b1766;
  color: #4a3927;
  font: 650 13px/1 Interface, sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.winter-native-days > button > b { position: relative; z-index: 1; font-weight: 680; }
.winter-date-ribbon {
  position: absolute;
  inset: auto 6px 3px;
  height: 4px;
  border-radius: 2px;
  pointer-events: none;
  background:
    linear-gradient(90deg,#a9765c55,#946756e0 19%,#c49d78 62%,#a9765c70) center top / 100% 1.5px no-repeat,
    linear-gradient(90deg,#a9765c4d,#b78e69c0 31%,#99685c 74%,#a9765c55) center bottom / 96% 1px no-repeat;
}
.winter-date-fastener {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  border-radius: 1px;
  background: #93652e;
}
.winter-native-days > .in-week { display: grid; }
.winter-native-days > :is(.is-ready, .is-awaiting) {
  border-color: #d7ac65;
  background: linear-gradient(#fff1c5, #ebcd90);
}
.winter-native-days > .is-taken {
  border-color: #a8b78a;
  background: linear-gradient(152deg, #e9edcb, #ceddb0);
  box-shadow: inset 0 1px #fff9, inset 0 -1px #8c9c633d, 0 1px 3px #181b1766;
  color: #354830;
}
.winter-native-days > [aria-pressed="true"] {
  border-color: #e9c888;
  box-shadow: inset 0 1px #fff8, 0 0 0 1px #a8844f, 0 1px 4px #171e1b9c;
}
.winter-native-days > [aria-current="date"]::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8b622a86;
}
.winter-native-days > .is-taken[aria-current="date"]::before { background: #62754b79; }
.winter-day-check {
  position: absolute;
  z-index: 2;
  right: 5px;
  bottom: 5px;
  width: 4px;
  height: 7px;
  border: solid #4b633d;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}
.winter-day-slot {
  display: grid;
  flex: 1 0 auto;
}
.winter-native-day {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: var(--winter-detail-height);
  padding: 8px 9px;
  border: 1px solid #c8a675;
  border-radius: 8px;
  background: radial-gradient(ellipse at 8% 27%, #fffae9, transparent 59%), linear-gradient(146deg, #fcf3de, #ebd8b4);
  box-shadow: inset 0 0 0 2px #fff7e590;
}
.winter-day-line {
  display: grid;
  grid-template-columns: var(--winter-day-icon-size) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.winter-day-line:has(> button) { grid-template-columns: var(--winter-day-icon-size) minmax(0, 1fr) auto; }
.winter-native-day.is-taken {
  align-content: center;
  border-color: #c2ae81;
  background: radial-gradient(ellipse at 10% 13%, #fffff0, transparent 52%), linear-gradient(145deg, #f4f2df, #e5e6ce);
}
.winter-day-icon {
  display: grid;
  place-items: center;
  width: var(--winter-day-icon-size);
  aspect-ratio: 1;
  border-radius: 8px;
  color: #567359;
  background: #d6c8a336;
}
.winter-wrap-mini {
  --gift-box-width: calc(var(--winter-day-icon-size) * .74);
  --gift-floor: 2px;
  position: relative;
  width: var(--winter-day-icon-size);
  aspect-ratio: 1;
}
.winter-wrap-mini :is(.winter-wrap-base, .winter-wrap-lid) { filter: none; }
.winter-native-day.is-locked .winter-day-line { --winter-day-icon-size: clamp(46px, 14vw, 62px); }
.winter-native-day.is-locked .winter-day-line:not(:has(> button)) {
  justify-self: center;
  grid-template-columns: var(--winter-day-icon-size) auto;
  gap: 10px;
}
.winter-native-day.is-locked .winter-day-icon { background: radial-gradient(#d4b68142, transparent 74%); }
.winter-sealed-parcel {
  display: block;
  width: min(93%, 53px);
  height: auto;
  filter: drop-shadow(0 2px 2px #6f50383f);
}
.winter-day-copy { display: grid; gap: 2px; }
.winter-day-copy small {
  color: var(--winter-muted);
  font: 550 11px/1.2 Interface, sans-serif;
}
.winter-day-copy strong { color: #294d43; font: 700 clamp(15px, 4.1vw, 18px)/1.15 Georgia, serif; text-wrap: balance; }
.winter-native-day.is-locked .winter-day-copy strong { font-size: clamp(15px, 4.4vw, 18px); }
.winter-day-line > :is(.world-mini-primary, .world-mini-secondary) {
  min-height: 32px;
  padding: 5px 8px;
  font: 700 11px/1.15 Interface, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.winter-day-line > .world-mini-secondary {
  color: #fff4dc;
  border-color: #516956;
  background: linear-gradient(#56745f, #355245);
  box-shadow: inset 0 1px #dec48f60;
}
.winter-day-line > .world-mini-primary {
  color: #fff7df;
  border: 1px solid #57715a;
  background: linear-gradient(#5e7a60, #3a5a4b);
  box-shadow: inset 0 1px #f0ddae50, 0 1px 2px #3b504b29;
}
.winter-pending-link { display: grid; gap: 2px; text-align: center; }
.winter-pending-link > small { color: #e8ddbd; font: 500 9px/1.15 Interface, sans-serif; }
.winter-earned {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 0;
  padding: 3px 1px;
  border-block: 1px solid #bfab7d85;
  background: linear-gradient(90deg, #fffaf02b, #fffcf0b8 45%, #fffaf02b);
}
.winter-reward-art { object-fit: contain; }
.winter-earned .winter-reward-link {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 8px);
  min-width: 0;
  min-height: 38px;
  padding: 2px 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #385446;
  text-align: left;
  cursor: pointer;
}
.winter-earned .winter-reward-link:only-child, .winter-earned .winter-reward-link:first-child:has(+.winter-day-news) { grid-column: 1 / -1; }
.winter-earned .winter-reward-link:nth-child(even) { border-left: 1px solid #b8a87b78; border-radius: 0 4px 4px 0; padding-left: 8px; }
.winter-earned .winter-reward-link:is(:hover,:focus-visible) { background: #fffaf0c9; }
.winter-reward-icon { position: relative; display: grid; place-items: center; width: var(--winter-reward-icon-size); flex: none; }
.winter-reward-icon .winter-reward-art { display: block; width: 100%; height: var(--winter-reward-icon-size); }
.winter-reward-icon b { position: absolute; right: -3px; bottom: -2px; padding: 1px 3px; border-radius: 4px; background: #355446; color: #fff8dd; font: 700 10px/1.1 Interface,sans-serif; }
.winter-reward-name { min-width: 0; font: 600 clamp(10.5px, 2.8vw, 12px)/1.2 Interface,sans-serif; overflow-wrap: break-word; text-wrap: pretty; }
#world:not(.guardian-expanded) .winter-native-calendar {
  --winter-day-icon-size: clamp(30px, 8.5vw, 34px);
  gap: 5px;
  padding: 6px 8px;
}
#world:not(.guardian-expanded) .winter-month-header { min-height: 35px; padding-block: 0 3px; }
#world:not(.guardian-expanded) .winter-month-title::before { width: 30px; }
#world:not(.guardian-expanded) .winter-month-dates { padding: 3px 4px; }
#world:not(.guardian-expanded) .winter-native-days > button { height: clamp(28px, 8.5vw, 34px); }
#world:not(.guardian-expanded) .winter-native-day { gap: 4px; padding: 5px 8px; }
#world:not(.guardian-expanded) .winter-earned { padding-block: 2px; }
#world:not(.guardian-expanded) .winter-reward-link { min-height: 34px; }
#world:not(.guardian-expanded) .winter-day-news { min-height: 21px; }
.winter-native-calendar button:focus-visible,
.winter-gift-dialog button:focus-visible {
  outline: 2px solid #987234;
  outline-offset: 2px;
}
#world.guardian-expanded .winter-native-calendar {
  --winter-detail-height: 116px;
  --winter-day-icon-size: clamp(38px, 11vw, 46px);
  --winter-reward-icon-size: clamp(27px, 8vw, 34px);
  gap: 10px;
  padding: 11px;
}
#world.guardian-expanded .winter-month-header {
  min-height: clamp(57px, 9dvh, 84px);
  justify-content: center;
}
#world.guardian-expanded .winter-month-title::before { width: clamp(43px, 11vw, 58px); }
#world.guardian-expanded .winter-month-title > strong {
  font-size: clamp(25px, 7vw, 32px);
  text-shadow: 0 2px 3px #221c12;
}
#world.guardian-expanded .winter-calendar-expand { display: none; }
#world.guardian-expanded .winter-month-dates {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  min-height: 224px;
  padding: 7px;
}
#world.guardian-expanded .winter-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding-bottom: 6px;
  color: #f5deb2;
  font: 550 10px/1.25 Interface, sans-serif;
  text-align: center;
}
#world.guardian-expanded .winter-native-days {
  grid-template-rows: repeat(5, minmax(37px, 1fr));
  align-items: center;
  background:
    repeating-linear-gradient(to bottom, transparent 0 calc(20% - 1px), #e3c28b32 calc(20% - 1px) 20%);
}
#world.guardian-expanded .winter-native-days > button {
  display: grid;
  height: clamp(34px, 5.4dvh, 44px);
}
#world.guardian-expanded .winter-native-days > [data-winter-day="1"] { grid-column-start: var(--first-column); }
#world.guardian-expanded .winter-day-slot { flex: none; }
#world.guardian-expanded .winter-native-day { gap: 8px; padding: 9px; }

#location-inline-panel[data-world-kind="winter-lamplighter"] .world-panel-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.winter-native-conversation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 0;
  max-width: 550px;
  margin-inline: auto;
  padding: 2px 1px 1px;
}
.winter-dialogue-scroll {
  display: grid;
  gap: 6px;
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 1px 2px 2px;
}
.winter-dialogue-scroll .mentor-history { gap: 6px; }
.winter-native-conversation .mentor-message { max-width: 96%; }
.winter-native-conversation .mentor-message:not(.is-self) {
  background: #edf1e5;
  border-color: #c8d3bf;
  padding: 8px 9px 9px 44px !important;
}
.winter-native-conversation .mentor-message:not(.is-self)::before {
  left: 7px;
  top: 8px;
  background: #d7dfd0 url('art/events/winter-2026/lamplighter-dialogue.webp') 50% 14% / 127% auto no-repeat;
}
#world:not(.guardian-expanded) #location-inline-panel .winter-native-conversation .mentor-message p {
  font-size: 12.5px !important;
  line-height: 1.38 !important;
}
#location-inline-panel .winter-native-conversation .mentor-message p { color: #334e41; }
.winter-native-conversation .mentor-message small { margin-bottom: 3px; color: #526650; }
.winter-native-conversation .mentor-answers { gap: 6px; }
.winter-native-conversation .mentor-answers button {
  min-height: 34px;
  padding: 6px 10px;
  font: 600 12px/1.28 Interface, sans-serif;
  cursor: pointer;
}
.winter-dialogue-actions { flex: none; padding-inline: 2px; }
#location-inline-panel .winter-native-conversation { width:100%;box-sizing:border-box;gap:5px; }
#location-inline-panel .winter-native-conversation .mentor-message:not(.is-self) {
  max-width:100%;margin:0;padding:5px 8px 6px 40px!important;
  background:linear-gradient(90deg,#e8eee2 0%,#f2f1e4ed 65%,#e9ede1c9),url('art/events/winter-2026/spruce-hollow.webp') right 42%/cover;
}
#location-inline-panel .winter-native-conversation .mentor-message:not(.is-self)::before { width:26px;height:26px;top:7px;left:7px; }
#location-inline-panel .winter-native-conversation .mentor-message small { margin:0 0 1px; }
#world:not(.guardian-expanded) #location-inline-panel .winter-native-conversation .mentor-message p { font-size:12px!important;line-height:1.3!important;margin:0; }
.winter-native-conversation .winter-errand { margin:1px 0 0;padding:6px 7px;border:1px solid #cfbea0;border-radius:7px;background:linear-gradient(90deg,#fbf5e5f5,#f5edd8db),url('art/events/winter-2026/spruce-hollow.webp') right 68%/cover; }
.winter-native-conversation .winter-errand h4 { font:600 14px/1.1 Georgia,serif;margin:0 0 4px; }
.winter-native-conversation .winter-errand ul { gap:1px; }
.winter-native-conversation .winter-errand li { grid-template-columns:23px minmax(0,1fr) 13px;min-height:26px;gap:5px;padding:2px 4px;border:0;border-top:1px solid #c5b99780;border-radius:0;background:transparent;font:550 11.5px/1.2 Interface,sans-serif; }
.winter-native-conversation .winter-errand li[data-done="true"] { color:#477758; }
.winter-native-conversation .winter-errand img { width:22px;height:22px; }
#location-inline-panel .winter-native-conversation .winter-dialogue-actions { display:grid;grid-template-columns:minmax(0,1fr);gap:4px; }
#location-inline-panel .winter-dialogue-actions:has(.winter-dialogue-card),#location-inline-panel .winter-dialogue-actions:has([data-winter-native="quest-start"],[data-winter-native="quest-claim"]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
#location-inline-panel .winter-dialogue-actions:has(.winter-dialogue-card)>[data-winter-native="npc-home"] { grid-column:1/-1; }
#location-inline-panel .winter-dialogue-actions button { min-height:29px;margin:0;padding:4px 8px; }
#location-inline-panel .winter-dialogue-actions .winter-dialogue-card {
  display:flex;align-items:center;gap:6px;min-height:37px;padding:3px 6px;text-align:left;
  border:1px solid #cbbc97;background:linear-gradient(105deg,#f4ecd9,#fff8e9dc),url('art/events/winter-2026/court-scene-v2.webp') 65% 65% / cover;
}
.winter-dialogue-card img { flex:none;width:27px;height:28px;object-fit:contain; }
.winter-dialogue-card span { display:grid;gap:1px;min-width:0; }
.winter-dialogue-card strong { font:650 12px/1.13 Interface,sans-serif; }
.winter-dialogue-card small { color:#69735a;font:500 9px/1.15 Interface,sans-serif; }
@media(max-height:640px) { #location-inline-panel .winter-native-conversation { flex:0 1 auto;overflow:auto; } }

#location-inline-panel[data-world-kind="winter-lamplighter"] .winter-native-conversation { flex:1;min-height:0;padding:0 2px 3px;overflow-y:auto; }
#location-inline-panel .winter-speaker .mentor-message {min-height:41px;box-sizing:border-box;}
#location-inline-panel .winter-speaker small {display:block;color:#47624f;font:650 10px/1.3 Interface,sans-serif;}
#location-inline-panel .winter-dialogue-scroll { flex:none;overflow:visible; }
#location-inline-panel .winter-native-conversation .winter-errand { margin:1px 0 0;padding:7px 8px;border:1px solid #cbbb96;border-radius:8px;background:#faf5e8; }
#location-inline-panel .winter-errand h4 { margin:0 0 6px;font:600 15px/1.2 Georgia,serif;color:#315449; }
#location-inline-panel .winter-errand ul { gap:4px; }
#location-inline-panel .winter-errand li { border:1px solid #ded3b8;border-radius:5px;padding:3px 6px;min-height:29px;box-sizing:border-box;background:#fffcf3; }
#location-inline-panel .winter-errand li[data-done="true"] { border-color:#c4d3b8;background:#edf2e5; }
#location-inline-panel .winter-errand li > b { display:inline-grid;place-items:center;width:13px;height:13px;color:#847e66;font:600 12px/1 Interface,sans-serif; }
#location-inline-panel .winter-errand li[data-done="true"] > b { border-radius:50%;background:#537760;color:#fff;font-size:10px; }
#location-inline-panel .winter-errand li[data-counted="true"] {grid-template-columns:23px minmax(0,1fr) 34px;}
#location-inline-panel .winter-errand li[data-counted="true"] > b {width:auto;height:auto;white-space:nowrap;border-radius:4px;background:transparent;color:#537760;font:600 11px/1.2 Interface,sans-serif;font-variant-numeric:tabular-nums;}
#location-inline-panel .winter-errand li > span { font:400 12px/1.35 Interface,sans-serif;color:#4a5144; }
#location-inline-panel .winter-errand li[data-done="true"] > span { color:#4d715a; }
#location-inline-panel .winter-dialogue-actions .winter-dialogue-card { position:relative;isolation:isolate;overflow:hidden;background:#52605d var(--reply-art) center/cover; }
#location-inline-panel .winter-dialogue-card:nth-of-type(3n+1) {--winter-mist-x:38%;--winter-mist-y:41%;}
#location-inline-panel .winter-dialogue-card:nth-of-type(3n+2) {--winter-mist-x:66%;--winter-mist-y:57%;}
#location-inline-panel [data-view="skills"] .winter-speaker {box-sizing:border-box;display:flex;align-items:flex-start;justify-content:center;min-height:clamp(76px,11dvh,110px);padding:7px 8px;border:1px solid #bfb495;border-radius:8px;background:radial-gradient(ellipse at 42% 57%,#d8d7c63d,transparent 40%),var(--dialogue-art) center 53%/cover;}
#location-inline-panel [data-view="skills"] .winter-speaker .mentor-message:not(.is-self) {width:fit-content;max-width:min(82%,32ch);background:#f5f3e6ec;box-shadow:0 1px 4px #24352c44;}
#location-inline-panel .winter-dialogue-card::before {
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 85% 105% at var(--winter-mist-x,55%) var(--winter-mist-y,56%),#142c32bd 13%,#192b307d 63%,transparent);
}
#location-inline-panel .winter-dialogue-card span {position:relative;min-width:0;gap:2px;padding:2px 1px;background:transparent;color:#fff9e6;text-shadow:0 1px 2px #081920,0 0 4px #172b28,0 0 8px #192c2b;}
#location-inline-panel .winter-dialogue-card small {color:#f6e5b7;font-weight:500;}
#location-inline-panel .winter-dialogue-card img {filter:drop-shadow(0 1px 2px #23302d);}
#location-inline-panel .winter-speaker .mentor-message:not(.is-self) {background:#ecf0e5;border:1px solid #c7d2bb;}
#location-inline-panel .winter-dialogue-actions .winter-dialogue-card strong { font:500 12px/1.2 Interface,sans-serif; }
#location-inline-panel .winter-native-conversation[data-view="skills"] .winter-dialogue-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
#location-inline-panel [data-view="skills"] .winter-dialogue-card { flex-direction:column;justify-content:center;gap:4px;text-align:center;padding:5px 2px; }
#location-inline-panel [data-view="skills"] .winter-dialogue-card img { width:32px;height:32px;border-radius:6px; }
#world.guardian-expanded .winter-native-conversation { gap:9px;padding:2px 4px 10px; }
#world.guardian-expanded #location-inline-panel .winter-native-conversation { max-width:540px; }
#world.guardian-expanded .winter-dialogue-scroll { gap:10px; }
#world.guardian-expanded #location-inline-panel .winter-dialogue-actions:has(.winter-dialogue-card) { grid-template-columns:1fr;gap:5px; }
#world.guardian-expanded #location-inline-panel .winter-dialogue-actions .winter-dialogue-card { flex-direction:row;justify-content:flex-start;gap:11px;text-align:left;min-height:clamp(35px,7dvh,65px);padding:4px 10px; }
#world.guardian-expanded .winter-dialogue-card img { width:39px;height:39px; }
#world.guardian-expanded #location-inline-panel .winter-dialogue-actions .winter-dialogue-card strong { font-size:14px; }
#world.guardian-expanded .winter-dialogue-card small { font-size:11px; }


.winter-native-intro-prize { display: flex; align-items: center; gap: 7px; padding: 4px 8px; }

#hero.winter-hero-active .hero-paperdoll [data-winter-slot] { opacity: .85; cursor: default; }
#hero.winter-hero-active .hero-loadout-slots { grid-template-columns: minmax(0, 57px); }
#hero .winter-technique-art > header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 60px;
  margin: -10px -10px 4px;
  padding: 9px 11px 13px;
  border: 0;
  border-radius: 9px 9px 0 0;
  background: transparent;
}
#hero .winter-technique-art > header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3px;
  pointer-events: none;
  background: var(--winter-technique-art) center 49% / cover no-repeat;
  filter: blur(.3px) saturate(.96);
  mask-image: linear-gradient(to bottom, #000 62%, #000e 76%, #0007 91%, transparent 100%);
}
#hero .winter-technique-art > header::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#152e4085,#19344372 42%,transparent 75%); mask-image:linear-gradient(#000 65%,transparent); pointer-events:none; }
#hero .winter-technique-art > header :is(strong,small) { color: #fff8df; text-shadow: 0 1px 3px #15251f,0 0 5px #173327; }
#hero img.winter-skill-surface, #hero .winter-technique-art > header > .winter-skill-surface, #battle-root img.winter-skill-surface {
  box-sizing:border-box; padding: 2px; border-radius: 5px; object-fit: contain;
  background: radial-gradient(ellipse at 44% 35%,#9cd3e569 0%,#14284440 58%,#081a2ad6 100%),
    var(--winter-icon-scene) center / cover no-repeat, #173547;
  box-shadow: inset 0 0 0 1px #aecbd38c,inset 0 0 5px #10253f;
}
.winter-day-news { display:flex; align-items:center; gap:7px; width:100%; min-width:0; min-height:29px; padding:2px 7px; border:1px solid #a5b59b; border-radius:6px; background:linear-gradient(90deg,#dce6d4,#f1f2e5); color:#264a42; text-align:left; cursor:pointer; }
.winter-day-news img { width:23px; height:23px; object-fit:contain; flex:none; }
.winter-day-news span { display:flex; align-items:baseline; flex-wrap:wrap; gap:1px 6px; }
.winter-day-news small { color:#58725c; font:500 9px/1.15 Interface,sans-serif; }
.winter-day-news strong { font:650 11px/1.2 Interface,sans-serif; }
.winter-day-news i { margin-left:auto;color:#777749;font:18px/1 Georgia,serif; }
.winter-date-event{position:absolute;left:1px;top:1px;width:11px;height:11px;object-fit:contain;pointer-events:none}
.winter-lamp-recipe { margin:3px 0;padding:7px 9px;background:#faf6e9;border:1px solid #cbbd98;border-radius:8px;color:#36534a; }
.winter-lamp-recipe header { display:flex;align-items:center;gap:8px;margin-bottom:4px; }
.winter-lamp-recipe header img { width:34px;height:38px;object-fit:contain; }
.winter-lamp-recipe h4 { margin:0;font:600 15px/1.2 Georgia,serif; }
.winter-lamp-recipe ul { margin:0;padding:0;list-style:none; }
.winter-lamp-recipe li { display:grid;grid-template-columns:22px 1fr auto;gap:6px;align-items:center;border-top:1px solid #ded4b9;min-height:24px;font:400 12px/1.3 Interface,sans-serif; }
.winter-lamp-recipe li img { width:20px;height:20px;object-fit:contain; }
.winter-lamp-recipe li b { padding:1px 5px;border:1px solid #d9cbb1;border-radius:4px;color:#816854;font:600 10px/1.25 Interface,sans-serif;font-variant-numeric:tabular-nums; }
.winter-lamp-recipe li[data-ready=true] b { color:#496b51;border-color:#c5d1b8;background:#eef2e6; }
.winter-lamp-recipe p { margin:0; }
.winter-native-interactions .winter-star-hit{--hit-w:9%;--hit-h:7%;background:none;}
.winter-native-interactions .winter-star-hit[hidden]{display:none;}

#battle-root .battle-restricted .battle-buttons { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
#battle-root .battle-restricted #battle-phase-note:not([hidden]) { width: calc((100% - 12px) / 3); }
#battle-root .battle-restricted .battle-buttons > .battle-action { font-size: clamp(10px,3.3vw,14px); gap: 4px !important; }
#battle-root .battle-restricted .battle-action > .skill-asset { width: 24px; height: 24px; border-radius: 4px; }
#battle-root .battle-restricted .battle-intent { cursor: default; align-items: center; min-width: 0; flex: 1; }
#battle-root .battle-restricted .battle-intent > span { white-space: normal; line-height: 1.15; }
#battle-root .battle-restricted .card-face .res,
#battle-root .battle-restricted .combat-skill-cost:not(.on-cooldown) { display: none; }
#battle-root .battle-restricted .card-name,
#battle-root .battle-restricted .combat-name-text { white-space: normal; line-height: 1.1; }

#location-scene[data-place="winter-star-court"] .location-scene-art {
  inset: 0;
  background-position: center 22%;
}
.winter-native-interactions { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.winter-native-painted-hit {
  position: absolute;
  z-index: 1;
  width: max(26px, var(--hit-w, 8%));
  height: max(26px, var(--hit-h, 6%));
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.winter-native-painted-hit:focus-visible { outline: 2px solid #ffe2a2; outline-offset: 2px; }
.winter-calendar-hit { --hit-w: 23%; --hit-h: 18%; }
.winter-bells-hit { --hit-w: 7%; --hit-h: 6%; }
.winter-kettle-hit { --hit-w: 10%; --hit-h: 9%; }
.winter-garland-bulb {
  position: absolute;
  width: clamp(7px, 3cqw, 13px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  --light: #ffd68a;
  background: radial-gradient(circle, #fff5dd 0 8%, var(--light) 24%, transparent 74%);
  mix-blend-mode: screen;
  opacity: .55;
  animation: winter-garland-sweep var(--cycle, 5s) var(--delay, 0s) ease-in-out infinite;
}
.winter-garland-bulb.is-red { --light: #f75132; }
.winter-garland-bulb.is-ice { --light: #badfed; }
.winter-garland-bulb.is-green { --light: #8fd69e; }
.winter-garland-bulb.is-ribbon { --light: #ffc57d; }
.winter-tree-star {
  position:absolute;width:clamp(25px,7.5cqw,43px);aspect-ratio:1;translate:-50% -50%;
  background:url('art/items/winter-event-20261125/aurora-star.png') center/contain no-repeat;
  opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s;
}
.winter-tree-star[data-lit="true"] {
  opacity:1;visibility:visible;filter:drop-shadow(0 0 4px #8dece1) drop-shadow(0 0 10px #a6a0ef);
  animation:winter-aurora-star 5.6s ease-in-out infinite;
}
@keyframes winter-aurora-star {
  0%,100%{filter:drop-shadow(0 0 4px #8dece1) drop-shadow(0 0 10px #a6a0ef)}
  50%{filter:drop-shadow(0 0 7px #c6b2fa) drop-shadow(0 0 13px #8dece1)}
}
@media(prefers-reduced-motion:reduce){.winter-tree-star[data-lit="true"]{animation:none;transition:none;}}
.winter-native-skill-facts{flex-wrap:wrap;column-gap:14px;row-gap:7px}
.winter-preview .opponent-loot button.winter-loot {
  border-color:#93bbcf;background:linear-gradient(145deg,#effcff,#c7ebf4 60%,#b6ddea);
  box-shadow:inset 0 0 0 1px #ffffffc4,0 1px 2px #416b8024;
}
.winter-preview .opponent-loot button.winter-loot:hover,
.winter-preview .opponent-loot button.winter-loot:focus-visible {border-color:#5397ba;background:linear-gradient(145deg,#f6feff,#bce7f4);}
#knowledge-root.winter-reader-page .knowledge-reader-content{padding-top:56px;}
.winter-keepsake-feature h4{margin:0;font:inherit;font-weight:600}
.winter-tree-lantern {
  position: absolute;
  width: clamp(14px, 5.4cqw, 27px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff2c0 0 8%, #ffc877bb 19%, #eb9b4766 39%, transparent 70%);
  mix-blend-mode: screen;
  opacity: .76;
  animation: winter-lantern-warmth 4.7s var(--phase) ease-in-out infinite;
}
.winter-bell-glint {
  position: absolute;
  width: 5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ffdf91aa, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
}
@keyframes winter-garland-sweep {
  0%, 100% { opacity: .38; }
  21% { opacity: .91; }
  47% { opacity: .49; }
  67% { opacity: .81; }
}
@keyframes winter-star-shine {
  0%, 100% { opacity: .65; scale: .92; }
  42% { opacity: 1; scale: 1.19; }
  75% { opacity: .82; scale: 1.04; }
}
@keyframes winter-lantern-warmth { 0%, 100% { opacity: .66; } 41% { opacity: .94; } 67% { opacity: .81; } }
.location-motion-layer:not(.is-running) .winter-native-interactions *,
.location-motion-layer.is-static .winter-native-interactions * { animation-play-state: paused; }
.location-motion-layer.is-static .winter-native-interactions :is(.winter-garland-bulb, .winter-tree-star, .winter-tree-lantern) {
  animation: none;
}

/* One modal and one coffer throughout the opening sequence. */
.winter-gift-shade {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100dvw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: none;
}
.winter-gift-shade[open] { display: block; }
.winter-gift-shade::backdrop { background: #14262cda; backdrop-filter: blur(8px); }
.winter-gift-fog {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: radial-gradient(ellipse at 18% 75%, #adc6c544, transparent 49%),
    radial-gradient(ellipse at 87% 20%, #ccdde03a, transparent 50%);
  filter: blur(20px);
  animation: winter-fog-drift 12s ease-in-out infinite alternate;
}
.winter-gift-dialog {
  --gift-stage-height: clamp(215px, 65vw, 263px);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  gap: 12px;
  width: min(calc(100% - 28px), 351px);
  max-height: calc(100% - 28px);
  padding: 15px;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border: 1px solid #b49153;
  border-radius: 17px;
  background: radial-gradient(ellipse at 49% 0%, #fffdf0, transparent 68%), linear-gradient(148deg, #fbf4df, #e8d5ae);
  box-shadow: 0 14px 55px #101c24a0, inset 0 0 0 3px #fffaf0, inset 0 0 0 4px #c4a46a48;
  color: #284e43;
  animation: winter-gift-enter 260ms ease-out both;
}
.winter-gift-dialog > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #ded4b9;
  text-align: center;
}
.winter-gift-dialog > header::before,
.winter-gift-dialog > header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b29158);
}
.winter-gift-dialog > header::after { transform: rotate(180deg); }
.winter-gift-dialog h2 { margin: 3px 0 0; font: 600 22px/1.16 Georgia, serif; }
.winter-wrap-stage {
  --gift-box-width: clamp(119px, 38vw, 149px);
  --gift-floor: 14px;
  position: relative;
  isolation: isolate;
  min-height: var(--gift-stage-height);
  overflow: hidden;
  border: 1px solid #967b52;
  border-radius: 11px;
  background: #344f59 url('art/events/winter-2026/advent-interior.webp') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px #f3db8c44;
}
.winter-native-calendar .winter-native-day.winter-advent-parcel,
#world:not(.guardian-expanded) .winter-native-day.winter-advent-parcel {
  position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 30px minmax(0,1fr);align-content:stretch;
  width:100%;min-height:max(var(--winter-detail-height),90px);padding:0;gap:0;
  border:1px solid #b89857;border-radius:7px;
  background:#233b2d url('art/events/winter-2026/advent-parcel.webp') center / 100% 100% no-repeat;
  box-shadow:inset 0 0 0 1px #dbc37e59;
}
.winter-advent-parcel .winter-parcel-band { grid-row:2;display:grid;place-items:center; }
/* The folded note is kept with the contents, below the revealed prize. */
.winter-wrap-stage > .winter-day-news {
  position:absolute; bottom:9px; left:50%; z-index:5; transform:translateX(-50%);
  display:none; width:max-content; max-width:calc(100% - 24px); min-height:30px;
  padding:3px 10px 3px 5px; gap:7px; border:1px solid #d3b278; border-radius:4px 9px 7px 3px;
  background:linear-gradient(111deg,#e9d2a1,#fff1cb 25%,#f3dfb3); box-shadow:0 2px 5px #13272766;
}
.winter-wrap-stage > .winter-day-news small { color:#755e36; }
.winter-gift-shade[data-stage="revealed"] .winter-wrap-stage > .winter-day-news { display:flex;animation:winter-loot-settle 280ms ease both; }
.winter-wrap-stage:has(>.winter-day-news) .winter-native-loot { bottom:42px; }
.winter-earned .winter-day-news { grid-column:1/-1;margin:0;padding:3px 4px 1px;gap:6px;border:0;border-top:1px solid #bfab7d70;border-radius:0;background:none;box-shadow:none; }
.winter-advent-parcel .winter-parcel-seal { padding:7px 14px;border:1px solid #edcc7e;border-radius:16px;color:#fff2cf;background:linear-gradient(#8e3931,#612821);box-shadow:0 0 0 2px #652621,0 3px 5px #1917088c,inset 0 0 0 2px #85352c;font:700 13px/1.1 Georgia,serif;cursor:pointer; }
.winter-parcel-paper { position:absolute;z-index:3;inset:0;display:flex;perspective:540px;pointer-events:none; }
.winter-parcel-paper i { flex:1;background:#233b2d url('art/events/winter-2026/advent-parcel.webp') left center / 200% 100% no-repeat;transform-origin:left center; }
.winter-parcel-paper i+i { background-position:right center;transform-origin:right center; }
.winter-native-day.is-unwrapping { position:relative;overflow:hidden;isolation:isolate;background:#344f59 url('art/events/winter-2026/advent-interior.webp') center 60% / cover no-repeat!important; }
.winter-native-day.is-unwrapping > :not(.winter-parcel-paper) { opacity:0;pointer-events:none; }
.winter-native-day.is-unwrapping .winter-parcel-paper i { animation:winter-paper-left 620ms cubic-bezier(.4,.01,.24,1) both; }
.winter-native-day.is-unwrapping .winter-parcel-paper i+i { animation-name:winter-paper-right; }
@keyframes winter-paper-left { to{transform:translateX(-40%) rotateY(-72deg);opacity:0} }
@keyframes winter-paper-right { to{transform:translateX(40%) rotateY(72deg);opacity:0} }
.winter-gift-presentation { position: absolute; inset: 0; }
.winter-gift-shade[data-stage="revealed"] .winter-gift-presentation { visibility: hidden; }
.winter-gift-shade::backdrop { animation:winter-loot-settle 290ms ease-out both; }
/* The base and lid are separate regions of the same transparent painting. */
.winter-wrap-base,
.winter-wrap-lid {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  background-image: url('art/events/winter-2026/wrapped-gift-layers.webp');
  background-repeat: no-repeat;
}
.winter-wrap-base {
  bottom: var(--gift-floor);
  width: var(--gift-box-width);
  aspect-ratio: 704 / 654;
  background-position: 9.346% 52.36%;
  background-size: 251.99% 135.627%;
  filter: drop-shadow(0 9px 9px #13231ec0);
}
.winter-wrap-lid {
  z-index: 3;
  bottom: calc(var(--gift-floor) + var(--gift-box-width) * .716);
  width: calc(var(--gift-box-width) * 1.075);
  aspect-ratio: 763 / 530;
  background-position: 90.208% 58.544%;
  background-size: 232.503% 167.358%;
  transform: scaleY(.62);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 2px 3px #1b251e8c);
}
.winter-wrap-light {
  position:absolute; z-index:1; left:26%; bottom:34%; width:45%; height:50%; opacity:0;
  background:linear-gradient(60deg,transparent 29%,#f7dfa140 45%,#fff2ca52 49%,transparent 70%);
  mask-image:linear-gradient(to top,#000,transparent 94%); transform-origin:70% 90%; mix-blend-mode:screen;
}
.winter-wrap-spark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 53%;
  width: 2.5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe7a0;
  box-shadow: 0 0 5px #ffda74;
  opacity: 0;
}
.winter-gift-shade[data-stage="opening"] .winter-wrap-lid {
  animation: winter-wrap-lift 1210ms 150ms cubic-bezier(.26,.51,.25,1) both;
}
.winter-gift-shade[data-stage="opening"] .winter-wrap-light { animation:winter-wrap-light 1150ms 300ms ease both; }
.winter-gift-shade[data-stage="opening"] .winter-wrap-spark {
  animation: winter-wrap-spark 940ms calc(565ms + var(--delay)) ease-out both;
}
.winter-gift-shade[data-stage="opening"] .winter-gift-presentation {
  animation: winter-present-settle 730ms 1220ms ease-out both;
}
.winter-gift-dialog [hidden] { display: none; }
.winter-native-loot {
  position: absolute;
  inset: 18px 10px;
  z-index: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 125px);
  align-content: center;
  justify-content: center;
  gap: 8px;
  visibility: hidden;
}
.winter-gift-shade:is([data-stage="opening"], [data-stage="revealed"]) .winter-native-loot {
  visibility: visible;
}
.winter-native-loot > article {
  --emerge-x: min(17vw, 65px);
  --arrival-delay: 0ms;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-height: 139px;
  padding: 6px;
  isolation: isolate;
  color: #314f41;
  text-align: center;
}
.winter-native-loot > article + article { --emerge-x: max(-17vw, -65px); --arrival-delay: 85ms; }
.winter-native-loot > article:only-child { --emerge-x: 0px; }
.winter-native-loot > article::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid #d1b275;
  border-radius: 9px;
  background: radial-gradient(ellipse at 50% 22%, #fffdf4, transparent 62%), linear-gradient(#fcf1d5, #e9d5a9);
  box-shadow: inset 0 0 0 2px #fff2d371, 0 4px 18px #141c16a0;
}
.winter-gift-shade[data-stage="opening"] .winter-native-loot > article {
  animation: winter-loot-rise 1040ms calc(765ms + var(--arrival-delay)) cubic-bezier(.17,.61,.27,1) both;
}
.winter-gift-shade[data-stage="opening"] .winter-native-loot > article::before,
.winter-gift-shade[data-stage="opening"] .winter-native-loot :is(strong, small) {
  animation: winter-loot-settle 640ms calc(1135ms + var(--arrival-delay)) ease-out both;
}
.winter-native-loot .winter-native-art { width: 68px; height: 68px; }
.winter-native-loot .winter-reward-art { width: 68px; height: 68px; }
.winter-native-intro-prize .winter-reward-art { width: 36px; height: 36px; }
.winter-native-loot strong { font: 600 24px/1 Georgia, serif; }
.winter-native-loot small { color: #605738; font: 550 11px/1.25 Interface, sans-serif; }
.winter-gift-actions { display: grid; min-height: 40px; }
.winter-gift-shade[data-stage="revealed"] .winter-gift-actions > button { animation: winter-loot-settle 260ms ease-out both; }
.winter-gift-dialog .world-mini-primary {
  min-height: 40px;
  border-color: #305c4d;
  background: linear-gradient(135deg, #47725b, #2f5749);
  color: #fffdf0;
  font: 700 13px/1.2 Interface, sans-serif;
}
.winter-gift-dialog .world-mini-primary:disabled { opacity: .66; }
@keyframes winter-gift-enter {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes winter-fog-drift { to { transform: translate(5%, -3%) scale(1.13); } }
@keyframes winter-wrap-lift {
  0% { transform: scaleY(.62); opacity: 1; }
  58% { transform: translate(-3px, -34px) rotate(-3deg) scaleY(.62); opacity: 1; }
  100% { transform: translate(-14px, -70px) rotate(-8deg) scaleY(.62); opacity: 0; }
}
@keyframes winter-wrap-light { 0%,100% {opacity:0} 54% {opacity:.75;transform:skewX(-8deg)} }
@keyframes winter-wrap-spark {
  from { opacity: 0; transform: translate(0, 0) scale(.58); }
  27% { opacity: .95; transform: translate(calc(var(--arc-x) * .36), calc(var(--arc-y) * -.5)); }
  to { opacity: 0; transform: translate(var(--arc-x), calc(var(--arc-y) * -1)) scale(.65); }
}
@keyframes winter-present-settle { from { opacity: 1; } to { opacity: 0; } }
@keyframes winter-loot-rise {
  from { opacity: 0; transform: translate(var(--emerge-x), 16px) scale(.24); }
  28% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes winter-loot-settle { from { opacity: 0; } to { opacity: 1; } }
.winter-gift-still * { animation: none !important; }

@media (max-width: 350px) {
  .winter-day-line { gap: 6px; }
  .winter-day-line > :is(.world-mini-primary, .world-mini-secondary) { padding-inline: 6px; }
  #world.guardian-expanded .winter-native-calendar { padding: 9px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .winter-gift-shade *,
  .winter-native-interactions * { animation: none !important; }
}

/* Fixed event damage occupies its own fact; energy keeps its native place on other skills. */
.vg-skill-peek-facts .vg-peek-resource { display:inline-flex;align-items:center;gap:4px; }
.vg-peek-resource img { width:14px;height:14px;object-fit:contain; }
.battle-log-toggle small.journal-has-new.journal-winter-unread { color:#fff!important;background:linear-gradient(130deg,#267ba4,#14608f)!important;border-color:#67c6e5;box-shadow:0 0 4px #4eabd985; }
#battle-root .kind-winter-sugrobych :is(.card-name,.unit-name,.enemy-card-main>strong),
#combat-profile:has(img[data-winter-pose]) .combat-name-text,
.battle-inspection:has([data-winter-full]) #battle-inspection-title,
.monster-relic-surface:has(.monster-card-portrait img[src*="/techniques/poses/"]) h2,
.winter-sugrobych-name,
.log-entry .winter-boss-ink {
  color:#17698f!important;background-image:linear-gradient(108deg,#07537a 13%,#087bb2 34%,#45b7d5 47%,#176ca0 59%,#104c78 81%);
  background-size:210% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
  animation:winter-name-light 3.6s ease-in-out infinite alternate;
}
@keyframes winter-name-light { from{background-position:0% 50%} to{background-position:100% 50%} }
.winter-preview.card-field #battle-root .battle-unit {
  --winter-rim:#bdbea8;--winter-edge:#f8f8e9;--winter-shadow:#5c654a24;
  border-color:var(--winter-rim)!important;border-radius:14px!important;
  box-shadow:inset 0 0 0 1px var(--winter-edge),0 1px 4px var(--winter-shadow)!important;
}
.winter-preview.card-field #battle-root .monster-unit.selected {
  --winter-rim:#ad6258;--winter-edge:#edcbc4;--winter-shadow:#ad625840;
  box-shadow:inset 0 0 0 1px var(--winter-edge),0 1px 4px var(--winter-shadow)!important;
}
.winter-preview.card-field #battle-root .battle-unit.selection-selected:not(.monster-unit) {
  --winter-rim:#4e7965;--winter-edge:#d2e7c7;--winter-shadow:#4e79655c;
  box-shadow:inset 0 0 0 1px var(--winter-edge),0 1px 4px var(--winter-shadow)!important;
}
.winter-preview.card-field #battle-root .battle-unit>.card-face { border-radius:inherit; }
.winter-preview.card-field #battle-root .battle-unit>.card-face::before {
  content:none;border:0;border-image:none;background:none;
}
.winter-preview.card-field #battle-root .battle-unit>.card-face::after {content:none;border:0;border-image:none;background:none;box-shadow:none;}
.winter-preview.card-field #battle-root .battle-unit::after {
  content:'';display:block!important;position:absolute;inset:-5px;z-index:4;
  box-sizing:border-box;pointer-events:none;opacity:1;border:0 solid transparent;border-radius:19px;
  border-image:url('art/events/winter-2026/parcels/advent-battle-frame.webp') 64 / 24px / 0 stretch;
  background:none;box-shadow:none;animation:none;transform:none;clip-path:none;
}
.winter-preview.card-field #battle-root .battle-unit>.card-corners { display:none; }
.winter-preview.card-field #battle-root .monster-unit.kind-winter-sugrobych.selected {--winter-rim:#397797;--winter-edge:#c0e4eb;--winter-shadow:#39779761;}
.winter-preview #battle-root .combat-effect-icon[data-effect-kind^="winter-"] img { display:block;object-fit:contain;min-width:15px;min-height:15px;border-radius:3px; }
#combat-profile .combat-player-name .player-identity-badge { width:21px!important;min-width:21px;height:23px!important;max-height:23px!important;filter:none;opacity:1;object-fit:contain; }
#combat-profile .combat-player-name .player-identity-badges { gap:3px;margin-right:5px; }
#battle-root .log-entry[data-cue="winter-guest"] .journal-joined,#battle-root .journal-joined.winter-ward-result { display:block;margin:3px 0 0 3px;padding:2px 0 1px 8px;border-left:2px solid #8cbaca;color:#345c6b; }
.winter-summon-reveal {position:absolute;z-index:3;inset:0;overflow:hidden;display:block;pointer-events:none;border-radius:inherit;isolation:isolate;--mist:#c4e5e5;--angle:0deg;--left:-29%;--rise:-8%;--turn:-16deg;}
.winter-summon-reveal::before {content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,#fdf8dc 10%,var(--mist) 58%,#56757c);}
.winter-summon-reveal img {position:absolute!important;inset:5%!important;width:90%!important;height:90%!important;object-fit:contain!important;clip-path:polygon(0 0,52% 0,45% 43%,55% 61%,47% 100%,0 100%);}
.winter-summon-reveal img+img {clip-path:polygon(52% 0,100% 0,100% 100%,47% 100%,55% 61%,45% 43%);}
.winter-summon-reveal[data-reveal="letter"] {--mist:#dfb989;--rise:-24%;--turn:-8deg;}
.winter-summon-reveal[data-reveal="letter"] img:first-child {clip-path:polygon(0 0,100% 0,50% 61%);transform-origin:50% 8%;}
.winter-summon-reveal[data-reveal="letter"] img+img {clip-path:polygon(0 0,50% 61%,100% 0,100% 100%,0 100%);}
.winter-summon-reveal[data-reveal="glass"] {--mist:#9fcddd;--turn:-33deg;--rise:-32%;}
.winter-summon-reveal[data-reveal="gate"] {--mist:#b2c8bf;--left:-45%;--turn:-5deg;}
.winter-summon-reveal[data-reveal="fold"] {--mist:#c5b6bc;--turn:-34deg;--rise:16%;}
.winter-summon-reveal[data-reveal="plume"] {--mist:#e2c1b4;--rise:-40%;--turn:-28deg;}
.winter-summon-reveal[data-reveal="light"] {--mist:#f3d68d;--left:-13%;--rise:-25%;}
.winter-summon-reveal[data-reveal="bell"] {--mist:#e3c999;--turn:-40deg;--rise:-3%;}
.winter-summon-reveal.is-open::before {animation:winter-guest-mist .58s ease-out both;}
.winter-summon-reveal.is-open img {animation:winter-guest-left .58s ease-in-out both;}
.winter-summon-reveal.is-open img+img {animation-name:winter-guest-right;}
@keyframes winter-guest-mist {0%,22%{opacity:1}100%{opacity:0}}
@keyframes winter-guest-left {0%{opacity:0;transform:scale(.76)}19%,30%{opacity:1;transform:none}100%{opacity:0;transform:translate(var(--left),var(--rise)) rotate(var(--turn)) scale(.75)}}
@keyframes winter-guest-right {0%{opacity:0;transform:scale(.76)}19%,30%{opacity:1;transform:none}100%{opacity:0;transform:translate(calc(-1 * var(--left)),calc(-1 * var(--rise))) rotate(calc(-1 * var(--turn))) scale(.75)}}
@media(prefers-reduced-motion:reduce){.winter-summon-reveal{display:none}}
.winter-mirror-flash { position:absolute;inset:0;z-index:3;pointer-events:none;border:1px solid #a5ddec;border-radius:6px;background:linear-gradient(125deg,#93c5da11,#edfaff94 46%,#8bb1ce30 55%,transparent 68%); }
@media(prefers-reduced-motion:reduce) { .log-entry .winter-boss-ink,#battle-root .kind-winter-sugrobych :is(.card-name,.unit-name,.enemy-card-main>strong),#combat-profile .combat-name-text,#battle-inspection-title { animation:none!important; } }
.log-entry.log-winter.journal-rime{border-inline-start:3px solid #419ec4;background:linear-gradient(92deg,#d7eef7,#edf6f7 83%);color:#285363}
.log-entry.journal-rime :is(.journal-hit,.journal-hurt,.journal-area-total,.journal-focus){color:#126285}
.log-entry.journal-rime .log-symbol{background-color:#d9edf3;color:#126285}
.card-field #battle-root .card-portrait:has(>img[src*="/techniques/avatars/"]),
.card-field #battle-root #combat-profile>img.enemy-portrait[src*="/techniques/avatars/"],
#battle-root .enemy-card-main>img[src*="/techniques/avatars/"],
#battle-root .card-event-avatar>img[src*="/techniques/avatars/"] {
  background:transparent!important;border:1px solid #d9c9a7!important;border-radius:7px;box-shadow:inset 0 0 0 1px #fff8df52!important;
}
#battle-root :is(#combat-profile,.enemy-card-main):has(>img[data-winter-pose]),.inspection-figure:has(>img[data-winter-full]) { position:relative; }
.winter-portrait-fade { position:absolute;z-index:1;pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:contain; }
.card-field #battle-root :is(.card-portrait,#combat-profile)>img[src*="/techniques/avatars/"] {
  object-fit:contain!important;object-position:center!important;padding:0!important;
}
.item-dossier .item-dossier-status.winter-gift-status { display:grid;gap:6px;align-items:start;padding-block:8px; }
.winter-boot-facts,.winter-boot-tags,.winter-gift-properties { display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0; }
 .winter-boot-facts { justify-content:space-between;gap:6px 12px; }
.item-dossier .winter-boot-facts .item-requirements { display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0; }
.winter-gift-properties strong,.item-dossier .winter-gift-properties .winter-indestructible { color:#48644f;font:500 11px/1.3 Interface,sans-serif; }
.winter-gift-properties { column-gap:7px; }
.item-dossier .winter-gift-properties .winter-indestructible { min-height:20px;height:auto;width:auto;padding:2px 6px;margin:0;box-sizing:border-box;border:1px solid #b8c5aa;border-radius:5px;background:#eff2e6;box-shadow:none;cursor:pointer; }
.winter-indestructible:focus-visible,.winter-provision-pages button:focus-visible { outline:2px solid #427567;outline-offset:1px; }
.item-dossier .winter-boot-tags > :is(.item-personal-note,.item-requirement) { display:inline-flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;min-height:21px;height:21px;width:auto;margin:0;padding:2px 6px;border:1px solid #c9d3b5;border-radius:5px;background:#f2f4e8;color:#43604a;box-shadow:none;font:600 10px/1.1 Interface,sans-serif;white-space:nowrap; }
.item-dossier .winter-boot-tags > .item-personal-note { border-color:#d9c6a2;background:#faf2df;color:#776341; }
.item-dossier .item-dossier-status.winter-tonic-status {
  display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;gap:4px 6px;padding-block:7px;
}
.item-dossier .winter-tonic-status > :first-child { display:inline-flex;align-items:center;gap:4px; }
.item-dossier .winter-tonic-status > .winter-expiry { display:inline-flex;align-items:center;width:auto;min-height:18px;min-width:0;margin:0;padding:2px 6px;box-sizing:border-box;border:1px solid #cad8b8;border-radius:5px;background:#f2f6ea;box-shadow:none;color:#537455;font:650 9px/1.18 Interface,sans-serif; }
.item-dossier :is(.winter-tonic-status,.winter-gift-status) > :is(button,.item-personal-note) { cursor:pointer;text-underline-offset:3px; }
.item-dossier :is(.winter-tonic-status,.winter-gift-status) > :is(button,.item-personal-note):is(:hover,:focus-visible) { text-decoration:underline dotted #68836e; }
.item-dossier .winter-equipment-bonus img { width:15px;height:15px;object-fit:contain; }
.item-dossier:has(.winter-tonic-status) .potion-properties { gap:4px; }
.item-dossier:has(.winter-tonic-status) .potion-property { box-sizing:border-box;min-width:0;min-height:25px;height:25px;gap:4px;padding:2px 6px;border-radius:5px;font-size:11px; }
.item-dossier:has(.winter-tonic-status) .potion-property>img { width:17px;height:17px; }
@media(max-width:340px) {
  .item-dossier .item-dossier-status.winter-tonic-status { column-gap:4px; }
}
.winter-damage-term { display:inline!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:inherit!important;color:#286e82;text-decoration:underline dotted;text-underline-offset:2px;cursor:pointer; }
#winter-damage-detail { z-index:2147482100;padding:9px 11px;background:#fdf8ec;color:#385344;border:1px solid #cdbf9d;border-radius:8px;box-shadow:0 5px 16px #20373030; }
#winter-damage-detail header { display:flex;align-items:center;gap:6px;border-bottom:1px solid #d9d0b6;padding-bottom:4px; }
#winter-damage-detail header h3 { display:flex;align-items:center;gap:5px;flex:1;margin:0;font-size:14px; }
#winter-damage-detail header img {width:20px;height:20px;object-fit:contain;}
#winter-damage-detail p {margin:6px 0 0;font:400 12px/1.42 Interface,sans-serif;}
.valgard-effect-note.winter-damage-popover { animation:winter-note-in .18s ease-out both; }
@keyframes winter-note-in {from{opacity:0;translate:0 3px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.valgard-effect-note.winter-damage-popover{animation:none}}
.item-dossier .winter-tonic-status > .item-personal-note,.item-dossier .winter-boot-tags > .item-personal-note,.item-dossier:has([data-grant-note]) .item-personal-note { display:inline-flex;align-items:center;box-sizing:border-box;min-height:16px;height:18px;max-height:20px;margin:0;padding:2px 6px;font:500 9px/1.12 Interface,sans-serif; }
.item-dossier .winter-boot-tags > :is(.item-requirement,.item-personal-note),.item-dossier .winter-tonic-status > :is(.winter-expiry,.item-personal-note){min-height:18px;height:18px;max-height:18px;box-sizing:border-box}
.winter-expiry{font-variant-numeric:tabular-nums}
.item-dossier .winter-gift-status .winter-boot-facts { justify-content:flex-start;gap:4px 8px; }
.item-dossier .winter-gift-status .winter-gift-properties { gap:6px; }
.item-dossier .winter-gift-status .winter-gift-properties strong { padding-right:6px;border-right:1px solid #c8bfa8; }
.item-dossier .winter-gift-status .winter-boot-tags { border-left:1px solid #c8bfa8;padding-left:7px;gap:4px; }
.item-dossier .winter-gift-status :is(.item-requirement,.item-personal-note),.item-dossier .winter-gift-status .winter-gift-properties strong,
.item-dossier .item-dossier-status .item-personal-note,.item-dossier .item-dossier-status .winter-expiry {
 box-sizing:border-box;font:600 9px/1.16 Interface,sans-serif;white-space:nowrap; }
.item-dossier .winter-gift-status :is(.item-requirement,.item-personal-note),.item-dossier .item-dossier-status :is(.item-personal-note,.winter-expiry) {
 display:inline-flex;align-items:center;width:auto;height:16px;max-height:16px;min-height:16px;margin:0;padding:1px 5px;border-radius:4px; }
.item-dossier .winter-gift-status .winter-equipment-bonus img {width:12px;height:12px;}

.winter-provisions {
  display:grid; gap:7px; margin:8px 0; padding:10px; min-width:0; border:1px solid #d1bf97; border-radius:8px;
  background:linear-gradient(120deg,#fff9eb,#eeeddf); color:#304f45;
}
 .winter-provisions > strong { font:600 15px/1.2 Georgia,serif; }
.winter-item-sheet {
  position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,440px);max-width:100vw;max-height:min(80dvh,590px);
  box-sizing:border-box;padding:7px 14px max(12px,env(safe-area-inset-bottom));border:1px solid #ac9466;
  border-bottom:0;border-radius:19px 19px 0 0;background:linear-gradient(164deg,#fffcf1,#f6eedc 74%,#f1e6ce);
  box-shadow:0 -5px 28px #142b2c50,inset 0 2px #fff9e5;color:#2e5148;
}
.winter-item-sheet[open] {display:flex;flex-direction:column;gap:8px;overflow:hidden;animation:winter-sheet-up .32s cubic-bezier(.2,.78,.22,1);}
.winter-item-sheet::backdrop {background:#122c2b73;}
.winter-sheet-grip {flex:none;margin:0 auto;width:33px;height:3px;border-radius:4px;background:#b8a67e;}
.winter-item-sheet > header {display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:9px;padding:0 0 7px;border-bottom:1px solid #d2c19a;}
.winter-sheet-emblem {width:38px;height:38px;object-fit:contain;}
.winter-item-sheet h2 {margin:0;color:#2d5046;font:600 clamp(17px,5vw,21px)/1.16 Georgia,serif;}
.winter-item-sheet .icon-button {width:36px;min-width:36px;height:36px;margin:0;}
.winter-sheet-search {display:flex;align-items:center;gap:9px;flex:none;padding:0 9px;border:1px solid #c6b795;border-radius:7px;background:#fffdf5;}
.winter-sheet-search::before {content:'';width:10px;height:10px;box-sizing:border-box;border:1.7px solid #758676;border-radius:50%;background:transparent;box-shadow:4px 4px 0 -3px #758676;}
.winter-sheet-search:focus-within {outline:2px solid #518475;outline-offset:1px;}
.winter-sheet-search input {min-width:0;width:100%;height:37px;box-sizing:border-box;border:none;background:transparent;outline:0;color:#2f4941;font:400 14px/1.3 Interface,sans-serif;}
.winter-item-sheet footer {display:grid;gap:6px;flex:none;margin:0;padding-top:8px;border-top:1px solid #cfbd97;}
.winter-item-sheet :is(footer p,.winter-object-options p) {margin:0;color:#5e664f;font:400 12px/1.35 Interface,sans-serif;}
.winter-item-sheet footer button {width:100%;min-height:41px;margin:0;}
.winter-object-options {min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b6aa88 transparent;padding:1px 3px;}
.winter-object-options button {
  box-sizing:border-box;display:grid;grid-template-columns:39px minmax(0,1fr) 15px;align-items:center;gap:9px;
  width:100%;min-height:48px;margin:0;padding:4px 8px;text-align:left;border:0;border-bottom:1px solid #d7c9aa;
  border-radius:0;background:transparent;box-shadow:none;color:#344e44;cursor:pointer;
}
.winter-object-options button:hover {background:#f0e9d5;}
.winter-object-options button[aria-pressed="true"] {border-radius:6px;background:linear-gradient(90deg,#d9e7d9,#eaf0df);box-shadow:inset 3px 0 #547a65;}
.winter-object-options button:focus-visible {outline:2px solid #438477;outline-offset:-2px;}
.winter-object-options img {width:37px;height:37px;object-fit:contain;justify-self:center;}
.winter-object-options button > span {display:grid;min-width:0;gap:2px;}
.winter-object-options strong {overflow-wrap:anywhere;font:600 13px/1.21 Interface,sans-serif;}
.winter-object-options small {color:#66705e;font:400 11px/1.22 Interface,sans-serif;}
.winter-sheet-check {width:13px;height:13px;box-sizing:border-box;border:1px solid #a9b19e;border-radius:50%;}
.winter-object-options button[aria-pressed="true"] .winter-sheet-check {background:#486f5d;border-color:#486f5d;color:white;text-align:center;font:700 10px/12px Interface,sans-serif;}
.winter-object-options button[aria-pressed="true"] .winter-sheet-check::after {content:'✓';}
.winter-item-sheet[data-catalog="gear"] .winter-object-options button[data-winter-choice] {
  grid-template-columns:38px minmax(0,1fr) 15px;gap:9px;min-height:48px;padding:4px 8px;margin-bottom:3px;
  border:1px solid #d7c9a8;border-radius:7px;background:linear-gradient(105deg,#fffaf0,#f6efde);
}
.winter-item-sheet[data-catalog="gear"] .winter-object-options button[data-winter-choice]>img {
  box-sizing:border-box;width:34px;height:36px;padding:2px;background:radial-gradient(ellipse at 50% 65%,#e9dfc2,transparent 73%);
}
.winter-item-sheet[data-catalog="gear"] .winter-object-options button[aria-pressed="true"] {
  border-color:#8ea893;background:linear-gradient(105deg,#e3eee1,#f0f0de);
}
.winter-object-options .winter-sheet-more {
  display:flex;align-items:center;justify-content:center;gap:8px;margin:7px auto 3px;width:fit-content;max-width:100%;
  min-height:34px;padding:3px 15px;border:1px solid #cabb94;border-radius:7px;
  background:linear-gradient(#fffdf2,#eee5ce);box-shadow:inset 0 1px #fffdf9,0 1px 1px #735d3624;
  color:#405e4b;font:600 12px/1.2 Interface,sans-serif;text-align:center;
}
.winter-sheet-more::after {content:"";width:6px;height:6px;border:solid #74866c;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);}
@media(pointer:coarse){.winter-object-options .winter-sheet-more{min-height:40px;}}
@keyframes winter-sheet-up { from{transform:translateY(100%)} to{transform:translateY(0)} }
.winter-item-sheet.winter-sheet-still { animation:none; }
.winter-provisions { grid-template-columns:minmax(0,1fr); }
.winter-provision-shelf { display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%; }
.winter-provision-track { overflow:hidden;min-width:0;padding:0;background:transparent;border:0; }
.winter-provision-rail { display:flex;width:100%; }
.winter-provision-slide { flex:0 0 100%;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;min-height:52px;background:transparent; }
.winter-provision-slide img { flex:none;width:44px;height:44px;object-fit:contain;background:transparent;border:0;box-shadow:none; }
.winter-provision-slide > div { display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:3px; }
.winter-provision-slide :is(strong,small) { min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:start; }
.winter-provision-slide strong { font:650 13px/1.2 Interface,sans-serif; }
.winter-provision-slide small { color:#746b53;font:500 11px/1.25 Interface,sans-serif; }
.winter-provision-pages { display:flex;align-items:center;justify-content:center;gap:1px;min-height:23px; }
.winter-provision-pages button { display:grid;place-items:center;width:29px;height:20px;padding:0;border:0;background:none;box-shadow:none;cursor:pointer; }
.winter-provision-pages button > span { display:block;width:6px;height:6px;border-radius:6px;background:#9c997c;transition:width .2s ease; }
.winter-provision-pages button[aria-pressed="true"] > span { width:15px;background:#426f5b; }
.item-dossier .winter-parcel-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.item-dossier .winter-parcel-actions > button { grid-column:auto;width:100%;margin:0;min-width:0; }
.winter-parcel-result { width:min(calc(100% - 30px),318px);padding:12px;box-sizing:border-box;border:1px solid #cba262;border-radius:12px;background:#faf3df;color:#294e42;box-shadow:0 10px 32px #132a30a0; }
.winter-parcel-result::backdrop { background:#1a303bcc;backdrop-filter:blur(4px); }
.winter-parcel-result[open] { display:grid;gap:9px;animation:winter-gift-enter .25s ease both; }
.winter-parcel-result h2 { margin:1px 0 2px;text-align:center;font:600 21px/1.2 Georgia,serif; }
.winter-parcel-result-scene { position:relative;isolation:isolate;overflow:hidden;min-height:184px;border:1px solid #af986b;border-radius:7px;background:linear-gradient(180deg,#243b4730,#1630385c),#364e5c url('art/events/winter-2026/advent-interior.webp') center / cover; }
.winter-parcel-result-scene > img { position:absolute;left:50%;bottom:7px;width:112px;height:112px;translate:-50% 0;object-fit:contain; }
.winter-pouch-open { opacity:0; }
.winter-parcel-result-loot { position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:4px;padding:7px; }
.winter-parcel-result-loot > div { flex:1;min-width:0;display:grid;justify-items:center;gap:4px;text-align:center; }
.winter-parcel-result-loot img { width:54px;height:54px;object-fit:contain; }
.winter-parcel-result-loot strong { padding:3px 5px;border-radius:4px;background:#f8efd9f2;color:#344c41;font:600 11px/1.2 Interface,sans-serif; }
.winter-parcel-result-scene .winter-parcel-result-loot { inset:12px 4px auto;opacity:0; }
.winter-parcel-result-loot strong { min-width:25px;padding:2px 6px;border:1px solid #cbb389;border-radius:7px;background:#f8eed9;color:#354f43;font:650 12px/1.15 Interface,sans-serif;font-variant-numeric:tabular-nums; }
.winter-parcel-result-scene .winter-parcel-cover { position:absolute;left:50%;bottom:1px;width:150px;height:136px;translate:-50% 0;object-fit:contain;pointer-events:none; }
.winter-parcel-result-scene .winter-parcel-result-loot { inset:10px 8px auto;opacity:0; }
.winter-parcel-result-scene.is-playing .winter-parcel-result-loot { opacity:1; }
.winter-parcel-result-scene.is-playing .winter-parcel-result-loot>div { animation:winter-parcel-lift .79s calc(.97s + var(--drop-index)*.12s) cubic-bezier(.22,.65,.26,1) both; }
.winter-parcel-result-scene:is([data-parcel=roll],[data-parcel=purse]).is-playing .winter-parcel-result-loot>div {animation-duration:.62s;animation-delay:calc(.73s + var(--drop-index)*.09s);}
.winter-parcel-result-scene[data-parcel=record].is-playing .winter-parcel-result-loot>div { animation-delay:1.02s; }
@keyframes winter-parcel-lift {
 from { opacity:0;transform:translate(var(--origin-x,0px),88px) scale(.34) rotate(-8deg); }
 32% { opacity:1; } 78% { transform:translateY(-3px) scale(1.025) rotate(1deg); }
 to {opacity:1;transform:none;}
}
.winter-parcel-still[open],.winter-parcel-still .winter-parcel-result-scene.is-playing * { animation-duration:1ms!important;animation-delay:0ms!important; }
@media(prefers-reduced-motion:reduce) {
  .winter-parcel-result[open],.winter-parcel-result-scene.is-playing *,.winter-gift-shade::backdrop { animation-duration:1ms!important;animation-delay:0ms!important; }
}
.item-dossier-status > .winter-equipment-bonus { display:inline-flex;align-items:center;justify-content:center;gap:3px;margin:0;padding:2px 6px;min-width:0;min-height:19px;width:auto;background:#f3f5e8;border:1px solid #ccd5b7;border-radius:5px;color:#456649;font:600 10px/1.1 Interface,sans-serif; }
.winter-gift-shade[data-stage="opening"] .winter-native-loot img{animation:winter-present-turn 750ms 830ms cubic-bezier(.18,.72,.3,1) both}
@keyframes winter-present-turn{from{opacity:0;transform:translateY(9px) scale(.74) rotate(-6deg)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.winter-gift-shade[data-stage="opening"] .winter-native-loot img{animation:none}}
.winter-book-trace {position:fixed;z-index:8;pointer-events:none;overflow:hidden;}
.winter-book-trace i {position:absolute;left:50%;display:block;pointer-events:none;}
.winter-ink-origin,.winter-ink-seal {width:17%;aspect-ratio:1;border:1px solid #7fbbda;border-radius:50%;box-shadow:0 0 6px #82bad4,inset 0 0 5px #baf1ff;translate:-50% -50%;opacity:0;}
.winter-ink-origin {top:var(--origin);animation:winter-seal-wake .6s ease-out both;}
.winter-ink-wire {top:var(--wire-start);height:var(--wire-length);width:2px;translate:-50% 0;transform-origin:top;background:linear-gradient(#97c2cd,#e9fdff 65%,#589fbf);box-shadow:0 0 4px #80c5e5;animation:winter-wire-wake .62s .25s ease-out both;}
.winter-ink-star {top:var(--wire-start);width:6%;aspect-ratio:1;translate:-50% -50%;background:url('art/events/winter-2026/techniques/guests/rime.webp') center/contain no-repeat;animation:winter-star-run .7s .23s ease-in-out both;}
.winter-ink-seal {top:var(--seal);width:13.5%;animation:winter-seal-wake .69s .85s ease-out both;}
@keyframes winter-wire-wake {from{scale:1 0;opacity:0}16%{opacity:1}84%{opacity:1}to{scale:1 1;opacity:.5}}
@keyframes winter-star-run {from{opacity:0;rotate:-24deg}20%{opacity:1}86%{opacity:1}to{opacity:0;rotate:25deg;top:calc(var(--wire-start) + var(--wire-length))}}
@keyframes winter-seal-wake {from{opacity:0;scale:.9}30%{opacity:1}to{opacity:0;scale:1.15}}
@media(prefers-reduced-motion:reduce){.winter-book-trace{display:none}}

.winter-record-counter{display:grid;justify-items:center;align-content:center;gap:8px;padding:14px;color:#244f46;text-align:center;background:#faf4e2 url('art/events/winter-2026/dialogue/advent.webp') center/cover;border:1px solid #b99b67;border-radius:9px;isolation:isolate;position:relative;overflow:hidden}
.winter-record-counter:before{content:"";position:absolute;inset:0;background:#fff8e5db;z-index:-1}.winter-record-counter img{height:84px;max-width:55%;object-fit:contain}.winter-record-counter h3,.winter-record-counter p{margin:0}.winter-record-counter p{max-width:29ch}.winter-record-counter button{width:min(100%,230px);margin-top:5px}
.winter-native-painted-hit.winter-record-hit{width:12%;height:9%}
.winter-headphone-offer{position:fixed;z-index:90;right:max(8px,env(safe-area-inset-right));max-width:calc(100vw - 16px);box-sizing:border-box;border:1px solid #a18d64;border-radius:11px;background:#fbf5e6;color:#2a4b43;box-shadow:0 4px 17px #172b3166}
.winter-audio-option{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0}.winter-audio-option small{display:block;font-size:10px;color:#66766e}
.winter-headphone-offer{top:max(12px,env(safe-area-inset-top));display:flex;align-items:center;gap:9px;padding:11px;width:306px;z-index:96;background:linear-gradient(125deg,#edf2e7,#fff4dc);animation:winter-headphone-in .28s ease-out}
.winter-headphone-offer>img{width:48px;height:48px;object-fit:contain}.winter-headphone-offer p{font-size:12px;margin:3px 0 7px}.winter-headphone-offer button{padding:4px 9px;min-height:31px;margin:0 4px 0 0}.winter-headphone-offer button:first-child{background:#315f52;color:#fff9e6}
@keyframes winter-headphone-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (min-width:660px) and (pointer:coarse) {
  .card-field #battle-root .spell-panel-battle>.battle-console {
    width:min(100%,620px);max-width:100%;margin-inline:auto;justify-self:center;
  }
}
@media (min-width:660px) and (orientation:landscape) and (pointer:coarse) {
  #app:not(.map-expanded) #world:not(.guardian-expanded):not(.in-dungeon) {
    --world-side:clamp(300px,41%,465px);
  }
  #app:not(.map-expanded) #world:not(.guardian-expanded):not(.in-dungeon)>#map {
    inset:calc(var(--world-header-height,57px) - 6px) var(--world-side) 0 0 !important;width:auto;height:auto;
  }
  #app:not(.map-expanded) #world:not(.guardian-expanded):not(.in-dungeon)>#destination {
    inset:calc(var(--world-header-height,57px) - 1px) 0 0 auto !important;width:var(--world-side)!important;
    height:auto!important;max-height:none;min-height:0;box-sizing:border-box;border:1px solid #d9d0b5;border-radius:12px 0 0 0;
    clip-path:inset(0 round 12px 0 0 0);
  }
  #app:not(.map-expanded) #world.guardian-expanded>#destination {
    inset:0!important;width:100%!important;height:100%!important;max-height:none;
  }
}
.vg-vitals.is-open:has(.winter-vitals-player:not([hidden])) .vg-vitals-body {width:clamp(207px,60vw,244px);max-width:calc(100vw - 40px);padding:9px 11px 7px;gap:7px;background:linear-gradient(125deg,#fffcf1f7,#fcf5e7f5);border-color:#c8b78f;box-shadow:0 3px 13px #30291b35,inset 0 0 0 2px #fffaf0;}
.winter-vitals-player[hidden] {display:none;}
.winter-vitals-player {display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:5px 8px;padding-top:8px;border-top:1px solid #d2c3a3;color:#345649;}
.winter-vitals-disc {width:35px;height:35px;display:grid;place-items:center;}
.winter-vitals-disc img {width:100%;height:100%;object-fit:contain;animation:winter-record-turn 4s linear infinite;animation-play-state:paused;}
.winter-vitals-player.is-playing .winter-vitals-disc img {animation-play-state:running;}
@keyframes winter-record-turn {to{transform:rotate(1turn)}}
.winter-vitals-music-copy {display:grid;gap:2px;min-width:0;}
.winter-vitals-music-copy strong {font:600 12px/1.2 Georgia,serif;overflow-wrap:anywhere;color:#304d42;}
.winter-vitals-music-copy small,.winter-vitals-time {font:500 10px/1.25 Interface,sans-serif;color:#686d55;}
.winter-vitals-position {grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;}
.winter-vitals-time {white-space:nowrap;font:600 10px/1.35 Interface,sans-serif;font-variant-numeric:tabular-nums;color:#625637;}
.winter-vitals-track {position:relative;height:4px;border-radius:4px;overflow:hidden;background:#d9cfae;box-shadow:inset 0 1px 1px #81734850;}
.winter-vitals-track i {position:absolute;inset:0;background:linear-gradient(90deg,#7a592d,#bf9348);transform-origin:left;transform:scaleX(var(--played,0));transition:transform .3s linear;}
.winter-vitals-transport {grid-column:1/-1;display:grid;grid-template-columns:1fr 1.14fr 1fr;align-items:center;gap:4px;margin:0 -1px -2px;}
.winter-vitals-transport button {position:relative;isolation:isolate;display:grid;place-items:center;box-sizing:border-box;width:100%;height:36px;min-height:0;margin:0;padding:0;border:0;background:transparent;border-radius:7px;box-shadow:none;color:#fff0c3;cursor:pointer;}
.winter-vitals-transport button::before {content:"";z-index:-1;position:absolute;inset:3px 0;border:7px solid transparent;border-image:url('art/events/winter-2026/parcels/gramophone-key.webp') 20 fill / 7px / 0 stretch;filter:drop-shadow(0 1px 1px #4d382d59);}
.winter-vitals-transport button[data-transport="play"]::before {inset:2px 0;}
.winter-vitals-transport button svg {width:14px;height:14px;filter:drop-shadow(0 1px .5px #112a25);}
.winter-vitals-transport button[data-transport="play"] svg {width:15px;height:15px;}
.winter-vitals-transport button:disabled {opacity:.48;cursor:default;}
.winter-vitals-transport button:not(:disabled):active {transform:translateY(1px);}
.winter-vitals-transport button:focus-visible {outline:2px solid #34796e;outline-offset:-1px;}
@media(pointer:coarse){.winter-vitals-transport button{height:44px;}}
@media(max-height:520px) and (orientation:landscape) {
  .vg-vitals.is-open:has(.winter-vitals-player:not([hidden])) .vg-vitals-body{position:relative;gap:3px;padding-block:5px;}
  .winter-vitals-player{gap:2px 6px;padding-top:4px;}
  .winter-vitals-disc{width:27px;height:27px;}
  .winter-vitals-music-copy strong{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.winter-vitals-disc img,.winter-item-sheet[open]{animation:none;}}
@media(prefers-reduced-motion:reduce){.winter-headphone-offer{animation:none}.winter-parcel-result-scene[data-record-box].is-playing *{animation-delay:0s!important;animation-duration:1ms!important}}

.winter-summon-sequence{background:none!important;overflow:visible!important;inset:-10%!important;}
.winter-summon-sequence::before{display:none!important;}
.winter-summon-sequence canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 2px #8bd9ed);}
.card-portrait.winter-is-forming>img{opacity:var(--winter-emerge,0)!important;}

#party-ready-root.winter-ready .party-ready-prompt{background:linear-gradient(155deg,#fffdf3,#e6f5f8);border-color:#9fc8d0;}
#party-ready-root.winter-ready .party-ready-emblem img{object-fit:contain;filter:drop-shadow(0 3px 5px #728c9c35);}

#party-ready-root.winter-ready .party-ready-prompt{position:relative;box-sizing:border-box;padding:22px 20px;border:1px solid #aacbd0;border-radius:18px;box-shadow:inset 0 0 0 3px #ffffff70,0 10px 30px #415d6620;}
#party-ready-root.winter-ready .winter-ready-settings{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:32px;height:32px;padding:4px;border:1px solid #bccdc2;border-radius:8px;background:#fffaf0;}
#party-ready-root.winter-ready .winter-ready-settings img{width:24px;height:24px;object-fit:contain;}
#party-ready-root.winter-ready .party-ready-actions>[hidden]{display:none!important;}
#party-ready-root.winter-ready.is-waiting .party-ready-no{grid-column:1/-1;width:100%;max-width:190px;justify-self:center;}


/* Ordinary active skills are sealed only in the winter boss encounter. */
#battle-root .winter-skill-sealed .combat-skill-art{position:relative;isolation:isolate;overflow:hidden;border-radius:7px;}
#battle-root .winter-skill-sealed .combat-skill-art>img{filter:grayscale(.6) brightness(.7);}
#battle-root .winter-skill-seal{position:absolute;inset:3px;display:block;z-index:4;pointer-events:none;}
#battle-root .winter-skill-seal svg{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 1px #294c5a);}
#battle-root .winter-skill-seal .seal-chains{fill:none;stroke:#b8cdd3;stroke-width:3.2;stroke-linejoin:round;}
#battle-root .winter-skill-seal circle{fill:#446e81;stroke:#d5edf1;stroke-width:1.5;}
#battle-root .winter-skill-seal .seal-snow{fill:none;stroke:#f0fbff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.winter-preview.card-field #battle-root .battle-unit::after{border-image-width:26px;filter:saturate(.55) brightness(1.18);}

.winter-nearby-heading{display:flex;flex-direction:column;gap:3px;padding:6px 0 9px;margin:0 0 8px;border-bottom:1px solid #b8d5dc;color:#326c7a;}
.winter-nearby-heading strong{font:600 14px/1.3 Georgia,serif;}
.winter-nearby-heading small{font:11px/1.3 Interface,sans-serif;color:#6c8687;}

.winter-preview.card-field #battle-root .card-event-back:not(.is-numeric-impact) .card-impact-content.attack{min-width:0;max-width:100%;justify-content:center;}
.winter-preview.card-field #battle-root .card-event-back:not(.is-numeric-impact) .card-impact-content.attack>b{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:normal;font-size:17px!important;line-height:1.15!important;text-align:center;}

/* Native thin boundary; no extra frame around the card. */
 .winter-preview.card-field #battle-root .battle-unit::after{content:none!important;display:none!important;border:0!important;border-image:none!important;box-shadow:none!important;}
 .winter-preview.card-field #battle-root .battle-unit{box-shadow:0 1px 4px #34536122!important;}
 .winter-preview.card-field #battle-root .battle-unit.selected,.winter-preview.card-field #battle-root .battle-unit.targeted{box-shadow:0 1px 4px #34536122!important;}
.winter-preview .opponent-presence-clock{font-variant-numeric:tabular-nums;font-size:10px;line-height:1.25;letter-spacing:.04em;color:#23647b;background:linear-gradient(#f4fcff,#dceef3);border:1px solid #a9cbd4;border-radius:4px;min-width:32px;justify-content:center;}
/* Local admin uses the same reward console and does not interrupt live fights. */
.winter-admin-boss-copy{display:flex;align-items:center;gap:12px;min-width:0;}
.winter-admin-boss-copy>img{width:58px;height:66px;flex:none;object-fit:contain;}
.winter-admin-boss-copy p{margin:5px 0 10px;font-size:12px;line-height:1.4;}
.winter-admin-boss>[data-winter-respawn-boss]{min-height:42px;}
/* Winter portraits share the same source as chat, profiles and world cards. */
.quest-conversation[data-speaker=hrodgar] .mentor-message:not(.is-self)::before{background-image:url('art/town-winter-20261130/hrodgar-avatar.webp')}
.quest-conversation[data-speaker=stigr] .mentor-message:not(.is-self)::before{background-image:url('art/town-winter-20261130/stigr-avatar.webp')}
