#keychain-maker{width:min(1000px,calc(100vw - 28px));max-width:none;height:min(820px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #bec8bc;border-radius:20px;background:#faf8f1;color:#244440;box-shadow:0 24px 90px #071c2555;font-family:Arial,sans-serif;overflow:hidden}#keychain-maker[open]{display:flex;flex-direction:column}#keychain-maker::backdrop{background:#0b292cc4;backdrop-filter:blur(5px)}#keychain-maker *{box-sizing:border-box}#keychain-maker header{position:static;display:flex;justify-content:space-between;align-items:center;flex:none;padding:20px 24px;border-bottom:1px solid #d9dfd2;background:#faf8f1;color:#244440;min-height:0}#keychain-maker h2{font-family:Georgia,serif;font-size:29px;margin:5px 0 0;line-height:1.15;color:#244440}#keychain-maker button{cursor:pointer;border:1px solid #b9c7b8;border-radius:8px;padding:10px 12px;font:inherit;font-size:13px;background:#f4f5ed;color:#244440;min-height:36px}#keychain-maker button:disabled{opacity:.5;cursor:default}#keychain-maker button:focus-visible,#keychain-maker input:focus-visible,#keychain-maker select:focus-visible{outline:3px solid #bd7852;outline-offset:2px}#keychain-maker #keychain-close{font-size:24px;line-height:1;width:38px;padding:5px}.keychain-eyebrow{font-size:10px;letter-spacing:1.6px;color:#936e4f;font-weight:bold}.keychain-layout{display:grid;grid-template-columns:360px 1fr;flex:1;min-height:0}.keychain-controls{padding:20px 24px;overflow:auto;border-right:1px solid #d9dfd2}.keychain-controls label{display:block;margin:12px 0 5px;font-size:12px;font-weight:bold;line-height:1.4}.keychain-controls>label:first-child{margin-top:0}#keychain-maker input:not([type=file]):not([type=color]):not([type=range]),#keychain-maker select{display:block;width:100%;padding:10px;border:1px solid #b7c4b7;border-radius:8px;background:#fff;color:#244440;font-size:14px;margin:5px 0 0}#keychain-maker input[type=color]{width:100%;height:37px;display:block;margin-top:5px}#keychain-maker input[type=range]{width:100%;margin-top:7px}#keychain-name{font-size:21px!important}.keychain-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}#keychain-maker .keychain-presets button{padding:5px 5px 8px;font-size:11px}.keychain-presets svg{display:block;width:100%;height:42px;fill:#35645b}.keychain-presets svg text{font-size:12px;fill:#f3d29f;font-weight:bold}#keychain-maker .keychain-presets button[aria-pressed=true]{background:#e1ebdd;border:2px solid #285955;padding:4px 4px 7px}.keychain-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.keychain-controls details{margin-top:15px;border-top:1px solid #d9dfd2;padding-top:13px}.keychain-controls summary{cursor:pointer;font-size:13px;font-weight:bold}.keychain-controls .small,#keychain-image-name{font-size:11px;line-height:1.5;color:#65735e;overflow-wrap:anywhere}.keychain-upload{padding:10px;background:#e5ecde;border:1px dashed #7b947d;border-radius:8px}.keychain-upload input{font-size:11px;max-width:100%;margin-top:9px}.keychain-preview{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;background:radial-gradient(ellipse at center,#f5ebd5,#ece8dc);overflow:auto}.keychain-preview>svg{display:block;width:100%;height:250px;min-height:150px;overflow:visible;filter:drop-shadow(0 8px 5px #30483b22)}.keychain-preview p{font-size:12px;text-align:center;line-height:1.6;max-width:380px}.keychain-preview .small{font-size:11px;color:#687362}.keychain-preview #keychain-dimensions{font-weight:bold}#keychain-maker footer{display:flex;flex:none;gap:15px;justify-content:space-between;align-items:center;padding:15px 24px;border-top:1px solid #d9dfd2;background:#faf8f1}#keychain-maker footer>div{display:flex;gap:8px;flex-shrink:0}#keychain-maker #keychain-status{font-size:12px;line-height:1.5;margin:0}#keychain-maker .primary{background:#285955;color:#fff}.keychain-launch{width:100%;display:flex;align-items:center;gap:9px;padding:11px!important;margin:10px 0;border:1px solid #a9b9a2!important;border-radius:10px;background:#e5ecdf!important;color:#244440!important;text-align:left;cursor:pointer}.keychain-launch>span:first-child{font-size:25px}.keychain-launch>span:nth-child(2){flex:1}.keychain-launch b{display:block;font-size:12px}.keychain-launch small{display:block;font-size:10px;margin-top:4px;color:#65735e}.keychain-launch>span:last-child{font-size:18px}@media(max-width:700px){#keychain-maker{height:calc(100dvh - 16px);width:calc(100vw - 16px);max-height:none}.keychain-layout{display:flex;flex-direction:column-reverse;overflow:auto}.keychain-controls{overflow:visible;border-right:0;padding:16px}.keychain-preview{flex:none;overflow:visible;padding:16px}.keychain-preview>svg{height:140px;min-height:100px}.keychain-preview .small{display:none}#keychain-maker header{padding:14px 16px}#keychain-maker h2{font-size:23px}#keychain-maker footer{padding:12px;flex-direction:column;align-items:stretch;gap:8px}#keychain-maker footer>div{justify-content:stretch}#keychain-maker footer button{flex:1}#keychain-maker #keychain-status{font-size:11px}}
#keychain-maker [hidden]{display:none!important}
