/* In-game attribute screen: the paused world remains beneath the status overlay. */
#progression-panel{padding:18px max(30px,var(--safe-right)) 12px max(30px,var(--safe-left));background:linear-gradient(105deg,rgba(12,14,12,.98),rgba(17,20,17,.93) 48%,rgba(9,13,10,.90)),radial-gradient(ellipse at 80% 15%,#a3926233,transparent 60%);overflow:hidden;align-items:stretch;font-family:Georgia,'Times New Roman',serif;color:#d5cfbb}
#progression-panel .progression-panel{width:min(1120px,100%);max-width:none;height:100%;max-height:none;padding:0;overflow:hidden;display:grid;grid-template-rows:48px minmax(0,1fr) 40px;margin:auto;background:none;border:0;box-shadow:none;text-align:left}
.progression-header{display:flex;align-items:center;gap:18px;border-bottom:1px solid #9d906447;padding-bottom:8px}.progression-header:before{content:'◇';font-size:22px;color:#c3b37d}.progression-header h2{font:normal 29px Georgia,serif!important;letter-spacing:.04em!important;color:#e1d8b6;margin:0!important;text-shadow:0 2px 3px #000}
#progression-content{display:grid;grid-template-columns:minmax(215px,37%) minmax(0,1fr);min-height:0;gap:28px;padding:14px 0 10px}.attribute-list{display:flex;flex-direction:column;justify-content:center;min-height:0;padding-right:18px;border-right:1px solid #9d906438}
#progression-panel .attribute-row{appearance:none;-webkit-appearance:none;display:grid;grid-template-columns:22px 1fr 30px;align-items:center;gap:8px;width:100%;min-height:29px;flex:1;max-height:43px;margin:0;padding:4px 10px;border:0;border-radius:0;box-shadow:none;background:none;color:#b9b8a8;font:normal 16px Georgia,serif;text-align:left;touch-action:manipulation;cursor:pointer;transition:color .12s,background .12s}.attribute-row .attribute-value{text-align:right;font-variant-numeric:tabular-nums}.attribute-glyph{font-size:12px;color:#7d805e}.attribute-row.selected{color:#f0e4b8!important;background:linear-gradient(90deg,#a99d5a2c,#b7a66612 85%,transparent)!important;outline:0;border-top:1px solid #a99d5a55!important;border-bottom:1px solid #a99d5a55!important}.attribute-row.selected .attribute-glyph{color:#d6c17e}.attribute-row:focus-visible{outline:1px solid #d2c088!important;outline-offset:2px}
.attribute-right{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 105px;grid-template-rows:auto minmax(0,1fr);column-gap:14px;min-width:0;min-height:0}.attribute-identity{grid-column:1;grid-row:1;padding-bottom:10px;border-bottom:1px solid #9d906438}.attribute-kicker{display:block;font:10px Georgia,serif;letter-spacing:.16em;color:#9c997f;text-transform:uppercase}.attribute-identity h3{font:normal 20px Georgia,serif;margin:3px 0 7px;color:#d2c9a8}.attribute-vitals{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:0;font-size:12px}.attribute-vitals dt{color:#aaa998}.attribute-vitals dd{margin:0;color:#dfdac6;font-variant-numeric:tabular-nums}.attribute-portrait{grid-column:2;grid-row:1/3;align-self:end;width:100%;height:auto;max-height:100%;object-fit:contain;filter:drop-shadow(0 5px 8px #000);opacity:.85;pointer-events:none}.attribute-detail{grid-column:1;grid-row:2;padding-top:13px;min-width:0;overflow:auto;scrollbar-width:thin;touch-action:pan-y}.attribute-name{font:normal 24px Georgia,serif;margin:3px 0 8px;color:#dfd3a6}.attribute-level,.attribute-effect{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#bab8a6}.attribute-level strong,.attribute-effect strong{font-weight:normal;color:#e1d8bc}.attribute-description{font:13px/1.45 Georgia,serif!important;color:#aead9f!important;margin:8px 0 11px!important;max-width:32em}.attribute-effect{border-top:1px solid #9d90642b;padding-top:8px}.attribute-experience{display:flex;justify-content:space-between;gap:8px;margin-top:12px;font:10px/1.4 Georgia,serif;color:#b5ae8b}.attribute-meter{height:3px;margin-top:6px;background:#a09c7940;box-shadow:0 0 0 1px #000}.attribute-meter>span{display:block;height:100%;background:#b6a46c;box-shadow:0 0 5px #ae97454a}
.progression-footer{display:flex;align-items:center;gap:16px;border-top:1px solid #9d906447;padding-top:4px;color:#8d907c;font:11px Georgia,serif}.progression-footer span{margin-left:auto}.progression-footer button{appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:none;color:#ded4b1;min-width:88px;min-height:36px;text-align:left;font:14px Georgia,serif;cursor:pointer}.progression-footer button:before{content:'◁';display:inline-block;margin-right:10px;color:#b8ad7d}.progression-footer button:focus-visible{outline:1px solid #d2c088}
@media(max-width:720px){#progression-panel{padding:12px max(20px,var(--safe-right)) 8px max(20px,var(--safe-left))}#progression-panel .progression-panel{grid-template-rows:39px minmax(0,1fr) 36px}#progression-content{grid-template-columns:minmax(190px,40%) minmax(0,1fr);gap:18px;padding-top:10px}.attribute-list{padding-right:12px}#progression-panel .attribute-row{font-size:14px;min-height:28px;padding:3px 7px;grid-template-columns:16px 1fr 25px;gap:5px}.attribute-right{grid-template-columns:minmax(0,1fr) 65px;gap:9px}.attribute-identity h3{font-size:17px}.attribute-vitals{font-size:11px;gap:3px 8px}.attribute-name{font-size:21px}.attribute-description{font-size:12px!important;margin:6px 0 8px!important}.attribute-detail{padding-top:9px}.attribute-level,.attribute-effect{font-size:11px}.attribute-experience{font-size:9px;gap:4px;margin-top:8px}.progression-footer{font-size:10px}.progression-footer span{max-width:65%;text-align:right}.attribute-kicker{font-size:9px}.progression-header h2{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){#progression-panel .attribute-row{transition:none}}

/* Keep the selected effect and experience visible at phone landscape heights. */
.attribute-right{grid-template-rows:82px minmax(0,1fr)}.attribute-identity{padding-bottom:7px}.attribute-identity h3{margin:0 0 6px}.attribute-titleline{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.attribute-titleline .attribute-name{margin:0;color:#dfd3a6}.attribute-current-level{font-size:12px;color:#c7bea0;white-space:nowrap}.attribute-detail{padding-top:10px}.attribute-description{font-size:12px!important;line-height:1.4!important;margin:6px 0 8px!important}.attribute-effect{padding-top:6px;font-size:12px}.attribute-experience{margin-top:8px}.attribute-meter{margin-top:5px}
@media(max-width:720px){.attribute-right{grid-template-rows:76px minmax(0,1fr)}.attribute-current-level{font-size:11px}.attribute-detail{padding-top:8px}.attribute-description{font-size:12px!important;line-height:1.35!important}.attribute-effect{font-size:11px}}
