/* Source: common.css */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    background: #FFFAED;
}

.newTitle {
    text-align: center;
    top: 0;
}

.myNav {
    width: 100%;
}

.myNav ul {
    list-style: none;
    display: inline;
    text-align: center;
    margin: 0;
    padding: 0;

}

.myLi {
    display: inline;
    margin: 0 2px;
}


.normalBorderCommon {
    /* background: rgb(0, 153, 211); */
    position: absolute;
    left: 50%;
    overflow: hidden;
    top: 50%;
    /* rotate background   */
    transform: translate(-50%, -50%) rotate(180deg);
    /*rotate(30deg); */
    overflow-x: hidden;
    background: url(./optimized/v1/normalBackground.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat
}

.expandedBorderCommon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    clip-path: polygon(50% 1.5%, 95.5% 25%, 95.5% 75%, 50% 98.5%, 4.5% 75%, 4.5% 25%);
    background:
        radial-gradient(circle at 50% 48%, rgba(239, 228, 187, 0.16) 0%, rgba(239, 228, 187, 0.08) 20%, rgba(239, 228, 187, 0) 42%),
        linear-gradient(180deg, #6bc8ee 0%, #3c9ed8 38%, #0f71b8 100%);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.18),
        inset 0 -24px 36px rgba(0, 56, 104, 0.2),
        0 10px 24px rgba(10, 52, 89, 0.18);
}

.commonShuffle {
    position: relative;
    font-size: 20px;
    width: 25%;
    /* margin: 0 5%; */
}
.commonCapturebutton {
    position: relative;
    font-size: 20px;
    width: 30%;
    /* margin: 0 5%; */
}

.commonOpsbutton {
    position: relative;
    width: 25%;
    font-size: 20px;
}

#btnReveal {
    position: relative;
    width: 25%;
    font-size: 20px;
    margin: 1% 5%;
}

.menuclosebutton_ {
    position: absolute;
    bottom: 5%;
    left: 50%;
    height: 40px;
    width: 80%;
    right: 50%;
    transform: translate(-50%, 0%);
    /* position: relative; */
    /* float: left; */
    /* margin-top: 60px; */
    font-size: 20px;
}

.menuclosebutton {
  position: sticky;
  bottom: 0;

  height: 44px;
  width: 100%;
  font-size: 20px;

  /* looks nicer */
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(3px);

  /* ensure it stays above content */
  z-index: 5;
  margin-top: 10px;
}

h1 {
    padding-bottom: 0;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 0;
}

.links {
    padding-bottom: 0;
    float: center;
    /* background: red; */
    font-size: 18px;
    margin-bottom: 0;
}

h2 {
    padding-bottom: 0;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 0;
}


.chit-number-base {
    display: block;
    font-weight: bold;
    font-size: 1.18em;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Teko', sans-serif;
}

.prob-dots-base {
    padding: 0;
    margin: 0;
    letter-spacing: -.5px;
    padding-right: 1px;
    /* letter-spacing: -2px;
    padding-right: 2px; */
    position: absolute;
    left: 50%;
    top: 72%;
    transform: translate(-50%, -50%);
}


 .newsettingswrap {
    /* background: purple; */
    text-align: right;
    position: relative;
    width: 80%;
    left: 10%;
}

.hex-normal {
    height: 17.5%;
    width: calc(17.5% * 0.866);
    background: rgb(71, 70, 70);
    position: absolute;
    transform: translate(-50%, -50%);
    background-size: auto 100%;
    background-repeat: no-repeat
}

.hex-base {
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-expanded {
    height: 16%;
    width: calc(16% * 0.866);
    background: rgb(71, 70, 70);
    position: absolute;
    transform-origin: 50% 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    background-size: auto 100%;
    background-repeat: no-repeat
}

.circle-base {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: calc(40% * 1.73205 / 2);
    width: 40%;
    border: 1px solid black;
    background: rgb(227, 197, 134);
    border-radius: 50%;
}

.circle-normal {}

.circle-expanded {
    transform: translate(-50%, -50%) rotate(-90deg);
}



.high-prob {
    color: red;
}

.high-prob-normal {
    color: red;
}

/* .theBetterTitle {
    font-size: 5px;
    padding: 0;
    margin: 0;
}

.catanTitle {
    font-size: 5px;
    padding: 0;
    margin: 0;
}

.generatorTitle {
    font-size: 5px;
    padding: 0;
    margin: 0;
} */


/* mess with tile width calc or no repeat on the tiles */

.sheep {
    background: url(./optimized/v1/sheep.webp) no-repeat center;
    background-size: 99% 99%;
}

.wheat {
    background: url(./optimized/v1/wheat.webp) no-repeat center;
    background-size: 99% 99%;
}

.wood {
    background: url(./optimized/v1/wood.webp) no-repeat center;
    background-size: 99% 99%;

}

.brick {
    background: url(./optimized/v1/brick.webp) no-repeat center;
    background-size: 99% 99%;
}

.ore {
    background: url(./optimized/v1/ore.webp) no-repeat center;
    background-size: 99% 99%;
}


.desert {
    background: url(./optimized/v1/desert.webp) no-repeat center;
    background-size: 99% 99%;
}

.port {
    background: url(./colorBlocked/wood-port.png);
    background-size: auto 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* height:vw; */
    width: 6vw;
    background-size: auto 100%;
    background-repeat: no-repeat
}

/* Intrinsic image dimensions reserve space; the strip's square CSS frame
 * continues to determine the displayed crop at every screen width. */
body.generator-page .resource-strip img {
    height: auto;
}


.desert-chit {
    background: transparent;
    border: transparent;
}




.donatebutton {
    position: absolute;
}

.global-coffee-support {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffdd00;
    color: #20170c;
    border: 1px solid rgba(32, 23, 12, .20);
    box-shadow: 0 12px 28px rgba(32, 23, 12, .18);
    padding: .7rem 1rem;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
}

.global-coffee-support:hover,
.global-coffee-support:focus {
    color: #20170c;
    background: #ffe76a;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .global-coffee-support {
        right: .75rem;
        bottom: .75rem;
        padding: .62rem .85rem;
        font-size: .9rem;
    }
}

.menuToggle {
    visibility: hidden;
}

.settingViewToggle {
    visibility: hidden;
}



.settingswrap {
    /* background: purple; */
    text-align: right;
    position: relative;
    width: 80%;
    left: 10%;
    /* height: 370px; */
     flex: 1 1 auto;
    overflow-y: auto;

    /* spacing */
    padding-bottom: 70px; /* space for the sticky close button */
    max-height: 100%;
}

.mylabel {
    float: left;

}

