/* 버섯 배경 위에 등록한 캐릭터와 이름표를 크게 배치합니다. */
.maple-official-theme .home-characters{position:relative;z-index:1;min-width:0;margin-top:20px}
.maple-official-theme .home-characters-head{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:10px}
.maple-official-theme .home-characters-head h3{font-size:16px;line-height:1.5;color:#573622;margin:0;font-weight:800}
.maple-official-theme .home-characters-count{font-size:13px;color:#725741}
.maple-official-theme .home-characters-manage{margin-left:auto;min-height:44px;padding:8px 13px;font-size:13px;background:#fff8ef;border-color:#c2a98f;color:#573622;flex-shrink:0}
.maple-official-theme .home-character-list{display:grid;grid-auto-flow:column;grid-auto-columns:280px;gap:12px;justify-content:safe center;list-style:none;min-width:0;margin:0 -4px;padding:4px 4px 12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bea388 transparent}
.maple-official-theme .home-character-list>li{min-width:0;scroll-snap-align:start}
.maple-official-theme .home-character-card{display:flex;flex-direction:column;align-items:center;gap:0;width:100%;padding:0 8px 14px;min-height:254px;background:#fffaf2;border:1px solid #decbb5;border-radius:14px;color:#573622;font:inherit;box-shadow:none;text-align:center;cursor:pointer}
.maple-official-theme .home-character-card:hover{background:#fff2df;border-color:#b6875c;filter:none}
.maple-official-theme .home-character-card:focus-visible{outline:3px solid #80502c;outline-offset:1px}
.maple-official-theme .home-character-stage{position:relative;display:grid;place-items:center;isolation:isolate;width:100%;height:176px;flex-shrink:0}
.maple-official-theme .home-character-stage--portrait{--portrait-base-size:176;--portrait-min-height:212;height:212px;overflow:clip}
.maple-official-theme .home-character-stage::before{content:'';position:absolute;z-index:-1;width:100px;height:16px;left:50%;bottom:18px;transform:translateX(-50%);border-radius:50%;background:#ddcbb75c}
.maple-official-theme .home-character-stage>img{display:block;width:176px;height:176px;max-width:none;object-fit:contain;image-rendering:pixelated;pointer-events:none}
.maple-official-theme .home-character-fallback{display:flex;flex-direction:column;align-items:center;gap:12px;color:#725741}
.maple-official-theme .home-character-fallback[hidden]{display:none}
.maple-official-theme .home-character-fallback>.ui-icon{width:54px;height:54px;stroke-width:1.3}
.maple-official-theme .home-character-fallback>small{font-size:11px;line-height:1.6}
.maple-official-theme .home-character-name{display:block;width:100%;font-size:17px;line-height:1.5;font-weight:800;overflow-wrap:anywhere}
.maple-official-theme .home-character-world{display:block;font-size:12px;line-height:1.7;color:#725741;margin-top:2px}
.maple-official-theme .home-character-detail{font-size:12px;line-height:1.7;color:#624e40;overflow-wrap:anywhere}
.maple-official-theme .home-characters[data-count="0"] .home-character-list{grid-auto-columns:minmax(0,1fr)}
.maple-official-theme .home-characters[data-count="1"] .home-character-list{grid-auto-columns:minmax(0,min(320px,100%))}
.maple-official-theme .home-characters-empty{display:flex;align-items:center;justify-content:center;gap:14px;min-height:96px;padding:18px;background:#fffaf2d9;border:1px dashed #bda58c;border-radius:12px;color:#624e40;font-size:13px;line-height:1.7}
.maple-official-theme .home-characters-empty>.ui-icon{width:40px;height:40px;flex:0 0 40px;color:#8b5a31}
.maple-official-theme .has-registered-characters .desk-hero-art{opacity:.28}
.maple-official-theme .home-desk-masthead:has(>.workspace-quick-actions){border-radius:20px}
.maple-official-theme .home-desk-masthead>.workspace-quick-actions{position:relative;z-index:1;overflow:hidden;border-radius:12px;margin-top:14px}
@media(max-width:700px){
 .maple-official-theme .home-desk-masthead>.workspace-quick-actions{margin-top:8px}
 .maple-official-theme .home-characters{margin-top:16px}
 .maple-official-theme .home-characters-head{margin-bottom:8px}
 .maple-official-theme .home-characters-head h3{font-size:15px}
 .maple-official-theme .home-characters-manage{font-size:12px;padding:8px 10px}
 .maple-official-theme .home-character-list{grid-auto-columns:minmax(0,min(250px,100%));gap:10px}
 .maple-official-theme .home-character-card{min-height:224px;padding:0 6px 12px;border-radius:12px}
 .maple-official-theme .home-character-stage{height:148px}
 .maple-official-theme .home-character-stage--portrait{--portrait-base-size:148;--portrait-min-height:188;height:188px}
 .maple-official-theme .home-character-stage>img{width:148px;height:148px}
 .maple-official-theme .home-character-stage::before{bottom:12px;width:82px;height:13px}
 .maple-official-theme .home-character-name{font-size:16px}
 .maple-official-theme .home-character-world,.maple-official-theme .home-character-detail{font-size:11px}
 .maple-official-theme .home-characters[data-count="1"] .home-character-list{grid-auto-columns:minmax(0,min(280px,100%))}
 .maple-official-theme .home-characters[data-count="0"] .home-characters-head{margin-bottom:2px}
 .maple-official-theme .home-characters[data-count="0"] .home-character-list{padding:0;margin:0}
 .maple-official-theme .home-characters-empty{display:block;min-height:0;padding:2px 0;border:0;border-radius:0}
 .maple-official-theme .home-characters-empty>.ui-icon{display:none}
 .maple-official-theme .home-desk-masthead{padding-bottom:14px}
 .maple-official-theme .desk-reset{position:relative;inset:auto;margin-top:8px}
}
