@import url("../../prosilver/theme/stylesheet.css");
@import url("board.css?v=451fe8a2");

/* IndiaPier: India's national colours — saffron, white, India green (design canvas Fy5x5zRgBpAP2oonggiPPN, 2026-12-04).
   TEXT RULE (user 2026-12-04, three times): never text on a bright fill. Dark text only on white / very pale fills,
   white text only on deep green. Saffron is for lines, stripes, underlines and stitching only. No flag, no chakra.
   Headings Rozha One, text Mukta, handwriting Kalam (all three carry Devanagari). */
:root {
	--bd-font: "Mukta", system-ui, sans-serif;
	--bd-head: "Rozha One", Georgia, serif;
	--ip-hand: "Kalam", "Mukta", cursive;
	--ip-green: #0E6B2E; --ip-green-deep: #0A4F22; --ip-green-dark: #06381A; --ip-saffron: #FF9933; --ip-saffron-line: #FFB366;
	--ip-saffron-text: #A85400; --ip-paper: #FFFDF7; --ip-brown: #5A4F44; --ip-wood: #8A5A2B;
	--bd-width: 1320px;
	--bd-gutter: clamp(12px, 3vw, 32px);
	--bd-ink: #221A12; --bd-ink-soft: #3A2F25; --bd-muted: #5A4F44;
	--bd-bg: #FFFDF7; --bd-surface: #FFFFFF; --bd-surface2: #FBF7EF;
	--bd-border: #EADFD0; --bd-border-strong: #D2C2AA; --bd-line: #F0E7DA;
	--bd-link: #0E6B2E; --bd-link-hover: #06381A; --bd-focus: #FF9933;
	--bd-accent: #0E6B2E; --bd-accent-hover: #0A4F22; --bd-on-accent: #FFFFFF; --bd-accent-line: #FF9933; --bd-accent-text: #0E6B2E;
	--bd-unread: #FF9933;
	--bd-head-bg: #0E6B2E; --bd-head-fg: #FFFFFF; --bd-head-muted: #E3F1E6; --bd-head-hover: #0A4F22; --bd-head-border: #0E6B2E;
	--bd-search-border: #FFFFFF; --bd-ghost-border: #9CCBA9; --bd-light-bg: #FFFFFF; --bd-light-fg: #0E6B2E;
	--bd-radius: 8px; --bd-btn-radius: 8px; --bd-chip-radius: 6px; --bd-input-radius: 6px; --bd-av-radius: 50%;
	--bd-av-bg: #0E6B2E; --bd-av-fg: #FFFFFF; --bd-tag-bg: #FFFFFF; --bd-tag-fg: #5A2D00;
	--bd-cat-bg: #0A4F22; --bd-cat-fg: #FFFFFF; --bd-cat-muted: #D6EBDC; --bd-cat-case: none; --bd-cat-spacing: 0;
	--bd-badge-bg: #0E6B2E; --bd-badge-fg: #FFFFFF; --bd-badge-radius: 6px;
	--bd-chip-bg: #FFFFFF; --bd-chip-border: #FFB366;
	--bd-banner-fade: #0A4F22; --bd-banner-fg: #FFFFFF; --bd-banner-muted: #E3F1E6;
	--bd-pinned-bg: #FFF8EF;
	--bd-foot-bg: #0A4F22; --bd-foot-fg: #FFFFFF; --bd-foot-muted: #D6EBDC;
	--bd-cols: 48px minmax(0, 1fr) 64px 84px minmax(0, 240px);
	--bd-cols-phone: 48px minmax(0, 1fr);
}

