.cs-anniv-add-menu { position: absolute; top: 64px; right: 12px; z-index: 100216; min-width: 180px; padding: 6px; border: 1px solid #f3d9e0; border-radius: 18px; background: #fff9fb; box-shadow: 0 8px 28px #aa6e8526; }
.cs-anniv-add-menu[hidden] { display: none; }
.cs-anniv-add-menu button { display: block; width: 100%; padding: 13px 14px; border: 0; border-radius: 12px; background: transparent; color: #6a4c56; text-align: left; font: inherit; }
.cs-anniv-add-menu button:active { background: #ffeaf0; }
.cs-letter-settings { position: absolute; inset: 0; z-index: 100218; display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-radius: inherit; color: #4a5568; background: #fff5f7; font-size: 14px; line-height: 1.55; }
.cs-letter-settings * { box-sizing: border-box; }
.cs-letter-settings button, .cs-letter-settings input, .cs-letter-settings select { font: inherit; }
.cs-letter-settings button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cs-letter-settings h2, .cs-letter-settings h3, .cs-letter-settings p { margin: 0; }
.cs-ls-header { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 14px 16px; border-bottom: 1px solid #f8dfe6; background: #fffafbed; }
.cs-ls-header h2 { font-size: 18px; color: #765764; }
.cs-ls-header button { min-height: 40px; min-width: 46px; padding: 8px 13px; border: 0; border-radius: 24px; color: #765764; background: #ffe7ee; }
.cs-ls-header [data-ls-back] { font-size: 27px; line-height: 1; }
.cs-ls-header [data-ls-save] { background: #ffb7c5; color: #654251; font-weight: 600; box-shadow: 0 3px 12px #ffb7c540; }
.cs-ls-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px max(28px, env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; background-image: radial-gradient(#edbac733 .8px, transparent .8px); background-size: 8px 8px; }
.cs-ls-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
.cs-ls-hero { position: relative; overflow: hidden; min-height: 152px; padding: 22px 12px 25px; text-align: center; border: 2px solid #ffb7c533; border-radius: 26px 26px 18px 26px; background: linear-gradient(135deg, #fffefd, #fff0f6 65%, #f3edff); box-shadow: 0 4px 20px #ffb7c520; }
.cs-ls-ribbon { display: inline-block; padding: 4px 22px; color: #795161; background: #ffd8e3; font-size: 10px; letter-spacing: 2px; clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%); }
.cs-ls-hero h3 { margin-top: 11px; font-size: 21px; letter-spacing: 1px; color: #805f71; }
.cs-ls-hero p { margin-top: 6px; font-size: 11px; color: #9d8492; }
.cs-ls-flower { position: absolute; left: -3px; top: 3px; color: #ffc8d8; font-size: 47px; transform: rotate(-16deg); }
.cs-ls-sparkle { position: absolute; right: 12px; bottom: 12px; font-size: 36px; color: #d7b263; text-shadow: 0 0 14px #fde68a; }
.cs-ls-known { margin-top: 18px; padding: 15px; border: 1px solid #c4b5fd55; border-radius: 22px; background: #ffffffd9; }
.cs-ls-known h3, .cs-ls-section-title h3 { font-size: 14px; color: #765b70; }
.cs-ls-known h3 span { float: right; font-weight: 400; color: #a28fa7; font-size: 11px; }
.cs-ls-known > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cs-ls-known button { display: flex; gap: 8px; align-items: center; max-width: 100%; padding: 7px 10px; border: 1px solid #e6dff7; border-radius: 20px; background: #f8f5ff; font-size: 11px; color: #826c8e; }
.cs-ls-known button span { overflow-wrap: anywhere; }
.cs-ls-known b { font-size: 10px; font-weight: 400; white-space: nowrap; }
.cs-ls-time { display: grid; grid-template-columns: 32px 1fr; gap: 0 10px; margin: 16px 0 20px; padding: 15px; border: 1px solid #fde68a88; border-radius: 18px 24px 24px 18px; background: #fffdf5; }
.cs-ls-time > span { grid-row: span 2; align-self: center; color: #c8ab68; font-size: 31px; }
.cs-ls-time label { display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 12px; }
.cs-ls-time input { width: 104px; min-height: 35px; padding: 3px 6px; border: 1px solid #f2dfb7; border-radius: 16px; background: #fff; color: #806b51; }
.cs-ls-time p { margin-top: 5px; font-size: 10px; color: #9e8d75; }
.cs-ls-section-title { display: flex; justify-content: space-between; align-items: center; margin: 0 3px 10px; }
.cs-ls-section-title > span { color: #b38a9d; font-size: 11px; }
.cs-ls-rule { margin-bottom: 12px; border: 1px solid #ffb7c566; border-radius: 23px; background: #ffffffeb; box-shadow: 0 4px 16px #ffb7c518; overflow: hidden; }
.cs-ls-rule summary { display: flex; align-items: center; gap: 11px; padding: 14px; cursor: pointer; list-style: none; }
.cs-ls-rule summary::-webkit-details-marker { display: none; }
.cs-ls-stamp { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px dashed #e9a9bd; border-radius: 50%; color: #bb8097; background: #fff0f5; font-size: 12px; }
.cs-ls-rule summary strong { display: block; font-size: 13px; font-weight: 600; }
.cs-ls-rule summary small { display: block; font-size: 10px; color: #ab91a0; margin-top: 2px; }
.cs-ls-chevron { margin-left: auto; color: #bc91a4; }
.cs-ls-rule-body { padding: 2px 15px 15px; border-top: 1px dashed #f3dae3; }
.cs-ls-rule-body label { display: block; margin-top: 11px; color: #967c8d; font-size: 11px; }
.cs-ls-rule-body input, .cs-ls-rule-body select { display: block; width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; padding: 8px 11px; border: 1px solid #f5dce5; border-radius: 18px; background: #fff7fa; color: #695f73; font-size: 12px; }
.cs-ls-rule-body input::placeholder { color: #b6a0ae; font-size: 11px; }
.cs-ls-rule-body input:focus, .cs-ls-rule-body select:focus { outline: 2px solid #c4b5fd88; outline-offset: 1px; }
.cs-ls-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cs-ls-rule-body .cs-ls-hint { margin-top: 9px; font-size: 10px; line-height: 1.7; color: #b29aa8; }
.cs-ls-remove { display: block; margin: 12px 0 0 auto; padding: 6px 2px; border: 0; background: none; color: #ad8194; font-size: 11px !important; }
.cs-ls-add-rule { width: 100%; min-height: 46px; border: 1px dashed #e9b2c5; border-radius: 24px; color: #ab7890; background: #fffafd; }
.cs-ls-footnote { margin: 13px 0 !important; text-align: center; color: #a88e9d; font-size: 10px; line-height: 1.8; }
.cs-ls-empty { padding: 25px 15px; border: 1px dashed #f0cbd8; border-radius: 23px; text-align: center; font-size: 12px; color: #ad8d9f; margin-bottom: 12px; }
.cs-ls-status { padding: 14px; border: 1px solid #edc4d4; border-radius: 18px; background: #fff1f6; }
.cs-ls-status p, .cs-ls-validation { margin: 7px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: #9e657d; }
.cs-ls-status button { border: 0; border-radius: 20px; padding: 8px 16px; color: #805b72; background: #f7d9e5; }
@media (prefers-reduced-motion: reduce) { .cs-letter-settings * { scroll-behavior: auto !important; transition: none !important; } }