.menu-row {
    min-height: 35px;
     height: auto;
}

.mySelect {
    height: 32px;

    text-align: center;
}

.checkmark {
    height: 25px;
    position: absolute;
    padding: 100px;
}

input[type="checkbox"] {

    margin: 0;
    font: inherit;
    color: currentColor;
    width: 22px;
    height: 22px;
    border: 3px solid currentColor;
}


#popmenu {
    width: 350px;
    height: auto;
    text-align: center;
    background: #E3C586;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 15.5%;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 15px 0 black;
    z-index: 10;
    border-radius: 10px;

    /* animation: popmenu 0.5s; */

     display: flex;
    flex-direction: column;
    overflow: hidden; /* keep scrolling inside the content area */
}

/* @keyframes popmenu {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
} */

.inline-options {
    margin-top:10px;
    width: 100%;
    position: relative;
}

.description {
    margin-left: 15px;
    margin-right: 15px;
}

.canva-wrapper {
    width: 100vw;
    height: 100vw;
    max-width: 100vh;
    max-height: 100vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: red;

}
.canvas-map {
    width: auto;
    max-width:100%;
    height:auto;
    max-height:100%;
    position: fixed;
    opacity: 1;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.42, 0, 0.58, 1) 0s, opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1) 0s;
}
.shareMapCapture {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.6);
    border: 0px;
    background-color: transparent;
    position: fixed;
    top: 10%;
    left: 10%;
    opacity: 1;
    transform: translate(-50%, -50%); z-index: 9999;
}

.map-loader {
    display: flex;
    justify-content: center;
    margin: 0px auto;
  }

  .map-loader label {
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 18px;
    color: #333;
  }
  
  #hashInput {
    width: 150px;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  #hashInput:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 8px rgba(44, 62, 80, 0.3);
  }
  
  #hashInput::placeholder {
    color: #aaa;
  }

  #board {
    position: relative;
  }

.border-expanded {
    z-index: 0;
}

.border-expanded::after {
    content: "";
    position: absolute;
    inset: 8.5%;
    clip-path: polygon(50% 1.5%, 95.5% 25%, 95.5% 75%, 50% 98.5%, 4.5% 75%, 4.5% 25%);
    background:
        radial-gradient(circle at 50% 48%, rgba(239, 228, 187, 0.6) 0%, rgba(239, 228, 187, 0.2) 35%, rgba(239, 228, 187, 0) 62%);
    opacity: 0.45;
}

.boardBackgroundDynamic {
    width: 100%;
    height: 86%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

#seaFrameLayer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.expandedSeaFrameSvg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.expandedSeaFrameFoam {
    fill: none;
    stroke: rgba(255, 255, 255, 0.56);
    stroke-width: 1.35;
    stroke-linejoin: round;
}

.expandedSeaFrameShore {
    stroke: rgba(130, 94, 43, 0.35);
    stroke-width: 0.4;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 3px rgba(84, 63, 28, 0.18));
}

#portsLayer { 
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    user-select: none;
}

#interactiveIntersectionsLayer {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    user-select: none;
}

.interactiveIntersectionMarker {
    position: absolute;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

.interactiveIntersectionMarker::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: rgba(47, 60, 73, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.78);
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.interactiveIntersectionMarker::after {
    content: attr(data-pick-order);
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 13px;
    height: 13px;
    padding: 0 2px;
    border-radius: 999px;
    background: #fff8ed;
    color: #4b4238;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 13px;
    text-align: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.interactiveIntersectionMarker:hover::before,
.interactiveIntersectionMarker:focus-visible::before {
    background: rgba(139, 46, 31, 0.74);
    transform: scale(1.12);
}

.interactiveIntersectionMarker:focus-visible {
    outline: none;
}

.interactiveIntersectionMarker.is-selected::before {
    transform: scale(1.18);
}

.interactiveIntersectionMarker.is-selected::after {
    opacity: 1;
    transform: scale(1);
}

.interactiveIntersectionMarker.is-pick-1::before {
    background: #1f4f8f;
    box-shadow: 0 0 0 2px rgba(255, 250, 237, 0.96), 0 0 0 5px rgba(31, 79, 143, 0.18);
}

.interactiveIntersectionMarker.is-pick-2::before {
    background: #b33a2f;
    box-shadow: 0 0 0 2px rgba(255, 250, 237, 0.96), 0 0 0 5px rgba(179, 58, 47, 0.18);
}

#interactiveIntersectionInfo {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 12px auto 0;
}

.interactiveIntersectionPanel {
    padding: 14px 18px;
    background: rgba(250, 245, 234, 0.95);
    border: 1px solid rgba(139, 94, 37, 0.18);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.interactiveIntersectionPanelHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.interactiveIntersectionPanelTitle {
    font-size: 1rem;
    font-weight: 800;
    color: #5b3412;
}

.interactiveIntersectionPanelHint {
    margin-top: 3px;
    color: #7b6f61;
    font-size: 0.86rem;
    line-height: 1.35;
}

.interactiveIntersectionCloseBtn {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 94, 37, 0.18);
    border-radius: 999px;
    background: rgba(255, 251, 245, 0.95);
    color: #5b3412;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.interactiveIntersectionCloseBtn:hover,
.interactiveIntersectionCloseBtn:focus-visible {
    background: rgba(139, 46, 31, 0.08);
    outline: none;
}

.interactiveIntersectionPanelBody {
    min-height: 0;
}

.interactiveIntersectionPanelGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.interactiveIntersectionPanelGrid.is-single {
    grid-template-columns: 1fr;
}

.interactiveSelectionCard,
.interactivePairCard {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(139, 94, 37, 0.14);
}

.interactiveSelectionCard.pick-1 {
    border-color: rgba(31, 79, 143, 0.22);
    box-shadow: inset 0 0 0 1px rgba(31, 79, 143, 0.06);
}

.interactiveSelectionCard.pick-2 {
    border-color: rgba(179, 58, 47, 0.2);
    box-shadow: inset 0 0 0 1px rgba(179, 58, 47, 0.05);
}

.interactivePairCard {
    margin-top: 12px;
}

.interactiveSelectionHeader {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.interactiveSelectionPill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(75, 66, 56, 0.08);
    color: #5f5347;
}

.interactiveSelectionPill.pick-1 {
    background: rgba(31, 79, 143, 0.1);
    color: #1f4f8f;
}

.interactiveSelectionPill.pick-2 {
    background: rgba(179, 58, 47, 0.1);
    color: #8b2e1f;
}

.interactiveSelectionPill.pair {
    background: rgba(166, 112, 37, 0.12);
    color: #7b4c17;
}

.interactiveIntersectionId {
    font-size: 1.05rem;
    color: #7a2f1f;
}

.interactiveIntersectionMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.interactiveIntersectionLabel {
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
    color: #4b4238;
}

.interactiveIntersectionBadge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(139, 46, 31, 0.08);
    border: 1px solid rgba(139, 46, 31, 0.14);
    color: #6b3417;
    font-size: 0.82rem;
    font-weight: 700;
}

.interactiveIntersectionBadge.pick-1 {
    background: rgba(31, 79, 143, 0.08);
    border-color: rgba(31, 79, 143, 0.18);
    color: #1f4f8f;
}

.interactiveIntersectionBadge.pick-2 {
    background: rgba(179, 58, 47, 0.08);
    border-color: rgba(179, 58, 47, 0.16);
    color: #8b2e1f;
}

.interactiveResourceGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.interactiveSelectionCard .interactiveResourceGrid,
.interactivePairCard .interactiveResourceGrid {
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
}

.interactiveResourceMetric {
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(255, 248, 235, 0.88);
    border: 1px solid rgba(150, 108, 40, 0.12);
    text-align: center;
}

.interactiveResourceName {
    display: block;
    font-size: 0.74rem;
    line-height: 1.25;
    color: #7b6f61;
}

.interactiveResourceValue {
    display: block;
    margin-top: 2px;
    font-size: 1rem;
    color: #4b4238;
}

.interactiveSelectionNote,
.interactivePairSummary,
.interactivePairDetailRow {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #4b4238;
}

.interactiveSelectionNote {
    font-weight: 600;
    color: #6b3417;
}

.interactivePairSummary {
    font-weight: 700;
    color: #7a2f1f;
}

.interactivePairDetailRow strong {
    color: #5b3412;
}

.interactiveIntersectionPanelFooter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

@media all and (orientation: portrait),
       all and (orientation: landscape) and (max-width: 1279px) {
    body.generator-page .control-panel {
        z-index: 1200;
    }

    #interactiveIntersectionInfo:not([hidden]) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 10px 10px;
        transform: none;
        z-index: 1100;
        pointer-events: none;
    }

    #interactiveIntersectionInfo:not([hidden])::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(19, 31, 42, 0.18);
        pointer-events: none;
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanel {
        position: relative;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        max-height: min(68dvh, 520px);
        padding: 12px 12px max(12px, env(safe-area-inset-bottom));
        border-radius: 18px 18px 10px 10px;
        overflow: hidden;
        box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.18);
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanel::before {
        content: "";
        align-self: center;
        width: 42px;
        height: 4px;
        margin: 0 0 10px;
        border-radius: 999px;
        background: rgba(75, 66, 56, 0.24);
        flex: 0 0 auto;
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanelHeader {
        flex: 0 0 auto;
        margin-bottom: 10px;
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanelBody {
        flex: 1 1 auto;
        overflow-y: auto;
        padding-right: 4px;
        scrollbar-gutter: stable;
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanelBody::after {
        content: "";
        display: block;
        height: 8px;
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanelFooter {
        flex: 0 0 auto;
        position: relative;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(139, 94, 37, 0.14);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.96));
    }

    #interactiveIntersectionInfo:not([hidden]) .interactiveIntersectionPanelHint::after {
        content: " Content scrolls inside this sheet.";
        font-weight: 700;
        color: #5b3412;
    }
}

@media all and (min-width: 1280px) {
    #interactiveIntersectionInfo:not([hidden]) {
        position: relative;
    }
}

