/* GENERATED FILE - DO NOT EDIT.
   Source: shared/kudos.css - run `npm run sync:shared` after editing. */

/* Kudos (owner 2026-11-04): borders, titles, the profile section (shared/kudos.js). */
.kd-face { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.kd-ring { position: relative; display: inline-block; padding: 3px; border-radius: 50%; overflow: hidden; line-height: 0; }
.kd-ring > img, .kd-ring > span:not(.kd-star):not(.kd-letter), .kd-ring > a, .kd-ring > button { position: relative; z-index: 1; display: block; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.kd-ring > .kd-letter { position: relative; z-index: 1; box-shadow: 0 0 0 2px #fff; }
.kd-ring img { display: block; object-fit: cover; }
/* Each level clearly above the last (owner 2026-11-05): stitched leather, silver compass, midnight and gold, shining gold, Legend */
.kd-bronze { background: #a7683a; }
.kd-bronze::after { content: ""; position: absolute; inset: 4%; border: 1.5px dashed #f0d9b5; border-radius: 50%; }
.is-small > .kd-bronze::after { display: none; }
.kd-silver { background: linear-gradient(135deg, #fff, #b9c4ca 45%, #6f7c84); }
.kd-gold { background: #14305f; box-shadow: inset 0 0 0 2px #d9a53a; }
.kd-early { background: conic-gradient(from 210deg, #2f8f7a, #f2bf42, #f0805a, #c8402e, #2f8f7a); }
.kd-mark { position: absolute; z-index: 2; top: -5px; left: 50%; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom: 10px solid #c8402e; }
.kd-sun { background: #c8402e !important; color: #ffe9a8; }
/* Pathfinder (owner 2026-11-06: it matched the Top holder's gold): a forest ring with gold compass marks and a green needle of light that sweeps round and pauses */
.kd-shine { background: #16352a; }
.kd-shine::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(#e9c46a 0 2.5deg, transparent 2.5deg 30deg); -webkit-mask: radial-gradient(closest-side, transparent 90%, #000 91%); mask: radial-gradient(closest-side, transparent 90%, #000 91%); }
.kd-shine::after { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, transparent 0 80%, rgba(125, 255, 192, .25) 90%, #7dffc0 99%, #fff 100%); animation: kd-spin 4s cubic-bezier(.6, 0, .4, 1) infinite; }
/* Lakbay Legend: the ring turns, the star goes with it, the photo stays upright */
/* the top 3: each board its colour, #1 animated */
.kd-st2 { background: linear-gradient(135deg, #e9866f, #b23a2a); }
.kd-st3 { background: linear-gradient(135deg, #efc3b6, #c98670); }
.kd-cr2 { background: linear-gradient(135deg, #55a97c, #1f6b45); }
.kd-cr3 { background: linear-gradient(135deg, #b9dcc8, #6ea98a); }
.kd-ko2 { background: linear-gradient(135deg, #ecc66b, #a9761b); }
.kd-ko3 { background: linear-gradient(135deg, #f3dfae, #c9a264); }
@keyframes kd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .kd-ring, .kd-ring > *, .kd-ring::before, .kd-ring::after { animation: none !important; }
}
.kd-star, .kd-pin, .kd-rank { position: absolute; z-index: 2; bottom: -1px; display: grid; place-items: center; width: 1.3em; height: 1.3em; min-width: 18px; min-height: 18px; border: 2px solid #fff; border-radius: 50%; box-sizing: border-box; background: #1f3d30; color: #f2d27a; font-size: 11px; line-height: 1; }
.kd-star, .kd-rank { right: -2px; }
.kd-rank { color: #fff; }
.kd-pin { left: -2px; background: #c8402e; }
/* One line, always, on every screen (owner 2026-11-05): a long title shortens with …, it never wraps inside the pill */
.kd-title { display: inline-block; box-sizing: border-box; max-width: 100%; padding: 1px 9px; border-radius: 999px; background: #1f3d30; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
/* The Creator badge (shared/kudos.js creatorBadgeHtml): warm gold on cream, never the title chip's green. */
.kd-creator { display: inline-flex; align-items: center; gap: 4px; box-sizing: border-box; padding: 1px 9px 1px 7px; border-radius: 999px; background: #fff6dc; color: #6b4a0c; box-shadow: inset 0 0 0 1px #dcb654; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.kd-creator b { font-weight: 700; }
/* a creator's name + mark (creatorNameHtml): the name gives way on a narrow card, the mark never does */
.kd-named { display: flex; align-items: center; min-width: 0; max-width: 100%; }
.kd-named > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kd-named > .kd-creator { flex: none; }
/* beside the title someone wears: a gap, and the same drop as the title's */
.kd-creator + .kd-title { margin-left: 6px; }
.pfa-hero .kd-creator, .pfh-copy .kd-creator { margin-top: 4px; }
.kd-creator-mark { flex: none; color: #b8860b; }
.kd-creator.is-mark { padding: 0; width: 17px; height: 17px; margin-left: 6px; justify-content: center; background: linear-gradient(135deg, #f8e3a1, #e6bd57); box-shadow: inset 0 0 0 1px #c99a2e; }
.kd-creator.is-mark .kd-creator-mark { color: #5c3f06; width: 10px; height: 10px; }
.kd-title.is-none { background: #efe7d8; color: #6d6a5e; font-weight: 500; }
.kd-letter { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1f3d30; color: #fff; font-weight: 700; line-height: 1; }

.kd { margin: 1rem 0; padding: 18px 0; border: 1px solid #e6dcc8; border-radius: 16px; background: #fbf7ee; color: #1f2a24; overflow: hidden; }
.kd > :not(.kd-strip) { margin-left: 18px; margin-right: 18px; }
.kd-kick { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a5a14; }
.kd h3 { margin: 0; font: 500 24px "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd h3 small { font: 500 14px "DM Sans", system-ui, sans-serif; color: #6d6a5e; }
.kd-lead { margin: 3px 0 8px; font-size: 13px; color: #5c6660; }
.kd-bar { height: 8px; margin-bottom: 14px; overflow: hidden; border-radius: 8px; background: #e9e0cf; }
.kd-bar i { display: block; height: 100%; background: #d9a53a; }
.kd-strip { display: flex; gap: 12px; padding: 4px 18px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kd-strip::-webkit-scrollbar { display: none; }
.kd-m { flex: 1 0 180px; box-sizing: border-box; padding: 12px; border: 1px solid #e6dcc8; border-radius: 14px; background: #fff; text-align: center; scroll-snap-align: start; }
.kd-m.is-next { border-color: #d9a53a; box-shadow: 0 0 0 2px rgba(217, 165, 58, .28); }
.kd-m.is-locked { background: #f7f2e7; }
.kd-m.is-locked :is(img, .kd-letter) { filter: grayscale(.75); opacity: .75; }
.kd-m { position: relative; }
.kd-state { position: absolute; z-index: 3; top: 8px; left: 8px; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgba(255, 253, 248, .94); font-size: 11px; font-weight: 700; line-height: 1.4; color: #1f6b45; }
.kd-m.is-next .kd-state { color: #8a5a14; }
.kd-m.is-locked .kd-state { color: #8b8b80; }
.kd-m .kd-face, .kd-preview .kd-face { margin-top: -30px; margin-bottom: 8px; z-index: 2; }
.kd-m .kd-ring { padding: 5px; }
.kd-m :is(.kd-ring img, .kd-letter) { width: 78px; height: 78px; font-size: 26px; }
.kd-m:not(:has(.kd-ring)) .kd-letter { margin: 0 auto; }
.kd-m h4 { margin: 0 0 4px; font: 500 18px "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd-reward { margin: 9px 0 2px; min-height: 34px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.kd-where { margin: 0; min-height: 31px; font-size: 12px; line-height: 1.3; color: #6d6a5e; }
.kd-at { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: #8a5a14; }
.kd-actions { margin-top: 6px; }
.kd-btn { padding: 7px 16px; border: 1px solid #1f3d30; border-radius: 999px; background: transparent; color: #1f3d30; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.kd-btn.is-solid { background: #1f3d30; color: #fff; }
.kd-btn.is-quiet { border-color: transparent; }
.kd-sub { margin: 16px 18px 4px; font-size: 14px; }
.kd-list { margin: 0; padding: 0; list-style: none; }
.kd-list li { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid #efe6d5; }
.kd-ic { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #efe7d8; color: #1f3d30; font-size: 15px; font-weight: 700; }
.kd-list div { flex: 1; min-width: 0; }
.kd-list strong { display: block; font-size: 14px; }
.kd-list small { display: block; font-size: 12px; color: #6d6a5e; overflow-wrap: anywhere; }
.kd-list b { flex: 0 0 auto; font-size: 14px; color: #1f6b45; }
.kd-month { margin-bottom: 12px; }
.kd-month-h { display: flex; justify-content: space-between; margin: 0 0 5px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6d6a5e; }
.kd-month-h b { color: #8a5a14; }
.kd-more { padding: 6px 0; border: 0; background: none; color: #1f3d30; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.kd-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.kd-top .kd-ring { padding: 4px; }
.kd-top :is(.kd-ring img, .kd-letter), .kd-top > img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; font-size: 24px; }
.kd-top .kd-lead { margin-bottom: 0; }
.kd-lower { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; margin-top: 16px; }
.kd-sub { margin: 0 0 8px; font: 500 18px "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd-how { padding: 13px 15px; border-radius: 12px; background: #f1ebdf; font-size: 13px; color: #4d5a52; }
.kd-how ul { margin: 0; padding: 0; list-style: none; }
.kd-how li { display: flex; gap: 10px; padding: 5px 0; line-height: 1.35; }
.kd-how b { flex: 0 0 1.7em; color: #8a5a14; }
@media (max-width: 760px) {
  .kd-lower { grid-template-columns: 1fr; }
}
.kd-face.is-small .kd-ring { padding: 2px; }
.kd-range { display: inline-flex; gap: 2px; margin: 6px 0 10px; padding: 2px; border-radius: 999px; background: #efe7d8; }
.kd-tab { padding: 4px 12px; border: 0; border-radius: 999px; background: none; color: #4d5a52; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.kd-tab.is-on { background: #1f3d30; color: #fff; }
/* the page's own card width */
#ac-kudos .kd { box-sizing: border-box; margin: 0; }
.you-kudos .kd { margin: 0 0 1rem; }
/* a big profile photo fills its circle */
.pfh-avatar > .kd-face, .pfh-avatar .kd-ring { display: block; box-sizing: border-box; width: 100%; height: 100%; }
.pfh-avatar .kd-ring { padding: 5px; }
.pfh-avatar .kd-ring > img, .pfh-avatar .kd-ring > .kd-letter { width: 100%; height: 100%; }
.pfa-hero .kd-title, .pfh-copy .kd-title { margin-top: 4px; }
/* the history scrolls in its own box, and the page stays short (owner 2026-11-05) */
.kd-scroll { max-height: 430px; overflow-y: auto; padding-right: 8px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d8cfbd transparent; -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.kd-scroll .kd-month:last-child { padding-bottom: 18px; }
.kd-month-h { position: sticky; top: 0; z-index: 1; padding: 3px 0; background: #fbf7ee; }
.kd-list em { font-style: normal; font-weight: 700; color: #8a5a14; }
.kd-how { position: sticky; top: 12px; }
@media (max-width: 760px) {
  .kd-scroll { max-height: 380px; }
  .kd-how { position: static; }
}
/* small photos: the border shows, not the white edge over it (owner 2026-11-05) */
.kd-ring > img, .kd-ring > .kd-letter { box-shadow: 0 0 0 1px #fff; }
.kd-face.is-small { flex: 0 0 auto; }
.kd-face.is-small .kd-ring { padding: 4px; }
/* a photo the watcher wrapped: same size and same place as before, the border around it */
.kd-face.is-held { flex: none; margin: -4px; }
.auth-menu-trigger .kd-face.is-held { margin-left: -1px; } /* the same gap left as above and below (owner 2026-11-06) */
.kd-face.is-held .kd-ring > :not(.kd-star):not(.kd-letter) { display: grid; place-items: center; line-height: 1; }
.kd-face.is-small .kd-gold { box-shadow: inset 0 0 0 2.5px #e9b43f; }
.kd-face.is-small .kd-star { right: -3px; bottom: -2px; width: 13px; height: 13px; min-width: 0; min-height: 0; border-width: 1px; font-size: 8px; }
.kd-face.is-small .kd-ring > :is(img, span, a, button) { border: 0; box-shadow: 0 0 0 1px #fff; }
/* a big profile photo: the badges sit over its edge */
.pfh-avatar:has(.kd-face) { overflow: visible; }
.pfh-avatar .kd-star, .pfh-avatar .kd-pin, .pfh-avatar .kd-rank { bottom: 6px; font-size: 14px; }
.pfh-avatar .kd-star, .pfh-avatar .kd-rank { right: 6px; }
.pfh-avatar .kd-pin { left: 6px; }
/* tabs */
.kd-tabs { display: inline-flex; gap: 2px; margin-bottom: 12px; padding: 3px; border-radius: 999px; background: #efe7d8; }
.kd-t { padding: 6px 16px; border: 0; border-radius: 999px; background: none; color: #4d5a52; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.kd-t.is-on { background: #1f3d30; color: #fff; }
/* Collection */
.kd-coll .kd-sub { margin-top: 14px; }
.kd-tray { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.kd-c { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px 11px; border: 1px solid #e6dcc8; border-radius: 12px; background: #fff; text-align: center; }
.kd-c strong { margin-top: 6px; font-size: 13px; line-height: 1.25; }
.kd-c small { font-size: 11px; color: #6d6a5e; }
.kd-c.is-word { justify-content: center; min-height: 70px; }
.kd-c.is-locked { background: #f7f2e7; }
.kd-c.is-locked :is(img, .kd-letter) { filter: grayscale(.75); opacity: .75; }
.kd-c :is(.kd-ring img, .kd-letter) { width: 66px; height: 66px; font-size: 22px; }
/* #1: worth winning. A thick turning ring, its own light, a crown, sparks */
.kd-face.is-top { isolation: isolate; --kd-glow: 217, 165, 58; }
.kd-face.is-st { --kd-glow: 232, 96, 62; }
.kd-face.is-cr { --kd-glow: 58, 196, 128; }
.kd-face.is-top::before { content: ""; position: absolute; z-index: -1; inset: -7px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--kd-glow), .75), rgba(var(--kd-glow), 0)); animation: kd-pulse 2.2s ease-in-out infinite; }
.kd-face.is-small.is-top::before { inset: -4px; }
.kd-face.is-top .kd-ring { padding: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 14px rgba(var(--kd-glow), .75); }
.kd-face.is-small.is-top .kd-ring { padding: 4px; box-shadow: 0 0 6px rgba(var(--kd-glow), .8); }
.kd-crown { position: absolute; z-index: 3; top: -.62em; left: 50%; transform: translateX(-50%) rotate(-6deg); color: #f5c542; font-size: 24px; line-height: 1; text-shadow: 0 1px 0 #8f6410, 0 2px 6px rgba(0, 0, 0, .4); }
.kd-spark { position: absolute; z-index: 3; color: #fff6cf; font-size: 13px; font-style: normal; line-height: 1; text-shadow: 0 0 6px rgba(var(--kd-glow), 1); animation: kd-twinkle 2.4s ease-in-out infinite; }
.kd-spark.s1 { top: 8%; right: -4px; }
.kd-spark.s2 { bottom: 4%; left: -6px; font-size: 10px; animation-delay: .8s; }
.kd-spark.s3 { top: 46%; right: -10px; font-size: 9px; animation-delay: 1.5s; }
@keyframes kd-pulse { 50% { opacity: .45; transform: scale(1.06); } }
@keyframes kd-twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .kd-face.is-top::before, .kd-spark { animation: none; }
}
.pfh-avatar .kd-crown { font-size: 34px; top: -22px; }
/* Find travellers: their border replaces the card's plain ring */
.tvc-ring:has(.kd-face) { padding: 0; border: 0; background: none; box-shadow: none; }
.tvc-ring .kd-face, .tvc-ring .kd-ring { display: block; }
.tvc-id .kd-title { justify-self: start; width: fit-content; margin-top: 3px; }
.kd-top { padding-top: 14px; }
/* banners: the real profile banners, small. A milestone is the default banner with its own finish (owner 2026-11-05) */
.kd-bn { position: relative; display: block; overflow: hidden; height: 74px; margin: -12px -12px 8px; border-radius: 13px 13px 0 0; background: #1f3d30; --kd-s: .5; }
.kd-bn .pfb-slot { position: absolute; top: 0; left: 0; width: 700px; height: 170px; margin: 0; border-radius: 0; transform: scale(var(--kd-s)); transform-origin: left top; pointer-events: none; }
.kd-bn .pfh-band { height: 100%; }
.kd-bn :is(.pfh-board, [class*="pill"]) { display: none; }
.kd-c .kd-bn { align-self: stretch; height: 56px; margin: -14px -8px 4px; border-radius: 11px 11px 0 0; --kd-s: .46; }
.kd-c.is-banner { grid-column: span 2; }
.kd-c.is-banner .kd-bn { height: 76px; --kd-s: .62; }
.kd-m.is-locked .kd-bn { opacity: .75; }
.kd-m .kd-face { position: relative; margin-top: -30px; }
.kd-c:not(.is-banner) > .kd-bn + .kd-face { margin-top: -26px; }
.tvc-band .kd-bn { position: absolute; inset: 0; height: auto; margin: 0; border-radius: 0; --kd-s: .62; }
@keyframes kd-glint { 50% { filter: sepia(.6) saturate(2.8) brightness(1.4); } }
@keyframes kd-hue { to { filter: saturate(1.6) hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  [data-kd-bn] .pfh-band { animation: none !important; }
}
/* Collection: every reward is a button */
button.kd-c { font: inherit; color: inherit; cursor: pointer; }
.kd-c.is-on { border-color: #1f3d30; box-shadow: 0 0 0 2px #1f3d30; }
.kd-on { margin-top: 2px; font-size: 11px; font-weight: 700; color: #1f6b45; }
/* the crown on small photos too */
.kd-face.is-small .kd-crown { top: -.5em; font-size: 13px; }
/* only the ring's colours turn; a photo never does (owner 2026-11-05: "my photo is rotating") */
/* a #1 who has passed the crown on: the same colours, standing still */
.kd-st1p { background: conic-gradient(#ff5a36, #ffd166, #fff3c4, #ff5a36, #b3261e, #ffd166, #ff5a36); }
.kd-cr1p { background: conic-gradient(#0f8f5a, #7dffc0, #eafff4, #0f8f5a, #0a5c3a, #7dffc0, #0f8f5a); }
.kd-ko1p { background: conic-gradient(#d9a53a, #fff3b0, #fff, #d9a53a, #8f6410, #fff3b0, #d9a53a); }
.kd-face.is-past .kd-ring { padding: 5px; }
.kd-face.is-small.is-past .kd-ring { padding: 4px; }
.kd-legend, .kd-st1, .kd-cr1, .kd-ko1 { background: none; }
.kd-legend::before, .kd-st1::before, .kd-cr1::before, .kd-ko1::before { content: ""; position: absolute; inset: -30%; animation: kd-spin 3s linear infinite; }
.kd-legend::before { background: conic-gradient(#d9a53a, #1f6b45, #c0643f, #d9a53a); animation-duration: 5s; }
.kd-st1::before { background: conic-gradient(#ff5a36, #ffd166, #fff3c4, #ff5a36, #b3261e, #ffd166, #ff5a36); }
.kd-cr1::before { background: conic-gradient(#0f8f5a, #7dffc0, #eafff4, #0f8f5a, #0a5c3a, #7dffc0, #0f8f5a); }
.kd-ko1::before { background: conic-gradient(#d9a53a, #fff3b0, #ffffff, #d9a53a, #8f6410, #fff3b0, #d9a53a); }
.kd-ring > * { position: relative; z-index: 1; }
/* Legend's star travels round the photo */
.kd-orbit { position: absolute; z-index: 2; inset: 0; animation: kd-spin 9s linear infinite; pointer-events: none; }
/* LakBi rides the ring: the orbit turns, LakBi turns back the other way, so it stays upright */
.kd-rider { position: absolute; top: -9%; left: 50%; width: 30%; aspect-ratio: 1; margin-left: -15%; animation: kd-spin 9s linear infinite reverse; }
.kd-rider img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
@media (prefers-reduced-motion: reduce) {
  .kd-orbit, .kd-rider { animation: none; }
  .kd-ring::before { animation: none !important; }
}
.kd-face.is-small { display: inline-flex; vertical-align: middle; }
/* A title sits under the name, so a long one never pushes the rating onto another line (owner 2026-11-05) */
/* one column no wider than the name's room: WebKit grew an auto column to the chip's whole text, so the chip had no "…"
   and the column cut it flat (owner 2026-11-08, iPhone: "#1 Top Creator · Oct 202") */
.tc-card .mw-creator > span:last-child { display: grid; grid-template-columns: minmax(0, 100%); gap: 1px; justify-items: start; min-width: 0; }
.tc-card .mw-creator span.kd-title, .mw-card .mw-creator span.kd-title, .mw-card.is-discover .mw-creator span.kd-title { display: block; justify-self: start; width: fit-content; max-width: 100%; padding: 1px 7px; border-radius: 9px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.wx-author .kd-title, .mw-creator .kd-title { display: block; width: fit-content; max-width: 100%; box-sizing: border-box; margin: 2px 0 0; padding: 1px 7px; border-radius: 9px; color: #fff; font-size: 10px; line-height: 1.35; white-space: nowrap; }
.wx-bottom { flex-wrap: wrap; }
.wx-bottom > .wx-author { flex: 1 1 150px; min-width: 0; }
.wx-bottom > :not(.wx-author) { flex: none; }
.tc-foot:has(.wx-author, .mw-creator) { flex-wrap: wrap; }
.tc-foot:has(.wx-author, .mw-creator) .tc-foot-left { flex: 1 1 150px; flex-wrap: nowrap; min-width: 0; }
.tc-foot:has(.wx-author, .mw-creator) .tc-foot-right { flex: none; }
/* the name column is narrow beside the buttons: the title may run past it, into the free space under them */
#creator-panel .kd-title { display: block; width: max-content; max-width: 200px; margin-top: 3px; }
/* a preview shows the whole banner, LakBi included */
.kd-bn .pfb-slot { width: calc(100% / var(--kd-s)); height: calc(100% / var(--kd-s)); }
.kd-bn :is(.pfh-board, [class*="board"], [class*="pfb-pill"]) { display: none !important; }

.kd-bn .pfb-slot { container: pfb / inline-size; }
/* ——— The reward banners (shared/kudos.js ART): a still picture and, on top, what moves ——— */
.kb { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
/* Fills the band; on a narrow banner it keeps its proportions and slides so the main thing stays in view */
.kb-sc { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 5.5; min-width: 100%; }
.kb-bg, .kb-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.kb-bg { object-fit: cover; }
@container pfb (max-width: 30rem) {
  .kb-sc { translate: var(--kb-p, 0) 0; }
  .kb .kb-lk { left: auto; right: 8px; bottom: 5px; height: 74%; max-width: 148px; margin: 0; object-fit: contain; object-position: right bottom; }
  .kb .kb-lk.is-boat { bottom: -14px; height: 80%; }
  .kb .kb-plaque { display: none; }
}
.kb-lk { position: absolute; z-index: 2; left: var(--kb-x, 86%); bottom: 3px; height: 124px; margin-left: -62px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); animation: kb-bob 3.4s ease-in-out infinite; }
/* Navigator: the boat sits in the water, a wave in front of it */
.kb-lk.is-boat { bottom: -14px; height: 132px; animation-duration: 4.6s; }
.kb-front { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; width: 100%; height: 22px; }
.kb-plaque { position: absolute; z-index: 2; left: 30%; top: 50%; transform: translate(-50%, -50%); padding: 8px 22px 10px; text-align: center; border-radius: 12px; background: rgba(10, 8, 40, .72); box-shadow: 0 0 0 1.5px #e9b43f, 0 0 0 5px rgba(233, 180, 63, .18); }
.kb-plaque small { display: block; color: #ffd76a; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.kb-plaque b { display: block; margin-top: 2px; color: #ffe39a; font: 700 25px/1.15 "Playfair Display", Georgia, serif; white-space: nowrap; }
.kb-tw { animation: kb-tw 2.6s ease-in-out infinite; }
.kb-swing { animation: kb-swing 6s ease-in-out infinite; }
.kb-beam { animation: kb-beam 5s ease-in-out infinite; transform-origin: 640px 78px; }
.kb-flag { animation: kb-flag 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
.kb-glint { animation: kb-glint 3.2s linear infinite; }
.kb-burst { opacity: 0; animation: kb-burst 3.2s ease-out infinite; }
.kb-sway { animation: kb-sway 8s ease-in-out infinite; }
.kb-land { animation: kb-land 12s linear infinite; }
.kb-turn { animation: kd-spin 30s linear infinite; }
.kb-turn2 { animation: kd-spin 40s linear infinite; }
.kb-float { animation: kb-float 5s ease-in-out infinite; }
.kb-stamp { animation: kb-stamp 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.kb-pulse { animation: kb-pulse 4s ease-in-out infinite; }
.kb-sheen { animation: kb-sheen 4s linear infinite; }
@keyframes kb-bob { 50% { transform: translateY(-5px); } }
@keyframes kb-tw { 50% { opacity: .25; } }
@keyframes kb-swing { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes kb-beam { 50% { transform: rotate(9deg); } }
@keyframes kb-flag { 50% { transform: scaleX(.82) skewY(6deg); } }
@keyframes kb-glint { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(1500px) skewX(-18deg); } }
@keyframes kb-burst { 0% { opacity: 0; transform: scale(.2); } 18% { opacity: 1; } 55% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.15); } }
@keyframes kb-sway { 50% { transform: translateX(-24px); } }
@keyframes kb-land { to { transform: translateX(-120px); } }
@keyframes kb-float { 50% { transform: translateY(-7px); } }
@keyframes kb-stamp { 0%, 60%, 100% { transform: scale(1); } 72% { transform: scale(1.14) rotate(-5deg); } 80% { transform: scale(.97); } }
@keyframes kb-pulse { 50% { opacity: .62; } }
@keyframes kb-sheen { from { transform: translateX(0) skewX(-18deg); } 60%, 100% { transform: translateX(480px) skewX(-18deg); } }
/* still: a past #1, a preview, anyone who asked for less motion */
.kb.is-still *, .kd-bn .kb * { animation: none !important; }
.kb.is-still .kb-burst, .kd-bn .kb-burst { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .kb * { animation: none !important; }
}
/* ——— Past winners ——— */
.kd-note { margin: 6px 0 0; color: #6d6a5e; font-size: 11.5px; font-weight: 600; }
.kd-win-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; }
.kd-win-nav b { font: 500 17px "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd-win-nav button { width: 32px; height: 32px; border: 1px solid #e6dcc8; border-radius: 50%; background: #fffdf8; color: #1f3d30; font-size: 18px; line-height: 1; cursor: pointer; }
.kd-win-nav button:disabled { opacity: .35; cursor: default; }
.kd-win-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kd-win-list :is(a, button) { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 10px; color: inherit; text-decoration: none; }
.kd-win-list img, .kd-win-list :is(.kd-win-av) { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.kd-win-av { display: grid; place-items: center; background: #1f3d30; color: #fff; font-size: 14px; font-weight: 700; }
.kd-win-rank { font: 500 17px "Playfair Display", Georgia, serif; color: #8a5a14; text-align: center; }
.kd-win-list strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.kd-win-score { color: #6d6a5e; font-size: 12px; white-space: nowrap; }
.kd-win-none { margin: 8px 0; color: #6d6a5e; font-size: 13px; }

/* A frame around any avatar: its own centring survives, and a letter or the person icon stays visible */
.kd-ring > :is(.lb-ir-av, .kd-win-av, [class*="avatar"]):not(.kd-star):not(.kd-letter) { display: grid; place-items: center; line-height: 1; }
.kd-ring > .lb-ir-av svg { display: block; }
/* The You tab's photo: the border round it, centred; the badge clear of the camera button */
.you-avatar > .kd-face, .you-avatar .kd-ring { display: block; box-sizing: border-box; width: 5rem; height: 5rem; }
.you-avatar .kd-ring { padding: 6px; }
.profile-card-top .you-avatar .kd-ring > .tv-avatar.is-lg { width: 100%; height: 100%; box-shadow: none; }
.profile-card.has-banner .you-avatar:has(.kd-face) { box-shadow: none; }
.you-avatar :is(.kd-star, .kd-rank) { right: auto; left: -2px; bottom: 0; }
.you-avatar .kd-crown { top: -18px; font-size: 26px; }
/* A month's or year's #1: the board's hat, on the photo, big or small */
.kd-trophy { position: absolute; z-index: 4; right: -16%; bottom: -8%; width: 44%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); pointer-events: none; }
.kd-worn { position: absolute; z-index: 4; right: -8%; bottom: -6%; font-size: 15px; }
.kd-medal { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf3, #f6e7bd 60%, #e9cf8c); box-shadow: 0 0 0 2px #d9a53a, 0 0 0 3.5px #8f6410, 0 3px 6px rgba(0, 0, 0, .2); font-size: 22px; line-height: 1; }
.kd-big-trophy { display: block; width: 62px; }
.kd-big-trophy .kd-trophy { position: static; width: 100%; }
.kd-mvp { background: conic-gradient(from 30deg, #2a0f4f, #e9b43f, #4b1a7e, #fff0b8, #2a0f4f, #e9b43f, #4b1a7e, #fff0b8, #2a0f4f); }
.kd-mvp::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(transparent 0 70%, rgba(255, 246, 207, .9) 80%, transparent 90%); animation: kd-spin 6s linear infinite; }
.kd-sea { background: conic-gradient(from 20deg, #0f6d8c, #7fe0dc, #f3dfae, #1c7fa8, #7fe0dc, #f3dfae, #0f6d8c); }
/* ——— Rewards tab ——— */
.kd-sub small { font: 600 12px "DM Sans", system-ui, sans-serif; color: #6d6a5e; }
.kd-rws { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.kd-rw { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; height: 100%; box-sizing: border-box; padding: 14px 10px 10px; border: 1px solid #e6dcc8; border-radius: 14px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.kd-rw:hover, .kd-aw:hover { border-color: #d9a53a; }
.kd-rw-pic { display: grid; place-items: center; }
.kd-rw-pic :is(.kd-ring img, .kd-letter) { width: 42px; height: 42px; font-size: 15px; }
.kd-rw-txt { display: grid; gap: 2px; min-width: 0; }
.kd-rw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 8px; }
.kd-rw-top b { font-size: 14px; color: #1f3d30; }
.kd-rw-gets { color: #3f4a44; font-size: 12.5px; line-height: 1.35; }
.kd-rw-how { color: #6d6a5e; font-size: 12px; line-height: 1.35; }
.kd-rw-held { color: #5a2a86; font-size: 12px; font-weight: 700; }
.kd-st { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.kd-st.is-done { background: #e4f1e8; color: #1f6b45; }
.kd-st.is-next { background: #fbf0d6; color: #8a5a14; }
.kd-st.is-lock { background: #efe7d8; color: #6d6a5e; }
.kd-st.is-rare { background: #2a0f4f; color: #ffe39a; }
.kd-rbar { display: block; height: 6px; margin-top: 4px; overflow: hidden; border-radius: 6px; background: #e9e0cf; }
.kd-rbar i { display: block; height: 100%; background: #d9a53a; }
.kd-aws { display: grid; grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.kd-aw { display: grid; justify-items: center; align-content: start; gap: 5px; width: 100%; height: 100%; box-sizing: border-box; padding: 11px 4px; border: 1px solid #e6dcc8; border-radius: 14px; background: #fff; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.kd-aw b { font-size: 12px; line-height: 1.2; color: #1f3d30; }
.kd-aw:not(.is-won) .kd-medal { filter: grayscale(.85); opacity: .7; }
.kd-win-o { position: fixed; z-index: 9000; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(19, 37, 30, .55); }
.kd-win-d { position: relative; box-sizing: border-box; width: min(720px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px; border-radius: 18px; background: #fff; color: #1f2a24; }
.kd-win-x { position: absolute; z-index: 9; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #efe7d8; color: #1f3d30; font-size: 20px; cursor: pointer; }
.kd-w-h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; padding-right: 40px; }
.kd-w-h h3 { margin: 0; font: 500 24px "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd-w-h p { margin: 3px 0 0; color: #5c6660; font-size: 13.5px; }
.kd-w-h p.kd-rw-held { color: #5a2a86; font-size: 12.5px; }
.kd-w-figs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 34px 16px; margin: 44px 0 18px; }
.kd-w-fig { display: grid; justify-items: center; align-content: center; gap: 12px; text-align: center; }
.kd-w-fig b { font-size: 13px; color: #1f3d30; }
.kd-w-fig > .kd-face:not(.is-small) :is(.kd-ring img, .kd-letter) { width: 92px; height: 92px; font-size: 30px; }
.kd-w-fig > .kd-face.is-small :is(.kd-ring img, .kd-letter) { width: 36px; height: 36px; font-size: 14px; }
.kd-w-fig > .kd-medal { width: 76px; height: 76px; font-size: 38px; }
.kd-w-ban.pfa-banner { position: relative; height: 136px; overflow: hidden; border-radius: 14px; }
.kd-w-ban .pfh-board { position: absolute; top: .85rem; left: 1rem; }
/* Legend's plaque sits where the avatar goes on a narrower banner: only on wide ones */
@container pfb (max-width: 56rem) {
  .kb .kb-plaque { display: none; }
}
/* A trip header's "by" photo: a hat or crown stands above the photo, so it gets room above, clear of the date line */
.pub-mast-creator:has(.kd-hat, .kd-crown), .mw-mast-creator:has(.kd-hat, .kd-crown) { margin-top: 14px; overflow: visible; }
.kd-pending { margin: 2px 0 0; color: #8a5a14; font-size: 12.5px; font-weight: 700; }
.wb-opt-block .wb-lock-btn { margin-top: 8px; }

/* Travel rewards (owner-approved mock 2026-11-06) */
/* Solo: a night ring with one star of your own going round it */
.kd-solo { background: #111c3a; }
.kd-solo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 3.5%, #fff3c4 0 3%, #ffe08a 3.6%, rgba(255, 224, 138, .35) 6.5%, transparent 9%); animation: kd-spin 9s linear infinite; }
.kd-tvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.kd-tv { position: relative; display: grid; grid-template-rows: auto 1fr; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 1px solid #e6dcc8; border-radius: 16px; background: #fff; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.kd-tv:hover { border-color: #d9a53a; }
.kd-tv-band { position: relative; display: block; height: 118px; }
.kd-tv-band .kb { position: absolute; inset: 0; overflow: hidden; }
.kd-tv:not(.is-won) .kd-tv-band .kb { filter: saturate(.82); }
.kd-tv-state { position: absolute; top: 10px; left: 10px; z-index: 3; }
.kd-tv-face { position: absolute; z-index: 2; left: 50%; bottom: -30px; transform: translateX(-50%); }
/* the photo sits mid-card: the lone figure stands clear of it, to the right */
.kd-tv-band.has-face .kb-sc { translate: none; transform: translateX(56px); }
.kd-tv-face :is(.kd-ring img, .kd-letter) { width: 64px; height: 64px; font-size: 22px; }
.kd-tv-face .kd-ring { padding: 5px; }
.kd-tv-txt { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 16px 16px 18px; min-width: 0; }
.kd-tv-txt.has-face { padding-top: 44px; }
.kd-tv-txt b { font: 500 18px/1.2 "Playfair Display", Georgia, serif; color: #1f3d30; }
.kd-tv .kd-rw-gets { margin-top: 4px; font-weight: 700; }
/* the Rewards tab, roomier (owner 2026-11-06) */
.kd-rewards > .kd-sub { margin: 32px 0 14px; }
.kd-rewards > .kd-sub:first-child { margin-top: 0; }
.kd-rws, .kd-aws { gap: 14px; }
.kd-rw { padding: 18px 14px; gap: 14px; }
.kd-aw { padding: 14px 6px; }
/*
 * THE AVATAR SPACE (owner 2026-11-06). --kd-av is the photo's width where it's shown; everything worn is sized from it, so
 * a new hat or badge fits every screen. P = the photo:
 *   Above the photo (hats, crowns)  a fixed box 0.9 P wide and 0.45 P tall, sitting on the photo; every hat fills it
 *   Below the photo (plate badges)  at most 0.22 P tall, at most 1.2 P wide (1.55 P on photos under 44 px, to stay readable)
 *   Corner badges                   at most 0.42 P wide, bottom right, one at a time
 * --kd-av is set from the real photo wherever a plate is worn (shared/kudos.js sizePlates), so no screen needs its own size.
 * A plate never moves the photo; the stacked Kudos cards keep 0.16 P free below it.
 *   Border pieces (owner 2026-11-24)  what a border draws round the photo (Compass Rose's points, the Postcard's stripes
 *                                     and plane, a border's mark): at most 0.1 P past the border's edge (5 px on the
 *                                     tiniest photos), absolutely placed. A border never changes the ring's size or the
 *                                     row it sits in. Kept as they were approved: Lakbay Legend's flying LakBi (up to
 *                                     0.25 P) and the #1 / MVP borders, 2 px thicker. Nothing new gets an exception.
 * Every border, hat and badge is held to these by scripts/regression-kudos-space.mjs.
 */
.kd-face { --kd-av: 64px; }
.kd-face.is-small { --kd-av: 34px; }
.kd-rw-pic .kd-face { --kd-av: 42px; }
.kd-c .kd-face { --kd-av: 66px; }
.kd-m .kd-face { --kd-av: 78px; }
.kd-w-fig > .kd-face:not(.is-small) { --kd-av: 92px; }
.kd-w-fig > .kd-face.is-small { --kd-av: 36px; }
.pfh-avatar .kd-face { --kd-av: 132px; }
.you-avatar .kd-face { --kd-av: 80px; }
.kd-plate { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--kd-av) * -.1); display: inline-flex; align-items: center; gap: .45em; max-width: calc(var(--kd-av) * 1.2); padding: calc(var(--kd-av) * .03) calc(var(--kd-av) * .06) calc(var(--kd-av) * .035); border: 1.5px solid transparent; border-radius: 5px; background: linear-gradient(180deg, #16244a, #0c1630) padding-box, linear-gradient(135deg, #fff0bf, #d9a53a 45%, #8f6410 70%, #f6d98a) border-box; box-shadow: 0 3px 8px -2px rgba(12, 22, 48, .55); color: #ffe08a; font: 700 clamp(5.5px, calc(var(--kd-av) * .1), 13px)/1 "Playfair Display", Georgia, serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.kd-plate::before, .kd-plate::after { content: "✦"; font-size: .62em; letter-spacing: 0; }
/* the word is gold; its shine is a lighter copy seen through a soft window that slides across (speed 2026-11-24: the
   moving text gradient repainted 60×/s on the CPU). Window = the old light band (20% of a 260% gradient = 52% of the
   word), from -0.72 to +1.2 word widths; the copy inside moves back by the same amount, so it never moves on screen. */
.kd-plate-w { position: relative; font: inherit; color: #d9a53a; }
.kd-plate-s { position: absolute; top: -20%; left: 0; width: 52%; height: 140%; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(100deg, transparent, #000 50%, transparent); mask-image: linear-gradient(100deg, transparent, #000 50%, transparent); will-change: transform; animation: kd-plate-win 6s ease-in-out infinite; }
.kd-plate-s > span { position: absolute; top: 14.2857%; left: 0; width: 192.3077%; white-space: nowrap; color: #fff6d6; -webkit-text-fill-color: #fff6d6; will-change: transform; animation: kd-plate-txt 6s ease-in-out infinite; }
@keyframes kd-plate-win { 0%, 55% { transform: translateX(-138.4615%); } 85%, 100% { transform: translateX(230.7692%); } }
@keyframes kd-plate-txt { 0%, 55% { transform: translateX(72%); } 85%, 100% { transform: translateX(-120%); } }
/* a small photo: the word alone, a thin edge */
.kd-face.is-small .kd-plate { max-width: calc(var(--kd-av) * 1.55); padding: 1.5px 3px 2px; border-width: 1px; border-radius: 3px; letter-spacing: .04em; }
.kd-face.is-small .kd-plate::before, .kd-face.is-small .kd-plate::after { display: none; }
@media (prefers-reduced-motion: reduce) { html .kd-face .kd-plate-s, .kd-plate-s { display: none !important; } }
.kd-tv-txt.has-face { padding-top: 54px; }
.kd-w-fig > .kd-face:not(.is-small) { margin-bottom: 8px; }
/* a border's glow needs room: the app's trip cards cut it to a box (owner 2026-11-06); the name still shortens with … */
.mw-tc.tc--grid .tc-foot-left:has(.kd-face) { overflow: visible; }
/* the bottom corner belongs to the badge: on your own photo the camera moves to the top corner when you wear one */
.you-avatar:has(.kd-plate, .kd-worn, .kd-trophy, .kd-star, .kd-rank) .you-cam { top: -.1rem; bottom: auto; }
/* with a hat too, the top corner is taken: the camera goes beside the photo, clear of hat and plate */
.you-avatar:has(.kd-hat, .kd-crown):has(.kd-plate, .kd-worn, .kd-trophy, .kd-star, .kd-rank) .you-cam { top: 38%; bottom: auto; right: -.4rem; }
/* Banners as a carousel (owner 2026-11-06: too long), swiped on a phone, ‹ › with a mouse */
.kd-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kd-row-go { display: flex; gap: 8px; margin-bottom: 8px; }
.kd-row-go button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e6dcc8; border-radius: 50%; background: #fff; color: #1f3d30; font: 700 18px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.kd-row-go button:hover { border-color: #d9a53a; }
.kd-tray.is-row { display: flex; gap: 12px; margin: 0 -14px; padding: 3px 14px 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kd-tray.is-row::-webkit-scrollbar { display: none; }
.kd-tray.is-row > .kd-c { flex: 0 0 296px; min-width: 0; scroll-snap-align: start; }
.kd-tray.is-row > .kd-c:not(.is-banner) { flex: 0 0 110px; align-self: stretch; justify-content: center; }
@media (max-width: 700px) {
  .kd-row-go { display: none; }
  .kd-tray.is-row > .kd-c.is-banner { flex-basis: 80%; }
}
/* room for the plate below the photo, wherever it's worn; on its own in the badge list */
/* a plate never moves the photo: rows with a name stay centred. Only the stacked Kudos cards keep room below it */
:is(.kd-c, .kd-m, .kd-w-fig, .lb-podium-slot, .wlb-spot) > .kd-face:has(.kd-plate) { margin-bottom: calc(var(--kd-av) * .16); }
.kd-plate-art { display: grid; place-items: center; min-height: 66px; }
.kd-plate-art .kd-plate { --kd-av: 110px; position: static; max-width: none; transform: none; }
/* a worn badge at card size: same corner, scaled from the photo */
.kd-face.is-small .kd-worn { right: -8%; bottom: -8%; line-height: 0; }
.kd-face.is-small .kd-worn .kd-medal { width: calc(var(--kd-av) * .42); height: calc(var(--kd-av) * .42); font-size: calc(var(--kd-av) * .24); }
.kd-mark-art { display: grid; place-items: center; min-height: 66px; }
.kd-mark-art :is(.kd-star, .kd-rank) { position: static; width: 42px; height: 42px; font-size: 20px; }
/* every hat in the same box, at every photo size */
.kd-hat { position: absolute; z-index: 3; left: 5%; bottom: 80%; width: 90%; height: 45%; overflow: visible; transform: rotate(-5deg); transform-origin: 50% 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.kd-face.kd-face .kd-crown { top: calc(var(--kd-av) * -.2); font-size: calc(var(--kd-av) * .32); }
/* The app audit (owner 2026-11-06): what a worn reward needs from whatever holds the photo */
/* a screen's own text rules never reach the plate */
.kd-face .kd-plate { max-width: none !important; overflow: visible !important; font-size: clamp(5.5px, calc(var(--kd-av) * .1), 13px) !important; line-height: 1 !important; white-space: nowrap !important; text-overflow: clip !important; }
.kd-face .kd-plate-w { max-width: none !important; overflow: visible !important; font-size: inherit !important; white-space: nowrap !important; }
/* a photo's wrapper never cuts what's worn */
:is([class*="avatar"], [class*="-av"], [class*="face"], [class*="creator"], [class*="chip"]):has(> .kd-face) { overflow: visible !important; }
/* a border is always a circle */
.kd-ring { aspect-ratio: 1; box-sizing: border-box; }
.kd-ring > * { flex: none; }
/* the crew card: room under the plate, above the name */
#crew-hq .hqx-person .kd-face:has(.kd-plate) { margin-bottom: 10px; }
/* Crew HQ chat: every face sits in the same column, so every name and line starts at the same place whatever look is
   worn (owner 2026-11-15: "alignment issue again" — a name plate pushed Ernest's text right of Shenna's) */
#crew-hq .hqx-comments li > .kd-face { flex: 0 0 2.4rem; width: 2.4rem; min-width: 0; margin-inline: 0 !important; display: inline-flex; justify-content: center; overflow: visible; }
#crew-hq .hqx-comments li > .kd-face > .kd-ring { margin-inline: auto; }
#crew-hq .hqx-comments li > .hq-face { margin-inline: calc((2.4rem - 1.65rem) / 2); }
/* the Kudos header: room for what's worn above and below the photo */
.kd-top:has(.kd-hat, .kd-crown) { margin-top: 18px; }
.kd-top:has(.kd-plate) { margin-bottom: 14px; }
/* a podium: the hat clears the 1st / 2nd / 3rd label above it */
.lb-podium-slot > .kd-face:has(.kd-hat, .kd-crown) { margin-top: calc(var(--kd-av) * .45 + .9rem); }
.wlb-face > .kd-face:has(.kd-hat, .kd-crown) { margin-top: calc(var(--kd-av) * .45 - .2rem); }
.wlb-face > .kd-face:has(.kd-plate) { margin-bottom: calc(var(--kd-av) * .16); }
/* a screen's text rule ("every span in this row is one cut-off line") never reaches what's worn: the avatar and everything on it stay whole */
.kd-face, .kd-face :is(.kd-hat, .kd-crown, .kd-plate, .kd-plate-w, .kd-worn, .kd-trophy, .kd-star, .kd-rank) { overflow: visible !important; text-overflow: clip !important; }
.kd-face .kd-plate-w { color: #d9a53a !important; -webkit-text-fill-color: #d9a53a !important; background: none !important; }
/* the copy must be the word exactly: other badge rules size every span on a photo, so it takes the word's own type */
.kd-face .kd-plate-s { display: block !important; overflow: hidden !important; font: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; }
.kd-face .kd-plate-s > span { display: block !important; font: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; text-transform: inherit !important; color: #fff6d6 !important; -webkit-text-fill-color: #fff6d6 !important; }
/* the plate sits where the web podium's rank circle sat: the circle moves up beside the photo */
.wlb-face:has(.kd-plate) .wlb-medal { bottom: 1.35rem; z-index: 4; }
/* a narrow card: the rating takes its own line on every card alike, so name and title are never cut and cards still match */
@container mwtc (max-width: 340px) {
  .mw-tc.tc--grid .tc-foot:has(.mw-creator) { flex-wrap: wrap; row-gap: .5rem; }
  .mw-tc.tc--grid .tc-foot:has(.mw-creator) :is(.tc-foot-left, .tc-foot-right) { flex: 1 1 100%; }
}
/* the plate's width comes from the photo, whatever a phone does to tiny text (sizePlates sets the scale) */
.kd-face .kd-plate { transform: translateX(-50%) scale(var(--kd-plate-s, 1)); transform-origin: 50% 100%; }
/* the crown is a drawing: a row's text rules can't recolour it, and it looks the same on every phone */
.kd-crown { text-shadow: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.kd-crown svg { display: block; width: 1.25em; height: auto; overflow: visible; }
/* a card or row around the photo: the hat stays inside it, never on its border */
.kd-c > .kd-face:has(.kd-hat, .kd-crown) { margin-top: calc(var(--kd-av, 64px) * .45 - 8px); }
.people-row .kd-face:has(.kd-hat, .kd-crown) { margin-top: 10px; }
/* Travellers (web + app): a hat or crown stays inside the person's card (owner 2026-11-15: "spacing problem again") */
.traveller-row-head .kd-face:has(.kd-hat, .kd-crown) { margin-top: 14px; }
/* a corner badge at every photo size: a third of the photo, its middle exactly on the ring's lower-right edge (owner 2026-11-06:
   too big, not centred, and it hid the camera). 85.4% is where the circle meets the corner line. */
.kd-face .kd-worn, .kd-face.is-small .kd-worn { right: calc(14.6% - var(--kd-av, 64px) * .17); bottom: calc(14.6% - var(--kd-av, 64px) * .17); line-height: 0; }
.kd-face .kd-worn .kd-medal, .kd-face.is-small .kd-worn .kd-medal { width: calc(var(--kd-av, 64px) * .34); height: calc(var(--kd-av, 64px) * .34); font-size: calc(var(--kd-av, 64px) * .19); }
.kd-face .kd-trophy { width: 36%; right: -6%; bottom: -6%; }
/* a hat on top and a badge in the corner: the camera takes the other lower corner */
.you-avatar:has(.kd-hat, .kd-crown):has(.kd-worn, .kd-trophy, .kd-star, .kd-rank) .you-cam { top: auto; right: auto; bottom: -.1rem; left: -.1rem; }
/* every corner mark is one size and one place, sized from the photo: star, sun, #2 and #3 sit where the medal sits */
.kd-face.kd-face :is(.kd-star, .kd-rank) { right: calc(14.6% - var(--kd-av, 64px) * .17); bottom: calc(14.6% - var(--kd-av, 64px) * .17); left: auto; width: calc(var(--kd-av, 64px) * .34); height: calc(var(--kd-av, 64px) * .34); min-width: 0; min-height: 0; border-width: max(1px, calc(var(--kd-av, 64px) * .025)); font-size: calc(var(--kd-av, 64px) * .2); line-height: 1; }
.kd-star svg { display: block; width: 74%; height: 74%; overflow: visible; }
/* the number stays white in any row: a row's text colour made #2 and #3 a blank dark dot on cards */
.kd-face.kd-face .kd-rank { color: #fff !important; -webkit-text-fill-color: #fff; font-size: calc(var(--kd-av, 64px) * .23); font-weight: 700; }
/* website podium: the rank number moves to the other lower corner when a badge is worn, so the badge never sits on it */
.wlb-face:has(.kd-star, .kd-rank, .kd-worn, .kd-trophy) .wlb-medal { right: auto; left: -.45rem; z-index: 4; }
/* the medal's gold rings count in its size: they were a fixed 3.5px, so on a small photo it looked half the photo's width */
.kd-face .kd-worn .kd-medal, .kd-face.is-small .kd-worn .kd-medal { width: calc(var(--kd-av, 64px) * .3); height: calc(var(--kd-av, 64px) * .3); box-shadow: 0 0 0 max(1px, calc(var(--kd-av, 64px) * .02)) #c9972e; background: #fff6dc; font-size: calc(var(--kd-av, 64px) * .19); }
.kd-face .kd-worn, .kd-face.is-small .kd-worn { right: calc(14.6% - var(--kd-av, 64px) * .15); bottom: calc(14.6% - var(--kd-av, 64px) * .15); }
/* hat and plate leave only the side: the camera sits outside the ring, off the photo */
.you-avatar:has(.kd-hat, .kd-crown):has(.kd-plate) .you-cam { right: -.75rem; }
/* A small border drawn with the photo inside it (a board row's 34 px column): the ring is the photo + its padding and
   sits evenly over the column, like one the watcher wrapped (owner 2026-11-10: Ernest's photo sat 4 px off its ring) */
.kd-face.is-small:not(.is-held) { justify-self: center; }
.kd-face.is-small:not(.is-held) > .kd-ring { box-sizing: content-box; width: max-content; max-width: none; }
.lb-row > .kd-face.is-small:not(.is-held) { margin: -4px; }

/* Edit profile → "Change your look" (owner 2026-11-15): one quiet row to the Kudos Collection. Web + app. */
.kd-look-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box; min-height: 56px; margin: 14px 0; padding: 12px 16px; border: 1px solid #e3d9c6; border-radius: 14px; background: #fffdf8; color: #1f2a24; font: inherit; text-align: left; cursor: pointer; }
.kd-look-link > span:first-child { display: grid; gap: 2px; min-width: 0; }
.kd-look-link strong { font-size: 15px; font-weight: 600; }
.kd-look-link small { font-size: 13px; color: #6b6a62; }
.kd-look-link > span:last-child { flex: none; font-size: 22px; line-height: 1; color: #8a7d66; }
/* Discussion posts: a hat or crown clears the line above the post (2026-11-15) */
.lb-ir-post .kd-face:has(.kd-hat, .kd-crown) { margin-top: 14px; }
/* Travellers: every face sits in the same column, so names line up whatever the look (a plate made the crowned face
   wider and pushed its name right — owner 2026-11-15: "why the spacing is different here?") */
.traveller-row-head > .kd-face { flex: 0 0 3.4rem; width: 3.4rem; min-width: 0; margin-inline: 0 !important; display: inline-flex; justify-content: center; overflow: visible; }
.traveller-row-head > .kd-face > .kd-ring { margin-inline: auto; }
/* a plain letter / photo (no look): the same column, the circle itself unchanged — centred on its own size (1.55rem),
   so its middle and its name line up with a worn look's (owner 2026-11-15: "M" sat 4 px left, its name 8 px) */
.traveller-row-head > .traveller-chip-initial { margin-inline: calc((3.4rem - 1.55rem) / 2); }
/* Travellers list: the photo sits level with the name. A hat no longer pushes the face down (it sat 9 px below its
   name); every row has the hat's room on top instead, so all rows are the same height (owner 2026-11-15). */
.traveller-list .traveller-row-head .kd-face:has(.kd-hat, .kd-crown) { margin-top: 0; }
.traveller-list > .traveller-row { padding-top: calc(0.7rem + 8px); }

/* ——— Guides and Crowd Favorite (owner 2026-11-24, approved mock) ——— */
/* Compass Rose (Master Guide): parchment under the drawn band; the band, gold edges and points are the overlay */
.kd-rose { background: #efe2c2; }
.kd-rose-ov { position: absolute; z-index: 2; left: 50%; top: 50%; width: 131%; height: 131%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
/* Postcard (Crowd Favorite): airmail stripes that drift, a soft red glow, a paper plane flying round */
.kd-crowd { background: #fffaf0; box-shadow: 0 0 calc(var(--kd-av, 64px) * .18) rgba(200, 64, 46, .32); }
.kd-air { position: absolute; z-index: 2; inset: -3%; border-radius: 50%; pointer-events: none; background: repeating-linear-gradient(135deg, #c8402e 0 calc(var(--kd-av, 64px) * .07), #fffaf0 0 calc(var(--kd-av, 64px) * .1), #1c4f8f 0 calc(var(--kd-av, 64px) * .17), #fffaf0 0 calc(var(--kd-av, 64px) * .2)); background-size: 200% 200%; -webkit-mask: radial-gradient(circle closest-side, transparent 0 85%, #000 86% 99%, transparent 100%); mask: radial-gradient(circle closest-side, transparent 0 85%, #000 86% 99%, transparent 100%); animation: kd-air 6s linear infinite; }
@keyframes kd-air { to { background-position: calc(var(--kd-av, 64px) * .4) calc(var(--kd-av, 64px) * .4); } }
.kd-mail { animation-duration: 7s; }
.kd-plane { position: absolute; top: -2%; left: 50%; width: 22%; margin-left: -11%; transform: rotate(8deg); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.kd-plane svg { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .kd-air, .kd-mail { animation: none; } }
/* drawn badges: a guidebook in the gold medal; the Heart Seal is its own shape, the medal's size */
.kd-medal.is-art { font-size: 0; }
.kd-medal.is-art .kd-gb { width: 68%; height: 68%; display: block; }
.kd-seal-w { display: inline-grid; place-items: center; width: 44px; height: 44px; line-height: 0; }
.kd-seal-w .kd-seal { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28)); }
.kd-w-fig > .kd-seal-w { width: 76px; height: 76px; }
.kd-face .kd-worn.is-seal .kd-seal-w, .kd-face.is-small .kd-worn.is-seal .kd-seal-w { width: calc(var(--kd-av, 64px) * .36); height: calc(var(--kd-av, 64px) * .36); }
/* banners: paper planes glide across, the dotted trail moves */
.kb-glide { animation: kb-glide 11s linear infinite; }
.kb-trail { animation: kb-trail 3s linear infinite; }
@keyframes kb-glide { 0% { transform: translate(-120px, 40px); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(340px, -6px); } 90% { opacity: 1; } 100% { transform: translate(780px, 20px); opacity: 0; } }
@keyframes kb-trail { to { stroke-dashoffset: -60; } }
@media (prefers-reduced-motion: reduce) { .kb-glide, .kb-trail { animation: none; } }
.kb.is-still .kb-glide, .kd-bn .kb .kb-glide { opacity: 1; transform: translate(300px, 0); }

/* ——— Creator, the Verified creator level (owner 2026-11-30, mock mocks/kudos-creator) ——— */
/* the route ring: thin, paper, a blue dashed route travelling round, gold edge; a red pin on the move */
.kd-verified { background: #fbf3e2; box-shadow: inset 0 0 0 1px #d9b45e; }
.kd-verified::after { content: ""; position: absolute; inset: 1px; border: 1.5px dashed #1d5fb8; border-radius: 50%; animation: kd-spin 40s linear infinite; }
.kd-vroute { animation-duration: 12s; }
.kd-vpin { position: absolute; left: 50%; top: -3px; width: 12px; height: 16px; margin-left: -6px; }
.kd-vpin svg { display: block; width: 100%; height: 100%; }
.is-small > .kd-verified::after { border-width: 1px; }
/* the verified check on the photo */
.kd-vcheck { position: absolute; z-index: 3; right: -3px; bottom: -1px; width: 30%; height: 30%; min-width: 16px; min-height: 16px; max-width: 30px; max-height: 30px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.kd-vcheck svg { display: block; width: 100%; height: 100%; }
/* the Creator's Cap sits on the head, its peak to the side */
.kd-hat.kd-hat--creatorcap { left: 0; width: 104%; bottom: 76%; height: 46%; transform: rotate(-8deg); transform-origin: 45% 100%; }
/* the title */
/* no display of its own (owner 2026-11-30 "spacing ui again"): a card that puts the title on its own line under the name keeps it there */
.kd-title.is-verified { background: linear-gradient(90deg, #13306b, #1d5fb8, #13306b) 0 0 / 200% 100%; color: #fff; animation: kd-vshine 3s linear infinite; }
.kd-title.is-verified .kd-vseal { display: inline-block; margin-right: 5px; vertical-align: -2px; }
@keyframes kd-vshine { to { background-position: -200% 0; } }
.kd-vseal { display: inline-block; vertical-align: middle; }
/* Creator perks */
.kd-perks { display: inline-flex; align-items: center; justify-content: center; margin: 6px auto 0; padding: 7px 12px; border-radius: 99px; background: #eef4fd; color: #1d5fb8; font-weight: 700; font-size: .78rem; text-decoration: none; }
.kd-perks:hover { background: #dfeafb; }
/* the banner: the tag, the route, the pins, the polaroids */
.kb-vtag { position: absolute; z-index: 2; left: 3%; top: 22%; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 14px; background: #fff; border: 1.4px solid #d9b45e; border-radius: 6px; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); box-shadow: 0 6px 18px rgba(19, 48, 107, .12); }
.kb-vtag b { display: block; color: #13306b; font: 800 18px/1.15 "DM Sans", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.kb-vtag small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #8a6a1f; font: 600 12.5px/1 "DM Sans", system-ui, sans-serif; }
.kb-vtag small img { width: 13px; height: 13px; }
.kb-vdraw { stroke-dashoffset: 1; animation: kb-vdraw 9s ease-in-out infinite; }
@keyframes kb-vdraw { 0% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.kb-vdrop { animation: kb-vdrop 9s ease-out infinite; }
@keyframes kb-vdrop { 0%, 8% { transform: translateY(-26px); opacity: 0; } 14% { transform: translateY(0); opacity: 1; } 17% { transform: translateY(-5px); } 20%, 92% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
.kb-vsway { transform-box: fill-box; transform-origin: 50% 0; animation: kb-vsway 4s ease-in-out infinite alternate; }
@keyframes kb-vsway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@container (max-width: 520px) { .kb-vtag { display: none; } }
@media (max-width: 640px) { .kd-m .kb-vtag { display: none; } }
.kd-m .kb-vtag { display: none; }
@media (prefers-reduced-motion: reduce) { .kd-verified::after, .kd-vroute, .kd-title.is-verified, .kb-vdraw, .kb-vdrop, .kb-vsway { animation: none; } .kb-vdraw { stroke-dashoffset: 0; } }

/* the Verified check beside a name (owner 2026-11-30): small spaces, worn title or not */
.kd-vmark { display: inline-flex; flex: none; align-items: center; margin-left: 5px; vertical-align: -2px; }
.kd-vmark svg { display: block; width: 15px; height: 15px; }
.kd-named > .kd-vmark { flex: none; }
.pfh-nameline .kd-vmark, .pfa-nameline .kd-vmark { margin-left: 0; }
.pfh-nameline .kd-vmark svg, .pfa-nameline .kd-vmark svg { width: 22px; height: 22px; }
