body.attika-game #content,
body.attika-game #game,
#Attika2 {
    background: #eee0b4;
}

#Attika2{display:grid;grid-template-columns:minmax(0,1fr) clamp(290px,45%,520px);gap:8px;width:100%;padding:5px;box-sizing:border-box;color:#293c38;min-height:0}
#Attika2 *{box-sizing:border-box}#Attika2 .at-map{position:relative;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(ellipse at center,#f4e8c5,#e6d29b)}#Attika2 .at-world{position:absolute;left:0;top:0;transform-origin:0 0}#Attika2 .at-cell,#Attika2 .at-preview-cell{position:absolute;width:100px;height:100px;border:0;background:none;padding:0;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}#Attika2 .at-cell>img,#Attika2 .at-preview-cell>img{width:100%;height:100%;max-width:none}#Attika2 .at-cell.at-active{filter:drop-shadow(0 0 5px #fff);background:#fff}#Attika2 .at-cell.at-active:after{content:'';position:absolute;inset:0;clip-path:inherit;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,3 97,26 97,74 50,97 3,74 3,26' fill='none' stroke='%23f5cc51' stroke-width='4' stroke-linejoin='round'/%3E%3C/svg%3E");pointer-events:none}#Attika2 .at-cell.at-selected:after{background:#f6c44088}
.at-piece{position:relative;display:block;width:100%;height:100%}
.at-piece>img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.at-piece .at-piece-name{position:absolute;inset:57% 0 auto;line-height:1.2;text-align:center;white-space:nowrap;color:#000;font:400 16px/1.2 Arial,sans-serif}
.at-piece.at-dark-tile .at-piece-name{color:#fff}
#Attika2 .at-map-tools{position:absolute;top:5px;right:5px}#Attika2 .at-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:4px;min-width:0;min-height:0}#Attika2 .at-players{display:grid;gap:3px}#Attika2 .at-player{display:flex;align-items:center;gap:4px;width:100%;padding:4px 5px;border:0;border-left:4px solid var(--at-owner);background:#fff9;border-radius:5px;font-size:12px;line-height:1.25;text-align:left}#Attika2 .at-player.at-viewed{background:#fff}#Attika2 .at-login{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}#Attika2 .at-star{font-size:9px;color:#8c6914}#Attika2 .at-stats{display:flex;gap:3px;align-items:center;margin-left:auto;font-size:11px;white-space:nowrap}#Attika2 .at-stats img{width:14px;height:17px;object-fit:contain}#Attika2 .at-supply,#Attika2 .at-hand,#Attika2 .at-piles{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;line-height:1.2;padding:3px 0}#Attika2 .at-supply img{width:20px;height:22px;object-fit:contain}#Attika2 .at-hand{background:#fff7;border-radius:5px;gap:12px}#Attika2 .at-hand>span{display:flex;align-items:center;gap:3px}#Attika2 .at-hand>img{width:22px;height:25px;object-fit:contain}.at-resource{width:16px;height:16px;object-fit:contain;vertical-align:middle}#Attika2 .at-pile{position:relative;width:35px;height:32px;padding:0;border:0;background:none}#Attika2 .at-pile img{width:100%;height:100%;object-fit:contain}#Attika2 .at-pile b{position:absolute;inset:9px 0 0;text-align:center;font-size:13px;color:#172c37;text-shadow:0 0 3px white}
#Attika2 .at-storage{display:flex;flex-direction:column;min-height:0;background:color-mix(in srgb,var(--at-owner,#a8c4b0) 20%,#fff);padding:3px}#Attika2 .at-storage-title{font-size:12px;line-height:1.2;font-weight:650;text-align:center;padding-bottom:2px}#Attika2 .at-storage-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(12,minmax(0,1fr));gap:3px;min-height:0;flex:1}#Attika2 .at-building{z-index:1;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;min-width:0;border:1px solid transparent;border-radius:5px;padding:1px 2px;background:transparent;font-size:clamp(9px,.85vw,12px);line-height:1.05;color:#6e7770}#Attika2 .at-building-name{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#Attika2 .at-cost{display:flex;justify-content:center;align-items:center;gap:0;line-height:1}#Attika2 .at-cost .at-resource{width:clamp(9px,1vw,14px);height:clamp(9px,1vw,14px)}#Attika2 .at-cost b{font-size:10px}#Attika2 .at-building.at-stored,#Attika2 .at-building.at-drawn{color:#182f29;background:#fff;border-color:#d6cba8}#Attika2 .at-building.at-built{color:var(--at-owner);background:color-mix(in srgb,var(--at-owner) 16%,white)}#Attika2 .at-built-mark,#Attika2 .at-drawn-mark{position:absolute;right:0;top:0;font-size:9px}#Attika2 .at-arrows{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#Attika2 button{cursor:default;touch-action:manipulation}#Attika2 button:disabled{opacity:1}#Attika2 button.at-active,#Attika2 .at-help,#Attika2 .at-player{cursor:pointer}#Attika2 .at-building.at-active,#Attika2 .at-pile.at-active{outline:2px solid #a68036;outline-offset:-1px}#Attika2 .at-building.at-selected{outline:3px solid #e5ad18;outline-offset:-2px;background:#fff3a9}#Attika2 button:focus-visible{outline:3px solid #d8850c;outline-offset:-1px}#Attika2 .at-preview{pointer-events:none;opacity:.82}#Attika2 .at-preview-cell{outline:2px solid #bf7a16}
#Attika2.at-stacked{grid-template-columns:1fr;grid-template-rows:minmax(230px,45%) minmax(0,1fr)}#Attika2.at-stacked .at-sidebar{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:6px}#Attika2.at-stacked .at-summary{grid-column:1;grid-row:1}#Attika2.at-stacked .at-storage{grid-column:1;grid-row:2}#Attika2.at-stacked .at-hand{flex-wrap:wrap;gap:5px}#Attika2.at-stacked .at-building{font-size:10px}#Attika2.at-phone{min-height:720px;grid-template-columns:1fr;grid-template-rows:330px auto}#Attika2.at-phone .at-sidebar{min-height:420px}#Attika2.at-phone .at-storage-grid{min-height:370px}
.at-popover{max-width:min(390px,92vw);font-size:13px}.at-popover p{margin:0 0 10px}.at-moving{width:100%;height:100%;display:block}
body.attika-game #log .at-log{display:inline;line-height:1.65;white-space:normal}body.attika-game #log .at-log .at-log-piece{display:inline-block;width:50px;height:50px;vertical-align:middle;margin:1px 5px}body.attika-game #log .at-log .at-piece img{position:absolute;max-width:none;max-height:none;margin:0;width:100%;height:100%;border:0}body.attika-game #log .at-log .at-piece-name{font-size:7px}body.attika-game #log .at-log img.at-resource{display:inline-block;width:18px;height:18px;max-width:18px;max-height:18px;margin:0 2px;vertical-align:middle;border:0}body.attika-game #log .at-log .at-cost{display:inline-flex;align-items:center;gap:1px;margin:0 4px}body.attika-game #log .move.color0{background:#edc3c5;color:#692329}body.attika-game #log .move.color1{background:#ccdfc0;color:#304b22}body.attika-game #log .move.color2{background:#c4deed;color:#214a65}body.attika-game #log .move.color3{background:#eee1b4;color:#624c18}
#Attika2 .at-group{z-index:0;border-radius:5px;background:color-mix(in srgb,var(--at-owner) 12%,#fff);border:1px solid color-mix(in srgb,var(--at-owner) 18%,#ddd);pointer-events:none}#Attika2 .at-building{font-size:var(--at-label-size,12px)}#Attika2.at-stacked .at-building{font-size:var(--at-label-size,12px)}#Attika2 .at-cost .at-resource{width:var(--at-icon-size,13px);height:var(--at-icon-size,13px)}

.at-log-coordinate { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
#Attika2 .at-cell.at-log-location { box-shadow: inset 0 0 0 12px #1d647f; z-index: 4; }
#Attika2 .at-cell.at-log-location::before { content: ""; position: absolute; inset: 15%; border: 5px solid #1d647f; z-index: 5; pointer-events: none; }

/* Selection uses a shape as well as color, independently of keyboard focus. */
#Attika2 .at-cell.at-selected::before {
    content: "\2713";
    position: absolute;
    z-index: 6;
    inset: 18%;
    border: 5px solid #674400;
    border-radius: 20%;
    background: #fff9;
    color: #352500;
    font-size: 46px;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
}
.at-log-detail { display: inline-block; border: 0; background: none; padding: 0; color: inherit; cursor: pointer; vertical-align: middle; }
body.attika-game #log .at-log-detail { cursor: pointer; }
body.attika-game #log .at-log-cards { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
body.attika-game #log .actionDrawResource > .effect { display: none; }
body.attika-game #log .actionRevealLand { display: none; }
body.attika-game #log .logActionGroupInline.logActionGroupSelected { outline: 3px solid #000; outline-offset: -3px; }
body.attika-game #log .at-log-cards img,
body.attika-game #log .at-log > img { width: 22px; height: 26px; object-fit: contain; vertical-align: middle; }
.at-detail-piece { width: 180px; height: 180px; }
.at-detail-piece .at-piece-name { font-size: 20px; }
.at-log-land { position: relative; display: inline-block; width: 72px; height: 60px; vertical-align: middle; }
body.attika-game #log .at-log-land > img,
.at-log-land > img { position: absolute; width: 24px; height: 24px; max-width: none; max-height: none; margin: 0; }
.at-detail-land { width: 216px; height: 180px; }
.at-detail-land .at-log-land { transform: scale(3); transform-origin: top left; }

/* Legacy player mat proportions, artwork and state colors. */
#Attika2 .at-storage{background:var(--at-panel);padding:3px;justify-content:flex-start;overflow-y:auto;scrollbar-gutter:stable both-edges}
#Attika2 .at-storage-grid{display:block;flex:none;width:100%;max-width:500px;aspect-ratio:306 / 482;min-height:0!important;background:var(--at-panel)}
#Attika2 .at-group-outline{position:absolute;left:0;top:0;width:98.04%;height:100%;pointer-events:none}
#Attika2 .at-building{position:absolute;justify-content:flex-start;border:1px solid transparent;border-radius:9px;background:transparent;color:#000;padding:0;line-height:1.05;overflow:visible}
#Attika2 .at-building-name{position:absolute;left:11%;top:0;overflow:visible;max-width:none}
#Attika2 .at-building-root .at-building-name{color:#fff;font-weight:700;text-shadow:-1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000}
#Attika2 .at-building.at-stored,#Attika2 .at-building.at-drawn{background:var(--at-stored);border-color:var(--at-panel);color:#000}
#Attika2 .at-building.at-built{background:var(--at-built);color:#000}
#Attika2 .at-built .at-cost{visibility:hidden}
#Attika2 .at-building .at-cost{position:absolute;top:44%;left:17%;height:56%;gap:0}
#Attika2 .at-cost b{font-size:inherit}
#Attika2 .at-group-symbol{position:absolute;pointer-events:none;z-index:2}
#Attika2 .at-storage-arrow{position:absolute;pointer-events:none;z-index:3}
#Attika2 .at-building.at-active{outline:2px solid #fff;outline-offset:-2px}
#Attika2 .at-building.at-selected{background:var(--at-stored);outline:3px solid #fff;outline-offset:-2px}

#Attika2 .at-storage-grid{align-self:center;container-type:inline-size}
#Attika2 .at-storage-grid .at-building{font-size:clamp(9px,4.6cqw,21px)}
#Attika2 .at-storage-grid .at-cost .at-resource{width:6.4cqw;height:6.4cqw}

@media (orientation: landscape) and (max-width: 1200px) {
    #Attika2:not(.at-stacked):not(.at-phone) .at-storage {
        container-type: size;
    }
    #Attika2:not(.at-stacked):not(.at-phone) .at-storage-grid {
        /* Reserve the height of the pile buttons above the mat. */
        width: min(100%, max(180px, (100cqh - clamp(32px, 12cqw, 44px)) * 306 / 482));
    }
}

