/* Reuse homepage tournament dashboard card theme. */
.knh10{--deep:#123d32;--gold:#b9934a;--ink:#243c34;--muted:#6a7671;--line:#e4e9e4;--paper:#fff;box-sizing:border-box;max-width:1150px;width:100%;margin:26px auto 32px;color:var(--ink);font-family:inherit;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 34px rgba(22,53,42,.065)}
          .knh10 *, .knh10 *::before,.knh10 *::after{box-sizing:border-box}.knh10 [hidden]{display:none!important}
          .knh10-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:29px 32px;background:linear-gradient(112deg,#123d32 0%,#174b3b 68%,#21513e 100%);color:#fff;position:relative;isolation:isolate}.knh10-hero:before{content:'';position:absolute;inset:0 0 0 auto;width:33%;opacity:.08;background:repeating-conic-gradient(#fff 0% 25%,transparent 0% 50%) 50% / 42px 42px;z-index:-1}.knh10-eyebrow{margin:0 0 7px!important;color:#e2c58d!important;font-size:11px!important;font-weight:700;letter-spacing:2px;line-height:1.4}.knh10-hero h2{font-family:'Playfair Display',Georgia,serif!important;font-size:clamp(25px,3vw,34px)!important;color:#fff!important;line-height:1.2!important;margin:0 0 7px!important;font-weight:700!important}.knh10-subtitle{margin:0!important;font-size:13px!important;color:#e0e9e4!important;line-height:1.55!important}.knh10-hero-icon{display:grid;place-items:center;min-width:65px;height:65px;font-size:44px;line-height:1;color:#e0bd73;border:1px solid rgba(236,206,140,.45);border-radius:16px;background:rgba(255,255,255,.06)}
          .knh10-content{padding:19px 24px 20px}.knh10-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}.knh10-tab{appearance:none!important;display:flex!important;gap:8px!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:49px!important;margin:0!important;padding:9px 12px!important;border-radius:10px!important;background:#f5f7f5!important;border:1px solid #e2e7e2!important;color:#36544a!important;box-shadow:none!important;font-family:inherit!important;font-size:14px!important;line-height:1.25!important;font-weight:700!important;cursor:pointer!important;text-transform:none!important;letter-spacing:normal!important}.knh10-tab.is-active,.knh10-tab[aria-selected=true]{background:#123d32!important;border-color:#123d32!important;color:white!important}.knh10-tab:focus-visible{outline:3px solid #d4af67!important;outline-offset:2px}.knh10-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:30px;background:#e6ece6;color:#174735;font-size:11px;font-weight:800}.knh10-tab.is-active .knh10-count{background:#ddb96f;color:#17362c}
          .knh10-panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px}.knh10-panel-title h3{font-family:inherit!important;font-size:16px!important;line-height:1.3!important;font-weight:750!important;margin:0!important;color:#173c30!important}.knh10-panel-title span{font-size:11px;color:var(--muted)}.knh10-event-list{display:flex;flex-direction:column;gap:9px}.knh10-event{display:grid;grid-template-columns:57px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:white;transition:box-shadow .15s,border-color .15s}.knh10-event:hover{border-color:#c7d7ca;box-shadow:0 5px 16px rgba(30,59,40,.07)}.knh10-date{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;width:57px;min-height:60px;border-radius:9px;background:#f4f5f0;border:1px solid #e7e6dd;text-align:center}.knh10-date span{font-size:11px;font-weight:700;color:#73816f;line-height:1.25;text-transform:uppercase;letter-spacing:.7px}.knh10-date strong{font-size:23px;line-height:1.1;color:#214a3b}.knh10-event-body{min-width:0}.knh10-tags{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 3px}.knh10-tags:empty{display:none}.knh10-tag{font-size:9px;font-weight:750;padding:2px 6px;border-radius:4px;background:#eff4f1;color:#2d6654;line-height:1.4}.knh10-tag-kn{background:#f6edda;color:#815a17}.knh10-tag-fide{background:#e9f0f4;color:#3b5c79}.knh10-tag-live{background:#e4f6ea;color:#207143}.knh10-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#279b55;margin-right:2px}.knh10-event-title{margin:2px 0 3px!important;font-family:inherit!important;line-height:1.32!important;font-size:14px!important;font-weight:750!important}.knh10-event-title a{color:#1a3e31!important;text-decoration:none!important}.knh10-event-title a:hover{text-decoration:underline!important}.knh10-organizer{font-size:12px!important;line-height:1.4!important;color:#4f6158!important;margin:0 0 4px!important;overflow-wrap:anywhere}.knh10-organizer strong{font-weight:700;color:#3b554a}.knh10-details{display:flex;flex-wrap:wrap;gap:3px 13px;font-size:11px;line-height:1.5;color:#78817c}.knh10-details span{overflow-wrap:anywhere}.knh10-actions{display:flex;flex-direction:column;gap:7px;justify-content:center;align-items:stretch;min-width:112px}.knh10-view,.knh10-register{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px;min-height:32px;padding:6px 10px!important;border-radius:7px!important;font-size:11px!important;font-weight:750!important;text-align:center!important;line-height:1.25!important;text-decoration:none!important;white-space:nowrap}.knh10-view{background:#fff!important;color:#174b39!important;border:1px solid #c9dacd!important}.knh10-register{background:#123d32!important;color:#fff!important;border:1px solid #123d32!important}.knh10-view:hover,.knh10-register:hover{filter:brightness(.92)}.knh10-empty{padding:26px 18px;margin:0!important;background:#f7f9f7;border:1px dashed #d6e0d8;border-radius:10px;color:#65756b;font-size:13px;text-align:center}.knh10-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.knh10-footer p{font-size:11px!important;line-height:1.5!important;color:#879089!important;margin:0!important}.knh10-all{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding:10px 15px;border-radius:8px;background:#123d32;color:#fff!important;font-size:12px;font-weight:750;text-decoration:none!important}.knh10-all:hover{background:#1d5947;color:#fff!important}
          @media(max-width:680px){.knh10{border-radius:13px;margin:18px auto 25px}.knh10-hero{padding:19px 16px;gap:8px}.knh10-hero h2{font-size:24px!important}.knh10-hero-icon{min-width:42px;height:42px;font-size:28px;border-radius:10px}.knh10-eyebrow{font-size:9px!important;letter-spacing:1.1px}.knh10-subtitle{font-size:11px!important}.knh10-content{padding:13px 11px}.knh10-tabs{gap:6px;margin-bottom:16px}.knh10-tab{font-size:11px!important;min-height:43px!important;padding:7px 5px!important;gap:4px!important;border-radius:8px!important}.knh10-count{font-size:10px;min-width:19px;height:19px;padding:0 4px}.knh10-panel-title h3{font-size:14px!important}.knh10-panel-title span{font-size:10px}.knh10-event{grid-template-columns:48px minmax(0,1fr);gap:8px 10px;padding:10px 9px}.knh10-date{width:48px;min-height:57px}.knh10-date strong{font-size:21px}.knh10-date span{font-size:10px}.knh10-event-title{font-size:13px!important}.knh10-organizer{font-size:11px!important}.knh10-details{font-size:10px;gap:2px 8px}.knh10-actions{grid-column:2;flex-direction:row;justify-content:flex-start;min-width:0;flex-wrap:wrap}.knh10-view,.knh10-register{min-height:29px;font-size:10px!important;padding:5px 9px!important}.knh10-footer{flex-wrap:wrap}.knh10-footer p{flex-basis:100%}}
          @media(prefers-reduced-motion:reduce){.knh10-event{transition:none}}

/* Knightora full tournament directory — archive-only, scoped styles. */
.knh102-directory{max-width:1150px;margin:36px auto 60px}
.knh102-hero{padding:34px 36px}
.knh102-content{padding:25px 27px 28px}
.knh102-nav{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.knh102-nav .knh10-tab{text-decoration:none!important}
.knh102-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.knh102-search{display:flex;align-items:stretch;gap:8px;margin:0;width:min(100%,455px)}
.knh102-search input[type=search]{height:42px;min-width:0;flex:1;border:1px solid #c9d7cd;border-radius:8px;background:#fff;padding:9px 13px;color:#193d30;font-size:13px;box-shadow:none}
.knh102-search button{min-height:42px;border-radius:8px;background:#123d32;color:#fff;padding:8px 16px;font-weight:700;font-size:13px;border:none;cursor:pointer}
.knh102-search button:hover{background:#1c5646}
.knh102-total{margin:0!important;color:#63746a!important;font-size:13px!important;white-space:nowrap}
.knh102-directory .knh10-event{grid-template-columns:57px minmax(0,1fr) auto}
.knh102-directory .knh10-event-list{gap:9px}
.knh102-pagebar{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px}
.knh102-pagebar a,.knh102-pagebar span{display:inline-flex;justify-content:center;align-items:center;min-width:40px;height:38px;border-radius:8px;padding:0 12px;border:1px solid #e2e8e3;text-decoration:none!important;color:#1f513d!important;font-weight:700;font-size:13px}
.knh102-pagebar span[aria-current=page]{background:#123d32!important;color:#fff!important;border-color:#123d32!important}
.knh102-empty{text-align:center;color:#5e7467;padding:30px 16px;background:#f7f9f7;border:1px dashed #cfdad1;border-radius:12px;font-size:14px}
.knh102-return{text-align:center;padding:18px 8px 0}
.knh102-return a{color:#125039;text-decoration:underline;font-weight:700;font-size:13px}
.knh102-directory .knh10-tag-live{font-weight:750}
@media(max-width:680px){
 .knh102-directory{margin:18px 12px 35px}
 .knh102-hero{padding:24px 17px}
 .knh102-content{padding:14px 11px 22px}
 .knh102-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .knh102-nav .knh10-tab{min-height:43px!important}
 .knh102-toolbar{flex-direction:column;align-items:stretch;gap:8px}
 .knh102-search{width:100%}
 .knh102-total{text-align:left}
 .knh102-directory .knh10-event{grid-template-columns:48px minmax(0,1fr)}
}

/* v1.0.3: explain FIDE past events with unverified end dates */
.knh102-past-note,.knh10-past-note{font-size:12px;color:#57685f;line-height:1.5;margin:10px 0 12px;padding:8px 12px;background:#f5f7f4;border-radius:8px;}

/* v1.0.6: hidden pages remain in the document so client pagination works even when a cache ignores knh_page. */
.knh102-directory .knh102-pageitem[hidden]{display:none!important}
