/* ThemeParkStats fase 1 — gebruikt de bestaande huisstijl. */
.tps-personal-tabs{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:thin;padding-top:10px;padding-bottom:5px}
.tps-personal-tabs a{white-space:nowrap;color:#19314a;text-decoration:none;background:#fff;border:1px solid #e7edf3;padding:10px 16px;font-weight:700;font-size:.87rem;border-radius:999px}
.tps-personal-tabs a:hover{color:#c8071d;border-color:#f4b0b8}
.tps-personal-tabs a.is-active{color:#fff;background:#e00820;border-color:#e00820}
.tps-personal-content{padding-top:20px;padding-bottom:70px}
.tps-personal-narrow{max-width:760px}
.tps-personal-alert{border-radius:13px;padding:13px 16px;margin-bottom:16px;font-weight:650}
.tps-personal-alert ul{margin:0;padding-left:20px}
.tps-personal-alert.is-success{color:#175b36;background:#e6f5e9;border:1px solid #b6e0c2}
.tps-personal-alert.is-error{color:#8c1d2a;background:#fff1f2;border:1px solid #ffcbd0}
.tps-personal-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}
.tps-personal-metric{display:flex;flex-direction:column;gap:2px;padding:18px 19px;border:1px solid #e7edf3;background:#fff;border-radius:16px;box-shadow:var(--tps-shadow-soft,0 7px 18px #14284712)}
.tps-personal-metric strong{font-weight:850;font-size:clamp(1.65rem,2.6vw,2.35rem);letter-spacing:-.05em;color:#08182b}
.tps-personal-metric span{color:#54657a;font-size:.82rem;font-weight:650}
.tps-personal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.tps-personal-content>.tps-personal-actions{margin-bottom:20px}
a.tps-personal-btn,button.tps-personal-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:10px 16px;border:1px solid #e00820;border-radius:10px;background:#e00820;color:#fff!important;text-decoration:none;font-weight:750;font-size:.86rem;cursor:pointer}
a.tps-personal-btn:hover,button.tps-personal-btn:hover{background:#c8071d;border-color:#c8071d}
a.tps-personal-btn.is-light,button.tps-personal-btn.is-light{background:#fff;border-color:#dce4ec;color:#153049!important}
a.tps-personal-btn.is-light:hover,button.tps-personal-btn.is-light:hover{border-color:#e00820}
a.tps-personal-link{color:#c8071d!important;text-decoration:none;font-weight:750;font-size:.83rem}
a.tps-personal-link:hover{text-decoration:underline}
.tps-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tps-personal-card{border:1px solid #e7edf3;border-radius:17px;background:#fff;box-shadow:var(--tps-shadow-soft,0 7px 18px #14284712);padding:18px 20px;min-width:0;margin-bottom:18px}
.tps-personal-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #e8edf4;margin-bottom:3px}
.tps-personal-card header h2{color:#0c1c31;border-left:5px solid #e00820;padding-left:10px;font-size:1.1rem;letter-spacing:-.02em;margin:0;font-weight:800}
.tps-personal-card header a{color:#c8071d;text-decoration:none;font-size:.8rem;font-weight:750;white-space:nowrap}
.tps-personal-entry{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;text-decoration:none;color:#102338;border-bottom:1px solid #eef1f5}
.tps-personal-entry:last-child{border-bottom:0}
.tps-personal-entry>a:first-child,.tps-personal-entry>span:first-child{flex:1;min-width:0}
.tps-personal-entry>a{text-decoration:none;color:#102338}
.tps-personal-entry strong{display:block;color:#0c1c31;font-size:.92rem;font-weight:750}
.tps-personal-entry small{display:block;color:#657489;font-size:.79rem;margin-top:2px}
.tps-personal-entry>span:last-child{color:#657489;flex-shrink:0}
.tps-personal-entry:hover strong{color:#c8071d}
.tps-personal-entry.is-row>a.tps-personal-link{flex:0 0 auto;color:#c8071d!important}
.tps-personal-mini{font-size:.8rem;white-space:nowrap;border-radius:9px;padding:4px 7px;background:#eff3f8;color:#3a5169}
.tps-personal-mini.is-done{color:#17643b;background:#e7f5eb}
.tps-personal-empty{color:#657489;padding:17px 0;margin:0}
.tps-personal-note{white-space:pre-line}
.tps-personal-progress-item,.tps-personal-progress-tile{text-decoration:none;color:#0c1c31;display:block}
.tps-personal-progress-item{padding:12px 0;border-bottom:1px solid #eef1f5;position:relative}
.tps-personal-progress-item:last-child{border:0}
.tps-personal-progress-item>div:first-child{display:flex;justify-content:space-between;gap:10px}
.tps-personal-progress-item strong,.tps-personal-progress-tile strong{font-weight:750;color:#0c1c31}
.tps-personal-progress-item span,.tps-personal-progress-tile span,.tps-personal-progress-tile small{font-size:.8rem;color:#657489}
.tps-personal-bar{height:9px;overflow:hidden;border-radius:999px;background:#e8edf4;margin-top:11px}
.tps-personal-bar>span{display:block;height:100%;background:#e00820;border-radius:999px}
.tps-personal-progress-percent{position:absolute;right:0;bottom:15px;font-weight:750}
.tps-personal-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}
.tps-personal-progress-tile{margin:0;display:flex;flex-direction:column;gap:4px}
.tps-personal-progress-tile:hover{border-color:#e00820;color:#c8071d}
.tps-personal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.tps-personal-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.tps-personal-filters input,.tps-personal-filters select,.tps-personal-form input:not([type="checkbox"]),.tps-personal-form select,.tps-personal-form textarea{border:1px solid #d9e2eb;background:#fff;color:#142538;border-radius:10px;padding:10px 11px;min-height:41px;max-width:100%;font-size:.91rem}
.tps-personal-filters input[type="number"]{width:96px}
.tps-personal-filters input[type="search"]{width:190px}
.tps-personal-form{padding:25px 28px}
.tps-personal-form label{display:block;font-size:.87rem;font-weight:750;color:#1b3148;margin-top:12px;margin-bottom:5px}
.tps-personal-form input:not([type="checkbox"]),.tps-personal-form select,.tps-personal-form textarea{display:block;width:100%}
.tps-personal-form textarea{resize:vertical;min-height:72px}
.tps-personal-form .tps-personal-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tps-personal-form .tps-personal-checkbox{display:flex;align-items:center;gap:8px;margin-top:35px}
.tps-personal-form .tps-personal-checkbox input{width:18px;height:18px;accent-color:#e00820}
.tps-personal-form>.tps-personal-actions{margin-top:22px}
.tps-personal-delete{display:flex;justify-content:flex-end;margin-top:-10px;margin-bottom:30px}
.tps-personal-delete button{border:0;background:transparent;color:#bd152d;text-decoration:underline;font-size:.86rem;cursor:pointer}
.tps-personal-pagination nav{margin:16px 0}
.tps-personal-progress-filters{margin:17px 0}
.tps-personal-park-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px;padding:13px 18px!important}
.tps-personal-park-summary strong,.tps-personal-park-summary span{display:block}
.tps-personal-park-summary strong{color:#0c1c31;font-weight:800}
.tps-personal-park-summary span{color:#647389;font-size:.84rem}
.tps-personal-park-links{display:flex;gap:14px;flex-wrap:wrap}
.tps-personal-park-links a{color:#c8071d!important;font-size:.85rem;font-weight:750;text-decoration:none}
.tps-personal-inline-label{display:inline-flex;align-items:center;background:#e5f5ea;color:#17643b;border-radius:999px;padding:9px 12px;font-size:.82rem;font-weight:750}
.tps-map-personal-filter{background:#fff;border:1px solid #e0e7ee;border-radius:11px;padding:8px 13px;color:#142538;font-weight:750;font-size:.85rem;cursor:pointer}
.tps-map-personal-filter.is-on{background:#e00820;color:#fff;border-color:#e00820}
.tps-map-personal-filter:disabled{opacity:.5;cursor:wait}
.tps-map-personal-hidden{display:none!important}
.tps-map-poi.is-completed .tps-map-poi-inner{outline:3px solid #2b9b61;outline-offset:2px}
.tps-map-popup-user-status{font-weight:750;color:#17643b;font-size:.8rem;margin-top:5px}
@media(max-width:1020px){.tps-personal-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.tps-personal-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tps-personal-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tps-personal-metric{padding:14px}.tps-personal-grid,.tps-personal-progress-grid{grid-template-columns:1fr;gap:12px}.tps-personal-card{padding:15px}.tps-personal-toolbar{align-items:stretch;flex-direction:column}.tps-personal-form .tps-personal-two{grid-template-columns:1fr;gap:4px}.tps-personal-form .tps-personal-checkbox{margin-top:12px}.tps-personal-filters input[type="search"]{width:100%}.tps-personal-filters{width:100%}.tps-personal-filters select{flex:1 1 150px}.tps-personal-park-summary{align-items:flex-start}.tps-personal-content{padding-bottom:44px}}

.tps-personal-pagination{display:flex;justify-content:center;align-items:center;gap:22px;margin:22px 0;color:#657489;font-size:.85rem;font-weight:650}
.tps-personal-pagination a{color:#c8071d;text-decoration:none;font-weight:750}
.tps-personal-pagination a:hover{text-decoration:underline}


/* Herstel 17-11: persoonlijke pagina's gebruiken de bestaande x-site.inner-hero.
   De voorheen eigen hero en de ongeldige background-shorthand zijn niet meer actief. */
body.tps-redesign .tps-personal-tabs {
    position: relative;
    z-index: 1;
    gap: 5px;
    padding-top: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e7ef;
    margin-bottom: 6px;
}
body.tps-redesign .tps-personal-tabs a {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    padding: 10px 13px 12px;
    font-size: .85rem;
    color: #273d53;
}
body.tps-redesign .tps-personal-tabs a:hover,
body.tps-redesign .tps-personal-tabs a.is-active {
    background: transparent;
    border-color: #e00820;
    color: #c8071d;
}
.tps-personal-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr));
    gap: 18px;
    margin-bottom: 18px;
    align-items: start;
}
.tps-personal-dashboard-grid > .tps-personal-card { margin-bottom: 0; }
.tps-personal-primary-actions { margin-bottom: 18px; }
.tps-personal-start {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 23px 26px;
}
.tps-personal-start h2 {
    margin: 0;
    font-weight: 800;
    font-size: 1.25rem;
    color: #0c1c31;
    border-left: 5px solid #e00820;
    padding-left: 12px;
}
.tps-personal-entry.tps-personal-with-image { justify-content: flex-start; }
.tps-personal-with-image > span:nth-last-child(2) { flex: 1; min-width: 0; }
.tps-personal-thumb {
    width: 58px; height: 45px; object-fit: cover; border-radius: 8px;
    flex-shrink: 0; display: block; background: #e6edf5;
}
.tps-personal-thumb.is-placeholder {
    display: grid; place-items: center; color: #b7c9d8;
    font-size: 1.1rem;
}
@media(max-width: 720px) {
    body.tps-redesign .tps-personal-tabs a { padding: 9px 11px 11px; }
    .tps-personal-start { padding: 17px; }
    .tps-personal-start .tps-personal-btn { width: 100%; }
}

/* Catalogusfoto's in alle persoonlijke schermen (park / attractie / show). */
.tps-personal-photo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:66px;height:54px;overflow:hidden;border-radius:10px;background:#e9eef4;color:#8295aa;vertical-align:middle}
.tps-personal-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tps-personal-photo-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.tps-personal-photo.is-tile{width:100%;height:114px;border-radius:10px;margin-bottom:11px}
.tps-personal-photo.is-feature{width:210px;height:138px;border-radius:12px}
.tps-personal-photo.is-print{width:53px;height:43px;border-radius:6px}
.tps-personal-media-line{display:flex;align-items:center;gap:13px;flex:1;min-width:0;color:inherit;text-decoration:none}
.tps-personal-media-line>.tps-personal-media-copy{flex:1;min-width:0}
.tps-personal-media-copy strong,.tps-personal-media-copy small{display:block}
.tps-personal-media-line:hover strong{color:#c8071d}
.tps-personal-entry>.tps-personal-media-line:first-child{flex:1;min-width:0}
.tps-personal-entry.is-row .tps-personal-media-line{min-width:0}
.tps-personal-progress-tile .tps-personal-photo{display:flex}
.tps-personal-visit-cover{display:flex;align-items:center;gap:19px;padding:18px 20px;margin-bottom:18px}
.tps-personal-visit-cover .tps-personal-visit-cover-text{min-width:0}
.tps-personal-visit-cover strong{display:block;color:#0c1c31;font-size:1.13rem}
.tps-personal-visit-cover small{display:block;color:#657489;font-size:.84rem;margin-top:3px}
.tps-personal-picker-image{display:flex;align-items:center;gap:12px;margin:12px 0 2px;font-size:.78rem;color:#637386}
.tps-personal-picker-image .tps-personal-photo{width:98px;height:70px}
.tps-personal-picker-image:not(.has-selection){display:none}
.tps-personal-picker-image img{width:100%;height:100%;object-fit:cover}
.tps-personal-picker-image .tps-personal-photo-empty{display:flex}
.tps-personal-picker-image img[hidden]{display:none!important}
.tps-p2-rank .tps-personal-photo{width:56px;height:46px}
.tps-p2-timeline-row .tps-personal-photo{width:58px;height:46px}
.tps-personal-breakdown-label{display:flex;align-items:center;gap:11px;min-width:0}
.tps-personal-breakdown-label strong{display:block}
.tps-personal-breakdown-label .tps-personal-photo{width:51px;height:42px}
.tps-p2-form-info .tps-personal-photo{width:90px;height:66px}
.tps-personal-form-selection{display:flex;align-items:center;gap:12px}
.tps-personal-form-selection .tps-personal-media-copy{display:flex;flex-direction:column;gap:4px}
@media(max-width:720px){
  .tps-personal-photo{width:58px;height:50px}
  .tps-personal-photo.is-feature{width:110px;height:90px}
  .tps-personal-visit-cover{gap:12px;padding:14px}
  .tps-personal-media-line{gap:9px}
  .tps-personal-entry.is-row{gap:9px}
  .tps-personal-entry.is-row>a.tps-personal-link{font-size:.76rem}
  .tps-personal-picker-image .tps-personal-photo{width:88px;height:66px}
}
.tps-personal-entry>span.tps-personal-photo:first-child{flex:0 0 66px;min-width:66px}
.tps-personal-entry>.tps-personal-media-copy{flex:1;min-width:0}
.tps-p2-highlight>.tps-personal-breakdown-label{justify-content:flex-end;text-align:right}
.tps-p2-timeline-row>.tps-personal-photo{flex:0 0 58px}
.tps-personal-media-line>span.tps-personal-photo:first-child{flex:0 0 66px;min-width:66px}
@media(max-width:600px){
 .tps-personal-entry.is-row{flex-wrap:wrap}
 .tps-personal-entry.is-row>.tps-personal-media-line{flex:1 1 100%}
 .tps-personal-entry>span.tps-personal-photo:first-child,
 .tps-personal-media-line>span.tps-personal-photo:first-child{flex-basis:58px;min-width:58px}
 .tps-p2-highlight>.tps-personal-breakdown-label{flex:0 1 60%;min-width:0}
}

/* Fase 3 — uitsluitend bestaande persoonlijke pagina's en detailacties. */
.tps-phase3-subnav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px;align-items:center}
.tps-phase3-subnav a{display:inline-flex;align-items:center;min-height:38px;border:1px solid #dfe6ef;background:#fff;color:#173048;border-radius:9px;text-decoration:none;padding:8px 15px;font-weight:700;font-size:.86rem}
.tps-phase3-subnav a:hover,.tps-phase3-subnav a.is-current{color:#c70821;border-color:#cf1428;background:#fff3f5}
.tps-phase3-filters{margin-bottom:15px}
.tps-phase3-entry{gap:14px}
.tps-phase3-entry form{flex:0 0 auto}
.tps-phase3-entry>.tps-personal-media-copy{flex:1}
.tps-phase3-entry .tps-personal-media-copy small{overflow-wrap:anywhere}
.tps-phase3-entry .tps-personal-link{flex:0 0 auto}
.tps-phase3-form-card{max-width:720px}
.tps-phase3-form{display:grid;grid-template-columns:1fr;gap:10px}
.tps-phase3-form label{font-size:.88rem;color:#142e48;font-weight:700}
.tps-phase3-form input,.tps-phase3-form select,.tps-phase3-form textarea{width:100%;min-height:42px;border-radius:9px;border:1px solid #dbe2ea;background:#fff;padding:10px 12px;color:#142e48}
.tps-phase3-form textarea{min-height:112px;resize:vertical}
.tps-phase3-form .tps-personal-actions{margin-top:8px}
.tps-phase3-danger{color:#b00921;border:0;background:transparent;padding:8px 0;font-weight:700;cursor:pointer}
.tps-phase3-public-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px}
.tps-phase3-public-actions form{margin:0}
.tps-phase3-action{display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:#162c46;text-decoration:none;padding:9px 12px;min-height:38px;font-weight:700;font-size:.83rem;cursor:pointer;line-height:1.2}
.tps-phase3-action:hover,.tps-phase3-action.is-active{border-color:#d8172c;background:#fff4f5;color:#c50720}
.tps-phase3-ranked-list{list-style:none;margin:0;padding:0}
.tps-phase3-ranked-item{display:flex;align-items:center;gap:12px;min-height:66px;padding:10px 4px;border-bottom:1px solid #e7edf4}
.tps-phase3-ranked-item:last-child{border-bottom:0}
.tps-phase3-ranked-item.is-dragging{opacity:.5}
.tps-phase3-ranked-item[draggable=true]{cursor:grab}
.tps-phase3-rank{width:31px;min-width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eff3f8;color:#0a2543;font-weight:800}
.tps-phase3-ranked-item:first-child>.tps-phase3-rank{background:#d7142b;color:#fff}
.tps-phase3-ranked-item .tps-personal-media-line{flex:1;min-width:0}
.tps-phase3-rank-actions{display:flex;align-items:center;gap:4px}
.tps-phase3-rank-actions form{margin:0}
.tps-phase3-icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#122a46;font-size:17px;cursor:pointer}
.tps-phase3-icon-button:hover{background:#f6f8fb;border-color:#c5d1df}
.tps-phase3-icon-button:disabled{opacity:.33;cursor:default}
.tps-phase3-spacing{margin-top:20px}
.tps-phase3-inline-form{grid-template-columns:1fr 170px auto;align-items:end}
.tps-phase3-inline-form label{grid-row:1}
.tps-phase3-inline-form input,.tps-phase3-inline-form select,.tps-phase3-inline-form button{grid-row:2}
.tps-phase3-delete-list{margin-top:16px;border-top:1px solid #e8edf3;padding-top:10px}
.tps-phase3-dashboard-links{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 6px}
.tps-map-poi.attraction.is-personal-favorite{filter:drop-shadow(0 0 5px rgba(228,28,52,.8))}
.tps-map-poi.attraction.is-personal-wishlist .tps-map-poi-inner{outline:2px solid #eaa22b;outline-offset:2px}
@media(max-width:700px){
 .tps-phase3-entry{flex-wrap:wrap}
 .tps-phase3-entry>.tps-personal-media-line{flex:1 1 100%}
 .tps-phase3-inline-form{grid-template-columns:1fr}
 .tps-phase3-inline-form label,.tps-phase3-inline-form input,.tps-phase3-inline-form select,.tps-phase3-inline-form button{grid-row:auto}
 .tps-phase3-rank-actions{gap:2px}
 .tps-phase3-ranked-item{gap:5px;flex-wrap:wrap}
 .tps-phase3-ranked-item>.tps-personal-media-line{flex:1 1 calc(100% - 42px)}
 .tps-phase3-ranked-item>.tps-phase3-rank-actions{margin-left:42px}
}