.interactiveIntersectionClearBtn,
.interactiveIntersectionAnalyticsBtn {
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.interactiveIntersectionClearBtn {
    background: rgba(75, 66, 56, 0.08);
    color: #4b4238;
}

.interactiveIntersectionClearBtn:hover,
.interactiveIntersectionClearBtn:focus-visible {
    background: rgba(75, 66, 56, 0.14);
    outline: none;
}

.interactiveIntersectionAnalyticsBtn {
    background: #1f4f8f;
    color: #fff;
}

.interactiveIntersectionAnalyticsBtn:hover:not(:disabled) {
    background: #163b6b;
}

.interactiveIntersectionAnalyticsBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.portOverlay {
    position: absolute;
    width: 6.4%;
    /* max-width: 68px;
    min-width: 46px; */
    transform-origin: center center;
    pointer-events: none;
    user-select: none;
    z-index: 4;
}

.portOverlay-expanded {
    width: 5.6%;
}

.hex-base,
.circle-base,
#map-copyright,
.tileCornerCircle {
    z-index: 3;
}

@media (max-width: 768px) {
    #interactiveIntersectionInfo {
        margin-top: 10px;
    }

    .interactiveIntersectionPanel {
        padding: 12px 14px;
    }

    .interactiveIntersectionPanelGrid {
        grid-template-columns: 1fr;
    }

    .interactiveIntersectionLabel {
        font-size: 0.9rem;
    }

    .interactiveResourceGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .interactiveIntersectionClearBtn,
    .interactiveIntersectionAnalyticsBtn {
        width: 100%;
    }

    .interactiveIntersectionPanelFooter {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .interactiveIntersectionMarker {
        width: 34px;
        height: 34px;
    }

    .interactiveIntersectionMarker::before {
        inset: 11px;
    }
}

/* Source: map_select.css */
.map-select-menu-row {
    height: 60px;
    display:inline-block;
    width:100%;
    margin-bottom: 10px;
}

.map-select-menu-row-center {
    height: 60px;
    display:inline-block;
    width:100%;
    margin-bottom: 10px;
    padding-top:10px;
    text-align: center;

}
.map-select-menu-row-small {
    height: 30px;
    width:100%;
}

.available-map-button:active:before {
    /* color when selecting */
  background-color: #026799;

  background-image: none;
  box-shadow: 0px 1px 2px 0 #444 inset,
              0 0 0 6px #fff,
              0 2px 12px 8px #ddd;
}
​

.map-button:hover:before {
  background-image: linear-gradient(to bottom, #4FBEEB 0%, #0082C6 40%);
}

.available-map-button:hover:before {
    color:#fff;
    background-image: linear-gradient(to bottom, #4FBEEB 0%, #066fa7 40%);

    background-image: linear-gradient(to bottom, #4FBEEB 0%, #0082C6 40%);
}

.available-map-button {
    text-align: center;
    width:35%;
    height: 45px;
    transform: translate(0%, 0%);
    display:inline-block;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    position: relative;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 1px #444;
    line-height: 45px;
    text-align: center;
}

.available-map-button:before {
    content: "";
    display: inline;
    /* background-color: #0ca6f2; */
    position: absolute;
    top: -3px;
    left: -3px;
    bottom: -3px;
    right: -3px;
    z-index: -1;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #4AC9FA 0%, #0b95d9 40%);
    box-shadow: 0px -1px 2px 0 #044977 inset,
                0px 1px 1px 1px #ccc,
                0 0 0 6px #fff,
                0 2px 12px 8px #ddd;
  }


.selected-map-button {
    text-align: center;
    width:35%;
    height: 45px;
    transform: translate(0%, 0%);
    display:inline-block;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    position: relative;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 1px #444;
    line-height: 45px;
    text-align: center;
}

.selected-map-button:before {
    content: "";
    display: inline;
    /* background-color: #0ca6f2; */
    position: absolute;
    top: -3px;
    left: -3px;
    bottom: -3px;
    right: -3px;
    z-index: -1;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #4AC9FA 0%, #0b95d9 40%);
    box-shadow: 0px -1px 2px 0 #044977 inset,
                0px 1px 1px 1px #ccc,
                0 0 0 6px #fff,
                0 2px 12px 8px #ddd;
  }


#map-select {
    /* background:rgb(228, 143, 143); */
    text-align: left;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 10px;
    /* padding: 5px 10px 5px 10px; */
}

.selected-map-button:before {
   background: #255369;
}

.mapTypeTitle {
    display:inline-block;
    /* background:#0ca6f2; */
    width: 100%;
}


.mapCapture {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99999998;
    width: 100%;
    height: 100%;
}
.mapCaptureClose {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
/* Source: style_by_orientation.css */
@media all and (orientation: landscape) and (min-width: 1280px) {

    #board {
        width: 100vh;
        height: 100vh;
        right: 0;
        top: 0;
        position: absolute;
    }

    #title {
        min-height: 35%;
        width: calc(100vw - 100vh);
        left: 0;
        position: relative;
    }

    .font-size-wrap {
        font-size: 4.5vh;
    }

    .small-font-size-wrap {
        font-size: 3vh;
    }

    .border-normal {
        width: 99vh;
        height: calc(99vh * 1.732050808 / 2);
    }

    .border-expanded {
        width: 96vh;
        height: 96vh;
    }
}


@media all and (orientation: portrait),
        all and (orientation: landscape) and (max-width: 1279px) {

    #board {
        width: 100vw;
        height: 100vw;
        left: 50%;
        transform: translate(-50%, 0);

        /* background: rgba(255, 166, 0, 0.582); */
        position: relative;
    }

    #classic-options {
        position: relative;
        width: 100%;
        /* background: yellow; */
    }

    #title {
        min-height: 15%;
        /* background: rgba(123, 106, 139, 0.842); */
        position: relative;
    }

    .font-size-wrap {
        font-size: 4.5vw;
    }

    .small-font-size-wrap {
        font-size: 3vw;
    }

    .border-normal {
        width: 99vw;
        height: calc(99vw * 1.732050808 / 2);
    }

    .border-expanded {
        width: 96vw;
        height: 96vw;
    }
}

