/* Board of wishes for 2027: a window on the «2026» page that opens into a full-screen whiteboard.
   Panning moves .wb-pan by whole pixels and zooming uses CSS zoom on .wb-world, so text is laid out at its real size
   instead of being drawn once and stretched (a scale transform made it blurry). */

.wb { --wb-panel: #141416; --wb-panel2: #1c1c1f; --wb-line: #2a2a2e; --wb-mut: #a1a1aa; --wb-blue: #3b82f6; --wb-indigo: #6366f1; --wb-green: #10b981; --wb-board: #1b1c21; --wb-dot: rgba(255,255,255,.11); --wb-top: 64px; color: #f4f4f5; }
.wb [hidden] { display: none !important; }
/* Zero specificity, so a button's own class (.wb-btn and the rest) always sets its colour. */
:where(.wb) button { cursor: pointer; font: inherit; color: inherit; }

/* Frame: a rounded window on the page, or the whole screen. Full screen lies above the app's mobile bar (z-index 9999). */
.wb-frame { position: relative; height: 420px; border-radius: 24px; overflow: hidden; border: 1px solid var(--wb-line); background: var(--wb-board); isolation: isolate; transition: border-color .2s, box-shadow .2s; }
@media (max-width: 640px) { .wb-frame { height: 360px; border-radius: 20px; } }
.wb-frame.is-full { position: fixed; inset: 0; z-index: 10010; height: auto; border-radius: 0; border: 0; }
.wb-frame.is-moving { position: fixed; z-index: 10010; height: auto; transition: none; }
.wb-placeholder { border-radius: 24px; background: rgba(255,255,255,.03); }
html.wb-locked, html.wb-locked body { overflow: hidden !important; }

.wb-vp { position: absolute; inset: 0; overflow: hidden; background-color: var(--wb-board); background-image: radial-gradient(circle, var(--wb-dot) 1.1px, transparent 1.4px); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.wb-vp.is-panning { cursor: grabbing; }
.wb[data-view="preview"] .wb-vp { pointer-events: none; touch-action: auto; }
.wb-pan, .wb-world { position: absolute; left: 0; top: 0; }

/* Preview: the whole window is one button into the board. */
.wb-open { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 18px; border: 0; background: linear-gradient(to bottom, rgba(10,10,11,0) 55%, rgba(10,10,11,.55)); }
.wb-open > span { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(90deg, var(--wb-blue), var(--wb-indigo)); box-shadow: 0 12px 30px -10px rgba(59,130,246,.75); }
.wb-open > span, .wb-open-arrow { transition: transform .2s, box-shadow .2s; }
.wb-open-arrow { display: inline-block; }
.wb-open-new { display: inline-block; margin-left: 2px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 12.5px; font-weight: 700; }
/* A corner sign that the window opens: it appears on hover, and stays on screens without a pointer to hover with. */
.wb-open-corner { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 9px; border-radius: 50%; color: #fff; background: rgba(24,24,27,.82); border: 1px solid rgba(255,255,255,.14); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.wb-open:focus-visible { outline: none; }
.wb-open:focus-visible > span { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) {
    .wb[data-view="preview"] .wb-frame:hover, .wb[data-view="preview"] .wb-frame:focus-within { border-color: rgba(99,102,241,.75); box-shadow: 0 0 0 3px rgba(99,102,241,.18), 0 24px 60px -24px rgba(99,102,241,.6); }
    .wb-open:hover { background: linear-gradient(to bottom, rgba(10,10,11,0) 45%, rgba(10,10,11,.62)); }
    .wb-open:hover > span { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(99,102,241,.9); }
    .wb-open:hover .wb-open-arrow { transform: translateX(4px); }
    .wb-open:hover .wb-open-corner, .wb-open:focus-visible .wb-open-corner { opacity: 1; transform: none; }
}
@media (hover: none) { .wb-open-corner { opacity: .9; transform: none; } }
.wb[data-view="full"] .wb-open, .wb[data-view="full"] .wb-preview-only { display: none !important; }
.wb-preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 12px; font-size: 14px; color: var(--wb-mut); }
.wb-preview-bar .wb-btn { padding: 10px 18px; font-size: 14px; }
.wb[data-view="preview"] .wb-full-only { display: none !important; }

/* Top of the full board: no bar, the title lies on the board itself and the board can be dragged around it.
   A glow in the board's colour keeps the title readable when a sticker slides under it. */
.wb-top { position: absolute; inset: 0 0 auto; height: var(--wb-top); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; z-index: 6; pointer-events: none; }
.wb-top > * { pointer-events: auto; }
.wb-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
/* Round and dark, like the badges on the right. */
.wb-back { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--wb-line); background: var(--wb-panel2); display: grid; place-items: center; padding: 0; color: #f4f4f5; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.wb-back:hover { background: #2a2a2e; }
.wb-back svg { width: 20px; height: 20px; }
.wb-brand h2, .wb-brand p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 2px var(--wb-board), 0 0 6px var(--wb-board), 0 0 12px var(--wb-board); }
.wb-brand h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #f4f4f5; }
.wb-brand p { font-size: 12.5px; font-weight: 500; color: #a1a1aa; }
.wb-top .wb-link { color: #93c5fd; }
.wb-top-r { display: flex; align-items: center; gap: 6px; flex: none; }
.wb-pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--wb-panel2); border: 1px solid var(--wb-line); color: #d4d4d8; white-space: nowrap; }
.wb-iconbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--wb-panel2); border: 1px solid var(--wb-line); color: #e4e4e7; border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.wb-iconbtn svg { width: 16px; height: 16px; flex: none; }
.wb-link { background: none; border: 0; color: #93c5fd; font-weight: 600; font-size: 13px; padding: 6px 4px; }
.wb .wb-sm-only { display: none; }
@media (max-width: 640px) {
    .wb .wb-hide-sm { display: none; } .wb .wb-sm-only { display: inline-flex; } .wb-iconbtn { padding: 7px; }
    /* Plain inline text, so the space before the countdown is kept. */
    .wb .wb-brand p .wb-sm-only { display: inline; }
    .wb-top { padding: 0 8px; gap: 6px; }
    .wb-brand { gap: 8px; }
    .wb-back { width: 36px; height: 36px; }
    .wb-brand h2 { font-size: 15px; }
    .wb-top-r { gap: 4px; }
    .wb-top .wb-pill { padding: 5px 8px; }
    .wb-top .wb-link { padding: 6px 2px; }
}
@media (max-width: 374px) { .wb-brand h2 { font-size: 14px; } }

/* Sticker: flat, no tilt and no 3D layer, so text and paper lines stay sharp. 3D only while it flips. */
.wb-st { position: absolute; }
.wb-card { position: absolute; inset: 0; }
.wb-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 24px 14px 12px; border-radius: 3px 3px 8px 8px; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,.1), 0 12px 22px -12px rgba(0,0,0,.5); }
.wb-face::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(to top, rgba(0,0,0,.07), transparent); pointer-events: none; }
.wb-face.is-back { align-items: center; justify-content: center; box-shadow: inset 0 0 0 999px rgba(110,110,110,.14), 0 1px 1px rgba(0,0,0,.1), 0 12px 22px -12px rgba(0,0,0,.5); }
.wb-st.is-flip { perspective: 1000px; }
.wb-st.is-flip .wb-card { transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.75,.25,1); transition-delay: var(--rd, 0s); }
.wb-st.is-flip .wb-card.is-turned { transform: rotateY(180deg); }
.wb-st.is-flip .wb-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.wb-st.is-flip .wb-face.is-back { transform: rotateY(180deg); }
.wb-p-lined { --pl: rgba(0,0,0,.1); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--pl) 27px 28px); background-position: 0 20px; }
.wb-p-grid { --pl: rgba(0,0,0,.08); background-image: linear-gradient(var(--pl) 1px, transparent 1px), linear-gradient(90deg, var(--pl) 1px, transparent 1px); background-size: 16px 16px; }
.wb-dark.wb-p-lined, .wb-dark.wb-p-grid { --pl: rgba(255,255,255,.14); }
.wb-magnet { position: absolute; top: 7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7) 0 2px, var(--m) 3.5px); box-shadow: 0 2px 3px rgba(0,0,0,.35); z-index: 2; }
.wb-tx { flex: 1 1 auto; min-height: 0; overflow: hidden; line-height: 1.16; white-space: pre-wrap; overflow-wrap: anywhere; }
.wb-tx.is-placeholder { opacity: .4; }
/* Auto margins centre the text down the sticker, and a text too long for it still starts at the top, so fitting can measure it. */
.wb-tx.is-center { display: flex; flex-direction: column; text-align: center; }
.wb-tx.is-center > span { margin: auto 0; }
.wb-sg { flex: none; text-align: right; opacity: .78; line-height: 1.2; min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 2px; }
.wb-bm { display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .55; }
.wb-bm span { font-size: 26px; filter: grayscale(.3); }
.wb-bm small { font: 600 11px Inter, sans-serif; letter-spacing: .04em; color: rgba(0,0,0,.55); }
.wb-dark .wb-bm small { color: rgba(255,255,255,.7); }
.wb-ownb { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; font: 600 11px/1 Inter, sans-serif; color: #fff; background: rgba(63,63,70,.92); padding: 5px 9px; border-radius: 999px; z-index: 4; pointer-events: none; }

/* The sticker being placed: its status and two round buttons follow it on screen at the same size whatever the zoom. */
.wb-st.is-ghost { --gc: #16a34a; cursor: move; z-index: 900000 !important; }
.wb-st.is-ghost.is-bad { --gc: #dc2626; }
.wb-st.is-ghost .wb-face { outline: 3px dashed var(--gc); outline-offset: 4px; }
.wb-st.is-ghost.is-bad .wb-card { opacity: .82; }
.wb-gbub { position: fixed; z-index: 10015; transform: translateX(-50%); white-space: nowrap; font: 600 12px/1 Inter, sans-serif; color: #fff; background: #16a34a; padding: 7px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.25); pointer-events: none; }
.wb-gbub.is-bad { background: #dc2626; }
.wb-gbtns { position: fixed; z-index: 10015; transform: translateX(-50%); display: flex; gap: 14px; }
.wb-rb { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 0; box-shadow: 0 8px 22px -6px rgba(0,0,0,.5); }
.wb-rb svg { width: 24px; height: 24px; }
.wb-rb.is-back { background: #fff; color: #18181b; border: 1px solid rgba(0,0,0,.12); }
.wb-rb.is-ok { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.wb-rb.is-ok:disabled { background: #a1a1aa; cursor: not-allowed; box-shadow: none; }
.wb-placestep { position: absolute; left: 50%; top: calc(var(--wb-top) + 12px); transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); background: #18181b; border: 1px solid var(--wb-line); color: #f4f4f5; border-radius: 999px; padding: 7px 14px 7px 7px; font-size: 13px; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.wb-placestep b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--wb-blue); font-size: 12px; }
.wb-flyer { position: fixed; z-index: 10025; transform-origin: 0 0; pointer-events: none; }

/* Decorations */
.wb-deco { position: absolute; pointer-events: none; z-index: 3; }
.wb-sparkler { width: 84px; height: 84px; top: -50px; right: -36px; }
.wb-snow { left: 0; top: -18px; }
.wb-garland { left: -4px; right: -4px; top: -6px; height: 30px; }
.wb-garland svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wb-garland i { position: absolute; width: 9px; height: 13px; margin-left: -4.5px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px 3px var(--c); animation: wb-blink 1.3s ease-in-out var(--d) infinite alternate; }
@keyframes wb-blink { from { opacity: .3; box-shadow: 0 0 0 0 transparent; } to { opacity: 1; } }
.wb-pic { top: -24px; right: -20px; font-size: 44px; line-height: 1; transform: rotate(10deg); filter: drop-shadow(0 4px 3px rgba(0,0,0,.25)); animation: wb-bob 3.2s ease-in-out infinite; }
@keyframes wb-bob { 50% { transform: rotate(4deg) translateY(-4px); } }
.wb-fw { bottom: -12px; font-size: 26px; line-height: 1; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.wb-fw.is-left { left: -16px; transform: scaleX(-1); }
.wb-fw.is-right { right: -16px; }
.wb-st.is-reveal .wb-deco { opacity: 0; animation: wb-fade .5s forwards; animation-delay: calc(var(--rd, 0s) + .6s); }
.wb-st.is-reveal .wb-pic { animation: wb-fade .5s forwards, wb-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--rd, 0s) + .6s), 0s; }
@keyframes wb-fade { to { opacity: 1; } }

/* New since the last visit: a pill under the title, the list drops down from it. */
.wb-new { position: absolute; left: 50%; top: calc(var(--wb-top) + 12px); transform: translateX(-50%); z-index: 7; display: flex; flex-direction: column; align-items: center; width: max-content; max-width: calc(100% - 24px); }
.wb-new-bar { display: flex; gap: 6px; }
.wb-new-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 9px 12px 9px 16px; font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; background: linear-gradient(90deg, var(--wb-blue), var(--wb-indigo)); box-shadow: 0 12px 30px -10px rgba(99,102,241,.85); }
.wb-new-toggle svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.wb-new-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.wb-new-next { border: 1px solid var(--wb-line); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 14px; color: #f4f4f5; background: var(--wb-panel2); white-space: nowrap; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.wb-new-next:hover { background: #2a2a2e; }
.wb-new-list { margin-top: 8px; width: min(380px, calc(100vw - 24px)); max-height: min(52vh, 420px); overflow: auto; overscroll-behavior: contain; background: var(--wb-panel); border: 1px solid var(--wb-line); border-radius: 16px; padding: 6px; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.wb-new-head { margin: 6px 10px 8px; font-size: 12px; font-weight: 600; color: var(--wb-mut); }
.wb-new-item { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 10px; }
.wb-new-item:hover { background: var(--wb-panel2); }
.wb-new-item i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.wb-new-item span { flex: 1; min-width: 0; }
.wb-new-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.35; color: #f4f4f5; overflow-wrap: anywhere; }
.wb-new-item small { display: block; margin-top: 2px; font-size: 12px; color: var(--wb-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-new-item em { flex: none; margin-top: 1px; font-style: normal; font-size: 13px; color: #6ee7b7; }
.wb-new-item.is-seen b { color: #a1a1aa; }
/* The wish the person jumped to glows for a moment, so the eye finds it among its neighbours. */
.wb-st.is-spot .wb-face { outline: 3px solid rgba(250,204,21,0); outline-offset: 5px; animation: wb-spot 2.4s ease-out; }
.wb-st.is-spot .wb-card { border-radius: 3px 3px 8px 8px; animation: wb-spot-glow 2.4s ease-out; }
@keyframes wb-spot-glow { 18%, 70% { box-shadow: 0 0 36px 8px rgba(250,204,21,.5); } }
@keyframes wb-spot { 0% { outline-color: rgba(250,204,21,0); outline-offset: 16px; } 18%, 70% { outline-color: rgba(250,204,21,1); outline-offset: 5px; } 100% { outline-color: rgba(250,204,21,0); outline-offset: 5px; } }

/* Controls of the full board */
.wb-fab { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(59,130,246,.75); }
.wb-fab:disabled { background: #3f3f46; box-shadow: none; opacity: 1; }
.wb[data-view="preview"] .wb-fab { display: none; }
.wb-zoom { position: absolute; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.wb-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--wb-line); background: var(--wb-panel2); color: #f4f4f5; font-size: 18px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.wb-reveal { position: absolute; left: 50%; top: calc(var(--wb-top) + 14px); transform: translateX(-50%); z-index: 7; white-space: nowrap; box-shadow: 0 12px 30px -8px rgba(99,102,241,.85); animation: wb-pulse 1.6s ease-in-out infinite; }
.wb[data-view="preview"] .wb-reveal { top: 14px; }
@keyframes wb-pulse { 50% { transform: translateX(-50%) scale(1.05); } }

/* Buttons */
.wb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(90deg, var(--wb-blue), var(--wb-indigo)); text-decoration: none; }
.wb-btn:disabled { opacity: .45; cursor: not-allowed; }
.wb-btn2 { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wb-line); border-radius: 999px; padding: 11px 18px; font-weight: 600; font-size: 14px; color: #e4e4e7; background: var(--wb-panel2); text-decoration: none; }
.wb-wide { width: 100%; margin-top: 16px; }

/* Composer: slides in from the right, or up from the bottom on a phone. */
.wb-composer { position: fixed; z-index: 10020; top: 0; right: 0; bottom: 0; width: 410px; overflow: auto; background: var(--wb-panel); border-left: 1px solid var(--wb-line); padding: 16px 18px 28px; box-shadow: -20px 0 40px -20px rgba(0,0,0,.6); transform: translateX(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; }
.wb-composer.is-open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 640px) {
    .wb-composer { top: auto; left: 0; width: auto; max-height: 88vh; border-left: 0; border-top: 1px solid var(--wb-line); border-radius: 22px 22px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); }
    .wb-composer.is-open { transform: none; }
}
.wb-cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.wb-cmp-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.wb-x { flex: none; background: var(--wb-panel2); border: 0; width: 32px; height: 32px; border-radius: 50%; color: #d4d4d8; font-size: 15px; }
.wb-steps { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.wb-steps > button, .wb-steps > span { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--wb-mut); font-size: 13px; font-weight: 600; white-space: nowrap; }
.wb-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--wb-panel2); border: 1px solid var(--wb-line); font-size: 12px; color: #d4d4d8; }
.wb-steps .is-on { color: #fff; }
.wb-steps .is-on b { background: var(--wb-blue); border-color: var(--wb-blue); color: #fff; }
.wb-steps .is-done b { background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.5); color: #6ee7b7; }
.wb-steps i { flex: 1; height: 1px; min-width: 10px; background: var(--wb-line); }
.wb-pv { position: relative; background-color: var(--wb-board); background-image: radial-gradient(circle, var(--wb-dot) 1.1px, transparent 1.4px); background-size: 20px 20px; border-radius: 16px; overflow: hidden; }
.wb-pv-in { position: absolute; top: 36px; }
.wb-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--wb-mut); margin: 14px 0 6px; }
.wb-lbl span { font-weight: 400; }
.wb-composer textarea, .wb-composer input[type=text] { width: 100%; background: var(--wb-panel2); border: 1px solid var(--wb-line); border-radius: 12px; padding: 10px 12px; font-size: 15px; color: #f4f4f5; resize: none; outline: none; }
.wb-composer textarea:focus, .wb-composer input[type=text]:focus { border-color: var(--wb-blue); }
.wb-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--wb-mut); }
.wb-dice { background: none; border: 1px dashed #52525b; color: #e4e4e7; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.wb-dice:hover { border-color: #a1a1aa; }
.wb-small { font-size: 12px; color: var(--wb-mut); margin: 6px 0 0; }
.wb-center { text-align: center; }
.wb-over { color: #f87171 !important; font-weight: 700; }
.wb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wb-chip { border: 1px solid var(--wb-line); background: var(--wb-panel2); color: #d4d4d8; border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1.3; }
.wb-chip.is-on { background: var(--wb-blue); border-color: var(--wb-blue); color: #fff; }
.wb-chip.is-locked { opacity: .55; }
.wb-chip.is-font { font-size: 18px; padding: 4px 12px; }
.wb-chip.is-emoji { font-size: 18px; padding: 3px 10px; }
.wb-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.wb-swatches button.is-on { outline: 2px solid #fff; outline-offset: 3px; }
.wb-two { display: flex; flex-wrap: wrap; column-gap: 16px; }
.wb-seg { display: inline-flex; flex-wrap: wrap; background: var(--wb-panel2); border: 1px solid var(--wb-line); border-radius: 999px; padding: 3px; gap: 2px; }
.wb-seg button { border: 0; background: none; color: #d4d4d8; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.wb-seg button.is-on { background: #3f3f46; color: #fff; }
.wb-seg button:disabled { opacity: .35; cursor: not-allowed; }
.wb-plus { display: inline-block; font: 800 9px/1 Inter, sans-serif; letter-spacing: .06em; color: #fff; background: var(--wb-green); padding: 3px 5px; border-radius: 5px; vertical-align: 2px; margin-left: 4px; }
.wb-nudge { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.35); font-size: 13px; color: #d4d4d8; }
.wb-nudge b { color: #fff; }
.wb-nudge .wb-btn { margin-top: 10px; padding: 8px 14px; font-size: 13px; background: var(--wb-green); }
.wb-verdict { margin-top: 14px; padding: 11px 12px; border-radius: 12px; font-size: 13px; }
.wb-verdict b { display: block; color: #fff; margin-bottom: 2px; }
.wb-verdict b:last-child { margin-bottom: 0; }
.wb-verdict.is-err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fecaca; }
.wb-verdict.is-ok { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: #a7f3d0; }
.wb-verdict.is-info { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.4); color: #fde68a; }
.wb-verdict.is-wait { background: var(--wb-panel2); border: 1px solid var(--wb-line); color: #d4d4d8; display: flex; align-items: center; gap: 10px; }
.wb-verdict .wb-link { padding: 0; margin-top: 4px; }
.wb-check-row { margin-top: 12px; }
.wb-check-row.is-ok { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.wb-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--wb-green); color: #fff; }
.wb-tick svg { width: 14px; height: 14px; }
.wb-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #52525b; border-top-color: #93c5fd; animation: wb-spin .8s linear infinite; flex: none; }
@keyframes wb-spin { to { transform: rotate(360deg); } }
.wb-navrow { display: flex; gap: 8px; margin-top: 18px; }
.wb-navrow .wb-btn { flex: 1; }

/* Menu, toast, dialogs */
.wb-menu { position: fixed; z-index: 10030; min-width: 200px; max-width: 260px; background: var(--wb-panel); border: 1px solid var(--wb-line); border-radius: 14px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.wb-menu p { margin: 6px 8px; font-size: 13px; color: #d4d4d8; }
.wb-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: #f4f4f5; }
.wb-menu button:hover { background: var(--wb-panel2); }
.wb-menu .is-danger { color: #fca5a5; }
.wb-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10040; width: max-content; max-width: min(92vw, 460px); background: #18181b; border: 1px solid var(--wb-line); color: #f4f4f5; padding: 11px 16px; border-radius: 14px; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.45); text-align: center; }
.wb-modal { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.wb-modal-card { width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; background: var(--wb-panel); border: 1px solid var(--wb-line); border-radius: 20px; padding: 18px 20px; color: #f4f4f5; }
.wb-modal-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.wb-modal-card p { color: #d4d4d8; margin: 0 0 8px; }
.wb-modal-card ul { margin: 0; padding-left: 18px; color: #d4d4d8; font-size: 14px; list-style: disc; }
.wb-modal-card li { margin: 6px 0; }
.wb-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
/* Share dialog: the picture on a dark stage, then the ways to share it. */
.wb-modal-card.is-share { max-width: 560px; padding: 18px; }
.wb-share-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.wb-share-head h3 { margin: 0; }
.wb-share-stage { display: grid; place-items: center; margin-top: 12px; padding: 18px; border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, #26262b, #0d0d0f); }
.wb-share-img { display: block; max-width: 100%; max-height: min(56vh, 520px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 22px 44px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06); }
.wb-share-acts { display: flex; gap: 8px; margin-top: 14px; }
.wb-share-acts > * { flex: 1 1 0; min-width: 0; gap: 8px; white-space: nowrap; }
.wb-share-acts svg { width: 18px; height: 18px; flex: none; }
.wb-share-full { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--wb-line); }
.wb-share-full .wb-btn2 { width: 100%; gap: 8px; }
.wb-share-full .wb-btn2:disabled { opacity: .6; cursor: progress; }
.wb-share-full svg { width: 18px; height: 18px; flex: none; }
.wb-share-full .wb-small { text-align: center; margin-top: 8px; }
.wb-share-wait { display: flex; align-items: center; gap: 10px; min-height: 220px; color: var(--wb-mut); font-size: 14px; }
@media (max-width: 480px) {
    .wb-modal:has(.is-share) { padding: 10px; }
    .wb-modal-card.is-share { padding: 16px 14px; }
    .wb-share-stage { padding: 10px; border-radius: 14px; }
    .wb-share-acts { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .wb-garland i, .wb-pic, .wb-reveal { animation: none; }
    .wb-st.is-spot .wb-face { animation: none; outline-color: rgba(250,204,21,1); }
    .wb-st.is-spot .wb-card { animation: none; box-shadow: 0 0 36px 8px rgba(250,204,21,.5); }
    .wb-open > span, .wb-open-arrow, .wb-open-corner, .wb-frame { transition: none; }
    .wb-st.is-flip .wb-card, .wb-composer { transition: none; }
}