#Attika2.at-short-stack {
    grid-template-rows: 230px auto;
}
#Attika2.at-phone .at-storage,
#Attika2.at-short-stack .at-storage {
    overflow-y: visible;
    scrollbar-gutter: auto;
}

#Attika2 .at-storage-counters {
    display: flex;
    align-self: center;
    align-items: center;
    gap: 6px;
    flex: none;
    width: 100%;
    max-width: 500px;
    container-type: inline-size;
}
#Attika2 .at-storage-counters .at-piles,
#Attika2 .at-storage-counters .at-hand {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    background: none;
}
#Attika2 .at-storage-counters .at-piles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    flex: 1;
    min-width: 0;
}
#Attika2 .at-storage-counters .at-hand { flex: none; justify-content: flex-end; min-width: 0; }
#Attika2 .at-storage-counters .at-hand > span,
#Attika2 .at-amphora-count {
    position: relative;
    display: block;
}
#Attika2 .at-storage-counters .at-hand > span {
    width: clamp(15px, 6cqw, 26px);
    height: 24px;
}
#Attika2 .at-storage-counters img { display: block; width: 100%; height: 100%; object-fit: contain; }
#Attika2 .at-storage-counters b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: clamp(11px, 4cqw, 15px);
    text-shadow: -1px -1px #000, 1px -1px #000, -1px 1px #000, 1px 1px #000;
    pointer-events: none;
}

