.gr-page { --gr-gold: #e7bd70; --gr-teal: #8fc9b8; --gr-muted: #9eaca5; max-width: 1220px; margin: 0 auto; padding: 34px 22px 52px; color: #f0eee5; }
.content-page:has(> .gr-page) { width: 100%; max-width: none; padding: 0; }
.gr-page *, .gr-page *::before, .gr-page *::after { box-sizing: border-box; }
.gr-page button, .gr-page input { font: inherit; }
.gr-page button { cursor: pointer; }
.gr-page button:disabled { cursor: default; }
.gr-page button:focus-visible, .gr-page a:focus-visible, .gr-page canvas:focus-visible, .gr-page summary:focus-visible { outline: 2px solid var(--gr-gold); outline-offset: 4px; }
.gr-page [hidden] { display: none !important; }
.gr-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.gr-heading-title { min-width: 0; }
.gr-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.gr-header-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(16px, 2vw, 24px); }
.gr-wallet { flex-shrink: 0; padding-left: 20px; border-left: 1px solid #354139; }
.gr-wallet > span { display: block; font-size: 9px; color: var(--gr-muted); letter-spacing: 1.1px; margin-bottom: 3px; }
.gr-wallet strong { color: var(--gr-gold); font-size: 22px; font-weight: 550; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gr-wallet small { font-size: 13px; font-weight: 400; }
.gr-back { display: inline-block; color: var(--gr-muted); text-decoration: none; font-size: 12px; margin-bottom: 14px; }
.gr-back:hover { color: var(--gr-gold); }
.gr-eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 650; color: var(--gr-teal); margin: 0 0 9px; }
.gr-heading h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 4.8vw, 53px); font-weight: 400; letter-spacing: 2px; margin: 0; line-height: 1.18; }
.gr-heading h1 > span:first-child { color: var(--gr-gold); }
.gr-heading .gr-title-mark { color: var(--gr-gold); font-size: 23px; margin-left: 19px; vertical-align: middle; }
.gr-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gr-map-panel, .gr-work-panel { border: 1px solid #33433c; border-radius: 10px; overflow: hidden; background: #131d1b; }
.gr-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px 18px; }
.gr-panel-heading .gr-eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 7px; }
.gr-page h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; margin: 0; letter-spacing: -.4px; }
.gr-badge { border: 1px solid #3d5145; border-radius: 4px; padding: 6px 9px; font-size: 10px; color: #b8cabc; white-space: nowrap; }
.gr-river-window { height: 362px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #677961 #21382b; position: relative; border-top: 1px solid #34443a; border-bottom: 1px solid #34443a; }
.gr-river-scene { position: relative; width: 100%; }
#gr-map { display: block; width: 100%; height: auto; }
#gr-spots { position: absolute; inset: 0; }
.gr-spot { position: absolute; transform: translate(-50%, -50%); border: 1px solid #a2c1a071; color: #d1ddc7; background: #1d3228e8; border-radius: 50%; width: 44px; height: 44px; font-size: 12px !important; box-shadow: 0 3px 10px #0004; transition: background .15s; }
.gr-spot:hover { background: #3e5540; }
.gr-spot.is-selected { background: #e8bf72; color: #242b20; border-color: #ffdf9a; box-shadow: 0 0 0 6px #e8bf7228, 0 4px 16px #0005; }
.gr-spot.is-worked::after { content: ''; position: absolute; bottom: 4px; left: 18px; width: 5px; height: 3px; border-radius: 50%; background: #80c5b5; }
.gr-spot.is-empty { background: #28332e; color: #88948c; border-style: dashed; }
.gr-spot:disabled:not(.is-selected) { opacity: .65; }
.gr-map-compass { position: absolute; top: 20px; right: 22px; text-align: center; color: #cdd7b7; font-size: 10px; line-height: 1.7; pointer-events: none; }
.gr-map-navigation { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 17px; background: #18251e; }
.gr-map-navigation button { border: 0; border-radius: 3px; background: transparent; color: #bcd1bd; padding: 9px 3px; font-size: 11px; min-height: 40px; }
.gr-map-navigation button:disabled { opacity: .35; }
.gr-map-navigation > span { color: #8ba28c; font-size: 10px; white-space: nowrap; }
.gr-work-track { height: 4px; background: #2b3730; border-radius: 2px; overflow: hidden; }
.gr-pan-stage { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2b3931, #17231f 68%); border-block: 1px solid #34433a; }
#gr-pan { display: block; width: 100%; height: auto; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gr-pan-stage.is-washing #gr-pan { touch-action: none; }
.gr-pan-stage:not(.is-washing) .gr-pan-arrows { display: none; }
.gr-pan-stage.is-drop-target { box-shadow: inset 0 0 35px #edc87724; }
.gr-pour-caption { position: absolute; inset: 17% 0 auto; text-align: center; pointer-events: none; color: #d7c293; font-size: 9px; letter-spacing: 1.8px; }
.gr-pour-caption strong { display: block; margin-top: 9px; font-size: 12px; font-weight: 500; letter-spacing: .5px; }
.gr-river-window.is-digging { height: auto; aspect-ratio: 760 / 460; overflow: hidden; }
.gr-dig-site { height: 100%; }
#gr-ground { display: block; width: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
#gr-ground:active { cursor: none; }
#gr-ground[aria-disabled="true"] { cursor: default; }
.gr-ground-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 15px; background: #26382b; }
.gr-ground-toolbar button { background: transparent; border: 0; color: #d8d6bd; min-height: 40px; font-size: 11px; }
.gr-ground-toolbar > span { font-size: 10px; color: #b2c4ac; }
.gr-ground-help { padding: 12px 22px; margin: 0; min-height: 57px; color: #b4c4b5; background: #1a2820; font-size: 11px; line-height: 1.7; }
.gr-carried-tool { position: fixed; left: 0; top: 0; width: 48px; height: 48px; border: 2px solid #e7d5a5; border-radius: 50%; background: #22392d99; overflow: hidden; z-index: 1000; pointer-events: none; will-change: transform; contain: strict; }
.gr-tool-fill { position: absolute; inset: 0; background: #c8a968; transform: scaleY(0); transform-origin: center bottom; will-change: transform; }
.gr-carried-tool.is-loaded { border-color: #ffdf8a; }
.gr-carried-tool.is-loaded .gr-tool-fill { background: #ebc677; }
.gr-shovel-strip { display: flex; align-items: center; gap: 10px; padding: 12px 25px; background: #1b2921; border-bottom: 1px solid #354638; font-size: 11px; }
.gr-shovel-strip > span:first-child { color: var(--gr-gold); font-size: 20px; }
.gr-shovel-strip strong { color: #d6dfc9; font-weight: 500; }
.gr-shovel-strip > span:last-child { color: var(--gr-gold); margin-left: auto; font-size: 10px; }
.gr-zoom-in #gr-ground { animation: gr-zoom .28s ease-out; }
@keyframes gr-zoom { from { transform: scale(.94); opacity: .65; } to { transform: scale(1); opacity: 1; } }
#gr-pan:active { cursor: grabbing; }
.gr-phase-label { position: absolute; top: 18px; left: 24px; color: #c5d4c4; letter-spacing: 1.2px; font-size: 9px; pointer-events: none; }
.gr-pan-arrows { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--gr-gold); font-size: 19px; pointer-events: none; opacity: .55; }
.gr-pan-arrows > span { font-size: 8px; vertical-align: 3px; letter-spacing: 1.8px; margin: 0 14px; color: #a1b6a6; }
.gr-work-details { padding: 20px 25px 0; }
.gr-progress-caption { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; margin-bottom: 10px; color: #bccabd; }
.gr-progress-caption strong { font-size: 10px; color: var(--gr-gold); font-weight: 500; font-variant-numeric: tabular-nums; }
.gr-work-track { height: 5px; }
.gr-work-track > span { display: block; width: 0; height: 100%; background: var(--gr-gold); transition: width .08s linear; }
#gr-instruction { color: var(--gr-muted); font-size: 12px; line-height: 1.7; min-height: 42px; margin: 12px 0 7px; }
.gr-actions { display: flex; gap: 12px; padding: 10px 25px 14px; }
.gr-primary { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex: 1; min-height: 48px; padding: 12px 18px; background: var(--gr-gold); color: #252b20; border: 1px solid var(--gr-gold); border-radius: 5px; font-size: 13px !important; font-weight: 650 !important; }
.gr-primary:hover:not(:disabled) { background: #f7d38d; }
.gr-primary:disabled { background: #323c31; border-color: #47523c; color: #b5bea7; }
.gr-wash-buttons { display: flex; gap: 6px; }
.gr-wash-buttons > button { min-width: 47px; min-height: 48px; border: 1px solid #4a5847; border-radius: 5px; color: var(--gr-gold); background: #202e25; font-size: 20px !important; touch-action: none; }
.gr-wash-buttons > button:disabled { opacity: .3; }
.gr-wash-buttons > button:active:not(:disabled) { background: #43503a; }
.gr-auto { display: flex; align-items: start; gap: 10px; margin: 0 25px 18px; font-size: 11px; color: #bcc8bc; cursor: pointer; }
.gr-auto input { accent-color: var(--gr-gold); margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.gr-auto small { display: block; font-size: 10px; color: #8c9e90; margin-top: 4px; }
.gr-auto:has(input:disabled) { opacity: .6; cursor: default; }
.gr-work-footer { border-top: 1px solid #2c3d32; padding: 12px 25px; color: #8da592; display: flex; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: .7px; }
.gr-find { display: flex; gap: 12px; align-items: center; margin: 0 25px 7px; padding: 13px 14px; background: #2e3020; border: 1px solid #6a6036; border-radius: 5px; }
.gr-find-spark { font-size: 27px; color: var(--gr-gold); }
.gr-find > div { flex: 1; }
.gr-find > div strong { display: block; font-size: 13px; color: #f0d596; margin-bottom: 3px; }
.gr-find > div span { display: block; color: #b5b598; font-size: 10px; }
.gr-find > strong { color: var(--gr-gold); font-size: 16px; white-space: nowrap; }
.gr-workshop { padding-top: 38px; }
.gr-workshop-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.gr-workshop-heading h2 { font-size: 28px; }
.gr-workshop-heading > p { font-size: 11px; color: var(--gr-muted); max-width: 210px; line-height: 1.8; margin: 0 0 3px; }
.gr-machine-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.gr-workshop-subtitle { font-size: 13px; color: #c6d6c0; font-weight: 550; margin: 25px 0 13px; }
.gr-shovel-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 29px; }
.gr-shovel-art { width: 100%; height: 62px; margin: 7px 0; color: #b1bea2; }
.gr-shovel-card.is-current .gr-shovel-art { color: var(--gr-gold); }
.gr-shovel-card .gr-machine-price { margin: 12px 0 0; }
.gr-machine { border: 1px solid #334239; background: linear-gradient(160deg, #1a2721, #141e1b); border-radius: 7px; padding: 15px 13px 12px; display: flex; flex-direction: column; min-width: 0; }
.gr-machine.is-current { border-color: #b59a53; background: linear-gradient(160deg, #303321, #19241d); }
.gr-machine.is-owned { border-color: #455944; }
.gr-machine-number { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1px; color: #90a88e; }
.gr-machine.is-current .gr-machine-number { color: var(--gr-gold); }
.gr-machine-art { width: 100%; height: 60px; margin: 8px 0 9px; color: #9eb6a0; }
.gr-machine.is-current .gr-machine-art { color: var(--gr-gold); }
.gr-machine h3 { font-size: 12px; font-weight: 650; min-height: 30px; line-height: 1.4; margin: 0 0 9px; }
.gr-machine > p { font-size: 10px; line-height: 1.7; color: var(--gr-muted); min-height: 51px; margin: 0 0 10px; }
.gr-machine-capacity { margin-top: auto; color: #a2c4ac; font-size: 9px; padding-top: 9px; border-top: 1px solid #2f4035; }
.gr-machine-price { color: var(--gr-gold); font-size: 13px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.gr-machine button { width: 100%; min-height: 42px; background: #e7bd70; border: 1px solid #e7bd70; color: #242d20; border-radius: 4px; font-size: 10px; font-weight: 650; margin-top: 12px; padding: 9px 3px; }
.gr-machine button:disabled { background: #202c23; border-color: #3d4b38; color: #9baf94; }
.gr-machine.is-current button { color: var(--gr-gold); border-color: #796b40; background: transparent; }
.gr-machine-meter { height: 3px; border-radius: 2px; background: #2b382e; overflow: hidden; margin-top: 10px; }
.gr-machine-meter > span { display: block; height: 100%; background: var(--gr-gold); width: 0; }
.gr-bottom { display: flex; align-items: center; gap: 24px; border-top: 1px solid #334138; margin-top: 26px; padding-top: 23px; }
.gr-bottom > p { color: var(--gr-muted); font-size: 11px; line-height: 1.8; margin: 0; flex: 1; }
.gr-settings { position: relative; max-width: 220px; color: var(--gr-muted); font-size: 11px; }
.gr-settings summary { cursor: pointer; padding: 10px 0; }
.gr-settings p { line-height: 1.8; }
.gr-settings button { border: 1px solid #675c42; background: transparent; color: #d8bd86; border-radius: 4px; padding: 10px; }
.gr-notice { color: #dfbd7e; background: #302d20; border: 1px solid #655b3a; border-radius: 5px; margin: 20px 0 0; padding: 14px; font-size: 12px; line-height: 1.7; }
@media (max-width: 1050px) { .gr-machine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gr-heading .gr-title-mark { margin-left: 10px; } .gr-badge { font-size: 9px; } .gr-panel-heading { padding-inline: 18px; } }
@media (max-width: 760px) { .gr-page { padding: 24px 14px 36px; } .gr-heading { align-items: start; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; } .gr-heading h1 { font-size: clamp(27px, 7.7vw, 38px); } .gr-title-row { gap: 12px 16px; } .gr-wallet { padding-left: 14px; } .gr-wallet strong { font-size: 20px; } .gr-back { margin-bottom: 14px; } .gr-layout { grid-template-columns: 1fr; gap: 16px; } .gr-river-window { height: 230px; } .gr-workshop-heading { display: block; } .gr-workshop-heading h2 { font-size: 25px; } .gr-workshop-heading > p { max-width: none; margin-top: 10px; } .gr-machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gr-machine > p { min-height: 34px; } .gr-machine h3 { min-height: auto; } .gr-machine-art { height: 65px; } .gr-machine:last-child { grid-column: 1 / -1; } .gr-machine:last-child .gr-machine-art { height: 80px; } .gr-bottom { flex-wrap: wrap; gap: 17px; } .gr-bottom > p { min-width: 150px; } .gr-settings { max-width: none; flex-basis: 100%; } .gr-work-footer { font-size: 7px; } }
@media (max-width: 380px) { .gr-actions { padding-inline: 16px; gap: 8px; } .gr-primary { font-size: 12px !important; padding-inline: 12px; } .gr-panel-heading { padding-inline: 16px; } .gr-badge { padding-inline: 6px; } .gr-page h2 { font-size: 22px; } }
@media (max-width: 1050px) { .gr-shovel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gr-shovel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gr-shovel-strip { padding-inline: 16px; gap: 7px; font-size: 10px; } .gr-shovel-strip > span:last-child { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .gr-page *, .gr-page *::before, .gr-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