/* Source: generator-ui.css */
:root {
    --ui-ink: #19232d;
    --ui-muted: #607080;
    --ui-panel: rgba(255, 255, 255, 0.92);
    --ui-panel-strong: #ffffff;
    --ui-line: rgba(25, 35, 45, 0.12);
    --ui-ocean: #0f6f7f;
    --ui-ocean-dark: #0a4752;
    --ui-clay: #b8462e;
    --ui-clay-dark: #82301f;
    --ui-gold: #e9b44c;
    --ui-leaf: #3f7c52;
    --ui-shadow: 0 18px 48px rgba(19, 31, 42, 0.16);
    --ui-radius: 8px;
}

html,
body.generator-page {
    min-height: 100vh;
    height: auto;
}

body.generator-page {
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(15, 111, 127, 0.10) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #fbfaf6 0%, #eef5f1 52%, #f5efe2 100%);
    color: var(--ui-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.generator-page *,
body.generator-page *::before,
body.generator-page *::after {
    box-sizing: border-box;
}

body.generator-page a {
    color: inherit;
}

.generator-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
}

.control-panel {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-height: 100vh !important;
    max-height: 100vh;
    overflow-y: auto;
    padding: 24px;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 242, 0.92)),
        repeating-linear-gradient(90deg, rgba(15, 111, 127, 0.025) 0 1px, transparent 1px 18px);
    border-right: 1px solid var(--ui-line);
    box-shadow: 10px 0 36px rgba(17, 31, 42, 0.08);
    z-index: 5;
}

.panel-topline,
.brand-lockup,
.mode-summary,
.primary-actions,
.secondary-actions,
.map-loader {
    display: flex;
    align-items: center;
}

.panel-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 10px;
    margin-bottom: 26px;
}

