.pc-home{display:grid;grid-template-columns:1fr 1fr;gap:11px;position:relative;margin:-54px 0 12px;z-index:2}.pc-home button{min-width:0;display:flex;align-items:center;gap:8px;border:0;border-radius:20px;color:white;padding:15px 10px;text-align:left;box-shadow:0 0 8px 5px white;background:linear-gradient(135deg,#ff423b,#ff1029)}.pc-home button:last-child{background:linear-gradient(135deg,#08bc3b,#008747)}.pc-home svg{width:34px;min-width:28px;fill:currentColor}.pc-home b{display:block;font-size:clamp(12px,3.4vw,17px);line-height:1.08}.pc-home small{display:block;font-size:clamp(9px,2.3vw,11px);margin-top:6px}.pc-home .pc-arrow{font-size:30px;margin-left:auto}.pc-filters{display:flex;gap:12px}.pc-filters label{flex:1;min-width:0}.pc-filters select{width:100%}.pc-cover{width:100%;height:140px;object-fit:cover;border-radius:12px}.pc-actions{display:flex;flex-wrap:wrap;gap:8px}.pc-actions a,.pc-actions button{padding:10px;border:1px solid #bed3e2;border-radius:10px}.pc-card{background:linear-gradient(130deg,#073d62,#08745e);color:white;border-radius:22px;padding:24px;box-shadow:0 8px 24px #1233;margin:16px 0}.pc-card header{background:none;padding:0;display:flex;align-items:center;gap:12px}.pc-card header img:first-child{width:48px;border-radius:12px}.pc-card .pc-flag{margin-left:auto;width:28px}.pc-card dd{margin:4px 0 20px;font-weight:bold;overflow-wrap:anywhere}.pc-card dt{font-size:12px;opacity:.85}.pc-card button{width:100%;padding:12px;border:1px solid white;border-radius:12px}.pc-card h2{font-size:22px}@media(max-width:360px){.pc-home button{padding:12px 7px;gap:5px}.pc-home svg{width:24px;min-width:24px}.pc-home .pc-arrow{font-size:22px}}

.pc-partner-row{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid #dce8ef;border-radius:14px;background:white;color:#17324d;padding:14px;margin:10px 0;gap:16px}.pc-partner-row strong,.pc-partner-row small{display:block}.pc-partner-row small{margin-top:5px}.pc-partner-row>span:last-child{font-size:30px;color:#0878b8}#partnerDetail .pc-cover{height:220px}html{scroll-behavior:smooth}

/* Card validity is rendered directly from the authoritative Supabase state. */
.pc-card dd.pc-card-status{display:flex;align-items:center;gap:8px;text-transform:uppercase;font-weight:800}.pc-card dd.pc-card-status::before{content:'';display:inline-block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#9ca3af}.pc-card dd.pc-card-status[data-server-state="ACTIVE"]{color:#b8ffca}.pc-card dd.pc-card-status[data-server-state="ACTIVE"]::before{background:#28df70;box-shadow:0 0 0 3px #28df7030}.pc-card dd.pc-card-status[data-server-state="EXPIRED"],.pc-card dd.pc-card-status[data-server-state="DEACTIVATED"]{color:#ffb7b7}.pc-card dd.pc-card-status[data-server-state="EXPIRED"]::before,.pc-card dd.pc-card-status[data-server-state="DEACTIVATED"]::before{background:#ff4242;box-shadow:0 0 0 3px #ff424230}
