/* Tour PVP du serveur et récompenses de quinze jours. */
#screen-pvp-tower { max-width: 1100px; background: radial-gradient(ellipse at 50% 8%,#32324988,transparent 65%),#11131e; }
#screen-pvp-tower .page-header { flex-shrink: 0; }
.tower-hero { padding: 52px 20px 38px; text-align: center; border: 1px solid #baa16b66; border-radius: 12px; background: linear-gradient(#11152255,#111522ed),url('../assets/art/pvp/cite-des-champions-v2.jpg') center 42%/cover; }
.tower-hero h3 { font: 600 clamp(25px,4vw,38px)/1.2 Georgia,serif; color: #ffe4af; text-shadow: 0 2px 9px #000; }
.tower-hero > p:last-child { margin-top: 12px; color: #e8d6ba; font: italic 16px Georgia,serif; }
.tower-intro { padding: 16px 4px; }
.tower-intro > p,.tower-formation > p,.tower-opponents > p,.tower-rewards > p,.tower-rules { color: #bfb3cb; font-size: 12px; line-height: 1.7; }
.tower-season { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; padding: 14px; border: 1px solid #ad946750; border-radius: 9px; background: #2c2934; }
.tower-season b { font: 600 15px Georgia,serif; color: #ead5b1; }
.tower-season small { display: block; font-size: 11px; margin-top: 6px; color: #bdb0c5; }
.tower-season > strong { color: #ffe2a1; font-size: 20px; font-variant-numeric: tabular-nums; }
.tower-my-rank { margin-top: 13px; }
.tower-connect { padding: 20px; text-align: center; background: #272335; border: 1px solid #997daf66; border-radius: 10px; }
.tower-connect b { color: #ebd8b9; font: 600 18px Georgia,serif; }
.tower-connect p { margin: 10px 0 15px; font-size: 12px; color: #c1b4ce; }
.tower-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 15px; }
.tower-error { padding: 14px; margin-bottom: 12px; border: 1px solid #c6817466; border-radius: 8px; background: #572d3455; font-size: 13px; color: #f1c8c2; line-height: 1.5; }
.tower-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tower-section-heading h3,.tower-rewards > h3 { color: #efd7ad; font: 600 21px Georgia,serif; }
.tower-section-heading > small { font-size: 11px; color: #b7a5c4; }
.tower-ranking,.tower-formation,.tower-opponents,.tower-rewards { margin: 20px 0; padding: 18px; border: 1px solid #86725155; border-radius: 11px; background: #161924; }
.tower-ranking ol { list-style: none; }
.tower-ranking li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 4px; border-bottom: 1px solid #bc9c6a26; }
.tower-ranking li:last-child { border: none; }
.tower-rank-number { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 42px; background: #75613e30; border: 1px solid #b4905455; border-radius: 18px 18px 6px 6px; font: 22px Georgia,serif; color: #d2b680; }
.tower-ranking li:first-child .tower-rank-number { background: #8c632a55; color: #ffe2a0; box-shadow: 0 0 15px #dfa34222; }
.tower-player { min-width: 0; flex: 1; }
.tower-player b { display: block; overflow-wrap: anywhere; color: #e9d9bd; font-size: 14px; }
.tower-player small { display: block; margin-top: 5px; color: #a99bb7; font-size: 10px; }
.tower-ranking li > strong { flex-shrink: 0; color: #dec799; font-size: 13px; }
.tower-ranking li.me { background: #6963a321; }
.tower-slots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.tower-slots label { min-width: 0; }
.tower-slots label > span { display: block; font-size: 11px; margin-bottom: 7px; color: #cfb68e; }
.tower-slots select { width: 100%; min-height: 44px; padding: 8px; color: #eee0c9; border: 1px solid #897c9855; border-radius: 7px; background: #252635; font: inherit; font-size: 12px; }
.tower-equipped { margin-bottom: 12px; }
.tower-opponent { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #c1a97922; }
.tower-opponent > div { min-width: 0; }
.tower-opponent b { display: block; color: #e7d1ad; font: 600 15px Georgia,serif; overflow-wrap: anywhere; }
.tower-opponent small { display: block; color: #ad9eba; font-size: 11px; margin-top: 5px; }
.tower-team-preview { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tower-team-preview img { width: 35px; height: 40px; object-fit: cover; object-position: center 25%; border-radius: 5px; border: 1px solid #9a876555; }
.tower-empty { padding: 18px 4px; font-size: 12px; color: #b2a3bf; }
.tower-rewards > p { margin: 10px 0 18px; }
.tower-reward-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.tower-reward { min-width: 0; display: flex; align-items: center; flex-direction: column; gap: 9px; padding: 17px 10px; text-align: center; border: 1px solid #8c785752; border-radius: 10px; background: radial-gradient(ellipse at 50% 35%,#56587233,transparent 75%),#121622; }
.tower-reward:first-child { border-color: #d4a55080; background: radial-gradient(ellipse at 50% 35%,#9c742a40,transparent 75%),#1c1820; }
.tower-rank-tier { color: #e5cfad; border-bottom: 1px solid #b1996755; padding: 3px 12px 9px; font: 600 18px Georgia,serif; }
.tower-reward .avatar-frame { width: clamp(92px,16vw,166px); height: clamp(92px,16vw,166px); }
.tower-reward h4 { color: #f0d9ad; font: 600 16px/1.3 Georgia,serif; }
.tower-reward > strong { color: #d8e8b1; font-size: 12px; }
.tower-reward > small { color: #c3b2d1; font-size: 11px; }
.tower-reward > p { color: #a99db8; font-size: 10px; line-height: 1.5; }
.tower-frame-expiry { color: #b9d2e8; font-size: 11px; line-height: 1.5; }
.tower-rules { padding: 0 5px 18px; }
#screen-pvp-tower button:focus-visible,#screen-pvp-tower select:focus-visible { outline: 2px solid #ffe4ab; outline-offset: 3px; }
@media (max-width: 640px) {
  .tower-hero { padding: 35px 13px; }
  .tower-ranking,.tower-formation,.tower-opponents,.tower-rewards { padding: 13px; }
  .tower-slots { gap: 7px; }
  .tower-slots select { font-size: 11px; padding: 7px 3px; }
  .tower-reward-grid { grid-template-columns: 1fr; }
  .tower-reward .avatar-frame { width: 146px; height: 146px; }
  .tower-reward h4 { font-size: 18px; }
}
@media (max-width: 360px) { .tower-slots { grid-template-columns: 1fr; } }
