.nation-fill{margin:12px 0 18px;padding:12px;border:1px solid #6c5a39;background:#181a17}
.nation-fill h3{margin:0 0 10px;color:#e6d5b1;font-size:17px}
.nation-fill-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nation-fill-options button{min-width:0;min-height:114px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;border:2px solid #4a493f;background:#23251f;color:#f0e8d9;font:inherit;cursor:pointer}
.nation-fill-options button[aria-pressed=true]{border-color:#deb75e;box-shadow:inset 0 0 0 1px #deb75e}
.nation-fill-options i{width:90px;height:60px;border:1px solid #f4efdf66}
.nation-fill-options img{display:block;width:120px;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;image-rendering:auto}
.nation-fill-options b{font-size:15px;line-height:1.2}
.nation-fill-options small{font-size:12px;line-height:1.3;color:#d6c49e}
.nation-fill-options button:disabled{cursor:default;border-color:#46463e}
.nation-fill-options button:disabled img{opacity:.5}
.season-flag-preview{display:flex;align-items:center;gap:14px;padding:12px;margin-bottom:16px;border:1px solid #8c7447;background:#202119}
.season-flag-preview img{width:100px;height:auto;flex:0 0 auto;image-rendering:auto}
.season-flag-preview span{min-width:0}
.season-flag-preview b,.season-flag-preview small{display:block}
.season-flag-preview small{margin-top:5px;color:#d6c49e;line-height:1.4}
.nation-fill-options button:focus-visible{outline:3px solid #fff;outline-offset:3px}
#map,.preview{image-rendering:auto}
.item canvas.smooth-paint{image-rendering:auto}

.creator-unlock img{display:block;max-width:100%;height:auto;margin:12px auto}.creator-unlock label{display:block;margin:15px 0}.creator-unlock input{width:100%;min-height:44px}.creator-unlock b{display:block;text-align:center}.nation-fill-options .locked img{opacity:.65}.nation-fill-options small{max-width:100%;overflow-wrap:anywhere}

.creator-code-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:14px;border:1px solid #ad8950;background:#24261f;flex-wrap:wrap}.creator-code-card .cc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.creator-code-card>div{display:flex;align-items:center;gap:12px;min-width:0}.creator-code-card .wi{width:36px;height:36px}.creator-code-card h3{margin:0;font-size:20px}.creator-code-card small{color:#d8c194}.creator-code-card button{min-height:44px}.creator-code-sheet.setup-sheet.sheet-box{align-self:center!important;width:min(420px,100%)!important;margin:0!important;box-sizing:border-box!important;overflow:auto!important;flex:0 1 auto!important;max-height:min(100%,calc(100svh - var(--safe-t, env(safe-area-inset-top, 0px)) - var(--safe-b, env(safe-area-inset-bottom, 0px)) - var(--kb, 0px) - 40px))!important}
#modal:has(.creator-code-sheet){display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding-top:calc(var(--safe-t, env(safe-area-inset-top, 0px)) + 20px)!important;padding-bottom:calc(var(--kb, 0px) + var(--safe-b, env(safe-area-inset-bottom, 0px)) + 20px)!important;padding-left:12px!important;padding-right:12px!important}
.creator-code-sheet input{width:100%;min-height:48px;text-transform:uppercase;margin:8px 0 16px;font-size:20px;scroll-margin-bottom:calc(var(--kb,0px) + 24px)}.creator-code-sheet label{display:block}#creator-code-rewards{display:grid;gap:10px;max-height:40dvh;overflow:auto}#creator-code-rewards>div{display:flex;align-items:center;gap:12px;border:1px solid #90774d;background:#20261e;padding:8px}#creator-code-rewards img{max-width:100px;height:auto;image-rendering:auto}#creator-code-rewards b,#creator-code-rewards small{display:block}.creator-account{margin-top:14px}.creator-account code{display:block;overflow-wrap:anywhere;user-select:all;padding:8px} @media(max-width:360px){.creator-code-card{align-items:stretch;flex-direction:column}}