/* Compact player list with the shared supply alongside it. */
#Attika2 .at-summary {
    position: relative;
    display: flex;
    gap: 6px;
    align-items: flex-start;
    container-type: inline-size;
}
#Attika2 .at-players { flex: 1; min-width: 0; gap: 2px; }
#Attika2 .at-player {
    min-width: 0;
    min-height: 26px;
    padding: 2px 5px;
    border-left: 0;
    border-radius: 3px;
    font-size: 15px;
}
#Attika2 .at-login { font-weight: 400; }
#Attika2 .at-stats { gap: 4px; font-size: 15px; }
#Attika2 .at-stats img { width: 20px; height: 16px; }
#Attika2 .at-stats b { min-width: 2ch; text-align: right; }
#Attika2 .at-supply {
    display: grid;
    flex: none;
    grid-template-columns: repeat(3, 28px);
    gap: 4px;
    padding: 0;
}
#Attika2 .at-land-count,
#Attika2 .at-supply-amphora {
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    font-size: 15px;
}
#Attika2 .at-land-count img,
#Attika2 .at-supply-amphora img {
    position: absolute;
    width: 100%;
    height: 100%;
}
#Attika2 .at-land-count b,
#Attika2 .at-supply-amphora b { position: relative; }
#Attika2 .at-resource-pile {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
}
.at-card-back {
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    aspect-ratio: 1;
    object-fit: cover;
}
#Attika2 .at-resource-pile .at-card-back {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin-inline: auto;
    object-fit: cover;
}
body.attika-game #log .at-log img.at-card-back { width: 24px; height: 24px; object-fit: cover; }
#Attika2 .at-storage-counters .at-hand img.at-card-back { height: auto; object-fit: cover; }
#Attika2 .at-resource-pile.at-active::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: #183c50;
    pointer-events: none;
}
#Attika2 .at-deck-count {
    position: absolute;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    padding: 0 3px;
    border-radius: 2px;
    color: #fff;
    background: #000b;
    font-size: 12px;
}
#Attika2 .at-storage-counters .at-pile {
    display: grid;
    place-items: center;
    width: 100%;
    height: clamp(32px, 12cqw, 44px);
}
#Attika2 .at-storage-counters .at-pile img {
    width: min(100%, clamp(25px, 10cqw, 36px));
    height: clamp(25px, 10cqw, 36px);
}
#Attika2 .at-storage-counters .at-pile b { font-size: clamp(14px, 4.5cqw, 22px); }