.generator-suite-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.generator-suite-nav > a,
.generator-suite-nav > button {
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: rgba(255, 255, 255, 0.76);
    color: var(--ui-ocean-dark);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.generator-suite-nav a:hover,
.generator-suite-nav a:focus-visible,
.generator-suite-nav button:hover,
.generator-suite-nav button:focus-visible {
    border-color: rgba(15, 111, 127, 0.38);
    background: #fff;
    color: var(--ui-ocean);
}

.brand-lockup {
    gap: 10px;
    min-width: 0;
    color: var(--ui-ink);
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: var(--ui-radius);
    background: linear-gradient(135deg, var(--ui-clay), var(--ui-gold));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(184, 70, 46, 0.22);
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-name {
    font-size: 0.98rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-subtitle,
.credit-link,
.mode-summary span,
.map-loader label {
    color: var(--ui-muted);
    font-size: 0.82rem;
    line-height: 1.2;
}

.credit-link {
    flex: 0 0 auto;
    text-decoration: none;
    font-weight: 700;
}

.credit-link:hover,
.credit-link:focus {
    color: var(--ui-clay-dark);
}

.control-stack {
    display: grid;
    gap: 18px;
}

body.generator-page #map-select {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

body.generator-page .map-select-menu-row-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

body.generator-page .map-links {
    display: block;
    text-decoration: none;
}

body.generator-page .map-button,
body.generator-page .available-map-button,
body.generator-page .selected-map-button {
    display: grid;
    place-items: center;
    width: 100%;
    height: 42px;
    margin: 0;
    border-radius: var(--ui-radius);
    border: 1px solid var(--ui-line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ui-muted);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
    cursor: pointer;
}

body.generator-page .map-button::before,
body.generator-page .available-map-button::before,
body.generator-page .selected-map-button::before {
    content: none !important;
}

body.generator-page .selected-map-button {
    background: var(--ui-ocean);
    border-color: var(--ui-ocean);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 111, 127, 0.22);
}

.title-block h1 {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    color: var(--ui-ink);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.theBetterTitle {
    color: var(--ui-clay);
    font-size: 0.48em;
    line-height: 1.1;
    text-transform: uppercase;
}

.catanTitle,
.generatorTitle {
    display: block;
}

.mode-summary {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mode-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(15, 111, 127, 0.14);
    border-radius: var(--ui-radius);
    background: rgba(15, 111, 127, 0.07);
    color: var(--ui-ocean-dark);
    font-weight: 800;
}

.resource-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.resource-strip img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: var(--ui-radius);
    border: 1px solid rgba(25, 35, 45, 0.12);
    box-shadow: 0 10px 22px rgba(25, 35, 45, 0.10);
}

body.generator-page .inline-options {
    width: 100%;
    margin: 0;
    position: relative;
}

.primary-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
}

.secondary-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

body.generator-page .commonOpsbutton,
body.generator-page .commonShuffle,
body.generator-page .commonCapturebutton,
body.generator-page #btnReveal,
body.generator-page .analyticsMapBtn,
body.generator-page .shareMapUrl,
body.generator-page .ui-link-button,
body.generator-page .menuclosebutton {
    position: relative;
    width: auto;
    min-width: 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 14px;
    border-radius: var(--ui-radius);
    border: 1px solid var(--ui-line);
    background: var(--ui-panel-strong);
    color: var(--ui-ink);
    font: inherit;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(25, 35, 45, 0.08);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body.generator-page .commonShuffle {
    background: linear-gradient(135deg, var(--ui-clay), var(--ui-clay-dark));
    border-color: var(--ui-clay-dark);
    color: #fff;
    box-shadow: 0 12px 24px rgba(184, 70, 46, 0.24);
}

body.generator-page .commonOpsbutton,
body.generator-page .commonCapturebutton,
body.generator-page #btnReveal,
body.generator-page .ui-link-button {
    background: rgba(255, 255, 255, 0.82);
}

body.generator-page .analyticsMapBtn {
    background: var(--ui-ocean);
    border-color: var(--ui-ocean);
    color: #fff;
}

body.generator-page .analyticsMapBtn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

body.generator-page .shareMapUrl {
    background: rgba(63, 124, 82, 0.10);
    border-color: rgba(63, 124, 82, 0.24);
    color: #245433;
}

body.generator-page .shareMapUrl img {
    display: none !important;
}

body.generator-page .shareMapUrl::before {
    content: none;
}

body.generator-page .commonOpsbutton:hover,
body.generator-page .commonShuffle:hover,
body.generator-page .commonCapturebutton:hover,
body.generator-page #btnReveal:hover,
body.generator-page .analyticsMapBtn:hover:not(:disabled),
body.generator-page .shareMapUrl:hover,
body.generator-page .ui-link-button:hover,
body.generator-page .menuclosebutton:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(25, 35, 45, 0.13);
}

body.generator-page .commonOpsbutton:focus-visible,
body.generator-page .commonShuffle:focus-visible,
body.generator-page .commonCapturebutton:focus-visible,
body.generator-page #btnReveal:focus-visible,
body.generator-page .analyticsMapBtn:focus-visible,
body.generator-page .shareMapUrl:focus-visible,
body.generator-page .ui-link-button:focus-visible,
body.generator-page .map-button:focus-visible {
    outline: 3px solid rgba(233, 180, 76, 0.55);
    outline-offset: 2px;
}

body.generator-page #btnReveal.lettersVisible {
    border-color: rgba(184, 70, 46, 0.32);
    background: rgba(184, 70, 46, 0.08);
    color: var(--ui-clay-dark);
}

body.generator-page .map-loader {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: rgba(255, 255, 255, 0.70);
}

body.generator-page .map-loader label {
    margin: 0;
    padding: 0;
    font-weight: 850;
    color: var(--ui-ink);
}

body.generator-page #hashInput {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(25, 35, 45, 0.18);
    border-radius: var(--ui-radius);
    background: #fff;
    color: var(--ui-ink);
    box-shadow: none;
    font: inherit;
    font-weight: 750;
}

body.generator-page #hashInput:focus {
    border-color: var(--ui-ocean);
    box-shadow: 0 0 0 3px rgba(15, 111, 127, 0.14);
}

body.generator-page #hashInput::placeholder {
    color: #9aa7b2;
}

body.generator-page .map-tools > h2 {
    display: none;
}

body.generator-page .featurePromoStrip,
body.generator-page .analyticsFeatureBox {
    max-width: none;
    margin: 10px 0 0;
    padding: 12px;
    border-radius: var(--ui-radius);
    box-shadow: none;
    text-align: left;
}

body.generator-page .featurePromoStrip {
    border: 1px solid rgba(233, 180, 76, 0.42);
    background: rgba(233, 180, 76, 0.12);
    color: #5f4212;
}

body.generator-page .analyticsFeatureBox {
    border: 1px solid rgba(15, 111, 127, 0.16);
    background: rgba(15, 111, 127, 0.07);
}

body.generator-page .analyticsFeatureLead,
body.generator-page .analyticsFeatureText {
    margin: 0;
    color: var(--ui-ink);
}

body.generator-page .analyticsFeatureText {
    margin-top: 6px;
    font-size: 0.9rem;
}

body.generator-page .analyticsFeatureLink {
    color: var(--ui-ocean-dark);
    font-weight: 900;
}

.board-stage {
    --board-size: min(92vh, calc(100vw - 500px), 940px);
    min-height: 100vh;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    position: relative;
    background:
        linear-gradient(180deg, rgba(16, 112, 130, 0.14), rgba(16, 112, 130, 0.04)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 34px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 34px);
}

.mobile-board-actions {
    display: none;
}

body.generator-page #board {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: var(--board-size) !important;
    height: var(--board-size) !important;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    flex: 0 0 auto;
    filter: drop-shadow(0 22px 38px rgba(12, 48, 58, 0.16));
}

body.generator-page #board .border-normal {
    width: 99% !important;
    height: 85.7% !important;
}

body.generator-page #board .border-expanded {
    width: 109% !important;
    height: 104% !important;
}

/* The blue border provides the sea; do not cover it with the generated shore. */
body.generator-page #board #seaFrameLayer {
    display: none;
}

body.generator-page .font-size-wrap {
    font-size: clamp(1.2rem, 3.5vmin, 2.75rem);
}

body.generator-page .small-font-size-wrap {
    font-size: clamp(0.78rem, 2.2vmin, 1.65rem);
}

