.lr-page{padding-top:1rem}.lr-page>nav{margin-bottom:.75rem}.lr-page>section[aria-labelledby=tool-title]{padding-bottom:1.25rem}.lr-page #tool-title{font-size:1.875rem;line-height:1.2}.lr-page #tool-title+p{margin-top:.5rem;line-height:1.5}.lr-page>section[aria-label^=Инструмент]{padding:0;border:0;background:transparent}.lr-layout{display:grid;min-width:0;gap:1rem}.lr-stage,.lr-editor{min-width:0}.lr-stage{display:flex;flex-direction:column;align-items:center}.lr-modes{display:flex;width:100%;max-width:23rem;padding:.25rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface-muted)}.lr-modes button{flex:1;min-width:0;min-height:2.75rem;padding:.375rem .5rem;border-radius:.5rem;color:var(--text-muted);font-size:.875rem;line-height:1.25rem;font-weight:600}.lr-modes button:hover{background:var(--surface-hover);color:var(--text-primary)}.lr-modes button[aria-pressed=true]{background:var(--primary);color:var(--on-primary)}.lr-modes button:active{background:var(--primary-soft);color:var(--primary)}.lr-scene{width:100%;min-width:0;margin-top:1rem;text-align:center}.lr-result-label{min-height:1.5rem;color:var(--text-muted);font-size:.875rem;font-weight:600;line-height:1.5rem}.lr-result-content{position:relative;display:flex;min-width:0;min-height:6rem;align-items:center;justify-content:center;padding-block:.5rem}.lr-result-body{display:flex;width:100%;min-width:0;align-items:center;justify-content:center}.lr-result-body[data-hidden=true]{visibility:hidden}.lr-drawing{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--primary);font-size:clamp(1.75rem,6vw,3rem);font-weight:700;line-height:1.2;letter-spacing:-.03em}.lr-winner{display:block;max-width:100%;font-size:clamp(2.5rem,16vw,4rem);line-height:1.15;font-weight:800;letter-spacing:-.04em;overflow-wrap:anywhere}.lr-winner[data-long]{font-size:clamp(1.5rem,7vw,2.5rem);line-height:1.3}.lr-placeholder{width:100%;min-width:0;color:var(--text-muted)}.lr-placeholder p{font-size:clamp(1.5rem,7vw,2rem);font-weight:800;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere}.lr-placeholder span{display:block;margin-top:.5rem;font-size:.875rem;line-height:1.5rem}.lr-caption{min-height:1.5rem;color:var(--text-muted);font-size:.875rem;line-height:1.5rem}.lr-draw{width:100%;max-width:27rem;min-height:3.25rem;margin-top:1.25rem;padding-block:.5rem;font-size:1rem;line-height:1.5rem}.lr-draw[aria-disabled=true]{opacity:.65;cursor:default;background:var(--primary)}.lr-copy,.lr-restart{width:100%;max-width:27rem;margin-top:.75rem;font-weight:500}.lr-copy:disabled{opacity:1;color:var(--text-muted);background:var(--surface-muted)}.lr-icon{width:1.25rem;height:1.25rem;flex-shrink:0}.lr-notice{display:flex;min-height:1.25rem;width:100%;max-width:27rem;align-items:center;justify-content:center;margin-top:.375rem;color:var(--text-muted);font-size:.75rem;line-height:1.25rem;text-align:center;overflow-wrap:anywhere}.lr-copy-error{color:var(--primary)}.lr-results-scroll{width:100%;max-height:15rem;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior-y:contain;padding-inline:.5rem;border-radius:.5rem}.lr-results-list{list-style:none;margin:0;padding:0;text-align:left}.lr-results-list li{display:flex;min-width:0;gap:.75rem;padding-block:.75rem;border-bottom:1px solid var(--border);font-size:1rem;line-height:1.5rem}.lr-results-list li:last-child{border-bottom:0}.lr-results-list li>span:last-child{min-width:0;overflow-wrap:anywhere}.lr-result-number{color:var(--text-muted);font-variant-numeric:tabular-nums}.lr-editor-heading{display:none}.lr-disclosure{display:flex;width:100%;min-width:0;min-height:4.25rem;align-items:center;justify-content:space-between;gap:.75rem;padding:.875rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);text-align:left;font-size:.875rem;line-height:1.25rem}.lr-disclosure:hover{background:var(--surface-hover);border-color:var(--primary)}.lr-disclosure:active{background:var(--primary-soft)}.lr-disclosure>span:first-child{min-width:0}.lr-disclosure strong{font-weight:700}.lr-preview{display:block;margin-top:.375rem;color:var(--text-muted);font-size:.75rem;line-height:1.25rem;overflow-wrap:anywhere}.lr-disclosure-action{display:flex;flex-shrink:0;align-items:center;gap:.375rem;color:var(--primary);font-size:.75rem}.lr-disclosure[aria-expanded=true] .lr-icon{transform:rotate(180deg)}.lr-editor-panel,.lr-settings-panel{display:none;min-width:0}.lr-editor-panel[data-open=true],.lr-settings-panel[data-open=true]{display:block;padding-top:.875rem}.lr-textarea{display:block;min-height:11rem;resize:vertical;border-radius:.5rem}.lr-field-hint,.lr-deduplication{margin-top:.5rem;color:var(--text-muted);font-size:.75rem;line-height:1.25rem}.lr-clear{display:inline-flex;min-height:2.75rem;align-items:center;gap:.5rem;margin-top:.375rem;padding-inline:.375rem;border-radius:.5rem;color:var(--primary);font-size:.875rem;line-height:1.5rem}.lr-clear:hover{background:var(--surface-hover)}.lr-clear:active{background:var(--primary-soft)}.lr-clear:disabled{color:var(--text-muted);cursor:default;background:transparent}.lr-settings{margin-top:.75rem}.lr-count-field{display:flex;min-width:0;max-width:20.3125rem;flex-direction:column;gap:.5rem}.lr-count-field label{font-size:.875rem;line-height:1.25rem;font-weight:700}.lr-count-field .field-input{border-radius:.5rem}.lr-error{margin-top:.375rem;color:var(--primary);font-size:.875rem;line-height:1.5rem;overflow-wrap:anywhere}.lr-exclude{display:flex;min-height:2.75rem;align-items:flex-start;gap:.75rem;margin-top:1rem;padding-block:.25rem;cursor:pointer;font-size:.875rem;line-height:1.5rem}.lr-exclude input{width:1.25rem;height:1.25rem;flex-shrink:0;margin-top:.125rem;accent-color:var(--primary)}.lr-exclude span span{display:block;color:var(--text-muted);font-size:.75rem;line-height:1.25rem}.lr-rounds,.lr-shuffle-hint{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border);color:var(--text-muted);font-size:.875rem;line-height:1.5rem}.lr-excluded-names{margin-top:.375rem;overflow-wrap:anywhere}.lr-page #instruction,.lr-method{margin-top:2rem}.lr-instruction-steps{display:grid;gap:1.25rem;margin-top:1.25rem}.lr-instruction-step{display:flex;min-width:0;align-items:flex-start;gap:.875rem}.lr-instruction-number{display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:700}.lr-page #faq{margin-top:2rem;padding-top:1.5rem}@media(min-width:48rem){.lr-page{padding-top:3rem}.lr-page>nav{margin-bottom:1.25rem}.lr-page #tool-title{font-size:2.25rem}.lr-page>section[aria-labelledby=tool-title]{padding-bottom:1.5rem}.lr-instruction-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.lr-page #instruction,.lr-method,.lr-page #faq{margin-top:2.5rem}}@media(min-width:64rem){.lr-page>section[aria-label^=Инструмент]{padding:1.5rem;border:1px solid var(--border);background:var(--surface)}.lr-layout{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:2rem}.lr-stage{padding:0 1rem}.lr-scene{margin-top:2rem}.lr-result-label{font-size:1rem}.lr-result-content{min-height:10rem}.lr-winner{font-size:6rem}.lr-placeholder p{font-size:clamp(2rem,3vw,3rem)}.lr-caption{font-size:1rem}.lr-draw{min-height:3.5rem;margin-top:1.5rem}.lr-copy{width:auto}.lr-notice{min-height:2.5rem}.lr-results-scroll{max-height:18rem}.lr-editor{padding-left:2rem;border-left:1px solid var(--border)}.lr-editor-heading{display:flex;min-width:0;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:1rem}.lr-editor-heading h2{font-size:1.125rem;line-height:1.5rem;font-weight:700}.lr-editor-heading>span{color:var(--text-muted);font-size:.875rem}.lr-disclosure{display:none}.lr-editor-panel,.lr-settings-panel{display:block}.lr-editor-panel[data-open=true],.lr-settings-panel[data-open=true]{padding-top:0}.lr-textarea{min-height:12.5rem}.lr-settings,.lr-exclude{margin-top:1rem}}@media(max-width:39.999rem)and (max-height:43.75rem){.lr-page>nav{margin-bottom:.5rem}.lr-page>section[aria-labelledby=tool-title]{padding-bottom:1rem}.lr-page #tool-title{font-size:1.75rem}.lr-scene{margin-top:.75rem}.lr-result-content{min-height:5.5rem}.lr-draw{margin-top:.75rem}}