/* Payment choices use the same resource artwork as the board and hand. */
.at-payment-dialog .modal-content { background: #f6edcf; color: #293c38; }
.at-payment-dialog .modal-dialog { max-width: 420px; }
.at-payment-dialog .modal-header,
.at-payment-dialog .modal-footer { padding: .65rem .85rem; border-color: #cbbd91; }
.at-payment-dialog .modal-body { padding: .85rem; }
.at-payment-dialog .at-payment-costs,
.at-payment-dialog .at-payment-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.at-payment-dialog .at-resource { width: 36px; height: 36px; object-fit: contain; }
.at-payment-dialog .at-payment-cost,
.at-payment-dialog .at-payment-card {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 2px solid #b8a678;
    border-radius: 6px;
    background: #fff8e8;
}
.at-payment-dialog .at-payment-cost b,
.at-payment-dialog .at-payment-card b {
    position: absolute;
    right: -3px;
    bottom: -3px;
    min-width: 21px;
    border-radius: 50%;
    text-align: center;
    background: #fff8e8;
    font-size: 16px;
}
.at-payment-dialog .at-payment-Covered { border-color: #aaa797; }
.at-payment-dialog .at-payment-Covered img { opacity: .4; }
.at-payment-dialog .at-payment-Covered::after {
    content: '';
    position: absolute;
    width: 40px;
    border-top: 2px solid #767568;
    transform: rotate(-45deg);
}
.at-payment-dialog .at-payment-Automatic,
.at-payment-dialog .at-payment-Selected,
.at-payment-dialog .at-payment-card.at-paid { border-color: #3f7139; background: #dcebd1; }
.at-payment-dialog .at-payment-Automatic b,
.at-payment-dialog .at-payment-Selected b,
.at-payment-dialog .at-payment-card.at-paid b { color: #255b27; background: #dcebd1; }
.at-payment-dialog .at-payment-Missing:not(.at-payment-Selected) { border-style: dashed; }
.at-payment-dialog .at-payment-note { margin: .65rem 0 0; font-size: 13px; }
.at-payment-dialog .at-payment-progress { margin: .75rem 0 .5rem; font-weight: 600; }
.at-payment-dialog .at-payment-card { cursor: pointer; touch-action: manipulation; }
.at-payment-dialog .at-payment-card b { visibility: hidden; }
.at-payment-dialog .at-payment-card.at-paid b { visibility: visible; }
.at-payment-dialog .at-payment-card:disabled { cursor: default; opacity: .45; }
.at-payment-dialog .at-payment-card:focus-visible { outline: 3px solid #c08012; outline-offset: 2px; }

/* The revealed building stays between the player list and shared supply. */
#Attika2 .at-drawn-preview { width: clamp(52px, 16cqw, 80px); flex: none; align-self: center; }
/* Keep the landing position for draw animations without reserving a column. */
#Attika2 .at-drawn-preview[aria-hidden="true"] {
    position: absolute;
    inset-inline-end: 98px;
    visibility: hidden;
}
#Attika2 .at-drawn-tile { width: 100%; aspect-ratio: 1; }
#Attika2 .at-drawn-preview .at-piece-name { font-size: clamp(8px, 2.4cqw, 12px); }
#Attika2 .at-drawn-preview > .at-cost { margin-top: 2px; }
#Attika2 .at-building.at-drawn {
    outline: 3px dashed #ffdb6e;
    outline-offset: -1px;
}
#Attika2 .at-building.at-drawn.at-active { outline: 3px dashed #ffdb6e; }

/* Follow the building pile artwork while retaining the larger touch target. */
#Attika2 .at-storage-counters .at-pile.at-active,
#Attika2 .at-storage-counters .at-pile:focus-visible { outline: none; }
#Attika2 .at-storage-counters .at-pile.at-active::after,
#Attika2 .at-storage-counters .at-pile:focus-visible::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100%, clamp(29px, 11cqw, 40px));
    height: clamp(29px, 11cqw, 40px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,3 97,26 97,74 50,97 3,74 3,26' fill='none' stroke='%23183c50' stroke-width='6' stroke-linejoin='round'/%3E%3Cpolygon points='50,3 97,26 97,74 50,97 3,74 3,26' fill='none' stroke='%23fff0b4' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#Attika2 .at-amphora-count {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
}
#Attika2 .at-amphora-count img { width: 22px; height: 24px; margin-inline: auto; }
#Attika2 .at-amphora-count.at-active img {
    filter: drop-shadow(1px 0 #fff0b4) drop-shadow(-1px 0 #fff0b4)
        drop-shadow(0 1px #fff0b4) drop-shadow(0 -1px #fff0b4);
}

#Attika2 .at-map {
    container-type: inline-size;
    --at-map-button-size: clamp(30px, 9cqw, 36px);
}
#Attika2 .at-map-tools {
    display: flex;
    gap: 6px;
}
#Attika2 .at-map-tools .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--at-map-button-size);
    padding: 0 5px;
    line-height: 1;
}
#Attika2 .at-map-tools .at-help {
    width: var(--at-map-button-size);
    padding: 0;
}
#Attika2 .at-map-viewport {
    position: absolute;
    inset: 49px 0 0;
    overflow: hidden;
}
#Attika2 .at-map-viewport.at-map-scrolls {
    overflow: auto;
    overflow-anchor: none;
}
#Attika2 .at-map-viewport:focus-visible {
    outline: 2px solid #76521f;
    outline-offset: -2px;
}
#Attika2 .at-map-surface {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    overflow: clip;
}
#Attika2 .at-map-zoom {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    gap: 3px;
}
#Attika2 .at-map-zoom button {
    width: var(--at-map-button-size);
    height: var(--at-map-button-size);
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.at-land-graphic {
    position: absolute;
    width: 300px;
    height: 250px;
    pointer-events: none;
}
.at-placement-outline {
    position: absolute;
    overflow: visible;
    pointer-events: none;
}
.at-placement-outline path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.at-outline-underlay {
    stroke: #30261c;
    stroke-width: 6px;
}
.at-outline-color {
    stroke: currentColor;
    stroke-width: 4px;
}
#Attika2 .at-recent-land .at-placement-outline {
    z-index: 1;
}
#Attika2 .at-recent-building .at-outline-underlay {
    stroke-width: 4px;
}
#Attika2 .at-recent-building .at-outline-color {
    stroke-width: 2.5px;
}
.at-land-dragging {
    position: fixed;
    z-index: 1080;
    transform-origin: top left;
    pointer-events: none;
}
.at-land-dragging .at-preview-cell {
    position: absolute;
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.at-land-dragging .at-preview-cell img {
    width: 100%;
    height: 100%;
}
#Attika2 .at-land-controls {
    position: absolute;
    z-index: 5;
    left: 4px;
    bottom: 4px;
    width: max-content;
    height: max-content;
}
#Attika2 .at-land-expanding .at-map-viewport {
    bottom: 52px;
}
#Attika2 .at-land-toolbar {
    display: flex;
    gap: 2px;
    padding: 2px;
}
#Attika2 .at-land-control {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #8a672a;
    border-radius: 5px;
    background: #fff6db;
    color: #563e16;
    font-size: 24px;
    line-height: 1;
}
#Attika2 .at-land-control[data-land-action="place"]:enabled {
    background: #486a3c;
    border-color: #34522b;
    color: white;
}
#Attika2 .at-land-control:disabled {
    opacity: .5;
}
#Attika2 .at-land-drag {
    cursor: grab;
    touch-action: none;
    user-select: none;
}
#Attika2 .at-land-graphic .at-preview-cell {
    pointer-events: auto;
    touch-action: none;
}
#Attika2 .at-land-drag-in-progress {
    cursor: grabbing;
    user-select: none;
}
#Attika2 .at-preview {
    opacity: 1;
}
#Attika2 .at-land-target {
    position: absolute;
    z-index: 1;
    width: 100px;
    height: 100px;
    padding: 0;
    border: 0;
    background: #a98b4e;
    clip-path: polygon(50% 2%, 98% 26%, 98% 74%, 50% 98%, 2% 74%, 2% 26%);
}
#Attika2 .at-land-target::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: #f3e6c0;
    clip-path: inherit;
    pointer-events: none;
}
#Attika2 .at-land-target:hover,
#Attika2 .at-land-target:focus-visible {
    background: #885e19;
}
#Attika2 .at-land-target:hover::before,
#Attika2 .at-land-target:focus-visible::before {
    background: #fff2c7;
}