body.generator-page .circle-base {
    border: 1px solid rgba(37, 29, 20, 0.34);
    background: #fff4d8;
    box-shadow: inset 0 -2px 0 rgba(105, 73, 28, 0.16), 0 2px 8px rgba(38, 29, 20, 0.18);
}

body.generator-page .chit-number-base {
    color: #382514;
    letter-spacing: 0;
}

body.generator-page .prob-dots-base {
    letter-spacing: 0 !important;
    color: #70461d;
}

body.generator-page .high-prob .circle-base,
body.generator-page .high-prob-normal .circle-base {
    border-color: rgba(130, 26, 20, 0.52);
    box-shadow: inset 0 -2px 0 rgba(130, 26, 20, 0.16), 0 0 0 3px rgba(184, 70, 46, 0.16);
}

body.generator-page .high-prob,
body.generator-page .high-prob-normal,
body.generator-page .high-prob .chit-number-base,
body.generator-page .high-prob .prob-dots-base {
    color: #b01818;
}

body.generator-page .portOverlay {
    filter: drop-shadow(0 7px 10px rgba(19, 31, 42, 0.22));
}

body.generator-page #interactiveIntersectionInfo {
    max-width: none;
    margin: 0;
}

body.generator-page .interactiveIntersectionPanel,
body.generator-page #quickAnalyticsBox {
    border-radius: var(--ui-radius);
    border: 1px solid var(--ui-line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px rgba(19, 31, 42, 0.12);
}

body.generator-page #quickAnalyticsBox {
    position: relative;
    width: min(var(--board-size), 760px);
    max-width: 100%;
    margin: 0;
    padding: 14px 16px;
    text-align: left;
}

body.generator-page #popmenu {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(1);
    text-align: left;
    background: var(--ui-panel-strong);
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
    z-index: 1300;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

body.generator-page #popmenu.menuToggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 12px)) scale(0.98);
}

body.generator-page #popmenu:not(.menuToggle) {
    visibility: visible;
    opacity: 1;
}

body.generator-page #popmenu h2 {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ui-line);
    color: var(--ui-ink);
    font-size: 1.15rem;
    line-height: 1.2;
}

body.generator-page .settingswrap {
    position: relative;
    left: auto;
    width: 100%;
    max-height: none;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 20px 0;
    text-align: left;
}

body.generator-page .menu-row {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(25, 35, 45, 0.08);
}

body.generator-page .menu-row:last-of-type {
    border-bottom: 0;
}

body.generator-page .mylabel {
    float: none;
    color: var(--ui-ink);
    font-weight: 750;
    line-height: 1.3;
}

body.generator-page input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--ui-ocean);
}

body.generator-page select,
body.generator-page input[type="number"] {
    min-height: 38px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: #fff;
    color: var(--ui-ink);
    padding: 0 10px;
    font: inherit;
}

body.generator-page .settingViewToggle {
    display: none !important;
}

body.generator-page .menuclosebutton {
    position: sticky;
    bottom: 0;
    width: calc(100% + 40px);
    margin: 12px -20px 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--ui-ocean);
    color: #fff;
    box-shadow: none;
}

body.generator-page .mapCapture {
    background: rgba(8, 20, 27, 0.72);
    backdrop-filter: blur(6px);
}

body.generator-page .canva-wrapper {
    width: min(92vw, 940px);
    height: min(92vw, 92vh);
    max-width: none;
    max-height: none;
    background: transparent;
}

body.generator-page .canvas-map {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--ui-radius);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
}

body.generator-page .shareMapCapture {
    top: 2rem;
    left: 2rem;
    transform: none;
    border-radius: var(--ui-radius);
    background: #fff;
    padding: 8px;
}

body.generator-page .mapCaptureClose {
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: var(--ui-radius);
    background: rgba(255, 255, 255, 0.15);
}

body.generator-page .global-coffee-support {
    right: 18px;
    bottom: 18px;
    border-radius: var(--ui-radius);
    background: var(--ui-gold);
    color: #2d210f;
    box-shadow: 0 12px 24px rgba(19, 31, 42, 0.16);
}

.generator-page-main {
    min-height: 100vh;
}

.generator-seo-content {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 1.25rem;
    border-top: 1px solid rgba(25, 35, 45, 0.1);
    background:
        radial-gradient(circle at 8% 12%, rgba(233, 180, 76, .16), transparent 22%),
        radial-gradient(circle at 88% 24%, rgba(15, 111, 127, .12), transparent 20%),
        #fbfaf6;
}

.generator-seo-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.generator-breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--ui-muted);
    font-size: .9rem;
}

.generator-breadcrumb a {
    color: var(--ui-ocean-dark);
    font-weight: 800;
    text-decoration: none;
}

.generator-breadcrumb a:hover,
.generator-breadcrumb a:focus-visible,
.generator-seo-content a:hover,
.generator-seo-content a:focus-visible {
    color: var(--ui-clay-dark);
}

.generator-seo-intro {
    max-width: 820px;
}

.generator-seo-eyebrow {
    margin: 0 0 .65rem;
    color: var(--ui-clay-dark);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.generator-seo-intro h2,
.generator-seo-links h2 {
    margin: 0;
    color: var(--ui-ink);
    font-weight: 900;
    letter-spacing: -.03em;
}

.generator-seo-intro h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
}

