:root{color-scheme:dark}
*{box-sizing:border-box}
@keyframes ship-sway{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}
@keyframes treasure-glow{0%,100%{box-shadow:0 0 10px #ffd700}50%{box-shadow:0 0 20px #ffd700,0 0 30px #ffd700}}
@keyframes flag-wave{0%,100%{transform:scaleX(1)}50%{transform:scaleX(-1)}}
body{margin:0;font:16px/1.6 'Pirata One',cursive;background:#1e3a8a;color:#ffd700;background-image:radial-gradient(circle at 25% 25%,rgba(59,130,246,.1) 0%,transparent 50%),radial-gradient(circle at 75% 75%,rgba(139,69,19,.1) 0%,transparent 50%)}
.ps-wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.ps-header{padding:32px 0;background:linear-gradient(135deg,#1e3a8a,#1e40af);border-bottom:4px solid #ffd700;text-align:center;position:relative}
.ps-header::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffd700' fill-opacity='0.05'%3E%3Cpath d='M20 20m-16 0a16,16 0 1,1 32,0a16,16 0 1,1 -32,0'/%3E%3C/g%3E%3C/svg%3E");z-index:1}
.ps-skull{font-size:28px;font-weight:900;color:#ffd700;margin-bottom:16px;text-shadow:2px 2px 4px rgba(0,0,0,.7);position:relative;z-index:2}
.ps-main-title{margin:0 0 12px 0;font-size:32px;font-weight:900;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.7);position:relative;z-index:2}
.ps-sub{margin:0 0 8px 0;color:#ffd700;font-style:italic;position:relative;z-index:2}
.ps-motto{color:#fff;font-size:16px;font-weight:700;position:relative;z-index:2}
.ps-fleet{display:grid;gap:24px;padding:32px 0}
.ps-ship{display:grid;grid-template-columns:100px 1fr 80px;gap:20px;align-items:center;padding:24px;background:linear-gradient(135deg,#8b4513,#a0522d);border:3px solid #ffd700;border-radius:20px;box-shadow:0 8px 16px rgba(0,0,0,.3);transition:all .3s ease;animation:ship-sway 4s ease-in-out infinite}
.ps-ship:hover{transform:scale(1.02) rotate(0deg);animation:treasure-glow 2s infinite}
.ps-mast{text-align:center}
.ps-flag{font-size:32px;margin-bottom:8px;animation:flag-wave 3s infinite}
.ps-rank{font-size:12px;color:#ffd700;font-weight:700;text-transform:uppercase}
.ps-treasure{min-width:0}
.ps-chest{display:flex;align-items:center;gap:12px;margin-bottom:12px;background:rgba(255,215,0,.1);padding:8px 12px;border-radius:10px;border:1px solid #ffd700}
.ps-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#8b4513;border-radius:50%;border:2px solid #ffd700}
.ps-loot{color:#ffd700;font-weight:900;font-size:14px}
.ps-title{margin:0 0 8px 0;font-size:20px;font-weight:900;color:#fff}
.ps-title a{color:inherit;text-decoration:none}
.ps-title a:hover{color:#ffd700}
.ps-desc{margin:0 0 12px 0;color:#d4af37;font-size:14px;line-height:1.5}
.ps-crew{display:flex;gap:6px;flex-wrap:wrap}
.ps-mate{background:#8b4513;color:#ffd700;padding:4px 8px;border-radius:15px;font-size:12px;font-weight:700;border:1px solid #ffd700}
.ps-compass{font-size:48px;text-align:center;animation:ship-sway 3s ease-in-out infinite reverse}
.ps-footer{padding:24px 0;border-top:4px solid #ffd700;text-align:center;color:#ffd700;font-weight:700;background:#1e3a8a}

  .addon { padding: 24px 0; border-top:1px solid #232323; }
  .addon-title { font-size: 20px; margin: 0 0 14px 0; position: relative; display:inline-block; }
  .addon-title:after { content:''; position:absolute; left:0; bottom:-6px; width: 42px; height: 3px; background: linear-gradient(90deg,#1a73e8,#00b4d8); border-radius: 3px; }

  /* Highlight card */
  .highlight { padding: 0; border: none; }
  .highlight-inner { display:flex; gap:14px; align-items:center; padding:16px; background: linear-gradient(135deg, rgba(26,115,232,0.08), rgba(0,180,216,0.08)); border:1px solid #2a2a2a; border-radius: 14px; }
  .highlight-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:#1a1a1a; border:1px solid #2a2a2a; border-radius:10px; font-size:20px; }
  .highlight-content p { margin: 8px 0 0 0; color:#bdbdbd; }

  .table-wrap { overflow-x: auto; border:1px solid #2a2a2a; border-radius: 12px; background:#131313; }
  .table { width: 100%; border-collapse: collapse; }
  .table thead th { background:#191919; color:#ddd; font-weight:700; }
  .table th, .table td { border-bottom: 1px solid #242424; padding: 10px 12px; text-align: left; }
  .table tr:last-child td { border-bottom: none; }
  .table code { background:#1f1f1f; border:1px solid #2a2a2a; padding: 2px 6px; border-radius:6px; }

  .list { display: grid; gap: 8px; margin: 0; padding-left: 18px; }

  .grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .grid-card { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; border: 1px solid #2a2a2a; border-radius: 12px; background: #141414; transition: transform .12s ease, border-color .12s ease; }
  .grid-card:hover { transform: translateY(-2px); border-color:#3a3a3a; }
  .grid-rank { width: 40px; height: 40px; background: #1a73e8; color: #fff; border-radius: 10px; display:flex; align-items:center; justify-content:center; font-weight: 800; box-shadow: 0 4px 12px rgba(26,115,232,.25); }
  .grid-title { font-weight: 700; }
  .grid-desc { color: #b0b0b0; }

  .chips { list-style:none; padding:0; margin:0; display:flex; flex-wrap: wrap; gap:10px; }
  .chips li { background:#171717; border:1px solid #2a2a2a; padding:8px 12px; border-radius:999px; color:#ddd; }

  .steps { margin:0; padding-left:18px; }
  .steps li { margin: 0 0 6px 0; }

  .faq details { border:1px solid #2a2a2a; border-radius:12px; padding:10px 14px; background:#151515; }
  .faq details+details { margin-top:10px; }
  .faq summary { cursor:pointer; color:#ddd; }
  
