.l4u-couple-settings {
  --couple-ink: #513b48;
  --couple-muted: #796673;
  --couple-line: #e6d6de;
  --couple-card: #fffdfc;
  --couple-field: #fff;
  margin-top: 36px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--couple-line);
  border-radius: 28px;
  color: var(--couple-ink);
  background: linear-gradient(145deg, #fff4f6, #f6f1ff 68%, #f2faf9);
  box-shadow: 0 10px 30px #60465c08;
}
.l4u-couple-settings *, .l4u-couple-settings *::before, .l4u-couple-settings *::after { box-sizing: border-box; }
.l4u-couple-settings [hidden] { display: none !important; }
.l4u-couple-settings h2 { margin: 0 0 8px; font-size: clamp(23px, 3vw, 31px); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.l4u-couple-settings h3 { margin: 0 0 10px; font-size: 18px; font-weight: 750; line-height: 1.35; }
.l4u-couple-settings h4 { margin: 0 0 10px; font-weight: 750; }
.l4u-couple-settings p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
.l4u-couple-settings .l4u-couple-kicker { margin-bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #966074; }
.l4u-couple-header { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.l4u-couple-header > div:first-child { flex: 1; }
.l4u-couple-header-art { width: 116px; flex: 0 0 116px; }
.l4u-couple-header-art :is(svg, img) { display: block; width: 100%; height: auto; }
.l4u-widget-art-cloud { fill: #eee4ff; }
.l4u-widget-art-heart { fill: #ed9eb6; stroke: #bb6889; stroke-width: 2; stroke-linejoin: round; }
.l4u-widget-art-star { fill: #d9af5b; }
.l4u-widget-art-face { fill: none; stroke: #784c61; stroke-width: 2.5; stroke-linecap: round; }
.l4u-couple-toolbar, .l4u-couple-connected { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; }
.l4u-couple-toolbar > div, .l4u-couple-connected > div { min-width: 0; }
.l4u-couple-toolbar strong, .l4u-couple-toolbar .l4u-couple-hint, .l4u-couple-connected strong { display: block; overflow-wrap: anywhere; }
.l4u-couple-connected strong { font-size: 12px; margin-top: 5px; }
.l4u-couple-card { padding: 22px; margin-top: 16px; border: 1px solid var(--couple-line); border-radius: 22px; background: var(--couple-card); min-width: 0; }
.l4u-couple-settings button { appearance: none; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 13px; background: #805365; color: #fff; font: inherit; font-size: 12px; line-height: 1.4; font-weight: 750; cursor: pointer; touch-action: manipulation; }
.l4u-couple-settings button.is-secondary, .l4u-couple-request button { border-color: var(--couple-line); color: var(--couple-ink); background: var(--couple-field); }
.l4u-couple-settings button:disabled { opacity: .48; cursor: default; }
.l4u-couple-open-app { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0; padding: 10px 14px; border: 1px solid var(--couple-line); border-radius: 12px; color: var(--couple-ink); background: var(--couple-card); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.l4u-couple-settings :is(button,input,textarea,select):focus-visible { outline: 3px solid #bb87a8; outline-offset: 3px; }
.l4u-couple-settings label { display: block; margin: 12px 0; font-size: 12px; font-weight: 700; }
.l4u-couple-settings :is(input:not([type=radio]),textarea,select) { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--couple-line); border-radius: 12px; background: var(--couple-field); color: var(--couple-ink); font: inherit; font-size: 14px; line-height: 1.5; }
.l4u-couple-settings textarea { resize: vertical; min-height: 152px; max-height: 420px; }
.l4u-couple-settings input::placeholder, .l4u-couple-settings textarea::placeholder { color: var(--couple-muted); opacity: .8; }
.l4u-couple-settings input[type=file] { padding: 8px; font-size: 12px; }
.l4u-couple-settings input::file-selector-button { min-height: 34px; padding: 6px 10px; border: 0; border-radius: 8px; margin-right: 10px; background: #eee0e8; color: #573c4c; font-weight: 700; }
.l4u-couple-settings .l4u-couple-hint { color: var(--couple-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.l4u-couple-or { display: flex; align-items: center; gap: 10px; color: var(--couple-muted); font-size: 11px; margin: 18px 0; }
.l4u-couple-or::before, .l4u-couple-or::after { content: ""; flex: 1; height: 1px; background: var(--couple-line); }
.l4u-couple-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.l4u-couple-buttons > button { flex: 1 1 120px; }
.l4u-couple-request-grid, .l4u-couple-letter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.l4u-couple-request-grid { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--couple-line); }
.l4u-couple-request { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--couple-line); }
.l4u-couple-request > div { flex: 1 1 100%; min-width: 0; }
.l4u-couple-request strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.l4u-couple-request small { color: var(--couple-muted); font-size: 10px; }
.l4u-couple-request button { flex: 1; padding-inline: 12px; }
.l4u-couple-invitation strong { overflow-wrap: anywhere; }
.l4u-couple-letter-grid { align-items: start; }
.l4u-couple-letter-grid .l4u-couple-card { margin-top: 0; }
.l4u-couple-received { background-image: repeating-linear-gradient(transparent 0 31px, #ab8a9d08 31px 32px); }
.l4u-couple-letter-copy { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 380px; overflow-y: auto; }
.l4u-couple-card img { display: block; width: 100%; max-height: 280px; margin: 12px 0; object-fit: contain; border-radius: 12px; }
.l4u-couple-received small { display: block; margin: 14px 0; color: var(--couple-muted); font-size: 11px; }
.l4u-couple-count { text-align: right; font-size: 11px !important; color: var(--couple-muted); }
.l4u-widget-choices { margin-top: 20px; }
.l4u-widget-picker-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .9fr); align-items: center; gap: 24px; margin: 24px 0 28px; padding: 18px; border: 1px solid var(--couple-line); border-radius: 22px; background: linear-gradient(130deg, #fdf5f8b3, #f5f2fb80); }
.l4u-widget-picker-copy { min-width: 0; }
.l4u-widget-picker-copy label { margin-top: 0; }
.l4u-widget-preview-tag { display: inline-block; margin-top: 10px; padding: 5px 8px; border: 1px solid var(--couple-line); border-radius: 7px; color: var(--couple-muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.l4u-widget-picker-copy .l4u-widget-example-name { margin: 9px 0 0; font-size: 16px; font-weight: 800; }
.l4u-widget-featured-preview { width: 100%; max-width: 340px; justify-self: center; transform: rotate(-2deg); padding: 7px; border-radius: 29px; background: #ffffff70; box-shadow: 0 8px 22px #79566a18; }
.l4u-widget-choices fieldset { padding: 0; margin: 20px 0; border: 0; min-width: 0; }
.l4u-widget-choices legend { font-size: 13px; font-weight: 750; margin-bottom: 12px; }
.l4u-widget-choices legend > span { margin-left: 8px; color: var(--couple-muted); font-size: 10px; font-weight: 400; }
.l4u-widget-designs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.l4u-widget-designs .l4u-widget-design { position: relative; min-width: 0; margin: 0; padding: 5px; border-radius: 22px; border: 2px solid transparent; cursor: pointer; }
.l4u-widget-design input { position: absolute; width: 18px; height: 18px; bottom: 11px; left: 10px; z-index: 1; margin: 0; accent-color: #86556d; color: #86556d; }
.l4u-widget-design input:focus { --tw-ring-color: #86556d; box-shadow: none; }
.l4u-widget-design:has(input:checked) { border-color: #b783a1; background: #f9edf3; box-shadow: 0 3px 12px #9a688115; }
.l4u-widget-design:focus-within { outline: 2px solid #b783a1; outline-offset: 2px; }
.l4u-widget-design strong { display: flex; min-height: 36px; align-items: center; justify-content: center; text-align: center; font-size: 10px; line-height: 1.3; padding: 6px 1px 2px 20px; }
.l4u-widget-design [data-widget-sample] { display: block; }
.l4u-widget-sample { --widget-bg: #fce5ed; --widget-line: #e9bfcf; --widget-ink: #6d4558; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); grid-template-rows: auto 1fr; min-height: 148px; align-items: center; gap: 4px; padding: 14px 9px 10px; border: 1px solid var(--widget-line); border-radius: 19px; background: radial-gradient(ellipse at top left, #fff9 0, transparent 75%), var(--widget-bg); color: var(--widget-ink); box-shadow: inset 0 2px 0 #ffffffb0, 0 3px 0 #6f355a08; overflow: hidden; }
.l4u-widget-sample::before { content: ''; position: absolute; width: 30px; height: 30px; border: 1px solid currentColor; opacity: .05; border-radius: 50%; top: -8px; right: 7px; pointer-events: none; }
.l4u-widget-example-top { grid-column: 1 / -1; position: relative; font-size: 7px; line-height: 1.4; font-weight: 850; letter-spacing: .12em; opacity: .8; }
.l4u-widget-example-art { position: relative; display: grid; place-items: center; align-self: stretch; min-width: 0; }
.l4u-widget-sample img.l4u-widget-mascot { position: relative; display: block; width: 78px; max-width: 122%; height: 92px; object-fit: contain; margin: 0; border-radius: 0; filter: drop-shadow(0 3px 2px #7540540d); }
.l4u-widget-sample img.l4u-widget-theme-sticker { position: absolute; width: 31px; height: 31px; object-fit: contain; margin: 0; left: -1px; bottom: 0; border-radius: 0; transform: rotate(-10deg); }
.l4u-widget-example-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 4px; }
.l4u-widget-example-count { display: block; font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.l4u-widget-example-count > span { display: block; margin-top: 5px; font-size: 8px; line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.l4u-widget-example-caption { display: block; font-size: 7px; line-height: 1.45; opacity: .85; }
.l4u-widget-example-title { font-size: 11px; line-height: 1.35; font-weight: 800; }
.l4u-widget-example-message { font-size: 11px; line-height: 1.5; }
.l4u-widget-design .l4u-widget-example-message { display: none; }
.l4u-widget-sample:is([data-widget-kind=letter], [data-widget-kind=photo]) { grid-template-columns: minmax(0, 1fr); text-align: center; }
.l4u-widget-sample:is([data-widget-kind=letter], [data-widget-kind=photo]) img.l4u-widget-mascot { height: 84px; width: 92px; }
.l4u-widget-sample:is([data-widget-kind=letter], [data-widget-kind=photo]) img.l4u-widget-theme-sticker { left: calc(50% - 55px); bottom: -2px; }
.l4u-widget-sample[data-style=cream] { --widget-bg: #fff4db; --widget-line: #e8d6ad; --widget-ink: #705438; }
.l4u-widget-sample[data-style=lilac] { --widget-bg: #eee5ff; --widget-line: #d0c0eb; --widget-ink: #695185; }
.l4u-widget-sample[data-style=sky] { --widget-bg: #dff2ff; --widget-line: #b7d6ea; --widget-ink: #3f657e; }
.l4u-widget-sample[data-style=mint] { --widget-bg: #e1f4e9; --widget-line: #b8d9c5; --widget-ink: #416c54; }
.l4u-widget-sample[data-style=peach] { --widget-bg: #ffeadc; --widget-line: #ecc7ae; --widget-ink: #7d5541; }
.l4u-widget-sample[data-style=midnight] { --widget-bg: #36334d; --widget-line: #79718e; --widget-ink: #fff0d2; background: radial-gradient(ellipse at top left, #61567170 0, transparent 75%), var(--widget-bg); box-shadow: inset 0 2px 0 #9e8da530, 0 3px 0 #20162420; }
.l4u-widget-sample[data-style=polaroid] { --widget-bg: #fffdf5; --widget-line: #e8e1d2; --widget-ink: #706057; background: #fffdf7; border: 5px solid #fff; border-radius: 9px; box-shadow: 0 3px 8px #463d5415; }
.l4u-widget-sample[data-style=love-note] { --widget-bg: #fff0f4; --widget-line: #e6c4d1; --widget-ink: #80516a; background: repeating-linear-gradient(#fff1f6 0 21px, #edd6e0 21px 22px); }
.l4u-widget-sample[data-style=cloud] { --widget-bg: #eff0ff; --widget-line: #d5d0ed; --widget-ink: #646385; background: linear-gradient(150deg, #e8edff, #fff9fe); border-radius: 28px; }
.l4u-widget-install { border-top: 1px solid var(--couple-line); padding-top: 10px; }
.l4u-widget-install > label { max-width: 440px; }
.l4u-widget-install .l4u-couple-buttons { max-width: 440px; margin-bottom: 14px; }
.l4u-widget-sizes { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.l4u-widget-sizes span { border: 1px dashed var(--couple-line); border-radius: 8px; padding: 7px 10px; color: var(--couple-muted); font-size: 11px; }
.l4u-couple-status { margin: 16px 0 0 !important; min-height: 22px; color: #4b7661; }
.l4u-couple-status.is-error { color: #a53850; }
.l4u-couple-confirm { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; border: 1px solid var(--couple-line); border-radius: 22px; color: var(--couple-ink); background: var(--couple-card); box-shadow: 0 16px 60px #17112240; }
.l4u-couple-confirm::backdrop { background: #231d2a80; }
html.l4u-dark .l4u-couple-settings {
  --couple-ink: #f7eaf0; --couple-muted: #c1acba; --couple-line: #594454; --couple-card: #2a242e; --couple-field: #352d38;
  background: linear-gradient(145deg, #2f222b, #272333 68%, #24332f); border-color: #594454;
}
html.l4u-dark .l4u-couple-settings .l4u-couple-kicker { color: #e4abc3; }
html.l4u-dark .l4u-couple-settings button:not(.is-secondary) { background: #a96d88; color: #fff; }
html.l4u-dark .l4u-widget-picker-top { background: linear-gradient(130deg, #392a35b3, #322c4080); }
html.l4u-dark .l4u-widget-featured-preview { background: #5c485d50; box-shadow: 0 8px 22px #0c08172e; }
html.l4u-dark .l4u-widget-design:has(input:checked) { background: #463144; border-color: #d49bb8; }
html.l4u-dark .l4u-couple-status { color: #a7d4ba; }
html.l4u-dark .l4u-couple-status.is-error { color: #ffa9ba; }
@media (max-width: 720px) {
  .l4u-couple-request-grid, .l4u-couple-letter-grid { grid-template-columns: minmax(0, 1fr); }
  .l4u-widget-designs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .l4u-widget-picker-top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  .l4u-widget-featured-preview { max-width: 310px; }
  .l4u-couple-header { gap: 10px; }
  .l4u-couple-header-art { width: 78px; flex-basis: 78px; }
  .l4u-couple-card { padding: 17px; }
}
@media (max-width: 420px) {
  .l4u-couple-settings { padding: 15px; border-radius: 20px; }
  .l4u-couple-header-art { display: none; }
  .l4u-widget-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l4u-couple-connected { flex-wrap: wrap; }
  .l4u-couple-toolbar { align-items: start; }
  .l4u-couple-toolbar > button { padding-inline: 12px; }
  .l4u-couple-confirm { padding: 20px; }
  .l4u-widget-picker-top { padding: 12px; }
  .l4u-widget-choices legend > span { display: block; margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .l4u-couple-settings * { scroll-behavior: auto !important; } }

/* Widget hub: the preview is the chosen size; artwork tiles only choose a look. */
.l4u-widgets-page { padding-bottom: 88px; }
.l4u-widget-page-heading { margin: 0 0 20px; }
.l4u-widget-page-heading h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 850; letter-spacing: -.05em; color: #583446; margin: 0 0 6px; }
.l4u-widget-page-heading > p { color: #796673; font-size: 14px; margin: 0; }
.l4u-widget-hub.l4u-couple-settings { --couple-card: #fffdfbbd; --couple-field: #ffffffb8; border: 0; padding: 0; margin-top: 0; border-radius: 0; box-shadow: none; background: transparent; }
.l4u-widget-hub :is(.l4u-couple-card,.l4u-couple-toolbar,.l4u-couple-connected,.l4u-couple-notifications,.l4u-widget-hub-tabs) { background: var(--couple-card); border: 1px solid #ffffffb0; box-shadow: inset 0 1px 0 #ffffff9c, 0 9px 28px #65435408; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.l4u-widget-hub-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border-radius: 18px; margin: 0 0 16px; }
.l4u-widget-hub-tabs > button { background: transparent !important; color: var(--couple-muted) !important; border: 0; border-radius: 13px; padding: 12px; min-height: 46px; font-size: 14px; }
.l4u-widget-hub-tabs > button[aria-selected=true] { background: #fffdfced !important; color: #744159 !important; box-shadow: 0 2px 9px #8b597818; }
.l4u-widget-hub .l4u-widget-choices { margin-top: 0; padding: 22px; }
.l4u-widget-hub .l4u-widget-picker-copy label { margin-top: 0; font-size: 13px; }
.l4u-widget-select { position: relative; display: block; margin-top: 7px; }
.l4u-widget-select::after { content: ''; position: absolute; right: 18px; top: 20px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); pointer-events: none; }
.l4u-widget-select select { appearance: none; -webkit-appearance: none; padding: 14px 42px 14px 15px; margin-top: 0; min-height: 50px; box-shadow: inset 0 1px 0 #fff8; }
.l4u-widget-preview-stage { height: 340px; display: grid; place-items: center; border-radius: 22px; background: radial-gradient(circle at 25% 12%, #f8dfe688, transparent 56%), radial-gradient(circle at 82% 78%, #dcebec88, transparent 60%), #f5f0f34f; overflow: hidden; margin-top: 18px; }
.l4u-widget-hub .l4u-widget-featured-preview { width: calc(100% - 30px); max-width: 244px; padding: 0; transform: none; border: 0; background: transparent; box-shadow: 0 10px 24px #79566a24; border-radius: 25px; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=large] { max-width: 290px; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=tall] { max-width: 154px; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) { max-width: 304px; }
.l4u-widget-hub .l4u-widget-sample { width: 100%; min-height: 0; height: auto; aspect-ratio: 1; grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr) auto; border-radius: 23px; padding: 14px; background: var(--widget-bg); text-align: center; gap: 5px; isolation: isolate; }
.l4u-widget-hub .l4u-widget-sample::before { top: -15%; left: -12%; width: 126%; height: 76%; border: 0; border-radius: 0 0 48% 48%; opacity: .5; background: #fff7; z-index: -1; }
.l4u-widget-hub .l4u-widget-example-top { grid-column: 1 / -1; font-size: 7px; line-height: 1.4; letter-spacing: .12em; text-align: left; }
.l4u-widget-hub .l4u-widget-example-art { min-height: 0; height: 100%; width: 100%; }
.l4u-widget-hub .l4u-widget-sample img.l4u-widget-mascot { width: 100%; height: 100%; min-height: 0; max-width: 160px; max-height: 160px; margin: 0; object-fit: contain; }
.l4u-widget-hub .l4u-widget-example-body { align-items: center; gap: 4px; }
.l4u-widget-hub .l4u-widget-example-count { font-size: 42px; }
.l4u-widget-hub .l4u-widget-example-count > span { display: inline-block; margin: 0 0 0 7px; font-size: 11px; max-width: 60px; vertical-align: middle; text-align: left; }
.l4u-widget-hub .l4u-widget-example-caption { font-size: 9px; }
.l4u-widget-hub .l4u-widget-example-title { font-size: 14px; }
.l4u-widget-hub .l4u-widget-example-message { font-size: 12px; line-height: 1.4; }
.l4u-widget-hub .l4u-widget-example-date { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.l4u-widget-hub .l4u-widget-example-date > strong { font-size: 9px; text-transform: uppercase; }
.l4u-widget-hub .l4u-widget-example-date > span { display: block; font-size: 44px; line-height: 1; margin: 0; letter-spacing: -.05em; }
.l4u-widget-hub .l4u-widget-example-date > small { font-size: 7px; }
.l4u-widget-hub .l4u-widget-sample img.l4u-widget-type-sticker { position: absolute; width: 40px; height: 40px; right: 10%; bottom: 0; margin: 0; border-radius: 0; }
.l4u-widget-hub .l4u-widget-sample img.l4u-widget-photo-frame { position: absolute; width: 88px; height: 88px; left: 6%; bottom: 0; margin: 0; transform: rotate(-10deg); }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] img.l4u-widget-mascot { transform: translateX(18%) rotate(7deg); }
.l4u-widget-doodle { position: absolute; font-size: 18px; opacity: .4; pointer-events: none; z-index: 0; }
.l4u-widget-doodle.is-one { right: 10px; top: 24px; transform: rotate(14deg); }
.l4u-widget-doodle.is-two { left: 10px; top: 53%; transform: rotate(-18deg); }
.l4u-widget-hub .l4u-widget-sample[data-style=blossom] { --widget-bg: #ffd0e1; --widget-line: #e49ab8; --widget-ink: #843753; }
.l4u-widget-hub .l4u-widget-sample[data-style=berry] { --widget-bg: #e9b8da; --widget-line: #cc89b6; --widget-ink: #662c56; }
.l4u-widget-hub .l4u-widget-sample[data-style=lovebirds] { --widget-bg: #ffc8ae; --widget-line: #eaa68e; --widget-ink: #854838; }
.l4u-widget-hub .l4u-widget-sample[data-style=bunny] { --widget-bg: #eed7fc; --widget-line: #d0ade8; --widget-ink: #715189; }
.l4u-widget-hub .l4u-widget-sample[data-style=lacy] { --widget-bg: #fde5e9; --widget-line: #d59ca9; --widget-ink: #974f69; border: 3px double var(--widget-line); }
.l4u-widget-hub .l4u-widget-sample[data-style=starlight] { --widget-bg: #373a69; --widget-line: #777bab; --widget-ink: #fff2d9; }
.l4u-widget-hub .l4u-widget-sample:is([data-style=midnight],[data-style=starlight])::before { opacity: .08; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=tall] .l4u-widget-sample { aspect-ratio: 1 / 2; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=compact] .l4u-widget-sample { aspect-ratio: 2 / 1; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=wide] .l4u-widget-sample { aspect-ratio: 3 / 1; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-sample { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); text-align: left; padding: 12px; gap: 3px; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-body { align-items: flex-start; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-caption { display: none; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=wide] .l4u-widget-example-message { display: none; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=wide] .l4u-widget-example-count { font-size: 29px; }
.l4u-widget-hub .l4u-widget-featured-preview[data-size=wide] .l4u-widget-example-title { font-size: 12px; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) img.l4u-widget-type-sticker { width: 25px; height: 25px; right: 2%; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) img.l4u-widget-photo-frame { width: 50px; height: 50px; }
.l4u-widget-preview-caption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 9px; margin: 15px 0 20px; font-size: 12px; }
.l4u-widget-preview-caption span { color: var(--couple-muted); }
.l4u-widget-preview-caption small { flex-basis: 100%; text-align: center; color: var(--couple-muted); font-size: 8px; letter-spacing: .1em; }
.l4u-widget-size-choices { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.l4u-widget-size-choice { position: relative; display: flex !important; flex-direction: column; align-items: center; margin: 0 !important; padding: 8px 3px; border: 1px solid var(--couple-line); border-radius: 13px; background: var(--couple-field); cursor: pointer; }
.l4u-widget-size-choice input, .l4u-widget-hub .l4u-widget-design input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.l4u-widget-size-choice:has(input:checked) { background: #f6e1eb; border-color: #a26985; box-shadow: inset 0 0 0 1px #a26985; }
.l4u-widget-size-choice:focus-within { outline: 3px solid #bb87a8; outline-offset: 3px; }
.l4u-widget-size-drawing { display: grid; place-items: center; width: 100%; height: 49px; color: #8e5c78; }
.l4u-widget-size-drawing > span { display: block; width: 30px; height: 30px; border-radius: 7px; border: 1.6px solid currentColor; background: repeating-linear-gradient(0deg, transparent 0 7px, #b57e9c19 7px 8px), repeating-linear-gradient(90deg, #b57e9c12 0 7px, #b57e9c24 7px 8px); }
.l4u-widget-size-drawing[data-size=compact] > span { width: 32px; height: 16px; border-radius: 5px; }
.l4u-widget-size-drawing[data-size=tall] > span { width: 18px; height: 36px; border-radius: 5px; }
.l4u-widget-size-drawing[data-size=wide] > span { width: 39px; height: 13px; border-radius: 4px; }
.l4u-widget-size-drawing[data-size=large] > span { width: 40px; height: 40px; }
.l4u-widget-size-choice strong { font-size: 10px; line-height: 1.5; }
.l4u-widget-size-choice small { margin-top: 2px; font-size: 10px; color: var(--couple-muted); }
.l4u-widget-hub .l4u-widget-designs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; max-height: 330px; overflow-y: auto; padding: 4px; scrollbar-width: thin; scrollbar-color: #b793a9 transparent; overscroll-behavior: contain; }
.l4u-widget-hub .l4u-widget-design { border-radius: 16px; padding: 4px; background: #fff6; }
.l4u-widget-hub .l4u-widget-design:has(input:checked) { border-color: #a26985; background: #f6e1eb; }
.l4u-widget-hub .l4u-widget-design:has(input:checked)::after { content: '\2713'; position: absolute; right: 7px; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #805365; color: white; text-align: center; font-size: 12px; line-height: 20px; }
.l4u-widget-hub .l4u-widget-design .l4u-widget-sample { aspect-ratio: 1; display: block; padding: 8px; border-radius: 12px; }
.l4u-widget-hub .l4u-widget-design .l4u-widget-example-art { height: 100%; }
.l4u-widget-hub .l4u-widget-design :is(.l4u-widget-example-top,.l4u-widget-example-body,.l4u-widget-doodle,.l4u-widget-type-sticker,.l4u-widget-photo-frame) { display: none; }
.l4u-widget-hub .l4u-widget-design strong { padding: 7px 1px 2px; min-height: 33px; font-size: 10px; }
.l4u-widget-hub .l4u-widget-design .l4u-widget-sample img.l4u-widget-mascot { max-width: 100%; max-height: 100%; transform: none; }
.l4u-widget-install { padding-top: 4px; border-top: 1px solid var(--couple-line); }
.l4u-widget-install .l4u-couple-buttons { flex-wrap: nowrap; }
.l4u-widget-install [data-couple=widget-pin] { flex: 1 1 auto; }
.l4u-widget-install [data-couple=widget-refresh] { flex: 0 0 auto; }
.l4u-widget-install p { text-align: center; margin: 12px 0 0; }
.l4u-widget-install .l4u-widget-private-note { font-size: 10px; margin-top: 4px; }
.l4u-widget-hub .l4u-couple-toolbar, .l4u-widget-hub .l4u-couple-connected { padding: 15px; border-radius: 20px; margin-bottom: 15px; }
.l4u-widget-hub .l4u-couple-toolbar .l4u-couple-hint { font-size: 10px; margin-top: 4px; user-select: text; }
.l4u-couple-account-actions { display: flex; gap: 5px; flex-shrink: 0; }
.l4u-couple-account-actions button { padding: 9px 10px; font-size: 10px; }
.l4u-couple-account-actions [data-couple=refresh] { font-size: 22px; line-height: 1; width: 40px; }
.l4u-widget-hub [data-couple=request-send], .l4u-widget-hub [data-couple=invite-create], .l4u-widget-hub [data-couple=send] { width: 100%; }
.l4u-widget-hub .l4u-couple-notifications { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 20px; margin-top: 16px; }
.l4u-couple-notifications > div { flex: 1; }
.l4u-couple-notifications strong { font-size: 13px; }
.l4u-couple-notifications p { font-size: 11px; margin: 3px 0 0; color: var(--couple-muted); }
.l4u-couple-notifications button { max-width: 150px; padding: 10px; font-size: 11px; }
.l4u-widget-loading { padding: 18px; border-radius: 22px; border: 1px solid var(--couple-line); }
.l4u-widget-skeleton, .l4u-widget-hub img.is-loading { background: linear-gradient(100deg,#e6dbe380 20%,#fff8 42%,#e6dbe380 65%); background-size: 220% 100%; animation: l4u-widget-shimmer 1.7s ease-in-out infinite; border-radius: 12px; }
.l4u-widget-skeleton { display: block; margin-bottom: 12px; }
.l4u-widget-skeleton.is-title { width: 46%; height: 24px; }
.l4u-widget-skeleton.is-line { width: 75%; height: 14px; }
.l4u-widget-skeleton.is-card { height: 140px; margin-bottom: 0; }
.l4u-widget-startup-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.l4u-widget-startup-grid .l4u-widget-skeleton { aspect-ratio: 1; margin: 0; }
@keyframes l4u-widget-shimmer { to { background-position: -220% 0; } }
html.l4u-dark .l4u-widget-page-heading h1 { color: #ffe2ee; }
html.l4u-dark .l4u-widget-page-heading > p { color: #c6acbb; }
html.l4u-dark .l4u-widget-hub { --couple-card: #292330ba; --couple-field: #342b3de0; }
html.l4u-dark .l4u-widget-hub :is(.l4u-couple-card,.l4u-couple-toolbar,.l4u-couple-connected,.l4u-couple-notifications,.l4u-widget-hub-tabs) { border-color: #a47d962c; box-shadow: inset 0 1px 0 #ffffff0a, 0 10px 28px #00000010; }
html.l4u-dark .l4u-widget-hub-tabs > button[aria-selected=true] { background: #604157 !important; color: #ffe8f5 !important; }
html.l4u-dark .l4u-widget-preview-stage { background: radial-gradient(circle at 25% 12%,#64415755,transparent 65%),#201d2660; }
html.l4u-dark .l4u-widget-hub .l4u-widget-design { background: #ffffff05; }
html.l4u-dark .l4u-widget-size-choice:has(input:checked), html.l4u-dark .l4u-widget-hub .l4u-widget-design:has(input:checked) { background: #523749; border-color: #d69cb8; }
html.l4u-dark .l4u-widget-size-drawing { color: #d69cb8; }
html.l4u-dark .l4u-widget-select select { box-shadow: none; }
html.l4u-dark .l4u-widget-skeleton, html.l4u-dark .l4u-widget-hub img.is-loading { background-image: linear-gradient(100deg,#4a3a4980 20%,#78627355 42%,#4a3a4980 65%); }
@media (max-width: 560px) {
  .l4u-widget-hub-shell { padding-inline: 14px; }
  .l4u-widget-hub .l4u-widget-choices { padding: 15px; }
  .l4u-widget-hub .l4u-widget-designs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .l4u-widget-preview-stage { height: 326px; }
  .l4u-widget-size-choices { gap: 5px; }
  .l4u-widget-size-choice strong { font-size: 9px; }
  .l4u-couple-account-actions { flex-wrap: wrap; justify-content: end; max-width: 101px; }
}
@media (max-width: 360px) {
  .l4u-widget-hub .l4u-widget-choices { padding: 12px; }
  .l4u-widget-size-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .l4u-widget-hub .l4u-widget-designs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .l4u-widget-preview-stage { height: 300px; }
  .l4u-widget-hub .l4u-widget-featured-preview[data-size=tall] { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) { .l4u-widget-skeleton, .l4u-widget-hub img.is-loading { animation: none; } }
@media (forced-colors: active) { .l4u-widget-size-choice:has(input:checked), .l4u-widget-hub .l4u-widget-design:has(input:checked) { outline: 2px solid Highlight; } }
.l4u-widget-hub .l4u-widget-sample::before { opacity: .025; }
.l4u-widget-hub .l4u-widget-sample[data-style=cream] { --widget-bg: #fff8ee; --widget-ink: #4d2748; }
.l4u-widget-hub .l4u-widget-sample[data-style=lilac] { --widget-bg: #f3eafb; --widget-ink: #4d2748; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] { position: relative; display: block; padding: 0; overflow: hidden; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] .l4u-widget-example-art { position: absolute; inset: 0; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] img.l4u-widget-mascot { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; transform: none; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] :is(.l4u-widget-example-top,.l4u-widget-doodle,.l4u-widget-photo-frame) { display: none; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] .l4u-widget-example-body { position: absolute; inset: auto 0 0; padding: 14px 10px 10px; color: #fff; background: linear-gradient(transparent,rgba(45,23,43,.82)); text-align: left; align-items: flex-start; }
.l4u-widget-hub .l4u-widget-sample[data-widget-kind=photo] .l4u-widget-example-caption { color: #fff; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-date { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; column-gap: 10px; text-align: left; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-date > span { grid-column: 1; grid-row: 1 / 3; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-date > strong { grid-column: 2; grid-row: 1; }
.l4u-widget-hub .l4u-widget-featured-preview:is([data-size=compact],[data-size=wide]) .l4u-widget-example-date > small { grid-column: 2; grid-row: 2; }