.generator-seo-intro > p:last-child {
    margin: 1.2rem 0 0;
    color: var(--ui-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.generator-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.generator-seo-grid article,
.generator-seo-links {
    border: 1px solid rgba(25, 35, 45, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 38px rgba(19, 31, 42, .08);
}

.generator-seo-grid article {
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.generator-seo-grid h3 {
    margin: 0 0 .65rem;
    color: var(--ui-ink);
    font-size: 1.14rem;
    font-weight: 900;
}

.generator-seo-grid p,
.generator-seo-links p {
    margin: 0;
    color: var(--ui-muted);
    line-height: 1.7;
}

.generator-seo-links {
    margin-top: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.generator-seo-links h2 {
    margin-bottom: .7rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.generator-seo-links a {
    color: var(--ui-ocean-dark);
    font-weight: 850;
}

@media (max-width: 1120px) {
    .generator-app {
        grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
    }

    .board-stage {
        --board-size: min(90vh, calc(100vw - 430px), 820px);
    }
}

@media (max-width: 900px) {
    .generator-app {
        min-height: 100vh;
        display: block;
    }

    .control-panel {
        min-height: auto !important;
        max-height: none;
        overflow: visible;
        padding: 16px;
        border-right: 0;
        border-bottom: 1px solid var(--ui-line);
    }

    .panel-topline {
        margin-bottom: 18px;
    }

    .board-stage {
        --board-size: min(calc(100vw - 24px), 82vh);
        min-height: auto;
        padding: 12px 12px 82px;
    }

    .mobile-board-actions {
        position: sticky;
        top: max(8px, env(safe-area-inset-top));
        z-index: 20;
        width: min(calc(100vw - 24px), 560px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 6px;
        border: 1px solid rgba(25, 35, 45, .14);
        border-radius: 14px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 12px 28px rgba(19, 31, 42, .20);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-board-action {
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        border: 1px solid var(--ui-line);
        border-radius: 10px;
        background: #ffffff;
        color: var(--ui-ink);
        font: inherit;
        font-size: .88rem;
        font-weight: 850;
        line-height: 1.25;
    }

    .mobile-board-action.is-primary {
        border-color: var(--ui-clay-dark);
        background: linear-gradient(135deg, var(--ui-clay), var(--ui-clay-dark));
        color: #ffffff;
    }

    .mobile-board-action:disabled {
        opacity: .46;
    }

    .mobile-board-action:focus-visible {
        outline: 3px solid rgba(233, 180, 76, .72);
        outline-offset: 1px;
    }

    body.generator-page #board {
        max-height: none;
    }

    .resource-strip {
        display: none;
    }

    body.generator-page #quickAnalyticsBox {
        width: min(calc(100vw - 24px), 760px);
    }
}

@media (max-width: 620px) {
    .panel-topline {
        align-items: center;
        gap: 10px;
    }

    .generator-suite-nav > a,
.generator-suite-nav > button {
        min-height: 44px;
        padding: 8px 10px;
        font-size: .85rem;
    }

    .primary-actions,
    .secondary-actions {
        grid-template-columns: 1fr;
    }

    body.generator-page .map-loader {
        grid-template-columns: 1fr 1fr;
    }

    body.generator-page .map-loader label,
    body.generator-page #hashInput {
        grid-column: 1 / -1;
    }

    body.generator-page .shareMapUrl,
    body.generator-page .analyticsMapBtn {
        width: 100%;
    }

    .title-block h1 {
        font-size: clamp(1.9rem, 12vw, 2.8rem);
    }

    body.generator-page .featurePromoStrip,
    body.generator-page .analyticsFeatureBox {
        font-size: 0.9rem;
    }

    body.generator-page .analyticsFeatureText {
        display: none;
    }

    body.generator-page .global-coffee-support {
        right: 12px;
        bottom: 12px;
    }

    .generator-seo-grid {
        grid-template-columns: 1fr;
    }

    .generator-seo-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
/* The compact switcher shares its presentation with the public navbar.
 * Generator links occupy their own wrapping row, including on narrow sidebars. */
.generator-language-switcher { justify-self: end; }

/* Keep setup choice and sharing understandable without adding a long intro. */
body.generator-page .map-button {
    height: auto;
    min-height: 58px;
    gap: 5px;
    padding: 10px 6px;
    line-height: 1.2;
}

.map-button small {
    font-size: .76rem;
    font-weight: 600;
}

.map-links:focus-visible .map-button {
    outline: 3px solid var(--ui-gold);
    outline-offset: 2px;
}

.generator-benefit,
.generator-code-help,
.generator-share-status {
    margin: 10px 0 0;
    color: #465563;
    font-size: .9rem;
    line-height: 1.5;
}

.generator-help-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ui-ocean-dark) !important;
    font-size: .9rem;
    font-weight: 750;
    text-underline-offset: 3px;
}

.generator-share-status:empty,
#capture-share-status:empty {
    display: none;
}

body.generator-page .map-loader {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.generator-page .map-loader > label,
.map-code-entry {
    grid-column: 1 / -1;
}

.map-code-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

body.generator-page .map-code-entry #hashInput {
    grid-column: auto;
}

body.generator-page .load-map-button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: #fff;
    color: var(--ui-ocean-dark);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

#map-share-fallback {
    margin-top: 12px;
}

#map-share-fallback label {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
}

#map-share-link {
    width: 100%;
    min-height: 44px;
    padding: 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    font: inherit;
    font-size: 1rem;
}

.generator-quick-start {
    margin-top: 2rem;
}

#generator-quick-start {
    scroll-margin-top: 80px;
    font-size: 1.5rem;
}

.generator-start-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

.generator-start-steps li {
    border-top: 3px solid var(--ui-ocean);
    padding-top: 14px;
}

.generator-start-steps h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.generator-start-steps p {
    margin: 0;
    color: #465563;
    line-height: 1.65;
}

body.generator-page .mapCapture {
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 68px 16px 24px;
    overflow: auto;
}

body.generator-page .capture-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
}

body.generator-page .capture-actions a,
body.generator-page .capture-actions button,
body.generator-page .mapCaptureClose {
    min-height: 44px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: var(--ui-radius);
    background: #fff;
    color: var(--ui-ocean-dark);
    font: inherit;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

body.generator-page .capture-actions .shareMapCapture {
    position: static;
    transform: none;
    box-shadow: none;
}

body.generator-page .mapCaptureClose {
    position: absolute;
    top: 12px;
    right: 16px;
    left: auto;
    transform: none;
}

body.generator-page .canva-wrapper {
    position: relative;
    inset: auto;
    transform: none;
    display: flex;
    justify-content: center;
    width: min(100%, 940px);
    height: auto;
    min-height: 0;
}

body.generator-page .canvas-map {
    position: static;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 210px);
    object-fit: contain;
}

#capture-share-status {
    margin: 0;
    color: #fff;
    font-size: .95rem;
    text-align: center;
}

body.generator-page .load-map-button:focus-visible,
body.generator-page .mapCapture :focus-visible {
    outline: 3px solid var(--ui-gold);
    outline-offset: 3px;
}

