.ptk-charity-wrap{position:relative;isolation:isolate;padding:22px;border-radius:24px;overflow:hidden;color:#f8edd2}
.ptk-charity-bg-layer{position:absolute;inset:0;background-image:var(--ptk-charity-body-bg);background-size:cover;background-position:center;opacity:var(--ptk-charity-body-opacity,.18);z-index:-2}
.ptk-charity-wrap:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,9,5,.88),rgba(12,9,5,.72));z-index:-1}
.ptk-charity-hero{margin:0 0 18px}.ptk-charity-kicker{display:inline-flex;padding:5px 10px;border:1px solid rgba(212,175,55,.35);border-radius:999px;color:#f4d37a;font-size:13px}.ptk-charity-hero h2{margin:10px 0 8px;font-size:clamp(26px,4vw,44px);line-height:1.1}.ptk-charity-hero p{max-width:760px;color:#e7d9b9}
.ptk-charity-tabs{display:flex;gap:10px;margin:0 0 18px;padding:8px;border:1px solid rgba(212,175,55,.22);border-radius:18px;background:rgba(0,0,0,.22);backdrop-filter:blur(10px);z-index:20}.ptk-charity-tabs.is-js-sticky{position:fixed;top:12px;left:50%;transform:translateX(-50%);width:min(960px,calc(100% - 24px));box-shadow:0 16px 40px rgba(0,0,0,.28)}.ptk-charity-tabs button{flex:1;border:0;border-radius:14px;padding:12px 14px;background:transparent;color:#f6e7bf;font-weight:800;cursor:pointer}.ptk-charity-tabs button.is-active{background:linear-gradient(135deg,#c99b32,#f0d27b);color:#1b1306}.ptk-charity-panel{display:none}.ptk-charity-panel.is-active{display:block}
.ptk-charity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ptk-charity-card{position:relative;min-height:330px;border-radius:22px;overflow:hidden;background:#171009;background-image:var(--ptk-charity-card-bg);background-size:cover;background-position:center;border:1px solid rgba(212,175,55,.24);box-shadow:0 16px 40px rgba(0,0,0,.18)}.ptk-charity-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.78))}.ptk-charity-card__inner{position:relative;height:100%;display:flex;flex-direction:column;padding:18px}.ptk-charity-card__top{display:flex;align-items:center;gap:12px}.ptk-charity-card__logo{width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.12);display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.18)}.ptk-charity-card__logo img{width:100%;height:100%;object-fit:cover}.ptk-charity-card__logo span{font-size:24px;color:#f0d27b}.ptk-charity-card__meta{display:flex;flex-direction:column;gap:5px}.ptk-charity-badge{font-size:12px;color:#171009;background:#f0d27b;border-radius:999px;padding:4px 9px;font-weight:800}.ptk-charity-phone{font-size:12px;color:#f3e5bf}.ptk-charity-card__title{margin:24px 0 8px;font-size:23px;line-height:1.18}.ptk-charity-card__title a{color:#fff;text-decoration:none}.ptk-charity-card__purpose{color:#f0d27b;font-weight:700}.ptk-charity-card__excerpt{color:#eadfc7;line-height:1.7}.ptk-charity-card__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:auto}.ptk-charity-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border-radius:14px;text-decoration:none;font-weight:800;border:1px solid rgba(212,175,55,.28)}.ptk-charity-btn--primary{background:linear-gradient(135deg,#c99b32,#f0d27b);color:#160f05!important}.ptk-charity-btn--ghost{background:rgba(255,255,255,.08);color:#fff!important}.ptk-charity-report{font-size:12px;color:#ffcfbf!important;text-decoration:underline;margin-left:auto}.ptk-charity-login-box,.ptk-charity-empty,.ptk-charity-form,.ptk-charity-single-content{padding:20px;border-radius:22px;background:rgba(0,0,0,.28);border:1px solid rgba(212,175,55,.18)}.ptk-charity-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ptk-charity-form label span{display:block;margin:0 0 7px;color:#f0d27b;font-weight:800}.ptk-charity-form input,.ptk-charity-form textarea{width:100%;border-radius:14px;border:1px solid rgba(212,175,55,.22);background:rgba(0,0,0,.28);color:#fff;padding:12px}.ptk-charity-form__wide{grid-column:1/-1}.ptk-charity-single-wrap,.ptk-charity-archive-wrap{max-width:1120px;margin:0 auto;padding:24px}.ptk-charity-single-content{margin-top:18px;color:#f8edd2}.ptk-charity-single-content h1{margin-top:0}.ptk-charity-purpose-box{padding:14px;border-radius:16px;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.22);margin-bottom:16px}.ptk-charity-info-list a{color:#f0d27b}.ptk-charity-notice{margin-bottom:14px;padding:12px 14px;border-radius:14px;background:rgba(34,197,94,.18);color:#d8ffe4;border:1px solid rgba(34,197,94,.28)}
@media(max-width:980px){.ptk-charity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ptk-charity-wrap{padding:14px;border-radius:18px}.ptk-charity-grid,.ptk-charity-form__grid{grid-template-columns:1fr}.ptk-charity-tabs{gap:6px;padding:6px}.ptk-charity-tabs button{padding:10px 8px;font-size:14px}.ptk-charity-card{min-height:310px}.ptk-charity-card__actions .ptk-charity-btn{width:100%}.ptk-charity-report{margin-left:0}.ptk-charity-single-wrap,.ptk-charity-archive-wrap{padding:12px}}

/* =========================================================
   PTK CHARITY SINGLE - SAFE MODE PATCH v1.0.1
   - Single top area shows cover + logo only
   - Back button
   - Related random charity cards
========================================================= */
.ptk-charity-card__logo{
    color:inherit;
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease;
}
.ptk-charity-card__logo:hover{
    transform:translateY(-1px) scale(1.02);
    box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.ptk-charity-single-nav{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin:0 0 14px;
}
.ptk-charity-back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:40px;
    padding:9px 14px;
    border-radius:999px;
    color:#f8edd2!important;
    text-decoration:none!important;
    font-weight:800;
    background:rgba(0,0,0,.32);
    border:1px solid rgba(212,175,55,.24);
}
.ptk-charity-back-btn:hover{
    background:rgba(212,175,55,.16);
}
.ptk-charity-single-hero{
    position:relative;
    min-height:clamp(260px,38vw,430px);
    border-radius:26px;
    overflow:hidden;
    background:#171009;
    background-image:var(--ptk-charity-single-cover);
    background-size:cover;
    background-position:center;
    border:1px solid rgba(212,175,55,.24);
    box-shadow:0 18px 46px rgba(0,0,0,.22);
}
.ptk-charity-single-hero__shade{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.52));
}
.ptk-charity-single-hero__inner{
    position:relative;
    min-height:inherit;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    padding:22px;
}
.ptk-charity-single-hero__logo{
    width:86px;
    height:86px;
    border-radius:24px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.28);
    color:#f0d27b!important;
    text-decoration:none!important;
    box-shadow:0 12px 30px rgba(0,0,0,.24);
    backdrop-filter:blur(10px);
    transition:transform .18s ease, box-shadow .18s ease;
}
.ptk-charity-single-hero__logo:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 18px 42px rgba(0,0,0,.3);
}
.ptk-charity-single-hero__logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.ptk-charity-single-hero__logo span{
    font-size:34px;
    font-weight:900;
}
.ptk-charity-related{
    margin:26px 0 0;
}
.ptk-charity-related__head{
    margin:0 0 14px;
}
.ptk-charity-related__head h2{
    margin:0 0 6px;
    color:#f8edd2;
    font-size:clamp(22px,3vw,30px);
    line-height:1.2;
}
.ptk-charity-related__head p{
    margin:0;
    color:#e7d9b9;
}
.ptk-charity-related-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:980px){
    .ptk-charity-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    .ptk-charity-single-hero{border-radius:20px;min-height:250px}
    .ptk-charity-single-hero__inner{padding:16px}
    .ptk-charity-single-hero__logo{width:72px;height:72px;border-radius:20px}
    .ptk-charity-related-grid{grid-template-columns:1fr}
}

