/* ===== 하위 페이지 공통 ===== */
.pg{width:min(1440px,calc(100% - 64px));margin:36px auto 0;min-height:60vh}
.pg-head{display:flex;align-items:flex-end;gap:18px;padding-bottom:18px;border-bottom:1px solid rgba(243,226,190,.18);margin-bottom:26px}
.pg-head h1{font-family:'Black Han Sans';font-weight:400;font-size:52px;line-height:1;background:linear-gradient(180deg,#fff6dc,#f2cf84 48%,#c4923e);-webkit-background-clip:text;background-clip:text;color:transparent}
.pg-head p{font-size:16px;color:rgba(239,226,198,.65);padding-bottom:6px}
.pg-head .crumb{margin-left:auto;font-family:Cinzel,serif;font-size:12px;letter-spacing:.3em;color:#e8c47a;font-weight:700;padding-bottom:8px}
.ex{display:inline-flex;align-items:center;font-size:11px;font-weight:900;letter-spacing:.06em;padding:3px 8px;border-radius:999px;color:#2a0f14;background:linear-gradient(180deg,#ffc0b4,#ff8a8f);vertical-align:middle}
/* 둥근 반투명 탭 (메인과 같은 모양) */
.ptabs{display:inline-flex;gap:6px;padding:7px;border-radius:999px;margin-bottom:26px;
  background:rgba(255,246,226,.045);backdrop-filter:blur(5px);box-shadow:inset 0 0 0 1px rgba(243,226,190,.3),0 14px 30px -18px rgba(0,0,0,.8)}
.ptabs a,.ptabs button{height:48px;padding:0 26px;border:0;border-radius:999px;display:flex;align-items:center;gap:8px;background:transparent;color:#efe2c6;font:inherit;font-size:17px;font-weight:800;cursor:pointer;transition:background .2s}
.ptabs a:hover,.ptabs button:hover{background:rgba(255,246,226,.08)}
.ptabs .on{color:#ffe6a8!important;background:rgba(255,226,160,.16)!important;box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.95),inset 0 0 14px rgba(255,200,110,.28),0 0 14px rgba(255,190,90,.55);text-shadow:0 0 10px rgba(255,200,110,.6)}
.glass{border-radius:24px;padding:26px 30px;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.18),0 20px 40px -24px rgba(0,0,0,.9)}
/* 목록 */
.plist{list-style:none;display:flex;flex-direction:column;gap:10px}
.plist li{display:flex;align-items:center;gap:18px;padding:18px 22px;border-radius:18px;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.14);cursor:pointer;transition:background .2s,transform .2s}
.plist li:hover{background:rgba(255,246,226,.1);transform:translateX(3px)}
.plist em{font-style:normal;flex:none;font-size:13px;font-weight:900;padding:5px 12px;border-radius:999px;color:#2a1a0c;background:#e2c27a}
.plist em.c2{background:#f0b98a}.plist em.c3{background:#a9d2c6}.plist em.c4{background:#e7a3a3}.plist em.c5{background:#c8b4f0}
.plist strong{font-size:18px;color:#f6ead0;font-weight:700}
.plist time{margin-left:auto;flex:none;font-size:14px;color:rgba(239,226,198,.5)}
.plist .pin{color:#ff9a8a;font-weight:900;margin-right:6px}
/* 뉴스 카드 */
.ngrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ncard{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.16);cursor:pointer;transition:transform .25s,box-shadow .25s}
.ncard:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.7),0 18px 34px -16px rgba(0,0,0,.9)}
.ncard .th{position:relative;aspect-ratio:16/9;background:radial-gradient(70% 90% at 50% 70%,#3a2614,#160e08);display:grid;place-items:center;overflow:hidden}
.ncard .th img{height:92%;filter:drop-shadow(0 10px 14px rgba(0,0,0,.6))}
.ncard .th em{position:absolute;left:14px;top:14px;font-style:normal;font-size:12px;font-weight:900;padding:4px 10px;border-radius:999px;color:#2a1a0c;background:#e2c27a}
.ncard .th .ex{position:absolute;right:14px;top:14px}
.ncard .bd{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px}
.ncard b{font-size:19px;line-height:1.35;color:#f6ead0}
.ncard p{font-size:14px;line-height:1.6;color:rgba(239,226,198,.7)}
.ncard small{font-size:13px;color:rgba(239,226,198,.45)}
.empty2{padding:60px 0;text-align:center;color:rgba(239,226,198,.5);font-size:16px}
/* 글 보기 창 */
.modal{position:fixed;inset:0;z-index:150;display:none;place-items:center;background:rgba(8,5,3,.7);backdrop-filter:blur(4px)}
.modal.show{display:grid}
.modal .box{width:min(760px,92vw);max-height:84vh;overflow:auto;border-radius:24px;padding:30px 34px;background:#1e140c;box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.6),0 30px 60px -20px rgba(0,0,0,.9)}
.modal .box h2{font-size:28px;color:#f6ead0;margin:10px 0 6px}
.modal .box .meta{font-size:13px;color:rgba(239,226,198,.5);margin-bottom:18px}
.modal .box p{font-size:16px;line-height:1.8;color:rgba(239,226,198,.85);margin-bottom:12px}
.modal .x{float:right;width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;color:#f3e6c8;background:rgba(255,246,226,.08);font-size:18px}
/* 지통실 */
.lgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.lcard2{border-radius:18px;overflow:hidden;background:rgba(255,246,226,.05);box-shadow:inset 0 0 0 1px rgba(243,226,190,.14)}
.lcard2 .th{position:relative;aspect-ratio:16/10;display:grid;place-items:end center;overflow:hidden;background:radial-gradient(70% 90% at 50% 80%,#3a2a4a,#120c18)}
.lcard2 .th img{height:96%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.6))}
.lcard2 .badge{position:absolute;left:10px;top:10px;display:flex;gap:6px}
.lcard2 .badge span{font-size:11.5px;font-weight:900;padding:3px 8px;border-radius:999px}
.lcard2 .badge .l{background:#d1262b;color:#fff}.lcard2 .badge .v{background:rgba(0,0,0,.6);color:#fff}
.lcard2 .th .ex{position:absolute;right:10px;top:10px}
.lcard2 .bd{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}
.lcard2 .bd b{font-size:15px;color:#f6ead0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcard2 .bd small{font-size:12.5px;color:rgba(239,226,198,.6)}
.lcard2.off .th{background:#16110d}
.lcard2.off .th img{filter:grayscale(1) brightness(.35)}
.lcard2.off .th::after{content:"OFF";position:absolute;inset:0;display:grid;place-items:center;font-family:Cinzel,serif;font-weight:900;font-size:22px;letter-spacing:.3em;color:rgba(239,226,198,.4)}
.lcard2.off .bd b{color:rgba(239,226,198,.45)}
.crewblock{margin-bottom:26px}
.crewblock h3{display:flex;align-items:center;gap:12px;font-size:21px;color:#f6ead0;margin:0 0 12px 4px}
.crewblock h3 span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-family:'Black Han Sans';font-size:18px;color:#f3d48e;background:rgba(255,214,130,.1);box-shadow:inset 0 0 0 1px rgba(255,214,130,.45)}
.crewblock h3 small{font-size:13px;color:rgba(239,226,198,.5);font-weight:600}
.crewblock .lgrid{grid-template-columns:repeat(6,1fr)}
.lsum2{display:flex;gap:12px;margin:-8px 0 22px}
.lsum2 div{padding:10px 18px;border-radius:14px;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.14);font-size:14px;color:rgba(239,226,198,.7)}
.lsum2 b{font-size:18px;color:#f3d48e;margin-left:6px}
/* 랭킹 */
.rk4{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;width:min(1100px,100%);margin:30px auto 0}
.rk4 div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px;border-radius:18px;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.16)}
.rk4 em{font-style:normal;font-family:Cinzel,serif;font-weight:900;font-size:20px;color:#e8c47a}
.rk4 .ph{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-family:'Black Han Sans';font-size:28px;color:#f3d48e;background:rgba(255,214,130,.08);box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.45)}
.rk4 b{font-size:15px;color:rgba(239,226,198,.8)}.rk4 small{font-size:12.5px;color:rgba(239,226,198,.5)}
.morebtn{display:flex;margin:26px auto 0;height:54px;padding:0 34px;align-items:center;gap:10px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-size:17px;font-weight:800;color:#ffe6a8;
  background:rgba(255,226,160,.14);box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.95),0 0 16px rgba(255,190,90,.4)}
.rkall{display:none;width:min(1100px,100%);margin:22px auto 0;grid-template-columns:repeat(2,1fr);gap:8px}
.rkall.show{display:grid}
.rkall div{display:flex;align-items:center;gap:14px;padding:12px 18px;border-radius:14px;background:rgba(255,246,226,.05);box-shadow:inset 0 0 0 1px rgba(243,226,190,.12)}
.rkall em{font-style:normal;width:44px;font-family:Cinzel,serif;font-weight:900;color:#e8c47a}
.rkall b{color:rgba(239,226,198,.75);font-size:15px}.rkall small{margin-left:auto;color:rgba(239,226,198,.45)}
/* 해적단 정보 */
.cgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ccard{display:flex;flex-direction:column;align-items:center;gap:10px;padding:26px 16px 22px;border-radius:22px;background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.16);transition:transform .25s,box-shadow .25s}
.ccard:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.7)}
.ccard .emb{width:88px;height:88px;border-radius:26px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#3a2616,#1a110a);box-shadow:inset 0 0 0 1.5px rgba(232,196,128,.6)}
.ccard .emb span{font-family:'Black Han Sans';font-size:44px;color:rgba(243,212,142,.5)}
.ccard b{font-size:20px;color:#f6ead0}
.ccard .row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ccard .row span{font-size:12.5px;padding:4px 10px;border-radius:999px;color:rgba(239,226,198,.75);background:rgba(255,246,226,.06);box-shadow:inset 0 0 0 1px rgba(243,226,190,.14)}
.ccard .crew{display:flex;gap:4px;margin-top:4px}
.ccard .crew i{width:24px;height:24px;border-radius:50%;background:rgba(255,246,226,.08);box-shadow:inset 0 0 0 1px rgba(243,226,190,.2)}
/* 캘린더 */
.cal2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.mon h3{font-size:22px;color:#f6ead0;margin:0 0 14px 4px}
.mon .wd,.mon .days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.mon .wd span{text-align:center;font-size:13px;font-weight:800;color:rgba(239,226,198,.5);padding-bottom:6px}
.mon .wd span:first-child{color:#ff9a8a}.mon .wd span:last-child{color:#9ac8f0}
.mon .days div{min-height:86px;border-radius:12px;padding:8px;background:rgba(255,246,226,.04);box-shadow:inset 0 0 0 1px rgba(243,226,190,.08);display:flex;flex-direction:column;gap:4px}
.mon .days div.blank{background:none;box-shadow:none}
.mon .days div b{font-size:14px;color:rgba(239,226,198,.75)}
.mon .days div.today{box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.8)}
.mon .ev{font-size:11.5px;font-weight:800;padding:3px 6px;border-radius:6px;line-height:1.25}
.mon .ev.a{background:rgba(255,214,130,.2);color:#ffe6a8}.mon .ev.b{background:rgba(232,53,44,.28);color:#ffc8c0}.mon .ev.c{background:rgba(120,190,170,.22);color:#c8f0e4}
.legend{display:flex;gap:16px;margin-top:18px;font-size:13px;color:rgba(239,226,198,.7)}
.legend span{display:flex;align-items:center;gap:6px}.legend i{width:12px;height:12px;border-radius:4px}
/* 페이지 알림 */
.ptoast{position:fixed;left:50%;top:50%;z-index:220;transform:translate(-50%,-50%) scale(.9);opacity:0;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 46px;border-radius:24px;text-align:center;
  background:rgba(24,16,10,.86);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1.5px rgba(255,214,130,.85),0 0 30px rgba(255,190,90,.35),0 24px 50px -20px rgba(0,0,0,.9);transition:opacity .25s,transform .25s}
.ptoast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.ptoast b{font-size:23px;color:#ffe6a8;font-weight:900}.ptoast small{font-size:14px;color:rgba(239,226,198,.75)}
@media (max-width:760px){.pg{width:calc(100% - 20px)}.pg-head h1{font-size:32px}.ngrid,.cgrid{grid-template-columns:1fr 1fr}.lgrid,.crewblock .lgrid{grid-template-columns:repeat(2,1fr)}.rk4{grid-template-columns:repeat(3,1fr)}.cal2{grid-template-columns:1fr}.ptabs{flex-wrap:wrap;border-radius:22px}}
/* 썸네일 안 전신이 보이게 */
.ncard .th img,.lcard2 .th img{position:absolute;left:50%;bottom:0;top:auto;height:92%!important;width:auto!important;max-width:none;transform:translateX(-50%)}
.lcard2 .th img{height:90%!important}
.lcard2 .th .badge,.lcard2 .th .ex,.ncard .th em,.ncard .th .ex{z-index:2}