@media (max-width: 620px) {
    .generator-start-steps {
        grid-template-columns: 1fr;
    }

    .title-block h1 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        line-height: 1.08;
    }

    .secondary-actions {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    /* Keep the three familiar board actions together on phones. */
    .primary-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.generator-page .primary-actions button,
    body.generator-page .map-loader button {
        height: auto;
        min-height: 44px;
        padding: 10px 6px;
        font-size: .85rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
}

/* Keep the same board actions within reach after scrolling or shuffling. */
.generator-suite-nav > button { font-family: inherit; cursor: pointer; }
.generator-suite-nav button:disabled,
[data-share-map]:disabled { opacity: .46; cursor: not-allowed; }

.generator-save-status {
    margin: 8px 0 0;
    color: var(--ui-ocean-dark);
    font-size: .85rem;
    line-height: 1.4;
}
.generator-save-status:empty { display: none; }
.retry-save-button {
    min-height: 44px;
    margin-top: 8px;
    padding: 8px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: #fff;
    color: var(--ui-ocean-dark);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.retry-save-button[hidden] { display: none; }
#title { scroll-margin-top: 8px; }

@media (max-width: 900px) {
    .mobile-board-context {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 0 4px;
        font-size: .8rem;
    }
    .mobile-board-context > span { flex-shrink: 0; color: var(--ui-muted); }
    .generator-setup-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        color: var(--ui-ocean-dark) !important;
        font-weight: 750;
        text-align: right;
        text-underline-offset: 3px;
    }
    .mobile-board-action { overflow-wrap: anywhere; }
}

.mobile-board-status { grid-column: 1 / -1; margin: 0; padding: 4px; font-size: .85rem; line-height: 1.4; color: var(--ui-ocean-dark); }
.mobile-board-status:empty { display: none; }
.mobile-board-actions .retry-save-button { grid-column: 1 / -1; margin-top: 0; }

/* Source: language-switcher.css */
.site-language-switcher {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #19333d;
}
.site-language-switcher > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 44px;
    padding: .45rem .6rem;
    border: 1px solid #bacdce;
    border-radius: 8px;
    background: #fff;
    color: #19333d;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    user-select: none;
}
.site-language-switcher > summary::-webkit-details-marker { display: none; }
.site-language-switcher > summary:hover { background: #edf5f4; }
.site-language-switcher :focus-visible { outline: 3px solid #cf9b30; outline-offset: 2px; }
.language-flag { display: block; flex: 0 0 24px; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px #19333d28; overflow: hidden; }
.language-code { font-size: .8rem; font-weight: 800; letter-spacing: .035em; }
.language-chevron { font-size: .85rem; line-height: 1; }
.site-language-list {
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;
    z-index: 1060;
    display: grid;
    width: max-content;
    min-width: 205px;
    max-width: min(270px, calc(100vw - 28px));
    max-height: min(70vh, 380px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem;
    border: 1px solid #bdcfd0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 28px #183c462b;
}
.site-language-switcher:not([open]) > .site-language-list { display: none; }
.site-language-list > a {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 44px;
    padding: .5rem .65rem;
    border-radius: 5px;
    color: #19333d;
    text-decoration: none;
    font-size: .9rem;
    line-height: 1.35;
    font-weight: 600;
}
.site-language-list > a:hover, .site-language-list > a:focus-visible { background: #edf5f4; color: #064958; }
.site-language-list > a[aria-current="page"] { background: #e4f0f0; font-weight: 800; }
.mod-navbar .mod-brand { min-width: 0; margin-right: auto; }
.mod-navbar .navbar-language-control { order: 2; margin-left: .5rem; flex: 0 0 auto; }
.mod-navbar .navbar-toggler { order: 3; margin-left: .5rem; min-width: 44px; min-height: 44px; }
.mod-navbar .navbar-collapse { order: 4; }
@media (min-width: 1200px) {
    .mod-navbar .navbar-collapse { order: 2; }
    .mod-navbar .navbar-language-control { order: 3; margin-left: 1rem; }
}
@media (max-width: 380px) {
    .mod-navbar .mod-brand { font-size: 1.1rem; }
    .mod-navbar .navbar-language-control, .mod-navbar .navbar-toggler { margin-left: .3rem; }
    .mod-navbar .navbar-toggler { padding-left: .45rem; padding-right: .45rem; }
}

/* Source: privacy-consent.css */
.privacy-consent-banner {
  position: fixed;
  z-index: 1100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(25, 35, 45, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #19232d;
  box-shadow: 0 18px 48px rgba(19, 31, 42, 0.24);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.privacy-consent-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.privacy-consent-copy strong {
  font-size: 0.96rem;
}

.privacy-consent-copy span {
  color: #607080;
}

.privacy-consent-copy a,
.cookie-settings-link {
  color: #0a4752;
  font-weight: 750;
}

.privacy-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.privacy-consent-actions button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(25, 35, 45, 0.18);
  border-radius: 6px;
  background: #fff;
  color: #19232d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.privacy-consent-actions .privacy-accept {
  border-color: #0f6f7f;
  background: #0f6f7f;
  color: #fff;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.privacy-links-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px auto;
  color: #607080;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
}

.privacy-links-bar a {
  color: #0a4752;
  font-weight: 750;
}

@media (max-width: 640px) {
  .privacy-consent-banner,
  .privacy-consent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-consent-banner {
    gap: 12px;
  }

  .privacy-consent-actions button {
    width: 100%;
  }
}

/* Source: css2 */
/* devanagari */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/teko-v20/devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
/* latin-ext */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/teko-v20/latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/teko-v20/latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/teko-v20/devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
/* latin-ext */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/teko-v20/latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/teko-v20/latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/teko-v20/devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
/* latin-ext */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/teko-v20/latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/teko-v20/latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/teko-v20/devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
/* latin-ext */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/teko-v20/latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/teko-v20/latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Source: android-promotion.css */
.android-promo {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: calc(100% - 2rem);
    max-width: 1080px;
    margin: 2rem auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid #b9d2cc;
    border-radius: 20px;
    background: linear-gradient(115deg, #edf6f2, #fff9e9);
    color: #203a34;
    text-align: left;
    font: 400 1rem/1.6 system-ui, sans-serif;
}
.android-promo-copy { min-width: 0; max-width: 660px; }
.android-promo p { margin: 0 0 .8rem; }
.android-promo .android-promo-eyebrow { color: #35675a; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.android-promo h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.25; color: #173e35; }
.android-promo .android-promo-name { font-weight: 700; }
.android-promo a.android-promo-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; box-sizing: border-box; padding: .7rem 1.2rem; border-radius: 10px; background: #174c40; color: #fff; text-decoration: none; font-weight: 700; }
.android-promo a.android-promo-link:hover { background: #0e392f; text-decoration: underline; }
.android-promo a.android-promo-link:focus-visible { outline: 3px solid #174c40; outline-offset: 4px; }
.android-promo-qr { display: none; flex: 0 0 180px; margin: 0; text-align: center; }
.android-promo-qr img { display: block; margin: 0 auto .6rem; background: #fff; width: 164px; height: 164px; }
.android-promo-qr figcaption { font-size: .8rem; line-height: 1.4; }
@media (min-width: 768px) { .android-promo-qr { display: block; } }
@media (max-width: 767.98px) { .android-promo a.android-promo-link { width: 100%; } }

