vanuatu/viewer/style.css

1720 lines
32 KiB
CSS

.vanuatu {
--ink: #244e53;
--muted: #718786;
--paper: #fcf8eb;
--gold: #b67738;
--line: #d3d4be;
color: var(--ink);
background: #f2f0e4;
font:
14px/1.45 system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
min-height: 100%;
isolation: isolate;
padding: 0 16px 20px;
box-sizing: border-box;
}
.vanuatu * {
box-sizing: border-box;
}
.vanuatu button,
.vanuatu select,
.vanuatu input {
font: inherit;
}
.vanuatu button {
color: inherit;
cursor: pointer;
border: 1px solid var(--line);
background: var(--paper);
border-radius: 7px;
padding: 7px 11px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
line-height: 1.25;
transition:
background 0.12s,
box-shadow 0.12s;
}
.vanuatu button:hover:not(:disabled) {
background: #fffdfa;
box-shadow: 0 2px 7px #193e4520;
}
.vanuatu button:disabled {
cursor: default;
opacity: 0.4;
}
.vanuatu button:focus-visible,
.vanuatu [role="button"]:focus-visible {
outline: 3px solid #bb773c;
outline-offset: 3px;
}
.vanuatu .icon {
width: 23px;
height: 23px;
flex: none;
vertical-align: middle;
}
.vanuatu .token {
display: inline-flex;
align-items: center;
gap: 3px;
vertical-align: middle;
white-space: nowrap;
}
.vanuatu .token b {
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.vanuatu .primary {
background: #245e62;
color: #fff9e8;
border-color: #245e62;
box-shadow: 0 2px 0 #173e3f;
padding: 9px 15px;
}
.vanuatu .primary:hover:not(:disabled) {
background: #327476;
}
.vanuatu .icon-button {
width: 37px;
height: 37px;
padding: 7px;
border: 0;
background: transparent;
}
.vanuatu .text-button {
background: transparent;
border: 0;
padding: 3px;
font-size: 12px;
}
.vanuatu a {
color: #276675;
text-underline-offset: 3px;
}
.vanuatu [hidden] {
display: none !important;
}
.vanuatu .game-header {
display: flex;
align-items: center;
gap: 24px;
max-width: 1500px;
margin: auto;
min-height: 77px;
}
.vanuatu .brand {
display: flex;
align-items: center;
gap: 13px;
}
.vanuatu .game-credits {
display: flex;
flex-direction: column;
font-size: 10px;
line-height: 1.6;
color: #597674;
white-space: nowrap;
}
.vanuatu .wordmark {
font:
bold 35px Georgia,
serif;
letter-spacing: -1.7px;
border: 0;
padding: 0;
background: none;
color: #26595c;
white-space: nowrap;
}
.vanuatu .round-track {
display: flex;
align-items: center;
gap: 7px;
margin-left: auto;
}
.vanuatu .round-track span {
width: 23px;
height: 23px;
border-radius: 50%;
display: grid;
place-items: center;
color: #7d918b;
font-size: 11px;
}
.vanuatu .round-track .current {
background: #285c60;
color: #ffedce;
font-weight: 750;
box-shadow: 0 0 0 3px #285c6020;
}
.vanuatu .round-track .past {
background: #dedecf;
}
.vanuatu .header-tools {
display: flex;
gap: 3px;
}
.vanuatu .header-tools button {
position: relative;
}
.vanuatu .header-tools .icon-button[aria-pressed="true"] {
background: #dce9d9;
box-shadow: inset 0 0 0 1px #6c9182;
}
.vanuatu .unread-badge {
position: absolute;
top: 0;
right: 0;
min-width: 15px;
height: 15px;
border-radius: 20px;
background: #c26138;
color: white;
font-size: 9px;
padding: 1px 3px;
}
.vanuatu .table {
display: grid;
grid-template-columns: 166px minmax(0, 1fr);
gap: 14px;
max-width: 1500px;
margin: auto;
align-items: stretch;
}
.vanuatu .action-dock {
display: flex;
flex-direction: column;
gap: 5px;
justify-content: center;
padding: 12px 0;
}
.vanuatu .action-dock > button {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 7px;
text-align: left;
min-height: 54px;
border: 0;
border-bottom: 1px solid #d1d4c5;
border-radius: 4px;
background: #e9e9d9;
padding: 6px 10px;
box-shadow: inset 3px 0 #a2b6a4;
}
.vanuatu .action-dock .action-symbol {
display: flex;
flex: 0 0 33px;
align-items: center;
}
.vanuatu .action-dock .action-symbol .icon {
height: 30px;
width: 30px;
}
.vanuatu .action-content {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 3px;
}
.vanuatu .action-stacks:empty {
display: none;
}
.vanuatu .action-label {
font-size: 11px;
font-weight: 650;
}
.vanuatu .action-stacks {
min-height: 15px;
display: flex;
gap: 3px;
align-items: center;
}
.vanuatu .action-dock > button:disabled,
.vanuatu .action-dock > button[aria-disabled="true"] {
opacity: 0.66;
}
.vanuatu .action-dock .available {
background: #fcf8e9;
box-shadow: inset 3px 0 #ae793f;
}
.vanuatu .action-dock .retrieve-only {
background: #fff0d8;
box-shadow: inset 3px 0 #ad5d16;
}
.vanuatu .retrieve-only-icon .icon {
width: 17px;
height: 17px;
color: #ad5d16;
}
.vanuatu .action-dock .chosen {
background: #f5d99f;
box-shadow:
inset 3px 0 #a16a28,
0 0 0 1px #a16a28;
}
.vanuatu .marker-stack {
display: inline-flex;
justify-content: center;
align-items: center;
min-width: 20px;
height: 16px;
background: var(--player);
color: #fff;
border-radius: 8px;
font-size: 10px;
font-weight: 750;
text-shadow: 0 1px 2px #0007;
border: 1px solid #fff9;
box-shadow: 0 2px 0 color-mix(in srgb, var(--player), #000 20%);
}
.vanuatu .marker-stack.majority {
outline: 1px solid #72552a;
outline-offset: 1px;
}
.vanuatu .marker-stack.neutral {
--player: #4b4b43;
}
.vanuatu .draft-marker {
color: #8f5c20;
font-weight: 800;
font-size: 12px;
}
.vanuatu .sea-board {
position: relative;
border: 1px solid #84b7b9;
border-radius: 18px;
background: #80c7d2;
overflow: hidden;
box-shadow: 0 6px 18px #254c4715;
min-width: 0;
}
.vanuatu .sea-board:before {
content: "";
position: absolute;
inset: 0;
background-image: var(--ocean);
background-size: 850px;
opacity: 0.75;
pointer-events: none;
}
.vanuatu .map-scroll {
position: relative;
width: 100%;
overflow: auto;
overscroll-behavior: auto;
scrollbar-width: thin;
min-height: 490px;
height: min(69vh, 740px);
padding: 65px 10px 83px;
}
.vanuatu .archipelago {
display: block;
width: 100%;
height: 100%;
overflow: visible;
min-height: 345px;
}
.vanuatu .map-scroll.zoomed .archipelago {
width: 1450px;
height: 900px;
min-height: 900px;
}
.vanuatu .cell-surface {
fill: #eafcf915;
stroke: #e8fff959;
stroke-width: 1;
stroke-dasharray: 4 5;
}
.vanuatu .cell-ring {
fill: none;
stroke: none;
stroke-width: 1;
pointer-events: none;
}
.vanuatu .cell-highlight {
fill: none;
stroke: none;
}
.vanuatu .map-cell.occupied .cell-ring {
stroke: #e8fff980;
}
.vanuatu .empty-label {
fill: #def6ed99;
font-size: 24px;
text-anchor: middle;
pointer-events: none;
}
.vanuatu .map-cell.legal {
cursor: pointer;
}
.vanuatu .cell-highlight.legal {
stroke: #fffbe0;
stroke-width: 4;
stroke-dasharray: 8 5;
}
.vanuatu .cell-highlight.legal.hovered,
.vanuatu .cell-highlight.selected {
stroke: #9c692c;
stroke-width: 5;
stroke-dasharray: none;
}
.vanuatu .tile-ghost {
opacity: 0.25;
}
.vanuatu .resource-n {
font-size: 18px;
font-weight: 700;
fill: #345257;
text-anchor: middle;
paint-order: stroke;
stroke: #fffbe3;
stroke-width: 1px;
}
.vanuatu .resource-badge .resource-n {
text-anchor: start;
}
.vanuatu .resource-badge svg {
pointer-events: none;
}
.vanuatu .color-symbol {
font-size: 15px;
font-weight: 700;
fill: #173d49;
text-anchor: middle;
paint-order: stroke;
stroke: #fffce8;
stroke-width: 2px;
}
.vanuatu .boat {
pointer-events: auto;
}
.vanuatu .boat.own {
filter: drop-shadow(0 0 3px #fffbe3);
}
.vanuatu .sea-dashboard {
position: absolute;
top: 12px;
left: 18px;
right: 18px;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
pointer-events: none;
}
.vanuatu .market-info {
display: flex;
flex-wrap: wrap;
gap: 13px;
background: #f6f4dfdb;
border: 1px solid #fff9;
padding: 7px 12px;
border-radius: 9px;
box-shadow: 0 2px 4px #38777518;
font-size: 12px;
}
.vanuatu .market-info > span {
display: flex;
align-items: center;
gap: 3px;
}
.vanuatu .demand-ships {
display: flex;
gap: 7px;
}
.vanuatu .demand-ships * {
pointer-events: none;
}
.vanuatu .demand-ship {
background: #faf1cfdf;
border: 1px solid #b7975c66;
border-radius: 5px 5px 17px 17px;
display: flex;
align-items: center;
padding: 4px 8px;
gap: 2px;
}
.vanuatu .demand-ship > small {
margin-right: 3px;
opacity: 0.6;
font-size: 9px;
}
.vanuatu .demand-ship > span {
position: relative;
}
.vanuatu .demand-ship .icon {
width: 21px;
height: 21px;
}
.vanuatu .demand-ship .filled > .icon:first-child {
opacity: 0.23;
}
.vanuatu .demand-ship .filled > .icon:last-child {
position: absolute;
inset: 0;
color: #356658;
}
.vanuatu .map-tools {
display: flex;
gap: 5px;
position: absolute;
left: 10px;
bottom: calc(var(--tray-height, 73px) + 12px);
z-index: 2;
}
.vanuatu .map-tools button {
background: #fff8dfcf;
}
.vanuatu .map-tools button[aria-pressed="true"] {
background: #fff8df;
box-shadow: inset 0 0 0 2px #356658;
}
.vanuatu .sea-dashboard > * {
pointer-events: auto;
}
.vanuatu .upcoming {
padding: 0;
border: 0;
background: transparent;
position: absolute;
right: 13px;
bottom: calc(var(--tray-height, 73px) + 14px);
display: flex;
gap: 0;
}
.vanuatu .upcoming > .icon {
position: absolute;
right: 0;
bottom: 0;
width: 18px;
height: 18px;
padding: 2px;
background: #fff8df;
border-radius: 50%;
}
.vanuatu .upcoming-details {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
width: 540px;
max-width: 100%;
}
.vanuatu .tile-preview {
flex: 0 1 260px;
max-width: 100%;
background: #dcebea;
border-radius: 12px;
}
.vanuatu .tile-preview .tile-art {
display: block;
width: 100%;
height: 260px;
min-height: 0;
}
.vanuatu .upcoming img {
width: 57px;
height: 57px;
object-fit: contain;
filter: drop-shadow(0 2px 2px #163d4a44);
}
.vanuatu .turn-tray {
position: absolute;
bottom: 0;
left: 0;
right: 0;
min-height: 73px;
max-height: 235px;
overflow: auto;
background: #fff9e8f5;
border-top: 1px solid #d5bd8a;
box-shadow: 0 -4px 18px #31555815;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
padding: 12px 18px;
z-index: 3;
}
.vanuatu .tray-title {
font-weight: 650;
font-size: 13px;
display: flex;
align-items: center;
gap: 8px;
}
.vanuatu .tray-title small {
font-weight: 400;
color: var(--muted);
}
.vanuatu .turn-dot {
width: 9px;
height: 9px;
border-radius: 50%;
}
.vanuatu .draft-slots {
display: flex;
gap: 6px;
}
.vanuatu .draft-slot {
display: grid;
place-items: center;
width: 35px;
height: 35px;
border: 1px dashed #c7b180;
border-radius: 7px;
background: #f5e8c5;
color: #beae84;
}
.vanuatu .draft-slot .icon {
height: 26px;
width: 26px;
}
.vanuatu .move-options {
display: flex;
flex-wrap: wrap;
gap: 7px;
align-items: center;
}
.vanuatu .move-option {
font-size: 12px;
}
.vanuatu .move-option .token {
gap: 2px;
}
.vanuatu .move-option .icon {
height: 24px;
width: 24px;
}
.vanuatu .bonus-switch {
display: flex;
align-items: center;
gap: 5px;
font-size: 11px;
}
.vanuatu input[type="checkbox"] {
accent-color: #29666a;
}
.vanuatu .pick-hint {
font-size: 12px;
color: #7b785f;
}
.vanuatu .character-tray {
display: block;
text-align: left;
padding: 10px 15px;
}
.vanuatu .character-tray .tray-title {
margin-bottom: 7px;
}
.vanuatu .character-choices {
display: flex;
overflow: auto;
gap: 8px;
padding-bottom: 4px;
}
.vanuatu .character-choice {
display: grid;
grid-template-columns: 43px 1fr;
grid-template-rows: auto auto;
column-gap: 8px;
row-gap: 3px;
flex: 0 0 178px;
min-height: 87px;
text-align: left;
align-items: start;
padding: 7px;
background: #fcf7e3;
}
.vanuatu .character-choice img {
width: 43px;
height: 60px;
object-fit: cover;
border-radius: 50% 50% 6px 6px;
grid-row: 1/3;
align-self: center;
}
.vanuatu .character-choice strong {
font-size: 12px;
}
.vanuatu .character-choice span {
font-size: 10px;
color: #778078;
line-height: 1.35;
}
.vanuatu .tile-choices {
display: flex;
gap: 4px;
}
.vanuatu .tile-choices button {
padding: 0;
border: 2px solid transparent;
background: none;
}
.vanuatu .tile-choices button[aria-pressed="true"] {
border-color: #b17734;
background: #f8e1ad;
}
.vanuatu .tile-choices img {
width: 57px;
height: 57px;
object-fit: contain;
}
.vanuatu .players {
max-width: 1500px;
margin: 15px auto 0;
display: flex;
gap: 11px;
align-items: stretch;
}
.vanuatu .player-card {
position: relative;
flex: 1;
min-width: 0;
background: #f9f6e9;
border: 1px solid #d5d8c5;
border-radius: 9px;
padding: 10px 12px 8px;
border-top: 3px solid var(--player);
}
.vanuatu .player-card.active {
box-shadow: 0 0 0 2px var(--player);
}
.vanuatu .player-name {
display: flex;
align-items: center;
gap: 5px;
}
.vanuatu .profile {
border: 0;
background: none;
font-size: 12px;
font-weight: 650;
padding: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-flex;
min-width: 0;
max-width: 160px;
}
.vanuatu .player-card .profile {
color: color-mix(in srgb, var(--player) 60%, black);
}
.vanuatu .player-supplies .icon-build {
color: var(--player);
}
.vanuatu .score {
margin-left: auto;
font-size: 17px;
}
.vanuatu .profile > span {
overflow: hidden;
text-overflow: ellipsis;
}
.vanuatu .player-avatar {
width: 24px;
height: 24px;
flex: 0 0 auto;
object-fit: cover;
border-radius: 50%;
}
.vanuatu .chat-panel .chat-author[data-bgs-player] {
/* Darken the player palette for readable names on the cream chat surface. */
color: color-mix(in srgb, var(--chat-player-color, #244e53) 60%, black);
}
.vanuatu .chat-panel .chat-author {
display: inline-flex;
align-items: baseline;
gap: 5px;
vertical-align: baseline;
}
.vanuatu .chat-panel .player-avatar {
align-self: center;
width: 20px;
height: 20px;
}
.vanuatu .score .icon {
height: 24px;
width: 24px;
}
.vanuatu .player-supplies {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 9px;
margin-top: 7px;
font-size: 12px;
}
.vanuatu .player-supplies .icon {
width: 21px;
height: 21px;
}
.vanuatu .hand {
display: flex;
gap: 2px;
}
.vanuatu .character-owned {
display: flex;
width: 100%;
margin-top: 8px;
gap: 6px;
background: #ededdc;
padding: 3px 8px 3px 3px;
border: 0;
border-radius: 20px;
font-size: 10px;
justify-content: flex-start;
}
.vanuatu .character-owned img {
width: 25px;
height: 25px;
object-fit: cover;
object-position: 50% 20%;
border-radius: 50%;
}
.vanuatu .character-owned > span {
flex: 1;
text-align: left;
}
.vanuatu .character-owned > .icon {
height: 20px;
width: 20px;
}
.vanuatu .character-owned.used {
opacity: 0.55;
}
.vanuatu .free-actions {
display: flex;
gap: 5px;
margin-top: 4px;
}
.vanuatu .free-actions:empty {
display: none;
}
.vanuatu .free-actions button {
padding: 2px 6px;
background: transparent;
}
.vanuatu .free-actions .icon {
height: 18px;
width: 18px;
}
.vanuatu .play-footer {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1500px;
margin: 10px auto 17px;
color: #839083;
font-size: 10px;
}
.vanuatu .play-footer .icon {
height: 18px;
width: 18px;
}
.vanuatu .help-dialog {
border: 1px solid #ccbc94;
border-radius: 14px;
padding: 27px 30px;
max-width: min(770px, calc(100vw - 24px));
max-height: 87dvh;
overflow: auto;
color: var(--ink);
background: var(--paper);
box-shadow: 0 15px 70px #173c4660;
}
.vanuatu .help-dialog::backdrop {
background: #193d467d;
backdrop-filter: blur(3px);
}
.vanuatu .dialog-close {
position: sticky;
top: -17px;
float: right;
background: var(--paper);
z-index: 2;
}
.vanuatu .help-dialog h2 {
font-family: Georgia, serif;
font-size: 25px;
margin-top: 0;
}
.vanuatu .help-dialog h3 {
font-size: 14px;
margin-bottom: 5px;
}
.vanuatu .help-dialog p {
margin: 5px 0 15px;
font-size: 13px;
line-height: 1.65;
}
.vanuatu .rules .icon {
width: 21px;
height: 21px;
}
.vanuatu .preferences {
display: flex;
flex-wrap: wrap;
gap: 15px;
font-size: 12px;
padding: 0 0 15px;
border-bottom: 1px solid var(--line);
}
.vanuatu select {
background: #fff9e8;
border: 1px solid var(--line);
color: var(--ink);
border-radius: 6px;
padding: 4px;
}
.vanuatu .character-detail {
display: flex;
align-items: center;
gap: 23px;
}
.vanuatu .character-detail img {
width: 125px;
height: 170px;
object-fit: cover;
border-radius: 55% 55% 15px 15px;
}
.vanuatu .character-detail p {
max-width: 320px;
}
.vanuatu .island-detail {
display: flex;
gap: 20px;
align-items: center;
}
.vanuatu .island-detail img {
width: 180px;
max-width: 45%;
}
.vanuatu .final-scores > div {
display: flex;
gap: 15px;
align-items: center;
border-left: 4px solid var(--player);
padding: 10px;
margin: 8px 0;
background: #ececd9;
}
.vanuatu .final-scores small {
font-size: 10px;
}
.vanuatu .feedback {
position: fixed;
top: 15px;
left: 50%;
transform: translateX(-50%);
max-width: 90vw;
padding: 13px;
background: #fff4e3;
border: 1px solid #b66e45;
color: #87472f;
border-radius: 8px;
z-index: 100;
}
.vanuatu .activity {
--activity-height: 280px;
max-width: 1500px;
margin: 0 auto;
border: 1px solid #d4d8c5;
border-radius: 11px;
background: #faf7ec;
overflow: hidden;
}
.vanuatu .activity > header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 15px;
border-bottom: 1px solid var(--line);
}
.vanuatu .activity.split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.vanuatu .activity.split > header {
grid-column: 1 / -1;
position: relative;
}
.vanuatu .activity.split .activity-tabs {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
}
.vanuatu .activity.split [data-tab] {
justify-self: start;
}
.vanuatu .activity.split [data-back] {
position: absolute;
right: 15px;
}
.vanuatu .activity.split .journal-panel {
border-right: 1px solid var(--line);
}
.vanuatu .activity .activity-tabs {
display: flex;
gap: 15px;
}
.vanuatu .activity [data-tab] {
border: 0;
background: none;
padding: 6px 1px;
font-size: 12px;
border-radius: 0;
border-bottom: 2px solid transparent;
}
.vanuatu .activity [aria-selected="true"] {
border-bottom-color: #377a78;
}
.vanuatu .activity [data-tab] .icon {
height: 20px;
width: 20px;
}
.vanuatu .event-list {
margin: 0;
padding: 12px 20px;
height: 100%;
overflow: auto;
overscroll-behavior: auto;
scrollbar-width: thin;
list-style: none;
}
.vanuatu .event-list li {
display: flex;
align-items: center;
gap: 5px;
min-height: 32px;
font-size: 12px;
border-bottom: 1px solid #dce0cc60;
flex-wrap: wrap;
}
.vanuatu .event-list li > small:first-child {
min-width: 18px;
color: #9b9a7e;
font-size: 10px;
}
.vanuatu .event-list .icon {
height: 23px;
width: 23px;
}
.vanuatu .journal-panel,
.vanuatu .chat-panel {
height: var(--activity-height);
}
.vanuatu .chat-panel {
--chat-background: #faf7ec;
--chat-color: #244e53;
--chat-border: #d4d8c5;
}
.vanuatu .chat-panel details {
border: 0;
box-shadow: none;
background: none;
margin: 0;
max-width: none;
width: 100%;
height: 100%;
padding: 0;
color: var(--ink);
}
.vanuatu .chat-panel summary {
display: none;
}
.vanuatu .chat-body {
display: flex;
flex-direction: column;
height: var(--activity-height);
padding: 8px 15px 10px;
min-height: 0;
}
.vanuatu .chat-panel .chat-messages {
flex: 1;
max-height: none;
min-height: 0;
overscroll-behavior: auto;
}
.vanuatu .chat-panel input {
background: #fffdf5;
color: var(--ink);
border-color: var(--line);
}
.vanuatu .chat-shortcut {
position: fixed;
top: 100px;
left: 8px;
z-index: 20;
background: #fff6db;
border: 2px solid #b98041;
box-shadow: 0 3px 12px #173d4933;
}
.vanuatu .unread {
font-size: 10px;
border-radius: 20px;
background: #b7773b;
color: white;
padding: 2px 5px;
}
.vanuatu:fullscreen {
overflow: auto;
}
.vanuatu .loading {
padding: 100px;
text-align: center;
}
.preview-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 7px;
background: #dfe7de;
font: 12px system-ui;
color: #355c5d;
}
.preview-controls button,
.preview-controls select {
font: inherit;
background: #f6f5e8;
color: inherit;
border: 1px solid #abbfb4;
border-radius: 4px;
padding: 4px 8px;
}
body {
margin: 0;
}
html:has(.vanuatu),
body:has(.vanuatu) {
background: #f2f0e4;
}
@media (min-width: 1550px) {
.vanuatu .map-scroll {
height: min(73vh, 800px);
}
}
@media (max-width: 1050px) {
.vanuatu .game-header {
gap: 12px;
}
.vanuatu .brand {
gap: 10px;
}
.vanuatu .round-track {
flex: 1;
min-width: 0;
max-width: 233px;
gap: 2px;
}
.vanuatu .round-track span {
flex: 1;
min-width: 10px;
max-width: 23px;
}
.vanuatu .table {
grid-template-columns: 127px minmax(0, 1fr);
gap: 10px;
}
.vanuatu .action-dock > button {
padding: 5px 7px;
}
.vanuatu .action-dock .action-symbol {
flex-basis: 26px;
}
.vanuatu .action-dock .action-symbol .icon {
width: 26px;
height: 26px;
}
.vanuatu .marker-stack {
min-width: 16px;
font-size: 9px;
}
.vanuatu .sea-dashboard {
left: 10px;
right: 10px;
}
.vanuatu .demand-ship {
padding: 4px;
}
.vanuatu .demand-ship > .icon {
display: none;
}
.vanuatu .players {
gap: 8px;
overflow: auto;
padding: 2px 2px 5px;
}
.vanuatu .player-card {
min-width: 190px;
}
.vanuatu .map-scroll {
height: 65vh;
min-height: 520px;
padding-top: 77px;
}
.vanuatu .market-info {
gap: 6px;
padding: 5px 7px;
}
.vanuatu .turn-tray {
gap: 8px;
padding: 10px;
}
.vanuatu .character-choice {
flex-basis: 167px;
}
}
@media (max-width: 700px) {
.vanuatu {
padding: 0 8px 20px;
}
.vanuatu .game-header {
min-height: 65px;
gap: 8px;
flex-wrap: wrap;
padding: 8px 3px;
}
.vanuatu .wordmark {
font-size: 29px;
}
.vanuatu .header-tools {
margin-left: auto;
}
.vanuatu .header-tools .icon-button {
width: 32px;
height: 32px;
padding: 6px;
}
.vanuatu .round-track {
order: 3;
justify-content: center;
flex-basis: 100%;
max-width: none;
gap: 15px;
}
.vanuatu .round-track span {
height: 18px;
width: 18px;
font-size: 10px;
}
.vanuatu .table {
display: flex;
flex-direction: column;
gap: 8px;
}
.vanuatu .game-credits {
display: none;
}
.vanuatu .action-dock {
flex-direction: row;
justify-content: stretch;
gap: 4px;
padding: 0;
overflow: auto;
scrollbar-width: thin;
order: 0;
}
.vanuatu .action-dock > button {
flex: 1 0 58px;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
min-height: 74px;
padding: 4px;
box-shadow: inset 0 3px #a2b6a4;
}
.vanuatu .action-content {
align-items: center;
}
.vanuatu .action-dock .action-symbol {
flex-basis: auto;
}
.vanuatu .action-dock .available {
box-shadow: inset 0 3px #ae793f;
}
.vanuatu .action-dock .retrieve-only {
box-shadow: inset 0 3px #ad5d16;
}
.vanuatu .action-dock .chosen {
box-shadow:
inset 0 3px #a16a28,
0 0 0 1px #a16a28;
}
.vanuatu .action-label {
font-size: 9px;
white-space: nowrap;
}
.vanuatu .action-stacks {
gap: 2px;
min-height: 14px;
max-width: 60px;
flex-wrap: wrap;
}
.vanuatu .marker-stack {
min-width: 13px;
height: 13px;
font-size: 8px;
}
.vanuatu .sea-board {
border-radius: 12px;
}
.vanuatu .map-scroll {
height: 57vh;
min-height: 430px;
padding: 80px 0 104px;
}
.vanuatu .archipelago {
min-height: 245px;
}
.vanuatu .sea-dashboard {
top: 8px;
flex-wrap: wrap;
justify-content: center;
gap: 5px;
}
.vanuatu .market-info {
font-size: 10px;
gap: 12px;
padding: 3px 9px;
background: #fff7dbb5;
}
.vanuatu .market-info .icon {
width: 19px;
height: 19px;
}
.vanuatu .demand-ships {
gap: 4px;
}
.vanuatu .demand-ship {
padding: 3px 5px;
}
.vanuatu .demand-ship .icon {
width: 17px;
height: 17px;
}
.vanuatu .turn-tray {
min-height: 95px;
max-height: 195px;
gap: 7px;
padding: 8px;
align-content: center;
}
.vanuatu .tray-title {
font-size: 12px;
}
.vanuatu .character-tray .tray-title {
margin-bottom: 5px;
}
.vanuatu .character-choice {
min-height: 78px;
flex-basis: 164px;
}
.vanuatu .character-choice img {
height: 54px;
width: 39px;
}
.vanuatu .map-tools {
bottom: calc(var(--tray-height, 95px) + 12px);
left: 6px;
}
.vanuatu .upcoming {
bottom: calc(var(--tray-height, 95px) + 11px);
right: 7px;
}
.vanuatu .upcoming img {
width: 37px;
height: 37px;
}
.vanuatu .players {
margin-top: 10px;
gap: 8px;
scroll-snap-type: x proximity;
}
.vanuatu .player-card {
flex: 0 0 215px;
scroll-snap-align: start;
}
.vanuatu .play-footer {
margin: 6px auto 12px;
}
.vanuatu .activity {
--activity-height: 260px;
border-radius: 8px;
}
.vanuatu .activity > header {
padding: 6px 10px;
}
.vanuatu .event-list {
padding: 9px 12px;
}
.vanuatu .help-dialog {
padding: 20px 17px;
}
.vanuatu .help-dialog h2 {
font-size: 22px;
}
.vanuatu .character-detail {
gap: 15px;
}
.vanuatu .character-detail img {
width: 85px;
height: 120px;
}
.vanuatu .island-detail {
gap: 9px;
}
.vanuatu .bonus-switch {
font-size: 10px;
}
.vanuatu .move-option {
font-size: 11px;
padding: 7px 9px;
}
.vanuatu .move-option .icon {
width: 21px;
height: 21px;
}
.preview-controls {
flex-wrap: wrap;
gap: 5px;
font-size: 10px;
}
}
@media (prefers-reduced-motion: reduce) {
.vanuatu * {
transition: none !important;
scroll-behavior: auto !important;
}
}
.vanuatu .sea-board:before {
opacity: 0.21;
background-size: 520px;
}
.vanuatu .archipelago {
overflow: hidden;
}
.vanuatu .map-scroll {
padding-bottom: 145px;
}
.vanuatu .sea-board:has(.character-tray) .map-scroll {
padding-bottom: 158px;
}
.vanuatu .map-cell image {
pointer-events: none;
}
.vanuatu .map-cell:not(.legal) .cell-surface {
stroke: #e2fff830;
}
.vanuatu .archipelago.overview {
transform: translateY(-28px);
}
.vanuatu .archipelago.overview .map-cell:not(.occupied) .cell-surface {
stroke: #28697388;
stroke-width: 1;
vector-effect: non-scaling-stroke;
}
@media (max-width: 700px) {
.vanuatu .map-scroll {
padding-bottom: 125px;
}
.vanuatu .sea-board:has(.character-tray) .map-scroll {
padding-bottom: 166px;
}
.vanuatu .archipelago {
min-height: 200px;
}
.vanuatu .character-choice {
min-height: 84px;
}
}
.vanuatu-tutorial {
padding: 12px 16px 0;
background: #f2f0e4;
color: #244e53;
font: 14px/1.5 system-ui;
}
.vanuatu-tutorial .bgs-tutorial-guide {
background: #fcf8eb !important;
border-color: #c9d3b6 !important;
color: #244e53 !important;
border-radius: 9px !important;
}
.vanuatu-tutorial button {
background: #edf0de !important;
color: #244e53 !important;
border-color: #cad2b8 !important;
}
.vanuatu-tutorial .bgs-tutorial-body {
font-size: 13px;
}
/* The protocol supplies semantic controls; the viewer supplies their layout. */
.vanuatu-tutorial,
.vanuatu-tutorial * {
box-sizing: border-box;
}
.vanuatu-tutorial .bgs-tutorial-guide {
min-width: 0;
padding: 14px 18px;
border: 1px solid #c9d3b6;
}
.vanuatu-tutorial .bgs-tutorial-heading,
.vanuatu-tutorial .bgs-tutorial-controls,
.vanuatu-tutorial .bgs-tutorial-playback,
.vanuatu-tutorial .bgs-tutorial-help {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.vanuatu-tutorial .bgs-tutorial-heading,
.vanuatu-tutorial .bgs-tutorial-controls {
justify-content: space-between;
}
.vanuatu-tutorial .bgs-tutorial-heading strong {
flex: 1 1 180px;
min-width: 0;
}
.vanuatu-tutorial .bgs-tutorial-body p {
margin: 12px 0;
max-width: 85ch;
overflow-wrap: anywhere;
}
.vanuatu-tutorial .bgs-tutorial-body p:empty {
display: none;
}
.vanuatu-tutorial button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 36px;
padding: 6px 10px;
border: 1px solid #cad2b8;
border-radius: 6px;
font: inherit;
cursor: pointer;
}
.vanuatu-tutorial button:disabled {
opacity: 0.4;
cursor: default;
}
.vanuatu-tutorial button:focus-visible {
outline: 2px solid #ae793f;
outline-offset: 2px;
}
.vanuatu-tutorial button:hover:not(:disabled) {
background: #e0e7cc !important;
}
.vanuatu-tutorial .bgs-tutorial-transport {
min-width: 36px;
}
.vanuatu-tutorial button svg {
flex-shrink: 0;
}
.vanuatu-tutorial [hidden] {
display: none !important;
}
.vanuatu-tutorial .bgs-tutorial-body > small {
display: block;
margin-top: 9px;
color: #6c8075;
font-size: 11px;
}
@media (max-width: 700px) {
.vanuatu-tutorial {
padding: 8px 8px 0;
}
.vanuatu-tutorial .bgs-tutorial-guide {
padding: 12px;
}
.vanuatu-tutorial button {
min-height: 40px;
}
}
.vanuatu .expand-help {
flex-basis: 100%;
margin: 4px 0;
font-size: 12px;
line-height: 1.45;
}
.vanuatu .expand-help summary {
cursor: pointer;
padding: 6px 0;
}
.vanuatu .retrieval-help {
flex-basis: 100%;
margin: 4px 0;
font-size: 12px;
line-height: 1.5;
}
.vanuatu .event-list .round-divider {
margin-top: 12px;
padding: 8px 0;
border-bottom: 1px solid var(--line);
border-top: 1px solid var(--line);
}
.vanuatu .event-character {
width: 32px;
height: 40px;
object-fit: cover;
border-radius: 4px;
}
.vanuatu .event-tile {
width: 82px;
display: inline-flex;
}
.vanuatu .event-tile svg {
width: 100%;
height: 72px;
}
.vanuatu .event-explanation {
flex-basis: 100%;
font-size: 11px;
line-height: 1.4;
}
.vanuatu .event-list li {
flex-wrap: wrap;
}
.vanuatu .retrieve-warning {
background: #fff0d8;
border: 2px solid #ad5d16;
color: #743d0d;
font-weight: 700;
}
.vanuatu .retrieve-warning:hover:not(:disabled) {
background: #ffe0ac;
}
.vanuatu .retrieval-tray {
border-left: 4px solid #ad5d16;
}
.vanuatu .retrieval-tray .tray-title {
color: #743d0d;
}
.vanuatu .rest-bonuses {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.vanuatu .rest-bonuses > span {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: 999px;
background: #f0eddd;
}
/* The journal separates intentions (markers) from the actions they pay for. */
.vanuatu .event-list .phase-divider {
padding: 6px 8px;
margin-top: 8px;
background: #e5ece2;
border-left: 3px solid #568d88;
border-bottom: 0;
border-radius: 3px;
font-size: 11px;
gap: 7px;
}
.vanuatu .phase-divider > span {
margin-left: auto;
font-variant-numeric: tabular-nums;
}
.vanuatu .event-list .journal-event {
padding: 6px 0;
gap: 5px 8px;
}
.vanuatu .event-main,
.vanuatu .event-verb,
.vanuatu .event-details,
.vanuatu .event-context,
.vanuatu .event-totals,
.vanuatu .event-first {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 5px;
}
.vanuatu .event-main {
flex-basis: auto;
gap: 4px 8px;
}
.vanuatu .event-player {
overflow-wrap: anywhere;
}
.vanuatu .event-verb {
font-weight: 500;
}
.vanuatu .event-chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 5px;
border: 1px solid var(--line);
border-radius: 5px;
background: var(--paper);
line-height: 1.4;
}
.vanuatu .event-gain {
color: #356a43;
}
.vanuatu .event-cost {
color: #97502d;
}
.vanuatu .event-context {
color: var(--muted);
font-size: 10px;
}
.vanuatu .event-totals {
flex-basis: 100%;
color: var(--muted);
font-size: 10px;
gap: 4px 8px;
}
.vanuatu .event-totals .icon {
width: 19px;
height: 19px;
}
.vanuatu .event-coordinate {
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.vanuatu .event-role {
display: inline-flex;
}
.vanuatu .event-role .event-character {
width: 22px;
height: 28px;
}
.vanuatu .event-select-character .event-role .event-character {
width: 32px;
height: 40px;
}
.vanuatu .event-first {
margin-left: auto;
font-size: 11px;
}
.vanuatu .event-list .round-divider {
background: var(--paper);
}