:root{--edi-ink:#2d2822;--edi-green:#356d59;--edi-green-soft:#e8f5ed;--edi-gold:#d8aa4e;--edi-cream:#fffaf0;--edi-line:#ead7b5;--edi-shadow:0 18px 50px rgba(68,48,28,.13)}
.eddy-index{margin-top:22px;color:var(--edi-ink)}
.eddy-index__hero{position:relative;overflow:hidden;padding:clamp(24px,4vw,52px);border:1px solid var(--edi-line);border-radius:30px;background:linear-gradient(135deg,#fffdf7 0%,#f2fbf5 54%,#fff4d8 100%);box-shadow:var(--edi-shadow)}
.eddy-index__hero:after{content:"?";position:absolute;right:4%;top:-35%;color:rgba(53,109,89,.07);font:900 240px/1 Georgia,serif;transform:rotate(8deg);pointer-events:none}
.eddy-index__eyebrow{margin:0 0 8px;color:var(--edi-green);font-size:12px;font-weight:950;letter-spacing:.16em;text-transform:uppercase}
.eddy-index__hero h2{max-width:760px;margin:0;font:800 clamp(30px,5vw,58px)/1.03 Georgia,"Noto Serif TC",serif}
.eddy-index__hero>p:not(.eddy-index__eyebrow){max-width:690px;margin:18px 0 0;color:#665a4e;font-weight:650;line-height:1.75}
.eddy-index__progress{display:grid;grid-template-columns:1fr auto;align-items:end;gap:16px;margin-top:26px}
.eddy-index__progress strong{font-size:clamp(27px,4vw,44px);color:var(--edi-green)}
.eddy-index__progress span{color:#766858;font-weight:800}
.eddy-index__track{grid-column:1/-1;height:12px;overflow:hidden;border-radius:999px;background:#e8e2d8;box-shadow:inset 0 2px 3px rgba(44,31,17,.08)}
.eddy-index__track i{display:block;width:var(--eddy-progress,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#356d59,#7fb99c 72%,#e8b954);transition:width .5s ease}
.eddy-index__tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 4px}
.eddy-index-admin-access{display:grid;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid var(--edi-line)}
.eddy-index-admin-access .eddy-index__admin-toggle{display:grid;justify-items:start;gap:2px;width:100%;height:auto;min-height:58px;text-align:left}
.eddy-index-admin-access .eddy-index__admin-toggle span{color:var(--edi-green);font-size:10px;letter-spacing:.15em}
.eddy-index button{font:inherit}
.eddy-index__admin-toggle,.eddy-index__admin button,.eddy-index__export{min-height:44px;padding:0 17px;border:1px solid var(--edi-line);border-radius:14px;color:#493a2c;background:#fff;font-weight:900;cursor:pointer;transition:.18s ease}
.eddy-index__admin-toggle:hover,.eddy-index__admin button:hover,.eddy-index__export:hover{transform:translateY(-1px);border-color:#ba8a34;box-shadow:0 8px 22px rgba(75,49,21,.1)}
.eddy-index__admin{display:flex;flex-wrap:wrap;gap:10px;align-items:end;width:100%;padding:16px;border:1px solid var(--edi-line);border-radius:18px;background:rgba(255,255,255,.78)}
.eddy-index__admin[hidden]{display:none}
.eddy-index__admin label{display:grid;gap:5px;min-width:min(100%,230px);color:#665a4e;font-size:12px;font-weight:900}
.eddy-index__admin input{min-height:43px;padding:0 13px;border:1px solid #d8c8ad;border-radius:12px;background:white;font:inherit}
.eddy-index__admin p{flex:1 0 100%;margin:0;color:#7d5e33;font-weight:750}
.eddy-index__admin-badge{display:inline-flex;align-items:center;min-height:44px;padding:0 15px;border-radius:999px;color:#265846;background:#dff3e7;font-weight:950}
.eddy-index__export-status{color:#665a4e;font-size:13px;font-weight:800}
.eddy-index__export{color:white!important;border-color:#356d59!important;background:#356d59!important}
.eddy-index__section{margin-top:34px}
.eddy-index__section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.eddy-index__section h3{margin:0;font:800 clamp(25px,3vw,36px)/1.1 Georgia,"Noto Serif TC",serif}
.eddy-index__section-heading span{padding:7px 12px;border-radius:999px;color:var(--edi-green);background:var(--edi-green-soft);font-size:12px;font-weight:950}
.eddy-index__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}
.eddy-index-card{position:relative;min-height:292px;padding:0;overflow:hidden;border:1px solid var(--edi-line);border-radius:22px;color:var(--edi-ink);background:#fff;box-shadow:0 9px 28px rgba(67,47,27,.09);text-align:left;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.eddy-index-card:hover,.eddy-index-card:focus-visible{transform:translateY(-4px);border-color:#cba357;box-shadow:0 18px 38px rgba(67,47,27,.15);outline:none}
.eddy-index-card__art{display:grid;place-items:center;height:205px;overflow:hidden;background:linear-gradient(145deg,#faf4e8,#eaf5ee);user-select:none;-webkit-user-select:none}
.eddy-index-card__art img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.eddy-index-card__lock{width:100%;height:100%;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 45% 30%,#343434,#090909 68%);font:900 72px/1 Georgia,serif;text-shadow:0 3px 16px rgba(255,255,255,.22)}
.eddy-index-card__copy{display:grid;gap:4px;padding:15px 16px 17px}
.eddy-index-card__copy strong{font-size:15px;line-height:1.3}
.eddy-index-card__copy small{color:#7b6d5e;font-weight:800}
.eddy-index-card.is-discovered:after{content:"✓";position:absolute;right:12px;top:12px;display:grid;place-items:center;width:30px;height:30px;border:2px solid white;border-radius:50%;color:white;background:var(--edi-green);font-weight:950;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.eddy-index-dialog{width:min(760px,calc(100vw - 28px));max-height:88vh;padding:0;overflow:auto;border:0;border-radius:26px;color:var(--edi-ink);background:#fffdf8;box-shadow:0 30px 90px rgba(29,21,13,.38)}
.eddy-index-dialog::backdrop{background:rgba(24,20,16,.64);backdrop-filter:blur(6px)}
.eddy-index-dialog__inner{padding:clamp(20px,4vw,38px)}
.eddy-index-dialog__close{float:right;width:42px;height:42px;border:1px solid var(--edi-line);border-radius:50%;background:white;font-size:22px;cursor:pointer}
.eddy-index-dialog__art{clear:both;display:grid;place-items:center;min-height:260px;margin:12px 0 22px;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#faf4e8,#eaf5ee);user-select:none;-webkit-user-select:none}
.eddy-index-dialog__art img{display:block;max-width:100%;max-height:48vh;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.eddy-index-dialog__art .eddy-index-card__lock{min-height:320px}
.eddy-index-dialog h3{margin:0 0 8px;font:800 clamp(25px,4vw,40px)/1.1 Georgia,"Noto Serif TC",serif}
.eddy-index-dialog p{margin:0;color:#62564a;font-weight:700;line-height:1.75}
.eddy-index-dialog__nav{display:flex;justify-content:space-between;gap:12px;margin-top:24px}
.eddy-index-dialog__nav button{min-height:44px;padding:0 16px;border:1px solid var(--edi-line);border-radius:13px;background:#fff;font-weight:900;cursor:pointer}
@media(max-width:620px){.eddy-index__progress{grid-template-columns:1fr}.eddy-index__progress span{grid-row:2}.eddy-index__track{grid-row:3}.eddy-index__section-heading{align-items:start;flex-direction:column}.eddy-index__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.eddy-index-card{min-height:226px}.eddy-index-card__art{height:148px}.eddy-index-card__copy{padding:11px}.eddy-index-card__copy strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.eddy-index *{scroll-behavior:auto!important;transition:none!important}}
