:root { color-scheme: dark; font-family: Georgia, "Times New Roman", serif; color: #e7eee4; background: #08332f; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
html { scroll-padding-top: 18px; }
body { margin: 0; padding: 24px 18px; background: repeating-conic-gradient(#102e2b 0% 25%, #13322e 0% 50%) 0 0 / 16px 16px; }
a { color: #87e4df; text-underline-offset: 3px; }
a:visited { color: #d1b8ee; }
a:hover { color: #ffee78; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #ffdc65; outline-offset: 4px; }
.page { max-width: 1100px; margin: auto; border: 3px double #718f79; background: #112b26; box-shadow: 4px 4px 0 #0a201e; }
.topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 7px 18px; background: #081b19; color: #bad3b9; font: 10px/1.5 "Courier New", monospace; }
.shop-sign { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 16px 25px 20px; text-align: center; background: #1a4036; }
h1 { font: bold 48px/1.1 Georgia, serif; color: #efdf9e; text-shadow: 1px 2px 0 #071d19; margin: 4px 0 10px; }
.sign-subtitle { margin: 0; color: #fff3cc; font-style: italic; font-size: 17px; }
.awning { height: 7px; border-block: 1px solid #14322a; background: repeating-linear-gradient(90deg, #a76763 0 32px, #99b59b 32px 64px); }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 13px 12px; background: #1c312c; border-bottom: 1px solid #6b8d72; font: bold 13px/1.6 "Courier New", monospace; }
nav a { white-space: nowrap; }
.shop-news { margin: 0; padding: 8px 18px; text-align: center; background: #302a31; color: #d6c9c3; font: 12px/1.6 "Courier New", monospace; }
.shop-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); }
.shop-sidebar { padding: 22px 16px; background: #28242b; border-right: 1px solid #5f7e63; }
.shop-sidebar h2 { font: bold 12px "Courier New", monospace; color: #d9cea2; margin: 0; padding: 0 0 10px; border-bottom: 1px solid #607766; }
.aisles { padding: 0; list-style: none; margin: 0 0 26px; }
.aisles li { border-bottom: 1px dotted #5b7a68; }
.aisles a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 2px; font-size: 13px; line-height: 1.4; }
.sidebar-note { margin: 18px 0 28px; font-size: 12px; line-height: 1.65; color: #bdcabc; }
.counter-note { padding-top: 15px; border-top: 1px dashed #789077; }
.counter-note strong { color: #e3a7b1; font: bold 11px/1.5 "Courier New", monospace; }
.counter-note p { font-size: 13px; color: #c5d4c7; }
.counter-note a { font-size: 13px; }
main { min-width: 0; padding: 0 24px; }
section { padding: 24px 0; border-bottom: 1px dashed #718368; }
p, dd, li { font-size: 16px; line-height: 1.6; }
p { margin: 0 0 14px; }
h2 { font-size: 26px; color: #eedd9a; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 21px; line-height: 1.2; color: #efdf9e; margin: 0 0 10px; }
.section-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: #c7ddba; padding-bottom: 10px; font: bold 10px/1.5 "Courier New", monospace; }
.banner { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; background: #0c211d; }
.welcome-copy { padding-top: 18px; }
.welcome-copy h2 { font-size: 25px; }
.start-links { border-top: 1px dashed #809075; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 16px; }
.start-links a { font: bold 12px/1.5 "Courier New", monospace; }
.start-links span { display: block; color: #c5cdb6; font: 12px/1.5 Georgia, serif; margin-top: 5px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: #274438; border-block: 1px solid #6c8869; padding: 10px; margin-bottom: 18px; font: 11px/1.5 "Courier New", monospace; }
.department-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
select { max-width: 100%; min-height: 36px; border: 2px inset #9aab8e; background: #e1e7d5; color: #172e23; font: 12px "Courier New", monospace; padding: 5px; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product { min-width: 0; display: flex; flex-direction: column; border: 1px solid #6a8068; background: #1d352e; }
.product:nth-child(even) { background: #302932; }
.item-label { padding: 8px; font: 11px/1.4 "Courier New", monospace; color: #d7dfcd; border-bottom: 1px solid #657860; }
.product-photo { display: block; background: #081713; }
.product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: 15px 12px 0; }
.product-copy p { font-size: 14px; }
.product-copy a { font-size: 14px; margin-top: auto; padding-bottom: 16px; }
.catalog-footnote { margin: 14px 0 0; font-size: 12px; color: #bacabd; }
.aquarium { border: 3px ridge #8ca58a; background: #081514; }
.tank-label, .tank-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; font: 10px/1.5 "Courier New", monospace; }
.tank-label { border-bottom: 1px solid #5b7a65; color: #bcd8b2; }
.badge { color: #ffdf72; }
canvas { display: block; width: 100%; height: 150px; image-rendering: pixelated; }
.tank-controls { border-top: 1px solid #5b7a65; flex-wrap: wrap; }
.tank-controls > div { display: flex; gap: 8px; }
button { color: #12231c; background: #c7d4b0; border: 2px outset #e3ebd8; border-radius: 0; min-height: 36px; min-width: 78px; padding: 5px 10px; font: bold 12px "Courier New", monospace; cursor: pointer; }
button:hover { background: #ffdf72; }
button:active { border-style: inset; }
button:disabled { opacity: .5; cursor: default; }
.directory { margin: 20px 0; }
.directory > div { display: grid; grid-template-columns: 145px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #45604b; }
dt { font: bold 12px/1.5 "Courier New", monospace; color: #bbd59d; }
dd { margin: 0; font-size: 15px; }
.links { list-style: none; margin: 18px 0 0; padding: 0; }
.links li { border-top: 1px dotted #67816d; padding: 9px 0; font: 14px/1.5 "Courier New", monospace; }
footer { border-top: 4px double #8ca383; padding: 26px 20px; text-align: center; background: #152722; }
footer p { font-size: 14px; }
footer small { font-size: 12px; line-height: 1.6; color: #b3c7b3; }
.skip { position: absolute; top: -80px; left: 16px; background: #061717; padding: 12px; z-index: 2; }
.skip:focus { top: 8px; }
@media (min-width: 801px) and (max-height: 800px) {
  .shop-sign { padding: 10px 20px; }
  .shop-sign > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 20px; }
  .shop-sign h1 { font-size: 38px; margin: 0; }
  nav { padding-block: 8px; }
  .banner { max-height: 240px; }
  #welcome { padding-block: 16px; }
  .start-links span { display: none; }
}
@media (max-width: 800px) {
  .shop-layout { grid-template-columns: 165px minmax(0, 1fr); }
  .shop-sidebar { padding: 18px 12px; }
  main { padding: 0 18px; }
  h1 { font-size: 42px; }
  .directory > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
  body { padding: 8px; }
  .topline { font-size: 9px; justify-content: center; padding: 6px; }
  .topline span:last-child { display: none; }
  .shop-sign { padding: 10px 12px; gap: 8px; }
  h1 { font-size: 36px; }
  .sign-subtitle { font-size: 13px; max-width: 220px; }
  nav { gap: 6px 12px; font-size: 11px; padding: 8px; }
  .shop-news { font-size: 10px; padding: 8px 10px; }
  .shop-layout { display: flex; flex-direction: column; }
  main { padding: 0 14px; order: 0; }
  .shop-sidebar { order: 1; border-right: 0; border-top: 3px double #769579; }
  .aisles { margin-bottom: 16px; }
  .sidebar-note, .counter-note { text-align: center; max-width: 340px; margin-inline: auto; }
  h2, .welcome-copy h2 { font-size: 23px; }
  #welcome { padding-block: 14px; }
  .welcome-copy { padding-top: 12px; }
  .start-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; padding-top: 10px; }
  .start-links span { display: none; }
  .welcome-copy p { line-height: 1.5; }
  .products { grid-template-columns: 1fr; }
  .section-label { font-size: 8px; }
  .section-label span:last-child { display: none; }
  .catalog-toolbar { gap: 8px; }
  .department-field { width: 100%; }
  .catalog-toolbar select { width: 100%; }
  .tank-label { font-size: 8px; padding: 6px; }
  .tank-controls { justify-content: center; text-align: center; }
}
