/* Profile card: clearer player stats, fishing records and honors. */
#profile-panel:not(.hidden){
  width:min(1040px,calc(100vw - 28px));
  max-height:min(88vh,760px);
  padding:18px;
  gap:10px 12px;
  border-color:#d2b95f;
  background:
    radial-gradient(ellipse at 8% 0%,#8c85411f,transparent 35%),
    linear-gradient(145deg,#172e25 0%,#0c1b16 65%,#091510 100%);
  box-shadow:0 0 0 4px #070c0b,0 20px 70px #000c,inset 0 0 36px #63b8790b;
}
#profile-panel>.service-kicker{color:#ffe39b;letter-spacing:.08em}
#profile-panel .profile-hero{
  min-height:72px;margin:0;padding:10px 160px 10px 12px;gap:12px;
  border-color:#a1c18d66;border-radius:10px;
  background:linear-gradient(105deg,#274431b8,#10231b 62%,#0e1b16);
  box-shadow:inset 0 1px #ffffff14;
}
#profile-panel .profile-hero img{width:68px;height:68px;border-radius:8px;background:radial-gradient(ellipse at 50% 36%,#405743,#13231b 76%);box-shadow:0 0 16px #e5c7672a}
#profile-panel .profile-hero b{font-size:20px;letter-spacing:.02em}
#profile-panel .profile-hero span{font-weight:800}
#profile-panel #profile-currency:not(.hidden){border:1px solid #d8bb665c;border-radius:8px;background:#d5b54a12;padding:7px 10px;color:#ffe59a}
#profile-panel .profile-view{gap:7px}
#profile-panel #profile-bio-view{margin:0;padding:7px 9px;border-left:2px solid #9bd08b;border-radius:0 6px 6px 0;background:#ffffff07;color:#c7d7c8;font-size:11px}
#profile-panel .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
#profile-panel .profile-stats>div{
  position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;
  align-items:center;column-gap:8px;min-height:54px;padding:7px 9px 7px 7px;text-align:left;
  border:1px solid #96bd8c55;border-radius:8px;
  background:linear-gradient(135deg,#244632a8,#14291f 76%);
  box-shadow:inset 0 1px #ffffff12,0 2px 0 #050c08;
}
#profile-panel .profile-stats>div::before{
  content:"";grid-column:1;grid-row:1/3;width:32px;height:32px;display:block;
  background-image:url("/assets/ui-icons/profile-honors-v1.png");background-size:300% 300%;image-rendering:pixelated;
  filter:drop-shadow(0 2px 3px #0008);
}
#profile-panel .profile-stats>div:nth-child(1)::before{background-position:0 0}
#profile-panel .profile-stats>div:nth-child(2)::before{background-position:50% 0}
#profile-panel .profile-stats>div:nth-child(3)::before{background-position:100% 0}
#profile-panel .profile-stats>div:nth-child(4)::before{background-position:0 50%}
#profile-panel .profile-stats>div:nth-child(5)::before{background-position:50% 50%}
#profile-panel .profile-stats>div:nth-child(6)::before{background-position:100% 100%}
#profile-panel .profile-stats b{align-self:end;font-size:15px;line-height:1.1;color:#ffe296}
#profile-panel .profile-stats small{align-self:start;font-size:10px;line-height:1.15;color:#bfd0bb}
#profile-panel .profile-fishing-honors,#profile-panel .profile-prestige{
  align-content:start;gap:8px;min-width:0;padding:11px;border:1px solid #d4b85b61;border-radius:10px;
  background:linear-gradient(145deg,#1c3529,#0d1b16 76%);box-shadow:inset 0 1px #ffffff10,0 3px 0 #050b08;
}
#profile-panel .profile-fishing-honors>header{padding-bottom:6px;border-bottom:1px solid #c7ad5742}
#profile-panel .profile-fishing-honors>header b{font-size:13px}
#profile-panel .profile-fishing-honors>header small{font-size:9px}
#profile-panel .profile-fishing-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
#profile-panel .profile-fishing-metric{
  display:grid;grid-template-rows:25px auto auto;justify-items:center;align-content:center;gap:2px;min-width:0;min-height:66px;padding:6px 3px;
  border:1px solid #8db79140;border-radius:7px;background:#07151073;text-align:center;
}
#profile-panel .profile-fishing-metric::before{content:"";width:23px;height:23px;background-image:url("/assets/ui-icons/profile-honors-v1.png");background-size:300% 300%;image-rendering:pixelated;filter:drop-shadow(0 1px 2px #0008)}
#profile-panel .profile-fishing-metric:nth-child(1)::before{background-position:100% 50%}
#profile-panel .profile-fishing-metric:nth-child(2)::before{background-position:50% 0}
#profile-panel .profile-fishing-metric:nth-child(3)::before{background-position:50% 50%}
#profile-panel .profile-fishing-metric:nth-child(4)::before{background-position:0 50%}
#profile-panel .profile-fishing-metric:nth-child(5)::before{background-position:0 100%}
#profile-panel .profile-fishing-metric>b{font-size:13px;line-height:1;color:#ffe398}
#profile-panel .profile-fishing-metric>small{font-size:8px;line-height:1.15;color:#a9c1ac}
#profile-panel .profile-display-fish{min-width:0;padding:7px 9px;border:1px solid #91bf9a60;border-radius:8px;background:linear-gradient(100deg,#1b3b2d,#10241c)}
#profile-panel .profile-best-fish{border-color:#dfbe6077;background:linear-gradient(100deg,#3a3420,#17291e)}
#profile-panel .profile-display-fish>span{width:44px;height:38px;border-radius:6px;background:#081510}
#profile-panel .profile-display-fish .field-fish-art{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#profile-panel .profile-display-fish b{font-size:10px;line-height:1.2}
#profile-panel .profile-display-fish small{font-size:9px;line-height:1.25}
#profile-panel .profile-title-honors{display:flex;flex-wrap:wrap;gap:5px}
#profile-panel .profile-title-honors>span{padding:4px 7px;border:1px solid #cfad5366;border-radius:999px;background:#b698341c;color:#f4d982;font-size:9px;font-weight:800}
#profile-panel .profile-prestige-heading{padding-bottom:6px}
#profile-panel .profile-prestige-heading b{font-size:13px}
#profile-panel .profile-prestige-heading small{font-size:9px}
#profile-panel .profile-prestige-badges{gap:6px}
#profile-panel .profile-prestige-badge{min-height:42px;padding:6px 8px;border-radius:8px;background:#ffffff0a}
#profile-panel .profile-prestige-badge>i{
  width:29px;height:29px;border:1px solid #c7a95752;border-radius:7px;
  background-image:url("/assets/ui-icons/profile-honors-v1.png");background-size:300% 300%;
  color:transparent;font-size:0;font-style:normal;image-rendering:pixelated;filter:drop-shadow(0 2px 3px #0008)
}
#profile-panel .profile-prestige-badge:nth-child(1)>i{background-position:0 0}
#profile-panel .profile-prestige-badge:nth-child(2)>i{background-position:100% 50%}
#profile-panel .profile-prestige-badge:nth-child(3)>i{background-position:0 100%}
#profile-panel .profile-prestige-badge:nth-child(4)>i{background-position:50% 100%}
#profile-panel .profile-prestige-badge.aqua>i,#profile-panel .profile-prestige-badge.violet>i{background-color:#ffffff09}
#profile-panel .profile-achievement-display{gap:5px}
#profile-panel .profile-achievement-display>span{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #d3bb7652;border-radius:999px;background:#d2ad4220;color:#f4dc97}
#profile-panel .profile-achievement-display>span::before{content:"";width:16px;height:16px;flex:none;background:url("/assets/ui-icons/profile-honors-v1.png") 0 100%/300% 300%;image-rendering:pixelated}
@media(max-width:650px){
  #profile-panel:not(.hidden){width:calc(100vw - 18px);padding:12px;gap:8px;max-height:calc(100dvh - 18px)}
  #profile-panel .profile-hero{padding-right:118px;min-height:60px}
  #profile-panel .profile-hero img{width:54px;height:54px}
  #profile-panel .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  #profile-panel .profile-fishing-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
  #profile-panel .profile-fishing-metric{min-height:60px}
  #profile-panel .profile-prestige-badges{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){#profile-panel .profile-fishing-honors>header small{display:none}#profile-panel .profile-fishing-metric>small{font-size:7px}}
