/* Labuh board: the harbour from prototype v14, with real ajuan. */ :root { --ink: #172B33; --ink-soft: #4A5B60; --teal: #1F6F78; --teal-deep: #174F56; --buoy: #E8A33D; /* Boat slots on the water: a boat's width and one slot row's height. */ --boat-w: 120px; --slot-h: 152px; --paper: #F6F2EA; --sand: #E8D9BB; --quay: #B98B5E; --water-a: #9DCAC3; --water-b: #B6D9D3; --water-c: #CBE5E0; --serif: 'Fraunces', Georgia, serif; --sans: 'Atkinson Hyperlegible', system-ui, sans-serif; } * { box-sizing: border-box; } html, body { margin: 0; min-height: 100%; } body { background: var(--water-b); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; } a { color: var(--teal); } a:hover { color: var(--teal-deep); } button { font: inherit; color: inherit; } button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--buoy); outline-offset: 2px; } @keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-6px) rotate(2deg) } } @keyframes calm { 0%,100% { transform: translateY(0) rotate(-.6deg) } 50% { transform: translateY(-2px) rotate(.6deg) } } @keyframes shadow { 0%,100% { transform: scaleX(1); opacity: 1 } 50% { transform: scaleX(.8); opacity: .55 } } @keyframes flag { 0%,100% { transform: skewY(0) scaleX(1) } 50% { transform: skewY(-7deg) scaleX(.86) } } @keyframes drift { from { transform: translateX(0) } to { transform: translateX(-100px) } } @keyframes twinkle { 0%,100% { opacity: 0; transform: scaleX(.4) } 50% { opacity: .9; transform: scaleX(1) } } @keyframes sway { 0%,100% { transform: rotate(-5deg) } 50% { transform: rotate(5deg) } } @keyframes pulse { 0% { transform: scale(1); opacity: .85 } 70%,100% { transform: scale(2.4); opacity: 0 } } @keyframes rise { from { transform: translateY(16px); opacity: 0 } to { transform: none; opacity: 1 } } @keyframes blink { 0%,100% { opacity: .25 } 50% { opacity: 1 } } @keyframes ripple { 0% { transform: scale(.2); opacity: .8 } 100% { transform: scale(1.8); opacity: 0 } } @keyframes glide { 0% { transform: translate(-80px,0) } 50% { transform: translate(520px,-26px) } 100% { transform: translate(1120px,8px) } } @keyframes flap { 0%,100% { transform: scaleY(1) } 50% { transform: scaleY(.45) } } @keyframes cloud { from { transform: translateX(-420px) } to { transform: translateX(1180px) } } @keyframes foam { 0%,100% { transform: translateX(0); opacity: .85 } 50% { transform: translateX(-6px); opacity: .35 } } @keyframes beam { 0%,100% { opacity: .15 } 50% { opacity: .75 } } @keyframes arrive { from { transform: translateX(-70px); opacity: 0 } to { transform: none; opacity: 1 } } /* Layout: water on the left, the shore on the right. */ .harbour { position: relative; display: flex; min-height: 100vh; overflow: clip; background: linear-gradient(90deg, var(--water-a) 0%, var(--water-b) 48%, var(--water-c) 100%); } .water { position: relative; flex: 1 1 auto; min-width: 0; padding: 22px 0 96px 36px; display: flex; flex-direction: column; gap: 22px; } .sea { position: absolute; inset: 0; overflow: hidden; pointer-events: none; } .sea .cloud { position: absolute; left: 0; width: 420px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23,43,51,.07), transparent); animation: cloud linear infinite; } .sea .wave { position: absolute; left: 0; animation: drift linear infinite; } .sea .sparkle { position: absolute; width: 14px; height: 3px; border-radius: 999px; background: #fff; animation: twinkle 3.2s ease-in-out infinite; } .sea .ripple { position: absolute; width: 36px; height: 14px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; animation: ripple 4.5s ease-out infinite; } .sea .gull { position: absolute; left: 0; animation: glide linear infinite; } .sea .gull svg { animation: flap .7s ease-in-out infinite; transform-origin: 50% 60%; } .brand { position: relative; display: flex; align-items: center; gap: 10px; } .brand span { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.5px; } h1 { position: relative; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.05; letter-spacing: -1px; } .empty { position: relative; margin: 0; max-width: 520px; font-size: 17px; line-height: 1.5; } .stale { position: relative; margin: 0; align-self: flex-start; font-size: 14px; background: rgba(255,253,248,.85); border-radius: 999px; padding: 6px 14px; } main { position: relative; display: flex; flex-direction: column; } .lane { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 0 12px; } .lane:first-child { padding-top: 8px; } .lane.has-break { padding-bottom: 34px; } .lane h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; } .quay { position: absolute; top: 10px; bottom: 12px; right: 22px; width: 46px; background: var(--quay); background-image: repeating-linear-gradient(180deg, transparent 0 20px, #9C7148 20px 23px); box-shadow: -6px 6px 0 rgba(23,43,51,.08); } .pilings { position: absolute; top: 10px; bottom: 12px; right: 70px; width: 10px; background-image: radial-gradient(circle, #6E4E30 4px, transparent 4.6px); background-size: 10px 52px; background-position: 0 14px; } .zones { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,4fr) minmax(0,3fr); gap: 22px; height: calc(42px + 2 * var(--slot-h) + 6px); padding-right: 92px; transition: grid-template-columns 1.2s cubic-bezier(.42,0,.28,1); } .zone { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; } .zone .floats { position: absolute; top: -44px; bottom: -14px; left: -14px; width: 8px; background-image: radial-gradient(circle, #FFFDF8 3px, transparent 3.6px); background-size: 8px 22px; opacity: .9; } .zone-label { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #1E4A51; background: rgba(255,253,248,.72); border-radius: 999px; padding: 5px 8px 5px 14px; } .zone-label .n { min-width: 22px; height: 22px; border-radius: 999px; background: rgba(23,43,51,.08); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; } .zone-label .n.hot { background: var(--buoy); } /* Two rows of boat slots per lane; board.js sets the slot columns (they overlap when a column is narrow) and the zone widths, which transition. */ .boats { display: grid; grid-template-columns: var(--boat-w); grid-template-rows: repeat(2, var(--slot-h)); grid-auto-flow: row; gap: 6px 0; align-items: start; } .zone.beres .boats { justify-content: end; } .breakwater { position: absolute; left: 84px; right: 0; bottom: -14px; height: 28px; z-index: 2; border-radius: 14px 0 0 14px; background-color: #A89E8C; background-image: radial-gradient(ellipse 11px 9px at 50% 45%, #C9C0AE 92%, transparent 100%); background-size: 26px 28px; box-shadow: 0 6px 0 rgba(23,43,51,.08); } .breakwater svg { position: absolute; left: -2px; top: -44px; overflow: visible; } .breakwater .beam { animation: beam 2.4s ease-in-out infinite; } /* Boats */ .boat { position: relative; background: transparent; border: 0; border-radius: 18px; padding: 4px 2px 8px; width: var(--boat-w); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; } .boat.dim { opacity: .3; } .boat.done { opacity: .8; } .boat .hull { display: block; position: relative; width: 96px; height: 72px; animation: float 4.6s ease-in-out infinite; transform-origin: 50% 85%; transition: filter .2s ease; } .boat.done .hull { animation-name: calm; animation-duration: 6s; } .boat .flag { animation: flag 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; } .boat .shade { display: block; width: 84px; height: 8px; margin-top: -10px; border-radius: 50%; background: rgba(23,43,51,.16); animation: shadow 4.6s ease-in-out infinite; } .boat.picked .shade { background: rgba(255,255,255,.95); } .boat:hover .hull { filter: brightness(1.06); animation-duration: 2.2s; } .boat .chip { font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; padding: 4px 10px; border-radius: 10px; background: rgba(255,253,248,.82); overflow-wrap: anywhere; } .boat.picked .chip { background: var(--teal); color: #fff; } .boat .marks { display: flex; align-items: center; justify-content: center; gap: 8px; height: 16px; } .boat .anchor { position: absolute; left: -10px; top: 40px; animation: sway 3s ease-in-out infinite; transform-origin: 18px 0; } .boat .buoy { position: absolute; right: -6px; top: 46px; width: 18px; height: 22px; animation: float 3.4s ease-in-out infinite; } .boat .buoy .ring { position: absolute; left: 1px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--buoy); animation: pulse 1.8s ease-out infinite; } .boat .buoy svg { position: relative; } .boat .rope { position: absolute; right: -14px; top: 52px; } .boat.new { animation: arrive .8s cubic-bezier(.2,.8,.2,1); } .dots { display: flex; gap: 3px; } .dots i { width: 5px; height: 5px; border-radius: 50%; background: #1F4B5E; animation: blink 1.2s ease-in-out infinite; } .dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; } /* Shore */ /* Desktop: the shore stays put at screen height and only its detail scrolls, so the harbour never moves with it. */ .shore { position: sticky; top: 0; align-self: flex-start; z-index: 1; flex: 0 0 420px; height: 100vh; height: 100dvh; background-color: var(--paper); background-image: radial-gradient(#E2D8C6 1.2px, transparent 1.4px); background-size: 24px 24px; } .shore-inner { position: relative; height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 22px 0 0 30px; } .shore-inner aside { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 32px 0; scrollbar-gutter: stable; } .shore .edge { position: absolute; left: -44px; top: 0; width: 64px; height: 100%; pointer-events: none; } .shore .edge .foam { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: foam 5s ease-in-out infinite; } .shore .edge .sand { fill: var(--sand); } .shore .edge .land { fill: var(--paper); } .shore-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .seg { display: flex; gap: 4px; padding: 4px; background: #EAE2D3; border-radius: 999px; } .seg button { font-size: 15px; min-height: 40px; padding: 6px 18px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; display: flex; align-items: center; gap: 8px; transition: background .15s ease; } .seg button[aria-pressed="true"] { background: #fff; font-weight: 700; } .seg #show-mine { padding-right: 10px; } .count { min-width: 24px; height: 24px; border-radius: 999px; background: var(--buoy); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .me { margin: 0; } .avatar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-weight: 700; cursor: pointer; } aside { min-width: 0; } .shore-top { flex: none; padding-right: 28px; } .card { background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 2px 0 #E2D8C6; animation: rise .28s ease-out; } .card.still { animation: none; } .card h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; } .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; } .card-head > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .title { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink-soft); } .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; } .meta .who { display: flex; align-items: center; gap: 6px; } .meta .initial { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; } .meta .env { background: #EEF1F0; border-radius: 999px; padding: 3px 10px; } .meta .age { color: var(--ink-soft); } .close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #F1EBDF; cursor: pointer; display: flex; align-items: center; justify-content: center; } .tone { border-radius: 22px; padding: 20px; display: flex; align-items: center; gap: 16px; } .tone .icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .tone .icon .dots i { width: 7px; height: 7px; background: #fff; } .tone .word { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.05; } .tone .reason { font-size: 15px; line-height: 1.45; } .tone > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .findings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; } .findings li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; } .findings .k { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .k.bad { background: #F8DDD5; } .k.ok { background: #DDEFE5; } .k.todo { background: #FBEBD0; } .evidence { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 13px; } .evidence a { font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(31,111,120,.35); overflow-wrap: anywhere; } .section-title { margin: 0 0 -10px; font-size: 14px; font-weight: 700; color: #24525A; } .note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); } .foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 15px; } .foot summary { cursor: pointer; font-weight: 700; color: #24525A; padding: 4px 0; } .foot ol { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 10px; } .foot li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 10px; font-size: 14px; line-height: 1.45; } .foot li span:first-child { color: var(--ink-soft); } .foot .open { font-weight: 700; display: flex; align-items: center; gap: 6px; padding: 4px 0; white-space: nowrap; } .stamp { margin: -8px 0 0; font-size: 12px; color: var(--ink-soft); } .todo-list { display: flex; flex-direction: column; gap: 12px; } .todo-item { text-align: left; border: 0; cursor: pointer; background: #FBEBD0; border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; } .todo-item strong { flex: 1; font-size: 15px; } .todo-item .age { font-size: 13px; color: #5C4310; } .todo-item .dot { position: relative; flex: none; width: 12px; height: 12px; } .todo-item .dot i { position: absolute; inset: 0; border-radius: 50%; background: var(--buoy); } .todo-item .dot i:first-child { animation: pulse 1.8s ease-out infinite; } /* Narrow laptops: a slimmer shore, smaller boats. */ @media (max-width: 1199px) and (min-width: 900px) { .shore { flex-basis: 360px; } .shore-inner { padding-left: 24px; } .shore-inner aside, .shore-top { padding-right: 20px; } .water { padding-left: 24px; } .zones { gap: 14px; } :root { --boat-w: 104px; } } /* Phone: the shore becomes a sheet rising from the bottom. */ @media (max-width: 899px) { .harbour { display: block; min-height: 100vh; background: linear-gradient(180deg, var(--water-a) 0%, var(--water-b) 60%, var(--water-c) 100%); } .water { padding: 22px 20px 50vh; gap: 18px; } .brand span { font-size: 22px; } h1 { font-size: 32px; letter-spacing: -.5px; } .zones { grid-template-columns: 1fr; gap: 14px; height: auto; transition: none; } .boats { display: flex; flex-wrap: wrap; gap: 6px 10px; } .zone.beres .boats { justify-content: flex-start; } .zones { padding-right: 0; } aside, .shore-top { position: static; } .zone .floats, .quay, .pilings { display: none; } .zone.beres .boats { justify-content: flex-start; } .lane, .lane.has-break { padding: 18px 0 28px; } .breakwater { left: 40px; } .boat { width: 104px; } .shore { position: fixed; z-index: 10; top: auto; left: 0; right: 0; bottom: 0; height: auto; max-height: 72vh; overflow-y: auto; padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: 0 -6px 0 rgba(23,43,51,.05); } .shore-inner { height: auto; gap: 16px; padding: 0; } .shore-inner aside { overflow: visible; padding: 0; scrollbar-gutter: auto; } .shore-top { padding-right: 0; } .shore .edge { display: none; } .shore::before { content: ''; position: sticky; top: -16px; display: block; height: 0; } .card { padding: 18px; gap: 18px; border-radius: 24px; } .card h2 { font-size: 22px; } .tone { padding: 16px; } .tone .icon { width: 44px; height: 44px; } .tone .word { font-size: 24px; } .seg button { padding: 6px 14px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } } /* Gate and rubric pages */ .page-gate, .page-rubric { background: var(--paper); min-height: 100vh; } .page-gate main { max-width: 440px; margin: 0 auto; padding: 18vh 20px 40px; display: flex; flex-direction: column; gap: 18px; } .page-gate h1 { font-size: 40px; } .page-gate p { margin: 0; font-size: 17px; line-height: 1.5; } .btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--teal); color: #fff !important; font-weight: 700; text-decoration: none; } .page-rubric main { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; line-height: 1.55; } .page-rubric h1, .page-rubric h2, .page-rubric h3 { font-family: var(--serif); scroll-margin-top: 20px; } .page-rubric h2:target { background: #FBEBD0; border-radius: 10px; padding: 4px 10px; margin-left: -10px; } /* Approver actions (M3) */ .actions { display: flex; flex-direction: column; gap: 12px; } .actions .buttons { display: flex; flex-wrap: wrap; gap: 10px; } .act { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; } .act:disabled { opacity: .5; cursor: progress; } .act.primary { background: var(--teal); color: #fff; min-width: 120px; } .act.primary:hover:not(:disabled) { background: var(--teal-deep); } .act.quiet { background: #F1EBDF; color: var(--ink); } .act.danger { background: #F8DDD5; color: #9A2E1A; } .countdown { margin: 0; font-size: 15px; font-weight: 700; color: #6B4206; } .note-label { font-size: 14px; font-weight: 700; color: #24525A; } .actions textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 16px; border: 2px solid #E2D8C6; resize: vertical; } .actions textarea:focus-visible { outline: 3px solid var(--buoy); outline-offset: 1px; } .act-error { margin: 0; font-size: 14px; color: #9A2E1A; } /* Release proposal for branches that deploy from tags */ .release { display: flex; flex-direction: column; gap: 10px; } .release .section-title, .release .stamp { margin: 0; } .release-row { display: flex; gap: 10px; } .release-row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid #E2D8C6; background: #fff; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; } .release-row input:focus-visible { outline: 3px solid var(--buoy); outline-offset: 1px; } .release .hint { margin: 0; font-size: 14px; color: var(--ink-soft); } .changelog { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; } .changelog li { padding: 10px 14px; border-radius: 14px; background: #F6F1E7; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; } .changelog li.direct { background: #FBEBD0; } .changelog .by { color: var(--ink-soft); font-size: 14px; } .boat.sailing .hull { animation-name: sail; animation-duration: 2.6s; } @keyframes sail { 0%, 100% { transform: translate(0, 0) rotate(-1deg); } 50% { transform: translate(6px, -3px) rotate(1.5deg); } } @media (max-width: 899px) { .act { flex: 1 1 auto; } }