.gd-figure:hover{filter:brightness(1.25);cursor:pointer}.gd-apikey-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:100}.gd-apikey-dialog{background:#fff;border-radius:12px;padding:24px 28px;width:340px;max-width:calc(100vw - 32px);box-shadow:0 20px 48px rgba(0,0,0,.18);display:flex;flex-direction:column;gap:16px}.gd-apikey-title{margin:0;font-size:1rem;font-weight:600;color:#111827}.gd-apikey-input{width:100%;box-sizing:border-box;border:1px solid rgba(17,24,39,.2);border-radius:8px;padding:10px 12px;font-size:.95rem;color:#111827;outline:none;transition:border-color .15s}.gd-apikey-input:focus{border-color:rgba(17,24,39,.5)}.gd-apikey-actions{display:flex;justify-content:flex-end;gap:10px}.gd-apikey-cancel,.gd-apikey-save{padding:8px 18px;border-radius:8px;border:none;font-size:.9rem;cursor:pointer;transition:background .15s}.gd-apikey-cancel{background:rgba(17,24,39,6%);color:#374151}.gd-apikey-cancel:hover{background:rgba(17,24,39,.12)}.gd-apikey-save{background:#111827;color:#fff}.gd-apikey-save:hover{background:#374151}.gd-search{position:fixed;top:16px;left:50%;transform:translateX(-50%);width:calc(100vw - 24px);max-width:520px;height:44px;display:flex;align-items:stretch;overflow:hidden;border:1px solid rgba(17,24,39,.14);border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(15,23,42,8%);backdrop-filter:blur(8px);z-index:4}.gd-search:focus-within{border-color:rgba(17,24,39,.24);box-shadow:0 12px 32px rgba(15,23,42,.12)}.gd-search-input{flex:auto;min-width:0;border:0;outline:0;background:0 0;color:#111827;font-size:.98rem;line-height:44px;padding:0 .95rem 0 1rem;box-sizing:border-box;appearance:none;-webkit-appearance:none;-moz-appearance:none}.gd-search-input::placeholder{color:rgba(17,24,39,.42)}.gd-search-submit{flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-left:1px solid rgba(17,24,39,8%);background:rgba(17,24,39,2%);color:rgba(17,24,39,.8);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.gd-search-submit:hover,.gd-search-submit:focus-visible{background:rgba(17,24,39,6%);color:#111827}.gd-search-submit:focus-visible{outline:none}.gd-search-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.gd-search-reset{flex:0 0 36px;width:36px;height:36px;margin:4px 4px 4px 0;padding:0;border:0;border-radius:999px;background:rgba(17,24,39,7%);color:rgba(17,24,39,.6);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.gd-search-reset:hover{background:rgba(17,24,39,.14);color:#111827}.gd-search-reset svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}.gd-search-loading .gd-search-input{color:rgba(17,24,39,.35);cursor:not-allowed}@keyframes gd-spin{to{transform:rotate(360deg)}}.gd-spinner{animation:gd-spin .75s linear infinite;stroke-dasharray:36 20}@media only screen and (max-width:640px){.gd-search{top:12px;max-width:none}}.gd-like-button{position:absolute;bottom:8px;right:8px;z-index:30;width:34px;height:34px;padding:0;border:0;border-radius:999px;background:rgba(0,0,0,.35);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease}.gd-like-button:hover{transform:scale(1.05)}.gd-like-button:focus-visible{outline:2px solid #fff;outline-offset:2px}.gd-like-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.gd-like-button.gd-like-active{background:rgba(0,0,0,.2);color:#e53935}.gd-like-button.gd-like-active svg{fill:currentColor;stroke:currentColor}.gd-modal-target{width:300px;border-radius:5px;cursor:pointer;transition:.3s}.gd-modal-target:hover{opacity:.7}.gd-modal{display:none;position:fixed;z-index:5;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.8)}.gd-modal-content-wrapper{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.gd-modal-image-frame{position:relative;display:inline-block;max-width:100%;max-height:100%}.gd-modal-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:25;width:48px;height:48px;padding:0;border:0;border-radius:999px;background:rgba(0,0,0,.35);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,transform .15s ease}.gd-modal-prev{left:16px}.gd-modal-next{right:16px}.gd-modal-nav:hover{background:rgba(0,0,0,.5);transform:translateY(-50%)scale(1.05)}.gd-modal-nav:focus-visible{outline:2px solid #fff;outline-offset:2px}.gd-modal-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.gd-modal-content{max-width:100vw;max-height:100vh;overflow:auto;object-fit:contain;position:relative;width:auto;height:auto}.gd-modal-content.gd-modal-thumbnail{backdrop-filter:blur(5px);transition:opacity .75s ease;z-index:10;opacity:1}.gd-modal-content.gd-modal-loaded.gd-modal-thumbnail{opacity:0;pointer-events:none}.gd-modal-image-frame .gd-like-button{position:absolute;bottom:8px;right:8px;pointer-events:auto;z-index:30}.gd-modal-exif{position:absolute;z-index:20;bottom:10px;right:10px;color:#fff;background-color:#8a8a8a;padding:.75rem;opacity:.75;filter:drop-shadow(-1px -1px 2px #ccc)}.gd-modal-exif-ontimeout{transition:opacity 2s ease-out;opacity:0}.gd-modal-exif:hover{opacity:1;cursor:pointer}.gd-modal-exif dl dd{display:inline;margin:0}.gd-modal-exif dl dd:after{display:block;content:""}.gd-modal-exif dl dt{display:inline-block;min-width:100px}.gd-modal-close{position:absolute;z-index:20;top:0;right:10px;color:#8a8a8a;font-size:40px;font-weight:700;transition:.3s}@media only screen and (max-device-width:800px){.gd-modal-close{font-size:45px}.gd-modal-nav{width:42px;height:42px}.gd-modal-prev{left:8px}.gd-modal-next{right:8px}}.gd-modal-close:hover,.gd-modal-close:focus{color:#bbb;text-decoration:none;cursor:pointer}