/* R275 consolidates R273/R274 profile cosmetics UI + rank title art. */
.r273-choice-overlay{position:fixed;inset:0;z-index:12000;background:#020711d9;display:grid;place-items:center;padding:18px}.r273-choice-card{width:min(920px,94vw);max-height:90vh;overflow:auto;background:linear-gradient(180deg,#102a43,#07131f);border:1px solid #2c7098;box-shadow:0 24px 80px #000;border-radius:12px;color:#eef8ff}.r273-choice-card>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #23516f}.r273-choice-card>header div{display:grid;gap:3px}.r273-choice-card>header small{font-size:10px;letter-spacing:.16em;color:#58cbff}.r273-choice-card>header b{font-size:21px}.r273-choice-card>header button{border:1px solid #456b87;background:#091827;color:#fff;width:34px;height:34px;border-radius:5px;font-size:21px}.r273-choice-card>p{margin:14px 18px;color:#a9c4d8;font-size:13px}.r273-choice-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 18px 16px}.r273-choice-character{min-width:0;display:grid;grid-template-columns:70px 1fr;align-items:center;gap:9px;text-align:left;background:#081826;border:1px solid #264c67;color:#dbefff;padding:8px;border-radius:8px}.r273-choice-character.selected{border-color:#f5bd31;box-shadow:0 0 0 1px #f5bd31 inset}.r273-choice-character img{width:66px;height:74px;object-fit:contain;image-rendering:pixelated}.r273-choice-character span{display:grid;gap:4px}.r273-choice-character small{font-size:9px;color:#829db2}.r273-choice-character em{font-style:normal;color:#ffd65a;font-size:11px;font-weight:800}.r273-choice-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #21445d}.r273-choice-actions button{padding:9px 14px;border:1px solid #385e7b;background:#10253a;color:#d9ebf8;font-weight:800}.r273-choice-actions button.primary{background:#c98900;border-color:#f7c44f;color:#fff}.r273-choice-status{padding:0 18px 15px;color:#7de8a2;font-weight:800;font-size:11px}
.r273-cosmetics-pane{padding-bottom:26px}.r273-prestige{display:grid;text-align:right;align-content:center}.r273-prestige span{font-size:9px;color:#8099ad}.r273-prestige b{font-size:25px;color:#ffd65a}.r273-equipped-strip{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.r273-equipped-strip>div{border:1px solid #284b65;background:#0b1a28;border-radius:8px;padding:10px 12px;display:grid;gap:3px}.r273-equipped-strip small{font-size:9px;color:#86a0b4}.r273-equipped-strip b{font-size:14px}.r273-cosmetic-section{margin-top:15px}.r273-cosmetic-section h4{color:#f7c53d;margin:0 0 8px;font-size:13px}.r273-cosmetic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.r273-cosmetic-card{position:relative;min-height:128px;display:grid;grid-template-columns:118px minmax(0,1fr) 82px;gap:9px;align-items:center;border:1px solid #25455c;background:#091723;border-radius:9px;padding:9px;overflow:hidden}.r273-cosmetic-card.locked{filter:saturate(.45);opacity:.65}.r273-cosmetic-card.equipped{border-color:#d9a817;box-shadow:0 0 0 1px #d9a817 inset}.r273-cosmetic-card button{font-size:9px;padding:6px;background:#17314a;color:#eef8ff;border:1px solid #446a86;border-radius:4px;font-weight:800}.r273-cosmetic-card button:disabled{opacity:.6}.r273-cosmetic-copy{min-width:0;display:grid;gap:3px}.r273-cosmetic-copy>small{font-size:8px;color:#9a8857}.r273-cosmetic-copy>b{font-size:13px}.r273-cosmetic-copy>p{font-size:10px;color:#8299aa;margin:0;line-height:1.25}.r273-cosmetic-copy>span{font-size:8px;color:#7890a4;line-height:1.25}.r274-unlock,.r274-benefit{display:grid!important;gap:1px;margin-top:3px}.r274-unlock strong,.r274-benefit strong{font-size:7px;color:#d7b33d;letter-spacing:.08em}.r274-title-preview{width:118px;height:54px;display:flex;align-items:center;justify-content:center;overflow:hidden}.r274-title-preview img{display:block;max-width:116px;max-height:52px;width:auto;height:auto;object-fit:contain}.r274-title-preview span{font-size:11px;font-weight:900;font-style:italic;text-align:center;color:#ffd150;text-shadow:0 0 6px #2aa5ff}.r273-frame-swatch{width:78px;height:78px;display:grid;place-items:center;border:2px solid #3b7698;box-sizing:border-box;overflow:hidden;background:#061421}.r273-frame-swatch img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;box-sizing:border-box}.r274-title-rule{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:8px 0 11px;padding:8px 10px;border-left:3px solid #f1bc2d;background:#0c1d2b}.r274-title-rule>b{font-size:8px;color:#d9ad32}.r274-title-rule>span{font-size:12px;font-weight:800}.r274-title-rule>small{grid-column:1/-1;color:#7892a7;font-size:8px}.r274-help-title-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r274-help-title{display:grid;gap:2px;border:1px solid #294860;background:#091a28;padding:7px 8px}.r274-help-title b{font-size:11px}.r274-help-title span,.r274-help-title small{font-size:9px;color:#8fa7b8}.r275-rank-dynamic .r273-cosmetic-copy>small{color:#75dbff}.r275-rank-dynamic::after{content:'RANK DINÂMICO';position:absolute;right:7px;top:6px;font-size:6px;letter-spacing:.08em;color:#82dcff;border:1px solid #2b688c;padding:2px 4px;background:#06121d}.r275-rank-dynamic.locked::after{content:'POSIÇÃO NÃO ATIVA'}.r275-rank-note{font-size:9px;color:#6fcfff;margin:5px 0 9px}
/* Portrait frames stay INSIDE the existing portrait dimensions. No pseudo element or scale enlargement. */
#profileAvatarSide[data-r273-frame-id],#profileAvatarTop[data-r273-frame-id]{box-sizing:border-box!important;outline:0!important;transform:none!important;border:2px solid #4baed7!important;box-shadow:inset 0 0 0 1px #f4c84d,inset 0 0 10px #38bdf855!important;border-radius:3px}
.r220-dev-portrait[data-r273-frame-id]{box-sizing:border-box!important;overflow:hidden!important;outline:0!important;transform:none!important;border-width:2px!important;box-shadow:inset 0 0 0 1px #f4c84d,inset 0 0 12px #38bdf855!important}.r220-dev-portrait[data-r273-frame-id] img{max-width:100%!important;max-height:100%!important;box-sizing:border-box!important}
[data-r273-frame-theme="launch-celebration"]{border-color:#f2b42c!important;box-shadow:inset 0 0 0 1px #62cfff,inset 0 0 12px #f0a92855!important}[data-r273-frame-theme="launch-vanguard"]{border-color:#5ec9ff!important;box-shadow:inset 0 0 0 1px #f5d15b,inset 0 0 12px #46c8ff66!important}[data-r273-frame-theme="first-arrival"]{border-color:#9fc2db!important;box-shadow:inset 0 0 0 1px #f5c74f,inset 0 0 10px #8adfff44!important}
#infoModal.development-mode #forgeHelpBtn{display:grid!important;place-items:center!important}
@media(max-width:900px){.r273-choice-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.r273-cosmetic-grid{grid-template-columns:1fr}.r273-cosmetic-card{grid-template-columns:106px minmax(0,1fr) 76px}}@media(max-width:620px){.r273-choice-roster{grid-template-columns:1fr}.r273-cosmetic-card{grid-template-columns:92px minmax(0,1fr)}.r273-cosmetic-card>button{grid-column:1/-1}.r274-help-title-list{grid-template-columns:1fr}}

/* R273 login calendar contract; detailed visual rules live in launch_timed_r260.css */
.r273-login-grid{display:grid}.r273-login-day{min-width:0}

/* R289 reward visual language: Bolsa + Títulos/Molduras */
.r289-choice-card>header{padding:12px 16px}
.r289-choice-heading{display:flex!important;align-items:center;gap:10px!important}
.r289-choice-heading>img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 4px 8px #0007)}
.r289-choice-heading>span{display:grid;gap:3px}
.r289-choice-summary{display:flex;gap:10px;align-items:center;margin:12px 18px;padding:9px 11px;border:1px solid #28506b;background:#091a28;border-radius:8px}
.r289-choice-summary>img{width:44px;height:44px;object-fit:contain;flex:0 0 auto}
.r289-choice-summary>p{margin:0!important;color:#a9c4d8;font-size:12px;line-height:1.45}
.r289-choice-card>.r289-choice-summary+ .r273-choice-roster{margin-top:0}
.r289-choice-card>p{display:none}
.r273-choice-character em{display:flex;align-items:center;gap:5px}
.r273-choice-character em img{width:20px!important;height:20px!important;object-fit:contain!important;image-rendering:auto!important}
.r289-cosmetic-type{position:absolute;left:7px;top:7px;z-index:3;display:flex;align-items:center;gap:3px;padding:2px 5px 2px 2px;border:1px solid #315b78;border-radius:999px;background:#06131ded;box-shadow:0 2px 8px #0008}
.r289-cosmetic-type img{width:20px;height:20px;object-fit:contain}
.r289-cosmetic-type i{font-style:normal;color:#bfe8ff;font:900 6px/1 Arial,sans-serif;letter-spacing:.07em}
.r289-cosmetics-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0 10px;padding:7px 9px;border:1px solid #284b65;background:#091925;border-radius:8px}
.r289-cosmetics-legend span{display:inline-flex;align-items:center;gap:4px;color:#c6dbe9;font-size:8px;font-weight:900;letter-spacing:.06em}
.r289-cosmetics-legend span img{width:25px;height:25px;object-fit:contain}
.r289-cosmetics-legend small{margin-left:auto;color:#7894a8;font-size:8px}
@media(max-width:620px){.r289-choice-summary{align-items:flex-start}.r289-cosmetics-legend small{width:100%;margin-left:0}.r289-cosmetic-type{position:relative;left:auto;top:auto;justify-self:start}}

/* R290: development modal should use a single header help button next to close */
#infoModal.development-mode #forgeHelpBtn{display:grid!important;place-items:center!important;position:absolute!important;right:43px!important;top:6px!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;border-radius:50%!important;border:1px solid #3b7da4!important;background:linear-gradient(180deg,#174b72,#0b2941)!important;color:#dff4ff!important;font-weight:900!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 0 16px rgba(59,125,164,.16)!important;padding:0!important}
#infoModal.development-mode #forgeHelpBtn:hover{border-color:#70c9f2!important;background:linear-gradient(180deg,#1c5c88,#0d3552)!important}
#infoModal.development-mode #forgeHelpBtn:active{transform:scale(.95)!important}
#infoModal.development-mode .modal-head{padding-right:84px!important}


/* R291 DEVELOPMENT GUIDE LAYOUT + HEADER ACTION ORDER */
#infoModal.development-mode .modal-head{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 8px 0 18px!important;gap:0!important}
#infoModal.development-mode #forgeHelpBtn{position:static!important;inset:auto!important;transform:none!important;margin:0 0 0 auto!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:1px solid #3b7da4!important;background:linear-gradient(180deg,#174b72,#0b2941)!important;color:#dff4ff!important;font-size:18px!important;font-weight:900!important;line-height:1!important;padding:0!important;box-shadow:0 0 16px rgba(59,125,164,.16)!important}
#infoModal.development-mode .modal-head>.x{position:static!important;inset:auto!important;transform:none!important;margin:0 0 0 6px!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;display:grid!important;place-items:center!important;padding:0!important}
#infoModal.development-mode #forgeHelpBtn:hover{border-color:#70c9f2!important;background:linear-gradient(180deg,#1c5c88,#0d3552)!important}
#infoModal.development-mode #forgeHelpBtn:active,#infoModal.development-mode .modal-head>.x:active{transform:scale(.95)!important}
.r291-development-help-card{width:min(860px,92vw)!important;max-height:min(720px,84dvh)!important;display:grid!important;grid-template-rows:52px minmax(0,1fr)!important;overflow:hidden!important;border-radius:12px!important;border:1px solid #3a82ad!important;background:linear-gradient(180deg,#0b1b2a,#07121d)!important;box-shadow:0 28px 90px #000e!important}
.r291-development-help-card .r171-help-head{height:52px!important;padding:0 14px 0 18px!important;background:linear-gradient(180deg,#123c61,#0b243a)!important;border-bottom:1px solid #36749a!important;color:#fff!important}
.r291-development-help-card .r171-help-head>div{display:grid;gap:2px}.r291-development-help-card .r171-help-head small{font-size:8px;letter-spacing:.14em;color:#73cff7}.r291-development-help-card .r171-help-head b{font-size:15px;letter-spacing:.06em}.r291-development-help-card .r171-help-head button{width:30px;height:30px;border-radius:5px;background:#0a1c2b;color:#fff;border:1px solid #4b6c83;cursor:pointer}
.r291-development-help-card .r171-help-body{min-height:0!important;overflow:auto!important;padding:16px 18px 18px!important;scrollbar-width:thin;scrollbar-color:#2f7298 #07111b;font:12px/1.45 system-ui!important}
.r291-dev-guide{display:grid;gap:14px;color:#dce9f3}.r291-dev-guide-intro{padding:14px 15px;border:1px solid #2b5874;border-radius:9px;background:linear-gradient(180deg,#102a40,#0a1b29)}.r291-dev-guide-intro small{color:#62c9f7;font-size:8px;letter-spacing:.14em}.r291-dev-guide-intro h3{margin:4px 0 5px!important;color:#fff!important;font-size:22px}.r291-dev-guide-intro p{margin:0;color:#a9bfce}
.r291-dev-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.r291-dev-guide-grid article{min-width:0;padding:11px 12px;border:1px solid #294d65;border-radius:8px;background:#0a1925}.r291-dev-guide-grid article>b{display:block;color:#f1ca59;font-size:11px;letter-spacing:.04em}.r291-dev-guide-grid article p{margin:6px 0 8px;color:#c0d0dc;font-size:11px;line-height:1.45}.r291-dev-guide-grid article span{display:block;color:#6dbfe6;font-size:9px;font-weight:800}
.r291-dev-guide-flow{padding:12px 13px;border:1px solid #294d65;border-radius:8px;background:#081722}.r291-dev-guide-flow h4{margin:0 0 9px;color:#fff;font-size:11px;letter-spacing:.08em}.r291-dev-guide-flow>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:start;padding:7px 0;border-top:1px solid #1d394c}.r291-dev-guide-flow>div:first-of-type{border-top:0}.r291-dev-guide-flow>div>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #397da4;background:#0d2f48;color:#9ce0ff;font-weight:900}.r291-dev-guide-flow p{margin:0}.r291-dev-guide-flow p b{display:block;color:#eef7fd;font-size:11px}.r291-dev-guide-flow p small{display:block;margin-top:2px;color:#8da9bb;font-size:10px;line-height:1.4}
.r291-title-catalog{border:1px solid #35536a;border-radius:8px;background:#091722;overflow:hidden}.r291-title-catalog summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:linear-gradient(180deg,#102539,#0b1a28)}.r291-title-catalog summary::-webkit-details-marker{display:none}.r291-title-catalog summary span{color:#7fcdf1;font-size:9px;letter-spacing:.12em}.r291-title-catalog summary b{color:#f0d06b;font-size:10px}.r291-title-catalog[open] summary{border-bottom:1px solid #31516a}.r291-title-catalog .r274-help-title-list{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r291-title-catalog .r274-help-title{min-width:0;border-radius:6px}.r291-title-catalog .r274-help-title b{font-size:10px}.r291-title-catalog .r274-help-title span{font-size:8px;line-height:1.35}.r291-title-catalog .r274-help-title small{font-size:7px}
.r291-dev-guide-note{padding:10px 12px;border-left:3px solid #e6b63f;background:#0c1c29}.r291-dev-guide-note b{color:#e8c254;font-size:9px;letter-spacing:.1em}.r291-dev-guide-note p{margin:4px 0 0;color:#9fb5c5;font-size:10px;line-height:1.45}
@media(max-width:720px){.r291-development-help-card{width:min(94vw,680px)!important;max-height:86dvh!important}.r291-dev-guide-grid{grid-template-columns:1fr}.r291-title-catalog .r274-help-title-list{grid-template-columns:1fr}}