/* =========================================================
   PTK Charity v1.1.0 - Trust / Share / Help / Map
   SAFE MODE: additive only
========================================================= */
.ptk-charity-badge-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}
.ptk-charity-badge-row--single{margin:0 0 12px}
.ptk-charity-mini-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;font-size:12px;line-height:1;font-weight:800;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(8px)}
.ptk-charity-mini-badge--verified{background:rgba(22,163,74,.20);border-color:rgba(74,222,128,.45);color:#dcfce7}
.ptk-charity-mini-badge--official{background:rgba(196,154,61,.20);border-color:rgba(245,208,97,.55);color:#fff4bf}
.ptk-charity-mini-badge--pinned{background:rgba(239,68,68,.18);border-color:rgba(248,113,113,.45);color:#ffe4e6}
.ptk-charity-mini-badge--cat{background:rgba(59,130,246,.16);border-color:rgba(147,197,253,.36);color:#dbeafe}
.ptk-charity-card.is-pinned{box-shadow:0 18px 44px rgba(196,154,61,.18),0 10px 32px rgba(0,0,0,.22)}
.ptk-charity-help-btn{appearance:none;border:1px solid rgba(245,208,97,.28);background:rgba(0,0,0,.32);color:#fff;border-radius:14px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:800;transition:transform .18s ease,opacity .18s ease,background .18s ease,border-color .18s ease}
.ptk-charity-help-btn:hover{transform:translateY(-1px);background:rgba(196,154,61,.18);border-color:rgba(245,208,97,.52)}
.ptk-charity-help-btn:active{transform:scale(.97)}
.ptk-charity-help-btn.is-loading{opacity:.72;cursor:wait}
.ptk-charity-help-btn.is-helped{background:rgba(22,163,74,.20);border-color:rgba(74,222,128,.48);color:#dcfce7}
.ptk-charity-help-btn strong{min-width:22px;text-align:center;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.14)}
.ptk-charity-help-btn--card{margin:4px 0 10px;width:max-content;max-width:100%}
.ptk-charity-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ptk-charity-share a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;color:#fff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14)}
.ptk-charity-share a:hover{background:rgba(196,154,61,.18);border-color:rgba(245,208,97,.38)}
.ptk-charity-single-stats{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.ptk-charity-share--single{margin-top:0}
.ptk-charity-category-strip{display:flex;gap:8px;overflow:auto;padding:0 0 12px;margin:0 0 12px;scrollbar-width:thin}
.ptk-charity-category-strip a{white-space:nowrap;text-decoration:none;color:#f8e7b4;background:rgba(255,255,255,.06);border:1px solid rgba(196,154,61,.20);border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px}
.ptk-charity-category-strip a span{opacity:.8;margin-left:3px}
.ptk-charity-map-box{margin:18px 0 0;border-radius:18px;overflow:hidden;border:1px solid rgba(196,154,61,.22);background:rgba(255,255,255,.04)}
.ptk-charity-map-box iframe{display:block;width:100%;height:320px;border:0}
.ptk-charity-map-box>a{display:flex;align-items:center;justify-content:center;min-height:110px;padding:18px;color:#f8e7b4;text-decoration:none;font-weight:900}
@media (max-width:640px){
  .ptk-charity-single-stats{align-items:stretch}
  .ptk-charity-help-btn--single,.ptk-charity-share--single,.ptk-charity-share--single a{width:100%}
  .ptk-charity-share--single{display:grid;grid-template-columns:1fr 1fr}
  .ptk-charity-map-box iframe{height:260px}
}
