:root{--ink:#19213d;--blue:#35d2ff;--pink:#ff4d8d;--yellow:#ffd34f;--purple:#9b6cff;--green:#7de36b;--bg:#f6f8ff}*{box-sizing:border-box}body{font-family:Kanit,sans-serif;background:var(--bg);color:var(--ink)}button,input,textarea,select{font-family:inherit}.pff-wrap{max-width:1180px;margin:30px auto;padding:18px}.pff-join{background:linear-gradient(135deg,#fff,#eaf8ff 45%,#fff0f7);border:1px solid #e2e8ff;border-radius:32px;padding:55px 25px;text-align:center;box-shadow:0 20px 60px #3c4c8a18}.pff-logo{font-size:65px}.pff-join h1{font-size:clamp(30px,5vw,60px);margin:5px 0;font-weight:900}.pff-join h2{color:#6550c9}.pff-join input{display:block;width:min(500px,100%);margin:25px auto 12px;padding:16px 20px;border-radius:18px;border:2px solid #dce4ff;font-size:18px}.pff-primary,.pff-submit{border:0;border-radius:18px;padding:14px 24px;background:linear-gradient(90deg,#35bfff,#9b6cff,#ff4d8d);color:#fff;font-size:18px;font-weight:700;cursor:pointer;box-shadow:0 10px 25px #725cff25}.pff-hero{background:linear-gradient(120deg,#6c5ce7,#35cfff,#ff63a4);color:white;padding:24px;border-radius:26px;position:relative}.pff-hero h1{margin:0;font-size:34px}.pff-wallet{position:absolute;right:20px;top:20px;background:#ffffff25;padding:10px 15px;border-radius:14px}.pff-nav{display:flex;gap:10px;margin:16px 0;flex-wrap:wrap}.pff-nav button{border:0;padding:13px 20px;border-radius:15px;background:#fff;box-shadow:0 5px 20px #31427315;font-weight:700;cursor:pointer}.pff-nav button.pff-active{background:#19213d;color:white}.pff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.pff-card{background:white;border:1px solid #e4e9ff;border-radius:25px;padding:18px;box-shadow:0 12px 35px #35447d12;position:relative;overflow:hidden}.pff-no{font-size:16px;font-weight:900;color:#725cff}.pff-card-img,.pff-card-art{width:100%;height:145px;object-fit:cover;border-radius:18px;margin:8px 0}.pff-card-art{display:grid;place-items:center;background:linear-gradient(135deg,#fff4b8,#dff8ff);font-size:60px}.pff-fund{color:#e4477f;font-weight:800}.pff-card h3{font-size:23px;line-height:1.2;margin:7px 0}.pff-card p{min-height:58px;color:#59627e}.pff-card-foot{display:flex;justify-content:space-between;align-items:center}.pff-view{border:0;border-radius:12px;padding:9px 14px;background:#eaf7ff;color:#12618b;font-weight:700}.pff-moneybox{background:#fff;border-radius:22px;padding:15px 20px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center}.pff-moneybox strong{display:block;font-size:30px;color:#ff4d8d}.pff-notes{display:flex;gap:7px}.pff-note{width:62px;height:34px;background:#ffd34f;border:2px solid #e5b900;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:3px;font-weight:900;box-shadow:2px 3px 0 #c99f00}.pff-note small{font-size:7px}.pff-note.spent{opacity:.2;filter:grayscale(1)}.pff-form{background:#fff;padding:28px;border-radius:25px;box-shadow:0 12px 35px #35447d12}.pff-form label{display:block;font-weight:700;margin:15px 0 6px}.pff-form input,.pff-form textarea,.pff-form select,.pff-host-panel input,.pff-host-panel select{width:100%;padding:13px;border:2px solid #e4e9ff;border-radius:14px;background:#fbfcff}.pff-preview{max-width:280px;border-radius:15px;margin:12px 0}.pff-idea-head{display:flex;gap:18px;align-items:center;background:linear-gradient(90deg,#fff2b9,#e7f8ff,#ffe9f3);padding:22px;border-radius:22px;margin-bottom:15px}.pff-idea-head>span{font-size:45px}.pff-portfolio-row{display:flex;justify-content:space-between;background:#f7f8ff;border-radius:14px;padding:15px;margin:8px 0}.pff-total{font-size:25px;font-weight:900;margin:18px 0}.pff-modal{position:fixed;inset:0;background:#111936aa;display:grid;place-items:center;z-index:99999;padding:20px}.pff-modal-box{background:#fff;border-radius:28px;padding:28px;max-width:650px;width:100%;max-height:90vh;overflow:auto;position:relative}.pff-close{position:absolute;right:14px;top:10px;border:0;background:#eee;border-radius:50%;width:38px;height:38px;font-size:25px}.pff-modal-img{width:100%;max-height:280px;object-fit:cover;border-radius:20px}.pff-invest-now{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pff-invest-now button{border:0;padding:13px 17px;border-radius:14px;background:#ff4d8d;color:#fff;font-weight:700}.pff-invest-now button:last-child{background:#eef1f9;color:#3c4665}.pff-screen-wrap{min-height:100vh}.pff-big{min-height:100vh;aspect-ratio:16/9;padding:3vw;overflow:auto;background:var(--pff-bg,linear-gradient(135deg,#0d1638,#33276c 45%,#ff4d8d));color:#fff}.pff-big h1{font-size:clamp(30px,4vw,65px);margin:5px 0;font-weight:900}.pff-big h1 span{font-weight:500}.pff-big h2{margin:0 0 12px}.pff-live-badge{display:inline-block;background:#ffffff20;padding:7px 13px;border-radius:20px}.pff-screen-message{text-align:center;font-size:20px;padding:8px}.pff-stats{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;margin:15px 0}.pff-stats span{background:#ffffff18;border:1px solid #ffffff22;padding:10px 20px;border-radius:16px}.pff-rank{display:grid;grid-template-columns:60px 1fr 130px;gap:15px;align-items:center;background:#ffffff12;border:1px solid #ffffff18;border-radius:18px;padding:13px;margin:8px 0}.pff-rank.spotlight{outline:3px solid #ffd34f;background:#ffd34f22}.pff-medal{font-size:32px;text-align:center}.pff-rank-title{font-size:clamp(18px,2vw,30px);font-weight:800}.pff-rank-cat{opacity:.8}.pff-bar-bg{height:9px;background:#ffffff20;border-radius:20px;margin-top:5px;overflow:hidden}.pff-bar{height:100%;background:linear-gradient(90deg,#35d2ff,#ffd34f,#ff4d8d);border-radius:20px}.pff-rank-money{text-align:right;font-size:30px;font-weight:900}.pff-rank-money small{font-size:13px}.pff-table,.pff-chart,.pff-category-grid{display:grid;gap:8px}.pff-trow{display:grid;grid-template-columns:70px 1fr 180px 100px 130px;gap:10px;background:#ffffff16;padding:12px;border-radius:12px}.pff-trow em{font-style:normal;font-weight:900}.pff-chart-row{display:grid;grid-template-columns:minmax(180px,1fr) 2fr 100px;gap:10px;align-items:center}.pff-chart-row i{height:22px;background:#ffffff18;border-radius:20px;overflow:hidden}.pff-chart-row i b{display:block;height:100%;background:linear-gradient(90deg,#35d2ff,#ffd34f,#ff4d8d)}.pff-category-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.pff-category-grid>div{background:#ffffff15;border-radius:20px;padding:20px}.pff-category-grid strong{display:block;font-size:35px}.pff-category-grid span{opacity:.8}.pff-full{position:fixed;right:15px;bottom:15px;border:0;border-radius:12px;padding:9px 14px}.pff-celebrate{position:fixed;inset:0;display:grid;place-items:center;font-size:8vw;font-weight:900;text-shadow:0 4px 30px #000;background:#ff4d8d22;pointer-events:none}.pff-live-control{max-width:1100px;margin:25px auto;padding:20px;background:#f7f9ff;border-radius:25px}.pff-host-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.pff-host-panel{background:#fff;padding:20px;border-radius:20px}.pff-host-panel label{display:block;margin-top:12px;font-weight:700}.pff-host-buttons{display:flex;gap:8px;flex-wrap:wrap}.pff-host-buttons button{border:0;padding:12px;border-radius:12px;background:#eef2ff;font-weight:700}.pff-host-metrics{display:grid;gap:12px}.pff-host-metrics b{font-size:25px}.pff-host-metrics small{display:block;font-size:13px;font-weight:400}.pff-admin-cards{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.pff-admin-cards b,.pff-admin-box{background:#fff;padding:20px;border-radius:15px}.pff-admin-box{max-width:850px}.pff-toast{position:fixed;right:20px;bottom:20px;background:#19213d;color:#fff;padding:13px 18px;border-radius:14px;z-index:100000;box-shadow:0 10px 30px #0003}.pff-confetti{position:fixed;top:-20px;width:10px;height:16px;z-index:100001;animation:pff-fall 3s linear forwards;transform:rotate(20deg)}@keyframes pff-fall{to{transform:translate(var(--x),105vh) rotate(720deg)}}@media(max-width:700px){.pff-wallet{position:static;margin-top:10px}.pff-moneybox{display:block}.pff-notes{margin-top:10px}.pff-rank{grid-template-columns:42px 1fr 75px}.pff-rank-money{font-size:22px}.pff-host-grid{grid-template-columns:1fr}.pff-trow{grid-template-columns:50px 1fr 80px}.pff-trow span{display:none}}
/* Premium newsroom display — independent from the WordPress theme */
.pff-screen-wrap{background:#080b12!important;min-height:100vh!important;margin:0!important;padding:0!important;width:100vw!important;max-width:none!important;font-family:Kanit,sans-serif}
.pff-big{position:relative;width:100vw;min-height:100vh;aspect-ratio:16/9;overflow:hidden;padding:2.2vw 3.2vw 1.5vw;background:#0b0e14;color:#fff;border-radius:0!important;box-shadow:none!important}
.pff-big:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.035),transparent 35%,rgba(255,255,255,.02));z-index:0}
.pff-big>*{position:relative;z-index:1}.pff-news-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:10px}.pff-news-brand{font-size:clamp(15px,1.2vw,24px);font-weight:900;letter-spacing:.06em}.pff-news-time{font-size:clamp(11px,.8vw,16px);opacity:.7}.pff-live-badge{background:#e31b23!important;border-radius:4px!important;padding:5px 10px!important;font-size:12px!important;font-weight:900;letter-spacing:.08em}.pff-news-headline{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:1.1vw 0 .6vw}.pff-kicker{font-size:clamp(12px,1vw,19px);font-weight:700;opacity:.72;letter-spacing:.08em}.pff-news-headline h1{font-size:clamp(34px,4.5vw,76px)!important;line-height:.98;margin:5px 0!important;letter-spacing:-.025em}.pff-news-headline h1 span{font-weight:900}.pff-news-headline p{margin:6px 0 0;font-size:clamp(14px,1.25vw,24px);opacity:.75}.pff-news-total{text-align:right;border-left:3px solid #e31b23;padding-left:20px;min-width:190px}.pff-news-total small{display:block;opacity:.65}.pff-news-total strong{font-size:clamp(35px,3.5vw,62px);line-height:1;font-weight:900}.pff-news-total em{font-style:normal;font-size:15px;margin-left:5px}.pff-screen-message{text-align:left!important;border-left:4px solid #e31b23;padding:5px 12px!important;margin:5px 0 10px!important;font-size:clamp(13px,1vw,20px)!important;background:rgba(255,255,255,.045)}.pff-stats{justify-content:flex-start!important;gap:8px!important;margin:8px 0 12px!important}.pff-stats span{min-width:130px;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:5px!important;padding:7px 13px!important}.pff-stats span b{font-size:clamp(20px,1.6vw,32px);display:inline-block;margin-right:5px}.pff-stats span small{opacity:.62}.pff-news-content{max-height:calc(100vh - 270px);overflow:auto;padding-right:5px}.pff-news-content::-webkit-scrollbar{width:5px}.pff-news-content::-webkit-scrollbar-thumb{background:#ffffff33;border-radius:10px}.pff-rank{grid-template-columns:55px 1fr 150px!important;background:rgba(255,255,255,.055)!important;border:0!important;border-left:4px solid rgba(255,255,255,.15)!important;border-radius:3px!important;padding:9px 14px!important;margin:5px 0!important}.pff-rank.spotlight{outline:none!important;border-left-color:#ffd43b!important;background:rgba(255,212,59,.13)!important}.pff-rank-title{font-size:clamp(16px,1.55vw,29px)!important}.pff-rank-money{font-size:clamp(22px,2vw,38px)!important}.pff-trow{grid-template-columns:65px 1fr 170px 90px 125px!important;background:rgba(255,255,255,.055)!important;border-radius:3px!important;padding:9px!important}.pff-chart-row{grid-template-columns:minmax(200px,1fr) 2.5fr 100px!important}.pff-category-grid>div{background:rgba(255,255,255,.055)!important;border-radius:4px!important;border-top:3px solid #e31b23}.pff-news-footer{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.16);margin-top:8px;padding-top:6px;font-size:11px;opacity:.48}.pff-news-theme-bright{background:linear-gradient(120deg,#07111e,#132337 52%,#26354a)!important}.pff-news-theme-candy{background:linear-gradient(120deg,#170d1b,#28152b 50%,#42172b)!important}.pff-news-theme-lime{background:linear-gradient(120deg,#08130e,#10241b 50%,#183526)!important}.pff-news-theme-sky{background:linear-gradient(120deg,#07121c,#102b3d 50%,#17445a)!important}.pff-news-theme-sunset{background:linear-gradient(120deg,#160d0a,#302018 50%,#492116)!important}.pff-news-theme-news{background:linear-gradient(120deg,#07090d,#10141c 55%,#171b22)!important}
@media(max-width:900px){.pff-news-headline{align-items:start}.pff-news-total{min-width:130px}.pff-news-content{max-height:none}.pff-big{overflow:auto}.pff-trow{grid-template-columns:50px 1fr 80px!important}.pff-trow span{display:none}}

/* v0.9.2 — project cards: 3:4 front/back presentation only */
.pff-project-grid{align-items:start}
.pff-project-card{perspective:1200px;aspect-ratio:3/4;min-width:0;cursor:default}
.pff-project-flip{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.75,.2,1)}
.pff-project-card.is-flipped .pff-project-flip{transform:rotateY(180deg)}
.pff-project-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 12px 28px rgba(42,55,110,.12);border:1px solid rgba(80,90,140,.08)}
.pff-project-front{display:flex;flex-direction:column}
.pff-project-media{position:relative;height:58%;min-height:0;background:linear-gradient(135deg,#edf8ff,#fff4cf);overflow:hidden}
.pff-project-media .pff-card-img{width:100%;height:100%;object-fit:cover;display:block}
.pff-project-media .pff-card-art{width:100%;height:100%;display:grid;place-items:center;font-size:clamp(55px,7vw,90px);background:linear-gradient(135deg,#fff8d9,#eaf7ff)}
.pff-project-no{font-weight:900;color:#5146c9;font-size:16px;letter-spacing:.02em}
.pff-project-media>.pff-project-no{position:absolute;top:14px;left:14px;color:#fff;background:rgba(34,30,78,.78);padding:5px 9px;border-radius:10px;text-shadow:0 1px 2px #0004}
.pff-project-fund{display:inline-flex;align-items:center;gap:3px;color:#e33d73;font-weight:900;font-size:16px}
.pff-project-media .pff-project-fund{position:absolute;left:14px;bottom:12px;background:#fff;padding:6px 10px;border-radius:12px;box-shadow:0 5px 14px #0002}
.pff-project-front-body{padding:13px 15px 15px;display:flex;flex-direction:column;min-height:42%}
.pff-project-front-body small,.pff-project-back small{display:block;color:#59637b;font-weight:600;margin:2px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pff-project-front-body h3{font-size:clamp(20px,2.1vw,30px);line-height:1.12;margin:2px 0 12px;color:#202944;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pff-project-front-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#3e6d9d;font-weight:700}
.pff-project-front-meta .pff-view,.pff-project-back-foot .pff-view{white-space:nowrap}
.pff-project-back{transform:rotateY(180deg);display:flex;flex-direction:column;padding:17px}
.pff-project-back-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ebf3;padding-bottom:9px}
.pff-project-back-close{border:0;background:#edf1f7;color:#26324d;width:32px;height:32px;border-radius:50%;font-size:18px;cursor:pointer}
.pff-project-back-scroll{overflow:auto;flex:1;padding:10px 2px 8px}
.pff-project-back-scroll h3{font-size:clamp(21px,2.15vw,30px);line-height:1.12;margin:6px 0 12px;color:#202944}
.pff-project-back-scroll p{font-size:14px;line-height:1.55;color:#4c5870;margin:10px 0}
.pff-project-back-foot{border-top:1px solid #e8ebf3;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#50617b;font-size:13px;font-weight:700}
.pff-project-card .pff-view{border:0;background:#eaf6ff;color:#2670a8;border-radius:12px;padding:9px 12px;font-weight:800;cursor:pointer}
.pff-project-card .pff-view:hover{background:#dcefff}
@media(max-width:900px){.pff-project-card{aspect-ratio:3/4}.pff-project-front-body h3{font-size:20px}.pff-project-back{padding:14px}.pff-project-back-scroll p{font-size:13px}}
/* v0.9.3 — direct investment controls on project fronts + responsive card density */
.pff-market-hint{margin:10px 0 16px;padding:10px 14px;border-radius:14px;background:#ffffffd9;color:#42506a;font-size:14px;text-align:center}
.pff-project-front-body{padding:12px 13px 13px!important}
.pff-card-invest{margin-top:auto;padding-top:9px;border-top:1px solid #edf0f5}
.pff-card-invest-title{font-size:12px;font-weight:800;color:#4c5870;margin-bottom:6px}
.pff-amount-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.pff-amount-btn{border:1px solid #d8e0ef;background:#f7f9fd;color:#34415c;border-radius:8px;padding:6px 2px;font-family:inherit;font-weight:800;font-size:12px;cursor:pointer;transition:.16s ease}
.pff-amount-btn:hover{background:#eaf4ff;transform:translateY(-1px)}
.pff-amount-btn.is-selected{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 3px 9px rgba(37,99,235,.22)}
.pff-invest-card-btn{width:100%;margin-top:6px;border:0;border-radius:9px;padding:7px 9px;background:linear-gradient(90deg,#ff4d7d,#ff7b54);color:#fff;font-family:inherit;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 4px 10px rgba(255,77,125,.18)}
.pff-invest-card-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.pff-invest-card-btn:disabled,.pff-amount-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.pff-card-invest-status{display:block!important;margin-top:4px;color:#71809a!important;font-size:10px!important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pff-self-project{opacity:.92}
/* Desktop: 6 cards per row. Tablet: 4. Phone: 2. */
.pff-project-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
@media(max-width:1200px){.pff-project-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:700px){.pff-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.pff-project-face{border-radius:17px}.pff-project-media{height:55%}.pff-project-front-body{padding:9px!important}.pff-project-front-body h3{font-size:17px!important;line-height:1.08!important;margin:2px 0 7px!important}.pff-project-fund{font-size:13px}.pff-project-no{font-size:13px}.pff-amount-btn{font-size:10px;padding:5px 1px}.pff-invest-card-title{font-size:10px}.pff-invest-card-btn{font-size:11px;padding:6px}.pff-card-invest-status{font-size:8px!important}.pff-market-hint{font-size:11px;padding:8px}}

/* v0.9.4 card-only refinement: 3:5, tighter media-to-copy, blue project titles, compact actions */
.pff-project-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.pff-project-card{aspect-ratio:3/5;min-width:0}
.pff-project-front{height:100%;display:flex;flex-direction:column}
.pff-project-media{margin:-1px -1px 0;position:relative;flex:0 0 auto;height:48%!important}
.pff-card-img,.pff-card-art{margin:0!important;width:100%;aspect-ratio:3/2;height:100%!important;object-fit:cover;border-radius:18px 18px 10px 10px;display:block}
.pff-project-front-body{padding:7px 10px 9px;display:flex;flex-direction:column;gap:3px;min-height:0}
.pff-project-front-body h3,.pff-project-front h3,.pff-project-title{color:#1769d2!important;margin:2px 0 3px!important;font-size:clamp(17px,1.35vw,24px)!important;line-height:1.15!important;font-weight:800!important}
.pff-project-no{top:8px!important;left:9px!important}
.pff-project-fund{margin-top:0!important}
.pff-card-invest{margin-top:4px!important;padding:7px!important}
.pff-card-invest-title{font-size:12px!important;margin-bottom:3px!important}
.pff-amount-bar{gap:4px!important}
.pff-amount-btn{padding:5px 7px!important;min-width:0!important;font-size:12px!important;border-radius:8px!important}
.pff-invest-card-btn{padding:7px 10px!important;border-radius:9px!important;font-size:12px!important;line-height:1.1!important}
.pff-card-invest-status{font-size:10px!important;line-height:1.2!important}
.pff-project-back-foot .pff-view,.pff-view{padding:6px 9px!important;border-radius:9px!important;font-size:11px!important}
.pff-project-back{height:100%;padding:12px!important}
.pff-project-back h3,.pff-project-back-title{color:#1769d2!important}
@media(max-width:1100px){.pff-project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}
@media(max-width:700px){.pff-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pff-project-media{height:48%!important}.pff-project-front-body{padding:6px 8px 8px}.pff-project-front-body h3,.pff-project-front h3,.pff-project-title{font-size:17px!important}.pff-amount-btn{font-size:11px!important;padding:5px 4px!important}.pff-invest-card-btn{font-size:11px!important;padding:7px 6px!important}.pff-card-invest{padding:5px!important}}

/* v0.9.5 — public browsing + separate sign-in + title/mobile visibility fix */
.pff-project-front-body{flex:1;min-height:0;overflow:visible!important}
.pff-project-front-body h3,.pff-project-front h3{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;max-height:3.5em}
.pff-login-panel{text-align:center;max-width:560px;margin:30px auto;padding:34px 24px;background:#fff;border-radius:24px;box-shadow:0 12px 35px rgba(42,55,110,.12)}
.pff-login-icon{font-size:46px;margin-bottom:8px}.pff-login-panel h2,.pff-login-box h2{margin:6px 0 8px;color:#202944}.pff-login-panel p,.pff-login-box p{color:#657189;line-height:1.6}.pff-login-box{text-align:center;max-width:430px}.pff-login-input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #dbe2ef;border-radius:12px;font:inherit;margin:12px 0}.pff-login-box .pff-primary{width:100%;padding:12px 16px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-weight:800}
@media(max-width:700px){.pff-project-card{aspect-ratio:3/5!important}.pff-project-media{height:43%!important}.pff-project-front-body{height:57%;box-sizing:border-box;overflow-y:auto!important;padding:6px 7px 7px!important}.pff-project-front-body h3,.pff-project-front h3{font-size:16px!important;line-height:1.12!important;margin:2px 0 5px!important;max-height:3.4em}.pff-project-front-meta{font-size:10px;gap:4px}.pff-project-card .pff-view{padding:5px 7px!important;font-size:10px!important}.pff-card-invest{padding:4px!important;margin-top:3px!important}.pff-card-invest-title{font-size:9px!important}.pff-amount-bar{gap:3px!important}.pff-amount-btn{padding:4px 2px!important;font-size:10px!important}.pff-invest-card-btn{margin-top:4px!important;padding:6px 4px!important;font-size:10px!important}.pff-card-invest-status{font-size:8px!important}}

/* v0.9.6 — project details open in a modal; no flip/back side */
.pff-project-card{transform-style:flat!important}
.pff-project-flip{transform:none!important;transform-style:flat!important;height:100%}
.pff-project-card.is-flipped .pff-project-flip{transform:none!important}
.pff-project-front{position:relative!important;transform:none!important}
.pff-project-back{display:none!important}
.pff-project-front-meta .pff-view{cursor:pointer}
.pff-modal-box{max-height:min(88vh,820px);overflow:auto}
.pff-modal-img{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:16px;margin-bottom:14px}
/* v0.9.7 popup investment + standalone results */
.pff-project-detail-modal{max-width:720px!important;max-height:88vh;overflow-y:auto}
.pff-detail-section{margin:14px 0;padding:12px 14px;background:#f7f9fc;border-radius:12px;text-align:left}.pff-detail-section p{margin:6px 0 0;line-height:1.65}
.pff-invest-popup{margin-top:18px;padding:16px;border:2px solid #dce8f8;border-radius:16px;background:#fbfdff}.pff-invest-popup-title{font-weight:800;margin-bottom:10px}.pff-popup-amounts{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.pff-popup-amount{border:1px solid #c9d8ec;border-radius:10px;padding:10px 4px;background:#fff;font-weight:800;font-size:16px;cursor:pointer}.pff-popup-amount.is-selected{background:#1769d2;color:#fff;border-color:#1769d2;transform:translateY(-1px)}.pff-popup-amount:disabled{opacity:.45;cursor:not-allowed}.pff-popup-selected{text-align:center;font-weight:700;margin:11px 0}.pff-popup-confirm{width:100%;border:0;border-radius:11px;padding:12px;background:#1769d2;color:#fff;font-weight:800;cursor:pointer}.pff-popup-confirm:disabled{opacity:.45;cursor:not-allowed}
.pff-results-wrap{max-width:1100px;margin:24px auto;padding:20px}.pff-results-hero{text-align:center;margin-bottom:18px}.pff-results-hero h1{margin:0 0 6px}.pff-results-hero p{margin:0;opacity:.75}.pff-results-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 18px;margin-bottom:14px;border-radius:14px;background:#f5f8fc}.pff-results-list{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 220px);overflow-y:auto;padding-right:5px}.pff-result-row{padding:14px 16px;border:1px solid #e3e9f2;border-radius:14px;background:#fff}.pff-result-head{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center}.pff-result-rank{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef4ff;font-weight:900}.pff-result-name{min-width:0}.pff-result-name b{display:block;color:#1769d2;font-size:18px;white-space:normal}.pff-result-name small{display:block;margin-top:3px;opacity:.7}.pff-result-head>strong{white-space:nowrap}.pff-result-track{height:12px;margin:12px 0 0 54px;background:#edf1f6;border-radius:99px;overflow:hidden}.pff-result-bar{height:100%;border-radius:99px;background:#1769d2;min-width:2px}
@media(max-width:700px){.pff-project-detail-modal{width:calc(100vw - 24px)!important;max-height:90vh}.pff-popup-amounts{gap:5px}.pff-popup-amount{padding:9px 2px;font-size:14px}.pff-results-wrap{padding:12px}.pff-results-list{max-height:none;overflow:visible}.pff-results-summary{font-size:14px}.pff-result-head{grid-template-columns:32px 1fr auto;gap:8px}.pff-result-rank{width:28px;height:28px}.pff-result-name b{font-size:15px}.pff-result-head>strong{font-size:14px}.pff-result-track{margin-left:40px}}
.pff-secondary{border:0;border-radius:18px;padding:12px 20px;background:#eef2ff;color:#28345d;font-size:16px;font-weight:700;cursor:pointer;margin-left:8px}.pff-login-panel .pff-hint{margin-top:14px}.pff-admin-box label{display:block;margin-bottom:6px}.pff-admin-box input[type=file]{padding:10px;background:#f8f9ff;border-radius:12px;border:1px solid #dfe5f7}
