/* Player album: premium dark-gold gallery, matching public profile panels. */
.gr-album{
  margin-top:22px;
  border:1px solid rgba(237,183,73,.82);
  border-radius:19px;
  overflow:hidden;
  color:#f4f5f8;
  background:linear-gradient(150deg,#0a111b,#060a12 75%);
  box-shadow:0 0 0 1px #efbc5220,0 12px 35px #0008;
}
.gr-album *,.gr-album *::before,.gr-album *::after{box-sizing:border-box}
.gr-album__heading{
  display:flex;align-items:center;gap:19px;position:relative;isolation:isolate;
  min-height:112px;padding:21px 31px;
  background:linear-gradient(105deg,#101e30 0%,#0c1523 55%,#070e19 100%);
  border-bottom:1px solid #a67e3d83;
}
.gr-album__heading::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(0deg,#080e17ac,transparent 78%);
}
.gr-album__heading-icon{width:56px;height:56px;flex:0 0 56px;color:#f8ce7c;filter:drop-shadow(0 0 5px #a46a24aa)}
.gr-album__heading h2{
  margin:0;font:800 clamp(25px,2.5vw,38px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing:-.4px;color:#f6d28d;text-shadow:0 2px 8px #000;
}
.gr-album__heading p{margin:8px 0 0;color:#e0e2e9;font-size:clamp(12px,1.15vw,16px);line-height:1.45}
.gr-album__body{padding:19px 20px 23px}
.gr-album__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:15px}
.gr-album__upload-tile,.gr-album__card{
  min-width:0;aspect-ratio:1.37;min-height:196px;border-radius:11px;
}
.gr-album__upload-tile{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  padding:16px 18px;color:#f5d18b;cursor:pointer;
  border:1.5px dashed #e8b951;border-radius:11px;
  background:radial-gradient(ellipse at 50% 40%,#26324970,#0b1422 77%);
  box-shadow:inset 0 0 0 1px #cf9d3a16;
  text-align:center;font-family:Inter,"Segoe UI",sans-serif;
}
.gr-album__upload-tile:hover,.gr-album__upload-tile.is-dragging{
  background:radial-gradient(ellipse at 50% 40%,#344c607d,#101b2e 85%);
  border-color:#ffe1a0;box-shadow:0 0 13px #e5b34f3b;
}
.gr-album__upload-tile .gr-album__plus{
  display:grid;place-items:center;width:60px;height:60px;line-height:1;
  border:2px solid #f4d387;border-radius:50%;
  font-size:44px;font-weight:250;color:#ffe1a0;
}
.gr-album__upload-tile strong{font:700 22px/1.2 Georgia,"Times New Roman",serif}
.gr-album__upload-tile>span:last-child{font-size:12px;line-height:1.6;color:#d8d7dc;max-width:230px}
.gr-album__card{
  position:relative;overflow:hidden;
  background:linear-gradient(#121c2c,#0c1420);
  border:1px solid #91806c7a;
  box-shadow:0 6px 13px #0009;
}
.gr-album__card:hover{border-color:#e6b95f;box-shadow:0 0 13px #e9b34e42,0 7px 17px #000c}
.gr-album__card:focus-within{border-color:#f4ce79}
.gr-album__image-button{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  padding:0;border:0;background:#101b2a;cursor:zoom-in;z-index:0;
}
.gr-album__card-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .23s ease}
.gr-album__card:hover .gr-album__card-image{transform:scale(1.025)}
.gr-album__card::after{
  position:absolute;content:"";inset:46% 0 0;pointer-events:none;z-index:1;
  background:linear-gradient(transparent,#05080d9e 37%,#02050bec);
}
.gr-album__overlay{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:15px 12px 9px;pointer-events:none;
}
.gr-album__caption{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  font-size:13px;font-weight:700;color:#fff;text-shadow:0 1px 4px #000}
.gr-album__bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:6px}
.gr-album__date{display:inline-flex;align-items:center;gap:5px;color:#e6e8ef;font-size:11px;white-space:nowrap}
.gr-album__date svg{height:15px;width:15px}
.gr-album__actions{display:flex;align-items:center;justify-content:flex-end;gap:2px;pointer-events:auto}
.gr-album__icon-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  border:0;border-radius:7px;background:transparent;color:#eef0f7;
  padding:6px 5px;min-width:29px;min-height:30px;
  font:700 12px Inter,"Segoe UI",sans-serif;cursor:pointer;
}
.gr-album__icon-btn svg{width:19px;height:19px;flex:0 0 19px}
.gr-album__icon-btn:hover{color:#ffe7a7;background:#f3ba4b24}
.gr-album__icon-btn.is-liked,.gr-album__icon-btn.is-favorite{color:#ffd66f}
.gr-album__icon-btn:disabled{opacity:.58;cursor:wait}
.gr-album__icon-btn:focus-visible,.gr-album__image-button:focus-visible,
.gr-album__upload-tile:focus-visible{outline:2px solid #ffe3a4;outline-offset:-2px}
.gr-album__star{
  position:absolute;z-index:3;top:8px;right:8px;
  display:grid;place-items:center;min-width:35px;min-height:35px;
  padding:5px;border:1px solid #ffffff43;border-radius:10px;
  background:#0b101ab0;color:#f4f0e8;cursor:pointer;
}
.gr-album__star svg{width:23px;height:23px}
.gr-album__star:hover{color:#ffe099;border-color:#f0c26d;background:#171714d9}
.gr-album__star.is-favorite{color:#ffd364;border-color:#f9c95b;filter:drop-shadow(0 0 4px #e8a93c55)}
.gr-album__star.is-favorite svg{fill:currentColor}
.gr-album__star--static{cursor:default;pointer-events:none}
.gr-album__empty{padding:23px 12px;text-align:center;color:#b8c7d9;font-size:14px}
.gr-album__toolbar{
  display:flex;align-items:center;justify-content:flex-end;gap:12px;
  flex-wrap:wrap;margin:0 0 18px;
}
.gr-album__toolbar label{font:500 13px Inter,"Segoe UI",sans-serif;color:#c3c9d4}
.gr-album__toolbar select{
  appearance:auto;min-width:158px;padding:10px 11px;
  color:#f1f4f9;background:#101823;border:1px solid #657489;
  border-radius:9px;cursor:pointer;font:600 13px Inter,"Segoe UI",sans-serif;
  box-shadow:0 2px 9px #0007;
}
.gr-album__toolbar select:hover,.gr-album__toolbar select:focus{
  border-color:#efc270;outline-color:#f6d892;
}
.gr-album__upload-policy{
  display:flex;align-items:flex-start;gap:10px;
  margin:1px 0 0;padding:12px 13px;border-radius:9px;
  border:1px solid #d9a7528c;background:#5a381e45;
  color:#ffe1a6;font:500 12px/1.5 Inter,"Segoe UI",sans-serif;
}
.gr-album__upload-policy svg{flex:0 0 20px;width:20px;height:20px;margin-top:1px;color:#ffcf78}
.gr-album__dialog--edit{padding:25px;max-width:510px}
.gr-album__dialog--edit h3{margin:0 46px 20px 0;color:#f7d087;font:700 23px Georgia,serif}
.gr-album__dialog--edit form{display:flex;flex-direction:column;gap:13px}
.gr-album__dialog--edit label{font:650 13px Inter,"Segoe UI",sans-serif;color:#ebdbbd}
.gr-album__dialog--edit input[type="text"]{
  width:100%;padding:12px;border:1px solid #677994;border-radius:9px;
  background:#080f19;color:#fff;font:500 14px Inter,"Segoe UI",sans-serif;
}
.gr-album__dialog--edit input:focus{outline:1px solid #f6cb72}
.gr-album__feedback{
  margin:0 0 13px;padding:11px 14px;
  border:1px solid #bd9250a1;border-radius:9px;background:#1b1b1e;color:#ffdb98;
  font-size:12px;
}
.gr-album__more{display:block;margin:19px auto 0;padding:10px 26px;
  border:1px solid #e9bf70;border-radius:9px;background:#101926;color:#f3d68f;
  font:700 13px Inter,sans-serif;cursor:pointer}
.gr-album__more:hover{background:#293449}
.gr-album__upload-tile[hidden],.gr-album__modal[hidden],.gr-album__empty[hidden],
.gr-album__feedback[hidden],.gr-album__more[hidden],.gr-album__dialog-error[hidden],
.gr-album__nav[hidden]{display:none!important}

/* Dialogs sit above the profile so fullscreen photos never depend on grid height. */
.gr-album__modal{
  position:fixed;inset:0;z-index:110000;display:flex;align-items:center;justify-content:center;
  padding:20px;color:#fff;
}
.gr-album__backdrop{position:absolute;inset:0;background:#000d;backdrop-filter:blur(4px)}
.gr-album__dialog{
  box-sizing:border-box;position:relative;z-index:1;
  width:min(96vw,720px);max-height:calc(100dvh - 36px);overflow:auto;
  border:1px solid #d8a94e;border-radius:15px;
  background:linear-gradient(145deg,#111c2b,#070d16);
  box-shadow:0 13px 65px #000e;
}
.gr-album__close{
  position:absolute;z-index:5;right:12px;top:10px;
  border:1px solid #e9cd9366;border-radius:9px;
  width:36px;height:36px;background:#0b101bbb;color:#fff;cursor:pointer;
  font:30px/1 Arial,sans-serif;
}
.gr-album__close:hover{background:#8b291c}
.gr-album__dialog--upload{padding:25px;max-width:540px}
.gr-album__dialog--upload h3{margin:0 44px 15px 0;color:#f7d087;font:700 25px Georgia,serif}
.gr-album__dialog--upload form{display:flex;flex-direction:column;gap:11px}
.gr-album__upload-preview{display:block;width:100%;height:min(45vh,270px);
  border:1px solid #45556d;border-radius:10px;background:#08111c;object-fit:contain}
.gr-album__caption-label{font-size:13px;color:#ecdbbb;font-weight:650}
.gr-album__dialog--upload input[type="text"]{
  width:100%;box-sizing:border-box;padding:11px 12px;background:#080f19;color:#fff;
  border:1px solid #6b7c94;border-radius:9px;font:500 14px Inter,sans-serif;
}
.gr-album__dialog--upload input[type="text"]:focus{outline:1px solid #ffdb87}
.gr-album__upload-hint{margin:0;color:#b6c0cf;font-size:11px;line-height:1.5}
.gr-album__confirm{
  padding:11px 13px;
  border:1px solid rgba(228,181,95,.65);
  border-radius:9px;
  background:rgba(45,40,29,.6);
}
.gr-album__confirm[hidden]{display:none!important}
.gr-album__confirm-label{
  display:flex;align-items:center;gap:11px;cursor:pointer;
  color:#f7dfad;font:650 12px/1.45 Inter,"Segoe UI",sans-serif;
}
.gr-album__confirm-label input{
  flex:0 0 19px;width:19px;height:19px;margin:0;cursor:pointer;
  accent-color:#d5a64d;
}
.gr-album__confirm-label:focus-within{outline:2px solid #f8d58b;outline-offset:3px;border-radius:5px}

.gr-album__dialog-error{margin:0;padding:9px;color:#ffd0d0;background:#622a2a66;
  border:1px solid #e77e7e99;border-radius:7px;font-size:12px}
.gr-album__upload-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:5px}
.gr-album__primary,.gr-album__secondary{
  padding:10px 16px;border-radius:10px;cursor:pointer;
  font:700 13px Inter,"Segoe UI",sans-serif;
}
.gr-album__primary{border:1px solid #f5d78e;color:#261909;background:linear-gradient(#ffe7a8,#d7a444)}
.gr-album__secondary{border:1px solid #63758c;color:#e3e8f0;background:#172234}
.gr-album__primary:disabled{opacity:.5;cursor:wait}
.gr-album__primary:hover,.gr-album__secondary:hover{filter:brightness(1.13)}
.gr-album__delete-prompt{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;
  gap:9px;width:100%;padding:9px 11px;border:1px solid #dc747c99;
  border-radius:9px;background:#44212a88;color:#ffe0e0;font-size:12px;
}
.gr-album__delete-prompt span{flex:1 1 180px}
.gr-album__delete-prompt button{
  border-radius:7px;padding:7px 11px;cursor:pointer;
  font-size:12px;font-weight:700;
}
.gr-album__delete-yes{border:1px solid #ef8591;background:#a82e40;color:white}
.gr-album__delete-no{border:1px solid #8695a5;background:#1b2938;color:#eee}
.gr-album__delete-prompt button:disabled{opacity:.5}
.gr-album__dialog--viewer{
  width:min(96vw,1250px);padding:8px;overflow:hidden;
  display:flex;flex-direction:column;align-items:stretch;
}
.gr-album__viewer-image{
  display:block;max-width:100%;width:100%;height:auto;max-height:calc(100dvh - 142px);
  min-height:90px;object-fit:contain;background:#060b12;border-radius:8px;
}
.gr-album__viewer-foot{
  display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;
  padding:10px 9px 5px;
}
.gr-album__viewer-description{display:flex;min-width:0;flex-direction:column;gap:3px}
.gr-album__viewer-description strong{font-size:14px;color:#f6deac;overflow-wrap:anywhere}
.gr-album__viewer-description span{font-size:12px;color:#b7c4d5}
.gr-album__viewer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gr-album__viewer-actions .gr-album__icon-btn{padding:8px}
.gr-album__nav{
  position:absolute;z-index:4;top:44%;transform:translateY(-50%);
  display:grid;place-items:center;width:40px;height:52px;
  border:1px solid #f9d28488;border-radius:10px;background:#09111dc9;
  color:#ffe1a6;font:40px/1 Arial,sans-serif;cursor:pointer;
}
.gr-album__nav:hover{background:#453118}
.gr-album__nav--prev{left:16px}
.gr-album__nav--next{right:16px}
@media(max-width:1130px){.gr-album__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .gr-album__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .gr-album__heading{padding:16px 17px;min-height:85px;gap:12px}
  .gr-album__heading-icon{width:42px;height:42px;flex-basis:42px}
  .gr-album__body{padding:13px}
  .gr-album__upload-tile,.gr-album__card{min-height:170px}
}
@media(max-width:470px){
  .gr-album__grid{grid-template-columns:minmax(0,1fr)}
  .gr-album__upload-tile,.gr-album__card{aspect-ratio:1.55}
  .gr-album__heading h2{font-size:25px}
  .gr-album__heading p{font-size:12px}
  .gr-album__dialog--upload{padding:18px}
  .gr-album__dialog--viewer{width:100%}
  .gr-album__modal{padding:10px}
  .gr-album__nav{width:30px;height:42px;font-size:29px}
  .gr-album__nav--prev{left:9px}
  .gr-album__nav--next{right:9px}
}
@media(prefers-reduced-motion:reduce){.gr-album__card-image{transition:none}}
