/* All painted sources are separate: frame, leather, dark material, scene and icons. */
.r2-updates,.r2-update-report{--u-panel:url('assets/round2-crafting/frames/panel.png');--u-card:url('assets/round2-crafting/frames/city-card.png');--u-button:url('assets/round2-crafting/frames/button-normal.png');--u-dark:url('assets/pc-v124/ui/panel-dark.webp');--u-leather:url('assets/round2-crafting/73-craft-leather-tile-v1.png');color:#f8e5b6}
html body.pc-redesign[data-view=updates] .main-content{min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column}
html body.pc-redesign[data-view=updates] .view-content{height:100%!important;min-height:0!important;flex:1;overflow:hidden!important;padding-bottom:0!important}
html body.pc-redesign .r2-updates{height:100%;min-height:0;min-width:0;display:grid!important;grid-template-columns:minmax(240px,.36fr) minmax(0,1fr)!important;grid-template-rows:90px minmax(0,1fr)!important;gap:10px;padding:10px;box-sizing:border-box;background:#101411 var(--u-dark) center/600px!important;overflow:hidden;border:1px solid transparent!important;border-image:var(--u-panel) 90 / 12px / 0 stretch!important}
html body .r2-update-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:12px 18px;box-sizing:border-box;border:1px solid transparent!important;border-image:var(--u-panel) 90 / 10px / 0 stretch!important;background:linear-gradient(90deg,#110e09d9,#110e0970),url('assets/round2-updates/01-chronicle-study-v1.png') center 42%/cover!important}
.r2-update-heading h1,.r2-update-heading h2{font:clamp(22px,2.3vw,38px)/1.1 Georgia,serif!important;color:#ffe4a0;margin:3px 0!important;text-shadow:0 2px 4px #000}
.r2-update-heading small{color:#ecd6a5;font:12px/1.2 Georgia,serif}
html body .r2-updates :is(.r2-update-versions,.r2-update-detail),html body .r2-update-report{box-sizing:border-box;border:1px solid transparent!important;border-image:var(--u-panel) 90 / 12px / 0 stretch!important;background:#101713 var(--u-dark) center/600px!important;min-width:0;min-height:0;padding:14px!important;overflow:hidden!important}
html body.pc-redesign .r2-update-versions{display:flex!important;flex-direction:column!important;gap:9px!important;flex-wrap:nowrap!important}
.r2-update-versions h2{font:25px Georgia!important;color:#ffe0a1;margin:0 4px 4px!important}
.r2-update-version-list{display:grid;grid-auto-rows:minmax(0,1fr);gap:8px;flex:1;min-height:0}
html body .r2-updates button,html body .r2-update-report button{position:relative;box-sizing:border-box;border:1px solid transparent!important;border-image:var(--u-button) 80 110 / 11px 15.125px / 0 stretch!important;background:#2d1c10 var(--u-leather) center/550px!important;border-radius:0!important;color:#fff0c2!important;box-shadow:none!important;text-shadow:0 1px 2px #000;min-width:0;min-height:42px!important;padding:9px 15px!important;font:15px/1.2 Georgia!important;white-space:normal!important;transform:none!important}
html body :is(.r2-updates,.r2-update-report) button:is(:hover,:focus-visible,[aria-pressed=true],.primary){border-image-source:url('assets/round2-crafting/frames/button-hover.png')!important;background-color:#583914!important}
html body :is(.r2-updates,.r2-update-report) button:active{border-image-source:url('assets/round2-crafting/frames/button-pressed.png')!important}
html body :is(.r2-updates,.r2-update-report) button:disabled{border-image-source:url('assets/round2-crafting/frames/button-disabled.png')!important;color:#bcb29c!important;filter:none;opacity:.7}
html body :is(.r2-updates,.r2-update-report) button:focus-visible{outline:2px solid #ffe9ad;outline-offset:-4px}
html body.pc-redesign .r2-update-version{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center;gap:9px;text-align:left;min-height:0!important;padding:10px!important;background:#101915 var(--u-dark) center/600px!important;border-image:var(--u-card) 120 / 10px / 0 stretch!important}
html body.pc-redesign .r2-update-version.active{background:linear-gradient(#56310c80,#56310c80),var(--u-leather) center/550px!important;border-image-source:url('assets/round2-crafting/frames/button-hover.png')!important}
.r2-update-scroll{width:44px;height:50px;object-fit:contain;flex:none}
html body.pc-redesign .r2-update-version strong{display:block;font:21px Georgia!important;color:#ffe4a2}
html body.pc-redesign .r2-update-version>span>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:14px/1.25 Georgia!important;margin-top:3px}
.r2-update-current{display:inline-block;margin-left:10px;font:10px Georgia;color:#ffe6a0;vertical-align:middle}
.r2-update-study{height:80px;flex:none;background:url('assets/round2-updates/01-chronicle-study-v1.png') center 70%/cover;border:1px solid transparent;border-image:var(--u-card) 120 / 8px / 0 stretch}
.r2-update-versions footer,.r2-update-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-width:0}
.r2-update-versions footer span,.r2-update-pager>span{font:16px Georgia;white-space:nowrap;color:#f6deb2}
html body.pc-redesign .r2-update-detail{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px}
.r2-update-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #a47b3a}
html body.pc-redesign .r2-update-detail h2{font:clamp(20px,1.8vw,31px)/1.12 Georgia!important;margin:4px 0 0!important;color:#ffe7ac}
.r2-update-version-number{font:16px Georgia;color:#cfad68}
.r2-update-detail time{font:14px Georgia;color:#ddc9a7;white-space:nowrap}
.r2-update-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.4fr);gap:12px;min-height:0;min-width:0}
html body :is(.r2-updates,.r2-update-report) .r2-update-changes{display:grid;grid-auto-rows:minmax(0,1fr);gap:12px;list-style:none!important;margin:0!important;padding:0!important;min-height:0;min-width:0}
html body :is(.r2-updates,.r2-update-report) .r2-update-change{display:flex;align-items:center;gap:15px;min-width:0;min-height:0;box-sizing:border-box;margin:0!important;padding:14px!important;border:1px solid transparent!important;border-image:var(--u-card) 120 / 10px / 0 stretch!important;background:#111916 var(--u-dark) center/600px!important;font:clamp(15px,1.05vw,20px)/1.4 Georgia!important}
.r2-update-change p{margin:0!important;font:inherit!important;font-weight:400!important;color:#f2e5ca!important;overflow-wrap:anywhere}
.r2-change-icon{width:clamp(30px,4vw,62px);height:clamp(30px,4vw,62px);object-fit:contain;flex:none}
.r2-update-medallion{width:clamp(40px,5.5vw,84px);height:clamp(40px,5.5vw,84px);flex:none;display:grid;place-items:center;background:url('assets/round2-updates/icon-medallion.svg') center/contain no-repeat}
.r2-update-medallion .r2-change-icon{width:65%;height:65%;object-fit:contain}
.r2-update-feature{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:10px;min-height:0;min-width:0;box-sizing:border-box;background:radial-gradient(ellipse,#8b632828,#0c110e);border:1px solid transparent;border-image:var(--u-card) 120 / 10px / 0 stretch}
.r2-update-feature img{width:100%;height:0;min-height:0;flex:1;object-fit:contain}
.r2-update-feature figcaption{font:14px Georgia;color:#d6bb86;text-align:center;margin:10px 0}
.r2-update-read{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border-top:1px solid #a47b3a;padding-top:10px}
.r2-update-read>span{color:#a9dba4;font:15px Georgia;min-width:0}
.r2-update-read small{grid-column:1/-1;text-align:center;color:#c6b79a;font:12px Georgia}
html body .r2-update-mobile-tabs{display:none}
html body dialog.r2-update-report[open]{display:flex;flex-direction:column;gap:12px;width:min(780px,calc(100vw - 24px))!important;height:min(670px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;max-width:calc(100vw - 24px)!important;margin:auto;padding:18px!important;color:#f8e5b6}
.r2-update-report>.r2-update-heading{justify-content:flex-start;flex:none}
.r2-update-report>h3{font:22px/1.2 Georgia!important;color:#ffe7ac;margin:0!important}
html body .r2-update-report .update-report-body{flex:1;min-height:0;overflow:hidden!important;padding:0!important}
.r2-update-report .r2-update-changes{height:100%}
html body .r2-update-report .actions{display:flex;gap:10px;flex:none}
.r2-update-report .actions button{flex:1}
@media(min-width:1001px) and (max-width:1300px){.r2-update-content{grid-template-columns:minmax(0,1fr)}.r2-update-feature{display:none}}
html body .r2-update-heading{background-size:auto,min(100%,1536px) auto!important;background-repeat:no-repeat!important;background-position:center,right 42%!important;background-color:#17130d!important}
@media(max-width:1000px){
 html body.pc-redesign[data-layout=sidebar][data-view=updates] #app{height:100dvh!important;max-height:100dvh!important;min-height:0!important;grid-template-rows:46px minmax(0,1fr)!important;overflow:hidden!important}
 html body.pc-redesign[data-layout=sidebar][data-view=updates] .main-content{height:100%!important;max-height:100%!important;min-height:0!important;padding:4px 7px!important}
 html body.pc-redesign[data-layout=sidebar][data-view=updates] .view-content{display:flex!important;flex-direction:column!important;max-height:100%!important;padding:0!important}
 html body.pc-redesign[data-view=updates] .r2-updates{flex:1}
 html body.pc-redesign[data-view=updates] .layout-footer{display:none!important}
 html body.pc-redesign .r2-updates{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:68px 42px minmax(0,1fr)!important;padding:6px;gap:6px}
 html body .r2-update-heading{padding:8px 12px;gap:8px}
 .r2-update-heading h1{font-size:25px!important}
 html body .r2-update-mobile-tabs{display:flex;gap:8px}
 .r2-update-mobile-tabs button{flex:1}
 html body.pc-redesign .r2-updates[data-update-pane=detail]>.r2-update-versions,html body.pc-redesign .r2-updates[data-update-pane=versions]>.r2-update-detail{display:none!important}
 html body.pc-redesign .r2-update-versions{grid-column:1;grid-row:3}
 html body.pc-redesign .r2-update-detail{grid-column:1;grid-row:3;padding:10px!important;gap:8px}
 .r2-update-content{grid-template-columns:minmax(0,1fr)}
 .r2-update-feature{display:none}
 .r2-update-detail>header{gap:6px;padding-bottom:6px}
 .r2-update-detail time{font-size:12px}
 html body.pc-redesign .r2-update-detail h2{font-size:20px!important}
 html body :is(.r2-updates,.r2-update-report) .r2-update-change{font-size:15px!important;padding:12px!important;gap:10px}
 .r2-update-study{height:100px}
 .r2-update-read{padding-top:6px;gap:5px}
}
@media(max-width:450px){
 html body.pc-redesign .r2-updates{grid-template-rows:64px 40px minmax(0,1fr)!important}
 .r2-update-heading h1{font-size:20px!important}
 .r2-update-heading small{font-size:10px}
 html body .r2-update-heading button{font-size:12px!important;padding:8px 12px!important;min-height:38px!important;max-width:105px}
 .r2-update-detail>header{align-items:flex-start;flex-direction:column;gap:3px}
 html body.pc-redesign .r2-update-detail h2{font-size:18px!important}
 .r2-update-version-number{font-size:12px}
 .r2-update-read small{font-size:10px}
 html body :is(.r2-updates,.r2-update-report) button{font-size:13px!important;padding:8px 11px!important;min-height:38px!important}
 html body :is(.r2-updates,.r2-update-report) .r2-update-change{font-size:13px!important;gap:8px;padding:10px!important}
 html body :is(.r2-updates,.r2-update-report) .r2-update-changes{gap:7px}
 .r2-update-study{height:65px}
 .r2-change-icon{width:28px;height:28px}
 html body dialog.r2-update-report[open]{padding:12px!important;gap:8px}
 .r2-update-report>h3{font-size:18px!important}
}
@media(max-height:680px){
 html body.pc-redesign .r2-updates{grid-template-rows:58px minmax(0,1fr)!important;gap:6px;padding:5px}
 .r2-update-study{display:none}
 html body.pc-redesign .r2-update-detail{gap:6px;padding:10px!important}
 html body.pc-redesign .r2-update-detail h2{font-size:20px!important}
 html body .r2-update-change{font-size:14px!important;padding:10px!important}
 .r2-update-read small{display:none}
 html body dialog.r2-update-report[open]{gap:6px;padding:12px!important}
 .r2-update-report>h3{font-size:18px!important}
 .r2-update-report>.r2-update-heading{padding:6px 12px}
 .r2-update-report .r2-update-heading h2{font-size:22px!important}
}
@media(max-width:1000px) and (max-height:680px){
 html body.pc-redesign .r2-updates{grid-template-rows:48px 34px minmax(0,1fr)!important}
 html body .r2-updates .r2-update-mobile-tabs button{min-height:32px!important;padding:5px!important}
 .r2-update-heading h1{font-size:20px!important}
 .r2-updates .r2-update-heading small{display:none}
 html body.pc-redesign .r2-update-detail{grid-template-rows:auto minmax(0,1fr) 34px 38px;padding:8px!important;gap:4px}
 html body .r2-updates button{min-height:32px!important;padding:5px 10px!important;font-size:12px!important}
 .r2-update-detail>header{flex-direction:row;align-items:center;padding-bottom:3px}
 html body.pc-redesign .r2-update-detail h2{font-size:15px!important;margin:0!important}
 .r2-update-version-number{font-size:11px}
 .r2-update-read{padding-top:3px}
 html body :is(.r2-updates,.r2-update-report) .r2-update-change{font-size:12px!important;padding:8px!important;gap:7px}
}
