html[data-home-theme="classic"] .game-home[data-classic-layered="1"] .scene-background{content:url('/theme-assets/classic-layers/table-base-v3.png')!important;object-position:center!important}
html[data-home-theme="classic"] .game-home[data-classic-layered="1"] :is(.logo-anchor,.main-menu,.account-parchment,.home-footer,.friends-orb){z-index:8}
.np-classic-layers{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.np-classic-layer{--layer-glow:#d5a04a;position:absolute;display:block;border:0;padding:0;background:transparent;pointer-events:auto;isolation:isolate;filter:drop-shadow(0 14px 20px #0008);transition:filter .25s ease,transform .25s ease;cursor:pointer}
.np-classic-layer>img{width:100%;height:100%;object-fit:contain;transition:filter .25s ease,transform .25s ease;pointer-events:none}
.np-classic-layer>span{position:absolute;z-index:4;display:flex;min-width:190px;border:1px solid #9d7139;padding:9px 34px 9px 13px;flex-direction:column;color:#ead8b0;background:linear-gradient(105deg,#29180df3,#0b0704f2);box-shadow:inset 0 1px #fff1,0 12px 30px #000b;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;text-align:left}
.np-classic-layer>span:after{position:absolute;right:12px;top:50%;color:#d9a84e;content:"›";font:normal 28px Literata,Georgia,"Times New Roman",serif;transform:translateY(-50%)}
.np-classic-layer>span small{color:#b48b54;font:800 12px Literata,Georgia,"Times New Roman",serif;letter-spacing:.12em}.np-classic-layer>span b{margin-top:3px;font:800 14px Literata,Georgia,"Times New Roman",serif;letter-spacing:.08em}.np-classic-layer>span em{margin-top:4px;color:#806d52;font:700 11px Literata,Georgia,"Times New Roman",serif;letter-spacing:.1em}
.np-classic-layer:hover,.np-classic-layer:focus-visible{z-index:6;filter:drop-shadow(0 16px 24px #000a) drop-shadow(0 0 14px color-mix(in srgb,var(--layer-glow) 70%,transparent));transform:translateY(-3px) scale(1.018);outline:0}
.np-classic-layer:hover>img,.np-classic-layer:focus-visible>img{filter:brightness(1.16) saturate(1.1) drop-shadow(0 0 5px #f1c76b99)}
.np-classic-layer:hover>span,.np-classic-layer:focus-visible>span{opacity:1;transform:none}
.np-classic-layer-inventory{left:-1.8%;top:25%;width:38%;height:66%;transform-origin:left center}.np-classic-layer-inventory>span{left:23%;bottom:4%}
.np-classic-layer-profile{display:none}
.np-classic-layer-quests{right:-1.5%;bottom:2.2%;width:20%;height:24%;--layer-glow:#b74731;transform-origin:right bottom}.np-classic-layer-quests>span{right:36%;bottom:12%}
html[data-home-theme="classic"] .game-home .account-parchment{display:block!important;visibility:visible!important;opacity:1!important;top:32.5%!important;right:4.7%!important;left:auto!important;width:24%!important;min-width:0!important;max-width:none!important;height:42%!important;min-height:0!important;box-sizing:border-box!important;background-color:transparent!important;background-image:url('/theme-assets/classic-layers/profile-canvas-v1.png')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;filter:drop-shadow(0 14px 20px #0009)!important;transition:filter .25s ease,transform .25s ease!important}
html[data-home-theme="classic"] .game-home .account-parchment:before,html[data-home-theme="classic"] .game-home .account-parchment:after{background:transparent!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content{padding:14% 16% 10%!important}
html[data-home-theme="classic"] .game-home .account-parchment:has(.profile-card){cursor:pointer}
html[data-home-theme="classic"] .game-home .account-parchment:has(.profile-card):hover{filter:brightness(1.08) drop-shadow(0 0 13px #d7a65599) drop-shadow(0 16px 22px #000a)!important;transform:translateY(-3px) scale(1.012)}
html:not([data-home-theme="classic"]) .np-classic-layers{display:none!important}
@media(max-width:1100px){html[data-home-theme="classic"] .game-home[data-classic-layered="1"] .scene-background{object-position:right center!important}.np-classic-layer-inventory{left:-6%;top:38%;width:48%;height:53%}.np-classic-layer-quests{right:0;bottom:2%;width:27%;height:24%}html[data-home-theme="classic"] .game-home .account-parchment{top:31%!important;right:12%!important;width:24%!important;height:43%!important}.np-classic-layer>span{min-width:150px}}
@media(max-width:760px){html[data-home-theme="classic"] .game-home[data-classic-layered="1"] .scene-background{object-position:right center!important;filter:brightness(.78)}.np-classic-layers{z-index:3}.np-classic-layer-inventory{left:-10%;top:auto;bottom:70px;width:57%;height:38%}.np-classic-layer-quests{right:-6%;bottom:18px;width:36%;height:20%}.np-classic-layer>span{display:none}html[data-home-theme="classic"] .game-home .account-parchment{top:auto!important;right:9px!important;bottom:30%!important;width:46%!important;height:30%!important;min-height:0!important}html[data-home-theme="classic"] .game-home .account-parchment .panel-content{padding:13% 14% 8%!important}.game-home .main-menu{z-index:10!important}}
.np-classic-layer>span:after{content:"›"!important}

/* V11: the whole classic tabletop is interactive, including the rules tome. */
.np-classic-layer-rules{left:-1.5%;top:-1.2%;width:25%;height:31%;--layer-glow:#c6964a;transform-origin:left top}
.np-classic-layer-rules>span{left:25%;top:58%}
.np-classic-layer-rules>img{object-position:left top}
.np-classic-layer-quests{right:-.8%;bottom:.8%;width:18%;height:18%}
html[data-home-theme="classic"] .game-home .account-parchment{top:31%!important;right:4.1%!important;width:24.5%!important;height:50%!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content{height:100%!important;padding:11% 13% 8%!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-card{display:flex!important;height:100%!important;min-height:0!important;padding:0!important;justify-content:flex-start!important;gap:2px!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.avatar-medallion,.profile-avatar,.profile-photo,.avatar){width:clamp(62px,28%,92px)!important;height:clamp(62px,28%,92px)!important;min-height:0!important;flex:0 0 auto!important;margin:0 auto 2px!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-name,h2){margin:1px 0!important;font-size:clamp(.86rem,1.25vw,1.22rem)!important;line-height:1!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-type,.profile-title){margin:1px 0 3px!important;font-size:clamp(0.70rem,.62vw,0.86rem)!important;line-height:1.15!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-xp,.experience-block){width:100%!important;margin:3px 0!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats{display:grid!important;width:100%!important;margin:3px 0!important;grid-template-columns:1fr!important;gap:0!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div{display:flex!important;min-height:19px!important;padding:1px 2px!important;align-items:center!important;justify-content:space-between!important;border-top:1px solid #7d5a3138!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats :is(dt,dd){display:block!important;margin:0!important;font-size:clamp(0.70rem,.52vw,0.78rem)!important;line-height:1!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-open-link{display:block!important;margin:3px auto 0!important;font-size:0.78rem!important}
@media(max-width:1100px){.np-classic-layer-rules{left:-4%;top:-1%;width:31%;height:27%}html[data-home-theme="classic"] .game-home .account-parchment{right:7%!important;width:29%!important;height:48%!important}}
@media(max-width:760px){.np-classic-layer-rules{left:-7%;top:1%;width:42%;height:25%}.np-classic-layer-inventory{left:-8%;bottom:7%!important;width:42%;height:26%}html[data-home-theme="classic"] .game-home .account-parchment{top:58%!important;right:1.5%!important;bottom:auto!important;width:64%!important;height:34%!important}html[data-home-theme="classic"] .game-home .account-parchment .panel-content{padding:9% 11% 7%!important}html[data-home-theme="classic"] .game-home .account-parchment :is(.avatar-medallion,.profile-avatar,.profile-photo,.avatar){width:54px!important;height:54px!important}html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div{min-height:16px!important}.np-classic-layer-quests{right:-5%;bottom:1%;width:31%;height:15%}}

/* V12: calm classic composition, contained profile and responsive tabletop. */
.np-classic-layer-rules{display:none!important}
.np-classic-layer-quests{right:-1.2%!important;bottom:5.5%!important;width:18.5%!important;height:20%!important}
html[data-home-theme="classic"] .game-home .account-parchment{top:34%!important;right:6.2%!important;width:20.5%!important;height:45%!important;overflow:hidden!important;contain:layout paint!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;padding:13% 13% 9%!important;box-sizing:border-box!important;overflow:hidden!important;transform:none!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-card{position:relative!important;inset:auto!important;display:flex!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:flex-start!important;flex-direction:column!important;gap:2px!important;box-sizing:border-box!important;overflow:hidden!important;transform:none!important;text-align:center!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-card>*{position:relative!important;inset:auto!important;max-width:100%!important;box-sizing:border-box!important;transform:none!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.avatar-medallion,.profile-avatar,.profile-photo,.avatar){width:clamp(54px,24%,82px)!important;height:clamp(54px,24%,82px)!important;margin:0 auto 3px!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-name,h2){width:100%!important;margin:1px 0!important;font-size:clamp(.8rem,1vw,1.08rem)!important;line-height:1.05!important}
html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-xp,.experience-block,.profile-stats){width:100%!important;max-width:100%!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats{overflow:auto!important;scrollbar-width:thin}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div{width:100%!important;min-width:0!important}

@media(max-width:1100px) and (min-width:761px){
  .np-classic-layer-inventory{left:-7%!important;top:35%!important;width:48%!important;height:55%!important}
  .np-classic-layer-quests{right:-3%!important;bottom:15%!important;width:25%!important;height:18%!important}
  html[data-home-theme="classic"] .game-home .account-parchment{top:34%!important;right:0!important;width:27%!important;height:43%!important}
  html[data-home-theme="classic"] .game-home .account-parchment .panel-content{padding:12% 13% 9%!important}
}
@media(max-width:760px){
  .np-classic-layer-inventory{left:-12%!important;top:auto!important;bottom:12%!important;width:54%!important;height:31%!important}
  .np-classic-layer-quests{right:-8%!important;top:auto!important;bottom:11%!important;width:38%!important;height:21%!important}
  html[data-home-theme="classic"] .game-home .account-parchment{top:58%!important;right:2%!important;bottom:auto!important;width:45%!important;height:32%!important}
  html[data-home-theme="classic"] .game-home .account-parchment .panel-content{padding:13% 12% 9%!important}
  html[data-home-theme="classic"] .game-home .account-parchment :is(.avatar-medallion,.profile-avatar,.profile-photo,.avatar){width:44px!important;height:44px!important}
  html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-name,h2){font-size:.72rem!important}
  html[data-home-theme="classic"] .game-home .account-parchment :is(.profile-type,.profile-title){font-size:0.70rem!important}
  html[data-home-theme="classic"] .game-home .account-parchment .profile-stats :is(dt,dd){font-size:0.70rem!important}
}
@media(max-width:430px){
  html[data-home-theme="classic"] .game-home .account-parchment{top:58%!important;width:48%!important;height:31%!important}
  html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div:nth-child(n+4){display:none!important}
  .np-classic-layer-quests{bottom:12%!important;width:41%!important}
}

/* V13: профиль полностью живёт внутри холста и остаётся читаемым. */
html[data-home-theme="classic"] .game-home .account-parchment{top:37%!important;right:5.7%!important;width:21.5%!important;height:41%!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content.profile-card{position:absolute!important;inset:0!important;display:grid!important;width:100%!important;height:100%!important;padding:11% 13% 9%!important;grid-template-columns:1fr 1fr!important;grid-auto-rows:min-content!important;align-content:start!important;align-items:center!important;column-gap:7px!important;row-gap:2px!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content.profile-card>.avatar-medallion{grid-column:1/-1!important;width:clamp(48px,22%,72px)!important;height:clamp(48px,22%,72px)!important;margin:0 auto 2px!important}
html[data-home-theme="classic"] .game-home .account-parchment .panel-content.profile-card>:is(.profile-name,.profile-title,.profile-type,.profile-player-id,.profile-xp,.profile-stats,.profile-open-link){grid-column:1/-1!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-name{font-size:clamp(.82rem,1vw,1.08rem)!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-title{font-size:clamp(0.70rem,.58vw,0.82rem)!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-type{font-size:0.78rem!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-type:before{content:"УРОВЕНЬ ";color:#9b723b}
html[data-home-theme="classic"] .game-home .account-parchment .profile-player-id{display:none!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-xp{position:relative!important;display:block!important;width:100%!important;height:13px!important;margin:4px 0 3px!important;border:1px solid #513619!important;background:#130c07!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-xp>i{position:absolute!important;inset:1px auto 1px 1px!important;height:auto!important;background:linear-gradient(90deg,#8d5b1f,#ecc556)!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-xp>span{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;color:#fff0c8!important;font-size:.42rem!important;text-shadow:0 1px 2px #000!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px 7px!important;overflow:hidden!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div{min-height:17px!important;padding:1px 0!important}
html[data-home-theme="classic"] .game-home .account-parchment .profile-stats :is(dt,dd){font-size:clamp(0.70rem,.5vw,0.78rem)!important}
@media(max-width:1100px){html[data-home-theme="classic"] .game-home .account-parchment{right:2.5%!important;width:27%!important}}
@media(max-width:760px){html[data-home-theme="classic"] .game-home .account-parchment{top:52%!important;right:2%!important;width:48%!important;height:37%!important}html[data-home-theme="classic"] .game-home .account-parchment .panel-content.profile-card{padding:10% 12% 8%!important}html[data-home-theme="classic"] .game-home .account-parchment .profile-stats>div:nth-child(n){display:flex!important}}