/* Header: thin saffron–white–green band, deep green bar with white text */
.ip-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 6px; }
.ip-tri span:nth-child(1) { background: #FF9933; } .ip-tri span:nth-child(2) { background: #FFFFFF; } .ip-tri span:nth-child(3) { background: #0E6B2E; }
.bd-brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 8px; background: #FFFFFF; box-shadow: inset 0 0 0 2px #FFB366; }
.bd-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.bd-brand-name { font-size: 25px; letter-spacing: 0.01em; }
.bd-brand-sub { margin-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: #E3F1E6; text-transform: uppercase; }
.bd-nav a[aria-current="page"] { background: none; box-shadow: inset 0 -3px 0 #FF9933; border-radius: 0; }
.bd-header .bd-btn-accent, .bd-header .bd-btn-light { background: #FFFFFF; color: #0E6B2E; border-color: #FFFFFF; }
.bd-header .bd-btn-accent:hover, .bd-header .bd-btn-light:hover { background: #E9F5EC; color: #06381A; }
.bd-header .bd-btn-ghost { color: #FFFFFF; }
.bd-sub { background: transparent; }
.section-index .bd-bar .bd-search { display: none; }
.section-index .bd-wrap #page-body, .section-index #page-body { width: 100%; max-width: none; margin-top: 0; }

/* Headings in Rozha One (beats board.css «#phpbb :is(h1 … span …):not(.icon …)», which sets the text font) */
#phpbb :is(h1, h2, h3, .ip-berth-name, .bd-brand-name):not(.ip-x) { font-family: var(--bd-head); font-weight: 400; }
#phpbb #page-body :is(h1, h2):is(.forum-title, .topic-title), #phpbb #page-body :is(h1, h2).forum-title a, #phpbb #page-body :is(h1, h2).topic-title a { font-family: var(--bd-head); font-weight: 400; }

/* Hindi words: dark saffron text on white only */
.ip-hi { margin: 0; font-family: var(--bd-head) !important; font-size: 24px; line-height: 1.1; color: var(--ip-saffron-text); }

/* Hero: the pier painting on the right, cream paper on the left */
.ip-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--bd-border); background: #FBE3BB; }
.ip-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ip-hero-in { position: relative; box-sizing: border-box; width: min(calc(100% - 2 * var(--bd-gutter)), var(--bd-width)); margin-inline: auto;
	display: flex; align-items: center; padding-block: 60px 68px; min-height: 440px; }
.ip-hero-text { flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ip-hi-big { font-size: 34px; }
.ip-kicker { align-self: flex-start; margin: 0; padding: 4px 12px; border: 1.5px solid #A85400; border-radius: 4px; color: #A85400; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
#phpbb .ip-hero h1 { margin: 0; color: #221A12; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; text-transform: none; letter-spacing: 0; }
.ip-lead { margin: 0; max-width: 470px; color: #3A2F25; font-size: 19px; line-height: 1.5; }
.ip-hero-search { box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 8px; max-width: 540px; padding: 5px 5px 5px 16px; border: 2px solid #0E6B2E; border-radius: 10px; background: #FFFFFF; }
.ip-hero-search .icon { color: #0E6B2E; }
#phpbb .ip-hero-search input { flex: 1; min-width: 0; width: auto; height: 42px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 16px; color: #221A12; }
#phpbb .ip-hero-search button { height: 44px; padding: 0 22px; border: 0; border-radius: 7px; background: #0E6B2E; color: #FFFFFF; font-weight: 700; font-size: 16px; cursor: pointer; }
#phpbb .ip-hero-search button:hover { background: #0A4F22; }
@media (max-width: 760px) {
	.ip-hero-img { opacity: .28; }
	.ip-hero-in { padding-block: 32px 36px; min-height: 0; }
	.ip-hero-text { flex: 1 1 auto; }
	#phpbb .ip-hero-search button { padding: 0 16px; }
}

/* The pier: berths alternate on both sides of a teak plank walk */
.ip-pier { background: var(--ip-paper); }
.ip-pier-head { box-sizing: border-box; width: min(calc(100% - 2 * var(--bd-gutter)), var(--bd-width)); margin: 0 auto; padding-top: 52px;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
#phpbb .ip-pier-head h2, #phpbb .ip-ledger-head h2 { margin: 2px 0 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: #221A12; }
.ip-pier-head > p { margin: 0; max-width: 440px; color: var(--bd-muted); font-size: 16px; }
.ip-pier-in { box-sizing: border-box; width: min(calc(100% - 2 * var(--bd-gutter)), 1180px); margin: 0 auto; padding-block: 36px 24px; }
.ip-berths { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); column-gap: 0; row-gap: 0; }
.ip-spine { grid-column: 2; grid-row: 1 / -1; margin-inline: 22px; border-radius: 6px;
	background: repeating-linear-gradient(180deg, #A0703F 0 30px, #7A4F27 30px 32px), #A0703F;
	box-shadow: inset 6px 0 0 rgba(0,0,0,.08), inset -6px 0 0 rgba(0,0,0,.08); }
.ip-berth { position: relative; padding-block: 12px; }
.ip-berths > .ip-berth:nth-child(even) { grid-column: 1; }
.ip-berths > .ip-berth:nth-child(odd) { grid-column: 3; }
.ip-rope { position: absolute; top: 46px; width: 34px; border-top: 3px dotted #8A5A2B; }
.ip-bollard { position: absolute; top: 30px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
	background: #0A4F22; color: #FFFFFF; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 3px #FFFDF7; z-index: 1; }
.ip-berths > .ip-berth:nth-child(even) .ip-rope { right: -34px; } .ip-berths > .ip-berth:nth-child(even) .ip-bollard { right: -69px; }
.ip-berths > .ip-berth:nth-child(odd) .ip-rope { left: -34px; } .ip-berths > .ip-berth:nth-child(odd) .ip-bollard { left: -69px; }
.ip-card { box-sizing: border-box; padding: 18px 18px 16px; border: 2px solid #0E6B2E; border-radius: 12px; background: #FFFFFF; box-shadow: 0 12px 26px -20px rgba(34, 26, 18, .45); }
.ip-berth.is-unread .ip-card { box-shadow: inset 0 4px 0 #FF9933, 0 12px 26px -20px rgba(34, 26, 18, .45); }
.ip-card-head { display: flex; align-items: center; gap: 14px; color: #221A12; text-decoration: none; }
.ip-card-head:hover { text-decoration: none; color: #0E6B2E; }
.ip-card-head img { width: 56px; height: 56px; flex: none; border-radius: 8px; }
.ip-card-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ip-berth-no { display: flex; align-items: baseline; gap: 10px; color: #A85400; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ip-berth-no .ip-hi { font-size: 16px; letter-spacing: 0; text-transform: none; }
#phpbb .ip-berth-name { margin: 0; padding: 0; border: 0; color: inherit; font-size: 23px; line-height: 1.15; text-transform: none; letter-spacing: 0; }
.ip-cargo { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ip-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 6px 4px 12px; border: 1.5px solid #FFB366; border-radius: 6px;
	background: #FFFFFF; color: #3A2F25; font-size: 15px; line-height: 1.25; text-decoration: none; }
.ip-tag:hover { border-color: #0E6B2E; color: #0E6B2E; text-decoration: none; }
.ip-tag.is-unread { border-color: #0E6B2E; font-weight: 600; }
.ip-tag-n { min-width: 22px; padding: 0 6px; border-radius: 4px; background: #F3EFE8; color: #5A4F44; font-size: 12px; font-weight: 600; text-align: center; }
.ip-sea { height: 36px; background: radial-gradient(circle at 18px -6px, transparent 16px, #CDE6D6 17px 19px, transparent 20px) 0 6px / 36px 20px repeat-x,
	radial-gradient(circle at 18px -6px, transparent 16px, #E3F1E6 17px 19px, transparent 20px) 18px 18px / 36px 20px repeat-x; }
@media (max-width: 860px) {
	.ip-berths { grid-template-columns: 40px minmax(0, 1fr); }
	.ip-spine { grid-column: 1; margin-inline: 10px; }
	.ip-berths > .ip-berth:nth-child(n) { grid-column: 2; grid-row: auto !important; }
	.ip-berths > .ip-berth:nth-child(n) .ip-rope { left: -12px; right: auto; width: 12px; }
	.ip-berths > .ip-berth:nth-child(n) .ip-bollard { left: -37px; right: auto; width: 28px; height: 28px; font-size: 11px; }
}

/* The ledger: latest threads on a white ruled page with a green binding */
.ip-ledger-wrap { box-sizing: border-box; width: min(calc(100% - 2 * var(--bd-gutter)), var(--bd-width)); margin: 0 auto; padding-block: 52px 8px; gap: 40px; }
.ip-ledger-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ip-ledger-head > div { flex: 1 1 260px; }
.ip-ledger-head img { width: 64px; height: 64px; border-radius: 8px; }
.ip-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 20px 0 18px; border-bottom: 2px solid #EADFD0; }
.ip-tabs label, .ip-tabs a { min-height: 46px; display: inline-flex; align-items: center; margin-bottom: -2px; padding: 0 2px; color: #5A4F44; font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none; }
.ip-tabs a:hover, .ip-tabs label:hover { color: #0E6B2E; }
#ip-tab-new:checked ~ .ip-tabs label[for="ip-tab-new"], #ip-tab-hot:checked ~ .ip-tabs label[for="ip-tab-hot"] { color: #0E6B2E; font-weight: 700; box-shadow: inset 0 -3px 0 #FF9933; }
#ip-tab-new:focus-visible ~ .ip-tabs label[for="ip-tab-new"], #ip-tab-hot:focus-visible ~ .ip-tabs label[for="ip-tab-hot"] { outline: 2px solid #FF9933; outline-offset: 2px; }
.ip-panel-hot, #ip-tab-hot:checked ~ .ip-book .ip-panel-new { display: none; }
#ip-tab-hot:checked ~ .ip-book .ip-panel-hot { display: block; }
.ip-book { display: flex; background: #FFFFFF; border: 1px solid #EADFD0; border-radius: 4px 14px 14px 4px; box-shadow: 0 14px 30px -18px rgba(34, 26, 18, .35); overflow: hidden; }
.ip-binding { flex: none; width: 22px; background: #0E6B2E; display: flex; justify-content: center; padding: 14px 0; }
.ip-binding span { border-left: 2px dashed #FF9933; }
.ip-page { flex: 1; min-width: 0; padding: 4px 0 8px; background: linear-gradient(90deg, transparent 72px, #FFD2A3 72px 73px, transparent 73px) #FFFFFF; }
.ip-cols, .ip-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 88px; align-items: center; padding-right: 22px; }
.ip-cols { padding-block: 10px; border-bottom: 1.5px solid #EADFD0; color: #5A4F44; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ip-cols span:first-child { text-align: center; } .ip-cols span:nth-child(2) { padding-left: 18px; } .ip-cols span:last-child { text-align: right; }
.ip-row { min-height: 92px; padding-block: 12px; border-bottom: 1px solid #EEF4EF; color: #221A12; text-decoration: none; }
a.ip-row:hover { background: #FBFDFB; text-decoration: none; color: #221A12; }
a.ip-row:hover .ip-entry-title { color: #0E6B2E; }
.ip-date { text-align: center; font-family: var(--ip-hand); font-size: 15px; line-height: 1.2; color: #0E6B2E; }
.ip-entry { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-left: 18px; }
.ip-entry-title { font-family: var(--ip-hand); font-weight: 700; font-size: 21px; line-height: 1.25; color: #221A12; }
.ip-entry-text { color: #4A3F35; font-size: 15px; line-height: 1.45; }
.ip-entry-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; color: #5A4F44; font-size: 14px; }
.ip-entry-forum { color: #A85400; font-weight: 600; }
.ip-replies { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.ip-replies b { font-family: var(--ip-hand); font-size: 26px; color: #0E6B2E; }
.ip-replies small { margin-top: 2px; color: #5A4F44; font-size: 12px; }
.ip-row-empty { display: block; padding: 22px 22px 22px 90px; }
@media (max-width: 560px) {
	.ip-cols { display: none; }
	.ip-row { grid-template-columns: minmax(0, 1fr) 56px; padding-right: 12px; }
	.ip-date { display: none; }
	.ip-page { background: #FFFFFF; }
	.ip-row-empty { padding: 18px; }
}

/* Side: exporter check (deep green, white text), watch-outs and season calendar (white cards) */
#phpbb .ip-check h2, #phpbb .ip-watch h2, #phpbb .ip-season h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 23px; text-transform: none; letter-spacing: 0; }
.ip-check { padding: 22px; border-radius: 12px; background: #0E6B2E; color: #FFFFFF; }
#phpbb .ip-check h2 { color: #FFFFFF; }
.ip-check p { margin: 0 0 14px; color: #E3F1E6; font-size: 15px; line-height: 1.45; }
.ip-check label { display: block; margin-bottom: 6px; color: #E3F1E6; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
#phpbb .ip-check input { box-sizing: border-box; width: 100%; height: 46px; margin: 0; padding: 0 12px; border: 0; border-radius: 6px; background: #FFFFFF; color: #221A12; font-size: 15px; }
#phpbb .ip-check .bd-btn { width: 100%; margin-top: 10px; justify-content: center; border: 0; border-radius: 6px; background: #FFFFFF; color: #0E6B2E; font-weight: 700; }
#phpbb .ip-check .bd-btn:hover { background: #E9F5EC; }
#phpbb .ip-check-link { display: inline-block; margin-top: 12px; color: #FFFFFF; font-weight: 600; text-decoration: underline; text-decoration-color: #FF9933; text-underline-offset: 3px; }
.ip-watch, .ip-season { padding: 20px 22px; border: 1px solid #EADFD0; border-radius: 12px; background: #FFFFFF; }
.ip-watch { border-top: 4px solid #FF9933; }
.ip-season { border-top: 4px solid #0E6B2E; }
.ip-watch ul { margin: 0 0 12px; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; color: #3A2F25; font-size: 15px; line-height: 1.45; }
.ip-watch li::marker { color: #FF9933; }
.ip-season dl { margin: 0 0 12px; display: flex; flex-direction: column; gap: 10px; }
.ip-season dl > div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px dashed #EADFD0; }
.ip-season dt { color: #0E6B2E; font-weight: 700; font-size: 15px; }
.ip-season dd { margin: 0; color: #3A2F25; font-size: 15px; line-height: 1.4; }
#phpbb .ip-more { color: #0E6B2E; font-weight: 700; }

/* Forum and topic pages: deep green section heads, white posts */
.bd-cat-head { border-bottom: 3px solid #FF9933; }
.bd-cat-head h2 { font-size: 20px; }
.bd-card h2 { font-size: 19px; }
.bd-footer { border-top: 0; }
.bd-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, #FF9933 0 33.3%, #FFFFFF 33.3% 66.6%, #0E6B2E 66.6%); }
.bd-footer-links a { color: #FFFFFF; }
.bd-footer-credit a { color: #D6EBDC; }
.bd-tabs a[aria-current="page"] { background: #0E6B2E; color: #FFFFFF; }
.bd-wrap .bd-chip { color: #3A2F25; }

/* Topic page: the question is a bill of lading (double green frame), the answers are letters with a saffron edge */
.section-viewtopic .bd-wrap .post { border: 1px solid #EADFD0; border-left: 4px solid #FFB366; border-radius: 10px; background: #FFFFFF; }
.section-viewtopic .bd-wrap .post:not(.post ~ .post) { border: 3px double #0E6B2E; border-radius: 6px; }
.section-viewtopic .bd-wrap .post:not(.post ~ .post) .postbody h3 a { font-family: var(--bd-head); font-weight: 400; font-size: 19px; }
.section-viewtopic .bd-wrap .postbody .content { font-size: 16px; line-height: 1.6; color: #221A12; }

/* Topic stamps: green block-print icons by topic state (same hooks as China Row) */
.bd-wrap ul.topiclist dl.row-item:is([class*="topic_"], [class*="sticky_"], [class*="announce_"], [class*="global_"]) {
	background-image: url("./icons/t-topic.webp"); background-repeat: no-repeat; background-size: 38px 38px; background-position: 4px 50%;
}
.bd-wrap ul.topiclist dl.row-item[class*="_mine"] { background-image: url("./icons/t-mine.webp"); }
.bd-wrap ul.topiclist dl.row-item[class*="_hot"] { background-image: url("./icons/t-hot.webp"); }
.bd-wrap ul.topiclist dl.row-item:is([class*="sticky_"]) { background-image: url("./icons/t-sticky.webp"); }
.bd-wrap ul.topiclist dl.row-item:is([class*="announce_"], [class*="global_"]) { background-image: url("./icons/t-announce.webp"); }
.bd-wrap ul.topiclist dl.row-item[class*="_locked"] { background-image: url("./icons/t-locked.webp"); }
.bd-wrap ul.topiclist dl.row-item.topic_moved { background-image: url("./icons/t-moved.webp"); }
.bd-wrap ul.topiclist dl.row-item:is([class*="topic_"], [class*="sticky_"], [class*="announce_"], [class*="global_"]) > dt { position: relative; }
.bd-wrap ul.topiclist dl.row-item:is([class*="topic_"], [class*="sticky_"], [class*="announce_"], [class*="global_"]) > dt .list-inner { padding-left: 54px; }
.bd-wrap ul.topiclist dl.row-item[class*="_unread"] > dt::before { content: ""; position: absolute; left: 36px; top: 50%; margin-top: -24px;
	width: 11px; height: 11px; border-radius: 50%; background: #FF9933; box-shadow: 0 0 0 2px var(--bd-surface); }
.bd-wrap :is(.forabg, .forumbg) .header dd.lastpost, .bd-wrap :is(.forabg, .forumbg) .header dd.lastpost span { color: var(--bd-cat-muted); }
