.inferno .profile-layout { align-items: flex-start; }
.inferno .main > .profile-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; border: 0; background: none; }
.profile-hero, .profile-panel { border: 1px solid #3b3026; background: #191714; }
.profile-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .43fr); align-items: center; min-width: 0; overflow: hidden; }
.profile-hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(92deg,#1b1714 24%,#271b14db 56%,#25171066), url('/layout/images/inferno/fire-demon-hero-v1.webp') 75% 39% / cover; }
.profile-heading { padding: clamp(20px, 4vw, 48px) 0 clamp(22px, 3vw, 38px) clamp(20px, 4vw, 42px); min-width: 0; }
.inferno .profile-hero h1 { color: #f3dbb6; font-size: clamp(34px, 4vw, 66px); line-height: 1.02; margin: 0 0 13px; overflow-wrap: anywhere; }
.profile-kicker { color: #e7a66d; margin: 0 0 10px; font-size: 14px; }
.profile-kicker span, .journal-meta span { color: #a77043; margin: 0 3px; }
.profile-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; color: #e2c7a6; }
.profile-tagline { color: #d5b897; margin: 9px 0 0; overflow-wrap: anywhere; }
.profile-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; color: #df9b88; font-size: 12px; }
.profile-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.profile-status.is-online { color: #a6d6a6; }
.profile-flag { object-fit: contain; }
.profile-portrait { justify-self: center; width: clamp(82px, 11vw, 142px); aspect-ratio: 1; margin: 16px; display: grid; place-items: center; position: relative; background: radial-gradient(circle, #ac5b2c55, #1d1512 74%); border: 1px solid #88522f; box-shadow: inset 0 0 0 6px #21171188, 0 8px 36px #0006; }
.profile-portrait::before { position: absolute; inset: 8px; border: 1px solid #ad6c3f55; content: ''; }
.profile-portrait img { position: relative; width: 67%; max-height: 79%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 5px #000b); }
.profile-portrait > svg { width: 42%; height: 42%; color: #d59458; }
.profile-metrics { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; background: #15120fe8; border-top: 1px solid #5b3b28; }
.profile-metrics > div { padding: 14px clamp(11px, 2.4vw, 27px); }
.profile-metrics > div + div { border-left: 1px solid #3b3026; }
.profile-metrics dt, .profile-skills dt, .profile-dates dt, .profile-muted { color: #b7a690; font-size: 13px; font-weight: 400; }
.profile-metrics dd { color: #f1d6ae; font-size: clamp(17px,2.5vw,28px); margin: 1px 0 0; line-height: 1.15; font-variant-numeric: tabular-nums; }
.profile-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px solid #3b3026; padding: 0 5px 6px; }
.profile-nav a { display: block; color: #e4c5a0; font-size: 14px; padding: 6px 8px; }
.profile-nav a:hover, .profile-link:hover { color: #ffe2b8; }
.profile-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.profile-panels:has(> #equipment) { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
.profile-panel { padding: clamp(15px, 2.15vw, 25px); min-width: 0; scroll-margin-top: 18px; }
.profile-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.inferno .profile-panel-title h2 { font-size: clamp(21px, 2.1vw, 29px); color: #e9d5b8; margin: 0; }
.profile-panel-title > svg { width: 20px; height: 20px; flex: none; color: #bc8a5d; }
.profile-panel-title > span, .profile-quantity { color: #e2a573; font-size: 12px; white-space: nowrap; }
.profile-gear, .profile-collection, .profile-pets, .journal-grid { margin: 0; padding: 0; list-style: none; }
.profile-gear { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 7px; }
.profile-gear li { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 48px; padding: 5px 7px; background: #1d1a16; border: 1px solid #302820; }
.profile-gear li.is-equipped { border-color: #60452c; background: linear-gradient(135deg,#33271c,#211b15); }
.profile-gear-icon, .profile-collection-icon { flex: none; display: grid; place-items: center; width: 29px; height: 29px; color: #bd8c60; background: #30241b; border: 1px solid #473424; }
.profile-gear-icon svg, .profile-collection-icon svg { width: 16px; height: 16px; }
.profile-gear-icon img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.profile-gear li:not(.is-equipped) .profile-gear-icon { color: #a69888; background: #241e18; border-color: #392e24; }
.profile-gear strong, .profile-collection strong, .profile-active-pet strong { display: block; font-weight: 550; color: #ead7be; overflow-wrap: anywhere; }
.profile-gear strong, .profile-gear small { font-size: 12px; line-height: 1.24; }
.profile-gear li:not(.is-equipped) strong { color: #ad9d8b; font-weight: 400; }
.profile-gear small, .profile-collection small, .profile-active-pet small { display: block; color: #b7a690; }
.profile-quantity { margin-left: auto; }
.profile-skills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 0 0 14px; }
.profile-skills > div { padding: 8px 10px; border: 1px solid #3b3026; background: #211b16; }
.profile-skills dd { font-size: 21px; color: #edd2aa; margin: 1px 0 0; line-height: 1.05; }
.profile-dates { border-top: 1px solid #3b3026; margin: 0; padding-top: 9px; }
.profile-dates div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.profile-dates dd { text-align: right; font-size: 12px; color: #e0cab0; margin: 0; }
.profile-comment { color: #dbc7ac; margin: 10px 0 0; overflow-wrap: anywhere; }
.profile-progress { display: block; width: 100%; height: 6px; border: 0; background: #38291e; accent-color: #d89557; margin: 0 0 14px; }
.profile-progress::-webkit-progress-bar { background: #38291e; }
.profile-progress::-webkit-progress-value { background: #d89557; }
.profile-active-pet { display: flex; align-items: center; gap: 11px; padding: 9px; margin-bottom: 10px; border: 1px solid #563a27; background: #241b14; }
.profile-active-pet .profile-collection-icon { width: 49px; height: 49px; }
.profile-active-pet img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.profile-active-pet p { font-size: 12px; color: #d2ae87; margin: 2px 0 0; }
.profile-pets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.profile-pets li { padding: 4px 8px; border: 1px solid #4a3829; color: #e0c5a3; font-size: 12px; }
.profile-collection li { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #382d23; padding: 8px 0; }
.profile-collection strong { font-size: 14px; }
.profile-collection small, .profile-collection time { font-size: 12px; color: #b7a690; }
.profile-deaths time { margin-left: auto; text-align: right; }
.profile-more { margin: 9px 0; color: #e2bf96; font-size: 13px; }
.profile-more summary { cursor: pointer; width: fit-content; }
.profile-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #e0ac79; margin-top: 12px; }
.profile-link svg { width: 15px; height: 15px; }
.profile-history { display: grid; gap: 16px; }
.profile-characters li > :last-child { margin-left: auto; text-align: right; }
.profile-empty { color: #bfab93; margin: 0; padding: 10px 0; }
.profile-empty svg { width: 20px; height: 20px; margin-right: 5px; vertical-align: middle; }
.profile-empty p { display: inline; }
.profile-privacy, .journal-search { display: flex; align-items: end; flex-wrap: wrap; gap: 6px 9px; color: #d0b695; margin: 0 0 12px; }
.profile-privacy { align-items: center; font-size: 12px; }
.profile-privacy select, .journal-search select, .journal-search input { color: #eed5b5; background: #201911; border: 1px solid #785335; border-radius: 0; padding: 6px 8px; }
.profile-privacy button, .journal-search button { color: #fff0dc; background: #784323; border: 1px solid #ac7047; padding: 6px 11px; }
.profile-content a:focus-visible, .profile-content button:focus-visible, .profile-content summary:focus-visible, .profile-content select:focus-visible, .profile-content input:focus-visible { outline: 2px solid #f6b777; outline-offset: 3px; }
.journal-hero .profile-heading > p { color: #d9c1a4; max-width: 490px; margin: 0; }
.journal-search label { display: grid; gap: 4px; font-size: 13px; }
.journal-search label:first-child { flex: 1 1 140px; min-width: 0; }
.journal-search input { min-width: 0; }
.journal-search a { padding: 6px; }
.journal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.journal-grid li { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #423125; background: #221b15; padding: 12px; }
.inferno .journal-grid h3 { font-size: 19px; color: #efd7b5; margin: 2px 0 5px; }
.journal-grid p { font-size: 13px; color: #d0bda5; margin: 0; }
.journal-meta { color: #e4a76d; font-size: 11px; }
@media (max-width: 980px) { .inferno .main.profile-layout { display: grid; grid-template-columns: minmax(0,1fr); } .inferno .main.profile-layout > .profile-content, .inferno .main.profile-layout > .sidebar-section { width: 100%; } .inferno .profile-layout > .sidebar-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .profile-panels, .profile-panels:has(> #equipment), .journal-grid, .inferno .profile-layout > .sidebar-section { grid-template-columns: minmax(0,1fr); } .profile-hero { grid-template-columns: minmax(0,1fr) 100px; } .profile-portrait { margin: 9px; } .profile-metrics dt { font-size: 11px; } .profile-nav { gap: 1px 5px; } .profile-nav a { padding: 6px; font-size: 13px; } .profile-characters li { flex-wrap: wrap; } .profile-characters li > :last-child { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .profile-layout *, .profile-layout *::before { scroll-behavior: auto !important; } }
