/* World Yggdrasil Online / JokerSama — ranking, rewards and scroll regressions, 2.5.0. */
@layer wyo-tone {
html.cr-document,html.cr-document body.cr-theme,html.cr-document body.cr-theme *{scrollbar-color:#829e96 #203d48!important}
html.cr-document body.cr-theme :is(.wyc-modal-card,.wyc-db-preview,.cs-item-modal-card,.cs-is-card-bubble,.wyo-info-dialog-body){scrollbar-color:#78978c #dbe4db!important;scrollbar-width:thin!important;scrollbar-gutter:stable!important}
html.cr-document::-webkit-scrollbar,html.cr-document body.cr-theme::-webkit-scrollbar,html.cr-document body.cr-theme *::-webkit-scrollbar{width:8px!important;height:8px!important}
html.cr-document::-webkit-scrollbar-track,html.cr-document body.cr-theme::-webkit-scrollbar-track,html.cr-document body.cr-theme *::-webkit-scrollbar-track{background:#203d48!important;border:0!important;box-shadow:none!important}
html.cr-document::-webkit-scrollbar-thumb,html.cr-document body.cr-theme::-webkit-scrollbar-thumb,html.cr-document body.cr-theme *::-webkit-scrollbar-thumb{background:#829e96!important;border:2px solid #203d48!important;border-radius:8px!important;box-shadow:none!important;min-height:36px!important}
html.cr-document::-webkit-scrollbar-button,html.cr-document body.cr-theme::-webkit-scrollbar-button,html.cr-document body.cr-theme *::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important;background:none!important}
html.cr-document body.cr-theme :is(.wyc-modal-card,.wyc-db-preview,.cs-item-modal-card,.wyo-info-dialog-body)::-webkit-scrollbar-track{background:#dbe4db!important}
html.cr-document body.cr-theme :is(.wyc-modal-card,.wyc-db-preview,.cs-item-modal-card,.wyo-info-dialog-body)::-webkit-scrollbar-thumb{background:#78978c!important;border-color:#dbe4db!important}
/* A long item description uses the page/modal scroll, never a second scroll inside it. */
html.cr-document body.cr-theme :is(.wyo-description,.wyo-effect-lines,.wyo-selected-description,.wyo-sell-effects,.wyc-db-effect-body){max-height:none!important;height:auto!important;overflow:visible!important;overflow-y:visible!important;scrollbar-gutter:auto!important}
html.cr-document body.cr-theme .wyc-db-card{overflow:hidden!important}
html.cr-document body.cr-theme .wyc-db-card>.wyc-db-preview{max-height:calc(88dvh - 2px)!important;overflow:auto!important;padding-right:10px!important}
html.cr-document body.cr-theme .wyc-db-card>.wyc-close{right:18px!important;top:12px!important;min-width:36px!important;min-height:36px!important}
html.cr-document body.cr-theme .wyc-db-topbar{padding-right:56px!important}
/* One real ranked entry remains one entry, presented without a vacant half-panel. */
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1{width:100%!important;max-width:none!important;margin:18px 0 0!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1 .wyo-ranking-podium-card{grid-template-columns:36px 46px minmax(160px,1fr) minmax(300px,.9fr)!important;grid-template-rows:auto!important;align-items:center!important;padding:22px!important;gap:18px!important;background:linear-gradient(105deg,#183d4a,#2c5058)!important;border:1px solid #718f86!important;border-top:2px solid #bd9d62!important;border-radius:7px!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1 .wyo-ranking-podium-stats{grid-column:4!important;grid-row:1!important;padding:0 0 0 20px!important;border-top:0!important;border-left:1px solid #819a8d!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium-card .wyo-ranking-podium-copy h4{color:#f1e4c6!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium-stats>div{background:#365861!important;border:1px solid #6e8d84!important;border-radius:5px!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium-stats span{color:#e0e8db!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-content>p{margin:22px 0 0!important;padding:24px!important;background:#e8ebdf!important;border:1px solid #aabdac!important;border-left:3px solid #b49a61!important;border-radius:6px!important;color:#3b5a62!important;font:400 14px/1.8 var(--cr-body,Arial,sans-serif)!important}
html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-content>p a{display:inline-block!important;margin-left:5px!important;color:#214c5a!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:3px!important}
/* Grouped items: collection artwork has an appropriate scale and no tall vacant banner. */
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-card{display:flex!important;flex-direction:column!important;background:#ebece1!important;border:1px solid #aebfaf!important;border-radius:7px!important;overflow:hidden!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art{display:flex!important;align-items:center!important;justify-content:center!important;height:116px!important;min-height:0!important;padding:12px!important;background:radial-gradient(ellipse at center,#edf0e4,#cedcd2)!important;border-bottom:1px solid #acbfb1!important;box-shadow:none!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art:before,html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art:after{display:none!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art img{width:auto!important;height:auto!important;max-width:88px!important;max-height:94px!important;object-fit:contain!important;padding:0!important;border:0!important;border-radius:4px!important;box-shadow:0 5px 12px #214d5424!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-body{padding:15px!important;min-height:0!important;flex:1!important;background:#ebece1!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-head h3{font:400 21px/1.3 var(--cr-display,Georgia,serif)!important;color:#274c57!important;overflow-wrap:anywhere!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-foot{padding:11px 15px!important;background:#dce6dc!important;border-top:1px solid #b0c4b4!important}
/* Catalog rows keep the artwork beside the offer details instead of a vacant full-width banner. */
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-card{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;grid-template-rows:1fr auto!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art{grid-column:1!important;grid-row:1!important;align-self:stretch!important;height:auto!important;min-height:160px!important;padding:10px!important;border-bottom:0!important;border-right:1px solid #acbfb1!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-body{grid-column:2!important;grid-row:1!important;padding:16px!important}
html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-foot{grid-column:1/-1!important;grid-row:2!important}
@media(max-width:850px){html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:420px){html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-card{grid-template-columns:76px minmax(0,1fr)!important}html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-art img{max-width:58px!important;max-height:80px!important}html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-body{padding:12px!important}html.cr-document body.cr-theme [data-wyo-ui=itemsell] .wyo-market-group-head h3{font-size:18px!important}}
/* Featured reward artwork is followed by a compact information strip. */
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-freebies{padding:24px!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slider{margin:22px 0!important;min-height:0!important;border:1px solid #8ba79a!important;border-radius:7px!important;background:#1d414d!important;overflow:hidden!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide:not(.is-active){display:none!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide.is-active{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important;height:auto!important;background:#1d414d!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-media{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;padding:0!important;background:transparent!important;border-radius:0!important;overflow:hidden!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-media img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;padding:0!important;border:0!important;border-radius:0!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-copy{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-self:start!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;align-items:center!important;flex-wrap:wrap!important;gap:9px 16px!important;padding:18px 22px!important;background:#214753!important;border-top:1px solid #90a58c!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-copy h3{margin:0!important;color:#f0dfba!important;font:400 23px/1.3 var(--cr-display,Georgia,serif)!important;text-transform:none!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-copy p{margin:0!important;color:#e0e7dc!important;font-size:14px!important;line-height:1.6!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-code{color:#ead59e!important;background:#365a60!important;border:1px solid #7f9a8b!important;padding:5px 9px!important;font-size:11px!important;border-radius:4px!important;max-width:100%!important;overflow-wrap:anywhere!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-panel{padding:22px!important;background:#e9ebe0!important;border:1px solid #acbdad!important;border-radius:7px!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-panel-title h3{font:400 25px/1.3 var(--cr-display,Georgia,serif)!important;text-transform:none!important;color:#294f5b!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-panel-title i{margin-right:9px!important}
html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-help{color:#48676e!important;font-size:12px!important;line-height:1.7!important}
@media(max-width:900px){html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1 .wyo-ranking-podium-card{grid-template-columns:36px 46px minmax(0,1fr)!important;grid-template-rows:auto auto!important}html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1 .wyo-ranking-podium-stats{grid-column:1/-1!important;grid-row:2!important;padding:14px 0 0!important;border-left:0!important;border-top:1px solid #819a8d!important}}
@media(max-width:600px){html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-freebies{padding:14px!important}html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] :is(.wyo-fb-panel,.wyo-fb-slide-copy){padding:16px!important}html.cr-document body.cr-theme [data-wyo-ui=freebies_v2_1_fixed] .wyo-fb-slide-copy{gap:9px!important}html.cr-document body.cr-theme #cr-interior-content .wyo-ranking-podium:not(.is-character-cards).count-1 .wyo-ranking-podium-card{padding:16px!important;gap:12px!important}}
}
