/* Personal island: management panel, construction countdowns, entry button. */
.island-toggle {position:fixed;left:22px;bottom:78px;z-index:45;font:700 18px Rajdhani,sans-serif;color:#403c38;padding:8px 16px;cursor:pointer;border:0;--bs:1px}
.island-toggle[aria-expanded=true] {background:#bce6f5}
.island-panel {position:fixed;left:22px;bottom:130px;z-index:46;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 230px);overflow:auto;padding:14px 16px 16px;color:#403c38;font:600 15px/1.35 Rajdhani,sans-serif;--bs:1px}
.island-panel :is(button,input) {font-family:Rajdhani,sans-serif}
.island-panel-head {display:flex;align-items:center;gap:8px}
.island-name {border:0;background:transparent;font:700 23px Rajdhani,sans-serif;color:#2f2a26;cursor:pointer;padding:0;text-align:left;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.island-name:hover {text-decoration:underline dotted}
.island-badge {font-size:12px;letter-spacing:.04em;text-transform:uppercase;background:#f1e2c3;border-radius:999px;padding:2px 8px;color:#7a5c36}
.island-close {border:0;background:transparent;font:700 26px/1 sans-serif;color:#6d625a;cursor:pointer;padding:0 4px}
.island-price {margin:6px 0 2px}
.island-price small,.island-hint {color:#7a6f66;font-size:13px}
.island-hint-line {display:block}
/* Wallet game: a reserved or submitted payment waits in Tokens before the next one. */
.island-payment {display:flex;align-items:center;gap:8px;margin:6px 0 2px}
.island-payment .island-action {flex:none;margin:0}
.island-panel .transaction-status {margin:8px 0 2px}
.island-section {border-top:1px dashed #d6c5a7;margin-top:10px;padding-top:8px}
.island-section h3 {margin:0 0 6px;font-size:14px;letter-spacing:.05em;text-transform:uppercase;color:#8a6a45}
.island-line {margin:0 0 6px}
.island-meter {height:10px;border-radius:5px;background:#e8dfcf;overflow:hidden;margin:2px 0 8px}
.island-meter i {display:block;height:100%;background:#6bbedf;border-radius:5px;transition:width .3s}
.island-meter.over i {background:#d8532c}
.island-action,.island-plot-actions button,.island-clock-buttons button {border:2px solid #cb985c;background:#ffc67b;border-radius:6px;font:700 15px Rajdhani,sans-serif;color:#3c2f22;padding:5px 10px;cursor:pointer}
.island-action {display:block;margin:4px 0}
.island-panel button:disabled {opacity:.5;cursor:not-allowed}
.island-plot {display:grid;grid-template-columns:auto 1fr;grid-template-areas:"name info" "actions actions";gap:2px 10px;padding:7px 0;border-top:1px solid #efe4d2}
.island-plot:first-of-type {border-top:0}
.island-plot strong {grid-area:name}
.island-plot > span {grid-area:info;color:#6d625a}
.island-plot > .island-plot-actions,.island-plot > .island-action {grid-area:actions;display:flex;gap:6px;margin:4px 0 0}
.island-plot[data-kind=locked] {opacity:.72}
.island-plot.focused {background:#fff4d9;border-radius:6px;padding-left:6px}
/* Upgrade economy (4 Oct 2026): builder prices grow with the island's hash record; the formula on hover. */
.island-price-grows {margin:2px 0 4px;cursor:help}
.island-plot > span[title] {cursor:help}
.island-clock-buttons {display:flex;gap:6px;margin-top:6px}
/* Rewards (island-rewards.mjs): a live claimable total, today's limit and one Claim. */
.island-reward-total {display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0 0 2px}
.island-reward-label {flex-basis:100%;font-size:13px;color:#7a6f66}
.island-reward-amount {font-size:24px;line-height:1.15;color:#2f7d4a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.island-reward-grid,.island-reward-limits {display:grid;grid-template-columns:auto 1fr;gap:1px 12px;margin:6px 0 4px}
.island-reward-limits[data-mode=usd] {grid-template-columns:auto 1fr auto}
.island-reward-grid dt,.island-reward-limits dt {color:#7a6f66}
.island-reward-grid dd,.island-reward-limits dd {margin:0;text-align:right;font-variant-numeric:tabular-nums}
.island-reward-limits {font-size:13px;margin-top:2px}
.island-reward-caption {margin-top:8px}
.island-reward-limits .island-reward-usd {color:#7a6f66}
.island-rewards .island-claim {width:100%;margin:8px 0 2px}
.island-claim-reason {display:block;min-height:1em}
.island-claim-note {display:block;margin-top:8px}
/* The vault's daily release and a change it scheduled for a later game day. */
.island-reward-rate {margin-top:6px;color:#5d4a36;font-weight:700}
.island-reward-rate-change {color:#b4541f;font-weight:700}
.island-reward-rate-status {color:#8a6a45}
/* Economy v7: the claim floor (24-hour average hash) and the hash-proportional claim cap. */
.island-claim-floor {display:flex;flex-direction:column;gap:1px;margin:8px 0 2px;padding:6px 8px;border-radius:6px;background:#fff1d6;border:1px solid #ecd2a3}
.island-claim-floor strong {font-size:14px;color:#5d4a36;font-variant-numeric:tabular-nums}
.island-claim-floor small {font-size:13px;color:#b4541f;font-weight:700}
.island-claim-floor[data-eligible=true] {background:#e8f4e1;border-color:#bfdcae}
.island-claim-floor[data-eligible=true] small {color:#2f7d4a}
/* One electricity price for every island and grid tier. */
.island-tariff {font-weight:700;color:#5d4a36}
/* Local playground vault levers (island-panel.mjs): set_daily_rate and fund_vault. */
.island-subhead {margin:10px 0 2px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#8a6a45}
.island-lever {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.island-lever-field {display:flex;align-items:center;gap:6px;flex:1 1 140px;min-width:0}
.island-lever-label,.island-lever-unit {color:#7a6f66;font-size:13px;white-space:nowrap}
.island-lever input {flex:1;width:4em;min-width:3em;box-sizing:border-box;border:2px solid #d6c5a7;border-radius:6px;background:#fffaf0;color:#403c38;padding:5px 8px;font:600 15px Rajdhani,sans-serif;font-variant-numeric:tabular-nums}
.island-lever input:focus-visible {outline:2px solid #6bbedf;outline-offset:1px}
.island-lever .island-action {margin:0;flex:none}
.island-labels {position:fixed;inset:0;pointer-events:none;z-index:40}
/* Construction under way (personal-island.mjs label): the status bubbles' pixel frame (island-status.css) with a
   countdown and a progress bar, and a pixel tail pointing at the site. */
.island-construction {position:fixed;transform:translate(-50%,calc(-100% - 9px));display:flex;flex-direction:column;align-items:center;gap:4px;min-width:150px;padding:5px 9px 6px;
  font:700 12px/1.2 Pixeloid,monospace;color:#3b2418;text-align:center;white-space:nowrap;--bs:1px;filter:drop-shadow(0 3px 0 #3a241860)}
.island-construction::after {content:'';position:absolute;left:calc(50% + var(--tail-shift,0px));top:100%;width:18px;height:9px;transform:translate(-50%,3px);background:#6d4a2c;
  clip-path:polygon(0 0,100% 0,100% 33%,83% 33%,83% 67%,67% 67%,67% 100%,33% 100%,33% 67%,17% 67%,17% 33%,0 33%)}
.island-construction-time {font:400 11px/1 Pixeloid,monospace;color:#b4541f}
.island-construction-bar {display:block;align-self:stretch;height:6px;background:#eadfc8;box-shadow:inset 0 0 0 1px #c9b48e;overflow:hidden}
.island-construction-bar i {display:block;height:100%;background:#f07f2c}
.island-sale {min-width:0;padding:5px 11px;font-size:14px;gap:1px}
.island-sale-price {font-size:15px;color:#2f7d4a}
@media(max-width:800px){.island-toggle{left:12px;bottom:66px}.island-panel{left:8px;right:8px;width:auto;bottom:112px;max-height:calc(100dvh - 190px)}}
/* Phones: the Island button stands at the right end, just above the bottom navigation. */
@media(max-width:700px){.island-toggle{left:auto;right:12px;bottom:84px}.island-panel{bottom:141px;max-height:calc(100dvh - 219px)}}
.pc-choice-usd {display:block;font-size:13px;color:#7a6f66}
.pc-choice-grid {display:block;font-size:13px;font-weight:700;color:#b4541f}
.pc-choice-power {display:block;font-size:13px;color:#5d6b4f}
/* A first prebuilt includes its power connection: one total that says "Power included" (prebuilt/picker.css styles it in the carousel). */
.pc-choice-usd[data-power=included] {font-weight:700;color:#2f6b3a}
/* Catalog v7 cards: a new island buys one of them first; the $1 Retro PC (leftmost) teaches the game, the $500 rung is the strongest PC (rightmost). */
.pc-choice-badge {margin:2px 0 4px;padding:2px 6px;border-radius:4px;font-size:12px;font-weight:700;line-height:1.3;white-space:normal;background:#fbe3c4;color:#8a4a1c}
.pc-choice-badge[data-badge=strongest] {background:#dcefd2;color:#2f6b3a}
/* The Retro PC's claim line (4 Oct 2026): rewards collect, claiming opens after the island's $25 of total spend. */
.pc-choice-claim {margin:0 0 4px;font-size:12px;line-height:1.3;color:#8a4a1c;white-space:normal}
/* Explicit paper surfaces: these widgets live outside the workshop UI root. */
.island-toggle,.island-panel {background:#fbf4e4;border:2px solid #d9c29b;border-radius:10px;box-shadow:0 6px 18px rgba(64,48,28,.22)}
.island-construction {background:#fff7db;border:0;border-radius:0;box-shadow:0 -3px 0 0 #6d4a2c,0 3px 0 0 #6d4a2c,-3px 0 0 0 #6d4a2c,3px 0 0 0 #6d4a2c,inset 0 2px #ffffff80}
.island-toggle[aria-expanded=true] {background:#d8f0f8;border-color:#8cc9de}
/* World labels hide outside the island view (their display:flex would otherwise win over [hidden]). */
.island-labels [hidden] {display:none}
/* Leaderboard and the visit banner (island-social.mjs). Owner pass, 5 Oct 2026: one name per row (the
   player's), the value in a fixed column that never runs under the button (leaderboard-model boardHashLabel
   keeps it to ten characters), medals for the top three and your own place as a gold card under the board.
   Rows are the HUD kit's pixel tiles: cream, green for you, blue for the island you are visiting. */
.island-social .leaderboard-panel {height:auto;width:500px}
.island-board-columns,.island-board-row {display:grid;grid-template-columns:44px minmax(0,1fr) 96px 68px;align-items:center;gap:8px}
.island-board-columns {flex:none;margin:0 2px 2px;padding:8px 12px;background:#ecdcc2;color:#5d4737;font-size:11px;font-weight:700;letter-spacing:.5px}
.island-board-columns span:nth-child(3) {text-align:right}
.island-board-row {box-sizing:border-box;min-height:54px;margin:4px 2px 0;padding:1px 4px;border:6px solid transparent;border-image:url('../ui/frames/tile.svg') 9 fill stretch;color:#493127;font:400 14px/1.35 Pixeloid,monospace}
.island-board-row[data-here=true] {border-image-source:url('../ui/frames/tile-blue.svg')}
.island-board-row[data-you=true] {border-image-source:url('../ui/frames/tile-green.svg')}
.island-board-row .leaderboard-rank {justify-self:start;padding-left:2px}
.island-board-row:is([data-rank="1"],[data-rank="2"],[data-rank="3"]) .leaderboard-rank {display:inline-grid;place-items:center;min-width:34px;height:24px;padding:0 3px;box-sizing:border-box;border:2px solid #a8741a;background:#f6cf5a;box-shadow:inset 0 2px #ffeaa0;color:#5a3a08;font-size:13px}
.island-board-row[data-rank="2"] .leaderboard-rank {border-color:#8492a3;background:#dde4ec;box-shadow:inset 0 2px #f6f9fc;color:#3d4856}
.island-board-row[data-rank="3"] .leaderboard-rank {border-color:#a5652e;background:#e9b07a;box-shadow:inset 0 2px #f8d3ad;color:#5a3415}
.island-board-identity {display:flex;align-items:center;gap:9px;min-width:0}
.island-board-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}
.island-board-row .leaderboard-hash {overflow:hidden;text-overflow:clip}
.island-board-row .social-button {width:100%;min-height:34px;padding:4px 6px;font-size:12px}
.island-board-visit {border-color:#79b8d5;background:#c3eafa;box-shadow:inset 0 2px #effaff,0 2px #89afbd;color:#2f4d60}
.island-board-here {justify-self:center;padding:3px 8px;border:2px solid #c6a575;border-radius:2px;background:#fff3d6;font-size:11px;font-weight:700;color:#825731}
.island-board-row[data-here=true] .island-board-here {border-color:#669dbb;background:#f0f8fd;color:#2c4d60}
.island-board-row[data-you=true] .island-board-here {border-color:#8aa65c;background:#f1f8dc;color:#40522a}
/* Your card under the board. The gold frame is sliced like its other uses (12): a slice of 10 cut through the frame's
   inner corner step and stretched it into a stray light mark at the bottom right. */
.island-board-mine {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 10px;box-sizing:border-box;min-height:60px;margin:2px;padding:4px 10px;border:8px solid transparent;border-image:url('../ui/frames/power-gold.svg') 12 fill stretch;color:#4f2410;font:400 14px/1.3 Pixeloid,monospace}
.island-board-mine[data-state=off] {display:block;border-image-source:url('../ui/frames/tile.svg');border-image-slice:9 fill;color:#6b5444}
.island-board-mine-text {margin:0;padding:4px 2px;font-size:12px;line-height:1.4;text-align:center}
.island-board-mine-rank {display:flex;flex-direction:column;align-items:center;min-width:46px;line-height:1}
.island-board-mine-rank strong {font-size:21px}
.island-board-mine-rank small {margin-top:4px;font-size:10px;color:#7a4a17}
.island-board-mine .island-board-name {font-size:15px}
.island-board-mine .island-board-avatar {box-shadow:0 0 0 2px #c0731c}
.island-board-mine-value {font-weight:700}
/* On Top Spenders the WL badge is the card's second line: under the name and the amount, inside the frame (never
   below it), shortened with … if a phone is too narrow; the rank stands beside both lines. */
.island-board-mine:has(>.island-board-mine-wl) .island-board-mine-rank {grid-row:1/span 2}
.island-board-mine-wl {grid-column:2/-1;grid-row:2;justify-self:start;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 8px;border:2px solid #c98a2a;background:#fff3c4;font-size:11px;line-height:1.3;color:#6c4518}
.island-board-mine-wl[data-inside=true] {border-color:#7e9b52;background:#eef6d7;color:#40522a}
/* Large screens draw the board's text bigger (social.css): the columns grow with it. */
@media(min-width:1800px){.island-social .leaderboard-panel{width:560px}.island-board-columns,.island-board-row{grid-template-columns:52px minmax(0,1fr) 118px 76px}.island-board-name{font-size:16px}.island-board-mine .island-board-name{font-size:17px}.island-board-mine-wl{font-size:12px}}
/* The visited island's nameplate (island-social.mjs; owner brief, 7 Oct 2026): one cream pixel card in the top bar,
   as tall as the LEADERBOARD toggle beside it: the owner's photo or initial, name, H/s and Island Level, and the
   way home. Wide screens centre it; mid widths put it right of the toggle; phones give it its own row below. */
.island-nameplate {position:absolute;top:var(--social-top);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;box-sizing:border-box;
  width:max-content;min-height:62px;max-width:min(660px,calc(100vw - 2 * (var(--social-left) + 205px + 16px)));padding:1px 5px 4px 3px;pointer-events:auto;color:#493127}
.island-nameplate-face {display:grid;flex:none}
.island-nameplate-avatar {width:46px;height:46px;font-size:19px;box-shadow:0 0 0 3px #a699c7,0 0 0 5px #fff6e0}
.island-nameplate-who {display:flex;flex-direction:column;gap:5px;flex:1 1 auto;min-width:0}
.island-nameplate-name {margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 20px/1.15 Pixeloid,monospace;letter-spacing:.02em}
.island-nameplate-line {margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 14px/1.2 Pixeloid,monospace;color:#6e4f33}
.island-nameplate-home {flex:none;min-height:42px;margin-left:6px;padding:6px 13px 7px;border-color:#79b8d5;background:#c3eafa;box-shadow:inset 0 2px #effaff,0 2px #89afbd;
  color:#2f4d60;font:700 13px/1.2 Pixeloid,monospace;white-space:nowrap;touch-action:manipulation}
.island-nameplate-home svg {width:16px;height:16px;flex:none}
.island-nameplate-home:active {transform:translateY(2px)}
.island-nameplate-home-short {display:none}
@media(min-width:1800px){.island-nameplate{min-height:70px;max-width:min(760px,calc(100vw - 2 * (var(--social-left) + 235px + 16px)))}
  .island-nameplate-avatar{width:54px;height:54px;font-size:22px}.island-nameplate-name{font-size:24px}.island-nameplate-line{font-size:15px}
  .island-nameplate-home{min-height:48px;font-size:15px;padding-inline:16px}.island-nameplate-home svg{width:18px;height:18px}}
@media(max-width:1100px){.island-nameplate{left:calc(var(--social-left) + 205px + 12px);right:var(--social-left);transform:none;width:auto;max-width:none}}
@media(max-width:700px){
  .island-nameplate{top:calc(var(--social-top) + 54px);left:var(--social-left);right:var(--social-left);min-height:54px;gap:10px}
  .island-nameplate-avatar{width:38px;height:38px;font-size:16px}.island-nameplate-name{font-size:16px}
  /* A long H/s moves "Island Level" to a second line instead of cutting it off (island-social.mjs plateLineNodes). */
  .island-nameplate-line{font-size:11px;white-space:normal;text-overflow:clip}.island-nameplate-line span{white-space:nowrap}
  .island-nameplate-home{min-height:40px;padding:5px 10px 6px;font-size:12px}
  .island-nameplate-home-long{display:none}.island-nameplate-home-short{display:inline}
  .island-social:has(.leaderboard-panel:not([hidden])) .island-nameplate{visibility:hidden}
}
@media(max-width:700px){.island-social .leaderboard-panel{width:calc(100vw - 20px)}.island-board-columns,.island-board-row{grid-template-columns:38px minmax(0,1fr) 88px 64px;gap:5px}.island-board-row{font-size:12px}.island-board-row .leaderboard-hash{font-size:12px}.island-board-mine{padding:4px 8px;column-gap:8px}.island-board-mine-rank strong{font-size:16px}.island-board-mine-wl{padding:2px 6px;font-size:10px}}
/* Player profile (island-profile.mjs): round pictures over the owner's initial on the
   board, the visit header and a chip beside the leaderboard, with a small panel. */
.island-avatar {position:relative;display:inline-grid;place-items:center;flex:none;box-sizing:border-box;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#d8d3ef;box-shadow:0 0 0 2px #a699c7;color:#334466;font:700 14px/1 Pixeloid,monospace;user-select:none}
.island-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff6e0}
.island-board-avatar {width:30px;height:30px;font-size:12px}
.island-profile.social-ui {z-index:59}
.island-profile-chip {position:absolute;top:var(--social-top);left:calc(var(--social-left) + 215px);display:flex;align-items:center;gap:9px;box-sizing:border-box;min-height:62px;max-width:250px;padding:3px 14px 6px 4px;font:700 14px Pixeloid,monospace;color:#493127;cursor:pointer;touch-action:manipulation}
.island-profile-chip[aria-expanded=true] {border-image-source:url('../ui/frames/tile-blue.svg');color:#2c4d60}
.island-profile-chip:active {transform:translateY(2px)}
.island-profile-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The profile panel (owner brief, 7 Oct 2026): the photo big and clickable, the name, and the island's actions as
   clear buttons; readable sizes, no footnotes. The frame's border with a flat cream inside, like the PC summary. */
.island-profile-panel {position:absolute;top:var(--profile-panel-top,94px);left:var(--profile-panel-left,18px);width:400px;max-width:calc(100vw - 20px);max-height:calc(100dvh - var(--profile-panel-top,94px) - 16px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box;padding:0 16px 14px;pointer-events:auto;filter:drop-shadow(0 6px 0 #34273744)}
.island-profile-panel.social-paper {border-image-slice:12;background:#fff8e2;background-clip:padding-box}
.island-profile-panel .social-heading {margin:-2px -9px 14px}
.island-profile-big {width:100%;height:100%;font-size:46px;box-shadow:none}
.island-profile-status {margin:0 0 12px;padding:8px 11px;border:2px solid #9cc58e;background:#e6f2dc;color:#345d35;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.island-profile-status[data-tone=error] {border-color:#dba58f;background:#f8e2d6;color:#873c2f}
.island-profile-identity {display:flex;flex-direction:column;align-items:center;gap:12px;padding:2px 0 14px}
/* The photo itself is the button that changes it; a camera badge says so. */
.island-profile-photo {position:relative;display:grid;place-items:center;width:124px;height:124px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;touch-action:manipulation}
.island-profile-photo-face {display:grid;width:100%;height:100%;border-radius:50%;overflow:hidden;box-shadow:0 0 0 4px #a699c7,0 0 0 7px #fff6e0,0 0 0 9px #c9b493}
.island-profile-photo-badge {position:absolute;right:2px;bottom:4px;display:grid;place-items:center;width:34px;height:34px;border:3px solid #fff6e0;border-radius:50%;background:#5aa9cf;color:#ffffff;box-shadow:0 2px 0 #2f6c8a}
.island-profile-photo-badge svg {width:17px;height:17px}
.island-profile-photo:hover:not(:disabled) .island-profile-photo-face {filter:brightness(1.06)}
.island-profile-photo:focus-visible {outline:3px solid #58a7ce;outline-offset:6px}
.island-profile-photo:disabled {cursor:default}
.island-profile-photo[data-editable=false] .island-profile-photo-face {box-shadow:0 0 0 4px #a699c7,0 0 0 7px #fff6e0}
.island-profile-picture {display:flex;justify-content:center}
.island-profile-photo-actions {display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.island-profile-photo-actions .social-button {min-height:38px;padding:6px 14px;font-size:13px}
.island-profile-remove {color:#8b3a2c}
.island-profile-section {border-top:2px solid #decba8;padding:13px 0 6px}
.island-profile-section h3,.island-profile-label {display:block;margin:0 0 9px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#825731}
.island-profile-actions {display:flex;flex-wrap:wrap;gap:8px;margin:0}
.island-profile-actions .social-button {flex:1 1 auto;min-height:42px;font-size:14px}
.island-profile-primary {border-color:#79b8d5;background:#c3eafa;box-shadow:inset 0 2px #effaff,0 2px #89afbd;color:#2f4d60;font-weight:700}
.island-profile-cropper {display:flex;flex-direction:column;align-items:stretch;width:100%}
.island-profile-frame {position:relative;width:min(240px,100%);aspect-ratio:1;margin:0 auto 8px;overflow:hidden;box-shadow:0 0 0 2px #c6ad86}
.island-profile-crop {display:block;width:100%;height:100%;cursor:grab;touch-action:none;background:repeating-conic-gradient(#efe4d0 0 25%,#fffaf0 0 50%) 0 0/16px 16px}
.island-profile-crop.dragging {cursor:grabbing}
.island-profile-crop:focus-visible {outline:3px solid #58a7ce;outline-offset:-3px}
.island-profile-frame::after {content:'';position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 200px #fbf4e4a6,inset 0 0 0 2px #fffaf0;pointer-events:none}
.island-profile-crop-hint {margin:0 0 6px;text-align:center;font-size:13px;color:#79583a}
.island-profile-zoom {display:flex;align-items:center;gap:10px;margin:4px 0 12px;font-size:13px;font-weight:700;color:#825731}
.island-profile-zoom input {flex:1;min-width:0;accent-color:#58a7ce}
.island-profile-name-row {display:flex;gap:8px}
.island-profile-name-row input {flex:1;min-width:0;box-sizing:border-box;min-height:46px;padding:8px 12px;border:2px solid #c6ad86;box-shadow:inset 0 2px #e5d5b3;background:#fffdf6;color:#493127;border-radius:2px;font:400 16px/1.4 Pixeloid,monospace}
.island-profile-name-row input::placeholder {color:#8a7e73;opacity:1}
.island-profile-name-row input[aria-invalid=true] {border-color:#c4614c;box-shadow:inset 0 2px #f2d3c8}
.island-profile-name-row .social-button {flex:none;min-width:84px;min-height:46px;font-size:15px}
.island-profile-error {margin:8px 0 0;color:#9c3a2b;font-size:13px;line-height:1.4}
/* Your island: one clear button per window, icon and name. */
.island-profile-tiles {display:grid;gap:8px;margin:0 0 4px}
.island-profile-tiles .island-profile-tile {justify-content:flex-start;gap:12px;min-height:52px;padding:7px 14px;font-size:15px;font-weight:700;text-align:left}
.island-profile-tile svg {width:28px;height:28px;flex:none;shape-rendering:crispEdges}
/* Invite friends (owner decision, 8 Oct 2026): the link in the name field's inset (whole, wrapping before the alias
   where it must), Copy beside it as tall as the field, one short line. */
.island-profile-invite-row {display:flex;gap:8px}
.island-profile-invite-link {flex:1;min-width:0;box-sizing:border-box;display:flex;align-items:center;min-height:46px;padding:8px 12px;border:2px solid #c6ad86;box-shadow:inset 0 2px #e5d5b3;background:#fffdf6;color:#493127;border-radius:2px;font:400 15px/1.4 Pixeloid,monospace;overflow-wrap:anywhere;cursor:text;user-select:text}
.island-profile-invite-link span {min-width:0}
.island-profile-invite-link:focus-visible {outline:3px solid #58a7ce;outline-offset:1px}
.island-profile-invite-row .social-button {flex:none;min-width:84px;min-height:46px;font-size:15px}
.island-profile-invite-row .island-profile-invite-copy {display:grid;place-items:center}
.island-profile-invite-copy > span {grid-area:1/1}
.island-profile-invite-copy[data-copied=true] > span:first-child,.island-profile-invite-copy:not([data-copied=true]) > span:last-child {visibility:hidden}
.island-profile-invite-copy[data-copied=true] {border-color:#86b878;background:#dcefd0;box-shadow:inset 0 2px #f1faea,0 2px #9cc58e;color:#345d35}
.island-profile-invite-share,.island-profile-invite-local,.island-profile-invite-hint {margin:8px 0 2px;font-size:13px;line-height:1.45;color:#5d4330;overflow-wrap:anywhere;text-wrap:pretty}
.island-profile-invite-local {font-size:12px;color:#77654f}
.island-profile-invite-hint {color:#2f6c8a}
/* The rewards card (rewards-card.mjs, owner decision 9 Oct 2026): Download card under Copy, and Save card after a
   refused or cancelled share; a small floating Save card where a Copy has no row of its own. */
.rewards-card-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px 16px;margin:4px 0 0}
.rewards-card-actions[hidden] {display:none}
.rewards-card-link {min-height:34px;border:0;padding:4px 2px;background:none;color:#176ca4;font:700 13px/1.4 Pixeloid,monospace;text-decoration:underline;text-underline-offset:4px;cursor:pointer;touch-action:manipulation}
.rewards-card-link:hover {color:#0f5582}
.rewards-card-link:focus-visible {outline:3px solid #58a7ce;outline-offset:2px}
.rewards-card-save {color:#2f6c3a}
.rewards-card-status {flex-basis:100%;margin:0;text-align:right;font-size:12px;line-height:1.4;color:#9c3a2b}
.rewards-card-offer {position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:80;display:flex;gap:8px;padding:8px;border:2px solid #c6ad86;border-radius:2px;background:#fff8e8;box-shadow:0 3px 0 #d4bb90,0 10px 24px rgba(16,25,53,.3)}
.rewards-card-offer .social-button {min-height:42px;padding-inline:14px;font-size:14px}
@media(min-width:1800px){.rewards-card-link{font-size:14px}}
/* Phones: a little smaller, so the link keeps to two lines beside a Copy button wide enough for Copied ✓. */
@media(max-width:480px){.island-profile-invite-link{font-size:14px;padding:8px 10px}.island-profile-invite-row .social-button{font-size:14px;padding-inline:8px}}
@media(min-width:1800px){.island-profile-chip{left:calc(var(--social-left) + 245px);font-size:16px}
  .island-profile-invite-link{font-size:16px;min-height:50px}.island-profile-invite-row .social-button{min-height:50px;font-size:16px}
  .island-profile-invite-share,.island-profile-invite-hint{font-size:14px}
  .island-profile-panel{width:440px;padding:0 18px 16px}.island-profile-photo{width:140px;height:140px}.island-profile-big{font-size:52px}
  .island-profile-name-row input{font-size:17px;min-height:50px}.island-profile-name-row .social-button{min-height:50px;font-size:16px}
  .island-profile-tiles .island-profile-tile{min-height:58px;font-size:16px}.island-profile-section h3,.island-profile-label{font-size:13px}
  .island-profile-status,.island-profile-error,.island-profile-photo-actions .social-button{font-size:14px}}
/* Mid widths: the resource cards share the top row, so the chip stands in the second row (beside REFERRALS, which
   stands under the toggle: unified-hud.css). With the BOOST card the row has four cards (island-bonus.css), which leave
   a long name room beside the toggle from 1253px. */
@media(min-width:821px) and (max-width:1252px){.island-profile-chip{top:calc(var(--social-top) + 70px);left:var(--social-left);max-width:205px}}
/* Phones: the resource cards drop to their own row; the chip takes the top right. */
@media(max-width:820px){
  .island-profile-chip{left:auto;right:10px;min-height:46px;max-width:calc(100vw - 245px);padding:0 10px 2px 2px;gap:7px;font-size:12px}
  .island-profile-chip .island-avatar{width:26px;height:26px;font-size:11px}
  .island-profile-panel{left:10px;right:10px;width:auto}
}
@media(max-width:700px){.island-profile-chip{max-width:calc(100vw - 207px)}.island-board-identity{gap:6px}.island-board-identity strong{font-size:12px}.island-board-avatar{width:24px;height:24px;font-size:10px}}
