:root{--bg: #faf8f5;--surface: #ffffff;--surface-2: #f1eee9;--text: #1f1d1a;--muted: #6b665e;--text-2: #4f4a44;--ring: rgb(0 0 0 / .45);--line: #e2ddd5;--accent: #6d3fc0;--accent-text: #ffffff;--focus: #2b6de8;--strong: #1f7a3d;--strong-bg: #e3f4e8;--possible: #8a5a00;--possible-bg: #fbefd5;--weak: #6b665e;--weak-bg: #efece7;--radius: 14px;--shadow: 0 1px 2px rgb(0 0 0 / .05), 0 4px 16px rgb(0 0 0 / .04);--gutter: 16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%}@media(prefers-color-scheme:dark){:root{--bg: #17151a;--surface: #211e25;--surface-2: #2b2730;--text: #f1eef4;--muted: #a7a0ae;--text-2: #cfc8d6;--ring: rgb(255 255 255 / .6);--line: #3a3540;--accent: #b493ff;--accent-text: #17151a;--focus: #7fb0ff;--strong: #7fd99b;--strong-bg: #1d3526;--possible: #f3c46b;--possible-bg: #3a2e14;--weak: #a7a0ae;--weak-bg: #2b2730;--shadow: none}}*{box-sizing:border-box}[hidden]{display:none!important}html{-webkit-tap-highlight-color:transparent}body{margin:0;background:var(--bg);line-height:1.45}a{color:var(--accent)}button,input,label{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}.skip{position:absolute;left:-999px;top:8px;background:var(--surface);padding:8px 12px;z-index:10}.skip:focus{left:8px}.muted{color:var(--muted)}.site-header,main,.site-footer{max-width:760px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}.site-header{padding-top:20px}.site-header h1{font-size:1.5rem;margin:0;letter-spacing:-.01em}.site-header h1:before{content:"";display:block;width:56px;height:6px;border-radius:3px;margin-bottom:10px;background:linear-gradient(90deg,#e40303 0,#e40303 16.6%,#ff8c00 0,#ff8c00 33.3%,#ffed00 0,#ffed00 50%,#008026 0,#008026 66.6%,#004dff 0,#004dff 83.3%,#750787 0)}.tagline{margin:4px 0 16px;color:var(--muted)}.picker{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px}.preview-wrap{position:relative}.flag-preview{display:flex;flex-direction:column;aspect-ratio:5 / 3;max-height:170px;width:100%;margin:0 auto;border-radius:8px;overflow:hidden;background:var(--surface-2);border:1px solid var(--line);touch-action:none;-webkit-user-select:none;user-select:none}.flag-preview.vertical{flex-direction:row}.stripe{flex:1 1 0;min-height:0;min-width:0;border:0;border-radius:0;padding:0;margin:0;cursor:grab;position:relative}.stripe.selected{box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 6px var(--text);z-index:1}.preview-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;margin:0;padding:16px;text-align:center;color:var(--muted);pointer-events:none}.stripe-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-top:10px;padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:.92rem}.tool-buttons{display:flex;gap:6px}.controls{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;align-items:center;margin:10px 0}.control-buttons{display:flex;gap:4px}.controls button{min-height:36px;padding:0 10px;font-size:.9rem}button{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);cursor:pointer}button:disabled{opacity:.45;cursor:default}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.segmented button{border:0;border-radius:0;background:transparent}.segmented button[aria-checked=true]{background:var(--accent);color:var(--accent-text)}.swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:2px 4px}.swatch{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0;min-height:0;height:auto;border-radius:10px;border:1px solid transparent;background:transparent;cursor:pointer}@media(hover:hover){.swatch:hover{background:var(--surface-2)}}.swatch:active .swatch-dot{transform:scale(.9)}.swatch-dot{width:32px;height:32px;border-radius:50%;background:var(--c);transition:transform .08s;box-shadow:0 0 0 1.5px var(--ring)}.swatch.custom .swatch-dot{background:conic-gradient(#e40303,#ff8c00,#ffed00,#008026,#004dff,#750787,#e40303)}.swatch-name{font-size:.7rem;color:var(--text-2);text-align:center;line-height:1.1}.results{margin-top:20px}.results h2{font-size:1.15rem;margin:0 0 4px}.status{margin:0 0 12px;color:var(--muted);font-size:.95rem}.result-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.result{display:grid;grid-template-columns:112px 1fr;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.thumb img,.variant img{display:block;width:100%;height:auto;border-radius:6px;border:1px solid var(--line);background:var(--surface-2)}.result-body{min-width:0}.result-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}.label{font-weight:650;font-size:1.05rem;text-decoration:none;overflow-wrap:anywhere}.label:hover{text-decoration:underline}.badge{font-size:.75rem;padding:2px 8px;border-radius:99px;white-space:nowrap}.badge.strong{color:var(--strong);background:var(--strong-bg)}.badge.possible{color:var(--possible);background:var(--possible-bg)}.badge.weak{color:var(--weak);background:var(--weak-bg)}.chips{display:flex;gap:3px;margin:6px 0;flex-wrap:wrap}.chip{width:16px;height:16px;border-radius:4px;box-shadow:0 0 0 1px var(--ring)}.credit{margin:4px 0;font-size:.92rem;overflow-wrap:anywhere}.credit-details,.variants{font-size:.9rem;margin-top:4px}.credit-details summary,.variants summary{cursor:pointer;color:var(--accent);padding:4px 0}.credit-body{padding:4px 0 2px;overflow-wrap:anywhere}.credit-body p{margin:6px 0}.credit-body ul{margin:4px 0;padding-left:20px}.variants ul{list-style:none;padding:0;margin:6px 0 0;display:grid;gap:10px}.variant{display:grid;grid-template-columns:80px 1fr;gap:10px}@media(min-width:560px){.result{grid-template-columns:160px 1fr}.site-header h1{font-size:1.8rem}}.site-footer{padding-top:24px;padding-bottom:40px;font-size:.88rem;color:var(--muted)}.site-footer p{margin:8px 0}.jump{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:5;min-height:46px;padding:0 18px;border-radius:99px;border:0;background:var(--accent);color:var(--accent-text);font-weight:600;box-shadow:0 6px 20px #00000040;max-width:calc(100vw - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:12px}.upload-btn{font-weight:600;border-color:var(--accent);color:var(--accent)}.upload-hint{font-size:.85rem;color:var(--muted)}body.dragging .picker{outline:3px dashed var(--accent);outline-offset:4px}.notice{margin:10px 0 0;padding:8px 10px;border-radius:10px;font-size:.92rem;background:var(--possible-bg);color:var(--possible)}.notice.ok{background:var(--strong-bg);color:var(--strong)}.crop{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;padding:0;border:0;background:var(--bg);color:var(--text)}.crop[open]{display:grid;grid-template-rows:auto 1fr auto}.crop::backdrop{background:#0009}.crop-head{padding:12px var(--gutter) 4px}.crop-head h2{margin:0;font-size:1.1rem}.crop-head p{margin:2px 0 0;font-size:.85rem}.crop-stage{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;padding:8px var(--gutter);touch-action:none;-webkit-user-select:none;user-select:none}.crop-stage canvas{max-width:100%;max-height:100%;display:block;cursor:crosshair}.crop-box{position:absolute;border:2px solid #fff;outline:2px solid #000;box-shadow:0 0 0 9999px #00000073;pointer-events:none}.crop-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;padding:10px var(--gutter) max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.crop-actions .primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent);font-weight:600}.results-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;margin-bottom:4px}.results-head h2{margin:0}.name-search input{min-height:40px;width:min(100%,260px);padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit}.badge.name{color:var(--muted);background:var(--surface-2)}.back{margin:0 0 12px;font-size:.92rem}.prose{line-height:1.6}.prose h2{font-size:1.2rem;margin:28px 0 8px}.prose p,.prose li{max-width:62ch}.prose ul{padding-left:20px}.prose li{margin:6px 0}.prose code{font-size:.95em;background:var(--surface-2);padding:0 4px;border-radius:4px}.toc{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}.toc a{padding:6px 12px;border-radius:99px;background:var(--surface);border:1px solid var(--line);text-decoration:none;font-size:.9rem}.prose section{scroll-margin-top:12px}.label.small{font-size:.98rem}.result>details{grid-column:1 / -1;margin-top:0;border-top:1px solid var(--line);padding-top:6px}.result>details+details{border-top:0;padding-top:0}.crop-found{margin:4px 0 0;font-size:.92rem;font-weight:600;color:var(--accent);min-height:1.2em}.crop-suggest{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.suggest{position:absolute;pointer-events:auto;min-height:0;padding:0;border-radius:4px;border:2px dashed var(--accent);background:#6d3fc014;cursor:pointer}.suggest span{position:absolute;top:-10px;left:-10px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;font-weight:700;background:var(--accent);color:var(--accent-text)}.suggest.chosen{border-style:solid;background:transparent}.stripe{display:flex;align-items:center;justify-content:center;overflow:hidden}.stripe-name{font-size:.72rem;font-weight:600;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0 4px;pointer-events:none}.flag-preview.vertical .stripe-name{writing-mode:vertical-rl;max-height:100%}.swatches:empty{min-height:252px}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){.stripe,.swatch-dot,.chip,.thumb img,.variant img,.flag-preview,.crop-stage canvas{forced-color-adjust:none}.stripe.selected{outline:4px solid Highlight;outline-offset:-4px}.swatch-dot,.chip,.badge{border:1px solid CanvasText}.segmented button[aria-checked=true]{background:Highlight;color:HighlightText;forced-color-adjust:none}.suggest.chosen,.crop-box{outline:3px solid Highlight}}.blurb{margin:0;font-size:.92rem;line-height:1.45;color:var(--text);overflow-wrap:anywhere}.result>.blurb{grid-column:1 / -1}.blurb .more{font-weight:600}.flag-title{margin:2px 0 4px;font-size:.95rem;font-weight:500;overflow-wrap:anywhere}.variant .flag-title{margin-top:0}.try{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 8px}.try-label{font-size:.9rem;color:var(--text-2)}.try-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px 0 8px;border-radius:99px}.mini-flag{display:inline-flex;flex-direction:column;width:26px;height:16px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px var(--ring)}.mini-flag i{flex:1}@media(forced-colors:active){.mini-flag{forced-color-adjust:none}}.why{font-size:.9rem;margin-top:4px}.why summary{cursor:pointer;color:var(--accent);padding:4px 0}.why p{margin:6px 0}.why-grid{display:grid;grid-template-columns:auto auto 1fr;gap:4px 12px;margin:8px 0;align-items:center}.why-head{font-size:.78rem;color:var(--text-2);font-weight:600}.why-cell{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.why-note{color:var(--text-2)}.why-cell .chip{width:14px;height:14px;flex:none}.random-btn{white-space:nowrap}.results-head{gap:8px}.results-head h2{margin-right:auto}.prose h3{font-size:1.05rem;margin:24px 0 6px}.table-wrap{overflow-x:auto;margin:8px 0 12px}.privacy-table{border-collapse:collapse;width:100%;min-width:560px;font-size:.9rem;line-height:1.4}.privacy-table th,.privacy-table td{text-align:left;vertical-align:top;padding:6px 8px;border-bottom:1px solid var(--line)}.privacy-table th{color:var(--text-2);font-weight:600}.also-used{margin:2px 0 4px;font-size:.88rem;color:var(--text-2);overflow-wrap:anywhere}.link-button{min-height:0;padding:0;border:0;background:none;color:var(--accent);text-decoration:underline;cursor:pointer;font:inherit}img.missing{opacity:0}
